1 2015-05-21 Andreas Schwab <schwab@suse.de>
5 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
7 * resolv/res_send.c (__libc_res_nsend): Likewise.
8 (get_nsaddr): New function.
9 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
12 2015-05-20 Joseph Myers <joseph@codesourcery.com>
14 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
15 -D_POSIX_C_SOURCE=199506L.
17 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
19 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
20 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
21 Do not mention otherwise.
22 [POSIX] (_XOPEN_VERSION): Do not expect.
23 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
24 [POSIX] (_POSIX2_C_BIND): Likewise.
25 [POSIX] (_POSIX2_VERSION): Likewise.
26 [POSIX] (_XOPEN_XPG2): Likewise.
27 [POSIX] (_XOPEN_XPG3): Likewise.
28 [POSIX] (_XOPEN_XPG4): Likewise.
29 [POSIX] (_XOPEN_UNIX): Likewise.
30 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
31 [POSIX] (_POSIX_BARRIERS): Likewise.
32 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
33 [POSIX] (_POSIX_CPUTIME): Likewise.
34 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
35 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
36 [POSIX] (_POSIX_SHELL): Likewise.
37 [POSIX] (_POSIX_SPAWN): Likewise.
38 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
39 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
40 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
41 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
42 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
43 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
44 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
45 [POSIX] (_XBS5_LP64_OFF64): Likewise.
46 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
47 [POSIX] (_POSIX_TIMEOUTS): Likewise.
48 [POSIX] (_POSIX2_PBS): Likewise.
49 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
50 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
51 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
52 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
53 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
54 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
55 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
56 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
57 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
58 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
59 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
60 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
61 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
62 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
63 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
64 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
65 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
66 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
67 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
68 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
69 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
70 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
71 [POSIX] (_SC_2_C_BIND): Likewise.
72 [POSIX] (_SC_2_C_VERSION): Likewise.
73 [POSIX] (_SC_2_PBS): Likewise.
74 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
75 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
76 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
77 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
78 [POSIX] (_SC_2_PBS_TRACK): Likewise.
79 [POSIX] (_SC_ATEXIT_MAX): Likewise.
80 [POSIX] (_SC_BARRIERS): Likewise.
81 [POSIX] (_SC_BASE): Likewise.
82 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
83 [POSIX] (_SC_DEVICE_IO): Likewise.
84 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
85 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
86 [POSIX] (_SC_FD_MGMT): Likewise.
87 [POSIX] (_SC_FIFO): Likewise.
88 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
89 [POSIX] (_SC_FILE_LOCKING): Likewise.
90 [POSIX] (_SC_FILE_SYSTEM): Likewise.
91 [POSIX] (_SC_IOV_MAX): Likewise.
92 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
93 [POSIX] (_SC_NETWORKING): Likewise.
94 [POSIX] (_SC_PAGE_SIZE): Likewise.
95 [POSIX] (_SC_PASS_MAX): Likewise.
96 [POSIX] (_SC_PIPE): Likewise.
97 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
98 [POSIX] (_SC_REGEXP): Likewise.
99 [POSIX] (_SC_SHELL): Likewise.
100 [POSIX] (_SC_SIGNALS): Likewise.
101 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
102 [POSIX] (_SC_SPIN_LOCKS): Likewise.
103 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
104 [POSIX] (_SC_USER_GROUPS): Likewise.
105 [POSIX] (_SC_USER_GROUPS_R): Likewise.
106 [POSIX] (_SC_STREAMS): Likewise.
107 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
108 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
109 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
110 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
111 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
112 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
113 [POSIX] (_PC_FILESIZEBITS): Likewise.
114 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
115 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
116 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
117 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
118 [POSIX] (uid_t): Likewise.
119 [POSIX] (gid_t): Likewise.
120 [POSIX] (off_t): Likewise.
121 [POSIX] (pid_t): Likewise.
122 [POSIX] (cuserid): Allow.
123 (_SC_2_CHAR_TERM): Require constant.
124 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
125 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
128 2015-05-20 Roland McGrath <roland@hack.frob.com>
130 * sysdeps/nacl/pthread-pids.h: New file.
131 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
132 (create_thread): Use __nacl_get_tid to initialize PD->tid.
134 * nptl/pthread-pids.h: New file.
135 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
136 * nptl/nptl-init.c: Include <pthread-pids.h>.
137 (__pthread_initialize_minimal_internal):
138 Call __pthread_initialize_pids instead of set_tid_address syscall.
140 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
141 * sysdeps/posix/usleep.c: ... here.
143 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
145 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
146 call_pselect6 object.
147 [$(subdir) = io]: Remove call_sync_file_range object.
148 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
149 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
150 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
151 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
153 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
155 * math/s_cproj.c: Add include "math_private.h".
156 * math/s_cprojf.c: Likewise.
157 * math/s_cprojl.c: Likewise.
159 2015-05-19 Joseph Myers <joseph@codesourcery.com>
162 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
163 high mantissa bit when testing whether P is a NaN.
164 * math/libm-test.inc (remainder_test_data): Add more tests.
165 (remquo_test_data): Likewise.
168 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
169 below -32, return the argument, with underflow if subnormal.
170 * math/auto-libm-test-in: Add more tests of atanh.
171 * math/auto-libm-test-out: Regenerated.
173 2015-05-19 Roland McGrath <roland@hack.frob.com>
176 * nptl/tst-sem15.c: New file.
177 * nptl/Makefile (tests): Add it.
178 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
179 s/<</>>/ to fix typo in EOVERFLOW check.
180 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
182 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
184 * manual/strings.texi (envz_remove): Fix typo in safety
187 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
188 Steve Ellcey <sellcey@imgtec.com>
190 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
191 in order to avoid strict alias warnings.
192 (iruserok_af): Ditto for ra.
194 2015-05-19 James Lemke <jwlemke@codesourcery.com>
198 (magicbyte): Convert to a function and avoid returning 0x01.
199 (mem2mem_check): Avoid using a length byte equal to the magic byte.
200 (mem2chunk_check): Fix unsigned comparisons to zero.
201 Hoist defs of sz and magic.
203 2015-05-19 Richard Henderson <rth@redhat.com>
205 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
207 * sysdeps/alpha/fpu/libm-test-ulps: Update.
209 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
212 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
213 * malloc/arena.c (arena_lock): Check if arena is corrupt.
214 (reused_arena): Find a non-corrupt arena.
215 (heap_trim): Pass arena to unlink.
216 * malloc/hooks.c (malloc_check_get_size): Pass arena to
218 (top_check): Likewise.
219 (free_check): Likewise.
220 (realloc_check): Likewise.
221 * malloc/malloc.c (malloc_printerr): Add arena argument.
223 (munmap_chunk): Adjust.
224 (ARENA_CORRUPTION_BIT): New macro.
225 (arena_is_corrupt): Likewise.
226 (set_arena_corrupt): Likewise.
227 (sysmalloc): Use mmap if there are no usable arenas.
228 (_int_malloc): Likewise.
229 (__libc_malloc): Don't fail if arena_get returns NULL.
230 (_mid_memalign): Likewise.
231 (__libc_calloc): Likewise.
232 (__libc_realloc): Adjust for additional argument to
234 (_int_free): Likewise.
235 (malloc_consolidate): Likewise.
236 (_int_realloc): Likewise.
237 (_int_memalign): Don't touch corrupt arenas.
238 * malloc/tst-malloc-backtrace.c: New test case.
240 * Makefile (summarize-tests): Fix return value on success.
242 * manual/string.texi (Envz Functions): Add envz_remove.
244 2015-05-18 Roland McGrath <roland@hack.frob.com>
246 * sysdeps/posix/opendir.c: Include <stdbool.h>.
247 (invalid_name): New function, broken out of ...
248 (__opendirat): ... here. Call it.
249 (need_isdir_precheck): New function, broken out of ...
250 (__opendirat): ... here. Call it.
251 Use __fxstatat64, not __xstatat64.
252 (opendir_oflags): New function, broken out of ...
253 (__opendirat): ... here. Call it.
254 (opendir_tail): New function, broken out of ...
255 (__opendirat): ... here. Call it.
256 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
257 opendir_tail, rather than punting to __opendirat.
258 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
260 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
262 * .gitignore: Ignore generated *.pyc.
264 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
266 * include/stdio.h: Define __need_wint_t.
267 * test-skeleton.c: Avoid `for' loop initial declaration.
268 * nptl/tst-initializers1.c: Use test-skeleton.c.
270 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
273 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
275 2015-05-15 Joseph Myers <joseph@codesourcery.com>
278 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
279 (__ieee754_atanh): Force underflow exception for results with
280 small absolute value.
281 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
282 (__ieee754_atanhf): Force underflow exception for results with
283 small absolute value.
284 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
285 (__ieee754_atanh): Force underflow exception for results with
286 small absolute value.
287 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
288 (__ieee754_atanhf): Force underflow exception for results with
289 small absolute value.
290 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
291 (__ieee754_atanhl): Force underflow exception for results with
292 small absolute value.
293 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
294 (__ieee754_atanhl): Force underflow exception for results with
295 small absolute value.
296 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
297 (__ieee754_atanhl): Force underflow exception for results with
298 small absolute value.
299 * math/auto-libm-test-in: Do not allow missing underflow
300 exceptions from atanh.
301 * math/auto-libm-test-out: Regenerated.
304 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
305 2**-28 as threshold for returning x or +/- 1/x.
306 * math/auto-libm-test-in: Add more tests of tan.
307 * math/auto-libm-test-out: Regenerated.
310 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
311 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
312 * math/auto-libm-test-in: Add another test of lgamma.
313 * math/auto-libm-test-out: Regenerated.
315 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
317 * stdio-common/printf_fp.c (___printf_fp): Use abs.
318 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
319 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
320 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
321 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
322 (ADD2A): Use fabs. (SUB2A): Use fabs.
323 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
324 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
325 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
326 (log1): Use fabs. (my_log2): Use fabs.
327 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
328 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
329 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
330 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
331 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
332 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
333 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
334 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
335 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
336 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
337 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
339 2015-05-15 Joseph Myers <joseph@codesourcery.com>
342 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
343 as threshold for returning 1 - x.
344 * math/auto-libm-test-in: Add more tests of erfc.
345 * math/auto-libm-test-out: Regenerated.
347 2015-05-14 Joseph Myers <joseph@codesourcery.com>
350 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
351 threshold for large arguments.
352 * math/auto-libm-test-in: Add another test of atan.
353 * math/auto-libm-test-out: Regenerated.
356 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
357 (__log1p): Force underflow exception for results with small
359 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
360 (__log1pf): Force underflow exception for results with small
362 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
363 (__log1p): Force underflow exception for results with small
365 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
366 (__log1pf): Force underflow exception for results with small
368 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
369 (__log1pl): Force underflow exception for results with small
371 * math/auto-libm-test-in: Do not allow missing underflow
372 exceptions from log1p.
373 * math/auto-libm-test-out: Regenerated.
375 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
376 Adhemerval Zanella <adhemerval.zanella@linaro.org>
379 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
381 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
383 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
384 (libmvec): New variable.
385 * configure.ac: Added option for mathvec build.
386 * configure: Regenerated.
387 * mathvec/Depend: New file.
388 * mathvec/Makefile: New file.
389 * shlib-versions: Added libmvec.
390 * math/Makefile: Added rule for libm.so installation.
392 * bits/math-vector.h: New file.
393 * bits/libm-simd-decl-stubs.h: New header.
394 * math/Makefile (headers): Added new header
395 libm-simd-decl-stubs.h.
396 * math/math.h (__MATHCALL_VEC): New macro.
398 * math/gen-libm-have-vector-test.sh: Script generates series of macros
399 for conditions in testing functions.
400 * math/Makefile: Added call of libm-have-vector-test.sh.
401 * math/libm-test.inc (HAVE_VECTOR): New macros.
403 * math/libm-test.inc: START refactored.
404 * math/test-double.c (TEST_MATHVEC): Add define.
405 * math/test-float.c: Likewise.
406 * math/test-idouble.c: Likewise.
407 * math/test-ifloat.c: Likewise.
408 * math/test-ildoubl.c: Likewise.
409 * math/test-ldouble.c: Likewise.
410 * sysdeps/generic/math-tests-arch.h
411 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
414 * math/test-double.c (FUNC_TEST): New macro.
415 * math/test-float.c: Likewise.
416 * math/test-idouble.c: Likewise.
417 * math/test-ifloat.c: Likewise.
418 * math/test-ildoubl.c: Likewise.
419 * math/test-ldouble.c: Likewise.
420 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
422 2015-05-13 Roland McGrath <roland@hack.frob.com>
424 * sysdeps/nacl/fdopendir.c: New file.
426 * dirent/scandir-tail.c: New file.
427 * dirent/scandir64-tail.c: New file.
428 * dirent/Makefile (routines): Add them.
429 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
430 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
431 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
432 [!SCANDIR] (SCANDIR_TAIL): New macro.
433 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
434 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
435 (SCANDIRAT): Macro removed.
436 (SCANDIR_TAIL): New macro.
437 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
438 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
439 (SCANDIRAT): Just call __opendirat and __scandir_tail.
440 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
441 (READDIR): Macro removed.
442 (SCANDIR_TAIL): New macro.
443 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
444 (SCANDIR_TAIL): New macro.
446 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
447 * dirent/scandir-cancel.c: ... to this new file.
448 * dirent/Makefile (routines): Add it.
449 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
450 * sysdeps/unix/sysv/linux/i386/scandir64.c
451 (SKIP_SCANDIR_CANCEL): Macro removed.
452 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
454 * dirent/tst-scandir.c: New file.
455 * dirent/tst-scandir64.c: New file.
456 * dirent/Makefile (tests): Add them.
458 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
461 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
463 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
465 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
468 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
470 * benchtests/bench-strcoll.c: New benchmark.
471 * benchtests/Makefile: Generate locales and run benchmark.
472 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
473 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
474 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
475 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
476 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
477 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
478 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
479 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
480 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
481 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
482 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
483 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
484 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
485 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
486 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
487 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
488 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
489 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
490 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
491 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
492 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
493 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
494 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
495 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
497 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
499 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
500 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
502 2015-05-12 Roland McGrath <roland@hack.frob.com>
504 * posix/uname-values.h: New file.
505 * posix/uname.c: Include that instead of <config-name.h>.
506 * sysdeps/nacl/uname-values.h: New file.
507 * sysdeps/arm/nacl/uname-values.h: New file.
509 2015-05-12 Joseph Myers <joseph@codesourcery.com>
511 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
512 splitting into fields.
514 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
516 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
517 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
518 * locale/localeinfo.h: Add enum collation_encoding_type.
519 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
520 * programs/ld-collate.c (collate_output): Add encoding type info.
521 * string/strcoll_l.c (STRDIFF): New function.
522 * (STRCOLL): Use STRDIFF to skip over equal prefix.
523 * wcsmbs/wcscoll_l.c: Define STRDIFF.
525 2015-05-11 Joseph Myers <joseph@codesourcery.com>
528 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
529 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
530 <fpu_control.h> instead of <math/fpu_control.c>.
531 * sysdeps/mips/mips32/fpu/Makefile: New file.
533 2015-05-11 Andreas Schwab <schwab@suse.de>
536 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
538 (_nss_compat_endgrent): Call nss_endgrent.
539 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
541 (_nss_compat_endpwent): Call nss_endpwent.
542 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
543 needent, call nss_setspent only if non-zero.
544 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
545 (internal_endspent): Don't call nss_endspent.
546 (_nss_compat_endspent): Call nss_endspent.
547 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
548 Remove. All uses removed.
549 (internal_setent): Remove parameter stayopen, add parameter
550 stream. Use it instead of global variable.
551 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
552 (internal_endent, internal_getent): Add parameter stream. Use it
553 instead of global variable.
554 (CONCAT(_nss_files_end,ENTNAME))
555 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
556 (_nss_files_get##name##_r): Pass local stream. Remove locking.
557 * nss/nss_files/files-alias.c (position, last_use): Remove. All
559 (internal_setent, internal_endent): Add parameter stream. Use it
560 instead of global variable.
561 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
563 (get_next_alias): Add parameter stream.
564 (_nss_files_getaliasent_r): Pass global stream.
565 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
566 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
567 (_nss_files_gethostbyname4_r): Pass local stream to
568 internal_setent, internal_getent and internal_endent. Remove
571 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
573 * tst-strfmon1.c (tests): Update expected currency symbol.
575 2015-05-08 Roland McGrath <roland@hack.frob.com>
577 * sysdeps/nacl/gethostname.c: New file.
579 2015-05-08 Joseph Myers <joseph@codesourcery.com>
581 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
583 * math/auto-libm-test-out: Regenerated.
584 * sysdeps/i386/fpu/libm-test-ulps: Update.
585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
587 2015-05-08 Carlos O'Donell <carlos@redhat.com>
590 * stdlib/tst-setcontext3.c: New file.
591 * stdlib/tst-setcontext3.sh: New file.
592 * stdlib/Makefile (tests): Add tst-setcontext3.
593 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
594 to verify test program created output file.
595 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
596 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
597 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
598 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
600 2015-05-06 Roland McGrath <roland@hack.frob.com>
603 * elf/tst-tlsalign.c: New file.
604 * elf/tst-tlsalign-static.c: New file.
605 * elf/tst-tlsalign-lib.c: New file.
606 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
607 (tests-static): Add tst-tlsalign-static.
608 (modules-names): Add tst-tlsalign-lib.
609 (test-xfail-tst-tlsalign): New variable.
610 (test-xfail-tst-tlsalign-static): New variable.
612 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
613 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
615 2015-05-06 Joseph Myers <joseph@codesourcery.com>
617 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
618 csqrt, erfc, sin and sincos.
619 * math/auto-libm-test-out: Regenerated.
620 * sysdeps/i386/fpu/libm-test-ulps: Update.
621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
623 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
625 * sysdeps/aarch64/libm-test-ulps: Update.
627 2015-05-05 Joseph Myers <joseph@codesourcery.com>
629 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
630 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
631 * math/auto-libm-test-out: Regenerated.
632 * sysdeps/i386/fpu/libm-test-ulps: Update.
633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
635 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
638 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
641 2015-05-05 Florian Weimer <fweimer@redhat.com>
643 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
644 Assume __ASSUME_FALLOCATE is always true.
645 * sysdeps/unix/sysv/linux/posix_fallocate64.c
646 (__posix_fallocate64_l64): Likweise.
647 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
648 (posix_fallocate): Likewise.
649 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
650 (__posix_fallocate64_l64): Likewise.
651 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
652 [!__ASSUME_FALLOCATE]: Add comment.
654 2015-05-05 Florian Weimer <fweimer@redhat.com>
656 * sysdeps/unix/sysv/linux/i386/Makefile
657 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
658 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
659 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
660 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
661 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
662 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
663 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
665 2015-05-02 Joseph Myers <joseph@codesourcery.com>
667 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
668 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
670 * math/auto-libm-test-out: Regenerated.
671 * sysdeps/i386/fpu/libm-test-ulps: Update.
672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
674 2015-05-01 Joseph Myers <joseph@codesourcery.com>
676 * math/auto-libm-test-in: Add more tests of tgamma.
677 * math/auto-libm-test-out: Regenerated.
678 * sysdeps/i386/fpu/libm-test-ulps: Update.
679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
681 * math/auto-libm-test-in: Add more tests of tanh.
682 * math/auto-libm-test-out: Regenerated.
683 * sysdeps/i386/fpu/libm-test-ulps: Update.
684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
686 * math/auto-libm-test-in: Add more tests of tan.
687 * math/auto-libm-test-out: Regenerated.
688 * sysdeps/i386/fpu/libm-test-ulps: Update.
689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
691 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
692 * math/auto-libm-test-out: Regenerated.
693 * sysdeps/i386/fpu/libm-test-ulps: Update.
694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
696 * math/auto-libm-test-in: Add another test of pow.
697 * math/auto-libm-test-out: Regenerated.
698 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
700 * math/auto-libm-test-in: Add more tests of lgamma.
701 * math/auto-libm-test-out: Regenerated.
702 * sysdeps/i386/fpu/libm-test-ulps: Update.
703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
705 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
707 * math/auto-libm-test-out: Regenerated.
708 * sysdeps/i386/fpu/libm-test-ulps: Update.
709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
711 2015-05-01 Mark Wielaard <mjw@redhat.com>
713 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
714 Elf64_Chdr structs and ELFCOMPRESS constants.
716 2015-05-01 Joseph Myers <joseph@codesourcery.com>
718 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
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 erf and erfc.
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 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
731 * config.h.in (HAVE_AARCH64_BE): Add.
733 2015-04-30 Joseph Myers <joseph@codesourcery.com>
735 * math/auto-libm-test-in: Add more tests of csqrt.
736 * math/auto-libm-test-out: Regenerated.
737 * sysdeps/i386/fpu/libm-test-ulps: Update.
738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
740 * math/auto-libm-test-in: Add more tests of cosh and sinh.
741 * math/auto-libm-test-out: Regenerated.
742 * sysdeps/i386/fpu/libm-test-ulps: Update.
743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
745 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
747 2015-04-29 Roland McGrath <roland@hack.frob.com>
749 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
750 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
752 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
753 (euidaccess, eaccess): Define as weak aliases.
755 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
756 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
757 but __suseconds_t is often 'long int' so some sources assume that
758 type is being used (e.g. they use %ld to print tv_usec).
760 2015-04-29 Florian Weimer <fweimer@redhat.com>
763 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
765 * nss/tst-nss-getpwent.c: New file.
766 * nss/Makefile (tests): Add new test.
768 2015-04-28 Joseph Myers <joseph@codesourcery.com>
771 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
772 exponents less than 48 as cases where high part of mantissa needs
773 examining to determine whether argument is integral.
774 * math/libm-test.inc (round_test_data): Add more tests.
776 2015-04-28 Mark Wielaard <mjw@redhat.com>
778 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
780 2015-04-27 David S. Miller <davem@davemloft.net>
782 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
784 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
786 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
789 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
791 2015-04-27 Florian Weimer <fweimer@redhat.com>
794 * time/tzset.c (parse_tzname): Return error on memory allocation
796 * test-skeleton.c (struct temp_name_list): Change type of name
798 (add_temp_file): Create a copy of the file name.
799 (delete_temp_files): Deallocate memory.
800 (create_temp_file): Add comment.
802 2015-04-24 Florian Weimer <fweimer@redhat.com>
804 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
805 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
807 2015-04-24 Roland McGrath <roland@hack.frob.com>
809 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
810 * sysdeps/arm/configure: Regenerated.
812 2015-04-24 Florian Weimer <fweimer@redhat.com>
815 * time/tzfile.c (__tzfile_read): Check for large values of
816 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
817 * time/tzset.c (__tzstring_len): New function, based on the old
819 (__tzstring): Call __tzstring_len.
820 (parse_tzname): New helper function extracted from
821 __tzset_parse_tz. Call __tzstring_len, without making a copy of
823 (parse_offset): New helper function extracted from
824 __tzset_parse_tz. Replace switch with fallthrough with
825 initialization before sscanf.
826 (parse_rule): Likewise.
827 (__tzset_parse_tz): Rewrite using the new helper functions. Use
828 new-style function definition.
829 * timezone/Makefile (tests): Add tst-tzset.
830 (tst-tzset.out): Dependencies on time zone files.
831 (tst-tzset-ENV): Set TZDIR.
832 (testdata/XT%): Copy crafted time zone files.
833 * timezone/README: Mention crafted time zone files.
834 * timezone/testdata/XT1, timezone/testdata/XT2,
835 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
837 * timezone/tst-tzset.c: New test.
839 2015-04-24 Florian Weimer <fweimer@redhat.com>
841 * Makeconfig (+gccwarn): Remove -Winline.
843 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
845 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
847 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
849 * NEWS: Mention sysconf() cache information support for s390.
850 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
852 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
854 * math/k_casinh.c (__kernel_casinh): Use __copysign.
855 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
856 (__nearbyint): Likewise.
857 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
858 (copysignl): Likewise.
860 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
863 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
864 based on padding. (CVE-2015-1781)
866 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
868 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
870 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
871 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
872 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
873 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
874 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
875 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
876 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
877 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
878 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
879 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
880 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
881 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
882 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
883 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
884 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
885 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
886 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
887 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
888 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
889 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
890 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
891 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
892 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
894 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
896 * stdlib/setenv.c (__add_to_environ):
897 Dump core quickly if setenv (..., NULL, ...) is called.
898 This time, do it the right way, and pacify GCC with a pragma.
900 2015-04-17 Roland McGrath <roland@hack.frob.com>
902 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
903 IMAP->l_prev cannot be null, and #if out the code for the contrary
904 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
905 believe that NS (&_dl_ns[NSID]) could point outside the array.
907 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
908 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
909 before using NSID as an index.
911 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
914 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
915 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
916 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
918 2015-04-17 Roland McGrath <roland@hack.frob.com>
920 Add preliminary port to Google Native Client on ARM.
921 * abi-tags (.*-.*-nacl.*): New entry.
922 * sysdeps/arm/nacl: New directory.
923 * sysdeps/nacl: New directory.
925 2015-04-16 David S. Miller <davem@davemloft.net>
927 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
930 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
932 * sysdeps/tile/configure.ac: New file.
933 * sysdeps/tile/configure: Regenerated.
935 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
937 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
938 conditionals for weak_alias and libc_hidden_weak.
939 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
940 libc_hidden_weak and weak_alias.
941 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
942 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
943 and weak_alias for static one.
945 2015-04-15 David S. Miller <davem@davemloft.net>
947 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
949 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
952 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
953 Use signed comparision instead of substraction to avoid
955 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
956 Take the sign of ret.
957 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
958 Do not expect precise return values. Only the sign matters.
959 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
960 * wcsmbs/test-wcsncmp.c: New File.
961 * string/test-strncmp.c: Add wcsncmp support.
963 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
966 * math/w_log1p.c: New file.
967 * math/w_log1pf.c: Likewise.
968 * math/w_log1pl.c: Likewise.
969 * math/Makefile (libm-calls): Add w_log1p.
970 * math/s_log1pl.c (log1pl): Remove weak_alias.
971 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
972 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
973 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
974 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
975 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
976 [NO_LONG_DOUBLE] (log1pl): Likewise.
977 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
978 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
979 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
980 (log1p): Remove long_double_symbol.
981 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
982 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
983 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
984 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
985 remove weak_alias for corresponding log1p function.
986 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
987 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
988 * sysdeps/ia64/fpu/w_log1p.c: New file.
989 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
990 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
991 * math/libm-test.inc (log1p_test_data): Add errno expectations.
993 2015-04-10 Joseph Myers <joseph@codesourcery.com>
996 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
997 decimal exponent by 1.
998 * stdlib/tst-strtod-round-data: Add more tests.
999 * stdlib/tst-strtod-round.c (tests): Regenerated.
1001 2015-04-09 Joseph Myers <joseph@codesourcery.com>
1003 * math/auto-libm-test-in: Add more tests of clog and clog10.
1004 * math/auto-libm-test-out: Regenerated.
1005 * sysdeps/i386/fpu/libm-test-ulps: Update.
1006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1008 2015-04-09 Roland McGrath <roland@hack.frob.com>
1010 * Makeconfig (module-cppflags): Exclude all .v.i files.
1011 (skip-module-cppflags): Variable removed.
1013 * configure.ac (libc_config_ok): Initialize before reading
1014 preconfigure scripts, not after.
1015 * configure: Regenerated.
1017 * test-skeleton.c (TIMEOUT): Move #define to top level.
1018 (main): Grok environment variable TEST_DIRECT. If set, print
1019 test expectation details into that file and then behave as if
1022 2015-04-09 Florian Weimer <fweimer@redhat.com>
1024 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
1027 2015-04-08 David S. Miller <davem@davemloft.net>
1029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1031 2015-04-08 Joseph Myers <joseph@codesourcery.com>
1033 * math/auto-libm-test-in: Add more tests of atanh.
1034 * math/auto-libm-test-out: Regenerated.
1035 * sysdeps/i386/fpu/libm-test-ulps: Update.
1036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1038 * math/auto-libm-test-in: Add more tests of atan.
1039 * math/auto-libm-test-out: Regenerated.
1040 * sysdeps/i386/fpu/libm-test-ulps: Update.
1041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1043 2015-04-08 Florian Weimer <fweimer@redhat.com>
1045 * elf/pldd.c (main): Rewrite to use struct
1046 scratch_buffer instead of extend_alloca.
1047 * elf/pldd-xx.c (find_maps): Likewise.
1048 * grp/initgroups.c: Include <scratch_buffer.h> instead of
1050 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
1051 scratch_buffer instead of extend_alloca.
1052 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
1053 grp/compat-initgroups.c.
1054 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
1055 Rewrite to use struct scratch_buffer instead of extend_alloca.
1056 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
1057 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1059 2015-04-08 Joseph Myers <joseph@codesourcery.com>
1061 * math/auto-libm-test-in: Add more tests of cbrt.
1062 * math/auto-libm-test-out: Regenerated.
1063 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1065 * math/auto-libm-test-in: Add more tests of cabs.
1066 * math/auto-libm-test-out: Regenerated.
1067 * sysdeps/i386/fpu/libm-test-ulps: Update.
1068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1072 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
1073 (__ieee754_atan2): Set FE_TONEAREST mode for internal
1075 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
1077 * math/auto-libm-test-out: Regenerated.
1078 * sysdeps/i386/fpu/libm-test-ulps: Update.
1079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1082 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
1083 (atan): Set FE_TONEAREST mode for internal computations.
1084 * math/auto-libm-test-in: Add more tests of atan.
1085 * math/auto-libm-test-out: Regenerated.
1087 2015-04-07 James Cowgill <james410@cowgill.org.uk>
1090 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
1092 2015-04-07 Florian Weimer <fweimer@redhat.com>
1094 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
1096 2015-04-07 Florian Weimer <fweimer@redhat.com>
1098 * include/scratch_buffer.h: New file.
1099 * malloc/scratch_buffer_grow.c: Likewise.
1100 * malloc/scratch_buffer_grow_preserve.c: Likewise.
1101 * malloc/scratch_buffer_set_array_size.c: Likewise.
1102 * malloc/tst-scratch_buffer.c: Likewise.
1103 * malloc/Makefile (routines): Add scratch_buffer_grow.
1104 (tests): Add test case.
1105 * malloc/Versions (GLIBC_PRIVATE): Export
1106 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
1107 __libc_scratch_buffer_set_array_size.
1109 2015-04-06 Richard Henderson <rth@redhat.com>
1111 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
1112 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1114 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
1115 unsigned int before printing.
1117 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1120 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
1121 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1123 2015-04-02 Florian Weimer <fweimer@redhat.com>
1125 * include/libc-internal.h (libc_max_align_t): Define.
1127 2015-04-02 Andreas Schwab <schwab@suse.de>
1130 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
1132 2015-04-02 Mel Gorman <mgorman@suse.de>
1135 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
1136 as well as the main arena.
1138 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
1141 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
1142 sharing L2 cache to 2 for Silvermont/Knights Landing.
1144 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
1147 * config.make.in (have-protected-data): New.
1148 * configure.ac: Check linker support for protected data symbol.
1149 * configure: Regenerated.
1150 * elf/Makefile (modules-names): Add tst-protected1moda and
1151 tst-protected1modb if $(have-protected-data) is yes.
1152 (tests): Add tst-protected1a and tst-protected1b if
1153 $(have-protected-data) is yes.
1154 ($(objpfx)tst-protected1a): New.
1155 ($(objpfx)tst-protected1b): Likewise.
1156 (tst-protected1modb.so-no-z-defs): Likewise.
1157 * elf/tst-protected1a.c: New file.
1158 * elf/tst-protected1b.c: Likewise.
1159 * elf/tst-protected1mod.h: Likewise.
1160 * elf/tst-protected1moda.c: Likewise.
1161 * elf/tst-protected1modb.c: Likewise.
1163 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
1166 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
1167 indicates it is called from do_lookup_x on relocation against
1168 protected data, skip the data definion in the executable from
1170 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
1171 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
1172 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
1173 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
1174 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
1176 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
1177 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
1178 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
1179 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
1180 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
1181 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
1183 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
1185 * sysdeps/nptl/pthread.h: Remove duplicate definition of
1186 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
1188 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
1190 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
1192 * sysdeps/x86_64/nptl/tls.h: Ditto.
1194 2015-03-27 Roland McGrath <roland@hack.frob.com>
1196 * dlfcn/tststatic.c (main): Converted to ...
1197 (do_test): ... this.
1198 (TEST_FUNCTION): New macro.
1199 Include test-skeleton.c.
1201 2015-03-26 Alan Modra <amodra@gmail.com>
1203 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
1204 Don't segfault if ifunc resolver returns a NULL. Do set plt to
1205 zero for undefined weak.
1206 (elf_machine_plt_conflict): Similarly.
1208 2015-03-25 Joseph Myers <joseph@codesourcery.com>
1210 * math/auto-libm-test-in: Add more tests of acosh, asinh and
1212 * math/auto-libm-test-out: Regenerated.
1213 * sysdeps/i386/fpu/libm-test-ulps: Update.
1214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1216 * math/auto-libm-test-in: Add another test of asin.
1217 * math/auto-libm-test-out: Regenerated.
1218 * sysdeps/i386/fpu/libm-test-ulps: Update.
1219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1221 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
1223 (LLL_EBX_REG): Likewise.
1224 (LLL_ENTER_KERNEL): Likewise.
1226 * math/auto-libm-test-in: Add more tests of asin.
1227 * math/auto-libm-test-out: Regenerated.
1228 * sysdeps/i386/fpu/libm-test-ulps: Update.
1229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1232 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
1233 libc_do_syscall_args): New structure.
1234 (INTERNAL_SYSCALL_MAIN_0): New macro.
1235 (INTERNAL_SYSCALL_MAIN_1): Likewise.
1236 (INTERNAL_SYSCALL_MAIN_2): Likewise.
1237 (INTERNAL_SYSCALL_MAIN_3): Likewise.
1238 (INTERNAL_SYSCALL_MAIN_4): Likewise.
1239 (INTERNAL_SYSCALL_MAIN_5): Likewise.
1240 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
1241 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
1242 Replace conditional definitions by conditional definitions of ....
1243 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
1244 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
1245 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
1246 (libpthread-sysdep_routines): Add libc-do-syscall.
1247 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
1248 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
1249 to __NR_futex not 240.
1251 2015-03-25 Alan Modra <amodra@gmail.com>
1253 * NEWS: Advertise TLS optimization.
1254 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
1255 (DT_PPC_NUM): Increment.
1256 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
1257 (CHECK_STATIC_TLS): Use here.
1258 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
1260 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1261 * sysdeps/powerpc/dl-tls.c: New file.
1262 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
1263 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
1264 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
1265 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
1266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
1267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
1268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
1270 2015-03-25 Alan Modra <amodra@gmail.com>
1272 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
1273 for overlapping .opd entries" to "support...".
1274 * sysdeps/powerpc/powerpc64/configure: Regenerate
1276 2015-03-25 Joseph Myers <joseph@codesourcery.com>
1278 * math/auto-libm-test-in: Add more tests of acos.
1279 * math/auto-libm-test-out: Regenerated.
1280 * sysdeps/i386/fpu/libm-test-ulps: Update.
1281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1283 * math/auto-libm-test-in: Add more tests of expm1.
1284 * math/auto-libm-test-out: Regenerated.
1285 * sysdeps/i386/fpu/libm-test-ulps: Update.
1286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1288 2015-03-24 Joseph Myers <joseph@codesourcery.com>
1290 * math/auto-libm-test-in: Add more tests of cosh and sinh.
1291 * math/auto-libm-test-out: Regenerated.
1292 * sysdeps/i386/fpu/libm-test-ulps: Update.
1293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1295 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1298 * math/auto-libm-test-in: Add more tests of log2.
1299 * math/auto-libm-test-out: Regenerated.
1300 * sysdeps/i386/fpu/libm-test-ulps: Update.
1301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1303 2015-03-23 Roland McGrath <roland@hack.frob.com>
1305 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
1306 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
1307 _IO_IS_APPENDING bit in READ_WRITE instead.
1309 2015-03-23 Florian Weimer <fweimer@redhat.com>
1311 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
1312 (__determine_cpumask_size): Replace extend_alloca with a
1313 variable-length array. Do not treat res == 0 as an error.
1315 2015-03-23 Florian Weimer <fweimer@redhat.com>
1318 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
1319 and integer overflow.
1320 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
1321 (main): Add integer overflow tests.
1322 * manual/pattern.texi (Calling Wordexp): Document additional use
1325 2015-03-23 Alan Modra <amodra@gmail.com>
1327 * config.h.in: Remove HAVE_ASM_PPC_REL16.
1328 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
1329 and false branch of conditional.
1330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1333 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
1335 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
1337 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
1338 unused declaration of _hurd_intr_rpc_msg_in_trap.
1339 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
1340 defined instead of whether it is non-zero.
1341 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
1342 input constraint instead of both input and output constraint. Use ecx
1343 clobber instead of %ecx.
1344 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
1345 mutex_unlock): Use a statement expression instead of an expression list.
1346 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
1347 type to vm_size_t instead of vm_address_t.
1348 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
1349 defined instead of whether it is non-zero.
1350 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
1351 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
1352 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
1353 comparisons with mapaddr.
1354 * nscd/nscd-client.h: Include <time.h>.
1355 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
1356 9th parameter to __vm_region instead of int.
1357 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
1358 * scripts/check-local-headers.sh (exclude): Add device/,
1359 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
1362 2015-03-19 Roland McGrath <roland@hack.frob.com>
1364 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
1365 to account for alignment padding.
1366 * sysdeps/arm/memmove.S: Likewise.
1368 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
1370 * sysdeps/unix/sysv/linux/generic/README: New file.
1372 2015-03-18 Joseph Myers <joseph@codesourcery.com>
1375 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
1376 (futex_abstimed_wait)
1377 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
1378 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
1379 of lll_futex_timed_wait.
1381 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
1384 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
1386 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
1393 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
1394 entries with Static TLS too. Skip entries past the end of the
1395 allocated DTV, from Alan Modra.
1396 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
1397 Static TLS DTV entry set up from...
1398 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
1399 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
1400 * nptl/allocatestack.c (init_one_static_tls): ... and here...
1401 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
1403 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
1404 that the slot we find is associated with the given map before
1405 using its generation count.
1406 * nptl_db/db_info.c: Include ldsodefs.h.
1407 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
1408 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
1409 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
1410 (link_map::l_tls_offset): New struct field.
1411 (dtv_t::counter): Likewise.
1412 (rtld_global): New struct.
1413 (_rtld_global): New rtld variable.
1414 (dl_tls_dtv_slotinfo_list): New rtld global field.
1415 (dtv_slotinfo_list): New struct.
1416 (dtv_slotinfo): Likewise.
1417 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
1418 (td_lookup): Rename to...
1419 (td_mod_lookup): ... this. Use new mod parameter instead of
1421 * nptl_db/td_thr_tlsbase.c: Include link.h.
1422 (dtv_slotinfo_list, dtv_slotinfo): New functions.
1423 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
1424 addresses even if the DTV is out of date or missing them.
1425 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
1426 index zero-length arrays.
1427 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
1428 (td_lookup): Make it a macro implemented in terms of...
1429 (td_mod_lookup): ... this declaration.
1430 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
1431 (DB_MAIN_VARIABLE): Likewise.
1433 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
1436 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
1438 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
1440 * stdlib/setenv.c (__add_to_environ): Revert previous change.
1442 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
1445 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
1446 (atomic_add, atomic_increment_and_test)
1447 (atomic_decrement_and_test): Fix 64-bit arithmetic.
1449 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
1451 * stdlib/setenv.c (__add_to_environ):
1452 Dump core quickly if setenv (..., NULL, ...) is called.
1454 2015-03-13 Roland McGrath <roland@hack.frob.com>
1456 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
1457 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
1458 all the necessary asm magic in one place.
1459 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
1462 2015-03-13 Carlos O'Donell <carlos@redhat.com>
1465 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
1466 traced file mtime. Use consistent log message.
1467 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
1468 (register_traced_file): Call install_watches. Always set mtime.
1469 (invalidate_cache): Iterate over all trace files. Call install_watches.
1470 (inotify_check_files): Don't inline. Handle watching parent
1471 directories and configuration file movement in and out.
1472 (handle_inotify_events): New function.
1473 (main_loop_poll): Call handle_inotify_events.
1474 (main_loop_epoll): Likewise.
1475 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
1476 (struct traced_file): Use array of inotify fds. Add parent directory,
1478 (struct database_dyn): Remove unused file_mtime.
1479 (init_traced_file): New inline function.
1480 (define_traced_file): New macro.
1481 * nss/nss_db/db-init.c: Use define_traced_file.
1482 (_nss_db_init): Use init_traced_file.
1483 * nss/nss_files/files-init.c: Use define_traced_file.
1484 (_nss_files_init): Use init_traced_file.
1486 2015-03-12 Joseph Myers <joseph@codesourcery.com>
1488 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
1489 [_LIBC]: Do not include <stdlib.h>.
1490 [!_LIBC] (abort): Remove declaration.
1491 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
1492 _FP_STATIC_ASSERT instead of conditionally calling abort.
1493 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
1494 (_FP_EXTEND_CNAN): Likewise.
1495 (FP_TRUNC): Likewise.
1496 (__FP_CLZ): Likewise.
1497 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
1499 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
1501 * manual/string.texi (XPG basename): Fix prototype.
1503 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1506 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
1507 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
1508 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
1509 (__setcontext): Likewise.
1510 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
1511 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
1512 Call rt_sigprocmask syscall one time to set new signal mask
1513 and retrieve the current signal mask instead of two calls.
1514 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
1515 (__swapcontext): Likewise.
1516 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
1517 * stdlib/tst-setcontext2.c: New file.
1519 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1521 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1523 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
1526 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
1529 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1532 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
1534 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1536 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
1537 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
1539 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
1540 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
1541 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
1542 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
1543 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
1544 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
1546 * nptl_db/td_symbol_list.c (td_lookup): Remove
1547 HAVE_ASM_GLOBAL_DOT_NAME code.
1548 * sysdeps/powerpc/powerpc64/configure.ac: Remove
1549 HAVE_ASM_GLOBAL_DOT_NAME check.
1550 * sysdeps/powerpc/powerpc64/configure: Regenerate.
1551 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
1552 (DOT_LABEL): Remove define.
1553 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
1554 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
1555 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
1556 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
1557 (__TLS_GET_ADDR): Likewise.
1558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
1559 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
1561 2015-03-11 Carlos O'Donell <carlos@redhat.com>
1564 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
1565 (_FPU_SETCW): Initialize cw from fpsr before storing.
1566 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
1567 (fesetexceptflag): Rewrite using fpu_control.h.
1568 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
1570 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
1573 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
1575 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1577 2015-03-11 Joseph Myers <joseph@codesourcery.com>
1579 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
1580 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
1582 (_FP_FMA): Likewise.
1583 (_FP_DIV): Likewise.
1585 2015-03-10 Roland McGrath <roland@hack.frob.com>
1587 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
1588 with 0 in that case.
1589 * Makefile (summarize-tests): New canned sequence, factored out of
1590 commands for targets tests and xtests. Display summary lines that
1591 don't start with PASS: or XFAIL: rather than ones that do start with
1592 ERROR: or FAIL:. Make the commands fail if any summary lines fail
1593 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
1594 do start with ERROR: or FAIL:.
1595 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
1596 (except for [$(build-shared) = yes]).
1597 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
1598 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
1599 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
1600 * nptl/Makefile: Revert 2015-03-04 changes.
1601 [$(CXX) empty] (tests-unsupported): New variable.
1602 * debug/Makefile: Likewise.
1604 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
1605 gnulib file. Replace __attribute with __attribute__ throughout.
1607 2015-03-10 Carlos O'Donell <carlos@redhat.com>
1609 * sysdeps/hppa/fpu/libm-test-ulps: Update.
1611 2015-03-10 Joseph Myers <joseph@codesourcery.com>
1614 * math/auto-libm-test-in: Add another test of pow.
1615 * math/auto-libm-test-out: Regenerated.
1617 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1619 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
1620 $(config-cflags-nofma).
1622 2015-03-10 Joseph Myers <joseph@codesourcery.com>
1624 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
1625 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
1626 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
1627 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
1628 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
1629 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
1630 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
1631 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
1632 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
1633 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
1634 Add comment on closing #endif.
1636 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1638 * posix/wordexp.c (CHAR_IN_SET): New macro.
1639 (parse_param): Use it.
1641 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1643 * sysdeps/powerpc/fpu/libm-test-ulps: update.
1645 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1648 * posix/wordexp.c (parse_param): Fix buffer overflow.
1649 * posix/wordexp-test.c (test_case): Add test case.
1651 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1654 * posix/wordexp.c (parse_backtick): Fix off-by-one.
1655 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
1657 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1660 * posix/wordexp-test.c (test_case): Add test for BZ #18043
1661 (do_bz18043): Delete.
1663 (testit): Refactor to have words at the edge of unreadable page.
1665 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1668 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
1669 Cleanup read-only streams as well.
1670 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
1672 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1674 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
1677 2015-03-07 Joseph Myers <joseph@codesourcery.com>
1679 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
1681 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
1682 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
1683 * soft-fp/op-common.h (_FP_DECL): Likewise.
1685 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
1687 * elf/ifuncdep2.c (global): Replace
1688 __attribute__((visibility("protected"))) with
1689 asm (".protected global").
1690 * elf/ifuncmod1.c (global): Likewise.
1691 * elf/ifuncmod5.c (global): Likewise.
1693 2015-03-06 Joseph Myers <joseph@codesourcery.com>
1695 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
1696 <asm/sfp-machine.h> instead of <sfp-machine.h>.
1698 2015-03-06 Roland McGrath <roland@hack.frob.com>
1700 * manual/install.texi (Configuring and compiling):
1701 Document test-wrapper-env-only.
1702 * INSTALL: Regenerated.
1704 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1707 * posix/wordexp.c (parse_param): Fix buffer overflow.
1708 * posix/wordexp-test.c (do_bz18043): Add test case.
1710 2015-03-06 Vincent Bernat <vincent@bernat.im>
1712 * time/tst-strptime2.c (do_test): Ensure failing tests are
1714 * time/tst-strptime3.c (do_test): Likewise.
1716 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
1718 Fix aio_error thread-safety.
1719 * sysdeps/pthread/aio_error.c: New file
1720 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
1723 2015-03-06 Florian Weimer <fweimer@redhat.com>
1725 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
1726 (group_number, vfprintf): Use it.
1727 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
1728 (JUMP, REF): Use it.
1729 (WORK_BUFFER_SIZE): New enum constant.
1730 (process_arg, vfprintf): Use it.
1732 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
1734 * manual/errno.texi (Error Messages): Complete example function
1735 by adding missing #define.
1736 (program_invocation_name): Add statement indicating GNU
1737 extension and reference which header file declares the variable.
1738 (program_invocation_short_name): Likewise.
1740 2015-03-06 Mike Frysinger <vapier@gentoo.org>
1742 * manual/errno.texi (Error Messages): Delete strerror ISO C89
1745 2015-03-05 Roland McGrath <roland@hack.frob.com>
1747 * Makeconfig (test-wrapper-env-only): New variable.
1748 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
1749 then use that with $(test-wrapper-env-only) rather than using
1750 $(test-wrapper-env) $(run-program-env) $($*-ENV).
1752 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
1755 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
1756 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
1757 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
1758 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
1759 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
1760 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
1761 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
1762 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
1764 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
1765 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
1767 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
1769 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
1771 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
1773 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
1774 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
1776 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
1778 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
1779 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
1781 2015-03-04 Roland McGrath <roland@hack.frob.com>
1783 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
1784 (ETH_ALEN): New macro.
1785 (struct ether_addr): Use it for length of ether_addr_octet.
1787 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
1788 (setdb): Don't call __nss_configure_lookup for "rpc".
1789 (do_test): Don't call test_rpc.
1790 (output_rpcent, test_rpc): Functions moved ...
1791 * sunrpc/test-rpcent.c: ... to this new file.
1792 * sunrpc/Makefile (tests): Add it.
1794 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
1796 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
1797 * nptl/tst-signal6.c: Likewise.
1798 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
1799 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
1801 * configure.ac (libc_cv_cxx_link_ok): New check.
1802 Reset CXX to empty if it fails to link.
1803 * configure: Regenerated.
1804 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
1805 bug-atexit3-lib only if $(CXX) is nonempty.
1806 * nptl/Makefile (tests): Likewise for tst-cancel24.
1807 (tests, tests-static): Likewise for tst-cancel24-static.
1808 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
1809 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
1810 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
1811 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
1813 2015-03-04 Andreas Schwab <schwab@suse.de>
1816 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
1817 for non-GCC compilers.
1818 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1821 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1824 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
1825 integer before bitwise and assembly operations.
1826 (feclearexcept): Likewise.
1827 * math/test-fenvinline.c: New file.
1828 * math/Makefile: Add test-fenvinline test.
1830 2015-03-03 Alan Modra <amodra@gmail.com>
1833 * scripts/localplt.awk: Strip off symbol version.
1834 * NEWS: Mention bug fix.
1836 2015-03-02 Roland McGrath <roland@hack.frob.com>
1838 * sysdeps/pthread/timer_routines.c
1839 (timer_free_list, thread_free_list, thread_active_list): Make static.
1841 2015-03-02 Joseph Myers <joseph@codesourcery.com>
1844 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1845 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1847 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1848 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1850 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1851 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1854 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1857 * posix/fnmatch_loop.c (END): Detect invalid pattern.
1858 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
1860 2015-03-02 Andreas Schwab <schwab@suse.de>
1862 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
1865 2015-03-02 Florian Weimer <fweimer@redhat.com>
1867 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
1868 Return error status.
1870 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
1873 * locale/findlocale.c (_nl_find_locale): Introduce const
1874 version of loc_name and drop unsafe type casts.
1876 2015-02-27 Roland McGrath <roland@hack.frob.com>
1878 * dlfcn/tststatic2.c (main): Converted to ...
1879 (do_test): ... this.
1880 (TEST_FUNCTION): New macro.
1881 Include test-skeleton.c.
1883 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
1886 * elf/Makefile (tests): Add vismain only if PIE is enabled.
1887 (tests-pie): Add vismain.
1888 (CFLAGS-vismain.c): New.
1889 * elf/vismain.c: Add comments for PIE requirement.
1891 2015-02-27 Joseph Myers <joseph@codesourcery.com>
1895 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
1896 0x1p-56L as threshold for just returning the argument.
1897 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
1898 0x1p-32L as threshold for just returning the argument.
1899 * math/auto-libm-test-in: Add more tests of atanh.
1900 * math/auto-libm-test-out: Regenerated.
1901 * sysdeps/i386/fpu/libm-test-ulps: Update.
1902 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
1904 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
1906 * string/bcopy.c (bcopy): Call memmove for performance.
1908 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
1910 * string/bzero.c (__bzero): Call memset for performance.
1912 2015-02-27 John David Anglin <dave.anglin@bell.net>
1915 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
1918 2015-02-27 Joseph Myers <joseph@codesourcery.com>
1920 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
1922 2015-02-26 Joseph Myers <joseph@codesourcery.com>
1924 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
1925 (__kernel_standard): Use CSTR macro when setting exc.name.
1926 * sysdeps/ieee754/Makefile [$(subdir) = math]
1927 (CFLAGS-k_standard.c): Remove variable.
1929 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
1930 setting p and q from "else if" to "else".
1932 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
1934 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
1936 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
1938 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
1940 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
1945 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
1946 return pi/2 for arguments below 0x1p-113L.
1947 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
1948 return pi/2 for arguments below 0x1p-106L.
1949 * math/auto-libm-test-in: Add more tests of acos.
1950 * math/auto-libm-test-out: Regenerated.
1953 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
1955 (__ieee754_asin): Force underflow exception for results with small
1957 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
1959 (__ieee754_asinf): Force underflow exception for results with
1960 small absolute value.
1961 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
1962 (__ieee754_asin): Force underflow exception for results with small
1964 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
1965 (__ieee754_asinf): Force underflow exception for results with
1966 small absolute value.
1967 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
1968 (__ieee754_asinl): Force underflow exception for results with
1969 small absolute value.
1970 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
1971 (__ieee754_asinl): Force underflow exception for results with
1972 small absolute value.
1973 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
1974 (__ieee754_asinl): Force underflow exception for results with
1975 small absolute value.
1976 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
1978 * math/auto-libm-test-in: Do not mark underflow exceptions as
1979 possibly missing for bug 16351.
1980 * math/auto-libm-test-out: Regenerated.
1983 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
1984 of power of 2 down when low part has opposite sign.
1985 * math/libm-test.inc (logb_test_data): Add more tests.
1987 2015-02-26 Andreas Schwab <schwab@suse.de>
1990 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
1991 over collating symbol inside a bracket expression. Minor cleanup.
1992 * posix/tst-fnmatch3.c (do_test): Add test case.
1994 2015-02-26 Joseph Myers <joseph@codesourcery.com>
1997 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
1998 Adjust exponent of power of 2 down when low part has opposite
2000 * math/libm-test.inc (ilogb_test_data): Add more tests.
2002 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
2005 * locale/findlocale.c (_nl_find_locale): Fix constness error in
2006 the previous change.
2009 * locale/findlocale.c (_nl_find_locale): Retry archive search
2010 after alias expansion.
2012 2015-02-25 Roland McGrath <roland@hack.frob.com>
2014 * iconv/tst-iconv3.c (main): Converted to ...
2015 (do_test): ... this.
2016 (TEST_FUNCTION): New macro.
2017 Include test-skeleton.c.
2019 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
2020 (convert): Make function static.
2021 (test_unalign): Likewise. Add const to argument pointee types.
2022 (main): Replace with static function do_test.
2023 Print "Succeeded." only if RET is zero.
2024 (TEST_FUNCTION): New macro.
2025 Include test-skeleton.c.
2027 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
2028 returns a null pointer.
2030 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2032 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
2033 to __memcpy_ppc only for static builds.
2035 2015-02-25 Joseph Myers <joseph@codesourcery.com>
2038 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
2039 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
2040 * math/auto-libm-test-in: Add more tests of asinh.
2041 * math/auto-libm-test-out: Regenerated.
2042 * sysdeps/i386/fpu/libm-test-ulps: Update.
2043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2045 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
2048 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
2049 and ip6_mtuinfo definitions here.
2050 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
2051 in this define too. Update comment.
2053 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
2055 * elf/sprof.c (load_shobj): Tweak error message to match others.
2057 2015-02-24 Kevin Easton <kevin@guarana.org>
2059 [BZ #16145] (partial fix)
2060 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
2061 to reduce lock contention.
2063 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
2065 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
2066 (struct timex): Update time comment.
2067 (ADJ_SETOFFSET): Define.
2069 2015-02-24 Joseph Myers <joseph@codesourcery.com>
2072 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2073 2**56 not 2**28 as threshold for log (2x) formula.
2074 * math/auto-libm-test-in: Add more tests of acosh.
2075 * math/auto-libm-test-out: Regenerated.
2076 * sysdeps/i386/fpu/libm-test-ulps: Update.
2077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2079 2015-02-24 Mike Frysinger <vapier@gentoo.org>
2081 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
2082 parenthesis around the buf assignment.
2083 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
2085 2015-02-24 Joseph Myers <joseph@codesourcery.com>
2088 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
2089 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
2090 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
2091 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2092 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2093 * math/libm-test.inc (scalb_test_data): Add more tests.
2095 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2098 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
2099 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
2101 2015-02-24 Eric Rannaud <e@nanocritical.com>
2104 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
2105 * io/bits/fcntl2.h (open): Use it.
2107 * io/open.c (__libc_open): Likewise.
2108 * io/open64.c (__libc_open64): Likewise.
2109 * io/open64_2.c (__open64_2): Likewise.
2110 * io/open_2.c (__open_2): Likewise.
2111 * io/openat.c (__openat): Likewise.
2112 * io/openat64.c (__openat64): Likewise.
2113 * io/openat64_2.c (__openat64_2): Likewise.
2114 * io/openat_2.c (__openat_2): Likewise.
2115 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
2116 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
2117 * sysdeps/posix/open64.c (__libc_open64): Likewise.
2118 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
2119 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
2120 (__open_nocancel): Likewise.
2121 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
2122 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
2123 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
2125 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2128 * resolv/gethnamaddr.c (getanswer): Skip logging if
2129 RES_USE_DNSSEC is set.
2130 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2132 2015-02-24 Mike Frysinger <vapier@gentoo.org>
2134 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
2136 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
2138 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
2139 201304L, for Unicode 7.
2141 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
2144 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
2145 shared library. Add gmon-start.os otherwise.
2146 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
2147 $(objpfx)gmon-start.os if builing shared library.
2148 ($(objpfx)g$(static-start-installed-name)): Likewise.
2150 2015-02-23 Andreas Schwab <schwab@suse.de>
2152 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
2154 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
2157 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
2158 (enlarge_userbuf): Likewise.
2160 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
2162 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
2163 * math/atest-exp.c (TIMEOUT): Adjust to 200.
2164 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
2165 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
2167 2015-02-20 Joseph Myers <joseph@codesourcery.com>
2169 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
2170 expression inside statement expression.
2172 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2174 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
2175 <sysdeps/nptl/lowlevellock.h> and remove macros and
2176 functions that are now defined there.
2177 (SYS_futex): Remove.
2178 (lll_compare_and_swap): Remove.
2179 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
2181 2015-02-19 Joseph Myers <joseph@codesourcery.com>
2184 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
2185 instead of scandirat.
2186 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
2187 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
2188 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
2190 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
2191 (__scandirat): Declare. Use libc_hidden_proto.
2192 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
2194 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2196 2015-02-18 Joseph Myers <joseph@codesourcery.com>
2199 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
2201 (__ieee754_atan2): For results with small absolute value, force
2202 underflow exception and remove excess range and precision from
2204 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
2206 (__ieee754_atan2f): For results with small absolute value, force
2207 underflow exception and remove excess range and precision from
2209 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
2211 (__atan): For results with small absolute value, force underflow
2212 exception and remove excess range and precision from return value.
2213 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
2215 (__atanf): For results with small absolute value, force underflow
2216 exception and remove excess range and precision from return value.
2217 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
2219 (__ieee754_atan2): Force underflow exception for results with
2220 small absolute value.
2221 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
2223 (atan): Force underflow exception for results with small absolute
2225 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
2226 (__atanf): Force underflow exception for results with small
2228 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
2230 (__atanl): Force underflow exception for results with small
2232 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
2233 (__atanl): Force underflow exception for results with small
2235 * sysdeps/x86/fpu/bits/mathinline.h
2236 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
2237 (__ieee754_atan2): Only define inline for long double.
2238 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
2239 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
2240 * math/auto-libm-test-in: Do not mark underflow exceptions as
2241 possibly missing for bug 15319. Add more tests of atan2.
2242 * math/auto-libm-test-out: Regenerated.
2243 * math/libm-test.inc (casin_test_data): Do not mark underflow
2244 exceptions as possibly missing for bug 15319.
2245 (casinh_test_data): Likewise.
2246 * sysdeps/i386/fpu/libm-test-ulps: Update.
2248 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
2250 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
2251 * sysdeps/mips/bits/endian.h: Fix comments.
2253 2015-02-18 Joseph Myers <joseph@codesourcery.com>
2256 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
2257 (hdestroy_r): Likewise.
2258 (hsearch_r): Likewise.
2259 (__hcreate_r): Declare and use libc_hidden_proto.
2260 (__hdestroy_r): Likewise.
2261 (__hsearch_r): Likewise.
2262 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
2263 (hcreate): Call __hcreate_r instead of hcreate_r.
2264 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
2265 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
2266 as weak alias of __hcreate_r.
2267 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
2269 (hsearch_r): Rename to __hsearch_r and define as weak alias of
2271 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
2273 (test-xfail-XPG4/search.h/linknamespace): Likewise.
2274 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2275 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2276 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2278 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2280 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
2281 arena_lock into a single arena_get.
2283 2015-02-17 Carlos O'Donell <carlos@redhat.com>
2285 * dl-reloc.c: Inlucde libc-internal.h.
2286 (_dl_try_allocate_static_tls): Call ALIGN_UP.
2287 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
2288 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
2289 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
2290 (grow_heap): Likewise.
2291 * malloc/malloc.c: Include libc-internal.h.
2292 (do_check_malloc): Call powerof2.
2293 (sysmalloc): Use pagesize. Call ALIGN_UP.
2294 (systrim): Use pagesize.
2295 (mremap_chunk): Use pagesize. Call ALIGN_UP.
2296 (__libc_valloc): Use pagesize.
2297 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
2299 2015-02-17 Joseph Myers <joseph@codesourcery.com>
2302 * include/sys/resource.h (__getrlimit64): Declare. Use
2304 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
2305 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
2306 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
2308 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
2310 [!getrlimit64] (getrlimit64): Define as weak alias of
2311 __getrlimit64. Use libc_hidden_weak.
2312 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
2313 using __getrlimit64 not __new_getrlimit64.
2314 (__GI_getrlimit64): Likewise.
2315 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
2317 (__GI_getrlimit64): Likewise.
2318 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
2319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
2320 (getrlimit): Add __getrlimit64 alias.
2321 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
2323 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
2325 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2326 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2328 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
2330 * libio/fileops.c: Add missing sys/mman.h
2331 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
2333 2015-02-17 Joseph Myers <joseph@codesourcery.com>
2335 * manual/math.texi (Errors in Math Functions): Clarify goals
2336 regarding inexact and underflow exceptions.
2338 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
2340 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
2341 * sysdeps/mips/memset.S: Ditto.
2343 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
2345 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
2347 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2349 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
2350 (__v1longjmp): Remove versioned symbol.
2351 (__v1siglongjmp): Remove alias and versioned symbol.
2352 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
2353 (__v2siglongjmp): Likewise.
2355 2015-02-16 Torvald Riegel <triegel@redhat.com>
2357 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
2359 2015-02-16 Mike Frysinger <vapier@gentoo.org>
2361 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
2363 2015-02-16 Joseph Myers <joseph@codesourcery.com>
2366 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
2367 zero result does not depend on the sign resulting from
2369 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
2371 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
2372 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
2373 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2374 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
2375 * math/libm-test.inc (remquo_test_data): Add more tests.
2377 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
2379 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
2380 Problem reported by J William Piggott.
2382 2015-02-16 Joseph Myers <joseph@codesourcery.com>
2385 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
2386 products 4 * y and 2 * y where those would overflow.
2387 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
2389 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
2390 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
2391 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2392 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
2393 * math/libm-test.inc (remquo_test_data): Add more tests.
2395 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
2397 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
2398 [defined _COMPILING_NEWLIB].
2399 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
2400 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
2402 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
2403 [!defined __mips_isa_rev || __mips_isa_rev < 6].
2405 2015-02-16 Torvald Riegel <triegel@redhat.com>
2407 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
2410 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
2413 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
2414 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
2415 HOST_STACK_END_ADDR): Likewise.
2417 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
2419 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
2420 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
2421 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
2423 2015-02-13 Roland McGrath <roland@hack.frob.com>
2425 * sysdeps/generic/c++-types.data: New file.
2426 * sysdeps/generic/ld.abilist: New file.
2427 * sysdeps/generic/libBrokenLocale.abilist: New file.
2428 * sysdeps/generic/libanl.abilist: New file.
2429 * sysdeps/generic/libc.abilist: New file.
2430 * sysdeps/generic/libcrypt.abilist: New file.
2431 * sysdeps/generic/libdl.abilist: New file.
2432 * sysdeps/generic/libm.abilist: New file.
2433 * sysdeps/generic/libpthread.abilist: New file.
2434 * sysdeps/generic/libresolv.abilist: New file.
2435 * sysdeps/generic/librt.abilist: New file.
2437 2015-02-13 Joseph Myers <joseph@codesourcery.com>
2440 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
2441 Compute absolute value of x as modified by fmod, not original
2443 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
2444 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
2445 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
2446 RUN_TEST_ffI_f1_mod8.
2447 (remquo_test_data): Add more tests.
2449 2015-02-13 Roland McGrath <roland@hack.frob.com>
2451 * sysdeps/init_array/pt-crti.S: New file.
2453 2015-02-13 Joseph Myers <joseph@codesourcery.com>
2456 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
2457 __builtin_fmaf instead of relying on contraction of a * b + c.
2459 2015-02-12 J William Piggott <elseifthen@gmx.com>
2462 * manual/time.texi: correct the zoneinfo path in the TZ Variable
2465 2015-02-12 Joseph Myers <joseph@codesourcery.com>
2468 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
2469 __builtin_fma instead of relying on contraction of a * b + c.
2471 2015-02-12 Roland McGrath <roland@hack.frob.com>
2473 * Makeconfig (ASFLAGS): Add -Werror=undef.
2474 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
2475 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
2476 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
2478 * Makeconfig (after-link): New variable.
2479 (+link-pie, +link-pie-tests): Use it.
2480 (+link-static, +link-static-tests): Likewise.
2481 (+link, +link-tests): Likewise.
2482 * Makerules (build-module, build-module-asneeded): Likewise.
2483 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
2485 * elf/Makefile ($(objpfx)ld.so): Likewise.
2487 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
2490 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
2491 both struct timeval and struct timespec.
2493 2015-02-12 Joseph Myers <joseph@codesourcery.com>
2496 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2498 (__ieee754_exp2l): Do not multiply small fractional parts by
2500 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
2502 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
2503 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2504 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
2505 * math/auto-libm-test-in: Add more tests of exp2.
2506 * math/auto-libm-test-out: Regenerated.
2508 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2510 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
2513 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2515 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
2518 2015-02-12 Andreas Schwab <schwab@suse.de>
2521 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
2522 Filter out elision flags from value returned in kind.
2523 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
2524 * nptl/tst-pthread-mutexattr.c: New file.
2526 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
2528 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
2529 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
2530 into gnu-gnu, and update comment to refer to abi-tags.
2532 2015-02-11 Joseph Myers <joseph@codesourcery.com>
2535 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
2536 (__sincos): Set errno to EDOM for infinite argument.
2537 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
2538 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
2539 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
2540 (__sincosl): Set errno to EDOM for infinite argument.
2541 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
2542 (__sincosl): Set errno to EDOM for infinite argument.
2543 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
2544 (__sincosl): Set errno to EDOM for infinite argument.
2545 * math/libm-test.inc (sincos_test_data): Test errno setting.
2547 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
2549 * string/strxfrm_l.c: Remove #define STRCMP.
2550 * string/strcoll_l.c: Remove #define STRLEN.
2551 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
2552 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
2554 2015-02-10 Joseph Myers <joseph@codesourcery.com>
2556 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
2557 * sysdeps/mips/mips32/sfp-machine.h: ... here.
2558 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
2559 * sysdeps/mips/mips64/Makefile: ... here.
2560 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
2561 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
2562 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
2563 * sysdeps/mips/mips64/sfp-machine.h: ... here.
2564 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
2565 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
2566 * sysdeps/mips/mips64/n64/Implies: Likewise.
2568 2015-02-10 Roland McGrath <roland@hack.frob.com>
2570 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
2571 <sys/time.h>, <string.h>, and <errno.h>.
2572 (dest_offset, dest_address, value, zero): Remove unused variables.
2573 (ldouble): Remove typedef.
2574 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
2575 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
2577 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
2578 (check): Function removed.
2580 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
2581 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
2582 Don't call set_sigaction_FP and remove_sigaction_FP here.
2583 (ldouble_test): Just use 'long double' as macro argument, no need for
2584 the 'ldouble' typedef.
2585 (do_test): Set up SIGFPE handler at start, using plain signal rather
2586 than sigaction. Fix code style.
2588 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
2591 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
2594 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2596 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
2597 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2599 * sysdeps/powerpc/configure.ac: Remove file.
2600 * sysdeps/powerpc/configure: Likewise.
2602 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2603 [sysdep_routines]: Remove wordcopy-power6 object.
2604 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
2605 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
2606 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
2607 (__memmove_ppc32): Likewise.
2608 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
2610 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
2611 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
2612 Remove preprocessor.
2614 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2615 [sysdep_routines]: Remove wide chars objects.
2616 [wcsmbs]: New rule for wide char objects.
2618 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2619 Remove wordcopy-power6 obejct.
2620 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
2621 Use local call for wordcopy and memcpy symbols.
2622 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
2623 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
2624 implementation for loader.
2625 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
2627 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2628 Remove wordcopy-power7 object.
2629 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
2630 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
2631 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
2632 (_wordcopy_fwd_dest_aligned): Likewise.
2633 (_wordcopy_bwd_aligned): Likewise.
2634 (_wordcopy_bwd_dest_aligned): Likewise.
2636 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
2637 Rewrite to call __memmove_ppc instead of include default
2640 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2641 Remove wide chars objects.
2642 [wcsmbs]: New rule for wide char objects.
2644 2015-02-09 Andreas Schwab <schwab@suse.de>
2647 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2648 in terms of __O_DIRECTORY.
2650 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
2652 * time/getdate.c: Include <stdbool.h>.
2653 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
2655 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
2658 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
2660 Add ersatz _Static_assert on older C hosts
2661 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
2662 pre-C11 C platform that is not known to support _Static_assert.
2664 2015-02-07 Richard Braun <rbraun@sceen.net>
2666 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
2668 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
2670 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2672 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
2673 priority against unexistent AIO_PRIO_DELTA_MAX.
2674 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
2676 * misc/fchflags.c (fchflags): Likewise.
2677 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
2678 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
2679 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
2680 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
2681 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
2683 [__USE_MISC] (chflags, fchflags): Declare functions.
2684 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
2685 EINVAL when nfds is greater than FD_SETSIZE.
2686 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
2687 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
2689 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
2690 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
2691 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
2693 * hurd/hurd/signal.h (_hurd_self_sigstate,
2694 _hurd_critical_section_lock, _hurd_critical_section_unlock):
2695 Explicit casts from void *.
2696 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
2697 * abi-tags: Rename gnu-gnu os into gnu.
2700 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
2701 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
2702 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
2703 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
2704 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
2705 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
2708 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
2709 duplicates ADDR->sun_path with sockaddr LEN limitation.
2710 * sysdeps/mach/hurd/connect.c: Include <string.h>
2711 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
2712 * sysdeps/mach/hurd/sendmsg.c: Likewise.
2713 * sysdeps/mach/hurd/sendto.c: Likewise.
2714 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
2715 implementing it by hand.
2717 2015-02-06 Roland McGrath <roland@hack.frob.com>
2719 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
2720 Use sfi_breg on ldr.
2721 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
2724 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
2726 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
2727 Test SIGSETXID only if it's defined.
2729 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
2731 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
2732 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
2734 * nptl/tst-align2.c: Moved ...
2735 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
2736 * nptl/Makefile (tests): Remove tst-align2.
2737 * sysdeps/unix/sysv/linux/Makefile
2738 [$(subdir) = nptl] (tests): Add tst-align-clone.
2739 * nptl/tst-getpid1.c: Moved ...
2740 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
2741 * nptl/tst-getpid2.c: Moved ...
2742 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
2743 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
2744 * sysdeps/unix/sysv/linux/Makefile
2745 [$(subdir) = nptl] (tests): ... here.
2746 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
2747 * sysdeps/unix/sysv/linux/Makefile
2748 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
2750 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
2751 Drop trailing \n from perror argument. Use return rather than exit.
2753 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
2755 * nptl/tst-cancel21.c (do_test): Likewise.
2756 * debug/tst-backtrace6.c: Include <signal.h> first thing.
2757 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
2758 [!SA_SIGINFO]: Make it a stub test.
2760 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
2761 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
2763 * posix/tst-getlogin.c: Move to ...
2764 * login/tst-getlogin.c: ... here.
2765 * posix/Makefile (tests): Move tst-getlogin to ...
2766 * login/Makefile (tests): ... here.
2768 * libio/tst-atime.c (do_test): Move local variables SV and E
2769 inside [ST_NOATIME] conditional.
2771 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
2773 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
2775 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
2776 (wait_code): New function replaces macro.
2777 Call nanosleep rather than syscall.
2779 * nptl/pt-system.c: Rewritten. Put everything under
2780 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2781 Use IFUNC to redirect when possible.
2783 * nptl/pt-longjmp.c: Rewritten. Put everything under
2784 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2785 Use IFUNC to redirect when possible.
2787 * nptl/pt-fork.c: Rewritten. Put everything under
2788 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2789 Use IFUNC to redirect when possible.
2790 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
2792 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
2793 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
2794 unconditionally nowadays. This included the only reference to
2795 __vdso_clock_gettime that appears outside libc proper.
2796 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
2797 Remove version set (containing only __vdso_clock_gettime).
2798 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2799 Add attribute_hidden.
2800 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2801 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
2802 libc_hidden_data_def.
2803 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2804 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2806 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
2807 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
2808 setrpcent, and getrpcport to ...
2809 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
2810 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
2811 getrpcbynumber_r, and getrpcent_r to ...
2812 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
2813 * inet/getrpcbyname.c: Moved ...
2814 * sunrpc/getrpcbyname.c: ... here.
2815 * inet/getrpcbyname_r.c: Moved ...
2816 * sunrpc/getrpcbyname_r.c: ... here.
2817 * inet/getrpcbynumber.c: Moved ...
2818 * sunrpc/getrpcbynumber.c: ... here.
2819 * inet/getrpcbynumber_r.c: Moved ...
2820 * sunrpc/getrpcbynumber_r.c: ... here.
2821 * inet/getrpcent.c: Moved ...
2822 * sunrpc/getrpcent.c: ... here.
2823 * inet/getrpcent_r.c: Moved ...
2824 * sunrpc/getrpcent_r.c: ... here.
2825 * inet/Makefile (routines): Move those to ...
2826 * sunrpc/Makefile (routines): ... here.
2827 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
2828 the $(subdirs) list.
2829 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
2830 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
2831 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
2832 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
2834 * elf/Makefile (routines): Include $(all-dl-routines), not just
2836 (rtld-routines): Likewise. Use = rather than :=.
2837 * sysdeps/aarch64/Makefile [$(subdir) = elf]
2838 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
2839 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
2840 * sysdeps/arm/Makefile: Likewise.
2841 * sysdeps/i386/Makefile: Likewise.
2842 * sysdeps/x86_64/Makefile: Likewise.
2843 * sysdeps/hppa/Makefile [$(subdir) = elf]
2844 (sysdep_routines, sysdep-rtld-routines): Don't add
2845 $(sysdep-dl-routines) to these.
2846 * sysdeps/ia64/Makefile: Likewise.
2847 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
2848 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
2849 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
2850 Don't add dl-static to these; sysdep-dl-routines alone is enough.
2851 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
2852 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
2853 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
2854 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
2855 * sysdeps/powerpc/Makefile [$(subdir) = elf]
2856 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
2857 these; sysdep-dl-routines alone is enough.
2859 2015-02-06 Joseph Myers <joseph@codesourcery.com>
2862 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
2863 where multiplication results in zero and third argument is finite
2865 * math/auto-libm-test-in: Add more tests of fma.
2866 * math/auto-libm-test-out: Regenerated.
2868 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
2869 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
2870 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
2871 (_FP_CMP_EQ): Likewise.
2872 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
2874 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
2875 extra argument CHECK_NAN. Redefine as wrapper around
2878 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
2880 * version.h (RELEASE): Set to "stable".
2881 (VERSION): Set to "2.21"
2882 * include/features.h (__GLIBC_MINOR__): Set to 21.
2884 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
2886 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2887 Paul Eggert <eggert@cs.ucla.edu>
2890 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
2891 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
2892 size in bytes. Store needed elements in wpmax. Use needed size
2893 in bytes for extend_alloca.
2895 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
2897 * manual/install.texi: Latest tested versions are GCC 4.9.2,
2898 binutls 2.25, and texinfo 5.2.
2899 * INSTALL: Regenerate.
2900 * sysdeps/nios2/configure: Regenerate.
2901 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
2902 * manual/contrib.texi: Update.
2926 * po/pt_BR.po: Update.
2935 * po/zh_CN.po: Update.
2936 * po/zh_TW.po: Update.
2938 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
2939 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
2940 * sysdeps/hppa/dl-irel.h: Remove #warning.
2941 * sysdeps/hppa/entry.h: Provide prototype for
2942 __canonicalize_funcptr_for_compare and cast argument.
2943 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
2944 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
2945 * sysdeps/hppa/sotruss-lib.c: New file.
2946 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
2947 (atomic_compare_and_exchange_val_acq): Use __typeof__.
2948 (atomic_compare_and_exchange_bool_acq): Likewise.
2949 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
2950 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
2952 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
2953 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
2954 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
2956 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
2958 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
2959 called function in non-PIC case.
2961 2015-01-31 David S. Miller <davem@davemloft.net>
2963 * sysdeps/sparc/sparc32/bits/atomic.h
2964 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
2965 unlock not after it.
2966 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
2967 volatile register usage warnings from the compiler.
2969 * sysdeps/sparc/nptl/sem_init.c: Delete.
2970 * sysdeps/sparc/nptl/sem_post.c: Delete.
2971 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
2972 * sysdeps/sparc/nptl/sem_wait.c: Delete.
2973 * sysdeps/sparc/sparc32/sem_init.c: New file.
2974 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
2975 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
2976 padding explicitly initialized.
2977 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
2978 padding for in-semaphore spinlock.
2979 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
2980 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
2981 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
2982 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
2983 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
2984 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
2985 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
2986 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
2988 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
2989 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
2991 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
2994 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2995 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
2996 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
2998 (index_AVX_Fast_Unaligned_Load): Likewise.
2999 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
3000 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
3001 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
3002 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
3003 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
3004 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
3005 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
3006 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
3007 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
3009 2015-01-29 Andreas Schwab <schwab@suse.de>
3011 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
3013 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3016 * nscd/nscd_stat.c (send_stats): Initialize DATA.
3018 2015-01-28 Martin Sebor <msebor@redhat.com>
3020 * math/README.libm-test: Clarify. Add "How to read the test output."
3022 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
3024 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
3027 2015-01-28 Joseph Myers <joseph@codesourcery.com>
3029 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
3030 (__HAVE_64B_ATOMICS): Define to 0.
3032 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3035 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
3036 value to set as new flag.
3039 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
3040 and use _ARCH_PPCSQ instead.
3041 (__ieee754_sqrt): Likewise.
3042 (__ieee754_sqrtf): Likewise.
3043 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
3044 _ARCH_PPCSQ is defined.
3045 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
3047 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
3048 _ARCH_PPCSQ is defined.
3049 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
3051 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
3053 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3055 * iconv/loop.c: Suppress array out of bound warning caused by GCC
3056 bug (GCC BZ #64739).
3058 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
3060 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
3061 Mark _retval as used.
3062 (lll_futex_wake_unlock): Likewise.
3063 (lll_futex_timed_wait_requeue_pi): Likewise.
3065 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3066 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
3069 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
3072 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
3073 (__bswap_64): Mark as __always_inline.
3075 2015-01-25 Bram <bug_rh@spam.wizbit.be>
3078 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
3079 when none of the search directories exist.
3081 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3084 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
3085 power8 in .machine directive.
3088 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
3089 set dependency from opd value.
3091 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
3093 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3094 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
3097 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
3100 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
3102 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
3104 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
3105 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
3106 Replace 1UL with (uint64_t) 1.
3107 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
3110 2015-01-23 Roland McGrath <roland@hack.frob.com>
3112 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
3113 (if_freenameindex): Likewise.
3115 * resource/getrlimit64.c: Add missing libc_hidden_def.
3117 2015-01-22 Joseph Myers <joseph@codesourcery.com>
3119 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
3121 (_FP_FMA): Likewise.
3122 (_FP_TO_INT_ROUND): Likewise.
3123 (_FP_FROM_INT): Likewise.
3125 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3128 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3129 Make code racy and cancel safe.
3131 2015-01-21 Carlos O'Donell <carlos@redhat.com>
3133 * sysdeps/arm/unwind-resume.h: Fix copyright year.
3134 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
3137 * pwd/tst-getpw.c: Rewrite.
3140 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
3141 (modules-names): Add moddummy1 and moddummy2.
3142 ($(objpfx)tst-rec-dlopen): Define.
3143 * dlfcn/moddummy1.c: New file.
3144 * dlfcn/moddummy2.c: New file.
3145 * dlfcn/tst-rec-dlopen.c: New file.
3146 * elf/dl-cache.c (_dl_load_cache_lookup):
3147 Return char*. Copy result with alloca/strcpy/strdup.
3148 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
3149 returns char*. Free cached. If not saving realname
3151 * elf/dl-open.c (dl_open_worker): Do not assert that
3152 _r_debug->r_state is RT_CONSISTENT.
3153 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
3156 2015-01-21 Torvald Riegel <triegel@redhat.com>
3157 Carlos O'Donell <carlos@redhat.com>
3160 * nptl/sem_waitcommon.c: New file.
3161 * nptl/sem_wait.c: Include sem_waitcommon.c.
3162 (__sem_wait_cleanup, do_futex_wait): Remove.
3163 (__new_sem_wait): Adapt.
3164 (__new_sem_trywait): New function.
3165 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
3166 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
3167 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
3168 (sem_timedwait): Adapt.
3169 * nptl/sem_post.c (__new_sem_post): Adapt.
3170 (futex_wake): New function.
3171 (__old_sem_post): Add release MO fence.
3172 * nptl/sem_open.c (sem_open): Adapt.
3173 * nptl/sem_init.c (__new_sem_init): Adapt.
3174 (futex_private_if_supported): New function.
3175 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
3176 (__old_sem_getvalue): Add using previous code.
3177 * sysdeps/nptl/internaltypes.h: Adapt.
3178 * nptl/tst-sem13.c (do_test): Adapt.
3179 * nptl/tst-sem11.c (main): Adapt.
3180 * nptl/sem_trywait.c: Remove.
3181 * nptl/DESIGN-sem.txt: Remove.
3182 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
3183 (gen-as-const-headers): Remove structsem.sym.
3184 * nptl/structsem.sym: Remove.
3185 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
3186 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
3187 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
3188 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
3189 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
3190 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
3191 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
3192 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
3193 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
3194 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
3195 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
3196 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
3197 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
3198 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
3199 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
3200 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
3201 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
3202 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
3203 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
3204 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
3205 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
3206 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
3208 2015-01-20 Carlos O'Donell <carlos@redhat.com>
3210 * INSTALL: Regenerated.
3212 * po/libc.pot: Regenerated.
3214 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
3215 Sandra Loosemore <sandra@codesourcery.com>
3216 Andrew Jenner <andrew@codesourcery.com>
3217 Joseph Myers <joseph@codesourcery.com>
3218 Nathan Sidwell <nathan@codesourcery.com>
3220 * NEWS: Mention new Nios II port.
3221 * sysdeps/nios2/Implies: New file.
3222 * sysdeps/nios2/Makefile: New file.
3223 * sysdeps/nios2/Subdirs: New file.
3224 * sysdeps/nios2/Versions: New file.
3225 * sysdeps/nios2/__longjmp.S: New file.
3226 * sysdeps/nios2/abort-instr.h: New file.
3227 * sysdeps/nios2/backtrace.c: New file.
3228 * sysdeps/nios2/bits/endian.h: New file.
3229 * sysdeps/nios2/bits/fenv.h: New file.
3230 * sysdeps/nios2/bits/link.h: New file.
3231 * sysdeps/nios2/bits/setjmp.h: New file.
3232 * sysdeps/nios2/bsd-_setjmp.S: New file.
3233 * sysdeps/nios2/bsd-setjmp.S: New file.
3234 * sysdeps/nios2/configure: New generated file.
3235 * sysdeps/nios2/configure.ac: New file.
3236 * sysdeps/nios2/crti.S: New file.
3237 * sysdeps/nios2/crtn.S: New file.
3238 * sysdeps/nios2/dl-init.c: New file.
3239 * sysdeps/nios2/dl-machine.h: New file.
3240 * sysdeps/nios2/dl-sysdep.h: New file.
3241 * sysdeps/nios2/dl-tls.h: New file.
3242 * sysdeps/nios2/dl-trampoline.S: New file.
3243 * sysdeps/nios2/gccframe.h: New file.
3244 * sysdeps/nios2/gmp-mparam.h: New file.
3245 * sysdeps/nios2/jmpbuf-offsets.h: New file.
3246 * sysdeps/nios2/jmpbuf-unwind.h: New file.
3247 * sysdeps/nios2/ldsodefs.h: New file.
3248 * sysdeps/nios2/libc-tls.c: New file.
3249 * sysdeps/nios2/libm-test-ulps: New file.
3250 * sysdeps/nios2/machine-gmon.h: New file.
3251 * sysdeps/nios2/math-tests.h: New file.
3252 * sysdeps/nios2/math_private.h: New file.
3253 * sysdeps/nios2/memusage.h: New file.
3254 * sysdeps/nios2/nptl/Makefile: New file.
3255 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
3256 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
3257 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
3258 * sysdeps/nios2/nptl/pthreaddef.h: New file.
3259 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
3260 * sysdeps/nios2/nptl/tls.h: New file.
3261 * sysdeps/nios2/preconfigure: New file.
3262 * sysdeps/nios2/s_fma.c: New file.
3263 * sysdeps/nios2/s_fmaf.c: New file.
3264 * sysdeps/nios2/setjmp.S: New file.
3265 * sysdeps/nios2/sfp-machine.h: New file.
3266 * sysdeps/nios2/sotruss-lib.c: New file.
3267 * sysdeps/nios2/stackguard-macros.h: New file.
3268 * sysdeps/nios2/stackinfo.h: New file.
3269 * sysdeps/nios2/start.S: New file.
3270 * sysdeps/nios2/sysdep.h: New file.
3271 * sysdeps/nios2/tls-macros.h: New file.
3272 * sysdeps/nios2/tst-audit.h: New file.
3273 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
3274 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
3275 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
3276 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
3277 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
3278 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
3279 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
3280 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
3281 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
3282 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
3283 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
3284 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
3285 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
3286 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
3287 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
3288 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
3289 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
3290 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
3291 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
3292 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
3293 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
3294 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
3295 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
3296 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
3297 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
3298 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
3299 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
3300 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
3301 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
3302 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
3303 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
3304 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
3305 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
3306 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
3307 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
3308 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
3309 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
3310 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
3311 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
3312 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
3313 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
3314 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
3315 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
3316 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
3318 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3321 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
3322 (getutent): Use weak_alias in non SHARED case
3323 and default_symbol_version in SHARED case.
3324 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
3325 (getutent_r, pututline): Likewise.
3326 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
3327 (getutid): Likewise.
3328 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
3329 (getutid_r): Likewise.
3330 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
3331 (getutline): Likewise.
3332 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
3333 (getutline_r): Likewise.
3334 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
3335 (updwtmp): Likewise.
3337 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3340 * sysdeps/s390/s390-32/memcmp.S
3341 (memcmp_g5): Rename to __memcmp_g5.
3342 * sysdeps/s390/s390-32/memcpy.S
3343 (memcpy_g5): Rename to __memcpy_g5.
3344 Jump to __memcpy_mvcle instead of memcpy_mvcle.
3345 (memcpy_mvcle) Rename to __memcpy_mvcle.
3346 * sysdeps/s390/s390-32/memset.S
3347 (memset_g5): Rename to __memset_g5.
3348 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3349 (IFUNC_RESOLVE): Prefix ifunc-resolve function
3350 and use prefixed functions.
3351 * sysdeps/s390/s390-32/multiarch/memcmp.S
3352 (memcmp_z196): Rename to __memcmp_z196.
3353 (memcmp_z10): Rename to __memcmp_z10.
3354 (memcmp): Set alias to __memcmp_g5.
3355 (bcmp): Set alias to __memcmp_g5.
3356 * sysdeps/s390/s390-32/multiarch/memcpy.S
3357 (memcpy_z196): Rename to __memcpy_z196.
3358 Jump to __memcpy_mvcle instead of memcpy_mvcle.
3359 (memcpy_z10): Rename to __memcpy_z10.
3360 Jump to __memcpy_mvcle instead of memcpy_mvcle.
3361 (memcpy): Set alias to __memcpy_g5.
3362 * sysdeps/s390/s390-32/multiarch/memset.S
3363 (memset_z196): Rename to __memset_z196.
3364 Jump to __memset_mvcle instead of memset_mvcle.
3365 (memset_z10): Rename to __memset_z10.
3366 Jump to __memset_mvcle instead of memset_mvcle.
3367 (memset_mvcle) Rename to __memset_mvcle.
3368 (memset): Set alias to __memset_g5.
3369 * sysdeps/s390/s390-64/memcmp.S
3370 (memcmp_z900): Rename to __memcmp_z900.
3371 * sysdeps/s390/s390-64/memcpy.S
3372 (memcpy_z900): Rename to __memcpy_z900.
3373 Jump to __memcpy_mvcle instead of memcpy_mvcle.
3374 (memcpy_mvcle) Rename to __memcpy_mvcle.
3375 * sysdeps/s390/s390-64/memset.S
3376 (memset_z900): Rename to __memset_z900.
3377 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
3378 (IFUNC_RESOLVE): Prefix ifunc-resolve function
3379 and use prefixed functions.
3380 * sysdeps/s390/s390-64/multiarch/memcmp.S
3381 (memcmp_z196): Rename to __memcmp_z196.
3382 (memcmp_z10): Rename to __memcmp_z10.
3383 (memcmp): Set alias to __memcmp_z900.
3384 (bcmp): Set alias to __memcmp_z900.
3385 * sysdeps/s390/s390-64/multiarch/memcpy.S
3386 (memcpy_z196): Rename to __memcpy_z196.
3387 Jump to __memcpy_mvcle instead of memcpy_mvcle.
3388 (memcpy_z10): Rename to __memcpy_z10.
3389 Jump to __memcpy_mvcle instead of memcpy_mvcle.
3390 (memcpy): Set alias to __memcpy_z900.
3391 * sysdeps/s390/s390-64/multiarch/memset.S
3392 (memset_z196): Rename to __memset_z196.
3393 Jump to __memset_mvcle instead of memset_mvcle.
3394 (memset_z10): Rename to __memset_z10.
3395 Jump to __memset_mvcle instead of memset_mvcle.
3396 (memset_mvcle) Rename to __memset_mvcle.
3397 (memset): Set alias to __memset_z900.
3399 2015-01-14 Joseph Myers <joseph@codesourcery.com>
3402 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
3403 __fesetenv instead of fesetenv.
3405 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3407 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
3410 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3412 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
3415 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
3416 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
3417 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
3418 strncmp-power8 object.
3419 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3420 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
3421 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
3424 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3425 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3427 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
3428 trailing byte check.
3430 2015-01-13 David S. Miller <davem@davemloft.net>
3432 * include/signal.h (__sigreturn): Guard with __USE_MISC.
3434 2015-01-13 Roland McGrath <roland@hack.frob.com>
3436 * login/logout.c (logout): Use memset rather than bzero.
3437 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
3438 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
3439 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
3440 (_gethtbyaddr): Likewise.
3441 * locale/programs/simple-hash.c (bcopy): Macro removed.
3443 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3445 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3446 Add strcmp-power8 object.
3447 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3448 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
3449 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
3450 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
3451 __strcmp_power8 implementation.
3452 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
3455 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3456 Add strncpy-power8 and stpncpy-power8 objects.
3457 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3458 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
3460 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
3461 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
3462 __stpncpy_power8 implementation.
3463 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
3464 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
3465 __strncpy_power8 implementation.
3466 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
3467 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
3470 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
3471 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
3472 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
3474 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
3475 strncat-power8 object.
3476 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
3477 __strcat_power8 implementation.
3478 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3479 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
3480 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
3481 optimized strcat for power8.
3483 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
3484 strcpy-power8 and stpcpy-power8 objects.
3485 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3486 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
3488 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
3489 multiarch stpcpy implementation for POWER8.
3490 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
3491 multiarch strcpy implementation for POWER8.
3492 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
3493 __strcpy_power8 function.
3494 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
3496 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
3500 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
3503 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
3504 weights and rules. Use do_xfrm_cached if data fits in cache,
3505 do_xfrm otherwise. Moved former main loop to...
3506 * (do_xfrm_cached): New function.
3507 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
3508 find_idx, find_position and stack_push.
3509 * (find_idx): New function.
3510 * (find_position): Likewise.
3511 * localedata/sort-test.sh: Added test run for do_xfrm.
3512 * localedata/xfrm-test.c (main): Added command line option
3513 -nocache to run the test with strings that are too large for
3516 2015-01-13 Torvald Riegel <triegel@redhat.com>
3518 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
3519 variable to lll_futex_wake call, not the value itself.
3521 2015-01-12 Joseph Myers <joseph@codesourcery.com>
3524 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
3525 twom64. Adjust value to 0x1p-64L.
3526 (__scalblnl): Only return standard underflowing result for K <=
3527 -64 not K <= -63; adjust exponent for underflowing result by 64
3529 * math/libm-test.inc (scalbn_test_data): Add more tests.
3530 (scalbln_test_data): Likewise.
3533 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
3535 (__scalblnl): Get new exponent of adjusted subnormal value from ES
3537 * math/libm-test.inc (scalbn_test_data): Add more tests.
3538 (scalbln_test_data): Likewise.
3540 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3541 Stefani Seibold <stefani@seibold.net>
3543 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
3544 (sysdep_routines): Add dl-vdso here, ...
3545 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
3546 (sysdep_routines): ... not here.
3547 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
3548 fallback when vDSO is not presented.
3549 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
3550 Define with libc_hidden_proto/libc_hidden_data_def definitions.
3551 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
3552 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
3553 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
3554 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
3555 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
3556 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
3557 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
3558 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
3559 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
3560 fallback configurable symbol when vDSO is not available.
3561 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
3562 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
3563 be able to redefine fallback symbol when vDSO is not available.
3564 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
3565 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
3567 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3569 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
3570 (TLS_INIT_TP): Add tm_capable initialization.
3571 (TLS_DEFINE_INIT_TP): Likewise.
3572 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
3574 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
3575 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
3577 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
3578 transactoion is lock elision is built and TCB tm_capable is set.
3579 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
3580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3581 (INTERNAL_SYSCALL_NCS): Likewise.
3582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3583 (INTERNAL_SYSCALL_NCS): Likewise.
3584 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
3586 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
3588 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3589 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
3590 and remove it for 32 bits case.
3591 [pthread_rwlock_t] (__rwelision): New field for lock elision.
3592 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
3594 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
3595 Disable lock elision with rdlocks if elision is not available.
3597 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
3598 (sysdep_routines): Add lock elision objects.
3599 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3600 [pthread_mutex_t] (__spins): Rework to add lock elision field.
3601 [pthread_mutex_t] (__elision): Add field.
3602 [__PTHREAD_SPINS]: Adjust to init lock elision field.
3603 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
3604 elision definitions for powerpc.
3605 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
3606 implementation of lock elision for powerpc.
3607 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
3608 implementation of timed lock elision for powerpc.
3609 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
3610 implementation of trylock with lock elision for powerpc.
3611 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
3612 implementaion of unlock for lock elision for powerpc.
3613 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
3614 automatic enable lock elision for mutexes.
3615 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
3616 transaction execution definitions for powerpc.
3617 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
3619 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
3620 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
3621 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
3622 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
3625 2015-01-09 Roland McGrath <roland@hack.frob.com>
3627 * sysdeps/posix/shm-directory.c: Use <> rather than ""
3628 for #include of <shm-directory.h>.
3630 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
3632 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
3633 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
3635 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
3638 * NEWS: Mention bug fix.
3639 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
3640 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
3641 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
3643 2015-01-09 Torvald Riegel <triegel@redhat.com>
3645 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
3647 2015-01-09 Torvald Riegel <triegel@redhat.com>
3649 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
3651 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
3653 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
3654 pointer and cast to uintptr_t.
3656 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
3658 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
3660 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
3662 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
3664 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
3667 2015-01-08 Roland McGrath <roland@hack.frob.com>
3669 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
3670 <nptl/pthreadP.h> instead.
3671 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
3673 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
3675 [__SIGRTMIN] (init): Function removed.
3676 [__SIGRTMIN] (initialized): Variable removed.
3677 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
3678 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
3679 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
3680 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
3681 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
3682 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
3683 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
3684 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
3685 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
3686 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
3687 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
3688 * sysdeps/nptl/allocrtsig.c: New file.
3689 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
3690 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
3691 * sysdeps/generic/testrtsig.h: File removed.
3693 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
3694 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
3696 * nptl/nptl-init.c (pthread_functions): Conditionalize
3697 .ptr__nptl_setxid initialization on [SIGSETXID].
3699 * sysdeps/nptl/sys/procfs.h: New file.
3700 * nptl_db/Makefile (headers): Add it.
3701 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
3703 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
3704 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
3705 * nptl/pthread_attr_setaffinity.c: Include it.
3706 * nptl/pthread_setattr_default_np.c: Likewise.
3707 * nptl/check-cpuset.h: New file.
3709 2015-01-08 Richard Henderson <rth@redhat.com>
3711 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
3712 (CFLAGS-tst-execstack-prog.c): Likewise.
3713 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
3715 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
3716 Sandra Loosemore <sandra@codesourcery.com>
3717 Andrew Jenner <andrew@codesourcery.com>
3718 Joseph Myers <joseph@codesourcery.com>
3719 Nathan Sidwell <nathan@codesourcery.com>
3721 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
3722 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
3723 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
3724 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
3725 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
3726 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
3727 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
3728 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
3729 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
3730 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
3731 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
3732 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
3733 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
3734 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
3735 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
3736 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
3737 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
3739 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3741 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
3742 timespec struct member in syscall macro.
3743 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
3744 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
3745 first timeval struct member in syscall macro.
3746 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
3748 2015-01-07 Joseph Myers <joseph@codesourcery.com>
3751 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
3752 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
3753 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
3754 __feupdateenv and define as weak alias of __feupdateenv. Use
3756 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
3758 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
3759 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
3760 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
3761 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
3763 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
3764 __feupdateenv and define as weak alias of __feupdateenv. Use
3766 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
3768 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
3769 __feupdateenv and define as weak alias of __feupdateenv. Use
3771 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
3773 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3774 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
3775 (__feupdateenv): Likewise.
3776 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
3777 __feupdateenv and define as weak alias of __feupdateenv. Use
3779 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3780 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
3782 * sysdeps/tile/math_private.h (__feupdateenv): New inline
3784 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
3786 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
3787 __feupdateenv instead of feupdateenv.
3788 (default_libc_feupdateenv_test): Likewise.
3789 (libc_feresetround_ctx): Likewise.
3791 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3793 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
3796 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
3798 * posix/regcomp.c (parse_bracket_exp): Initialize type to
3799 COLL_SYM in a couple of places to avoid uninitialized variable
3800 wanings on tilegx gcc 4.8.2.
3802 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
3804 * sysdeps/aarch64/strcpy.S: New file.
3805 * sysdeps/aarch64/stpcpy.S: New file.
3808 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
3810 * sysdeps/aarch64/strrchr.S: New file.
3813 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
3816 * stdlib/setenv.c: Fix memory leak when setting large,
3819 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
3822 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
3823 and tabs from buffer before parsing fstab entry.
3824 * misc/tst-mntent.c (main): Add test for mount entry with
3825 trailing spaces and tabs.
3827 2015-01-06 Joseph Myers <joseph@codesourcery.com>
3830 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
3831 * math/fesetround.c (fesetround): Rename to __fesetround and
3832 define as weak alias of __fesetround. Use libm_hidden_weak.
3833 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
3834 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
3835 * sysdeps/arm/fesetround.c (fesetround): Likewise.
3836 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
3837 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
3838 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
3839 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
3840 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
3841 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
3842 __fesetround_inline.
3843 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
3844 __fesetround_inline instead of __fesetround.
3845 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
3846 __fesetround and define as weak alias of __fesetround. Use
3847 libm_hidden_weak. Call __fesetround_inline instead of
3849 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
3850 __fesetround and define as weak alias of __fesetround. Use
3852 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
3854 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
3855 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3856 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
3857 * sysdeps/tile/math_private.h (__fesetround): New inline function.
3858 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
3859 __fesetround and define as weak alias of __fesetround. Use
3861 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
3862 __fesetround instead of fesetround.
3863 (default_libc_feholdexcept_setround): Likewise.
3864 (libc_feholdsetround_ctx): Likewise.
3865 (libc_feholdsetround_noex_ctx): Likewise.
3868 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
3869 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
3870 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
3871 and define as weak alias of __fesetenv. Use libm_hidden_weak.
3872 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3873 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
3874 define as weak alias of __fesetenv. Use libm_hidden_weak.
3875 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
3876 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3877 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3878 define as weak alias of __fesetenv. Use libm_hidden_weak.
3879 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3880 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3881 define as weak alias of __fesetenv. Use libm_hidden_weak.
3882 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
3884 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
3885 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
3887 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3888 define as weak alias of __fesetenv. Use libm_hidden_weak.
3889 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3890 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3891 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
3892 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
3893 and define as weak alias of __fesetenv. Use libm_hidden_weak.
3894 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
3895 __fesetenv instead of fesetenv.
3896 (libc_feresetround_noex_ctx): Likewise.
3897 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3898 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
3899 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
3900 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3901 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3902 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3903 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3904 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
3905 (__feupdateenv): Likewise.
3906 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3907 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3908 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3909 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
3911 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
3914 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
3915 addresses have been freed.
3917 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
3919 * resolv/res_init.c (__res_vinit): Improve comments about nserv
3922 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
3924 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
3925 Clean up check_pf allocation pattern. addresses
3927 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3929 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
3930 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
3931 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
3932 * nptl/pthread_exit.c (__pthread_exit): Likewise.
3933 * nptl/pthread_join.c (pthread_join): Likewise.
3934 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
3935 * sysdeps/posix/waitid.c (__waitid): Likewise.
3936 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3937 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3938 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3939 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3940 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3942 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3943 (__libc_pread64): Likewise.
3944 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3945 (__libc_pwrite): Likewise.
3946 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3947 (__libc_pwrite64): Likewsie.
3948 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3949 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3950 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3951 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3952 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3953 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3954 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3958 (__libc_pread64): Likewise.
3959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
3961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3962 (__libc_pwrite64): Likewise.
3963 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3964 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3965 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
3966 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
3967 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3968 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3969 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
3970 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3971 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3972 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3973 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
3974 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3975 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3976 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
3977 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3978 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3981 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
3983 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
3984 (CFLAGS-test-double.c): Likewise.
3985 (CFLAGS-test-ldouble.c): Likewise.
3986 (CPPFLAGS-test-ifloat.c): Likewise.
3987 (CPPFLAGS-test-idouble.c): Likewise.
3988 (CPPFLAGS-test-ildoubl.c): Likewise.
3989 (CFLAGS-test-test-fenv.c): Remove variable.
3990 (CFLAGS-test-misc.c): Likewise.
3992 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
3995 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
3996 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
3997 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
3998 CLOCKS_PER_SEC == 1000000.
3999 * time/clocktest.c (main): Replace %ld with %jd and cast to
4002 2015-01-05 Roland McGrath <roland@hack.frob.com>
4004 * sysdeps/generic/unwind-resume.h: New file.
4005 * sysdeps/gnu/unwind-resume.c: Include it.
4006 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
4007 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
4009 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
4010 global rather than static.
4011 (_Unwind_Resume): Update user.
4012 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
4013 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
4014 rather than static. Add __attribute__ ((cold)).
4015 (_Unwind_Resume, __gcc_personality_v0): Update callers.
4016 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
4017 * sysdeps/arm/arm-unwind-resume.S: New file.
4018 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
4019 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
4020 * sysdeps/arm/Makefile [$(subdir) = csu]
4021 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
4022 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4023 Add rt-arm-unwind-resume.
4025 (libpthread-sysdep_routines, libpthread-shared-only-routines):
4026 Add pt-arm-unwind-resume.
4027 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
4028 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
4030 2015-01-05 Joseph Myers <joseph@codesourcery.com>
4033 * include/fenv.h (__feholdexcept): Declare. Use
4035 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
4036 define as weak alias of __feholdexcept. Use libm_hidden_weak.
4037 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4038 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
4039 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
4040 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
4041 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
4042 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4043 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
4044 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
4045 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4046 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
4047 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
4048 (feholdexcept): Likewise.
4049 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4050 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4051 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4052 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4053 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
4054 __feholdexcept instead of feholdexcept.
4055 (default_libc_feholdexcept_setround): Likewise.
4057 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
4059 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
4060 to avoid using stl/str to align destination.
4062 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
4064 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
4066 2015-01-05 Joseph Myers <joseph@codesourcery.com>
4069 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
4070 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
4071 Define as weak alias not strong alias.
4073 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
4075 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
4076 bltzal with addiupc.
4077 (RTLD_START): Ditto.
4079 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
4081 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
4082 for __vdso_* functions in declarations.
4083 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
4085 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
4086 INTERNAL_VSYSCALL): Use struct return types to check for error.
4088 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
4089 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
4090 function with cast from llround().
4091 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
4092 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
4095 2015-01-05 Joseph Myers <joseph@codesourcery.com>
4098 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
4099 Define as weak alias not strong alias.
4102 * ctype/ctype-c99.c: New file. isblank implementation moved from
4104 * ctype/ctype-extn.c: ... here.
4105 (__isblank_l): Move to ...
4106 * ctype/ctype-c99_l.c: ... here. New file.
4107 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
4108 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
4110 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4111 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4112 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4113 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4114 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4117 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
4118 (posix_fadvise64): Define as weak alias not strong alias.
4119 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4120 (posix_fallocate64): Likewise.
4121 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
4123 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4124 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4125 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4126 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4127 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4129 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
4132 * NEWS: Mention bug fix.
4133 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
4134 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
4135 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
4136 (HOST_STACK_END_ADDR): Likewise.
4138 2015-01-02 Joseph Myers <joseph@codesourcery.com>
4141 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
4142 * math/fegetround.c (fegetround): Rename to __fegetround and
4143 define as weak alias of __fegetround. Use libm_hidden_weak.
4144 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
4145 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
4146 * sysdeps/arm/fegetround.c (fegetround): Likewise.
4147 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
4148 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
4149 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
4150 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
4151 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
4152 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
4153 Undefine after rather than before function definition; use
4154 parentheses around function name in definition.
4155 (__fegetround): Also undefine macro after function definition.
4156 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
4157 __fegetround and define as weak alias of __fegetround. Use
4158 libm_hidden_weak. Do not undefine as macro.
4159 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
4161 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
4162 __fegetround and define as weak alias of __fegetround. Use
4164 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4165 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
4166 * sysdeps/tile/math_private.h (__fegetround): New inline function.
4167 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
4168 __fegetround and define as weak alias of __fegetround. Use
4170 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
4171 __fegetround instead of fegetround.
4174 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
4175 Condition macro definition on [__USE_MISC].
4178 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
4179 (struct sigaction): Change type of sa_flags field to int.
4182 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
4183 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
4186 * nptl/version.c (banner): Use single year in copyright notice.
4188 * NEWS: Update copyright dates.
4189 * catgets/gencat.c (print_version): Likewise.
4190 * csu/version.c (banner): Likewise.
4191 * debug/catchsegv.sh: Likewise.
4192 * debug/pcprofiledump.c (print_version): Likewise.
4193 * debug/xtrace.sh (do_version): Likewise.
4194 * elf/ldconfig.c (print_version): Likewise.
4195 * elf/ldd.bash.in: Likewise.
4196 * elf/pldd.c (print_version): Likewise.
4197 * elf/sotruss.sh: Likewise.
4198 * elf/sprof.c (print_version): Likewise.
4199 * iconv/iconv_prog.c (print_version): Likewise.
4200 * iconv/iconvconfig.c (print_version): Likewise.
4201 * locale/programs/locale.c (print_version): Likewise.
4202 * locale/programs/localedef.c (print_version): Likewise.
4203 * login/programs/pt_chown.c (print_version): Likewise.
4204 * malloc/memusage.sh (do_version): Likewise.
4205 * malloc/memusagestat.c (print_version): Likewise.
4206 * malloc/mtrace.pl: Likewise.
4207 * manual/libc.texinfo: Likewise.
4208 * nptl/version.c (banner): Likewise.
4209 * nscd/nscd.c (print_version): Likewise.
4210 * nss/getent.c (print_version): Likewise.
4211 * nss/makedb.c (print_version): Likewise.
4212 * posix/getconf.c (main): Likewise.
4213 * scripts/test-installation.pl: Likewise.
4214 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4216 2015-01-02 Will Newton <will.newton@linaro.org>
4218 * sysdeps/arm/armv7/configure: Removed.
4219 * sysdeps/arm/armv7/configure.ac: Likewise.
4221 2015-01-02 Joseph Myers <joseph@codesourcery.com>
4223 * All files with FSF copyright notices: Update copyright dates
4224 using scripts/update-copyrights.
4225 * intl/plural.c: Regenerated.
4226 * locale/programs/charmap-kw.h: Likewise.
4227 * locale/programs/locfile-kw.h: Likewise.
4229 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4231 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
4233 2014-12-31 Joseph Myers <joseph@codesourcery.com>
4236 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
4237 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
4238 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
4239 and define as weak alias of __fegetenv. Use libm_hidden_weak.
4240 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4241 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
4242 define as weak alias of __fegetenv. Use libm_hidden_weak.
4243 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
4244 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4245 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
4246 define as weak alias of __fegetenv. Use libm_hidden_weak.
4247 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4248 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
4249 define as weak alias of __fegetenv. Use libm_hidden_weak.
4250 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
4252 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
4253 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
4255 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
4256 define as weak alias of __fegetenv. Use libm_hidden_weak.
4257 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4258 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4259 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
4260 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
4261 and define as weak alias of __fegetenv. Use libm_hidden_weak.
4262 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
4263 __fegetenv instead of fegetenv.
4264 (libc_feholdsetround_noex_ctx): Likewise.
4266 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
4268 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
4269 (Elf_MIPS_ABIFlags_v0): New structure.
4270 (EF_MIPS_FP64): Define.
4271 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
4272 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
4273 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
4274 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
4275 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
4276 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
4277 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
4278 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
4279 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
4280 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
4281 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
4282 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
4283 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
4284 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
4285 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
4286 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
4287 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
4288 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
4289 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
4290 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
4291 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
4292 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
4294 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
4296 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
4297 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
4298 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
4299 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
4300 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
4301 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
4302 * sysdeps/mips/tst-abi-interlink.c: Likewise.
4303 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
4304 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
4305 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
4306 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
4307 record the current FP ABI extension.
4308 (mips-mode-switch): Define to show if kernel headers support mode
4310 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4311 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
4312 supported SYSV ABI version to 3.
4313 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
4316 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4317 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4319 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
4321 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
4323 2014-12-31 Joseph Myers <joseph@codesourcery.com>
4325 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
4326 __fegetround and redefine to call __fegetround. Remove condition
4327 on [!__NO_MATH_INLINES].
4328 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
4330 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
4331 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4333 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
4334 instead of <fenv_libc.h>.
4335 (__llrintl): Call fegetround instead of __fegetround.
4336 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
4337 instead of <fenv_libc.h>.
4338 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4339 (__lrintl): Call fegetround instead of __fegetround.
4340 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
4341 instead of <fenv_libc.h>.
4342 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4343 (__rintl): Call fegetround instead of __fegetround.
4345 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4347 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
4350 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
4353 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
4354 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
4355 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
4357 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
4359 * sysdeps/i386/tls-macros.h: Include <features.h>.
4360 (TLS_LE): Use non-PIC version for GCC >= 5.0.
4364 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
4365 define for GCC >= 5.0.
4367 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
4369 * math/test-fenv.c (test_single_exception, set_single_exc,
4370 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
4371 feexcp_mask_test, feenable_test, fe_single_test): Add
4372 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
4373 case where they are not used.
4374 * math/libm-test.inc: Likewise.
4375 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
4376 unused in the absence of FP rounding/exception support.
4377 * stdio-common/tst-printf-round.c: Likewise.
4378 * stdlib/tst-strtod-round.c: Likewise.
4379 * stdlib/tst-strtod-underflow.c: Likewise.
4381 2014-12-30 Joseph Myers <joseph@codesourcery.com>
4384 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
4385 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
4386 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4387 __feraiseexcept and define as weak alias of __feraiseexcept. Use
4389 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
4390 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
4391 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
4393 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4394 __feraiseexcept and define as weak alias of __feraiseexcept. Use
4396 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
4398 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
4399 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4400 __feraiseexcept and define as weak alias of __feraiseexcept. Use
4402 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
4404 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4405 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
4406 (__feraiseexcept): Likewise.
4407 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4408 __feraiseexcept and define as weak alias of __feraiseexcept. Use
4410 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
4411 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
4413 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
4414 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
4415 Use libm_hidden_def.
4416 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
4418 (feraiseexcept): Define as weak not strong alias. Use
4420 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
4421 New inline function. Factored out of ...
4422 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
4423 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
4424 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
4426 * math/w_acos.c (__acos): Likewise.
4427 * math/w_asin.c (__asin): Likewise.
4428 * math/w_ilogb.c (__ilogb): Likewise.
4429 * math/w_j0.c (y0): Likewise.
4430 * math/w_j1.c (y1): Likewise.
4431 * math/w_jn.c (yn): Likewise.
4432 * math/w_log.c (__log): Likewise.
4433 * math/w_log10.c (__log10): Likewise.
4434 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
4435 * sysdeps/aarch64/fpu/math_private.h
4436 (libc_feupdateenv_test_aarch64): Likewise.
4437 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
4438 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
4439 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
4440 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
4441 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
4442 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
4443 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
4444 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
4445 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4446 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4448 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
4451 * io/test-utime.c (main): Replace %ld with %jd and cast to
4453 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
4454 * nptl/tst-mutex5.c: Include <stdint.h>.
4455 (do_test): Replace %ld with %jd and cast to intmax_t.
4456 * posix/tst-regex.c (run_test): Likewise.
4457 (run_test_backwards): Likewise.
4458 * rt/tst-clock.c: Include <stdint.h>.
4459 (clock_test): Replace %ld with %jd and cast to intmax_t.
4460 * rt/tst-cpuclock1.c: Include <stdint.h>.
4461 (do_test): Replace %lu with %ju and cast to uintmax_t.
4462 * rt/tst-cpuclock2.c: Include <stdint.h>.
4463 (do_test): Replace %lu with %ju and cast to uintmax_t.
4464 * rt/tst-mqueue1.c: Include <stdint.h>.
4465 (check_attrs): Replace %ld with %jd and cast to intmax_t.
4466 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
4468 * rt/tst-mqueue4.c (do_test): Likewise.
4469 * rt/tst-timer4.c: Include <stdint.h>.
4470 (check_ts): Replace %ld with %jd and cast to intmax_t.
4471 (do_test): Likewise.
4472 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
4473 and cast to intmax_t.
4474 * sysdeps/pthread/tst-timer.c (main): Likewise.
4475 * time/clocktest.c (main): Likewise.
4476 * time/tst-posixtz.c (do_test): Likewise.
4477 * timezone/tst-timezone.c (main): Likewise.
4479 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
4480 H.J. Lu <hongjiu.lu@intel.com>
4482 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
4483 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
4484 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
4485 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
4486 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
4487 version if bit_Fast_Unaligned_Load is set.
4488 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4489 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4490 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4491 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4492 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4493 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4494 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4495 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
4496 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
4497 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
4499 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
4500 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
4501 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
4502 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
4504 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
4506 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
4507 instead of #if to avoid a Wundef warning.
4508 * stdlib/tst-limits.c (do_test): Likewise.
4510 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
4511 parallel other exception macros.
4512 (fegetenv): Convert from macro to extern inline so that it applies
4513 retroactively to inline functions already seen by the compiler.
4514 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
4516 * posix/Makefile (before-compile): Use $(objpfx) for
4517 posix-conf-vars-def.h.
4519 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4521 * posix/getconf.c (main): Use size_t for type of I.
4522 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
4525 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
4526 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
4527 * posix/posix-envs.def: Likewise.
4528 * sysdeps/posix/sysconf.c: Likewise.
4529 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
4530 (specs): Remove array.
4531 * scripts/gen-posix-conf-vars.awk: Support generation of specs
4534 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
4535 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
4536 (__sysconf): Use CONF_IS_* macros.
4538 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
4539 ($(objpfx)posix-conf-vars-def.h): New target.
4540 * posix/posix-conf-vars.list: New file.
4541 * posix/posix-conf-vars.h: New file.
4542 * posix/confstr.c: Include posix-conf-vars.h.
4543 (confstr): Use CONF_IS_* macros.
4544 * posix/posix-envs.def: Include posix-conf-vars.h. Use
4546 * scripts/gen-posix-conf-vars.awk: New file.
4548 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
4550 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
4551 fegetround): Add no-op macros to avoid linknamespace issues.
4553 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
4554 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
4556 * sysdeps/unix/sysv/linux/tile/sysdep.h
4557 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
4558 assembly-specific section to avoid a redefinition warning.
4560 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
4561 long before casting to pointer to avoid a cast warning.
4563 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
4565 * sysdeps/tile/tilegx/Implies: New file.
4567 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
4569 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
4571 2014-12-23 Florian Weimer <fweimer@redhat.com>
4573 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
4575 2014-12-22 Joseph Myers <joseph@codesourcery.com>
4577 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
4579 * sysdeps/unix/sysv/linux/utimes.c: Do not include
4580 <kernel-features.h>.
4581 (__utimes) [__NR_utimes]: Make code unconditional.
4582 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
4583 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4584 (__ASSUME_UTIMES): Do not undefine.
4585 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4586 (__ASSUME_UTIMES): Likewise.
4587 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4588 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
4589 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
4590 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
4592 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
4594 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
4596 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
4599 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
4600 alias to weak alias for j0l, y0l.
4601 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
4602 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
4605 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
4608 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
4610 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
4611 to zero if not already defined.
4613 2014-12-22 Joseph Myers <joseph@codesourcery.com>
4616 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
4617 (__kernel_standard_f): Remove. Moved to k_standardf.c.
4618 (__kernel_standard_l): Remove. Moved to k_standardl.c with
4619 (char *) casts added.
4620 * sysdeps/ieee754/k_standardf.c: New file.
4621 * sysdeps/ieee754/k_standardl.c: Likewise.
4622 * math/Makefile (libm-support): Remove k_standard.
4623 (libm-calls): Add k_standard.
4625 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
4627 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4628 Optimize to avoid an unnecessary FPCR read.
4630 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
4632 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
4633 Optimize to reduce FPCR/FPSR accesses.
4635 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
4637 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
4638 Call libc_fetestexcept_aarch64.
4640 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
4642 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
4643 Call libc_fesetround_aarch64.
4645 2014-12-22 Joseph Myers <joseph@codesourcery.com>
4648 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
4649 (__bind): Do not define as weak alias.
4650 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
4652 (__getsockname): Do not define as weak alias.
4654 2014-12-22 Will Newton <will.newton@linaro.org>
4656 * manual/install.texi: Document that we require bison 2.7
4658 * INSTALL: Regenerate.
4659 * configure.ac: Use AC_CHECK_PROG_VER instead of
4660 AC_PATH_PROG when checking for bison and check for
4661 version 2.7 or above.
4662 * configure: Regenerate.
4664 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
4667 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
4668 * sysdeps/tile/ffsll.c (ffsll): To here.
4670 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
4672 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
4674 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
4676 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
4678 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
4679 hidden ___tls_get_addr.
4680 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
4681 hidden __tls_get_addr.
4682 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
4683 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
4686 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
4688 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
4691 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
4693 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
4694 from "call _dl_init@PLT".
4695 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
4697 2014-12-21 Anders Kaseorg <andersk@mit.edu>
4699 * manual/search.texi: (Array Sort Function): Clarify stable sorting
4702 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
4704 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
4706 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
4709 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
4712 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
4714 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
4716 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
4717 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
4718 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
4719 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
4720 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
4722 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
4724 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
4725 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
4726 (PTR_SUBU): Use subu for mips32r6/mips64r6.
4727 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
4728 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
4730 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
4732 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
4734 * string/strncat.c (STRNCAT): Simplify implementation.
4736 2014-12-19 David S. Miller <davem@davemloft.net>
4738 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
4739 access the quad as both a long double and as a series of 4 words.
4741 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
4742 link_map->l_info array access.
4744 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
4746 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
4748 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
4749 * math/atest-exp2.c (TIMEOUT): Likewise.
4750 * math/atest-sincos.c (TIMEOUT): Likewise.
4752 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
4754 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
4755 -Wno-error with -fno-builtin-lround.
4757 2014-12-19 Torvald Riegel <triegel@redhat.com>
4759 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
4760 Contains futex constants and functions moved over from ...
4761 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
4762 <lowlevellock-futex.h>.
4763 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
4764 (lll_timedwait_tid): Add comments and parentheses around macro
4767 2014-12-19 Torvald Riegel <triegel@redhat.com>
4769 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
4770 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
4771 (__lll_private_flag): Remove.
4772 (lll_futex_wait): Likewise.
4773 (lll_futex_timed_wait): Likewise.
4774 (lll_futex_wake): Likewise.
4775 (lll_futex_requeue): Likewise.
4776 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
4777 (__lll_timedwait_tid): Spell out argument names.
4778 (lll_timedwait_tid): Add comments and parentheses around macro
4780 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
4781 LLL_SHARED and LLL_PRIVATE usable from assembly code.
4783 2014-12-19 Torvald Riegel <triegel@redhat.com>
4785 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
4786 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4787 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4788 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
4789 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
4790 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
4791 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
4792 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
4793 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
4794 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
4795 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
4796 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
4797 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
4798 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
4799 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
4800 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
4801 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
4802 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
4803 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
4805 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
4807 * sysdeps/x86_64/x32/Makefile: New file.
4809 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
4811 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
4812 1L with (mp_limb_t) 1.
4814 2014-12-17 Roland McGrath <roland@hack.frob.com>
4816 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
4817 * nptl/libc_pthread_init.c: ... here.
4818 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
4819 * nptl/register-atfork.c: ... here.
4821 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
4822 Use pthread_sigmask rather than INTERNAL_SYSCALL.
4823 Use assert_perror to check its return value.
4824 (__gai_create_helper_thread): Likewise.
4826 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
4828 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
4830 2014-12-17 Joseph Myers <joseph@codesourcery.com>
4833 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
4835 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
4837 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
4839 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
4841 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
4842 (profil_counter): Likewise.
4843 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
4844 (profil_counter): Likewise.
4845 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
4847 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
4849 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
4850 (profil_counter): Likewise.
4851 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
4853 [!__profil_counter] (profil_counter): Define as weak alias of
4855 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
4856 (profil_counter): Rename to __profil_counter.
4857 [!__profil_counter] (profil_counter): Define as weak alias of
4859 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
4860 (profil_counter): Rename to __profil_counter.
4861 [!__profil_counter] (profil_counter): Define as weak alias of
4863 * sysdeps/posix/profil.c: Update comment referring to
4865 (__profil): Use __profil_counter instead of profil_counter.
4866 * sysdeps/posix/sprofil.c (profil_counter): Rename to
4867 __profil_counter. Use __profil_counter_ushort and
4868 __profil_counter_uint in definitions.
4869 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
4870 instead of profil_counter_uint and profil_counter_ushort.
4873 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
4874 define as weak alias of __inet_makeaddr.
4875 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
4876 as weak alias of __inet_addr.
4877 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
4878 as weak alias of __inet_pton. Use libc_hidden_weak.
4879 * include/arpa/inet.h (__inet_pton): Declare. Use
4881 (inet_makeaddr): Don't use libc_hidden_proto.
4882 (__inet_makeaddr): Declare. Use libc_hidden_proto.
4883 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
4884 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
4885 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
4887 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4888 (test-xfail-POSIX/time.h/linknamespace): Likewise.
4890 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
4892 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
4894 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4896 * stdio-common/bug-vfprintf-nargs.c (do_test):
4897 Cast value to intptr_t to avoid format warning
4898 for usage with PRIdPTR printing macro.
4900 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4902 * libio/tst-widetext.c (do_test):
4903 Use format type %td instead of %Zd for ptrdiff_t
4904 in order to avoid format warning.
4906 2014-12-17 Andreas Schwab <schwab@suse.de>
4908 * nscd/mem.c (gc): Add size_t cast to match printf format.
4910 2014-12-16 Roland McGrath <roland@hack.frob.com>
4912 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
4913 (init): Apply PTR_MANGLE to pointers before storing them.
4914 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
4917 2014-12-16 Joseph Myers <joseph@codesourcery.com>
4920 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
4921 define as weak alias of __memrchr.
4922 (__memrchr): Do not define as strong alias of memrchr.
4923 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
4925 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4926 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4927 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4930 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
4931 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
4932 (if_indextoname): Rename to __if_indextoname and define as weak
4933 alias of __if_indextoname. Use libc_hidden_weak.
4934 (if_freenameindex): Rename to __if_freenameindex and define as
4935 weak alias of __if_freenameindex.
4936 (if_nameindex): Rename to __if_nameindex and define as weak alias
4938 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
4939 __if_nametoindex and define as weak alias of __if_nametoindex.
4940 Use libc_hidden_weak.
4941 (if_freenameindex): Rename to __if_freenameindex and define as
4942 weak alias of __if_freenameindex.
4943 (if_nameindex): Rename to __if_nameindex and define as weak alias
4945 (if_indextoname): Rename to __if_indextoname and define as weak
4946 alias of __if_indextoname. Use libc_hidden_weak.
4947 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
4948 __if_nametoindex and define as weak alias of __if_nametoindex.
4949 Use libc_hidden_weak.
4950 (if_freenameindex): Rename to __if_freenameindex and define as
4951 weak alias of __if_freenameindex. Use libc_hidden_weak.
4952 (if_nameindex_netlink): Use __if_freenameindex instead of
4954 (if_nameindex): Rename to __if_nameindex and define as weak alias
4955 of __if_nameindex. Use libc_hidden_weak.
4956 (if_indextoname): Rename to __if_indextoname and define as weak
4957 alias of __if_indextoname. Use libc_hidden_weak.
4958 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
4960 [!_ISOMAC] (__if_freenameindex): Likewise.
4961 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
4963 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
4965 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4966 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4967 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4968 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4969 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4970 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4971 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4973 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
4975 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4976 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4978 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4980 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
4981 subscript above bounds'
4983 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
4986 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
4988 * libio/tst-fopenloc.c: Use test-skeleton.c.
4990 * stdlib/tst-bsearch.c: Use test-skeleton.c.
4991 (entry): Rename to ITEM.
4992 (do_test, comp): Adjust.
4994 * stdio-common/tst-fseek.c: Use test-skeleton.c.
4996 2014-12-16 Torvald Riegel <triegel@redhat.com>
4998 * string/tester.c: Include <libc-internal.h>.
4999 (test_memset): Ignore -Wmemset-transposed-args.
5001 2014-12-16 Torvald Riegel <triegel@redhat.com>
5003 * misc/tst-mntent2.c (do_test): Fix warning.
5005 2014-12-16 Torvald Riegel <triegel@redhat.com>
5007 * elf/tst-unique4lib.cc(a): Mark as used.
5009 2014-12-16 Florian Weimer <fweimer@redhat.com>
5012 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
5015 2014-12-16 Allan McRae <allan@archlinux.org>
5017 * stdio-common/Makefile (tests): Re-add bug26.
5019 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
5022 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
5025 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
5027 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
5028 (__lll_lock_wait): Likewise.
5029 (__lll_timedlock_wait): Likewise.
5030 (__lll_timedwait_tid): Likewise.
5031 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
5032 (__lll_robust_timedlock_wait): Likewise.
5033 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
5034 (lll_cond_trylock): Likewise.
5035 (__lll_lock): Likewise.
5036 (__lll_robust_lock): Likewise.
5037 (__lll_cond_lock): Likewise.
5038 (lll_robust_cond_lock): Likewise.
5039 (__lll_timedlock): Likewise.
5040 (__lll_robust_timedlock): Likewise.
5041 (__lll_unlock): Likewise.
5042 (__lll_robust_unlock): Likewise.
5043 (lll_wait_tid): Likewise.
5044 (lll_timedwait_tid): Likewise.
5046 2014-12-15 Torvald Riegel <triegel@redhat.com>
5048 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
5050 2014-12-15 Torvald Riegel <triegel@redhat.com>
5052 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
5054 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
5056 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
5057 * stdio-common/tst-sprintf.c: Likewise.
5059 2014-12-15 Torvald Riegel <triegel@redhat.com>
5061 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
5063 2014-12-15 Jeff Law <law@redhat.com>
5066 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
5067 on the heap. (CVE-2012-3406)
5068 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
5069 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
5070 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
5072 2014-12-15 Will Newton <will.newton@linaro.org>
5074 * manual/install.texi: Bump required version of texinfo
5076 * INSTALL: Regenerated.
5077 * configure.ac: Check for makeinfo version 4.7 and above.
5078 * configure: Regenerated.
5080 2014-12-12 Roland McGrath <roland@hack.frob.com>
5082 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
5083 PREFIX, string constant to insert between directory and name.
5084 * sysdeps/posix/shm_open.c: Update caller.
5085 * sysdeps/posix/shm_unlink.c: Likewise.
5086 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
5087 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
5088 (SEM_SHM_PREFIX): New macro.
5089 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
5090 [$(have-thread-library) = no].
5091 * nptl/Makefile (libpthread-routines): Add shm-directory.
5092 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
5093 * sysdeps/nptl/shm-directory.h: New file.
5094 * sysdeps/posix/shm-directory.c
5095 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
5096 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
5097 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
5099 (__where_is_shmfs): Function removed.
5100 (mountpoint, defaultmount, defaultdir, __namedsem_once):
5102 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
5104 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
5106 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
5107 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
5108 unconditional for use inside libpthread.
5109 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
5111 2014-12-12 Roland McGrath <roland@hack.frob.com>
5113 * nptl/pthread_getaffinity.c: New file.
5114 * nptl/pthread_setaffinity.c: New file.
5115 * nptl/pthread_getname.c: New file.
5116 * nptl/pthread_setname.c: New file.
5118 * nptl/pthread_create.c (START_THREAD_DEFN)
5119 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
5121 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5122 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5124 * resolv/res_send.c (send_vc): Disable warning resplen may
5125 be used uninitialized.
5127 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5130 (ATTR_NULL): New define checks ATTR against NULL.
5131 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
5132 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
5134 2014-12-11 James Lemke <jwlemke@codesourcery.com>
5138 (mem2mem_check): Revert my previous change.
5139 (malloc_check_get_size): Revert my previous change.
5140 (mem2chunk_check): Revert my previous change.
5142 2014-12-11 Roland McGrath <roland@hack.frob.com>
5144 * sysdeps/posix/shm-directory.c: New file.
5145 * sysdeps/posix/shm-directory.h: New file.
5146 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
5147 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
5148 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
5149 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
5150 Transmute EPERM to EACCES.
5151 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
5153 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
5154 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
5156 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5158 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
5159 pointer and cast to uintptr_t.
5160 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
5161 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
5162 Add cast to avoid warning.
5163 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
5165 2014-12-11 Joseph Myers <joseph@codesourcery.com>
5167 * nptl/semaphore.h: Move to ...
5168 * sysdeps/pthread/semaphore.h: ... here.
5169 * Makefile (installed-headers): Change nptl/semaphore.h to
5170 sysdeps/pthread/semaphore.h.
5172 2014-12-11 Roland McGrath <roland@hack.frob.com>
5174 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
5175 generated error format strings.
5177 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
5178 -Wformat-extra-args warnings for scanf formats.
5179 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
5180 test of zero-length format (duh).
5181 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
5182 corner-case scanf format test.
5183 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
5184 generated fprintf format string.
5185 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
5186 corner-case sprintf format tests.
5187 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
5188 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
5189 -Wformat-extra-args warnings throughout.
5190 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
5191 (CFLAGS-scanf4.c): Likewise.
5192 (CFLAGS-scanf7.c): Likewise.
5193 (CFLAGS-tst-sprintf.c): Likewise.
5194 (CFLAGS-tst-printf.c): Likewise.
5195 (CFLAGS-tst-printfsz.c): Likewise.
5197 2014-12-11 Joseph Myers <joseph@codesourcery.com>
5199 * include/cpio.h: New file.
5200 * include/fmtmsg.h: Likewise.
5202 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
5203 corresponding format argument to size_t.
5204 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
5206 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
5207 corresponding format argument to size_t.
5208 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
5210 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
5211 corresponding format argument to size_t.
5212 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
5213 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
5214 (CFLAGS-tst-mbswcs2.c): Likewise.
5215 (CFLAGS-tst-mbswcs3.c): Likewise.
5216 (CFLAGS-tst-mbswcs4.c): Likewise.
5217 (CFLAGS-tst-mbswcs5.c): Likewise.
5218 (CFLAGS-tst-trans.c): Likewise
5220 2014-12-11 Roland McGrath <roland@hack.frob.com>
5222 * posix/regexbug1.c (main): Use "%s" format with regerror results,
5223 rather than assuming they won't contain any '%'s.
5225 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
5227 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
5228 inhibit_loop_to_libcall to avoid recursive calls.
5229 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
5230 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
5232 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
5234 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
5237 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
5239 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
5240 integer value instead of boolean.
5242 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
5244 * malloc/malloc.c: Fix powerof2 check.
5246 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5248 * locale/programs/locfile.h (maybe_swap_uint32):
5249 Remove inline and add unused attribute.
5251 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5253 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
5254 Truncating assembler expression to a .long expression.
5256 2014-12-11 Andreas Schwab <schwab@suse.de>
5258 * elf/rtld.c (struct map_args): Constify str member.
5259 (do_preload): Constify fname argument.
5261 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5263 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
5264 constants definition.
5266 2014-12-11 Andreas Schwab <schwab@suse.de>
5269 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
5270 FORCE_ELISION instead of DO_ELISION.
5271 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
5273 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
5276 * iconvdata/gconv-modules: Remove duplicate entry.
5278 2014-12-11 Will Newton <will.newton@linaro.org>
5280 Merge gettext 0.19.3 into intl/.
5282 This involves a number of cosmetic changes to comments
5283 and ANSI function definitions and prototypes throughout
5284 all the files. The gettext copyright header is used but
5285 with the date ranges taken from the glibc copy.
5287 * NEWS: Add gettext merge to 2.21.
5288 * intl/bindtextdom.c: Switch to gettext copyright.
5289 Use ANSI definitions and prototypes.
5290 Use gl_* locking primitives rather than __libc_* ones.
5291 Use __builtin_expect rather than __glibc_likely/unlikely.
5292 * intl/dcgettext.c: Switch to gettext copyright.
5293 Use ANSI definitions and prototypes.
5294 * intl/dcigettext.c: Switch to gettext copyright.
5295 Use ANSI definitions and prototypes.
5296 (INTDIV0_RAISES_SIGFPE): New define.
5297 Use gl_* locking primitives rather than __libc_* ones.
5298 Include eval-plural.h instead of plural-eval.c.
5299 Use __builtin_expect rather than __glibc_likely/unlikely.
5300 * intl/dcngettext.c: Switch to gettext copyright.
5301 Use ANSI definitions and prototypes.
5302 * intl/dgettext.c: Likewise.
5303 * intl/dngettext.c: Likewise.
5304 * intl/plural-eval.c: Renamed to...
5305 * intl/eval-plural.h: ...this.
5306 * intl/explodename.c: Switch to gettext copyright.
5307 Use ANSI definitions and prototypes.
5308 (_nl_explode_name): Use strchr instead of __rawmemchr.
5309 * intl/finddomain.c: Switch to gettext copyright.
5310 Use ANSI definitions and prototypes.
5311 Use gl_* locking primitives rather than __libc_* ones.
5312 (_nl_find_domain): Use malloc rather than alloca for
5313 allocation of temporary locale name.
5314 * intl/gettext.c: Switch to gettext copyright.
5315 Use ANSI definitions and prototypes.
5316 * intl/gettextP.h: Switch to gettext copyright.
5317 Use ANSI definitions and prototypes.
5318 Use gl_* locking primitives rather than __libc_* ones.
5319 * intl/gmo.h: Switch to gettext copyright.
5320 (struct sysdep_string): Move struct segment_pair outside of
5322 * intl/hash-string.c: Use ANSI definitions and prototypes.
5323 * intl/hash-string.h: Switch to gettext copyright.
5324 Use ANSI definitions and prototypes.
5325 * intl/l10nflist.c: Switch to gettext copyright.
5326 Use ANSI definitions and prototypes.
5327 (_nl_normalize_codeset): Avoid integer overflow.
5328 * intl/loadinfo.h: Switch to gettext copyright.
5329 Use ANSI definitions and prototypes.
5330 (LIBINTL_DLL_EXPORTED): New define.
5331 (PATH_SEPARATOR): New define.
5332 * intl/loadmsgcat.c: Switch to gettext copyright.
5333 * intl/localealias.c: Switch to gettext copyright.
5334 Use ANSI definitions and prototypes.
5335 (_nl_expand_alias): Use PATH_SEPARATOR.
5336 * intl/ngettext.c: Switch to gettext copyright.
5337 Use ANSI definitions and prototypes.
5338 * intl/plural-exp.c: Likewise.
5339 * intl/plural-exp.h: Switch to gettext copyright.
5340 Use ANSI definitions and prototypes.
5341 (struct expression): Move definition of enum operator outside
5342 of struct definition.
5343 * intl/plural.c: Regenerate.
5344 * intl/plural.y: Switch to gettext copyright.
5345 Use ANSI definitions and prototypes.
5347 * intl/textdomain.c: Switch to gettext copyright.
5348 Use ANSI definitions and prototypes.
5349 Use gl_* locking primitives rather than __libc_* ones.
5351 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
5353 * debug/warning-nop.c: Add used atrribute.
5355 2014-12-10 Joseph Myers <joseph@codesourcery.com>
5357 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
5359 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
5360 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
5361 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
5363 2014-12-10 Joseph Myers <joseph@codesourcery.com>
5364 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5367 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
5368 Undefine after defining function. Define as weak alias of
5369 __wcschr. Use libc_hidden_weak.
5370 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
5371 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
5372 (libc_hidden_def): Also define __GI___wcschr alias.
5373 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
5374 __wcschr and define as weak alias of __wcschr.
5375 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
5377 [!WCSCHR] (DEFAULT_WCSCHR): Define.
5378 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
5379 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
5380 libc_hidden_weak. Do not use libc_hidden_def.
5381 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
5382 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
5383 __GI___wcschr alias.
5384 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
5385 [IS_IN (libc)] (wcschr): Define as macro expanding to
5387 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
5388 [IS_IN (libc)] (__wcschr_power6): Likewise.
5389 [IS_IN (libc)] (__wcschr_power7): Likewise.
5390 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
5392 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
5394 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
5395 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
5396 __wcschr and define as weak alias of __wcschr. Use
5397 libc_hidden_builtin_def.
5398 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
5399 as weak alias of __wcschr. Use libc_hidden_weak.
5400 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
5402 * time/era.c (_nl_init_era_entries): Likewise.
5403 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
5405 (test-xfail-XPG3/time.h/linknamespace): Likewise.
5406 (test-xfail-XPG4/time.h/linknamespace): Likewise.
5408 2014-12-10 Joseph Myers <joseph@codesourcery.com>
5410 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
5411 format for long int variable.
5413 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
5416 * manual/search.texi: (Array Sort Function): Remove claim how to make
5419 2014-12-10 Andreas Schwab <schwab@suse.de>
5422 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
5423 user-controlled locks.
5425 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
5427 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
5430 2014-12-10 Joseph Myers <joseph@codesourcery.com>
5432 * configure.ac (--disable-werror): New configure option.
5433 (enable_werror): New AC_SUBST.
5434 * configure: Regenerated.
5435 * config.make.in (enable-werror): New variable.
5436 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
5438 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
5439 * manual/install.texi (Configuring and compiling): Document
5441 * INSTALL: Regenerated.
5442 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
5443 (CFLAGS-tst-chk2.c): Likewise.
5444 (CFLAGS-tst-chk3.c): Likewise.
5445 (CFLAGS-tst-chk4.cc): Likewise.
5446 (CFLAGS-tst-chk5.cc): Likewise.
5447 (CFLAGS-tst-chk6.cc): Likewise.
5448 (CFLAGS-tst-lfschk1.c): Likewise.
5449 (CFLAGS-tst-lfschk2.c): Likewise.
5450 (CFLAGS-tst-lfschk3.c): Likewise.
5451 (CFLAGS-tst-lfschk4.cc): Likewise.
5452 (CFLAGS-tst-lfschk5.cc): Likewise.
5453 (CFLAGS-tst-lfschk6.cc): Likewise.
5455 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
5456 (main): Disable -Wdeprecated-declarations around calls to
5457 register_printf_function.
5459 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
5460 (do_test): Disable -Wdiv-by-zero around some calls to
5461 fwrite_unlocked and fread_unlocked.
5463 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
5464 (DIAG_POP_NEEDS_COMMENT): Likewise.
5465 (_DIAG_STR1): Likewise.
5466 (_DIAG_STR): Likewise.
5467 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
5468 * stdio-common/bug21.c: Include <libc-internal.h>.
5469 (do_test): Disable -Wformat around call to sscanf.
5470 * stdio-common/scanf14.c: Include <libc-internal.h>.
5471 (main): Disable -Wformat around some calls to scanf functions.
5473 2014-12-09 Torvald Riegel <triegel@redhat.com>
5475 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
5477 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5479 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
5480 stack variable alignment.
5482 2014-12-06 Joseph Myers <joseph@codesourcery.com>
5485 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
5486 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
5487 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
5488 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
5489 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
5490 __getrlimit instead of getrlimit.
5491 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
5492 __gettimeofday instead of gettimeofday.
5493 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
5495 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
5497 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5498 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
5500 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5501 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5503 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5505 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
5506 for wide-character tests.
5508 2014-12-04 Roland McGrath <roland@hack.frob.com>
5510 * io/openat64.c: #include <libc-internal.h>
5511 (__openat64): Prototypify. Use ignore_value on MODE.
5512 * io/openat.c: Likewise.
5513 * misc/reboot.c: #include <libc-internal.h>
5514 (reboot): Prototypify. Use ignore_value on HOWTO.
5515 * misc/ptrace.c: #include <libc-internal.h>
5516 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
5518 2014-12-04 Joseph Myers <joseph@codesourcery.com>
5520 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
5521 XPG4, UNIX98 and XOPEN2K.
5522 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
5524 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5526 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5528 * libio/fileops.c: Use ISO C style for function definitions.
5529 * libio/iofopen.c: Likewise.
5530 * libio/wfileops.c: Likewise.
5533 * libio/fileops.c (_IO_new_file_underflow): Unset cached
5535 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
5536 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
5537 (fgets_func): Function pointer to fgets and fgetws.
5538 (do_ftell_test): Add test to verify ftell value after read
5540 (do_test): Set fgets_func.
5542 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
5543 O_TRUNC flag for w and w+ modes.
5544 (do_rewind_test): Likewise.
5545 (do_ftell_test): Likewise.
5546 (do_write_test): Likewise.
5549 * libio/fileops.c (do_ftell): Seek only when there are
5551 * libio/wfileops.c (do_ftell_wide): Likewise.
5552 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
5554 (do_one_test): Call it.
5556 2014-12-03 Joseph Myers <joseph@codesourcery.com>
5558 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
5559 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
5560 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
5562 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5563 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5564 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5566 2014-12-02 Joseph Myers <joseph@codesourcery.com>
5568 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
5570 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5573 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
5574 as weak alias of __getifaddrs. Use libc_hidden_weak.
5575 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
5576 __freeifaddrs. Use libc_hidden_weak.
5577 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
5578 define as weak alias of __getifaddrs. Use libc_hidden_weak.
5579 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
5580 __freeifaddrs. Use libc_hidden_weak.
5581 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
5582 __getifaddrs and define as weak alias of __getifaddrs. Use
5584 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
5585 __freeifaddrs. Use libc_hidden_weak.
5586 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
5588 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5589 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5591 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
5594 * sysdeps/mips/start.S (__start): Use indirect jump to call
5597 2014-12-02 Joseph Myers <joseph@codesourcery.com>
5599 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
5601 * nptl/tst-mutex1.c: Include <stdbool.h>.
5602 [!ATTR] (ATTR_NULL): New macro.
5603 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
5604 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
5605 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
5607 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
5611 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
5612 Change conditional to [__USE_MISC].
5615 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
5617 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
5619 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
5621 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
5623 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5624 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5625 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5626 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5627 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5628 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5629 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5630 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5631 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5633 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
5635 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5637 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5638 Remove strpbrk objects.
5639 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5640 (__libc_ifunc_impl_list): Remove strpbrk implementation.
5641 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
5642 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
5643 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
5644 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
5646 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5647 Remove strcspn objects.
5648 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5649 (__libc_ifunc_impl_list): Remove strcspn implementation.
5650 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
5651 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
5652 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
5653 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
5655 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5656 Remove strspn objetcs.
5657 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5658 (__libc_ifunc_impl_list): Remove strspn implementation.
5659 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
5660 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5661 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
5662 * sysdeps/powerpc/powerpc64/strspn.S: New file.
5664 2014-12-01 James Lemke <jwlemke@codesourcery.com>
5668 (mem2mem_check): Add a terminator to the chain of checking blocks.
5669 (malloc_check_get_size): Use it here.
5670 (mem2chunk_check): Ditto.
5672 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5674 * sysdeps/powerpc/powerpc64/strtok.S: New file.
5675 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
5677 2014-11-29 Carlos O'Donell <carlos@redhat.com>
5679 * bits/ioctl-types.h: Indent preprocessor directives correctly.
5681 * nptl/nptl-init.c: Include libc-internal.h.
5682 (__pthread_initialize_minimal_internal): Use ROUND_UP.
5684 * elf/ldconfig.c (search_dir): Expand comment.
5686 2014-11-29 Joseph Myers <joseph@codesourcery.com>
5688 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
5690 (linknamespace-symlist-stdlibs-tests): Likewise.
5691 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
5692 instead of $(objpfx)symlist-stdlibs.
5693 (linknamespace-libs-isoc): New variable.
5694 (linknamespace-libs): Use $(linknamespace-libs-isoc).
5695 (linknamespace-libs-ISO): New variable.
5696 (linknamespace-libs-ISO99): Likewise.
5697 (linknamespace-libs-ISO11): Likewise.
5698 (linknamespace-libs-XPG3): Likewise.
5699 (linknamespace-libs-XPG4): Likewise.
5700 (linknamespace-libs-POSIX): Likewise.
5701 (linknamespace-libs-UNIX98): Likewise.
5702 (linknamespace-libs-XOPEN2K): Likewise.
5703 (linknamespace-libs-POSIX2008): Likewise.
5704 (linknamespace-libs-XOPEN2K8): Likewise.
5705 ($(objpfx)symlist-stdlibs): Replace by
5706 $(linknamespace-symlist-stdlibs-tests). Use
5707 $(linknamespace-libs-$*) as set of libraries.
5708 ($(linknamespace-header-tests)): Update dependencies. Use
5709 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
5710 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
5711 * conform/linknamespace.pl: Remove comment about considering
5712 definitions of symbols from irrelevant libraries.
5714 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
5717 * elf/dl-tls.c: Include <atomic.h>.
5718 (oom): Remove #ifdef SHARED/#endif.
5719 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
5720 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
5721 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
5723 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
5724 * nptl/Makefile (tests): Add tst-stack4.
5725 (modules-names): Add tst-stack4mod.
5726 ($(objpfx)tst-stack4): New.
5727 (tst-stack4mod.sos): Likewise.
5728 ($(objpfx)tst-stack4.out): Likewise.
5729 ($(tst-stack4mod.sos)): Likewise.
5731 * nptl/tst-stack4.c: New file.
5732 * nptl/tst-stack4mod.c: Likewise.
5734 2014-11-27 J. Brown <jb999@gmx.de>
5736 * sysdeps/x86/bits/string.h: Add recent CPUs.
5738 2014-11-27 Joseph Myers <joseph@codesourcery.com>
5740 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
5743 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
5746 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
5749 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
5751 * nscd/connections.c: Include libc-internal.h because of macro
5754 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5756 * string/bits/string3.h (__warn_memset_zero_len): Don't
5757 declare for gcc newer than 5.0.
5758 (memset): Don't test for zero-length __LEN for gcc newer than
5761 2014-11-27 Joseph Myers <joseph@codesourcery.com>
5763 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
5764 size_t for %zu format.
5766 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
5767 difference, not %ju.
5769 2014-11-26 Joseph Myers <joseph@codesourcery.com>
5771 * include/libc-internal.h (ignore_value): New macro.
5772 * nscd/connections.c (restart): Wrap calls to setuid and setgid
5775 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
5778 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
5779 pthread_cleanup_push to void *.
5781 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
5786 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
5787 instead of 1L << 52.
5789 * libio/bug-rewind.c (do_test): Check fwscanf return values.
5790 * libio/bug-rewind2.c (do_test): Likewise.
5792 * debug/test-stpcpy_chk-ifunc.c: Remove file.
5793 * debug/test-strcpy_chk-ifunc.c: Likewise.
5794 * wcsmbs/test-wcschr-ifunc.c: Likewise.
5795 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5796 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5797 * wcsmbs/test-wcslen-ifunc.c: Likewise.
5798 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5799 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5800 * Rules [$(multi-arch) = no] (tests): Do not filter out
5802 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
5803 * debug/Makefile (tests-ifunc): Remove variable.
5804 (tests): Do not add $(tests-ifunc).
5805 * wcsmbs/Makefile (tests-ifunc): Remove variable.
5806 (tests): Do not add $(tests-ifunc).
5807 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
5808 [TEST_IFUNC]: Remove conditionals.
5809 * string/test-string.h (TEST_IFUNC): Remove macro.
5810 [TEST_IFUNC]: Remove conditionals.
5812 * string/test-strchr.c [!WIDE] (L): New macro.
5813 [WIDE] (L): Likewise.
5814 (check1): Use CHAR instead of char. Use L on string and character
5817 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
5819 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
5821 * sysdeps/powerpc/bits/atomic.h
5822 (__arch_atomic_exchange_and_add_32_acq): Add definition.
5823 (__arch_atomic_exchange_and_add_32_rel): Likewise.
5824 (atomic_exchange_and_add_acq): Likewise.
5825 (atomic_exchange_and_add_rel): Likewise.
5826 * sysdeps/powerpc/powerpc32/bits/atomic.h
5827 (__arch_atomic_exchange_and_add_64_acq): Add definition.
5828 (__arch_atomic_exchange_and_add_64_rel): Likewise.
5829 * sysdeps/powerpc/powerpc64/bits/atomic.h
5830 (__arch_atomic_exchange_and_add_64_acq): Add definition.
5831 (__arch_atomic_exchange_and_add_64_rel): Likewise.
5833 2014-11-26 Torvald Riegel <triegel@redhat.com>
5835 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
5836 Change synchronization of __sched_fifo_min_prio and
5837 __sched_fifo_max_prio.
5838 * nptl/pthread_mutexattr_getprioceiling.c
5839 (pthread_mutexattr_getprioceiling): Likewise.
5840 * nptl/pthread_mutexattr_setprioceiling.c
5841 (pthread_mutexattr_setprioceiling): Likewise.
5842 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
5843 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
5846 2014-11-26 Joseph Myers <joseph@codesourcery.com>
5848 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
5851 2014-11-25 Joseph Myers <joseph@codesourcery.com>
5853 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
5854 third argument const.
5856 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
5858 fnmatch: work around GCC compiler warning bug with uninit var
5859 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
5860 This works around a bug with x86-64 GCC 4.9.2 and earlier
5861 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
5862 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
5863 used uninitialized in this function [-Wmaybe-uninitialized]".
5865 2014-11-25 Joseph Myers <joseph@codesourcery.com>
5867 * posix/bug-regex31.c (main): Return RES not 0.
5869 2014-11-25 Anton Blanchard <anton@samba.org>
5871 * sysdeps/powerpc/bits/atomic.h
5872 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
5874 2014-11-24 Sterling Augustine <saugustine@google.com>
5876 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
5878 2014-11-24 Ryan Cumming <etaoins@gmail.com>
5881 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
5883 2014-11-24 Joseph Myers <joseph@codesourcery.com>
5886 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
5887 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
5889 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5890 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5892 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
5894 * string/strncpy.c (strncpy): Improve performance by using memset.
5896 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
5898 * string/strcpy.c (strcpy):
5899 Improve performance by using strlen and memcpy.
5901 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
5903 * string/strcoll_l.c (get_next_seq): __always_inline.
5904 * string/strcoll_l.c (do_compare): __always_inline.
5906 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5908 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
5910 * include/mqueue.h: Likewise.
5911 * include/stdlib.h: Likewise.
5913 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
5914 (get_null_defines): Adjust.
5915 * sunrpc/Makefile: Adjust comment.
5916 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
5917 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
5918 (CFLAGS-interp.c): Likewise.
5919 (CFLAGS-ldconfig.c): Likewise.
5920 (CPPFLAGS-.os): Likewise.
5921 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5922 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5923 * extra-modules.mk (extra-modules.mk): Likewise.
5924 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
5925 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
5926 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
5927 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
5928 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
5929 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
5930 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
5931 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
5932 * iconvdata/Makefile (CPPFLAGS): Likewise.
5933 (cpp-srcs-left): Add libof for all iconvdata routines.
5934 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
5935 * include/assert.h: Likewise.
5936 * include/ctype.h: Likewise.
5937 * include/errno.h: Likewise.
5938 * include/libc-symbols.h: Likewise.
5939 * include/math.h: Likewise.
5940 * include/netdb.h: Likewise.
5941 * include/resolv.h: Likewise.
5942 * include/stdio.h: Likewise.
5943 * include/stdlib.h: Likewise.
5944 * include/string.h: Likewise.
5945 * include/sys/stat.h: Likewise.
5946 * include/wctype.h: Likewise.
5947 * intl/l10nflist.c: Likewise.
5948 * libidn/idn-stub.c: Likewise.
5949 * libio/libioP.h: Likewise.
5950 * nptl/libc_multiple_threads.c: Likewise.
5951 * nptl/pthreadP.h: Likewise.
5952 * posix/regex_internal.h: Likewise.
5953 * resolv/res_hconf.c: Likewise.
5954 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
5955 * sysdeps/arm/memmove.S: Likewise.
5956 * sysdeps/arm/sysdep.h: Likewise.
5957 * sysdeps/generic/_itoa.h: Likewise.
5958 * sysdeps/generic/symbol-hacks.h: Likewise.
5959 * sysdeps/gnu/errlist.awk: Likewise.
5960 * sysdeps/gnu/errlist.c: Likewise.
5961 * sysdeps/i386/i586/memcpy.S: Likewise.
5962 * sysdeps/i386/i586/memset.S: Likewise.
5963 * sysdeps/i386/i686/memcpy.S: Likewise.
5964 * sysdeps/i386/i686/memmove.S: Likewise.
5965 * sysdeps/i386/i686/mempcpy.S: Likewise.
5966 * sysdeps/i386/i686/memset.S: Likewise.
5967 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5968 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5969 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
5970 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
5971 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5972 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5973 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
5974 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5975 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5976 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5977 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5978 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5979 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5980 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5981 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5982 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5983 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
5984 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
5985 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
5986 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5987 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5988 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5989 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5990 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5991 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5992 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5993 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
5994 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5995 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
5996 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
5997 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5998 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5999 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6000 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6001 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6002 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
6003 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6004 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6005 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6006 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6007 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6008 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6009 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6010 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6011 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6012 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6013 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
6014 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
6015 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6016 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6017 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6018 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
6019 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
6020 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6021 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6022 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
6023 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6024 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
6025 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
6026 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6027 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6028 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6029 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
6030 * sysdeps/nptl/bits/libc-lock.h: Likewise.
6031 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
6032 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
6033 * sysdeps/posix/closedir.c: Likewise.
6034 * sysdeps/posix/opendir.c: Likewise.
6035 * sysdeps/posix/readdir.c: Likewise.
6036 * sysdeps/posix/rewinddir.c: Likewise.
6037 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
6038 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
6039 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6040 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6041 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6042 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
6043 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
6044 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
6045 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
6046 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
6047 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
6048 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
6049 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
6050 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
6051 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
6052 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
6053 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
6054 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
6055 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
6056 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
6057 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
6058 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
6059 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
6060 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
6061 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
6062 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
6063 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
6064 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
6065 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
6066 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
6067 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
6068 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
6069 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
6070 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
6071 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
6072 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
6073 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6074 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6075 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
6076 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
6077 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
6078 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
6079 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
6080 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
6081 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
6082 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
6083 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
6084 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
6085 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
6086 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
6087 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
6088 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
6089 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
6090 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
6091 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
6092 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
6093 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
6094 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
6095 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
6096 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
6097 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
6098 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
6099 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
6100 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
6101 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
6102 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
6103 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
6104 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
6105 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
6106 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
6107 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
6108 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
6109 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
6110 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
6111 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
6112 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
6113 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
6114 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
6115 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
6116 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
6117 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
6118 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6119 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
6120 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
6121 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
6122 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
6123 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
6124 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
6125 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
6126 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6127 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
6128 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
6129 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
6130 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6131 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6132 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
6133 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6134 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6135 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
6136 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
6137 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6138 * sysdeps/unix/alpha/sysdep.S: Likewise.
6139 * sysdeps/unix/alpha/sysdep.h: Likewise.
6140 * sysdeps/unix/make-syscalls.sh: Likewise.
6141 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
6142 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6143 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
6144 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
6145 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
6146 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
6147 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
6148 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6149 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
6150 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
6151 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6152 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
6153 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6154 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
6155 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
6156 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6157 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6158 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
6159 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
6160 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
6161 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
6162 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6163 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
6164 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
6165 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6166 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
6167 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
6169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
6170 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
6171 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6172 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6173 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6174 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6175 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6176 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6177 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6178 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6179 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6180 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
6181 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6182 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6183 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6184 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6185 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6186 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
6187 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6188 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6189 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6190 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6191 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6192 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6193 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6194 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
6195 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
6196 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6197 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6198 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6199 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
6200 * sysdeps/x86_64/memcpy.S: Likewise.
6201 * sysdeps/x86_64/memmove.c: Likewise.
6202 * sysdeps/x86_64/memset.S: Likewise.
6203 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
6204 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6205 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6206 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
6207 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
6208 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6209 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6210 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6211 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6212 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6213 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6214 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6215 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
6216 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6217 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6218 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
6219 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6220 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6221 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
6222 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6223 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
6224 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6225 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6226 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6227 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6228 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6229 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6230 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
6231 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6232 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6233 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
6234 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6235 * sysdeps/x86_64/strcmp.S: Likewise.
6237 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
6239 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
6240 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
6241 * elf/rtld-Rules: Likewise.
6242 * elf/setup-vdso.h: Likewise.
6243 * include/assert.h: Likewise.
6244 * include/bits/stdlib-float.h: Likewise.
6245 * include/errno.h: Likewise.
6246 * include/sys/stat.h: Likewise.
6247 * include/unistd.h: Likewise.
6248 * sysdeps/aarch64/setjmp.S: Likewise.
6249 * sysdeps/alpha/setjmp.S: Likewise.
6250 * sysdeps/arm/__longjmp.S: Likewise.
6251 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
6252 * sysdeps/arm/setjmp.S: Likewise.
6253 * sysdeps/arm/sysdep.h: Likewise.
6254 * sysdeps/generic/_itoa.h: Likewise.
6255 * sysdeps/generic/dl-sysdep.h: Likewise.
6256 * sysdeps/generic/ldsodefs.h: Likewise.
6257 * sysdeps/i386/dl-tls.h: Likewise.
6258 * sysdeps/i386/setjmp.S: Likewise.
6259 * sysdeps/m68k/setjmp.c: Likewise.
6260 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
6261 * sysdeps/mach/hurd/opendir.c: Likewise.
6262 * sysdeps/posix/getcwd.c: Likewise.
6263 * sysdeps/posix/opendir.c: Likewise.
6264 * sysdeps/posix/profil.c: Likewise.
6265 * sysdeps/powerpc/dl-procinfo.h: Likewise.
6266 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6267 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6268 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6269 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6270 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
6271 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6272 * sysdeps/s390/dl-tls.h: Likewise.
6273 * sysdeps/s390/s390-32/setjmp.S: Likewise.
6274 * sysdeps/s390/s390-64/setjmp.S: Likewise.
6275 * sysdeps/sh/sh3/setjmp.S: Likewise.
6276 * sysdeps/sh/sh4/setjmp.S: Likewise.
6277 * sysdeps/unix/alpha/sysdep.h: Likewise.
6278 * sysdeps/unix/arm/sysdep.S: Likewise.
6279 * sysdeps/unix/i386/sysdep.S: Likewise.
6280 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6281 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6282 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6283 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6284 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6285 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
6286 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6287 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6288 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
6289 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
6290 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
6291 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6292 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6295 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6296 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6297 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6298 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6299 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6300 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6301 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6302 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6303 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6304 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6305 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6306 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6307 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6308 * sysdeps/x86_64/setjmp.S: Likewise.
6310 * include/math.h: Use IS_IN instead of IS_IN_libm.
6311 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
6312 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6313 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6314 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6315 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6316 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6317 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6318 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6319 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6320 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6321 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
6322 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
6323 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
6324 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
6325 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
6326 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
6327 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
6328 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
6329 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
6330 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
6331 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
6332 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
6333 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
6334 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
6335 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
6336 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
6337 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
6338 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
6339 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
6340 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
6341 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
6342 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
6343 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
6346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
6348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
6350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
6352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
6354 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
6355 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
6356 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
6357 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6358 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6359 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
6361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
6362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
6363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
6364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
6365 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
6366 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
6367 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6368 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6369 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
6370 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6371 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6372 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
6373 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
6374 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
6375 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
6376 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
6377 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
6378 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
6379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6380 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
6382 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
6383 * nptl/pthreadP.h: Likewise.
6384 * nptl_db/structs.def: Likewise.
6385 * sysdeps/arm/sysdep.h: Likewise.
6386 * sysdeps/nptl/bits/libc-lock.h: Likewise.
6387 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
6388 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
6389 * sysdeps/unix/alpha/sysdep.h: Likewise.
6390 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
6391 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6392 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
6393 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
6394 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
6395 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
6396 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6397 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
6398 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6399 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
6400 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
6401 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
6402 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6403 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
6404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
6405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
6406 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6407 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6408 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6409 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
6410 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6411 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6412 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6413 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
6414 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
6415 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6417 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
6418 * nptl/pthreadP.h: Likewise.
6419 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
6420 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
6421 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
6422 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
6423 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
6424 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
6425 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6426 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
6427 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
6428 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
6429 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6430 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
6431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6435 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6436 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6437 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6438 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
6439 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6440 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6441 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
6442 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6444 * dlfcn/dladdr.c: Use IS_IN.
6445 * dlfcn/dladdr1.c: Likewise.
6446 * dlfcn/dlclose.c: Likewise.
6447 * dlfcn/dlerror.c: Likewise.
6448 * dlfcn/dlinfo.c: Likewise.
6449 * dlfcn/dlmopen.c: Likewise.
6450 * dlfcn/dlopen.c: Likewise.
6451 * dlfcn/dlsym.c: Likewise.
6452 * dlfcn/dlvsym.c: Likewise.
6454 * include/ifaddrs.h: Use IS_IN.
6455 * inet/check_pf.c: Likewise.
6456 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6457 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
6459 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
6461 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
6462 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
6464 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
6465 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
6468 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
6470 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
6471 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6472 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
6473 * include/libc-symbols.h (IS_IN_LIB): New macro.
6474 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
6475 * include/netdb.h: Likewise.
6476 * include/stap-probe.h: Remove all uses of IN_LIB.
6478 * Makeconfig (module-cppflags-real): Define MODULE_NAME
6479 instead of IN_MODULE.
6480 * include/libc-symbols.h (IN_MODULE): Define using
6482 (PASTE_NAME, PASTE_NAME1): New macros.
6483 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
6485 (STAP_PROBE_ASM): Likewise.
6487 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
6489 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
6490 __mach_init in dlopened libc.
6492 2014-11-22 Mike Frysinger <vapier@gentoo.org>
6494 * sysdeps/arm/preconfigure.ac: Delete EABI check.
6495 * sysdeps/arm/preconfigure: Regenerate.
6497 2014-11-21 Roland McGrath <roland@hack.frob.com>
6499 * nptl/pthread_create.c (__pthread_create_2_1): Set
6500 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
6501 when copying values from IATTR into PD.
6503 2014-11-21 Will Newton <will.newton@linaro.org>
6504 Andrew Pinski <andrew.pinski@caviumnetworks.com>
6506 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
6507 Refactor inline-asm. Also add comment.
6509 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
6510 ElfW macro instead of hardcoded Elf64 types.
6511 (la_aarch64_gnu_pltenter): Likewise.
6512 * sysdeps/aarch64/dl-machine.h
6513 (elf_machine_runtime_setup): Use ElfW(Addr).
6515 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
6516 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
6517 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
6518 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
6519 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
6520 (R_AARCH64_TLS_DTPMOD64): Rename to ..
6521 (R_AARCH64_TLS_DTPMOD): This.
6522 (R_AARCH64_TLS_DTPREL64): Rename to ...
6523 (R_AARCH64_TLS_DTPREL): This.
6524 (R_AARCH64_TLS_TPREL64): Rename to ...
6525 (R_AARCH64_TLS_TPREL): This.
6526 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
6527 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
6528 R_AARCH64_TLS_TPREL64.
6529 (elf_machine_rela): Likewise.
6531 2014-11-21 Torvald Riegel <triegel@redhat.com>
6533 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
6534 by setting it to 0. 64b atomics are not supported currently.
6536 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
6539 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
6540 search domain names.
6542 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
6546 * resolv/res_query.c (__libc_res_nquerydomain): Retain
6548 * posix/tst-getaddrinfo5.c: New.
6549 * posix/Makefile (tests): Add it.
6551 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
6555 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
6556 after parsing line but before break_if_match.
6557 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
6558 if there is a protocol mismatch.
6560 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
6562 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
6563 because the potential race is on the user-supplied stream.
6565 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
6567 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
6568 string literal if not passed a buffer.
6569 * manual/job.texi (ctermid): Update reasoning, note deviation
6570 from posix, suggest mtasurace when not passed a buffer, for
6571 future non-preliminary safety notes.
6573 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
6575 * manual/users.texi (cuserid): Fix MT-Safety note for the case
6576 of not passing it a buffer.
6577 Reported by Peng Haitao.
6579 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
6581 * manual/Makefile ($(objpfx)stamp-summary): Require
6582 check-safety.sh to pass.
6583 * manual/check-safety.sh: Wish for verification that every
6584 @deftypefn and @deftypefun is followed by a @safety remark.
6586 2014-11-20 Roland McGrath <roland@hack.frob.com>
6588 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
6590 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
6591 PTHREAD_CANCEL_ASYNCHRONOUS.
6592 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
6595 * nptl/default-sched.h: New file.
6596 * sysdeps/unix/sysv/linux/default-sched.h: New file.
6597 * nptl/pthread_create.c: Include it.
6598 (__pthread_create_2_1): Use collect_default_sched instead of making
6599 Linux syscalls here directly.
6601 2014-11-20 Torvald Riegel <triegel@redhat.com>
6603 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
6604 __pthread_once): Use C11 atomics.
6606 2014-11-20 Torvald Riegel <triegel@redhat.com>
6608 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
6610 2014-11-20 Torvald Riegel <triegel@redhat.com>
6612 * include/atomic.h (__atomic_link_error, __atomic_check_size,
6613 atomic_thread_fence_acquire, atomic_thread_fence_release,
6614 atomic_thread_fence_seq_cst, atomic_load_relaxed,
6615 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
6616 atomic_compare_exchange_weak_relaxed,
6617 atomic_compare_exchange_weak_acquire,
6618 atomic_compare_exchange_weak_release,
6619 atomic_exchange_acquire, atomic_exchange_release,
6620 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
6621 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
6622 atomic_fetch_and_acquire,
6623 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
6625 2014-11-20 Torvald Riegel <triegel@redhat.com>
6627 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
6628 USE_ATOMIC_COMPILER_BUILTINS): Define.
6629 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
6630 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6631 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
6632 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6633 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
6634 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6635 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
6636 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6637 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
6638 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6639 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
6640 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6641 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
6642 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6643 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
6644 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6645 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
6646 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6647 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
6648 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6649 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
6650 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6651 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
6652 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6653 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
6654 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6655 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
6656 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6657 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
6658 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6659 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
6660 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6661 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
6662 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6663 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
6664 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6665 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
6666 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6667 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
6668 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6670 2014-11-19 Roland McGrath <roland@hack.frob.com>
6672 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
6673 the sched_priority value here. It was already checked when the user
6674 called pthread_attr_setschedparam.
6676 * nptl/tst-bad-schedattr.c: New file.
6677 * nptl/Makefile (tests): Add it.
6679 2014-11-19 Carlos O'Donell <carlos@redhat.com>
6680 Florian Weimer <fweimer@redhat.com>
6681 Joseph Myers <joseph@codesourcery.com>
6682 Adam Conrad <adconrad@0c3.net>
6683 Andreas Schwab <schwab@suse.de>
6684 Brooks <bmoses@google.com>
6687 * wordexp-test.c (__dso_handle): Add prototype.
6688 (__register_atfork): Likewise.
6689 (__app_register_atfork): New function.
6690 (registered_forks): New global.
6691 (register_fork): New function.
6692 (test_case): Add 3 new tests for WRDE_CMDSUB.
6693 (main): Call __app_register_atfork.
6694 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
6695 fork count is non-zero fail the test.
6696 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
6698 (parse_dollars): Remove check for WRDE_NOCMD.
6699 (parse_dquote): Likewise.
6701 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6703 * Makeconfig (built-modules): List non-library modules to be
6705 (module-cppflags): Include libc-modules.h for
6706 everything except shlib-versions.v.i.
6708 (before-compile): Add libc-modules.h.
6709 ($(common-objpfx)libc-modules.h,
6710 $(common-objpfx)libc-modules.stmp): New targets.
6711 (common-generated): Add libc-modules.h and libc-modules.stmp.
6712 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
6713 * include/libc-symbols.h: Don't include libc-modules.h.
6714 * include/libc-modules.h: Remove file.
6715 * scripts/gen-libc-modules.awk: New script to generate
6717 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
6718 Depend on libc-modules.stmp.
6720 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
6722 * Makeconfig (in-module): Get value of libof set for the
6724 (CPPFLAGS): Use $(in-module).
6725 * Makerules: Don't suffix routine names for nonlib.
6726 * include/libc-modules.h: New file.
6727 * include/libc-symbols.h: Include libc-modules.h
6728 (IS_IN): New macro to replace IS_IN_* macros.
6729 * elf/Makefile: Set libof-* for each routine.
6730 * elf/rtld-Rules: Likewise.
6731 * extra-modules.mk: Likewise.
6732 * iconv/Makefile: Likewise.
6733 * iconvdata/Makefile: Likewise.
6734 * locale/Makefile: Likewise.
6735 * malloc/Makefile: Likewise.
6736 * nss/Makefile: Likewise.
6737 * sysdeps/gnu/Makefile: Likewise.
6738 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
6739 * sysdeps/unix/sysv/linux/Makefile: Likewise.
6740 * sysdeps/s390/s390-64/Makefile: Likewise.
6741 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
6742 CPPFLAGS for nscd instead of nonlib.
6744 2014-11-18 Roland McGrath <roland@hack.frob.com>
6746 * nptl/createthread.c: New file.
6748 * nptl/createthread.c: Moved ...
6749 * sysdeps/unix/sysv/linux/createthread.c: ... here.
6751 * nptl/createthread.c: Add proper top-line comment.
6752 (do_clone): Folded into ...
6753 (create_thread): ... here. Take new arguments STOPPED_START and
6754 THREAD_RAN. Always set PD->stopped_start to something here. Don't
6755 increment __nptl_threads, do event-reporting logic, do
6756 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
6757 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
6758 resource cleanup if sched_setaffinity or sched_setscheduler fails,
6759 just send SIGCANCEL.
6760 * nptl/pthread_create.c: Forward-declare create_thread before
6761 including createthread.c.
6762 (start_thread): Use new macro START_THREAD_DEFN to replace defining
6763 declaration, and new macro START_THREAD_SELF to replace argument.
6764 Remove return statement.
6765 (report_thread_creation): New function.
6766 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
6767 synchronization logic, and __nptl_nthreads increment here, around
6768 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
6769 PD->parent_cancelhandling here, before create_thread. When
6770 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
6771 __deallocate_stack, and ENOMEM translation here.
6773 2014-11-18 Joseph Myers <joseph@codesourcery.com>
6776 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
6777 (mptwo): Rename to __mptwo.
6778 (__inv): Use __mptwo instead of mptwo.
6779 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
6780 (mptwo): Rename to __mptwo.
6781 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
6782 of mpone and __mptwo instead of mptwo.
6783 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
6785 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6786 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
6787 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
6788 of mpone and __mptwo instead of mptwo.
6789 (__mpranred): Use __mpone instead of mpone.
6790 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
6792 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
6793 (test-xfail-ISO99/math.h/linknamespace): Likewise.
6794 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
6795 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
6796 (test-xfail-ISO11/math.h/linknamespace): Likewise.
6797 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
6798 (test-xfail-XPG3/math.h/linknamespace): Likewise.
6799 (test-xfail-XPG4/math.h/linknamespace): Likewise.
6800 (test-xfail-POSIX/math.h/linknamespace): Likewise.
6801 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
6802 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
6803 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6804 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6805 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6806 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6807 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6808 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6809 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6810 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6812 2014-11-18 Tom de Vries <tom@codesoucery.com>
6814 * manual/signal.texi (Primitives Interrupted by Signals): In section,
6815 replace BSD Handler xref with BSD Signal Handling.
6817 2014-11-17 Richard Henderson <rth@redhat.com>
6819 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
6820 (_FP_PACK_RAW_2): Remove.
6821 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
6822 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
6823 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
6824 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
6825 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
6826 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
6827 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
6828 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
6829 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
6830 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
6831 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
6832 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
6833 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
6834 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
6835 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
6836 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
6838 2014-11-14 Roland McGrath <roland@hack.frob.com>
6840 * signal/signal.h [__USE_MISC]
6841 (struct sigvec): Remove type.
6842 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
6843 (sigvec): Remove declaration.
6844 * sysdeps/posix/sigvec.c: Moved ...
6845 * signal/sigvec.c: ... here, replacing old file.
6846 (struct sigvec): New type, copied from old signal.h definition.
6847 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
6848 (__sigvec): Convert definition to prototype.
6849 (sigvec): Replace weak_alias with compat_symbol.
6850 * signal/Versions (libc: GLIBC_2.21): New version set.
6851 * include/signal.h: Remove __sigvec declaration.
6852 * sysdeps/unix/bsd/sigvec.c: Remove file.
6853 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
6854 * manual/signal.texi (BSD Handler): Remove subsection.
6855 Move siginterrupt up to ...
6856 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
6857 (Blocking in BSD): Fold subsection into its parent.
6858 * NEWS: Mention sigvec removal.
6860 2014-11-14 Joseph Myers <joseph@codesourcery.com>
6862 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
6863 (DLA_FMS): Make definition conditional only on [__FMA4__].
6864 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
6867 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
6868 Make definition conditional only on [PROF].
6869 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
6871 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
6872 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
6874 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
6876 * include/signal.h (__sigpause): Move declaration above call to
6878 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
6880 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
6881 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
6883 2014-11-14 David S. Miller <davem@davemloft.net>
6885 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
6886 Define before including <string/memcpy.c> and <string/mempcpy.c>.
6888 2014-11-14 Joseph Myers <joseph@codesourcery.com>
6890 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
6891 * configure: Regenerated.
6892 * manual/install.texi (Tools for Compilation): Document a
6893 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
6894 compiler verified to work.
6895 * INSTALL: Regenerated.
6897 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
6898 redeclare with asm name.
6899 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
6900 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
6901 including <string.h>.
6902 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6903 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
6904 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6905 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
6906 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6907 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
6908 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6910 2014-11-13 Joseph Myers <joseph@codesourcery.com>
6912 * stdlib/strtol.c (__strtol): Use prototype definition.
6915 * stdlib/strtol.c (SYM__): New macro.
6917 (__strtol): Likewise.
6918 (strtol): Rename to __strtol and define as weak alias of
6919 __strtol. Use libc_hidden_weak.
6921 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6923 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
6924 Use numbered labels in inline assembly.
6926 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6928 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
6929 Add setjmp LIBC_PROBE.
6930 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
6932 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
6933 Add longjmp, longjmp_target LIBC_PROBE.
6934 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
6937 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6939 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6940 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
6941 to get rid of unused variable warning.
6943 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6945 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
6946 Check for unwind_backtrace == NULL only in SHARED case.
6947 (__backchain_backtrace): Compile only in SHARED case.
6948 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
6950 (__backchain_backtrace): Declare as static.
6952 2014-11-12 Roland McGrath <roland@hack.frob.com>
6954 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
6955 (__libc_multiple_threads_ptr): Variable moved ...
6956 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
6958 2014-11-12 Joseph Myers <joseph@codesourcery.com>
6960 * conform/GlibcConform.pm: New file.
6961 * conform/conformtest.pl: Use GlibcConform module.
6962 * conform/linknamespace.pl: New file.
6963 * conform/list-header-symbols.pl: Likewise.
6964 * conform/Makefile (linknamespace-symlists-base): New variable.
6965 (linknamespace-symlists-tests): Likewise.
6966 (linknamespace-header-base): Likewise.
6967 (linknamespace-header-tests): Likewise.
6968 (tests-special): Add new tests.
6969 ($(linknamespace-symlists-tests)): New rule.
6970 (linknamespace-libs): New variable.
6971 ($(objpfx)symlist-stdlibs): New rule.
6972 ($(linknamespace-header-tests)): Likewise.
6973 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
6974 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
6975 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
6976 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
6977 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
6978 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
6979 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
6980 (test-xfail-ISO/math.h/linknamespace): Likewise.
6981 (test-xfail-ISO/signal.h/linknamespace): Likewise.
6982 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
6983 (test-xfail-ISO/time.h/linknamespace): Likewise.
6984 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
6985 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
6986 (test-xfail-ISO99/math.h/linknamespace): Likewise.
6987 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
6988 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
6989 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
6990 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
6991 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6992 (test-xfail-ISO11/math.h/linknamespace): Likewise.
6993 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
6994 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
6995 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
6996 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6997 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
6998 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
6999 (test-xfail-XPG3/math.h/linknamespace): Likewise.
7000 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
7001 (test-xfail-XPG3/search.h/linknamespace): Likewise.
7002 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
7003 (test-xfail-XPG3/time.h/linknamespace): Likewise.
7004 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
7005 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
7006 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
7007 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
7008 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
7009 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
7010 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
7011 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
7012 (test-xfail-XPG4/math.h/linknamespace): Likewise.
7013 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
7014 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
7015 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
7016 (test-xfail-XPG4/search.h/linknamespace): Likewise.
7017 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
7018 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
7019 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
7020 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
7021 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
7022 (test-xfail-XPG4/time.h/linknamespace): Likewise.
7023 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
7024 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
7025 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
7026 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
7027 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
7028 (test-xfail-POSIX/math.h/linknamespace): Likewise.
7029 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
7030 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
7031 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
7032 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7033 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
7034 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
7035 (test-xfail-POSIX/time.h/linknamespace): Likewise.
7036 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
7037 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
7038 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7039 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
7040 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
7041 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
7042 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
7043 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
7044 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7045 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
7046 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
7047 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
7048 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
7049 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
7050 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
7051 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
7052 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
7053 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
7054 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
7055 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
7056 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
7057 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
7058 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
7059 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
7060 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
7061 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
7062 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
7063 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
7064 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
7065 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
7066 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
7067 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
7068 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
7069 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
7070 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7071 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
7072 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7073 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
7074 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
7075 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
7076 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
7077 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
7078 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
7079 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
7080 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
7081 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
7082 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
7083 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
7084 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
7085 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
7086 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
7087 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
7088 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
7089 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
7090 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
7091 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
7092 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
7093 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
7094 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
7095 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
7096 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
7097 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
7098 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
7099 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
7100 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
7101 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
7102 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
7103 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
7104 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
7105 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
7106 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
7107 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
7108 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
7109 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
7110 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
7111 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
7112 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
7113 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
7114 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
7115 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
7116 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
7117 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
7118 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
7119 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
7120 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
7121 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
7122 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
7123 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
7124 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
7125 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
7126 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
7127 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
7128 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
7129 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
7130 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
7131 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
7132 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
7133 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
7136 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
7140 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
7141 (memmem): Rename to __memmem and define as weak alias of
7142 __memmem. Use libc_hidden_weak.
7143 (__memmem): Use libc_hidden_def.
7144 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
7145 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
7149 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
7150 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
7151 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
7152 and define as weak alias of __fgets_unlocked. Use
7154 (__fgets_unlocked): Use libc_hidden_def.
7155 * include/stdio.h (__fgets_unlocked): Declare. Use
7157 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
7158 __fgets_unlocked instead of fgets_unlocked.
7159 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
7160 (GET_NPROCS_CONF_PARSER): Likewise.
7161 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
7162 (GET_NPROCS_CONF_PARSER): Likewise.
7165 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
7166 weak alias of __wmemset. Use libc_hidden_weak.
7167 (__wmemset): Use libc_hidden_def.
7168 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
7169 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
7173 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
7174 with asm name __mempcpy.
7175 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
7178 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
7179 and define as weak alias of __rawmemchr.
7180 (__rawmemchr): Do not define as strong alias of rawmemchr.
7183 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
7185 (qsort): Call __qsort_r instead of qsort_r.
7186 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
7187 (__qsort_r): Declare. Call libc_hidden_proto.
7188 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
7190 * nscd/gai.c (__qsort_r): Define to qsort_r.
7191 * posix/tst-rfc3484.c (__qsort_r): Likewise.
7192 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
7193 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
7196 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
7197 define as weak alias of __malloc_info.
7200 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
7201 as weak alias of __rewinddir. Don't use libc_hidden_def.
7202 (__rewinddir): Use libc_hidden_def.
7203 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
7204 as weak alias of __rewinddir. Don't use libc_hidden_def.
7205 (__rewinddir): Use libc_hidden_def.
7206 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
7207 weak alias of __rewinddir. Don't use libc_hidden_def.
7208 (__rewinddir): Use libc_hidden_def.
7209 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
7210 (__rewinddir): Use libc_hidden_proto.
7211 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
7213 (__getcwd): Use __rewinddir instead of rewinddir.
7216 * libio/fileno.c (fileno): Rename to __fileno and define as weak
7217 alias of __fileno. Use libc_hidden_weak.
7218 (__fileno): Use libc_hidden_def.
7219 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
7220 * libio/ftello.c (ftello): Rename to __ftello and define as weak
7222 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
7224 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
7225 (__fread_unlocked): Define as strong alias of _IO_fread. Use
7227 (fread_unlocked): Don't use libc_hidden_ver.
7228 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
7229 and define as weak alias of __fread_unlocked. Don't use
7231 (__fread_unlocked): Use libc_hidden_def.
7232 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
7233 (ftello): Don't use libc_hidden_proto.
7234 (__ftello): Declare. Use libc_hidden_proto.
7235 (fread_unlocked): Don't use libc_hidden_proto.
7236 (__fread_unlocked): Declare. Use libc_hidden_proto.
7237 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
7238 and __ftello instead of fileno, fread_unlocked and ftello.
7240 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7242 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
7244 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
7246 (_dl_start_user): Likewise.
7247 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
7249 2014-11-12 Carlos O'Donell <carlos@redhat.com>
7250 Siddhesh Poyarekar <siddhesh@redhat.com>
7252 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
7253 Move argv and envp down instead of moving argc up.
7254 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
7256 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
7259 * test-skeleton.c (main): Return successful if one of
7260 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
7261 * string/tst-strcoll-overflow.c: Define expected status.
7263 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
7266 * locale/iso-639.def: Define Bhili and Tulu language codes.
7268 2014-11-11 Alan Hayward <alan.hayward@arm.com>
7270 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
7272 2014-11-10 Renlin Li <Renlin.Li@arm.com>
7275 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
7277 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
7279 * configure.ac: Updated check of minimal required version to
7281 * manual/install.texi (Tools for Compilation): Updated version
7283 * configure: Regenerated.
7284 * INSTALL: Likewise.
7286 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
7288 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
7291 2014-11-07 Joseph Myers <joseph@codesourcery.com>
7293 * include/sys/wait.h (__libc_waitpid): Remove declaration.
7294 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
7295 (__waitpid): Don't define as alias. Use libc_hidden_def not
7297 (waitpid): Define as alias of __waitpid.
7298 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
7300 (__waitpid): Don't define as alias. Use libc_hidden_def not
7302 (waitpid): Define as alias of __waitpid.
7303 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
7304 __libc_waitpid alias.
7305 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
7306 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
7308 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
7309 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
7310 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
7312 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
7314 (__waitpid): Don't define as alias. Use libc_hidden_def not
7316 (waitpid): Define as alias of __waitpid.
7318 2014-11-06 Carlos O'Donell <carlos@redhat.com>
7320 * manual/llio.texi: Add comment that write safety has been
7323 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
7324 (localplt-build-dso): Add elf/ld.so.
7325 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
7326 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
7328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
7329 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
7330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
7332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7334 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
7335 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
7336 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
7337 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
7338 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
7339 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
7340 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
7341 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
7342 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
7343 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
7344 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
7346 2014-11-05 Joseph Myers <joseph@codesourcery.com>
7349 * include/libc-symbols.h (INTUSE): Remove macro.
7351 (INTVARDEF): Likewise.
7352 (_INTVARDEF): Likewise.
7353 (INTDEF2): Likewise.
7354 (INTVARDEF2): Likewise.
7355 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
7356 rtld_hidden_def instead of INTVARDEF.
7357 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
7358 (_dl_starting_up_internal): Remove declaration.
7359 (_dl_starting_up): Use rtld_hidden_proto.
7360 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
7362 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
7363 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
7365 * elf/dl-writev.h (_dl_writev): Likewise.
7366 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
7367 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
7368 _dl_starting_up_internal.
7370 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7372 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
7375 2014-11-05 Will Newton <will.newton@linaro.org>
7377 * benchtests/Makefile: (bench-malloc): Add malloc thread
7378 scalability benchmark.
7379 * benchtests/bench-malloc-threads.c: New file.
7381 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
7383 * sysdeps/aarch64/strchrnul.S: New file.
7385 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7387 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
7389 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7391 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7393 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7395 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7397 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7400 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
7402 * catgets/test-gencat.c: Use test-skeleton.c.
7403 * catgets/tst-catgets.c: Likewise.
7404 * csu/tst-empty.c: Likewise.
7405 * elf/tst-audit2.c: Likewise.
7406 * elf/tst-global1.c: Likewise.
7407 * elf/tst-pathopt.c: Likewise.
7408 * elf/tst-piemod1.c: Likewise.
7409 * elf/tst-tls10.c: Likewise.
7410 * elf/tst-tls11.c: Likewise.
7411 * elf/tst-tls12.c: Likewise.
7412 * gnulib/tst-gcc.c: Likewise.
7413 * iconvdata/tst-e2big.c: Likewise.
7414 * iconvdata/tst-loading.c: Likewise.
7415 * iconv/tst-iconv1.c: Likewise.
7416 * iconv/tst-iconv2.c: Likewise.
7417 * inet/test-inet6_opt.c: Likewise.
7418 * inet/tst-gethnm.c: Likewise.
7419 * inet/tst-network.c: Likewise.
7420 * inet/tst-ntoa.c: Likewise.
7421 * intl/tst-codeset.c: Likewise.
7422 * intl/tst-gettext2.c: Likewise.
7423 * intl/tst-gettext3.c: Likewise.
7424 * intl/tst-ngettext.c: Likewise.
7425 * intl/tst-translit.c: Likewise.
7426 * io/test-stat.c: Likewise.
7427 * libio/test-fmemopen.c: Likewise.
7428 * libio/tst-freopen.c: Likewise.
7429 * libio/tst-sscanf.c: Likewise.
7430 * libio/tst-ungetwc1.c: Likewise.
7431 * libio/tst-ungetwc2.c: Likewise.
7432 * libio/tst-widetext.c: Likewise.
7433 * localedata/tst-ctype.c: Likewise.
7434 * localedata/tst-digits.c: Likewise.
7435 * localedata/tst-leaks.c: Likewise.
7436 * localedata/tst-mbswcs1.c: Likewise.
7437 * localedata/tst-mbswcs2.c: Likewise.
7438 * localedata/tst-mbswcs3.c: Likewise.
7439 * localedata/tst-mbswcs4.c: Likewise.
7440 * localedata/tst-mbswcs5.c: Likewise.
7441 * localedata/tst-setlocale.c: Likewise.
7442 * localedata/tst-trans.c: Likewise.
7443 * localedata/tst-wctype.c: Likewise.
7444 * localedata/tst-xlocale1.c: Likewise.
7445 * login/tst-grantpt.c: Likewise.
7446 * malloc/tst-calloc.c: Likewise.
7447 * malloc/tst-malloc.c: Likewise.
7448 * malloc/tst-mallocstate.c: Likewise.
7449 * malloc/tst-mcheck.c: Likewise.
7450 * malloc/tst-mtrace.c: Likewise.
7451 * malloc/tst-obstack.c: Likewise.
7452 * math/atest-exp2.c: Likewise.
7453 * math/atest-exp.c: Likewise.
7454 * math/atest-sincos.c: Likewise.
7455 * math/test-matherr.c: Likewise.
7456 * math/test-misc.c: Likewise.
7457 * math/test-powl.c: Likewise.
7458 * math/tst-definitions.c: Likewise.
7459 * misc/tst-dirname.c: Likewise.
7460 * misc/tst-efgcvt.c: Likewise.
7461 * misc/tst-fdset.c: Likewise.
7462 * misc/tst-hsearch.c: Likewise.
7463 * misc/tst-mntent2.c: Likewise.
7464 * nptl/tst-sem7.c: Likewise.
7465 * nptl/tst-sem8.c: Likewise.
7466 * nptl/tst-sem9.c: Likewise.
7467 * nss/test-netdb.c: Likewise.
7468 * posix/tst-fnmatch.c: Likewise.
7469 * posix/tst-getlogin.c: Likewise.
7470 * posix/tst-gnuglob.c: Likewise.
7471 * posix/tst-mmap.c: Likewise.
7472 * pwd/tst-getpw.c: Likewise.
7473 * resolv/tst-inet_ntop.c: Likewise.
7474 * rt/tst-timer.c: Likewise.
7475 * stdio-common/test-fseek.c: Likewise.
7476 * stdio-common/test-popen.c: Likewise.
7477 * stdio-common/test-vfprintf.c: Likewise.
7478 * stdio-common/tst-cookie.c: Likewise.
7479 * stdio-common/tst-fileno.c: Likewise.
7480 * stdio-common/tst-gets.c: Likewise.
7481 * stdio-common/tst-obprintf.c: Likewise.
7482 * stdio-common/tst-perror.c: Likewise.
7483 * stdio-common/tst-sprintf2.c: Likewise.
7484 * stdio-common/tst-sprintf3.c: Likewise.
7485 * stdio-common/tst-sprintf.c: Likewise.
7486 * stdio-common/tst-swprintf.c: Likewise.
7487 * stdio-common/tst-tmpnam.c: Likewise.
7488 * stdio-common/tst-unbputc.c: Likewise.
7489 * stdio-common/tst-wc-printf.c: Likewise.
7490 * stdlib/tst-environ.c: Likewise.
7491 * stdlib/tst-fmtmsg.c: Likewise.
7492 * stdlib/tst-limits.c: Likewise.
7493 * stdlib/tst-rand48-2.c: Likewise.
7494 * stdlib/tst-rand48.c: Likewise.
7495 * stdlib/tst-random2.c: Likewise.
7496 * stdlib/tst-random.c: Likewise.
7497 * stdlib/tst-strtol.c: Likewise.
7498 * stdlib/tst-strtoll.c: Likewise.
7499 * stdlib/tst-tls-atexit.c: Likewise.
7500 * stdlib/tst-xpg-basename.c: Likewise.
7501 * string/test-ffs.c: Likewise.
7502 * string/tst-bswap.c: Likewise.
7503 * string/tst-inlcall.c: Likewise.
7504 * string/tst-strtok.c: Likewise.
7505 * string/tst-strxfrm.c: Likewise.
7506 * sysdeps/x86_64/tst-audit10.c: Likewise.
7507 * sysdeps/x86_64/tst-audit3.c: Likewise.
7508 * sysdeps/x86_64/tst-audit4.c: Likewise.
7509 * sysdeps/x86_64/tst-audit5.c: Likewise.
7510 * time/tst-ftime_l.c: Likewise.
7511 * time/tst-getdate.c: Likewise.
7512 * time/tst-mktime3.c: Likewise.
7513 * time/tst-mktime.c: Likewise.
7514 * time/tst-posixtz.c: Likewise.
7515 * time/tst-strptime2.c: Likewise.
7516 * time/tst-strptime3.c: Likewise.
7517 * wcsmbs/tst-btowc.c: Likewise.
7518 * wcsmbs/tst-mbrtowc.c: Likewise.
7519 * wcsmbs/tst-mbsrtowcs.c: Likewise.
7520 * wcsmbs/tst-wchar-h.c: Likewise.
7521 * wcsmbs/tst-wcpncpy.c: Likewise.
7522 * wcsmbs/tst-wcrtomb.c: Likewise.
7523 * wcsmbs/tst-wcsnlen.c: Likewise.
7524 * wcsmbs/tst-wcstof.c: Likewise.
7526 2014-11-04 Joseph Myers <joseph@codesourcery.com>
7529 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
7531 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
7533 (_dl_mcount): Use rtld_hidden_proto.
7534 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
7536 * elf/rtld.c (_rtld_global_ro): Likewise.
7539 * elf/dl-init.c (_dl_init): Don't use INTDEF.
7540 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
7541 of _dl_init_internal.
7542 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
7543 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
7544 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
7545 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
7546 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
7547 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
7548 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
7549 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
7550 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
7551 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
7552 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
7553 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
7554 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7555 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7556 * sysdeps/tile/dl-start.S (_start): Likewise.
7557 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
7558 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
7561 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
7562 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
7563 (rtld_progname): Make macro definition unconditional.
7564 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
7566 (dlmopen_doit): Do not use INTUSE with _dl_argv.
7567 (dl_main): Likewise.
7568 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7569 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
7570 instead of _dl_argv_internal.
7571 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
7572 __GI__dl_argv instead of INTUSE(_dl_argv).
7573 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
7574 __GI__dl_argv instead of _dl_argv_internal.
7576 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
7577 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
7579 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
7580 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
7582 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
7583 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
7585 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
7586 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
7588 2014-11-04 Andreas Schwab <schwab@suse.de>
7590 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
7592 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7594 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
7595 mtvsrd instruction in binary form.
7597 2014-11-03 Andreas Schwab <schwab@suse.de>
7600 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
7601 for less than MB_LEN_MAX use a local buffer of that size.
7602 * libio/tst-fputws.c: New file.
7603 * libio/Makefile (tests): Add tst-fputws.
7605 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
7607 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
7608 the size of the fpu_fr.fpu_dregs[] array.
7610 2014-11-01 Joseph Myers <joseph@codesourcery.com>
7612 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
7613 (__nanosleep): Do not define as alias.
7614 (nanosleep): Define as alias of __nanosleep.
7615 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
7616 __libc_nanosleep name.
7618 2014-10-31 Joseph Myers <joseph@codesourcery.com>
7620 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
7621 install.texi in comment.
7623 2014-10-31 Torvald Riegel <triegel@redhat.com>
7625 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
7626 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
7627 ... add here and use lwsync or sync ...
7628 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
7629 ... and add here using lwsync.
7631 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
7633 * elf/dl-machine-reject-phdr.h: New file.
7634 * elf/dl-load.c: #include that.
7635 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
7636 if that returned true.
7638 2014-10-31 Roland McGrath <roland@hack.frob.com>
7641 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
7642 gen-as-const-headers chunk. Add a big scare comment after the last
7643 safe place to touch before-compile.
7645 2014-10-31 Joseph Myers <joseph@codesourcery.com>
7647 * manual/install.texi (Tools for Compilation): Update autoconf
7648 version requirements.
7649 * INSTALL: Regenerated.
7651 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
7652 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
7653 (__libc_pselect): Likewise.
7656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
7657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7661 2014-10-31 Torvald Riegel <triegel@redhat.com>
7663 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
7664 correct barrier instruction.
7665 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
7667 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
7670 2014-10-30 Roland McGrath <roland@hack.frob.com>
7672 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
7673 after defining inlines. Instead, just use parens to defeat macro
7674 expansion of __isctype in its declaration.
7676 2014-10-30 Joseph Myers <joseph@codesourcery.com>
7678 * include/sys/uio.h (__libc_readv): Remove declaration.
7679 (__libc_writev): Likewise.
7680 * misc/readv.c (__libc_readv): Rename to __readv.
7681 (__readv): Do not define as alias.
7682 (readv): Define as alias of __readv.
7683 * misc/writev.c (__libc_writev): Rename to __writev.
7684 (__writev): Do not define as alias.
7685 (writev): Define as alias of __writev.
7686 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
7687 (__readv): Do not define as alias.
7688 (readv): Define unconditionally as alias of __readv.
7689 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
7690 (__writev): Do not define as alias.
7691 (writev): Define unconditionally as alias of __writev.
7692 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
7694 (writev): Do not define __libc_writev name.
7696 2014-10-30 Roland McGrath <roland@hack.frob.com>
7698 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
7699 (convert_charseq): New function, broken out of ...
7700 (use_from_charmap): ... here. Call it.
7701 (use_to_charmap): Use convert_charseq and free instead of duplicating
7702 its code with a variable-length stack struct.
7704 2014-10-30 Joseph Myers <joseph@codesourcery.com>
7706 * include/fcntl.h (__libc_creat): Remove declaration.
7707 * io/creat.c (__libc_creat): Rename to creat.
7708 (creat): Do not define as alias.
7709 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
7710 of creat instead of __libc_creat.
7711 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
7713 (creat): Do not define as alias.
7714 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
7716 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
7718 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
7721 2014-10-29 Carlos O'Donell <carlos@redhat.com>
7723 * manual/llio.texi: Add comments discussing why write() may be
7724 considered MT-unsafe on Linux.
7726 2014-10-28 Carlos O'Donell <carlos@redhat.com>
7728 * dl-load.c (local_strdup): Remove.
7729 (expand_dynamic_string_token): Use __strdup.
7730 (decompose_rpath): Likewise.
7731 (_dl_map_object): Likewise.
7733 2014-10-28 Joseph Myers <joseph@codesourcery.com>
7736 * sysdeps/generic/unwind-dw2-fde.c
7737 (__register_frame_info_bases_internal): Do not declare.
7738 (__register_frame_info_table_bases_internal): Likewise.
7739 (__deregister_frame_info_bases_internal): Likewise.
7740 (__register_frame_info_bases): Declare and use hidden_proto before
7741 definition. Use hidden_def instead of INTDEF.
7742 (__register_frame_info_table_bases): Likewise.
7743 (__deregister_frame_info_bases): Likewise.
7744 (__register_frame_info): Do not use INTUSE.
7745 (__register_frame): Likewise.
7746 (__register_frame_info_table): Likewise.
7747 (__register_frame_table): Likewise.
7748 (__deregister_frame_info): Likewise.
7749 (__deregister_frame): Likewise.
7751 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
7753 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7754 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
7756 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
7758 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
7761 2014-10-27 Joseph Myers <joseph@codesourcery.com>
7764 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
7765 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
7766 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
7767 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
7768 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
7769 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
7770 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
7771 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
7772 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
7773 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
7774 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
7775 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
7776 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
7778 (setfsuid): Likewise.
7779 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
7780 (setfsuid): Likewise.
7781 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
7782 (setfsuid): Likewise.
7783 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
7785 (setfsuid): Likewise.
7786 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
7787 (setfsuid): Likewise.
7788 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
7790 (setfsuid): Likewise.
7792 2014-10-27 Andreas Schwab <schwab@suse.de>
7795 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
7796 check for Slow_SSE4_2 feature bit.
7797 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
7798 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
7799 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
7800 Likewise. Fix check for Fast_Unaligned_Load feature bit.
7802 2014-10-24 Roland McGrath <roland@hack.frob.com>
7804 * configure.ac: Validate compiler version with a empirical test of
7805 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
7807 * configure: Regenerated.
7809 * inet/htons.c (htons): Prototypify.
7810 * inet/htonl.c (htonl): Likewise.
7812 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7814 * string/strncat.c (strncat): Improve performance by using strlen.
7816 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7818 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
7820 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7822 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
7823 Call libc_fetestexcept_aarch64.
7825 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7827 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
7828 Call libc_feholdexcept_aarch64.
7830 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7832 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
7833 Call get_rounding_mode.
7835 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7837 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7840 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7842 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
7845 2014-10-24 Joseph Myers <joseph@codesourcery.com>
7848 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
7849 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
7850 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
7851 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
7852 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
7853 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
7854 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
7855 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
7856 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
7857 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
7858 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7859 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
7860 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
7861 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
7862 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
7863 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
7864 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
7865 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
7866 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
7867 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
7868 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
7869 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
7870 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
7871 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
7872 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
7873 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
7874 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
7875 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
7876 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
7877 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
7878 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
7879 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
7880 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
7881 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
7882 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
7883 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
7884 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
7885 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
7886 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
7887 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
7888 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
7890 (geteuid): Likewise.
7893 (getresgid): Likewise.
7894 (getresuid): Likewise.
7895 (getgroups): Likewise.
7896 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
7897 (geteuid): Likewise.
7900 (getresgid): Likewise.
7901 (getresuid): Likewise.
7902 (getgroups): Likewise.
7903 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
7904 (geteuid): Likewise.
7907 (getresgid): Likewise.
7908 (getresuid): Likewise.
7909 (getgroups): Likewise.
7910 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
7912 (geteuid): Likewise.
7915 (getresgid): Likewise.
7916 (getresuid): Likewise.
7917 (getgroups): Likewise.
7918 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
7919 (geteuid): Likewise.
7922 (getresgid): Likewise.
7923 (getresuid): Likewise.
7924 (getgroups): Likewise.
7925 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
7927 (geteuid): Likewise.
7930 (getgroups): Likewise.
7933 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
7934 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
7935 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
7936 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7937 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
7938 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
7939 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
7940 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
7941 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
7942 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
7943 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
7944 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
7945 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
7947 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
7950 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
7954 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
7957 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
7962 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7964 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
7967 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7969 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7972 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7974 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7975 Remove unused include.
7977 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7979 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
7980 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
7981 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
7982 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
7984 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
7985 Helge Deller <deller@gmx.de>
7988 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
7989 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
7990 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
7992 2014-10-23 Joseph Myers <joseph@codesourcery.com>
7995 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
7996 Remove macro definition.
7997 (__ashrdi3_v_glibc20): Likewise.
7998 (__lshrdi3_v_glibc20): Likewise.
7999 (__cmpdi2_v_glibc20): Likewise.
8000 (__ucmpdi2_v_glibc20): Likewise.
8001 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
8002 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8003 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8004 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8005 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8006 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
8008 2014-10-22 Roland McGrath <roland@hack.frob.com>
8010 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
8011 old GNU extension [0] syntax.
8012 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
8013 alloca rather than an array member with variable length.
8014 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
8015 * nscd/nscd.c (invalidate_db): New function, broken out of ...
8016 (parse_opt): ... here. Likewise use alloca there.
8017 Validate the -i argument before checking for rootness.
8018 (send_shutdown): New function, broken out of ...
8019 (parse_opt): ... here.
8021 2014-10-22 Roland McGrath <roland@hack.frob.com>
8023 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
8024 macro to get at the _rt_local_ro field.
8025 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
8026 ([PIC] case) or _dl_hwcap ([!PIC] case).
8027 * sysdeps/arm/setjmp.S: Likewise.
8029 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
8030 * sysdeps/arm/configure.ac: New check to define it.
8031 * sysdeps/arm/configure: Regenerated.
8032 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
8033 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
8034 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
8035 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
8036 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
8037 Use move/movt pair instead of a load.
8038 (LDST_GLOBAL): Macro removed.
8039 (LDR_GLOBAL): New macro replaces it.
8040 (LDR_HIDDEN): New macro.
8041 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
8042 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
8044 * setjmp/tst-setjmp-static.c: New file.
8045 * setjmp/Makefile (tests): Add it.
8046 (tests-static): New variable.
8048 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
8051 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
8053 2014-10-21 Joseph Myers <joseph@codesourcery.com>
8056 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
8058 2014-10-21 Roland McGrath <roland@hack.frob.com>
8060 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
8062 2014-10-20 Roland McGrath <roland@hack.frob.com>
8064 * io/fts.c (dirent_not_directory): New function.
8065 (fts_build): Call it.
8067 2014-10-20 Roland McGrath <roland@hack.frob.com>
8069 * nptl/version.c (__nptl_main): Use normal __write rather than
8071 (banner): Update copyright years.
8073 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
8075 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8076 * nptl/pthread_cond_timedwait.c: Likewise.
8077 * nptl/pthread_mutex_timedlock.c: Likewise.
8078 * nptl/sem_timedwait.c: Likewise.
8080 * sysdeps/nptl/bits/libc-lock.h
8081 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8082 (__libc_lock_init_recursive): Return void, not 0.
8083 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
8084 (__libc_rwlock_init): Likewise.
8085 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
8087 2014-10-20 Torvald Riegel <triegel@redhat.com>
8090 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
8091 (__pthread_once_slow): ... here.
8092 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
8093 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
8095 2014-10-20 Torvald Riegel <triegel@redhat.com>
8098 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
8099 __PTHREAD_ONCE_FORK_GEN_INCR): New.
8100 * sysdeps/nptl/fork.c (__libc_fork): Use them.
8101 * nptl/pthread_once.c (__pthread_once): Likewise.
8104 2014-10-20 Joseph Myers <joseph@codesourcery.com>
8107 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
8109 (writev): Use __libc_writev as strong name.
8110 * sysdeps/unix/sysv/linux/readv.c: Remove file.
8111 * sysdeps/unix/sysv/linux/writev.c: Likewise.
8113 2014-10-17 Roland McGrath <roland@hack.frob.com>
8115 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
8117 * sysdeps/i386/nptl/tls.h
8118 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
8119 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
8121 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
8122 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
8123 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
8124 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
8125 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
8126 Call CHECK_THREAD_SYSINFO instead of doing an assert.
8128 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
8129 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
8131 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
8133 (__pthread_mutex_init): ... here. Call it.
8134 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
8135 Conditionalize PI cases on [__NR_futex].
8136 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
8137 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
8138 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8140 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
8141 conditional on [SIGSETXID].
8142 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
8143 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
8144 is defined. Likewise for SIGSETXID.
8145 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
8146 Conditionalize definitions on [SIGSETXID].
8147 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
8148 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
8149 unblocking on [SIGCANCEL].
8151 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
8152 [__NR_set_robust_list].
8154 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8156 * string/strcoll_l.c (get_next_seq): Fix up formatting.
8157 (do_compare): Likewise.
8159 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
8162 * string/strcoll_l.c: Don't include stdio.h.
8163 (coll_seq): Remove members idxarr and rulearr.
8164 (get_next_seq_cached): Remove function.
8165 (get_next_seq): Likewise.
8166 (get_next_seq_nocache): Rename to get_next_seq.
8167 (do_compare): Remove function.
8168 (do_compare_nocache): Rename to do_compare.
8169 (STRCOLL): Remove weight and rules cache.
8171 2014-10-16 Roland McGrath <roland@hack.frob.com>
8173 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
8174 * sysdeps/arm/sfp-machine.h: ... to here.
8175 * sysdeps/arm/Implies: Remove arm/soft-fp.
8177 2014-10-14 Joseph Myers <joseph@codesourcery.com>
8179 * conform/data/sys/utsname.h-data (*_t): Allow.
8180 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
8181 [POSIX] (WEXITED): Do not expect constant.
8182 [POSIX] (WSTOPPED): Likewise.
8183 [POSIX] (WNOHANG): Likewise.
8184 [POSIX] (WNOWAIT): Likewise.
8185 [POSIX] (siginfo_t): Do not expect type or elements.
8186 [POSIX] (pid_t): Do not expect type.
8187 [POSIX] (signal.h): Do not allow header.
8188 [POSIX] (sys/resource.h): Likewise.
8189 [POSIX] (si_*): Do not allow pattern.
8190 [POSIX] (W*): Likewise.
8191 [POSIX] (P_*): Likewise.
8192 [POSIX] (BUS_*): Likewise.
8193 [POSIX] (CLD_*): Likewise.
8194 [POSIX] (FPE_*): Likewise.
8195 [POSIX] (ILL_*): Likewise.
8196 [POSIX] (POLL_*): Likewise.
8197 [POSIX] (SEGV_*): Likewise.
8198 [POSIX] (SI_*): Likewise.
8199 [POSIX] (TRAP_*): Likewise.
8200 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
8203 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
8206 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
8207 infinite loop when __recvmsg returns 0.
8209 2014-10-10 Joseph Myers <joseph@codesourcery.com>
8211 * CANCEL-FCT-WAIVE: Remove file.
8212 * CANCEL-FILE-WAIVE: Likewise.
8215 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
8216 instead of INTVARDEF.
8217 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
8218 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
8219 rtld_hidden_data_def instead of INTVARDEF.
8220 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
8221 * elf/dl-deps.c (expand_dst): Likewise.
8222 * elf/dl-load.c (_dl_dst_count): Likewise.
8223 (_dl_dst_substitute): Likewise.
8224 (decompose_rpath): Likewise.
8225 (_dl_init_paths): Likewise.
8226 (open_path): Likewise.
8227 (_dl_map_object): Likewise.
8228 * elf/rtld.c (dl_main): Likewise.
8229 (process_dl_audit): Likewise.
8230 (process_envvars): Likewise.
8231 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
8233 (__libc_enable_secure): Use rtld_hidden_proto.
8235 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8238 (add_path): New function broken out of _dl_rtld_di_serinfo.
8239 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
8241 2014-10-09 Joseph Myers <joseph@codesourcery.com>
8243 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
8244 parentheses around macro arguments.
8245 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
8246 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
8247 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
8248 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
8249 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
8250 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
8251 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
8252 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
8253 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
8254 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
8255 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
8256 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
8257 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
8258 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
8259 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
8260 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
8261 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
8262 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
8263 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
8264 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
8265 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
8266 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
8267 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
8268 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
8269 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
8270 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
8271 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
8272 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
8273 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
8274 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
8275 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
8276 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
8277 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
8278 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
8279 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
8280 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
8282 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
8283 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
8284 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
8285 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
8286 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
8287 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
8288 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
8289 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
8290 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
8291 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
8292 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
8293 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
8294 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
8295 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
8296 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
8297 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
8298 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
8299 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
8300 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
8301 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
8302 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
8303 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
8304 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
8305 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
8306 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
8307 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
8308 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
8309 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
8310 (_FP_FRAC_SRS_1): Likewise.
8311 (_FP_FRAC_CLZ_1): Likewise.
8312 (_FP_MUL_MEAT_1_imm): Likewise.
8313 (_FP_MUL_MEAT_1_wide): Likewise.
8314 (_FP_MUL_MEAT_1_hard): Likewise.
8315 (_FP_SQRT_MEAT_1): Likewise.
8316 (_FP_FRAC_ASSEMBLE_1): Likewise.
8317 (_FP_FRAC_DISASSEMBLE_1): Likewise.
8318 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
8319 (__FP_CLZ_2): Likewise.
8320 (_FP_MUL_MEAT_2_wide): Likewise.
8321 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8322 (_FP_MUL_MEAT_2_gmp): Likewise.
8323 (_FP_MUL_MEAT_2_120_240_double): Likewise.
8324 (_FP_SQRT_MEAT_2): Likewise.
8325 (_FP_FRAC_ASSEMBLE_2): Likewise.
8326 (_FP_FRAC_DISASSEMBLE_2): Likewise.
8327 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
8328 (_FP_FRAC_CLZ_4): Likewise.
8329 (_FP_MUL_MEAT_4_wide): Likewise.
8330 (_FP_MUL_MEAT_4_gmp): Likewise.
8331 (_FP_SQRT_MEAT_4): Likewise.
8332 (_FP_FRAC_ASSEMBLE_4): Likewise.
8333 (_FP_FRAC_DISASSEMBLE_4): Likewise.
8334 * soft-fp/op-common.h (_FP_CMP): Likewise.
8335 (_FP_CMP_EQ): Likewise.
8336 (_FP_CMP_UNORD): Likewise.
8337 (_FP_TO_INT): Likewise.
8338 (_FP_FROM_INT): Likewise.
8339 [!__FP_CLZ] (__FP_CLZ): Likewise.
8340 (_FP_DIV_HELP_imm): Likewise.
8341 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
8343 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
8344 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
8345 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
8346 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
8347 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
8348 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
8349 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
8350 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
8351 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
8352 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
8353 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
8354 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
8355 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
8356 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
8357 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
8358 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
8359 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
8360 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
8361 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
8362 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
8363 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
8364 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
8365 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
8366 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
8367 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
8368 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
8369 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
8370 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
8371 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
8372 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
8373 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
8374 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
8375 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
8376 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
8377 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
8378 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
8379 (FP_UNPACK_RAW_SP): Likewise.
8380 (FP_PACK_RAW_S): Likewise.
8381 (FP_PACK_RAW_SP): Likewise.
8382 (FP_UNPACK_S): Likewise.
8383 (FP_UNPACK_SP): Likewise.
8384 (FP_UNPACK_SEMIRAW_S): Likewise.
8385 (FP_UNPACK_SEMIRAW_SP): Likewise.
8386 (FP_PACK_S): Likewise.
8387 (FP_PACK_SP): Likewise.
8388 (FP_PACK_SEMIRAW_S): Likewise.
8389 (FP_PACK_SEMIRAW_SP): Likewise.
8390 (_FP_SQRT_MEAT_S): Likewise.
8391 (FP_CMP_S): Likewise.
8392 (FP_CMP_EQ_S): Likewise.
8393 (FP_CMP_UNORD_S): Likewise.
8394 (FP_TO_INT_S): Likewise.
8395 (FP_FROM_INT_S): Likewise.
8397 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
8399 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
8400 (FP_EX_INVALID_IMZ): Likewise.
8401 (FP_EX_INVALID_IMZ_FMA): Likewise.
8402 (FP_EX_INVALID_ISI): Likewise.
8403 (FP_EX_INVALID_ZDZ): Likewise.
8404 (FP_EX_INVALID_IDI): Likewise.
8405 (FP_EX_INVALID_SQRT): Likewise.
8406 (FP_EX_INVALID_CVI): Likewise.
8407 (FP_EX_INVALID_VC): Likewise.
8408 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
8409 "invalid" exceptions.
8410 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
8411 (_FP_ADD_INTERNAL): Likewise.
8412 (_FP_MUL): Likewise.
8413 (_FP_FMA): Likewise.
8414 (_FP_DIV): Likewise.
8415 (_FP_CMP_CHECK_NAN): Likewise.
8416 (_FP_SQRT): Likewise.
8417 (_FP_TO_INT): Likewise.
8418 (FP_EXTEND): Likewise.
8420 2014-10-09 Allan McRae <allan@archlinux.org>
8422 * po/fr.po: Update French translation from translation project.
8424 2014-10-09 Joseph Myers <joseph@codesourcery.com>
8427 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
8429 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
8430 (__cxa_atexit): Use libc_hidden_proto.
8431 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
8434 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
8436 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
8437 [!_ISOMAC] (__iswspace_l_internal): Likewise.
8438 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
8439 [!_ISOMAC] (__iswctype_internal): Likewise.
8440 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
8441 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
8443 (fcntl): Remove __fcntl_internal alias.
8444 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
8445 __connect_internal alias.
8446 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
8449 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
8450 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
8452 (_FP_CHECK_FLUSH_ZERO): New macro.
8453 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
8454 (_FP_CMP): Likewise.
8455 (_FP_CMP_EQ): Likewise.
8456 (_FP_TO_INT): Do not set inexact for subnormal arguments if
8458 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
8459 (FP_TRUNC): Likewise.
8461 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
8462 treated as invalid conversion, not as normal exponent.
8464 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
8465 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
8466 (_FP_CMP_EQ): Likewise.
8467 (_FP_CMP_UNORD): Likewise.
8468 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
8469 (FP_CMP_EQ_D): Likewise.
8470 (FP_CMP_UNORD_D): Likewise.
8471 * soft-fp/extended.h (FP_CMP_E): Likewise.
8472 (FP_CMP_EQ_E): Likewise.
8473 (FP_CMP_UNORD_E): Likewise.
8474 * soft-fp/quad.h (FP_CMP_Q): Likewise.
8475 (FP_CMP_EQ_Q): Likewise.
8476 (FP_CMP_UNORD_Q): Likewise.
8477 * soft-fp/single.h (FP_CMP_S): Likewise.
8478 (FP_CMP_EQ_S): Likewise.
8479 (FP_CMP_UNORD_S): Likewise.
8480 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
8481 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
8482 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
8483 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
8484 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
8485 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
8486 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
8487 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
8488 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
8489 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
8490 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
8491 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
8492 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
8494 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
8496 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
8497 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
8499 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
8501 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
8502 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
8503 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
8504 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
8506 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
8508 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
8509 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
8511 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
8513 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
8514 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
8515 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
8516 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
8519 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
8520 a subnormal result, set the underflow exception if trapping on
8521 underflow is enabled.
8522 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
8523 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
8524 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
8526 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
8527 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
8528 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
8529 * soft-fp/extendxftf2.c (__extendxftf2): Use
8530 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
8532 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
8533 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
8534 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8535 FP_HANDLE_EXCEPTIONS.
8536 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
8537 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8538 FP_HANDLE_EXCEPTIONS.
8539 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
8540 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8541 FP_HANDLE_EXCEPTIONS.
8542 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
8543 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8544 FP_HANDLE_EXCEPTIONS.
8546 2014-10-08 Joseph Myers <joseph@codesourcery.com>
8549 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
8550 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
8552 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
8553 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
8555 (__adjtimex): Define using libc_hidden_ver.
8556 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
8558 (ntp_gettime): Call __adjtimex directly.
8559 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
8561 (ntp_gettimex): Call __adjtimex directly.
8562 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
8563 __adjtimex_internal alias.
8565 2014-10-08 Roland McGrath <roland@hack.frob.com>
8568 * nscd/nscd.c (more_help): Rewrite list of tables collection
8569 using xstrdup and asprintf.
8571 * nscd/nscd_conf.c: Remove local xstrdup declaration.
8573 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8574 Roland McGrath <roland@hack.frob.com>
8576 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
8577 (do_lookup_unique): ... local function 'enter' here; update callers.
8579 2014-10-06 Joseph Myers <joseph@codesourcery.com>
8581 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
8582 compat_symbol calls on [SHARED].
8583 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
8584 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
8586 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8587 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
8588 (oldsetrlimit): Remove.
8589 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
8591 (lchown): New syscall entry.
8592 (oldsetrlimit): Remove.
8593 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8594 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
8595 (oldsetrlimit): Remove.
8596 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8599 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
8600 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
8601 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
8602 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
8603 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8604 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
8606 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
8608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
8611 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8613 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
8614 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
8615 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
8616 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
8617 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
8619 (__old_sem_post): Likewise.
8621 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
8623 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
8624 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
8625 HAVE_CLOCK_GETTIME_VSYSCALL macros.
8626 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
8627 Use INLINE_VSYSCALL macro.
8628 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
8629 __vdso_clock_gettime.
8630 * sysdeps/unix/sysv/linux/tile/init-first.c
8631 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
8632 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
8633 __vdso_clock_gettime.
8635 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
8636 to set up frame more cleanly.
8638 * sysdeps/tile/memcmp.c: New file.
8640 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
8642 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
8643 * sysdeps/tile/tilegx/strcasestr.c: New file.
8644 * sysdeps/tile/tilegx/strnlen.c: New file.
8645 * sysdeps/tile/tilegx/strstr.c: New file.
8647 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
8649 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
8651 * nptl/tst-setuid3.c: Write errors to stdout.
8653 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8656 (preload): New functions broken out of _dl_map_object_deps.
8657 (_dl_map_object_deps): Remove a nested function. Update call sites.
8659 2014-10-01 Joseph Myers <joseph@codesourcery.com>
8662 * sysdeps/unix/sysv/linux/execve.c: Remove file.
8663 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
8665 2014-10-01 Steve Ellcey <sellcey@mips.com>
8667 * sysdeps/mips/strcmp.S: New.
8669 2014-09-30 Joseph Myers <joseph@codesourcery.com>
8672 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
8674 (mkdirat): Likewise.
8675 (readlinkat): Likewise.
8676 (renameat): Likewise.
8677 (symlinkat): Likewise.
8678 (unlinkat): Likewise.
8679 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
8680 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
8681 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
8682 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
8683 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
8684 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
8685 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
8687 2014-09-30 Will Newton <will.newton@linaro.org>
8689 * math/math.h: Define long double math functions if
8690 _LIBC_TEST is defined.
8691 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
8693 * localedata/Makefile: Move assignment to tests-special
8694 into an ifdef testing run-built-tests.
8695 * timezone/Makefile: Likewise.
8697 2014-09-29 Joseph Myers <joseph@codesourcery.com>
8699 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
8700 with $(BASH) not $(SHELL).
8702 2014-09-29 Carlos O'Donell <carlos@redhat.com>
8703 Matthew LeGendre <legendre1@llnl.gov>
8706 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
8709 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8711 * stdio-common/printf_fp.c
8712 (hack_digit): New function, broken out of ...
8713 (__printf_fp): ... local function here. Update call sites.
8714 hack_digit now takes an additional parameter that is a pointer
8715 to a struct of the referenced locals. Those locals moved inside
8716 the struct and references updated.
8718 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
8720 * aclocal.m4: Require autoconf 2.69.
8721 * configure: Regenerated.
8722 * sysdeps/aarch64/configure: Likewise.
8723 * sysdeps/alpha/configure: Likewise.
8724 * sysdeps/arm/armv7/configure: Likewise.
8725 * sysdeps/arm/configure: Likewise.
8726 * sysdeps/ia64/configure: Likewise.
8727 * sysdeps/mach/configure: Likewise.
8728 * sysdeps/mips/configure: Likewise.
8729 * sysdeps/s390/configure: Likewise.
8730 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
8731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
8733 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
8735 * sysdeps/ia64/configure.ac: Likewise.
8737 2014-09-26 Joseph Myers <joseph@codesourcery.com>
8739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
8740 specify symbol version for ld.so. Do not include entry for
8742 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8743 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
8744 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8747 * Makeconfig [$(build-shared) = yes]
8748 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
8750 [$(build-shared) = yes && $(soversions.mk-done) = t]
8751 ($(common-objpfx)gnu/lib-names.h): Remove rule.
8752 [$(build-shared) = yes && $(soversions.mk-done) = t]
8753 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
8755 [$(build-shared) = yes && $(soversions.mk-done) = t]
8756 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
8758 [$(build-shared) = yes && $(soversions.mk-done) = t]
8759 (common-generated): Don't append gnu/lib-names.h and
8760 gnu/lib-names.stmp here.
8761 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
8762 (lib-names-h-abi): New variable.
8763 [$(build-shared) = yes && $(soversions.mk-done) = t]
8764 (lib-names-stmp-abi): Likewise.
8765 [$(build-shared) = yes && $(soversions.mk-done) = t &&
8766 abi-variants] (before-compile): Append
8767 $(common-objpfx)$(lib-names-h-abi).
8768 [$(build-shared) = yes && $(soversions.mk-done) = t &&
8769 abi-variants] (common-generated): Append gnu/lib-names.h.
8770 [$(build-shared) = yes && $(soversions.mk-done) = t &&
8771 abi-variants] (install-others-nosubdir): Depend on
8772 $(inst_includedir)/$(lib-names-h-abi).
8773 [$(build-shared) = yes && $(soversions.mk-done) = t &&
8774 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
8775 [$(build-shared) = yes && $(soversions.mk-done) = t]
8776 ($(common-objpfx)$(lib-names-h-abi)): New rule.
8777 [$(build-shared) = yes && $(soversions.mk-done) = t]
8778 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
8779 [$(build-shared) = yes && $(soversions.mk-done) = t]
8780 (common-generated): Append $(lib-names-h-abi) and
8781 $(lib-names-stmp-abi).
8782 * scripts/lib-names.awk: Do not handle multi being set.
8783 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
8785 (abi-lp64_be-ld-soname): Likewise.
8786 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
8788 (abi-hard-ld-soname): Likewise.
8789 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
8790 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
8792 (abi-o32_hard-ld-soname): Likewise.
8793 (abi-o32_soft_2008-ld-soname): Likewise.
8794 (abi-o32_hard_2008-ld-soname): Likewise.
8795 (abi-n32_soft-ld-soname): Likewise.
8796 (abi-n32_hard-ld-soname): Likewise.
8797 (abi-n32_soft_2008-ld-soname): Likewise.
8798 (abi-n32_hard_2008-ld-soname): Likewise.
8799 (abi-n64_soft-ld-soname): Likewise.
8800 (abi-n64_hard-ld-soname): Likewise.
8801 (abi-n64_soft_2008-ld-soname): Likewise.
8802 (abi-n64_hard_2008-ld-soname): Likewise.
8803 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
8805 (abi-64-v2-ld-soname): Likewise.
8806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
8808 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
8810 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
8812 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
8814 (abi-64-ld-soname): Likewise.
8815 (abi-x32-ld-soname): Likewise.
8816 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
8818 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8820 2014-09-23 Joseph Myers <joseph@codesourcery.com>
8823 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
8824 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
8825 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
8826 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
8827 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
8828 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
8829 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
8830 syscall entry for GLIBC_2.2 symbol version.
8831 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
8833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
8834 (setrlimit): Likewise.
8835 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
8838 2014-09-23 Will Newton <will.newton@linaro.org>
8840 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
8841 _LINUX_ARM_SYSDEP_H include guard too.
8842 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
8845 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
8847 * sysdeps/unix/sysv/linux/eventfd.c:
8848 Make first argument unsigned.
8849 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
8850 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
8852 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
8854 * socket/recvmmsg.c (recvmmsg): Drop const argument.
8855 * socket/sys/socket.h: Likewise
8856 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
8858 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8860 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
8862 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
8864 * time/tst-ftime.c: New test.
8865 * time/Makefile (tests): Add tst-ftime.
8867 2014-09-17 Joseph Myers <joseph@codesourcery.com>
8869 * soft-fp/extended.h: Fix comment formatting.
8870 * soft-fp/op-1.h: Likewise.
8871 * soft-fp/op-2.h: Likewise.
8872 * soft-fp/op-4.h: Likewise.
8873 * soft-fp/op-8.h: Likewise.
8874 * soft-fp/op-common.h: Likewise.
8875 * soft-fp/soft-fp.h: Likewise.
8877 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
8879 2014-09-16 Joseph Myers <joseph@codesourcery.com>
8882 * Makeconfig (soversions-default-setname): Remove variable.
8883 ($(common-objpfx)soversions.i): Don't pass default_setname to
8885 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
8886 oldest_abi to abi-versions.awk.
8887 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
8888 * config.make.in (oldest-abi): Remove variable.
8889 * configure.ac (--enable-oldest-abi): Remove configure option.
8890 * configure: Regenerated.
8891 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
8893 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
8894 * scripts/soversions.awk: Do not handle default_setname variable.
8895 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
8897 * sysdeps/mach/hurd/configure: Regenerated.
8898 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
8900 * sysdeps/unix/sysv/linux/configure: Regenerated.
8902 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8904 * elf/Makefile (CFLAGS-interp.c): Remove.
8905 ($(elf-objpfx)runtime-linker.h): Generate header with linker
8907 * elf/interp.c: Include generated runtime-linker.h
8909 * Makerules (lib%.so): Don't include $(+interp) in
8911 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
8912 * dlfcn/eval.c: Remove file.
8914 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
8918 * misc/sys/cdefs.h: Define __extern_always_inline for clang
8922 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
8924 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8925 Jakub Jelinek <jakub@redhat.com>
8928 * libio/stdio.h: Check definition of __fortify_function
8929 instead of __extern_always_inline to include bits/stdio2.h.
8930 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
8931 check if __extern_always_inline is defined.
8932 [__USE_MISC || __USE_XOPEN]: Likewise.
8933 [__USE_ISOC99] Likewise.
8934 * misc/sys/cdefs.h (__fortify_function): Define only if
8935 __extern_always_inline is defined.
8936 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
8937 __extern_always_inline and __extern_inline only for g++-4.3
8938 and newer or a compatible gcc.
8940 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
8943 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8944 last change to handle zero prefix length.
8946 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8948 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
8951 * posix/getconf.c (vars): Add _POSIX_IPV6 and
8954 2014-09-13 Allan McRae <allan@archlinux.org>
8956 * po/ru.po: Update Russian translation from translation project.
8958 2014-09-12 Roland McGrath <roland@hack.frob.com>
8960 * locale/programs/locale.c (show_locale_vars): Inline local function
8961 into its sole call site. Clean up some style nits.
8962 (print_item): New function, broken out of ...
8963 (show_info): ... local function here. Clean up style nits.
8965 * locale/programs/ld-ctype.c (set_one_default): New function, broken
8967 (set_class_defaults): ... local function set_default here.
8968 Define set_default as a macro locally to pass constant parameters.
8969 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
8970 rather than a shared local.
8972 * stdlib/rpmatch.c (try): New function, broken out of ...
8973 (rpmatch): ... local function here. Also, prototypify definition.
8975 2014-09-12 Joseph Myers <joseph@codesourcery.com>
8977 * scripts/soversions.awk: Do not handle configuration names.
8978 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
8979 vendor and os variables to soversions.awk.
8980 * configure.ac: Do not modify gnu-* host_os.
8981 * configure: Regenerated
8982 * shlib-versions: Remove first column with configuration names.
8983 * nptl/shlib-versions: Likewise.
8984 * nptl_db/shlib-versions: Likewise.
8985 * sysdeps/hppa/shlib-versions: Likewise.
8986 * sysdeps/m68k/shlib-versions: Likewise.
8987 * sysdeps/mach/hurd/shlib-versions: Likewise.
8988 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
8989 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
8990 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
8991 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
8992 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
8993 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
8994 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
8995 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
8996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8998 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8999 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
9000 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
9001 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
9002 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
9003 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
9004 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
9005 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9008 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
9009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
9011 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
9012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
9013 Condition symbol version definitions on [HAVE_ELFV2_ABI].
9015 * shlib-versions: Remove OS-specific entries. Moved to files in
9017 * sysdeps/mach/hurd/shlib-versions: New file.
9018 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
9020 * nptl/shlib-versions: Remove architecture-specific entries.
9021 Moved to files in sysdeps.
9022 * shlib-versions: Likewise.
9023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
9025 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9026 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
9027 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
9028 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
9030 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
9031 (UDP_NO_CHECK6_RX): Likewise.
9033 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9035 * sysdeps/posix/sysconf.c (__sysconf): Spell
9036 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
9038 2014-08-12 Florian Weimer <fweimer@redhat.com>
9040 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
9042 * iconv/Versions (__gconv_transliterate): Export for use from
9044 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
9045 (struct __gconv_trans_data, __gconv_trans_fct,
9046 __gconv_trans_context_fct, __gconv_trans_query_fct,
9047 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
9049 (struct __gconv_step_data): Remove __trans member.
9050 (__gconv_transliterate): Declaration moved from gconv_int.h. No
9051 longer hidden. Remove unused trans_data argument.
9052 * iconv/gconv_int.h (struct trans_struct): Remove definition.
9053 (__gconv_translit_find): Remove declaration.
9054 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
9056 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
9057 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
9058 trans_data argument. Add hidden definition.
9059 (__gconv_translit_find): Remove.
9060 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
9061 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
9062 * iconv/skeleton.c: Remove transliteration initialization.
9063 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
9064 __gconv_step_data initialization.
9065 * libio/iofwide.c (__libio_translit_): Remove.
9066 (_IO_fwide): Adjust struct __gconv_step_data initialization.
9067 * wcsmbs/btowc.c (__btowc): Likewise.
9068 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9069 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9070 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
9071 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
9072 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
9073 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
9074 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
9075 * wcsmbs/wctob.c (wctob): Likewise.
9077 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9080 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
9081 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
9083 * sysdeps/x86/Makefile: Adjust.
9085 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9086 Roland McGrath <roland@hack.frob.com>
9088 * locale/weight.h: Add include guard.
9089 (findidx): Make static rather than auto; take new parameters
9090 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
9091 * locale/weightwc.h: Likewise.
9092 * posix/fnmatch_loop.c
9093 (FCT): Change type of EXTRA from int32_t to wint_t.
9094 Don't include either header inside the function.
9095 Call FINDIDX rather than findidx, and pass new arguments.
9096 #undef FINDIDX at the end of the file.
9097 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
9098 FINDIDX before including fnmatch_loop.c for the non-wide version.
9099 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
9100 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
9101 for the wide version.
9102 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
9103 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
9104 Pass new arguments to findidx.
9105 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
9106 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
9107 Don't #include it inside the function. Pass new arguments to findidx.
9108 * posix/regex_internal.h
9109 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
9110 (re_string_elem_size_at): Don't #include it inside the function.
9111 Pass new arguments to findidx.
9112 * string/strcoll_l.c: #include WEIGHT_H at top level.
9113 (get_next_seq): Don't #include it inside the function.
9114 Pass new arguments to findidx.
9115 (get_next_seq_nocache): Likewise.
9116 * string/strxfrm_l.c: #include WEIGHT_H at top level.
9117 (STRXFRM): Don't #include it inside the function.
9118 Pass new arguments to findidx.
9120 2014-09-11 Florian Weimer <fweimer@redhat.com>
9123 * malloc/malloc.c (unlink): Turn asserts into a call to
9126 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
9129 * libio/wfileops (do_ftell_wide): Free OUT.
9131 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
9133 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
9135 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9138 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
9139 group if the current group is empty.
9141 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9143 * benchtests/bench-memset.c (test_main): Add more test from size
9144 from 32 to 512 bytes.
9145 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9146 Add POWER8 memset object.
9147 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9148 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
9149 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
9151 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
9153 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
9154 multiarch POWER8 memset optimization.
9155 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
9156 POWER8 memset optimization.
9158 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9159 Remove bzero multiarch objects.
9160 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
9161 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
9162 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
9163 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
9165 [__bzero]: Redefine to specific name.
9166 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
9167 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
9168 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
9170 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9171 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9173 2014-09-10 Florian Weimer <fweimer@redhat.com>
9175 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
9176 warnings into errors.
9178 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
9179 __cxa_thread_atexit_impl prototype.
9181 2014-09-09 Steve Ellcey <sellcey@mips.com>
9183 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
9184 Fix capitalization of error message.
9186 2014-09-09 Steve Ellcey <sellcey@mips.com>
9188 * sysdeps/mips/preconfigure: Modify ABI tests.
9190 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
9192 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
9194 2014-09-07 Roland McGrath <roland@hack.frob.com>
9195 Carlos O'Donell <carlos@systemhalted.org>
9197 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
9198 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
9199 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
9200 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
9201 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
9202 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
9203 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
9204 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
9205 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
9206 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
9207 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
9208 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
9209 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
9210 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
9211 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
9212 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
9213 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
9214 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
9215 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
9216 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
9217 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
9218 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
9219 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
9220 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
9221 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
9222 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
9223 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
9224 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
9225 Deconditionalize the code that was previously under [RESET_PID].
9226 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
9227 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
9228 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
9229 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
9232 2014-09-08 Allan McRae <allan@archlinux.org>
9234 * version.h (RELEASE): Set to "development".
9235 (VERSION): Set to "2.20.90"
9237 2014-09-07 Allan McRae <allan@archlinux.org
9239 * version.h (RELEASE): Set to "stable".
9240 (VERSION): Set to "2.20"
9241 * include/features.h (__GLIBC_MINOR__): Set to 20.
9243 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
9246 * po/ko.po: Update Korean translation from translation project.
9248 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
9251 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
9252 macro for handling signed relocations.
9254 2014-09-03 Florian Weimer <fweimer@redhat.com>
9257 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
9258 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
9260 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
9261 * iconvdata/ibm935.c (BODY): Likewise.
9262 * iconvdata/ibm937.c (BODY): Likewise.
9263 * iconvdata/ibm939.c (BODY): Likewise.
9264 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
9266 * iconvdata/Makefile (iconv-test.out): Pass module list to test
9268 * iconvdata/run-iconv-test.sh: New test loop for checking for
9271 2014-09-02 Khem Raj <raj.khem@gmail.com>
9273 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
9276 2014-09-01 Allan McRae <allan@archlinux.org>
9278 * po/eo.po: Update Esperanto translation from translation project.
9280 * po/ca.po: Update Catalan translation from translation project.
9282 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
9284 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
9287 2014-08-27 Mark Wielaard <mjw@redhat.com>
9290 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
9291 to call set_thread_area instead of hand written asm.
9292 (__NR_set_thread_area): Removed define.
9293 (TLS_FLAG_WRITABLE): Likewise.
9294 (__ASSUME_SET_THREAD_AREA): Remove check.
9295 (TLS_EBX_ARG): Remove define.
9296 (TLS_LOAD_EBX): Likewise.
9298 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9300 Simplify atomicity of socket creation in bind.
9302 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
9303 looking up the name after linking the file.
9305 2014-08-27 Allan McRae <allan@archlinux.org>
9307 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9309 2014-08-26 Florian Weimer <fweimer@redhat.com>
9312 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
9313 trans_compare, open_translit, __gconv_translit_find):
9314 Remove module loading code.
9316 2014-08-26 Allan McRae <allan@archlinux.org>
9318 * po/vi.po: Update Vietnamese translation from translation project.
9320 * po/uk.po: Update Ukrainian translation from translation project.
9322 * po/fr.po: Update French translation from translation project.
9324 * po/ru.po: Update Russian translation from translation project.
9326 * po/pl.po: Update Polish translation from translation project.
9328 * po/cs.po: Update Czech translation from translation project.
9330 * po/de.po: Update German translation from translation project.
9332 * po/bg.po: Update Bulgarian translation from translation project.
9334 * po/sv.po: Update Sweedish translation from translation project.
9336 * po/nl.po: Update Dutch translation from translation project.
9338 * po/es.po: Update Spanish translation from translation project.
9340 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9342 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
9344 * catgets/Makefile (CPPFLAGS-gencat): Remove.
9345 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
9346 (CPPFLAGS-iconvconfig): Likewise.
9347 * timezone/Makefile (CPPFLAGS-zic): Likewise.
9349 * include/libc-symbols.h: Remove unnecessary check for
9351 * nptl/pthreadP.h: Likewise.
9352 * sysdeps/aarch64/setjmp.S: Likewise.
9353 * sysdeps/alpha/setjmp.S: Likewise.
9354 * sysdeps/arm/sysdep.h: Likewise.
9355 * sysdeps/i386/setjmp.S: Likewise.
9356 * sysdeps/m68k/setjmp.c: Likewise.
9357 * sysdeps/posix/getcwd.c: Likewise.
9358 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9359 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9360 * sysdeps/s390/s390-32/setjmp.S: Likewise.
9361 * sysdeps/s390/s390-64/setjmp.S: Likewise.
9362 * sysdeps/sh/sh3/setjmp.S: Likewise.
9363 * sysdeps/sh/sh4/setjmp.S: Likewise.
9364 * sysdeps/unix/alpha/sysdep.h: Likewise.
9365 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9366 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9367 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9368 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9371 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9372 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9373 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9374 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9375 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9376 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9377 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9378 * sysdeps/x86_64/setjmp.S: Likewise.
9380 2014-08-13 Joseph Myers <joseph@codesourcery.com>
9383 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
9385 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
9386 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
9388 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9390 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
9393 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
9394 and __x86_64__ when disabling x87 inline functions.
9396 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
9399 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
9400 asm statement with __cpuid_count.
9402 2014-08-12 Mike Frysinger <vapier@gentoo.org>
9404 * configure.ac: Change __ehdr_start code to dereference the struct.
9405 Run readelf on the output to look for relocations.
9406 * configure: Regenerated.
9408 2014-08-12 Joseph Myers <joseph@codesourcery.com>
9411 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
9413 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
9415 2014-08-12 Roland McGrath <roland@hack.frob.com>
9417 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
9419 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
9422 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
9423 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
9425 2014-08-12 Sean Anderson <seanga2@gmail.com>
9427 * malloc/malloc.c: Fix typo in comment.
9429 2014-08-09 Allan McRae <allan@archlinux.org>
9431 * Regenerate libc.po.
9433 2014-08-08 Mike Frysinger <vapier@gentoo.org>
9435 * intl/tst-gettext2.sh: Check every lang file for creation.
9437 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
9439 * sysdeps/aarch64/fpu/math_private.h
9440 (libc_feholdsetround_noex_aarch64_ctx): New function.
9442 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
9444 * sysdeps/arm/armv6/strcpy.S (strcpy):
9445 Fix performance issue in misaligned cases.
9447 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9449 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
9450 Move definition from termios.h.
9451 (struct termio): Likewise.
9452 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9453 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
9454 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
9455 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
9457 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
9458 Move definition to ioctl-types.h
9459 (struct termio): Likewise.
9460 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9461 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
9462 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
9463 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
9466 2014-08-05 Richard Henderson <rth@redhat.com>
9468 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
9470 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
9472 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
9473 Use __feraiseexcept.
9474 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
9475 Protect libm symbols with IS_IN_libm.
9477 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
9479 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
9481 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
9483 2014-08-04 Will Newton <will.newton@linaro.org>
9485 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
9488 2014-08-04 Mike Frysinger <vapier@gentoo.org>
9490 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
9491 variants for each function.
9493 2014-08-04 Roland McGrath <roland@hack.frob.com>
9495 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
9497 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
9498 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
9500 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
9501 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
9502 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
9503 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
9504 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
9505 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
9506 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
9507 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
9508 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
9509 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
9510 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
9511 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
9512 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
9513 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
9514 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
9515 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
9516 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
9517 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
9518 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
9519 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
9520 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
9521 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
9522 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
9523 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
9524 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
9525 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
9526 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
9527 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
9528 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
9529 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
9530 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
9531 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
9532 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
9533 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
9534 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
9535 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
9536 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
9537 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
9538 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
9539 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
9540 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
9541 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
9542 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
9543 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
9544 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
9545 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
9546 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
9547 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
9548 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
9549 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
9550 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
9551 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
9552 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
9554 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
9555 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
9557 2014-08-04 Roland McGrath <roland@hack.frob.com>
9559 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
9560 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
9561 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
9562 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
9563 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
9564 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
9566 2014-08-04 Roland McGrath <roland@hack.frob.com>
9568 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
9569 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
9570 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9571 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
9573 2014-08-04 Roland McGrath <roland@hack.frob.com>
9575 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
9576 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
9577 (__libc_vfork): Define function under this name.
9578 (__vfork): Define as an alias.
9579 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
9580 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
9582 2014-08-04 Roland McGrath <roland@hack.frob.com>
9584 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
9585 that was previously under [RESET_PID].
9586 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
9588 2014-08-04 Andreas Schwab <schwab@suse.de>
9590 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
9592 2014-08-03 Mike Frysinger <vapier@gentoo.org>
9594 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
9597 2014-08-01 Roland McGrath <roland@hack.frob.com>
9599 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
9601 2014-08-01 Richard Henderon <rth@redhat.com>
9603 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
9604 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
9605 typo in exact zero test.
9606 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9607 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9608 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9610 2014-08-01 Roland McGrath <roland@hack.frob.com>
9612 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
9613 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
9614 * sysdeps/arm/sysdep.h: ... here.
9615 [!__ASSEMBLER__]: Include <stdint.h>.
9617 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9619 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
9620 (HAVE_WCTYPE_H): Likewise.
9621 (HAVE_ISWCTYPE): Likewise.
9622 (ENABLE_NLS): Likewise.
9623 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
9624 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
9626 * posix/regex_internal.c: Check if DEBUG is defined and is
9629 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
9630 (HAVE_MBSRTOWCS): Likewise.
9631 * posix/fnmatch.c: Include string.h unconditionally.
9633 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9635 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
9638 2014-07-31 Roland McGrath <roland@hack.frob.com>
9640 * sysdeps/generic/safe-fatal.h: New file.
9641 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
9642 * nptl/forward.c: Include it.
9643 (__pthread_unwind): Use __safe_fatal as default action, rather
9644 than a bogus use of INTERNAL_SYSCALL that could never work.
9646 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
9647 * configure.ac (libc_cv_builtin_trap): New test.
9648 * configure: Regenerated.
9649 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
9650 (ABORT_INSTRUCTION): Define using __builtin_trap.
9652 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
9653 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
9654 * sysdeps/nptl/nptl-signals.h: New file.
9655 * nptl/pthreadP.h: Include <nptl-signals.h>.
9657 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
9659 * sysdeps/s390/s390-64/utf16-utf32-z9.c
9660 (ONE_DIRECTION): Define.
9661 * sysdeps/s390/s390-64/utf8-utf16-z9.c
9662 (ONE_DIRECTION): Define.
9663 * sysdeps/s390/s390-64/utf8-utf32-z9.c
9664 (ONE_DIRECTION): Define.
9666 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
9668 * sysdeps/s390/Makefile: Delete file.
9669 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
9670 * sysdeps/s390/__longjmp.c: Delete file.
9671 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
9672 Remove fields __flags and __reserved.
9673 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
9675 * sysdeps/s390/rtld-__longjmp.c: Delete file.
9676 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
9677 * sysdeps/s390/rtld-setjmp.S: Likewise.
9678 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
9679 * sysdeps/s390/s390-32/__longjmp.c: ... here.
9680 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
9681 * sysdeps/s390/s390-32/setjmp.S: ... here.
9683 (__sigsetjmp): Remove setting __flags field.
9684 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
9685 * sysdeps/s390/s390-64/__longjmp.c: ... here.
9686 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
9687 * sysdeps/s390/s390-64/setjmp.S: ... here.
9689 (__sigsetjmp): Remove setting __flags field.
9690 * sysdeps/s390/setjmp.S: Delete file.
9691 * sysdeps/s390/sigjmp.c: Likewise.
9692 * sysdeps/s390/v1-longjmp.c: Likewise.
9693 * sysdeps/s390/v1-setjmp.h: Likewise.
9694 * sysdeps/s390/v1-sigjmp.c: Likewise.
9695 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
9696 Remove v1-longjmp_chk.
9697 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
9698 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
9699 Include debug/longjmp_chk.c and add versioning.
9700 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
9701 Include nptl/pt-longjmp.c and add versioning.
9702 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
9703 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
9704 Include __longjmp.c.
9705 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9707 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
9708 (__getcontext): Remove setting __flags field.
9710 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9711 Don't restore upper high grps.
9712 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
9714 (__swapcontext): Remove setting uc_flags field.
9715 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
9717 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9718 Include __longjmp.c.
9719 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9721 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
9722 (__getcontext): Remove setting __flags field.
9724 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
9725 (__swapcontext): Remove setting uc_flags field.
9726 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
9727 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
9728 Remove fields uc_high_gprs and __reserved.
9729 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
9730 New file with reverted content.
9731 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
9732 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
9734 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
9737 2014-07-31 Andreas Schwab <schwab@suse.de>
9739 * config.h.in (HAVE_IFUNC): Define to 0.
9740 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
9743 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
9745 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9746 memmove-avx-unaligned, memcpy-avx-unaligned and
9747 mempcpy-avx-unaligned.
9748 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9749 Add tests for AVX memcpy functions.
9750 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
9751 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
9753 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
9754 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
9756 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
9757 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
9759 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
9760 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
9761 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
9763 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9766 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
9769 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
9772 * manual/llio.texi: Add section about open file description locks.
9773 * manual/examples/ofdlocks.c: Example of open file description
9775 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
9776 F_OFD_SETLK, and F_OFD_SETLKW.
9778 2014-07-23 Allan McRae <allan@archlinux.org>
9780 * po/es.po: Update Spanish translation from translation project.
9782 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
9784 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
9786 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
9789 * sysdeps/arm/dl-machine.h (elf_machine_rela)
9790 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
9791 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
9793 2014-07-17 Joseph Myers <joseph@codesourcery.com>
9796 * math/fesetenv.c (__fesetenv)
9797 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
9798 * math/feupdateenv.c (__feupdateenv)
9799 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
9801 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
9802 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
9803 (__ASSUME_SOCKETCALL): Do not define.
9805 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
9806 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
9807 (__ASSUME_SOCKETCALL): Do not define.
9808 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
9809 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
9810 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9811 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
9812 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9813 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
9814 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9815 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9817 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
9818 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
9819 (__ASSUME_SOCKETCALL): Do not define.
9820 (__ASSUME_IPC64): Define unconditionally.
9821 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
9822 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9823 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
9824 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9825 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
9826 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9827 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
9830 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
9831 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
9832 (__ASSUME_SOCKETCALL): Do not define.
9833 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
9834 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9835 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9836 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9837 (__ASSUME_REQUEUE_PI): Define unconditionally.
9838 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
9839 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
9840 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9841 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
9842 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9843 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9845 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
9846 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
9847 (__ASSUME_SOCKETCALL): Do not define.
9848 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
9849 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9850 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9851 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
9852 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9853 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9855 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
9856 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
9857 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9858 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
9859 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9860 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
9861 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9862 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
9863 (__ASSUME_GETCPU_SYSCALL): Likewise.
9865 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
9866 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
9867 cases for individual architectures.
9868 * sysdeps/gnu/configure: Regenerated.
9869 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
9870 LIBC_SLIBDIR_RTLDDIR.
9871 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
9872 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
9873 LIBC_SLIBDIR_RTLDDIR.
9874 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
9875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
9876 LIBC_SLIBDIR_RTLDDIR.
9877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
9879 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
9880 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
9882 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
9883 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
9885 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
9886 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
9887 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
9888 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
9890 * sysdeps/aarch64/shlib-versions: Move to ...
9891 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
9892 * sysdeps/alpha/shlib-versions: Move to ...
9893 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
9894 * sysdeps/arm/shlib-versions: Move to ...
9895 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
9896 * sysdeps/hppa/shlib-versions: Move all contents except for
9897 libgcc_s entry to ...
9898 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
9900 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
9901 * sysdeps/ia64/shlib-versions: Move to ...
9902 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
9904 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
9905 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
9906 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
9907 * sysdeps/microblaze/shlib-versions: Move to ...
9908 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
9909 * sysdeps/mips/shlib-versions: Move to ...
9910 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
9912 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
9913 * sysdeps/tile/shlib-versions: Move to ...
9914 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
9915 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
9917 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
9918 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
9920 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
9922 2014-07-17 Will Newton <will.newton@linaro.org>
9924 * sysdeps/arm/bits/atomic.h
9925 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
9926 (__arch_compare_and_exchange_bool_16_int): Likewise.
9927 (__arch_compare_and_exchange_bool_64_int): Likewise.
9929 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
9930 into an #else block.
9932 2014-07-16 Roland McGrath <roland@hack.frob.com>
9934 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
9935 just Linux configurations. Test empirically that the compiler sets
9936 __ARM_EABI__, rather than using the tuple to decide.
9937 * sysdeps/arm/preconfigure: Regenerated.
9938 * sysdeps/unix/sysv/linux/arm/configure: File removed.
9939 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
9940 contents appended ...
9941 * sysdeps/arm/configure.ac: ... here.
9942 * sysdeps/arm/configure: Regenerated.
9944 2014-07-15 Roland McGrath <roland@hack.frob.com>
9946 * nptl/pthread_kill.c: New file.
9947 * nptl/pthread_sigmask.c: New file.
9948 * nptl/pthread_sigqueue.c: New file.
9950 * sysdeps/nptl/lowlevellock.h: New file.
9951 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
9952 * sysdeps/nptl/lowlevellock-futex.h: New file.
9954 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
9955 Remove dead declarations.
9957 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
9959 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
9960 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
9962 * sysdeps/x86_64/configure.ac: Likewise.
9963 * sysdeps/i386/configure: Regenerated.
9964 * sysdeps/x86_64/configure: Likewise.
9965 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9966 memset-avx2 only if config-cflags-avx2 is yes.
9967 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9968 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
9970 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
9971 only if HAVE_AVX2_SUPPORT is defined.
9972 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9974 2014-07-14 Alan Modra <amodra@gmail.com>
9977 * elf/elf.h (DT_PPC64_NUM): Correct value.
9978 * NEWS: Add to fixed bug list.
9980 2014-07-13 Jim Meyering <meyering@fb.com>
9983 regex: don't deref NULL upon heap allocation failure
9984 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
9985 failure in one more place.
9986 To trigger the segfault, configure grep -with-included-regex,
9987 build it, and run these commands:
9988 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
9990 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
9992 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9994 2014-07-11 Richard Henderson <rth@redhat.com>
9996 * sysdeps/aarch64/libm-test-ulps: Update.
9998 2014-07-10 Florian Weimer <fweimer@redhat.com>
10001 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
10002 * nptl/allocatestack.c (__nptl_setxid_error): New function.
10003 (__nptl_setxid): Initialize error member. Call
10004 __nptl_setxid_error.
10005 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
10006 * nptl/descr.h (struct xid_command): Add error member.
10007 * nptl/tst-setuid3.c: New file.
10008 * nptl/Makefile (tests): Add it.
10010 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10012 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
10014 (__lll_trylock): Use __lll_base_trylock.
10015 (__lll_cond_trylock): Likewise.
10017 2014-07-10 Roland McGrath <roland@hack.frob.com>
10019 * nptl/pthread_create.c (start_thread): Use atomic_or and
10020 lll_futex_wake directly rather than lll_robust_dead.
10021 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
10022 (lll_robust_dead): Macro removed.
10023 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
10024 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
10025 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
10026 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10027 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10028 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
10029 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
10030 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10031 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
10032 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10033 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10034 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10035 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10036 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10037 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10039 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
10040 Use atomic_compare_and_exchange_val_acq directly rather than
10041 lll_robust_trylock.
10042 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
10043 (__lll_robust_trylock, lll_robust_trylock): Removed.
10044 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
10045 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
10046 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10047 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10048 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
10049 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
10050 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10051 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
10052 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10053 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10054 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10055 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10056 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10057 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10059 2014-07-02 Florian Weimer <fweimer@redhat.com>
10061 * manual/locale.texi (Locale Names): New section documenting
10062 locale name syntax. Adjust menu and node chaining accordingly.
10063 (Choosing Locale): Reference Locale Names, Locale Categories.
10064 Mention setting LC_ALL=C. Reflect that name syntax is now
10066 (Locale Categories): New section title. Reference Locale Names.
10067 LC_ALL is an environment variable, but not a category.
10068 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
10069 description, now in Locale Name. Reference that section. Locale
10070 name syntax is now documented.
10072 2014-07-02 Florian Weimer <fweimer@redhat.com>
10075 * locale/findlocale.c (name_present, valid_locale_name): New
10077 (_nl_find_locale): Use the loc_name variable to store name
10078 candidates. Call name_present and valid_locale_name to check and
10079 validate locale names. Return an error if the locale is invalid.
10081 2014-07-02 Florian Weimer <fweimer@redhat.com>
10083 * locale/setlocale.c (setlocale): Use strdup for allocating
10084 composite name copy.
10086 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10088 Sync up with gnulib.
10089 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
10090 [!_LIBC && ENABLE_NLS]: Include gettext.h.
10091 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
10092 and _GL_ARG_NONNULL.
10093 [USE_UNLOCKED_IO]: Include unlocked-io.h.
10094 [!_LIBC]: Include code for Windows and Cygwin.
10095 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
10096 Include prototype for int strerror_r.
10097 [!_LIBC] (is_open): New function.
10098 (flush_stdout): New function.
10099 (print_errno_message): Use it.
10101 (error_at_line): Likewise.
10102 (error_tail) Add function attribute macros. Use
10105 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
10107 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
10109 * io/ftw.c: Include sys/param.h unconditionally.
10111 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
10114 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
10116 (freecache): New function to free CACHE on exit.
10118 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
10121 2014-07-09 David S. Miller <davem@davemloft.net>
10123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10125 * sysdeps/sparc/nptl/internaltypes.h: Delete.
10126 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
10127 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
10128 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
10129 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
10130 * sysdeps/sparc/nptl/sem_init.c: Likewise.
10131 * sysdeps/sparc/nptl/sem_post.c: Likewise.
10132 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
10133 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
10134 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
10135 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
10136 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
10137 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
10139 2014-07-09 Andreas Schwab <schwab@suse.de>
10141 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
10143 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
10144 (do_test): Likewise.
10146 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10148 2014-07-09 Will Newton <will.newton@linaro.org>
10150 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
10151 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
10152 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
10153 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
10154 * sysdeps/hppa/start.S (_start): Likewise.
10156 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
10158 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
10160 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
10163 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10165 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
10166 after checking that it is non-NULL.
10168 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
10170 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10172 * sysdeps/powerpc/memmove.c: Remove file.
10173 * sysdeps/powerpc/powerpc32/power4/memcopy.h
10174 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
10175 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
10176 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
10177 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
10178 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
10179 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
10180 string memmove instead of removed powerpc one.
10182 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10183 [weak_alias]: Fix compiler warning due trailing data.
10184 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
10185 [weak_alias]: Likewise.
10186 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
10187 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
10189 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10190 (__libc_ifunc_impl_list): Add memmove functions.
10192 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10194 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
10196 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
10198 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
10200 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
10202 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
10204 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
10206 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
10208 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
10210 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
10212 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
10214 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
10216 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
10218 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
10220 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
10222 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
10224 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
10226 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
10229 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10231 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
10232 to avoid alignment traps in non-cacheable memory.
10233 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10235 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
10237 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
10238 file: multiarch power7 memmove.
10239 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
10240 multiarch default memmove.
10241 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
10242 multiarch memove for powerpc32/power4.
10244 * string/bcopy.c: Use full path to include memmove.c.
10245 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
10247 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
10248 bcopy for powerpc64.
10249 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
10250 bcopy for powerpc64.
10251 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
10252 and memmove implementations.
10253 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
10254 optimized multiarch memmove for POWER7/powerpc64.
10255 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
10256 default multiarch memmove for powerpc64.
10257 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
10258 multiarch for powerpc64.
10259 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
10260 for POWER7/powerpc64.
10261 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
10262 memmove for POWER7/powerpc64.
10264 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
10267 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
10268 __ELF_NATIVE_CLASS equal to 64.
10270 2014-07-07 Roland McGrath <roland@hack.frob.com>
10272 * sysdeps/nptl/lowlevellock.h: File removed.
10274 * NEWS: NPTL is no longer an add-on!
10275 * nptl/internaltypes.h: Moved ...
10276 * sysdeps/nptl/internaltypes.h: ... here.
10277 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
10278 * sysdeps/nptl/fork.c: Likewise.
10279 * sysdeps/nptl/gai_misc.h: Likewise.
10280 * sysdeps/nptl/librt-cancellation.c: Likewise.
10281 * sysdeps/nptl/jmp-unwind.c: Likewise.
10282 * sysdeps/nptl/setxid.h: Likewise.
10283 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
10284 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
10285 * sysdeps/unix/sysv/linux/arm/Implies: New file.
10286 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
10287 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
10288 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
10289 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
10290 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
10291 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
10292 * sysdeps/unix/sysv/linux/mips/Implies: New file.
10293 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
10294 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
10295 * sysdeps/unix/sysv/linux/sh/Implies: New file.
10296 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
10297 * sysdeps/unix/sysv/linux/tile/Implies: New file.
10298 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
10299 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
10300 * nptl/Makeconfig: Moved ...
10301 * sysdeps/nptl/Makeconfig: ... here.
10302 * nptl/configure: File removed.
10303 * nptl/ANNOUNCE: File removed.
10304 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
10305 * sysdeps/unix/sysv/linux/configure: Regenerated.
10307 * nptl/Makefile (routines): Add libc_pthread_init,
10308 libc_multiple_threads, register-atfork and unregister-atfork.
10309 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
10310 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
10311 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
10312 pthread-pi-defines.sym, structsem.sym.
10313 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
10314 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
10315 [$(subdir) = nptl] (tests): Add tst-setgetname.
10316 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
10317 * sysdeps/unix/sysv/linux/sigaction.c: Just include
10318 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
10319 [!LIBC_SIGACTION]: Remove aliases.
10320 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10321 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10322 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10323 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
10324 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10325 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
10326 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10327 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10328 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10329 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
10330 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
10331 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
10332 __libc_allocate_rtsig_private.
10333 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
10334 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
10335 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
10336 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
10337 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
10338 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
10339 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
10340 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
10341 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
10342 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
10343 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
10344 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
10345 * nptl/internaltypes.h: ... here.
10346 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
10347 * sysdeps/nptl/jmp-unwind.c: ... here.
10348 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
10349 * nptl/libc-lowlevellock.c: ... here.
10350 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
10351 * nptl/libc_multiple_threads.c: ... here.
10352 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
10353 * nptl/libc_pthread_init.c: ... here.
10354 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
10355 * nptl/lowlevelbarrier.sym: ... here.
10356 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
10357 * nptl/lowlevelcond.sym: ... here.
10358 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
10359 * nptl/lowlevellock.c: ... here.
10360 * nptl/lowlevellock.h: Moved ...
10361 * sysdeps/nptl/lowlevellock.h: ... here.
10362 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
10363 * nptl/lowlevelrobustlock.c: ... here.
10364 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
10365 * nptl/lowlevelrobustlock.sym: ... here.
10366 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
10367 * nptl/lowlevelrwlock.sym: ... here.
10368 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
10369 * nptl/pt-fork.c: ... here.
10370 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
10371 * nptl/pthread-pi-defines.sym: ... here.
10372 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
10373 * nptl/pthread_attr_getaffinity.c: ... here.
10374 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
10375 * nptl/pthread_attr_setaffinity.c: ... here.
10376 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
10377 * nptl/pthread_mutex_cond_lock.c: ... here.
10378 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10380 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
10381 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
10382 * nptl/pthread_once.c: ... here, replacing old file.
10383 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
10384 * nptl/pthread_yield.c: ... here.
10385 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
10386 * nptl/register-atfork.c: ... here.
10387 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
10388 * nptl/sem_post.c: ... here.
10389 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
10390 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
10391 * nptl/sem_timedwait.c: ... here.
10392 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
10393 * nptl/sem_trywait.c: ... here.
10394 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
10395 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
10396 * nptl/sem_wait.c: ... here.
10397 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
10398 * nptl/structsem.sym: ... here.
10399 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
10400 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
10401 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
10402 * nptl/unregister-atfork.c: ... here.
10403 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
10404 * nptl/unwindbuf.sym: ... here.
10405 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
10406 * sysdeps/nptl/fork.c: ... here.
10407 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
10408 * sysdeps/nptl/fork.h: ... here.
10409 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
10410 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
10411 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
10412 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
10413 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
10414 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
10415 * sysdeps/unix/sysv/linux/getpid.c: ... here.
10416 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
10417 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
10418 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
10419 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
10420 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
10421 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
10422 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
10423 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
10424 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
10425 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
10426 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
10427 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
10428 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
10429 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
10430 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
10431 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
10432 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
10433 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
10434 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
10435 * sysdeps/unix/sysv/linux/raise.c: ... here.
10436 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
10437 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
10438 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
10439 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
10440 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
10441 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
10442 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
10443 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
10444 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
10445 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
10446 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
10447 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
10448 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
10449 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
10450 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
10452 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10454 * sysdeps/generic/memcopy.h: Add comment for
10455 MEMCPY_OK_FOR_FWD_MEMMOVE.
10457 2014-07-04 Will Newton <will.newton@linaro.org>
10459 * string/memchr.c: Merge from gnulib.
10460 [_LIBC]: Remove conditionals.
10461 (__ptr_t): Remove define.
10462 (LONG_MAX_32_BITS): Likewise.
10463 (LONG_MAX): Likewise.
10464 (MEMCHR): Use ANSI prototype and optimize algorithm.
10466 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
10468 2014-07-03 Roland McGrath <roland@hack.frob.com>
10470 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
10471 (lll_futex_timed_wait_bitset): Fix syscall argument count.
10473 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
10474 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
10475 in a bare environment with no <stdlib.h> installed.
10476 * sysdeps/nptl/configure: Regenerated.
10478 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
10480 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
10481 AC_EGREP_CPP for kernel header checks, so they only succeed if
10482 including <linux/version.h> actually works right.
10483 * sysdeps/unix/sysv/linux/configure: Regenerated.
10485 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
10486 value so it's not diagnosed as unused.
10488 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
10489 thing) with "ifeq ($(subdir),rt)".
10491 2014-07-03 Richard Henderson <rth@redhat.com>
10493 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
10494 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
10495 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
10497 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
10498 (math_force_eval): New.
10500 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
10501 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
10503 * sysdeps/alpha/fpu/s_round.c: Remove file.
10504 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
10506 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
10507 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
10508 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
10509 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
10510 (_dl_start, print_statistics): Likewise.
10511 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
10512 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
10514 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10515 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10516 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10517 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10518 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
10519 (HP_SMALL_TIMING_AVAIL): Define.
10520 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10521 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
10522 (HP_SMALL_TIMING_AVAIL): Define.
10523 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10524 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10526 * sysdeps/aarch64/hp-timing.h: New file.
10528 * sysdeps/generic/hp-timing.h: Remove dead comment.
10529 * sysdeps/generic/hp-timing-common.h: New file.
10530 * sysdeps/alpha/hp-timing.h: Include it.
10531 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
10532 * sysdeps/i386/i686/hp-timing.h: Likewise.
10533 * sysdeps/ia64/hp-timing.h: Likewise.
10534 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10535 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10536 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10537 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10538 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
10539 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
10540 (hp_timing_t): New.
10542 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
10543 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
10544 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
10545 * elf/rtld.c (_dl_start_final): Likewise.
10546 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
10547 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10548 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10549 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10550 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10551 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
10552 (HP_TIMING_DIFF_INIT): Remove.
10553 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10554 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
10555 (HP_TIMING_DIFF_INIT): Remove.
10556 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10557 * sysdeps/i386/i686/hp-timing.c: Remove file.
10558 * sysdeps/x86_64/hp-timing.c: Remove file.
10559 * sysdeps/ia64/hp-timing.c: Remove file.
10560 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
10561 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
10562 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
10563 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
10565 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
10566 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
10567 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
10568 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
10569 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
10570 (HP_TIMING_ACCUM): Remove.
10571 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
10572 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
10573 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
10575 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
10576 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
10577 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
10578 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
10579 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
10580 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
10581 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
10582 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
10584 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
10586 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
10588 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
10590 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10592 Sync up with gettext.
10593 * intl/loadmsgcat.c: Define O_BINARY if not defined.
10594 [_MSC_VER]: Include malloc.h
10595 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
10596 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
10597 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
10598 TEMP_FAILURE_RETRY. Cast return of alloca.
10599 [!_LIBC] Call gl_rwlock_init.
10600 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
10602 2014-07-02 Roland McGrath <roland@hack.frob.com>
10604 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
10605 before checking its value.
10607 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10609 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
10611 * debug/memcpy_chk.c: Don't include pagecopy.h.
10612 * debug/mempcpy_chk.c: Likewise.
10613 * string/memcpy.c: Likewise.
10614 * string/memmove.c: Likewise.
10615 * sysdeps/powerpc/memmove.c: Likewise.
10616 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
10617 definition of PAGE_COPY_FWD_MAYBE here...
10618 * sysdeps/generic/pagecopy.h: ... from here.
10619 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
10621 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10622 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10624 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
10625 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
10627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10628 (__libc_ifunc_impl_list): Likewise.
10629 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
10630 multiarch strcat for PPC64.
10631 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
10632 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
10634 2014-07-02 Roland McGrath <roland@hack.frob.com>
10636 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
10638 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10640 * intl/loadmsgcat.c: Remove declaration of
10641 get_sysdep_segment_value.
10642 (get_sysdep_segment_value): Use ISO C style.
10643 (_nl_load_domain): Use ISO C style. Get rid of redundant
10644 semicolon. Fix typo and formatting in comment.
10645 (_nl_unload_domain): Use ISO C style.
10647 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
10649 2014-07-02 Will Newton <will.newton@linaro.org>
10651 * malloc/obstack.c: Merge from gnulib master.
10652 [HAVE_CONFIG_H]: Remove conditional code.
10653 [!_LIBC]: Include config.h.
10654 [!ELIDE_CODE]: Don't include inttypes.h, include
10655 stdint.h unconditionally.
10656 (print_and_abort): Mark as _Noreturn.
10657 (_obstack_allocated_p): Mark as __attribute_pure__.
10658 (obstack_free): Rename to __obstack_free.
10659 [!__attribute__]: Remove conditional code.
10660 * malloc/obstack.h: Merge from gnulib master.
10661 [__cplusplus]: Move conditional down.
10662 [!__attribute_pure__]: Define __attribute_pure__ here
10663 if it is not already defined.
10664 (_obstack_memory_used): Mark as __attribute_pure__.
10665 [!__obstack_free]: Define as obstack_free.
10666 [__GNUC__]: Remove check for ancient NeXT gcc.
10668 2014-07-02 Will Newton <will.newton@linaro.org>
10669 Paul Eggert <eggert@cs.ucla.edu>
10671 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
10673 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10675 * resolv/gethnamaddr.c: Add comment warning that the file is
10678 2014-07-01 Carlos O'Donell <carlos@redhat.com>
10680 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
10683 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
10684 entry for aio_cancel and aio_cancel64.
10685 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
10686 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
10687 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
10688 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
10689 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
10690 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
10691 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
10692 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
10693 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
10694 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
10695 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
10696 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
10697 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
10699 2014-07-01 Roland McGrath <roland@hack.frob.com>
10701 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
10702 * nptl/pthread_mutex_lock.c: Likewise.
10703 * nptl/pthread_mutex_timedlock.c: Likewise.
10704 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
10706 2014-07-01 Richard henderson <rth@redhat.com>
10708 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
10709 (__isnan, __isnanl): Remove.
10710 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
10712 * sysdeps/alpha/fpu/libm-test-ulps: Update.
10714 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
10716 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10718 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10720 * resolv/nss_dns/dns-host.c (getanswer_r)
10721 [MULTI_PTRS_ARE_ALIASES]: Remove code.
10723 2014-07-01 Joseph Myers <joseph@codesourcery.com>
10725 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10726 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
10728 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
10729 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
10731 2014-07-01 Roland McGrath <roland@hack.frob.com>
10733 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
10734 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
10736 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
10737 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
10739 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
10740 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
10742 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
10743 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
10745 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
10746 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
10747 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
10748 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
10750 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
10751 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
10752 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
10753 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
10754 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
10756 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
10758 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
10759 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
10760 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
10761 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
10762 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
10763 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
10764 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
10765 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
10766 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
10767 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
10768 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
10769 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
10770 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
10771 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
10772 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
10773 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
10774 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
10775 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
10776 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
10777 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
10779 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
10780 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
10781 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
10782 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
10783 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
10784 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
10785 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
10786 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
10788 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
10790 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
10791 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
10792 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
10795 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10797 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10799 2014-06-30 Joseph Myers <joseph@codesourcery.com>
10801 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10802 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10804 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10806 * sysdeps/arm/libm-test-ulps: Regenerated.
10808 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
10809 Roland McGrath <roland@hack.frob.com>
10811 * test-skeleton.c (signal_handler): Kill the whole process group
10812 before killing the child individually.
10813 (main): Report any failure on `setpgid'.
10815 2014-06-30 Roland McGrath <roland@hack.frob.com>
10817 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
10818 from _TLS_H to _ARM_NPTL_TLS_H.
10819 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
10820 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
10822 2014-06-30 Joseph Myers <joseph@codesourcery.com>
10825 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
10826 (__expm1l): Return argument unchanged when small but not
10829 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
10830 include macro name.
10831 (_FP_UNPACK_RAW_1_P): Likewise.
10832 (_FP_PACK_RAW_1): Likewise.
10833 (_FP_PACK_RAW_1_P): Likewise.
10834 (_FP_MUL_MEAT_1_wide): Likewise.
10835 (_FP_MUL_MEAT_DW_1_hard): Likewise.
10836 (_FP_MUL_MEAT_1_hard): Likewise.
10837 (_FP_DIV_MEAT_1_imm): Likewise.
10838 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
10839 (_FP_DIV_MEAT_1_udiv): Likewise.
10840 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
10841 (_FP_UNPACK_RAW_2): Likewise.
10842 (_FP_UNPACK_RAW_2_P): Likewise.
10843 (_FP_PACK_RAW_2): Likewise.
10844 (_FP_PACK_RAW_2_P): Likewise.
10845 (_FP_MUL_MEAT_DW_2_wide): Likewise.
10846 (_FP_MUL_MEAT_2_wide): Likewise.
10847 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
10848 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
10849 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
10850 (_FP_MUL_MEAT_2_gmp): Likewise.
10851 (_FP_DIV_MEAT_2_udiv): Likewise.
10852 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
10853 (_FP_FRAC_SRL_4): Likewise.
10854 (_FP_FRAC_SRST_4): Likewise.
10855 (_FP_FRAC_SRS_4): Likewise.
10856 (_FP_UNPACK_RAW_4): Likewise.
10857 (_FP_UNPACK_RAW_4_P): Likewise.
10858 (_FP_PACK_RAW_4): Likewise.
10859 (_FP_PACK_RAW_4_P): Likewise.
10860 (_FP_MUL_MEAT_DW_4_wide): Likewise.
10861 (_FP_MUL_MEAT_4_wide): Likewise.
10862 (_FP_MUL_MEAT_4_gmp): Likewise.
10863 (umul_ppppmnnn): Likewise.
10864 (_FP_DIV_MEAT_4_udiv): Likewise.
10865 (__FP_FRAC_ADD_4): Likewise.
10866 (__FP_FRAC_SUB_3): Likewise.
10867 (__FP_FRAC_SUB_4): Likewise.
10868 (__FP_FRAC_DEC_3): Likewise.
10869 (__FP_FRAC_DEC_4): Likewise.
10870 (__FP_FRAC_ADDI_4): Likewise.
10871 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
10872 (_FP_FRAC_SRL_8): Likewise.
10873 (_FP_FRAC_SRS_8): Likewise.
10875 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
10876 include macro name.
10877 (FP_UNPACK_RAW_EP): Likewise.
10878 (FP_PACK_RAW_E): Likewise.
10879 (FP_PACK_RAW_EP): Likewise.
10880 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
10881 (_FP_ISSIGNAN): Likewise.
10882 (_FP_ADD_INTERNAL): Likewise.
10883 (_FP_FMA): Likewise.
10884 (_FP_CMP): Likewise.
10885 (_FP_SQRT): Likewise.
10886 (_FP_TO_INT): Likewise.
10887 (_FP_FROM_INT): Likewise.
10888 (FP_EXTEND): Likewise.
10889 (_FP_DIV_MEAT_N_loop): Likewise.
10891 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
10893 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
10896 2014-06-29 Joseph Myers <joseph@codesourcery.com>
10899 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
10900 result with correct sign in case of exponents that produce
10901 overflow except for X very close to 1.
10903 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
10905 mktime: merge #if/#ifdef usage from glibc
10906 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
10907 as that works with both Glibc's and Gnulib's style.
10908 See thread starting at Siddhesh Poyarekar's bug report at:
10909 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
10911 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10913 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
10914 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
10915 * sysdeps/tile/tilegx/memmove.c: Remove file.
10917 2014-06-27 Joseph Myers <joseph@codesourcery.com>
10919 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
10920 abi-name definition.
10921 * scripts/soversions.awk: Do not handle or generate ABI lines.
10922 * shlib-versions: Remove ABI entries.
10923 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
10924 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
10926 2014-06-27 Roland McGrath <roland@hack.frob.com>
10928 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
10929 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
10930 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
10931 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
10932 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
10933 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
10934 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
10936 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
10938 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
10939 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
10940 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
10941 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
10942 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
10943 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
10944 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
10945 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
10946 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
10947 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
10948 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
10949 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
10950 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
10952 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
10953 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
10954 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
10955 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
10956 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
10957 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
10959 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
10960 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
10962 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
10963 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
10964 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
10965 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
10967 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
10968 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
10969 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
10970 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
10971 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
10972 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
10973 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
10974 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
10976 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
10977 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
10978 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
10979 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
10981 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
10982 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
10984 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
10985 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
10986 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
10987 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
10989 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
10991 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
10992 Identical file removed.
10993 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
10995 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
10996 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
10997 Identical file removed.
10998 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
10999 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
11000 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
11002 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
11003 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
11004 Identical file removed.
11005 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
11006 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
11007 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
11008 Identical file removed.
11009 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
11010 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
11011 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
11012 Identical file removed.
11013 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
11014 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
11015 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
11016 Identical file removed.
11017 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
11019 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
11020 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
11021 Identical file removed.
11022 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
11024 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
11025 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
11026 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
11027 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
11028 Identical file removed.
11029 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
11031 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
11033 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
11034 Identical file removed.
11035 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
11037 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
11038 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
11039 Identical file removed.
11040 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
11042 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
11043 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
11044 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
11045 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
11046 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
11047 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
11049 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
11050 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
11051 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
11053 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
11054 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
11055 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
11056 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
11057 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
11059 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
11062 * nscd/nscd.c (monitor_child): Return exit status of child
11063 instead of return value from wait syscall.
11065 2014-06-27 Joseph Myers <joseph@codesourcery.com>
11067 * configure.ac (libc_commonpagesize): Remove variable.
11068 (libc_relro_required): Likewise.
11069 (libc_cv_z_relro): Remove configure test.
11070 * configure: Regenerated.
11071 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
11073 (libc_relro_required): Likewise.
11074 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
11075 (libc_relro_required): Likewise.
11076 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
11077 (libc_relro_required): Likewise.
11078 * sysdeps/arm/preconfigure: Regenerated.
11079 * sysdeps/ia64/preconfigure: Remove file.
11080 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
11082 (libc_relro_required): Likewise.
11086 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
11087 (__ieee754_yn): Set FE_TONEAREST mode internally and then
11088 recompute overflowing results in original rounding mode.
11089 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
11090 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
11091 recompute overflowing results in original rounding mode.
11092 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
11093 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
11094 recompute overflowing results in original rounding mode.
11095 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
11096 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
11097 recompute overflowing results in original rounding mode.
11098 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
11099 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
11100 recompute overflowing results in original rounding mode.
11101 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
11102 (libc_feholdsetround_ctx): New macro.
11103 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
11104 * sysdeps/i386/fpu/libm-test-ulps: Update.
11105 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
11107 2014-06-26 Joseph Myers <joseph@codesourcery.com>
11109 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
11110 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
11111 corresponding .cpsetup call.
11113 2014-06-26 Roland McGrath <roland@hack.frob.com>
11115 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
11116 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
11117 * sysdeps/arm/Makefile [$(subdir) = csu]
11118 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
11119 (static-only-routines): Add aeabi_read_tp here.
11120 (shared-only-routines): Add libc-aeabi_read_tp here.
11121 (CFLAGS-libc-start.c): Add -fexceptions here.
11122 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
11123 (sysdep_routines, static-only-routines, shared-only-routines):
11124 Don't add to these here.
11125 (CFLAGS-libc-start.c): Likewise.
11127 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
11128 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11129 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
11130 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11131 * sysdeps/arm/Makefile [$(subdir) = rt]
11132 (librt-sysdep_routines, librt-shared-only-routines):
11133 Append rt-aeabi_unwind_cpp_pr1 here.
11134 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
11135 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
11136 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
11137 (libpthread-sysdep_routines, libpthread-shared-only-routines):
11138 Append nptl-aeabi_unwind_cpp_pr1 here.
11139 (tests): Filter out tst-cleanupx4 here.
11140 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
11141 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
11142 Don't do those here.
11144 2014-06-26 Joseph Myers <joseph@codesourcery.com>
11146 * scripts/list-sources.sh: Do not handle ports specially.
11148 2014-06-26 Roland McGrath <roland@hack.frob.com>
11150 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
11151 * sysdeps/arm/feupdateenv.c: Likewise.
11153 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
11155 2014-06-26 Joseph Myers <joseph@codesourcery.com>
11157 * manual/texinfo.tex: Update to version 2014-05-05.10 with
11158 trailing whitespace removed.
11159 * scripts/config.guess: Update to version 2014-03-23.
11160 * scripts/config.sub: Update to version 2014-05-01
11161 * scripts/install-sh: Update to version 2013-12-25.23.
11162 * scripts/move-if-change: Update from gnulib.
11164 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11166 * debug/memmove_chk.c: Remove pagecopy.h include.
11168 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
11170 * time/mktime.c (leapyear): Remove inline keyword. The code is now
11171 identical to gnulib mktime.
11173 2014-06-26 Joseph Myers <joseph@codesourcery.com>
11175 * configure.ac: Do not test for machine being rs6000. Do not test
11176 for powerpc*-*soft.
11177 * configure: Regenerated.
11180 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
11182 * configure: Regenerated.
11183 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
11184 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
11185 Remove configure test.
11186 * sysdeps/arm/configure: Regenerated.
11187 * sysdeps/nptl/configure.ac: Do not check
11188 libc_cv_asm_cfi_directives.
11189 * sysdeps/nptl/configure: Regenerated.
11190 * sysdeps/x86_64/nptl/configure.ac: Remove file.
11191 * sysdeps/x86_64/nptl/configure: Remove generated file.
11192 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
11194 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
11196 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11198 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
11199 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
11200 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
11203 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
11204 instead of whether it is defined.
11205 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
11206 * sysdeps/hppa/dl-machine.h: Likewise.
11207 * sysdeps/ia64/dl-machine.h: Likewise.
11208 * sysdeps/m68k/dl-machine.h: Likewise.
11209 * sysdeps/microblaze/dl-machine.h: Likewise.
11210 * sysdeps/mips/dl-machine.: Likewise.
11211 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11212 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11213 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11214 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11215 * sysdeps/sh/dl-machine.h: Likewise.
11216 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11217 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11218 * sysdeps/tile/dl-machine.h: Likewise.
11219 * sysdeps/x86_64/dl-machine.h: Likewise.
11221 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
11223 (verify_persistent_db): Likewise.
11225 2014-06-26 Roland McGrath <roland@hack.frob.com>
11227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
11228 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
11229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
11230 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
11231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11233 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
11235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
11236 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
11237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
11238 Identical file removed.
11239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
11240 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
11241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
11242 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
11243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
11244 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
11245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
11246 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
11247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
11248 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
11249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11251 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
11252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
11253 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
11254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
11255 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
11256 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11258 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
11259 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
11260 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
11261 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
11262 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
11263 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11264 Identical file removed.
11265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
11266 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
11267 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
11268 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
11269 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11271 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
11273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
11274 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
11275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
11276 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
11277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
11278 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
11279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
11280 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
11281 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
11282 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
11283 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11285 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
11286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
11288 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
11289 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
11290 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
11291 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11293 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
11294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
11295 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
11297 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
11299 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
11300 * sysdeps/unix/sysv/linux/s390/Versions
11301 (libpthread: GLIBC_2.19): New version set.
11302 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
11303 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
11304 (librt: GLIBC_2.3.3): New version set.
11305 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
11306 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
11307 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
11308 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
11309 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
11310 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
11311 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
11312 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
11313 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
11314 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
11315 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
11316 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
11317 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
11318 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
11319 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
11320 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
11321 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
11322 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
11323 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
11324 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
11325 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
11326 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
11327 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
11328 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
11329 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
11330 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
11331 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
11332 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
11333 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
11334 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
11335 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
11336 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
11337 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
11338 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
11339 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
11340 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
11341 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
11342 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
11343 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
11344 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
11345 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
11346 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
11347 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
11348 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
11349 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
11351 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
11352 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
11353 (__libc_vfork): Define the function under this name.
11354 [!NOT_IN_libc] (__vfork): Make this an alias.
11355 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
11356 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
11357 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
11358 (__libc_vfork): Define the function under this name.
11359 [!NOT_IN_libc] (__vfork): Make this an alias.
11360 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
11361 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
11362 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
11363 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
11364 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
11365 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11367 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
11368 code that was previously under [RESET_PID].
11369 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
11370 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
11371 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
11373 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
11374 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
11375 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
11376 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
11377 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
11378 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
11379 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
11380 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
11381 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
11382 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
11383 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
11385 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
11386 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
11387 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
11388 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
11389 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
11390 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
11391 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
11392 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
11393 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
11394 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
11395 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
11396 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
11397 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
11398 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
11399 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
11400 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
11401 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
11402 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
11403 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
11404 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
11405 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
11406 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
11407 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
11408 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
11409 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
11410 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
11411 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
11412 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
11413 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
11415 2014-06-25 Roland McGrath <roland@hack.frob.com>
11417 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
11418 that was previously under [RESET_PID].
11419 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
11421 2014-06-25 Joseph Myers <joseph@codesourcery.com>
11423 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
11424 not undefine and redefine.
11425 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
11426 [O_CLOEXEC]: Make code unconditional.
11427 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
11428 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
11429 <kernel-features.h>.
11430 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
11431 conditional variable definition.
11432 (shm_open) [O_CLOEXEC]: Make code unconditional.
11433 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
11436 * configure.ac (USE_REGPARMS): Don't define here.
11437 * configure: Regenerated.
11438 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
11439 * sysdeps/i386/configure: Regenerated.
11441 * nptl/createthread.c: Don't include kernel-features.h.
11442 * nptl/pthread_cancel.c: Likewise.
11443 * nptl/pthread_condattr_setclock.c: Likewise.
11444 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
11445 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
11446 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
11447 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
11448 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
11449 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
11450 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11451 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
11452 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11453 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
11454 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
11455 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
11456 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
11457 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
11458 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
11459 * nscd/gai.c: Likewise.
11460 * nss/nss_db/db-open.c: Likewise.
11461 * sysdeps/generic/ldsodefs.h: Likewise.
11462 * sysdeps/sh/nptl/tls.h: Likewise.
11463 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
11464 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
11465 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
11466 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
11467 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
11468 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11469 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
11470 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11471 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11472 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
11473 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
11474 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11475 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
11476 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
11477 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
11478 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
11479 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
11480 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
11481 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
11482 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
11483 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
11484 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
11485 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
11486 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
11487 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
11488 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
11489 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
11490 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
11491 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
11492 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
11493 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
11494 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
11495 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
11496 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11497 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11498 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11499 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11500 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
11501 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
11502 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
11503 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11504 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
11505 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
11506 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11507 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
11508 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
11509 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
11510 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
11511 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
11512 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
11513 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
11514 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
11515 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
11516 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11517 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
11518 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
11519 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11520 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
11521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
11523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
11524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
11525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
11526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
11527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
11528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
11529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
11532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
11533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
11534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
11535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
11541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
11542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
11543 * sysdeps/unix/sysv/linux/pread.c: Likewise.
11544 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
11545 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
11546 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
11547 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
11548 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
11549 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
11550 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
11551 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
11552 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
11553 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
11554 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
11555 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
11556 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
11557 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
11558 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
11559 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11560 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
11561 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
11562 * sysdeps/unix/sysv/linux/system.c: Likewise.
11563 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
11564 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
11565 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
11566 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11567 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11568 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
11569 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11571 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
11572 * configure: Regenerated.
11573 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
11575 * configure.ac (base_machine): Do not set specially for particular
11577 * configure: Regenerated.
11578 * sysdeps/powerpc/preconfigure: Move machine and base_machine
11579 settings from configure.ac.
11580 * sysdeps/i386/preconfigure: New file.
11581 * sysdeps/s390/preconfigure: Likewise.
11582 * sysdeps/sh/preconfigure: Likewise.
11583 * sysdeps/sparc/preconfigure: Likewise.
11585 2014-06-25 Roland McGrath <roland@hack.frob.com>
11587 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
11588 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
11589 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
11590 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
11591 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
11592 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
11593 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
11594 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
11595 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
11596 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
11597 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
11598 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
11599 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
11600 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
11601 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
11602 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
11603 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
11604 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
11605 * sysdeps/sparc/sparc64/Makefile: ... appended here.
11607 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
11608 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
11609 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
11610 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
11611 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
11612 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
11613 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
11614 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
11615 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
11616 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
11617 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
11618 * sysdeps/sparc/sparc32/sem_post.c: ... here.
11619 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
11620 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
11621 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
11622 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
11623 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
11624 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
11625 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
11626 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
11627 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
11628 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
11629 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
11630 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
11631 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
11632 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
11633 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
11634 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
11635 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
11636 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
11637 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
11638 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
11639 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
11640 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
11641 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
11642 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
11643 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
11644 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
11646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
11647 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
11648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
11649 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
11650 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11652 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
11654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
11655 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
11656 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
11657 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
11658 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
11660 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
11661 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
11662 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
11663 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
11664 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
11665 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
11666 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
11667 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11669 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
11670 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11672 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
11673 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
11674 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
11675 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11677 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
11678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
11679 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
11680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
11681 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
11682 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
11683 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
11684 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
11685 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
11686 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11688 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
11690 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
11691 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
11692 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
11693 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
11694 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
11696 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
11697 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
11698 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
11699 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
11700 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
11701 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
11702 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
11703 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11705 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
11706 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11708 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
11709 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
11710 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
11711 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11713 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
11714 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
11715 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
11716 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
11717 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
11719 2014-06-25 Joseph Myers <joseph@codesourcery.com>
11721 * timezone/checktab.awk: Update from tzcode 2014e.
11722 * timezone/private.h: Likewise.
11723 * timezone/tzfile.h: Likewise.
11724 * timezone/zdump.c: Likewise.
11725 * timezone/zic.c: Likewise.
11727 * sysdeps/unix/sysv/linux/kernel-features.h
11728 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
11729 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
11730 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
11731 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11732 Remove conditional code.
11734 2014-06-25 Will Newton <will.newton@linaro.org>
11736 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
11737 (_dl_arm_cap_flags): Add HWCAP2 values.
11738 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
11739 (_DL_HWCAP_COUNT): Increase to 37.
11740 (_DL_HWCAP_LAST): New define.
11741 (_DL_HWCAP2_LAST): New define.
11742 (_dl_procinfo): Add support for printing
11744 (_dl_string_hwcap): Use _dl_hwcap_string.
11746 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11750 2014-06-25 Joseph Myers <joseph@codesourcery.com>
11752 * README: Do not mention ports directory.
11754 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
11756 * sysdeps/unix/sysv/linux/futimes.c: Do not include
11757 <kernel-features.h>.
11758 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
11759 conditional variable definition.
11760 (__futimes): Update comment.
11761 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
11762 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
11765 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
11766 arguments close to 0.
11767 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
11769 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
11771 * math/auto-libm-test-in: Add more tests of exp10.
11772 * math/auto-libm-test-out: Regenerated.
11773 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11775 * sysdeps/unix/sysv/linux/kernel-features.h
11776 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
11777 * sysdeps/unix/sysv/linux/readv.c: Do not include
11778 <kernel-features.h>.
11779 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
11780 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
11781 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
11783 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
11785 * sysdeps/unix/sysv/linux/writev.c: Do not include
11786 <kernel-features.h>.
11787 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
11788 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
11789 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
11791 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
11794 2014-06-25 Will Newton <will.newton@linaro.org>
11796 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
11797 comment changes throughout the file. Remove checks
11798 for HAVE_*_H definitions that are not required.
11799 (__gen_tempname): Call abort if an unknown kind value is
11802 2014-06-25 Andreas Schwab <schwab@suse.de>
11805 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
11806 scalbln, scalblnf, scalblnl in libc.
11808 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11811 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
11812 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11813 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11815 2014-06-24 Roland McGrath <roland@hack.frob.com>
11817 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
11818 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
11819 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
11820 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
11822 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
11823 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
11825 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
11826 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
11827 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
11828 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
11829 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
11830 * sysdeps/x86/bits/pthreadtypes.h: ... here.
11831 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
11832 * sysdeps/x86/bits/semaphore.h: ... here.
11833 * sysdeps/x86/nptl/elide.h: Moved ...
11834 * sysdeps/x86/elide.h: ... here.
11835 * sysdeps/x86_64/nptl/Implies: File removed.
11836 * sysdeps/i386/nptl/Implies: File removed.
11838 2014-06-24 Joseph Myers <joseph@codesourcery.com>
11841 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
11842 return the argument for normal arguments with exponent below -64.
11843 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11845 * math/auto-libm-test-in: Add another test of expm1.
11846 * math/auto-libm-test-out: Regenerated.
11849 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
11850 calling __erfcl for arguments at least 16.
11851 * math/auto-libm-test-in: Add more tests of erf.
11852 * math/auto-libm-test-out: Regenerated.
11854 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
11855 individual architectures.
11856 * sysdeps/unix/sysv/linux/configure: Regenerated.
11857 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
11858 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
11859 * sysdeps/unix/sysv/linux/powerpc/configure.ac
11860 (ldd_rewrite_script): Define variable.
11861 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
11864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
11866 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
11867 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
11868 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
11869 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
11870 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
11871 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
11872 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
11873 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
11875 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11878 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
11879 Rename member __data.d to __data.__elision_data.
11881 2014-06-24 Wilco <wdijkstr@arm.com>
11883 * NEWS: Add 16918 to fixed bug list.
11885 2014-06-24 Wilco <wdijkstr@arm.com>
11887 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
11889 2014-06-24 Wilco <wdijkstr@arm.com>
11891 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
11892 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
11893 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
11894 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
11895 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
11896 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
11897 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
11900 2014-06-24 Wilco <wdijkstr@arm.com>
11902 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
11904 2014-06-24 Wilco <wdijkstr@arm.com>
11906 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
11907 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
11908 * sysdeps/arm/fesetround.c (fesetround): Remove space.
11909 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
11911 2014-06-24 Wilco <wdijkstr@arm.com>
11914 * sysdeps/arm/feupdateenv.c (feupdateenv):
11915 Rewrite to reduce FPSCR accesses and fix return value.
11917 2014-06-24 Wilco <wdijkstr@arm.com>
11919 * sysdeps/arm/fclrexcpt.c (feclearexcept):
11920 Optimize to avoid unnecessary FPSCR writes.
11921 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
11922 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
11923 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
11924 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
11926 2014-06-24 Wilco <wdijkstr@arm.com>
11928 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
11929 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
11930 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
11931 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
11932 Call libc_fetestexcept_vfp.
11933 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
11934 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
11935 __SOFTFP__ ifdef so that they can be built for softfp.
11937 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11939 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
11940 argument type signed char.
11942 * Makerules (check-abi): Dump diff of symlist if the test
11945 2014-06-23 Roland McGrath <roland@hack.frob.com>
11947 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
11950 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11951 Remove unused variable ST.
11953 2014-06-23 Joseph Myers <joseph@codesourcery.com>
11957 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
11958 small arguments before calling __expm1.
11959 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
11960 small arguments before calling __expm1f.
11961 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
11962 small arguments before calling __expm1l.
11963 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11965 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
11966 * math/auto-libm-test-in: Add more cosh tests. Do not allow
11967 spurious underflow for some cosh tests.
11968 * math/auto-libm-test-out: Regenerated.
11969 * sysdeps/i386/fpu/libm-test-ulps: Update.
11972 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
11973 (__ieee754_y1): Set errno if return value overflows.
11974 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
11975 (__ieee754_y1f): Set errno if return value overflows.
11976 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
11977 (__ieee754_y1l): Set errno if return value overflows.
11978 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
11979 (__ieee754_y1l): Set errno if return value overflows.
11980 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
11981 * math/auto-libm-test-out: Regenerated.
11983 * math/gen-auto-libm-tests.c: Document use of
11984 ignore-zero-inf-sign.
11985 (input_flag_type): Add value flag_ignore_zero_inf_sign.
11986 (input_flags): Add ignore-zero-inf-sign.
11987 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
11988 * math/gen-libm-test.pl (generate_testfile): Handle
11989 ignore-zero-inf-sign.
11990 * math/auto-libm-test-in: Mark some cpow tests with
11991 ignore-zero-inf-sign and some with xfail-rounding.
11992 * math/auto-libm-test-out: Regenerated.
11993 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
11994 * sysdeps/i386/fpu/libm-test-ulps: Update.
11995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11998 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
11999 overflowing or underflowing operations take place with sign of
12001 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12002 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12003 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
12004 (__ieee754_pow): Recompute overflowing and underflowing results in
12005 original rounding mode.
12006 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
12007 (__powl_helper): Allow negative argument X and scale negated value
12008 as needed. Avoid passing value outside [-1, 1] to f2xm1.
12009 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
12010 overflowing or underflowing operations take place with sign of
12012 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
12014 * math/auto-libm-test-in: Add more tests of pow.
12015 * math/auto-libm-test-out: Regenerated.
12016 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
12017 (pow_tonearest_test_data): Remove.
12018 (pow_test_tonearest): Likewise.
12019 (pow_towardzero_test_data): Likewise.
12020 (pow_test_towardzero): Likewise.
12021 (pow_downward_test_data): Likewise.
12022 (pow_test_downward): Likewise.
12023 (pow_upward_test_data): Likewise.
12024 (pow_test_upward): Likewise.
12025 (main): Don't call removed functions.
12026 * sysdeps/i386/fpu/libm-test-ulps: Update.
12027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12029 2014-06-23 Roland McGrath <roland@hack.frob.com>
12031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
12033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
12034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
12037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
12040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
12042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
12043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
12045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
12049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
12051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
12053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
12055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
12057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
12061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
12065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
12067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
12069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
12070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
12072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
12074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
12076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
12077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
12079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
12080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
12082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
12083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
12085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
12086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
12088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
12089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
12091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
12092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
12094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
12095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
12096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
12098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
12100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
12101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
12107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
12113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
12115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
12116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
12119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
12120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
12121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
12125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
12129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
12131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
12132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
12135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
12137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
12138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
12141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
12143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
12145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
12148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
12151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
12154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
12157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
12158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
12159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
12162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
12165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
12177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
12180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
12183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
12186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
12190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
12194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
12196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
12198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
12201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
12203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
12205 2014-06-23 Will Newton <will.newton@linaro.org>
12206 Wilco <wdijkstr@arm.com>
12208 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
12209 implementation. Include get-rounding-mode.h.
12210 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
12211 [!libc_feholdsetround_noex_ctx]: Define
12212 libc_feholdsetround_noex_ctx.
12213 [!libc_feholdsetround_noexf_ctx]: Define
12214 libc_feholdsetround_noexf_ctx.
12215 [!libc_feholdsetround_noexl_ctx]: Define
12216 libc_feholdsetround_noexl_ctx.
12217 (libc_feholdsetround_ctx): New function.
12218 (libc_feresetround_ctx): New function.
12219 (libc_feholdsetround_noex_ctx): New function.
12220 (libc_feresetround_noex_ctx): New function.
12222 2014-06-23 Roland McGrath <roland@hack.frob.com>
12224 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
12225 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
12226 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
12227 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
12228 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
12229 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
12231 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
12232 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
12233 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
12234 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
12235 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
12236 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
12237 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
12238 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
12239 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
12240 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
12241 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
12243 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
12245 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
12246 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
12247 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
12248 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
12249 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
12251 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
12252 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
12253 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
12254 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
12255 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
12256 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
12257 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
12258 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
12260 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
12261 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
12263 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
12264 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
12265 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
12266 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
12268 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
12269 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
12270 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
12271 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
12272 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
12273 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
12274 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
12275 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
12276 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
12277 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
12279 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
12281 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
12282 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
12283 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
12284 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
12285 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
12286 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
12287 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
12288 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
12289 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
12290 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
12291 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
12292 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
12293 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
12295 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
12296 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
12297 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
12298 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
12299 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
12300 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
12302 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
12303 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
12304 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
12305 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
12306 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
12308 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
12309 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
12310 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
12311 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
12312 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
12313 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
12314 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
12315 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
12316 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
12317 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
12318 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
12319 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
12320 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
12321 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
12322 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
12323 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
12324 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
12325 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
12326 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
12327 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
12328 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
12329 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
12330 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
12331 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
12332 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
12333 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
12334 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
12335 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
12337 2014-06-23 Joseph Myers <joseph@codesourcery.com>
12339 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
12340 (FALLOC_FL_COLLAPSE_RANGE): New macro.
12341 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
12342 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
12343 (IPV6_PMTUDISC_INTERFACE): Likewise.
12344 (IPV6_PMTUDISC_OMIT): Likewise.
12346 2014-06-23 Andreas Schwab <schwab@suse.de>
12348 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
12349 Remove unused errout label.
12351 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12353 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
12354 macro: hardware supports Vector Crypto instructions.
12356 2014-06-23 Will Newton <will.newton@linaro.org>
12358 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
12359 rather than __builtin_expect.
12361 * elf/dl-lookup.c (undefined_msg): Remove variable.
12362 (_dl_lookup_symbol_x): Replace undefined_msg with string
12365 * elf/dl-lookup.c (do_lookup_unique): New function.
12366 (do_lookup_x): Move STB_GNU_UNIQUE handling code
12367 to a separate function.
12369 2014-06-23 Andreas Schwab <schwab@suse.de>
12372 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
12373 before reading the next line.
12375 2014-06-23 Will Newton <will.newton@linaro.org>
12377 * test-skeleton.c (signal_handler): Use printf and %m
12378 rather than perror. Use printf rather than fprintf to
12379 stderr. Use puts rather than fputs to stderr.
12382 2014-06-22 Ludovic Courtès <ludo@gnu.org>
12384 * nscd/nscd.c (thread_info_t): Remove typedef.
12385 (thread_info): Remove variable.
12387 2014-06-21 Allan McRae <allan@archlinux.org>
12389 * NEWS: Mention CVE-2014-4043.
12391 2014-06-20 Roland McGrath <roland@hack.frob.com>
12393 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
12394 * nptl/smp.h: ... here.
12396 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
12398 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
12399 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
12400 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
12401 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
12403 * nptl/allocatestack.c: Include <stack-aliasing.h>.
12404 * nptl/stack-aliasing.h: New file.
12405 * sysdeps/i386/i686/stack-aliasing.h: New file.
12406 * sysdeps/i386/i686/nptl/Makefile: File removed.
12407 * sysdeps/x86_64/stack-aliasing.h: New file.
12408 * sysdeps/x86_64/nptl/Makefile
12409 (CFLAGS-pthread_create.c): Variable removed.
12411 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
12412 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
12414 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
12415 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
12418 2014-06-21 Joseph Myers <joseph@codesourcery.com>
12420 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12421 (__ASSUME_SIGFRAME_V2): Remove macro.
12422 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
12423 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
12424 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
12425 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
12426 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
12427 Declare as function. Remove conditional macro definitions.
12428 (__default_rt_sa_restorer): Likewise.
12429 (__default_sa_restorer_v1): Remove declaration.
12430 (__default_sa_restorer_v2): Likewise.
12431 (__default_rt_sa_restorer_v1): Likewise.
12432 (__default_rt_sa_restorer_v2): Likewise.
12433 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
12434 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
12435 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
12437 2014-06-20 Roland McGrath <roland@hack.frob.com>
12439 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
12440 (libpthread-routines): Add sysdep.
12441 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
12442 * sysdeps/unix/sysv/linux/sparc/Versions
12443 (libpthread: GLIBC_2.3.3): New version set.
12444 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
12445 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
12446 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
12447 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
12448 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
12449 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
12451 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
12452 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
12453 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
12454 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
12455 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
12456 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
12457 * sysdeps/sparc/nptl/sem_init.c: ... here.
12458 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
12459 * sysdeps/sparc/nptl/sem_post.c: ... here.
12460 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
12461 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
12462 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
12463 * sysdeps/sparc/nptl/sem_wait.c: ... here.
12464 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
12465 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
12466 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
12467 (libpthread-routines): Add cpu_relax.
12468 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
12470 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
12471 (librt: GLIBC_2.3.3): New version set.
12472 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
12473 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
12474 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
12475 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
12476 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
12477 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
12478 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
12479 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
12481 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
12482 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
12483 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
12484 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
12485 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
12486 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
12487 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
12488 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
12489 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
12490 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
12492 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
12494 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
12496 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
12498 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
12500 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
12502 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
12504 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
12506 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
12508 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
12510 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
12512 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
12514 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
12515 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
12516 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
12517 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
12518 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
12519 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
12520 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
12521 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
12522 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
12523 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
12524 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12526 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
12527 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
12528 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
12529 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
12530 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
12532 2014-06-20 Joseph Myers <joseph@codesourcery.com>
12534 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
12535 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
12536 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
12537 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
12538 * nscd/nscd.c: Likewise.
12539 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
12540 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
12541 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
12542 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
12544 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
12545 <kernel-features.h>.
12546 (init_mq_netlink): Remove conditional have_sock_cloexec
12547 definitions. Remove code conditional on have_sock_cloexec < 0.
12548 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
12549 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
12550 * sysdeps/unix/sysv/linux/opensock.c: Do not include
12551 <kernel-features.h>.
12552 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
12553 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
12555 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
12557 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12558 Add tests for memset_chk and memset.
12560 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
12563 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
12566 * elf/tst-dl-iter-static.c: New file.
12567 * elf/Makefile (tests-static): Add tst-dl-iter-static.
12569 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
12572 2014-06-20 Joseph Myers <joseph@codesourcery.com>
12574 * sysdeps/unix/sysv/linux/kernel-features.h
12575 (__ASSUME_F_GETOWN_EX): Remove macro.
12576 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
12577 <kernel-features.h>.
12578 (miss_F_GETOWN_EX): Remove variable or macro.
12579 (do_fcntl): Do not check miss_F_GETOWN_EX.
12580 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
12582 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
12584 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
12585 [!__ASSUME_AT_RANDOM]: Remove conditional code.
12586 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
12588 * sysdeps/unix/sysv/linux/kernel-features.h
12589 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
12590 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
12591 [ADJ_OFFSET_SS_READ]: Make code unconditional.
12592 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
12594 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
12597 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
12598 Fix calculation of the symbol's value.
12599 * sysdeps/arm/tst-armtlsdescloc.c: New file.
12600 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
12601 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
12602 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
12603 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
12604 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
12605 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
12606 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
12607 (modules-names): Add `tst-armtlsdescmod',
12608 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
12609 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
12610 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
12611 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
12612 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
12613 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
12614 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
12615 ($(objpfx)tst-armtlsdescloc): New dependency.
12616 ($(objpfx)tst-armtlsdescextnow): Likewise.
12617 ($(objpfx)tst-armtlsdescextlazy): Likewise.
12618 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
12619 TLS scheme support.
12620 * sysdeps/arm/configure: Regenerate.
12622 2014-06-20 Joseph Myers <joseph@codesourcery.com>
12624 * include/fcntl.h (__atfct_seterrno): Remove prototype.
12625 (__atfct_seterrno_2): Likewise.
12626 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
12627 <kernel-features.h>.
12628 (__ASSUME_ATFCTS): Do not undefine and redefine.
12629 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
12630 (__have_atfcts): Remove conditional definition.
12631 (__fxstatat([__NR_fstatat64]: Make code unconditional.
12632 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
12633 unreachable if [__ASSUME_ATFCTS].
12634 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
12635 not undefine and redefine.
12636 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
12637 <kernel-features.h>.
12638 (faccessat) [__NR_faccessat]: Make code unconditional.
12639 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
12640 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
12641 <kernel-features.h>.
12642 (fchmodat) [__NR_fchmodat]: Make code unconditional.
12643 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
12644 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
12645 <kernel-features.h>.
12646 (fchownat) [__NR_fchownat]: Make code unconditional.
12647 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
12648 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
12649 <kernel-features.h>.
12650 (futimesat) [__NR_futimesat]: Make code unconditional.
12651 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
12652 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12653 <kernel-features.h>.
12654 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
12655 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
12656 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12657 <kernel-features.h>.
12658 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
12659 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
12660 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
12661 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12662 <kernel-features.h>.
12663 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
12664 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
12665 * sysdeps/unix/sysv/linux/linkat.c: Do not include
12666 <kernel-features.h>.
12667 (linkat) [__NR_linkat]: Make code unconditional.
12668 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12669 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
12670 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
12671 <kernel-features.h>.
12672 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
12673 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
12674 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
12675 <kernel-features.h>.
12676 (mkdirat) [__NR_mkdirat]: Make code unconditional.
12677 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
12678 * sysdeps/unix/sysv/linux/openat.c: Do not include
12679 <kernel-features.h>.
12680 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
12681 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
12682 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
12683 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
12684 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
12685 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
12686 <kernel-features.h>.
12687 (readlinkat) [__NR_readlinkat]: Make code unconditional.
12688 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
12689 result of INLINE_SYSCALL directly, not via int variable.
12690 * sysdeps/unix/sysv/linux/renameat.c: Do not include
12691 <kernel-features.h>.
12692 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
12693 (renameat) [__NR_renameat]: Make code unconditional.
12694 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
12695 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
12696 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
12697 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
12698 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
12699 (__ASSUME_ATFCTS): Do not undefine and redefine.
12700 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
12701 <kernel-features.h>.
12702 (symlinkat) [__NR_symlinkat]: Make code unconditional.
12703 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12704 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
12705 <kernel-features.h>.
12706 (unlinkat) [__NR_unlinkat]: Make code unconditional.
12707 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12708 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
12709 (__ASSUME_ATFCTS): Do not undefine and redefine.
12710 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12711 <kernel-features.h>.
12712 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
12713 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
12714 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12715 <kernel-features.h>.
12716 (__xmknodat) [__NR_mknodat]: Make code unconditional.
12717 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
12719 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
12721 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
12723 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
12726 * posix/regcomp.c (parse_reg_exp): Deallocate partially
12727 constructed tree before returning error.
12728 * posix/bug-regexp36.c: Expand test case.
12730 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12733 * math/libm-test.inc (scalbln_test_date):
12734 Add errno expectations.
12735 * math/w_scalblnf.c: New File.
12736 Add wrapper which checks for setting errno to ERANGE.
12737 Add weak_alias for corresponding scalbln function.
12738 * math/w_scalbln.c: Likewise.
12739 * math/w_scalblnl.c: Likewise.
12740 * math/Makefile (libm-calls): Add w_scalbln.
12741 * sysdeps/ieee754/flt-32/s_scalblnf.c:
12742 Remove weak_alias for corresponding scalbln function.
12743 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12744 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12745 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12746 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12747 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
12748 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
12749 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
12750 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
12751 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
12752 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
12753 Remove long_double_symbol for scalblnl function in libm, libc.
12754 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
12755 Add wrapper which checks for setting errno to ERANGE.
12756 Add long_double_symbol for scalblnl function in libm, libc.
12757 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
12758 Remove long_double_symbol for scalblnl in libm.
12759 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
12760 Add wrapper which checks for setting errno to ERANGE.
12761 Add long_double_symbol for scalblnl function in libm.
12762 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
12763 Do not use wrapper because of own implementation.
12765 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
12767 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
12768 3 bytes for __pad1 for x32.
12769 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
12771 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
12772 H.J. Lu <hongjiu.lu@intel.com>
12774 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
12775 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
12776 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12777 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12778 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
12780 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
12783 * posix/regcomp.c (parse_expression): Deallocate partially
12784 constructed tree before returning error.
12785 * posix/Makefile.c (tests): Add bug-regex36.
12786 (generated): Add bug-regex36.mtrace.
12787 (tests-special): Add $(objpfx)bug-regex36-mem.out
12788 (bug-regex36-ENV): New variable.
12789 ($(objpfx)bug-regex36-mem.out): New rule.
12790 * posix/bug-regex36.c: New file.
12792 2014-06-19 Will Newton <will.newton@linaro.org>
12794 * malloc/malloc.c (systrim): If extra is zero then return
12797 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12799 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
12801 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
12803 * sysdeps/aarch64/strchr.S: New file.
12805 2014-06-18 Joseph Myers <joseph@codesourcery.com>
12808 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
12809 from arguments -2 or below.
12810 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12811 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
12813 2014-06-18 Andreas Schwab <schwab@suse.de>
12816 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
12817 of a bracket expr not to run off the end of the string.
12818 * posix/Makefile (tests): Add tst-fnmatch3.
12819 * posix/tst-fnmatch3.c: New file.
12821 2014-06-18 Joseph Myers <joseph@codesourcery.com>
12823 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
12824 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12825 [$(cross-compiling) = no]: Likewise.
12826 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12827 [$(cross-compiling) = no]: Likewise.
12829 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12832 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
12833 double, adjusted for any remainder from the high double.
12834 * math/libm-test.inc (nearbyint): Add tests.
12837 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12839 * nptl/sysdeps/powerpc/Makefile: Moved ...
12840 * sysdeps/powerpc/nptl/Makefile: ... here.
12841 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
12842 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
12843 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
12844 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
12845 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
12846 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
12847 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
12848 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
12849 * nptl/sysdeps/powerpc/tls.h: Moved ...
12850 * sysdeps/powerpc/nptl/tls.h: ... here.
12852 2014-06-16 Joseph Myers <joseph@codesourcery.com>
12855 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
12856 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
12857 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
12858 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
12859 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
12860 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
12861 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
12862 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
12863 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
12865 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
12867 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12869 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
12871 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
12874 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
12877 2014-06-16 Florian Weimer <fweimer@redhat.com>
12880 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
12881 non-executed part of the test.
12883 2014-06-16 Andreas Schwab <schwab@suse.de>
12885 * string/bits/string2.h (strdup, strndup): Update feature guard.
12887 2014-06-14 David S. Miller <davem@davemloft.net>
12889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12891 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
12893 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
12894 that was previously under [RESET_PID].
12895 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
12897 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
12898 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
12899 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
12900 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12901 (__libc_vfork): New strong alias.
12902 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
12904 2014-06-14 Andi Kleen <ak@linux.intel.com>
12906 * sysdeps/generic/elide.h: New file.
12908 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
12910 * Makefile (installed-headers): Adjust path of pthread.h header.
12912 2014-06-13 Roland McGrath <roland@hack.frob.com>
12914 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
12915 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
12916 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
12917 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
12919 * nptl/sysdeps/s390/Makefile: Moved ...
12920 * sysdeps/s390/nptl/Makefile: ... here.
12921 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
12922 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
12923 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
12924 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
12925 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
12926 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
12927 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
12928 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
12929 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
12930 * sysdeps/s390/nptl/pthreaddef.h: ... here.
12931 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
12932 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
12933 * nptl/sysdeps/s390/tls.h: Moved ...
12934 * sysdeps/s390/nptl/tls.h: ... here.
12936 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
12937 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
12939 2014-06-13 David S. Miller <davem@davemloft.net>
12941 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
12942 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
12943 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
12944 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
12945 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
12946 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
12947 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
12948 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
12949 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
12950 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
12951 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
12952 Remove RESET_PID cpp guards.
12953 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
12954 Remove RESET_PID cpp guards.
12955 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
12957 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
12959 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
12962 2014-06-13 Andi Kleen <ak@linux.intel.com>
12964 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
12965 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
12966 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
12967 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
12968 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
12969 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
12970 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
12971 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
12972 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
12973 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
12974 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
12975 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
12976 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
12977 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
12978 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
12979 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
12980 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
12981 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
12982 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
12983 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
12985 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
12986 (pthread_rwlock_rdlock): Add elision.
12987 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
12988 (pthread_rwlock_wrlock): Add elision.
12989 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
12990 (pthread_rwlock_trywrlock): Add elision.
12991 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
12992 (pthread_rwlock_tryrdlock): Add elision.
12993 * nptl/pthread_rwlock_unlock.c: Include elide.h.
12994 (pthread_rwlock_tryrdlock): Add elision unlock.
12995 * nptl/sysdeps/pthread/pthread.h:
12996 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
12997 (PTHREAD_RWLOCK_INITIALIZER,
12998 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
12999 Handle new elision field.
13000 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
13001 * sysdeps/arm/nptl/bits/pthreadtypes.h
13002 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13003 * sysdeps/sh/nptl/bits/pthreadtypes.h
13004 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13005 * sysdeps/tile/nptl/bits/pthreadtypes.h
13006 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13007 * sysdeps/a/nptl/bits/pthreadtypes.h
13008 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13009 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13010 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13011 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13012 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13013 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
13014 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13015 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13016 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13017 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13018 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13019 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13020 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13021 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13022 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13023 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
13024 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13025 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
13026 (elision_init): Set try_xbegin to zero when no RTM.
13027 * sysdeps/x86/nptl/bits/pthreadtypes.h
13028 (pthread_rwlock_t): Change __pad1 to __rwelision.
13029 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13031 2014-06-13 Andi Kleen <ak@linux.intel.com>
13033 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
13034 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
13035 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
13036 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
13038 2014-06-13 Meador Inge <meadori@codesourcery.com>
13041 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
13042 that the cached result has been set before returning it.
13044 2014-06-12 Roland McGrath <roland@hack.frob.com>
13046 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
13047 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
13048 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
13049 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
13050 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
13051 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
13053 * nptl/sysdeps/sparc/Makefile: Moved ...
13054 * sysdeps/sparc/nptl/Makefile: ... here.
13055 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
13056 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
13057 * nptl/sysdeps/sparc/tls.h: Moved ...
13058 * sysdeps/sparc/nptl/tls.h: ... here.
13059 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
13060 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
13061 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
13062 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
13063 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
13064 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
13065 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
13066 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
13067 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
13068 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
13069 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
13070 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
13071 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
13072 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
13073 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
13074 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
13075 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
13076 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
13078 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
13079 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
13081 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
13082 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
13084 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
13085 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
13088 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
13090 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
13091 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
13093 * sysdeps/pthread/posix-timer.h: Include <list.h>.
13094 (struct list_links): Type removed.
13095 (struct thread_node, struct timer_node): Replace struct list_links
13096 with struct list_head.
13097 (list_unlink_ip): Likewise.
13098 * sysdeps/pthread/timer_routines.c
13099 (timer_free_list, thread_free_list, thread_active_list): Likewise.
13100 (list_append, list_insbefore): Likewise.
13101 (list_init): Function removed.
13102 (thread_init, init_module): Use INIT_LIST_HEAD instead.
13103 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
13104 * sysdeps/pthread/Makefile: ... here, new file.
13106 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
13107 * sysdeps/nptl/Implies: ... here.
13108 * sysdeps/unix/sysv/linux/Implies: Add nptl.
13109 * nptl/sysdeps/pthread/list.h: Moved ...
13110 * include/list.h: ... here.
13111 * nptl/sysdeps/pthread/createthread.c: Moved ...
13112 * nptl/createthread.c: ... here.
13113 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
13114 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
13115 * nptl/pt-longjmp.c: ... here.
13116 * nptl/sysdeps/pthread/Makefile: Moved ...
13117 * sysdeps/nptl/Makefile: ... here.
13118 * nptl/sysdeps/pthread/Subdirs: Moved ...
13119 * sysdeps/nptl/Subdirs: ... here.
13120 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
13121 * sysdeps/nptl/aio_misc.h: ... here.
13122 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
13123 * sysdeps/nptl/bits/libc-lock.h: ... here.
13124 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
13125 * sysdeps/nptl/bits/libc-lockP.h: ... here.
13126 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
13127 * sysdeps/nptl/bits/stdio-lock.h: ... here.
13128 * nptl/sysdeps/pthread/configure: Moved ...
13129 * sysdeps/nptl/configure: ... here.
13130 * nptl/sysdeps/pthread/configure.ac: Moved ...
13131 * sysdeps/nptl/configure.ac: ... here.
13132 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
13133 * sysdeps/nptl/gai_misc.h: ... here.
13134 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
13135 * sysdeps/nptl/librt-cancellation.c: ... here.
13136 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
13137 * sysdeps/nptl/malloc-machine.h: ... here.
13138 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
13139 * sysdeps/nptl/pthread-functions.h: ... here.
13140 * nptl/sysdeps/pthread/pthread.h: Moved ...
13141 * sysdeps/nptl/pthread.h: ... here.
13142 * nptl/sysdeps/pthread/setxid.h: Moved ...
13143 * sysdeps/nptl/setxid.h: ... here.
13144 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
13145 * sysdeps/nptl/sigfillset.c: ... here.
13146 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
13147 * sysdeps/nptl/tcb-offsets.h: ... here.
13148 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
13149 * sysdeps/nptl/tst-mqueue8x.c: ... here.
13150 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
13151 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
13152 * nptl/sysdeps/pthread/allocalim.h: Moved ...
13153 * sysdeps/pthread/allocalim.h: ... here.
13154 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
13155 * sysdeps/pthread/bits/sigthread.h: ... here.
13156 * nptl/sysdeps/pthread/flockfile.c: Moved ...
13157 * sysdeps/pthread/flockfile.c: ... here.
13158 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
13159 * sysdeps/pthread/ftrylockfile.c: ... here.
13160 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
13161 * sysdeps/pthread/funlockfile.c: ... here.
13162 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
13163 * sysdeps/pthread/posix-timer.h: ... here.
13164 * nptl/sysdeps/pthread/timer_create.c: Moved ...
13165 * sysdeps/pthread/timer_create.c: ... here.
13166 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
13167 * sysdeps/pthread/timer_delete.c: ... here.
13168 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
13169 * sysdeps/pthread/timer_getoverr.c: ... here.
13170 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
13171 * sysdeps/pthread/timer_gettime.c: ... here.
13172 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
13173 * sysdeps/pthread/timer_routines.c: ... here.
13174 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
13175 * sysdeps/pthread/timer_settime.c: ... here.
13176 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
13177 * sysdeps/pthread/tst-timer.c: ... here.
13178 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
13179 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
13181 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
13182 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
13184 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
13185 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
13186 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
13187 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
13188 Update #include target.
13189 * nptl/sysdeps/i386/i686/Makefile: Moved ...
13190 * sysdeps/i386/i686/nptl/Makefile: ... here.
13191 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
13192 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
13193 Update #include target.
13194 * nptl/sysdeps/i386/i686/tls.h: Moved ...
13195 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
13196 * nptl/sysdeps/i386/Makefile: Moved ...
13197 * sysdeps/i386/nptl/Makefile: ... here.
13198 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
13199 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
13200 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
13201 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
13202 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
13203 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
13204 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
13205 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
13206 * sysdeps/i386/nptl/pthreaddef.h: ... here.
13207 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
13208 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
13209 * nptl/sysdeps/i386/tls.h: Moved ...
13210 * sysdeps/i386/nptl/tls.h: ... here.
13212 * sysdeps/sh/Makefile [$(subdir) = csu]
13213 (gen-as-const-headers): Add tcb-offsets.sym.
13214 * nptl/sysdeps/sh/Makefile: File removed.
13215 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
13216 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
13217 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
13218 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
13219 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
13220 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
13221 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
13222 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
13223 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
13224 * sysdeps/sh/nptl/pthreaddef.h: ... here.
13225 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
13226 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
13227 * nptl/sysdeps/sh/tls.h: Moved ...
13228 * sysdeps/sh/nptl/tls.h: ... here.
13229 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
13230 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
13231 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
13232 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
13233 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
13234 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
13235 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
13236 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
13237 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
13238 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
13239 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
13240 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
13241 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
13242 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
13243 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
13244 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
13245 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
13246 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
13247 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
13248 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
13249 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
13250 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
13251 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
13252 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
13253 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
13255 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
13256 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
13258 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
13259 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
13260 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
13261 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
13262 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
13263 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
13264 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
13265 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
13266 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
13267 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
13268 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
13269 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
13270 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
13271 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
13272 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
13273 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
13274 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
13275 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
13276 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
13278 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
13280 * posix/spawn_faction_addopen.c: Include string.h.
13282 2014-06-11 Roland McGrath <roland@hack.frob.com>
13284 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
13285 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
13286 * nptl/sysdeps/x86_64/Makefile: Moved ...
13287 * sysdeps/x86_64/nptl/Makefile: ... here.
13288 * nptl/sysdeps/x86_64/configure: Moved ...
13289 * sysdeps/x86_64/nptl/configure: ... here.
13290 * nptl/sysdeps/x86_64/configure.ac: Moved ...
13291 * sysdeps/x86_64/nptl/configure.ac: ... here.
13292 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
13293 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
13294 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
13295 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
13296 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
13297 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
13298 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
13299 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
13300 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
13301 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
13302 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
13303 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
13304 * nptl/sysdeps/x86_64/tls.h: Moved ...
13305 * sysdeps/x86_64/nptl/tls.h: ... here.
13306 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
13307 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
13308 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
13309 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
13311 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
13313 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13317 2014-06-11 Joseph Myers <joseph@codesourcery.com>
13319 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
13321 [POSIX] (off_t): Likewise.
13322 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
13323 [POSIX] (S_ISBLK): Require macro.
13324 [POSIX] (S_ISCHR): Likewise.
13325 [POSIX] (S_ISDIR): Likewise.
13326 [POSIX] (S_ISFIFO): Likewise.
13327 [POSIX] (S_ISREG): Likewise.
13328 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
13330 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
13332 [POSIX] (time_t): Likewise.
13333 [POSIX] (timer_t): Likewise.
13335 2014-06-11 Florian Weimer <fweimer@redhat.com>
13338 * posix/spawn_int.h (struct __spawn_action): Make the path string
13339 non-const to support deallocation.
13340 * posix/spawn_faction_addopen.c
13341 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
13342 * posix/spawn_faction_destroy.c
13343 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
13344 path in all spawn_do_open actions.
13345 * posix/tst-spawn.c (do_test): Exercise the copy operation in
13346 posix_spawn_file_actions_addopen.
13348 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
13350 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
13351 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
13352 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
13353 conditional code always true.
13354 (__libc_vfork): New alias.
13356 2014-06-11 Roland McGrath <roland@hack.frob.com>
13358 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13359 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
13361 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
13363 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13364 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
13366 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
13367 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
13369 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13370 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
13372 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13374 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
13375 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
13376 multiarch strcmp for PPC64.
13377 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
13378 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
13379 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
13380 multiarch optimizations.
13381 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13382 (__libc_ifunc_impl_list): Likewise.
13384 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13386 * benchtests/scripts/validate_benchout.py: New script.
13387 * benchtests/Makefile (bench-func): Call it.
13388 * benchtests/scripts/benchout.schema.json: New file.
13390 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
13392 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
13393 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
13394 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
13395 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
13396 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
13397 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
13398 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
13399 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
13400 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
13401 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
13402 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
13403 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
13404 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
13405 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
13406 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
13407 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
13408 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
13410 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
13412 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
13414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
13415 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
13417 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
13419 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
13421 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
13423 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
13425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
13426 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
13428 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
13430 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
13432 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
13434 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
13436 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
13437 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
13439 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
13441 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
13443 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
13445 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
13447 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
13449 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
13451 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
13452 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
13454 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
13456 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
13458 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
13460 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
13462 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
13464 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
13466 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
13467 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
13469 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
13471 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
13473 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
13475 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
13477 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
13478 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
13480 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
13482 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
13484 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
13485 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
13487 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
13488 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
13490 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
13492 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
13494 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
13496 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
13498 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
13500 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
13502 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
13503 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
13505 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
13507 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
13509 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
13511 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
13512 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
13513 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
13514 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
13515 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
13517 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
13519 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
13520 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
13521 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
13522 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
13523 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
13524 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
13525 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
13526 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
13527 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
13528 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
13529 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
13530 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
13531 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
13533 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
13534 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
13536 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
13537 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
13538 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
13539 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
13541 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
13542 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
13543 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
13544 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
13545 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
13546 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
13547 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
13549 2014-06-10 Wilco <wdijkstr@arm.com>
13551 * math/test-fenv-return.c: New file.
13552 * math/Makefile: Add new test test-fenv-return.
13554 2014-06-10 Joseph Myers <joseph@codesourcery.com>
13557 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
13558 when x - 1 is zero.
13559 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
13560 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
13561 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
13562 0.0L for an argument of 1.0L.
13563 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
13565 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
13566 value when x - 1 is zero.
13567 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
13568 * sysdeps/i386/fpu/libm-test-ulps: Update.
13569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13571 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
13574 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
13576 2014-06-09 Roland McGrath <roland@hack.frob.com>
13578 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
13579 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
13581 2014-06-09 Roland McGrath <roland@hack.frob.com>
13583 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13584 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
13586 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13587 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
13589 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13590 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
13592 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13593 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
13595 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
13596 if not already defined.
13597 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
13598 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
13599 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
13600 (TLS_INIT_TP): Use it.
13601 (TLS_DEFINE_INIT_TP): New macro.
13602 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
13604 2014-06-09 Joseph Myers <joseph@codesourcery.com>
13606 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
13608 [POSIX] (IXANY): Likewise.
13609 [POSIX] (OLCUC): Likewise.
13610 [POSIX || POSIX2008] (CBAUD): Do not allow.
13611 [POSIX || POSIX2008] (DEFECHO): Likewise.
13612 [POSIX || POSIX2008] (ECHOCTL): Likewise.
13613 [POSIX || POSIX2008] (ECHOKE): Likewise.
13614 [POSIX || POSIX2008] (ECHOPRT): Likewise.
13615 [POSIX || POSIX2008] (EXTA): Likewise.
13616 [POSIX || POSIX2008] (EXTB): Likewise.
13617 [POSIX || POSIX2008] (FLUSHO): Likewise.
13618 [POSIX || POSIX2008] (LOBLK): Likewise.
13619 [POSIX || POSIX2008] (PENDIN): Likewise.
13620 [POSIX || POSIX2008] (SWTCH): Likewise.
13621 [POSIX || POSIX2008] (VDISCARD): Likewise.
13622 [POSIX || POSIX2008] (VDSUSP): Likewise.
13623 [POSIX || POSIX2008] (VLNEXT): Likewise.
13624 [POSIX || POSIX2008] (VREPRINT): Likewise.
13625 [POSIX || POSIX2008] (VSTATUS): Likewise.
13626 [POSIX || POSIX2008] (VWERASE): Likewise.
13627 (B*): Change to B[0123456789]*.
13628 * conform/data/time.h-data [POSIX || UNIX98]
13629 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
13630 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13631 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
13632 [POSIX] (tm_*): Do not allow.
13634 2014-06-07 Joseph Myers <joseph@codesourcery.com>
13636 * Makefile (install): Don't set LANGUAGE.
13637 * Makefile.in (install): Likewise.
13638 * assert/Makefile (test-assert-ENV): Remove variable.
13639 (test-assert-perr-ENV): Likewise.
13640 * elf/Makefile (neededtest4-ENV): Likewise.
13641 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13642 [$(cross-compiling) = no]: Don't set LANGUAGE.
13643 * io/ftwtest-sh (LANG): Remove variable.
13644 * libio/Makefile (tst-widetext-ENV): Likewise.
13645 * manual/install.texi (Running make install): Don't refer to
13646 environment settings for make install.
13647 * INSTALL: Regenerated.
13648 * nptl/tst-tls6.sh: Don't set LANG.
13649 * posix/globtest.sh (LANG): Remove variable.
13650 * string/Makefile (tester-ENV): Likewise.
13651 (inl-tester-ENV): Likewise.
13652 (noinl-tester-ENV): Likewise.
13653 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13654 [$(cross-compiling) = no]: Don't set LANGUAGE.
13655 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
13656 without explicit environment settings.
13658 2014-06-06 Roland McGrath <roland@hack.frob.com>
13660 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
13661 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
13662 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
13663 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
13665 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
13667 * crypt/crypt-private.h [DOS]: Add some includes taken from the
13668 other files in the crypt directory.
13669 * crypt/crypt.c: Remove duplicate includes.
13670 * crypt/crypt-entry.c: Likewise.
13671 * crypt/crypt_util.c: Likewise.
13673 2014-06-06 Joseph Myers <joseph@codesourcery.com>
13675 * Makeconfig (run-program-env): New variable.
13676 (run-program-prefix-before-env): Likewise.
13677 (run-program-prefix-after-env): Likewise.
13678 (run-program-prefix): Define in terms of new variables.
13679 (built-program-cmd-before-env): New variable.
13680 (built-program-cmd-after-env): Likewise.
13681 (built-program-cmd): Define in terms of new variables.
13682 (test-program-prefix-before-env): New variable.
13683 (test-program-prefix-after-env): Likewise.
13684 (test-program-prefix): Define in terms of new variables.
13685 (test-program-cmd-before-env): New variable.
13686 (test-program-cmd-after-env): Likewise.
13687 (test-program-cmd): Define in terms of new variables.
13688 * Rules (make-test-out): Use $(run-program-env).
13689 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
13690 (help): Do not mention environment variables. Mention
13691 --timeoutfactor option.
13692 (timeoutfactor): New variable.
13693 (blacklist_exports): Remove function.
13694 (exports): Remove variable.
13695 (command): Do not include ${exports}.
13696 * manual/install.texi (Configuring and compiling): Do not mention
13697 test wrappers preserving environment variables. Mention that last
13698 assignment to a variable must take precedence.
13699 * INSTALL: Regenerated.
13700 * benchtests/Makefile (run-bench): Use $(run-program-env).
13701 * catgets/Makefile ($(objpfx)test1.cat): Use
13702 $(built-program-cmd-before-env), $(run-program-env) and
13703 $(built-program-cmd-after-env).
13704 ($(objpfx)test2.cat): Do not specify environment variables
13706 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
13707 $(run-program-env) and $(built-program-cmd-after-env).
13708 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
13709 $(run-program-env) and $(test-program-cmd-after-env).
13710 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
13712 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
13713 run_program_env and test_program_cmd_after_env arguments.
13714 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
13715 * elf/tst-pathopt.sh: Use run_program_env argument.
13716 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
13717 $(test-wrapper-env) and $(run-program-env).
13718 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
13719 run_program_env arguments.
13720 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
13721 * intl/Makefile ($(objpfx)tst-gettext.out): Use
13722 $(test-program-prefix-before-env), $(run-program-env) and
13723 $(test-program-prefix-after-env).
13724 ($(objpfx)tst-gettext2.out): Likewise.
13725 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
13726 run_program_env and test_program_prefix_after_env arguments.
13727 * intl/tst-gettext2.sh: Likewise.
13728 * intl/tst-gettext4.sh: Do not set environment variables
13730 * intl/tst-gettext6.sh: Likewise.
13731 * intl/tst-translit.sh: Likewise.
13732 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
13733 $(test-program-prefix-before-env), $(run-program-env) and
13734 $(test-program-prefix-after-env).
13735 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
13736 run_program_env and test_program_prefix_after_env arguments.
13737 * math/Makefile (run-regen-ulps): Use $(run-program-env).
13738 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
13739 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
13740 explicitly with each use of ${test_wrapper_env}.
13741 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
13742 $(test-program-prefix-before-env), $(run-program-env) and
13743 $(test-program-prefix-after-env).
13744 * posix/tst-getconf.sh: Do not set environment variables
13746 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
13747 run_program_env and test_program_prefix_after_env arguments.
13748 * stdio-common/tst-printf.sh: Do not set environment variables
13750 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
13751 $(test-program-prefix-before-env), $(run-program-env) and
13752 $(test-program-prefix-after-env).
13753 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
13754 run_program_env and test_program_prefix_after_env arguments.
13755 Split $test calls into $test_pre and $test.
13756 * timezone/Makefile (build-testdata): Use
13757 $(built-program-cmd-before-env), $(run-program-env) and
13758 $(built-program-cmd-after-env).
13760 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13762 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
13763 strlen for non SHARED builds.
13765 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13767 * nptl/allocatestack.c (check_list): Inlined function...
13768 (__reclaim_stacks): ... here.
13770 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
13773 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
13776 2014-06-05 Joseph Myers <joseph@codesourcery.com>
13778 * Rules (make-test-out): Include
13779 LOCPATH=$(common-objpfx)localedata in default environment.
13780 * debug/Makefile (tst-chk1-ENV): Remove variable.
13781 (tst-chk2-ENV): Likewise.
13782 (tst-chk3-ENV): Likewise.
13783 (tst-chk4-ENV): Likewise.
13784 (tst-chk5-ENV): Likewise.
13785 (tst-chk6-ENV): Likewise.
13786 (tst-lfschk1-ENV): Likewise.
13787 (tst-lfschk2-ENV): Likewise.
13788 (tst-lfschk3-ENV): Likewise.
13789 (tst-lfschk4-ENV): Likewise.
13790 (tst-lfschk5-ENV): Likewise.
13791 (tst-lfschk6-ENV): Likewise.
13792 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
13793 (tst-iconv7-ENV): Likewise.
13794 * intl/Makefile (LOCPATH-ENV): Likewise.
13795 (tst-codeset-ENV): Likewise.
13796 (tst-gettext3-ENV): Likewise.
13797 (tst-gettext5-ENV): Likewise.
13798 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
13799 (tst-fopenloc-ENV): Likewise.
13800 (tst-fgetws-ENV): Remove variable.
13801 (tst-ungetwc1-ENV): Likewise.
13802 (tst-ungetwc2-ENV): Likewise.
13803 (bug-ungetwc2-ENV): Likewise.
13804 (tst-swscanf-ENV): Likewise.
13805 (bug-ftell-ENV): Likewise.
13806 (tst-fgetwc-ENV): Likewise.
13807 (tst-fseek-ENV): Likewise.
13808 (tst-ftell-partial-wide-ENV): Likewise.
13809 (tst-ftell-active-handler-ENV): Likewise.
13810 (tst-ftell-append-ENV): Likewise.
13811 * posix/Makefile (tst-fnmatch-ENV): Likewise.
13812 (tst-regexloc-ENV): Likewise.
13813 (bug-regex1-ENV): Likewise.
13814 (tst-regex-ENV): Likewise.
13815 (tst-regex2-ENV): Likewise.
13816 (bug-regex5-ENV): Likewise.
13817 (bug-regex6-ENV): Likewise.
13818 (bug-regex17-ENV): Likewise.
13819 (bug-regex18-ENV): Likewise.
13820 (bug-regex19-ENV): Likewise.
13821 (bug-regex20-ENV): Likewise.
13822 (bug-regex22-ENV): Likewise.
13823 (bug-regex23-ENV): Likewise.
13824 (bug-regex25-ENV): Likewise.
13825 (bug-regex26-ENV): Likewise.
13826 (bug-regex30-ENV): Likewise.
13827 (bug-regex32-ENV): Likewise.
13828 (bug-regex33-ENV): Likewise.
13829 (bug-regex34-ENV): Likewise.
13830 (bug-regex35-ENV): Likewise.
13831 (tst-rxspencer-ENV): Likewise.
13832 (tst-rxspencer-no-utf8-ENV): Likewise.
13833 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
13834 (tst-sscanf-ENV): Likewise.
13835 (tst-swprintf-ENV): Likewise.
13836 (tst-swscanf-ENV): Likewise.
13837 (test-vfprintf-ENV): Likewise.
13838 (scanf13-ENV): Likewise.
13839 (bug14-ENV): Likewise.
13840 (tst-grouping-ENV): Likewise.
13841 * stdlib/Makefile (tst-strtod-ENV): Likewise.
13842 (tst-strtod3-ENV): Likewise.
13843 (tst-strtod4-ENV): Likewise.
13844 (tst-strtod5-ENV): Likewise.
13845 (testmb2-ENV): Likewise./
13846 * string/Makefile (tst-strxfrm-ENV): Likewise.
13847 (tst-strxfrm2-ENV): Likewise.
13848 (bug-strcoll1-ENV): Likewise.
13849 (test-strcasecmp-ENV): Likewise.
13850 (test-strncasecmp-ENV): Likewise.
13851 * time/Makefile (tst-strptime-ENV): Likewise.
13852 (tst-ftime_l-ENV): Likewise.
13853 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
13854 (tst-mbrtowc-ENV): Likewise.
13855 (tst-wcrtomb-ENV): Likewise.
13856 (tst-mbrtowc2-ENV): Likewise.
13857 (tst-c16c32-1-ENV): Likewise.
13858 (tst-mbsnrtowcs-ENV): Likewise.
13860 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
13862 * manual/resource.texi (How to get information about the memory
13863 subsystem?): Fix typo.
13864 Reported by Peon de la Parra Ivan <peon@keba.com>
13866 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
13869 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
13870 (pthread_spin_lock): Branch out of spin loop to proper location.
13871 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
13872 (pthread_spin_lock): Likewise.
13874 * nptl/tst-spin4.c: New test.
13875 * nptl/Makefile (tests): Add tst-spin4.
13877 2014-06-03 Andreas Schwab <schwab@suse.de>
13880 * resolv/res_send.c (send_dg): Reload file descriptor after
13883 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
13885 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13887 2014-06-03 Richard Henderson <rth@redhat.com>
13889 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
13890 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
13891 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
13892 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
13893 in the SAVE_PID block.
13894 (__libc_vfork): New alias.
13895 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
13897 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
13898 child in registers, not on the stack. Remove RESET_PID conditionals.
13899 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
13901 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
13903 * sysdeps/aarch64/libm-test-ulps: Regenerate.
13905 2014-06-03 Wilco <wdijkstr@arm.com>
13907 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
13908 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
13909 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
13910 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
13911 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
13914 2014-06-03 Wilco <wdijkstr@arm.com>
13916 * sysdeps/aarch64/fpu/math_private.h
13917 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
13918 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
13919 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
13920 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
13923 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13925 * crypt/crypt-private.h: Include ufc-crypt.h.
13926 (__b64_from_24bit): Declare extern.
13927 * crypt/crypt_util.c(__b64_from_24bit): New function.
13928 (b64t): New static const variable.
13929 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
13930 (b64t): Remove variable.
13931 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
13932 * crypt/sha256-crypt.c: Include crypt-private.h.
13933 (b64t): Remove variable.
13934 (__sha256_crypt_r): Remove b64_from_24bit and replace
13935 with __b64_from_24bit.
13936 * crypt/sha512-crypt.c: Likewise.
13938 2014-06-02 Roland McGrath <roland@hack.frob.com>
13940 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
13941 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
13942 Label the code __libc_vfork rather than __vfork.
13943 [!NOT_IN_libc] (vfork): Define as weak alias.
13944 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
13945 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
13946 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
13948 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13950 * malloc/malloc.c (malloc_info): Fix format specifier for
13953 2014-06-02 Wilco <wdijkstr@arm.com>
13955 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
13958 2014-06-02 Wilco <wdijkstr@arm.com>
13961 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
13962 Rewrite to reduce FPCR/FPSR accesses.
13964 2014-06-01 David S. Miller <davem@davemloft.net>
13966 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13968 2014-05-31 David S. Miller <davem@davemloft.net>
13970 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
13971 to occur in round to nearest mode when |x| >= 2.0
13973 2014-05-30 Richard Henderson <rth@twiddle.net>
13975 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
13976 (PSEUDO_RET_NOERRNO): Remove.
13977 (ret): Don't redefine.
13978 (ret_NOERRNO): Define in terms of ret.
13979 (ret_ERRVAL): Likewise.
13981 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
13982 use of PSEUDO_RET; perform the error check directly.
13984 2014-05-30 Marko Myllynen <myllynen@redhat.com>
13986 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
13989 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13991 * malloc/malloc (malloc_info): Fix formatting.
13993 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13994 Roland McGrath <roland@hack.frob.com>
13996 * malloc/malloc (malloc_info): Also print mmapped statistics.
13998 2014-05-30 Roland McGrath <roland@hack.frob.com>
14000 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
14001 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
14003 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
14005 * malloc/malloc.c (malloc_info): Inline mi_arena.
14007 2014-05-29 Richard Henderson <rth@twiddle.net>
14009 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
14010 Remove comma before expanding ASM_ARGS_##nr.
14011 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
14012 Make _x0 a strict output; make _x8 a strict input; adjust expansion
14014 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
14015 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
14016 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
14017 (ASM_ARGS_1): Add leading comma.
14019 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
14020 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
14021 to __errno_location.
14022 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
14023 Remove the expected plt for __errno_location.
14025 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14026 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
14029 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14030 Always allocate 64 bytes of stack frame. Use ldp/stp to create
14031 it and break it down.
14032 (DOCARGS_0, DOCARGS_1): Do nothing.
14033 (DOCARGS_2): Update to store into the new stack frame.
14034 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
14035 (UNDOCARGS_1): Update to restore from the new stack frame.
14036 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
14037 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
14039 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14040 (SINGLE_THREAD_P): New parameter for result regno.
14041 (PSEUDO): Update to match; use cbz instead of beq.
14043 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14044 Use ENTRY to define the _nocancel entry point. Share the syscall
14045 and syscall error check paths with the cancel path.
14048 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
14049 whitespace; tabs before and after asm mnemonics.
14051 2014-05-29 Eric Wong <normalperson@yhbt.net>
14054 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14055 Call fstat64 or stat64 internally, depending on arguments passed.
14056 Replace stat buffer argument with file descriptor argument.
14057 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
14058 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14059 Pass fd to __internal_statvfs instead of calling fstat64.
14060 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
14061 Pass fd to __internal_statvfs64 instead of calling fstat64.
14062 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
14063 Pass -1 to __internal_statvfs instead of calling stat64.
14064 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
14065 Pass -1 to __internal_statvfs64 instead of calling stat64.
14067 2014-05-28 Roland McGrath <roland@hack.frob.com>
14069 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
14070 that was previously under [RESET_PID].
14071 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
14073 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
14074 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
14076 2014-05-27 Roland McGrath <roland@hack.frob.com>
14078 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
14080 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
14081 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
14083 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
14085 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
14087 2014-05-27 Andreas Schwab <schwab@suse.de>
14089 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
14091 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
14092 * elf/rtld.c (init_tls, dl_main): Likewise.
14093 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
14094 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
14095 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
14096 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
14097 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
14098 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
14099 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
14100 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
14101 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
14102 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
14103 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
14104 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
14105 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
14106 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
14107 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
14108 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
14109 * sysdeps/generic/tls.h: Update description.
14111 2014-05-27 Will Newton <will.newton@linaro.org>
14114 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
14115 and restore r2 rather than just restoring.
14117 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14120 * libio/tst-ftell-append.c: New test case.
14121 * libio/Makefile (tests): Add test case.
14122 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
14124 * libio/wfileops.c (do_ftell_wide): Likewise.
14126 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14130 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
14132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
14133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14134 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
14135 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
14136 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
14137 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
14138 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
14139 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
14140 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
14142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
14143 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
14145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
14146 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
14147 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
14148 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
14149 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
14150 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
14152 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
14153 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
14155 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
14157 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
14159 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
14160 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
14161 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
14163 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
14164 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
14165 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
14166 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
14168 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
14170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
14171 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
14173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
14174 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
14176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
14177 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
14179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
14181 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
14183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
14184 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
14186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
14188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
14189 conditional [RESET_PID].
14190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
14191 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
14193 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
14196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
14198 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14199 (__libc_vfork): New strong alias.
14200 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
14202 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
14205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
14207 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
14208 (__libc_vfork): New strong alias.
14209 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
14211 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
14214 2014-05-26 Carlos O'Donell <carlos@redhat.com>
14216 * malloc/malloc.c (mi_arena): New function.
14217 (malloc_info): Remove nested function mi_arena. Call non-nosted
14220 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14222 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
14224 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
14225 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
14226 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
14227 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
14228 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
14229 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
14230 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
14232 2014-05-26 Andreas Schwab <schwab@suse.de>
14235 * locale/programs/repertoire.c (repertoire_read): Add slash
14236 between I18NPATH element and file name.
14237 * locale/programs/locfile.c (locfile_read): Likewise.
14239 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
14241 * nptl/pthread_mutexattr_settype.c
14242 (__pthread_mutexattr_settype):
14243 Disable lock elision for PTHREAD_MUTEX_NORMAL.
14245 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
14247 * nptl/tst-mutex5 (do_test):
14248 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
14250 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14252 * benchtests/README: Document 'init' directive.
14253 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
14255 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
14256 (parse_file): Recognize 'init' directive.
14258 2014-05-26 Kyle McMartin <kyle@redhat.com>
14261 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
14262 alignment of struct pthread.
14264 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14267 * nscd/netgroupcache.c (addgetnetgrentX): Look for
14268 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
14269 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
14270 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
14272 2014-05-25 Richard Henderson <rth@twiddle.net>
14274 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14275 (SINGLE_THREAD_P_PIC): Remove.
14276 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
14277 (SINGLE_THREAD_P_PIC): Remove.
14279 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
14280 branch to syscall error ...
14281 (PSEUDO): ... here.
14282 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
14283 from __local_syscall_error to .Lsyscall_error.
14284 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
14285 (SYSCALL_ERROR): Update label name.
14287 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14288 Do not use DOARGS/UNDOARGS.
14289 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
14290 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
14291 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
14292 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
14293 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
14295 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
14298 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
14299 define if !NOT_IN_libc.
14300 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
14301 define with non-default symbol versions.
14303 2014-05-23 Richard Henderson <rth@twiddle.net>
14305 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
14306 (vfork, __vfork): Define via compat_symbol.
14308 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
14309 [!HAVE_IFUNC] (vfork_compat): Remove.
14310 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
14312 2014-05-23 Joseph Myers <joseph@codesourcery.com>
14315 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
14316 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
14319 2014-05-23 Richard Henderson <rth@twiddle.net>
14321 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
14322 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
14323 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
14324 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
14326 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
14327 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
14328 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
14329 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
14330 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
14331 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
14332 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
14333 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
14334 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
14335 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
14336 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
14337 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
14338 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
14339 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
14340 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
14341 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
14342 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
14343 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
14344 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
14345 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
14346 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
14347 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
14348 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
14349 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
14350 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
14351 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
14352 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
14353 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
14354 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
14355 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
14356 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
14357 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
14358 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
14359 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
14360 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
14361 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
14362 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
14363 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
14364 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
14365 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
14366 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
14367 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
14368 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
14369 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
14370 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
14371 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
14372 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
14373 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
14374 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
14375 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
14376 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
14377 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
14378 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
14379 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
14380 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
14381 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
14383 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
14384 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
14385 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
14386 before exiting on error.
14387 (__libc_vfork): New strong alias.
14388 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
14389 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
14391 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
14392 that was previously under [RESET_PID].
14393 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
14395 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
14397 2014-05-23 Joseph Myers <joseph@codesourcery.com>
14400 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
14401 value when x - 1 is zero.
14402 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
14403 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
14404 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
14405 0.0L for an argument of 1.0L.
14406 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
14408 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
14409 value when x - 1 is zero.
14410 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
14411 * sysdeps/i386/fpu/libm-test-ulps: Update.
14412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14414 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
14416 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
14417 alphasort and versionsort.
14419 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14421 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
14423 [copysignf]: Likewise.
14425 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14427 * crypt/md5-crypt.c: Fix formatting.
14429 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14431 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
14432 (b64_from_24bit): New function.
14434 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14436 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
14437 libc_hidden_builtin_def to ifunc.
14438 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14439 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
14441 2014-05-21 Roland McGrath <roland@hack.frob.com>
14443 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
14444 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
14446 2014-05-21 Joseph Myers <joseph@codesourcery.com>
14448 * nscd/Depend (linuxthreads): Remove.
14450 * resolv/Depend (linuxthreads): Remove.
14451 * rt/Depend (linuxthreads): Remove.
14453 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
14454 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
14455 $(common-objpfx)elf/.
14456 (link-libc-before-gnulib): Likewise.
14457 (elfobjdir): Remove variable.
14458 * Makefile (install): Use $(elf-objpfx) instead of
14459 $(common-objpfx)elf/.
14460 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
14462 (link-libc-deps): Likewise.
14463 ($(common-objpfx)libc.so): Likewise.
14464 ($(common-objpfx)linkobj/libc.so): Likewise.
14465 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
14466 instead of $(common-objpfx)elf/.
14467 (symbolic-link-list): Likewise.
14468 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14469 [$(cross-compiling) = no]: Likewise.
14470 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
14472 (static-gnulib-arch): Likewise.
14473 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14474 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
14475 $(common-objpfx)elf/.
14477 2014-05-21 Richard Henderson <rth@redhat.com>
14479 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14480 (SINGLE_THREAD_P): Use the correct width load. Fold
14481 into the ldr offset.
14483 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
14484 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
14486 2014-05-20 Joseph Myers <joseph@codesourcery.com>
14488 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
14489 (libgcc_s_resume): Use __attribute_used__.
14490 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
14493 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14495 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
14496 optimization when used with float constants.
14498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14500 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
14503 * locale/nl_langinfo_l.c: Make direct reference to every
14504 _nl_current_CATEGORY symbol.
14505 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
14506 (tests-static): Add tst-langinfo-static.
14507 (tests-special): Add tst-langinfo-static.out.
14508 ($(objpfx)tst-langinfo.out): Redirect output.
14509 ($(objpfx)tst-langinfo-static.out): New.
14510 * localedata/tst-langinfo.sh: Send output to stdout.
14511 * localedata/tst-langinfo-static.c: New file.
14514 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
14515 when the shift amount is modulo the limb size.
14517 2014-05-20 Richard Henderson <rth@redhat.com>
14520 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
14521 Change type of sa_flags from unsigned int to int.
14524 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
14526 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
14528 2014-05-20 Will Newton <will.newton@linaro.org>
14530 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14531 Test the return value of the system call in the nocancel case.
14533 2014-05-20 Will Newton <will.newton@linaro.org>
14534 Yvan Roux <yvan.roux@linaro.org>
14536 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
14537 #include of asm/ptrace.h.
14538 (PTRACE_GET_THREAD_AREA): Remove #undef.
14539 (PTRACE_GETHBPREGS): Likewise.
14540 (PTRACE_SETHBPREGS): Likewise.
14541 (struct user_regs_struct): New structure.
14542 (struct user_fpsimd_struct): New structure.
14543 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
14544 #include of asm/ptrace.h and second #include of sys/user.h.
14545 (PTRACE_GET_THREAD_AREA): Remove #undef.
14546 (PTRACE_GETHBPREGS): Likewise.
14547 (PTRACE_SETHBPREGS): Likewise.
14548 (ELF_NGREG): Use new struct user_regs_struct.
14549 (elf_fpregset_t): Use new struct user_fpsimd_struct.
14551 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14553 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
14554 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
14556 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14559 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
14560 membar to avoid block loads/stores to overlap previous stores.
14562 2014-05-17 Richard Henderson <rth@redhat.com>
14564 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
14565 Create the __##syscall_name##_nocancel entry point.
14566 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
14567 Remove; let the sysdep-cancel.h code create it.
14569 2014-05-17 David S. Miller <davem@davemloft.net>
14571 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
14572 Protect with __USE_GNU.
14573 (TIOCSET_TEMPT): Likewise.
14574 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14575 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
14576 these are already provided in bits/ioctl-types.h
14578 2014-05-16 Roland McGrath <roland@hack.frob.com>
14580 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
14581 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
14583 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
14584 Use wait4 regardless of [__NR_waitpid].
14586 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
14589 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14590 (_FP_NANSIGN_Q): Set the quiet bit.
14592 2014-05-16 Joseph Myers <joseph@codesourcery.com>
14594 * benchtests/Makefile
14595 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
14596 not $(common-objpfx)math/libm.so.
14597 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
14598 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
14599 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
14600 $(common-objpfx)dlfcn/libdl.so.
14601 ($(objpfx)tst-audit8): Depend on $(libm), not
14602 $(common-objpfx)math/libm.so.
14603 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
14604 not $(common-objpfx)dlfcn/libdl.so.
14606 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14607 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
14608 [$(build-shared) = yes].
14609 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
14610 $(common-objpfx)nptl/libpthread.so.
14611 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
14612 $(common-objpfx)math/libm.so$(libm.so-version) or
14613 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
14614 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
14615 $(common-objpfx)dlfcn/libdl.so.
14616 * setjmp/Makefile (link-libm): Remove variable.
14617 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
14618 * stdio-common/Makefile (link-libm): Remove variable.
14619 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
14620 * stdlib/Makefile (link-libm): Remove variable.
14621 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
14622 ($(objpfx)tst-strtod-round): Likewise.
14623 ($(objpfx)tst-tininess): Likewise.
14624 ($(objpfx)tst-strtod-underflow): Likewise.
14625 ($(objpfx)tst-strtod6): Likewise.
14626 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
14627 $(libdl), not $(common-objpfx)nptl/libpthread.so and
14628 $(common-objpfx)dlfcn/libdl.so.
14630 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14632 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
14633 BSD terminal modes definitions.
14635 2014-05-16 Roland McGrath <roland@hack.frob.com>
14637 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
14638 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
14640 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
14641 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
14642 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
14643 Don't do #include_next.
14644 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
14645 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
14646 Don't do #include_next.
14647 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
14648 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
14649 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
14650 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
14652 2014-05-16 Allan McRae <allan@archlinux.org>
14654 * po/sv.po: Update Swedish translation from translation project.
14656 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
14659 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
14662 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
14663 errno if the TIOCGPTN ioctl fails with an error different than
14665 * login/tst-ptsname.c: New file.
14666 * login/Makefile (tests): Add tst-ptsname.
14669 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
14672 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14675 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
14676 herrno to return EAI_AGAIN.
14678 2014-05-14 Roland McGrath <roland@hack.frob.com>
14680 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
14681 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
14682 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
14683 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
14684 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
14685 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
14686 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
14687 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
14688 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
14689 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
14690 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
14691 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
14692 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
14693 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
14694 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
14695 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
14696 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
14697 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
14698 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
14699 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
14700 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
14701 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
14702 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
14703 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
14704 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
14705 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
14706 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
14707 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
14708 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
14709 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
14710 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
14711 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
14712 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
14713 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
14714 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14716 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
14717 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
14718 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
14719 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
14720 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
14721 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
14722 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
14723 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
14724 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
14725 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
14726 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
14727 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
14728 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
14729 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
14730 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
14731 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
14732 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
14733 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
14734 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
14735 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
14736 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
14737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
14738 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
14739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
14740 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
14741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
14742 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
14743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
14745 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
14746 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
14747 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
14748 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
14749 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
14750 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
14751 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
14752 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
14753 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
14754 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
14755 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
14756 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
14757 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
14758 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
14759 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
14760 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
14761 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
14762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
14763 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
14764 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
14766 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
14767 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
14768 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
14770 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
14771 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
14772 (libpthread-sysdep_routines): Add elision-related stuff here instead.
14773 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
14774 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
14775 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
14776 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
14777 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
14778 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
14779 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
14780 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
14781 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
14782 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
14783 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
14784 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
14785 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
14786 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
14787 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
14788 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
14789 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
14790 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
14791 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
14792 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
14793 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
14794 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
14795 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
14796 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
14797 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
14798 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
14799 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
14800 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
14802 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
14803 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
14805 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
14806 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
14807 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
14808 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
14809 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
14810 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
14812 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
14813 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
14815 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
14816 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
14818 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
14819 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
14821 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
14822 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
14823 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
14824 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
14826 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
14827 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
14828 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
14829 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
14830 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
14831 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
14832 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
14833 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
14835 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
14836 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
14838 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
14840 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
14841 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
14842 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
14843 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
14844 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
14846 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
14848 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
14850 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
14851 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
14852 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
14853 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
14854 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
14855 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
14857 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
14858 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
14860 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
14861 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
14863 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
14864 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
14866 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
14867 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
14868 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
14869 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
14871 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
14872 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
14873 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
14874 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
14875 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
14876 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
14877 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
14878 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
14880 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
14881 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
14883 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
14885 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
14886 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
14887 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
14888 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
14889 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
14891 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
14893 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
14895 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
14896 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
14897 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
14898 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
14899 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
14900 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
14901 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
14902 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
14903 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
14904 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
14906 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
14907 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
14909 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
14910 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
14912 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
14913 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
14915 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
14916 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
14917 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
14918 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
14919 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
14920 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
14922 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
14923 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
14924 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
14925 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
14926 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
14927 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
14928 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
14929 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14931 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
14932 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14934 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14936 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
14937 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
14938 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
14939 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
14940 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14942 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14944 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
14946 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
14947 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
14948 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
14949 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
14950 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
14951 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
14952 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
14953 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
14954 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
14955 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
14956 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
14958 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
14959 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
14961 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
14962 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
14964 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
14965 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
14966 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
14967 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
14968 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
14969 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
14970 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
14971 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
14972 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
14973 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
14974 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
14975 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
14976 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
14977 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
14978 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
14979 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
14980 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
14981 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
14983 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
14984 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
14985 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
14986 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
14988 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
14989 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
14990 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
14991 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
14992 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
14993 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
14994 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
14995 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
14997 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
14998 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
15000 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
15001 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
15002 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
15003 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
15004 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
15005 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
15006 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
15007 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
15008 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
15009 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
15010 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
15011 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
15012 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
15013 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
15014 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
15015 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
15016 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
15018 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
15019 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
15020 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
15021 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
15022 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
15024 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
15025 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
15026 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
15027 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
15028 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
15029 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
15030 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
15031 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
15032 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
15033 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
15035 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
15036 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
15038 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
15039 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
15040 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
15041 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
15042 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
15043 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
15044 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
15045 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
15046 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
15047 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
15048 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
15049 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
15050 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
15051 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
15052 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
15054 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
15056 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
15058 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
15060 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
15062 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
15064 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
15066 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15068 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
15070 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
15072 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
15073 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
15074 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
15075 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
15076 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
15077 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
15078 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
15079 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
15080 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
15081 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
15082 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
15083 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
15084 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
15085 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
15086 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
15088 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
15089 that was previously under [RESET_PID].
15090 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15091 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
15092 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
15094 * sysdeps/i386/nptl/Implies: New file.
15095 * sysdeps/x86_64/nptl/Implies: New file.
15096 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
15097 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
15098 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
15099 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
15101 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
15102 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15103 (__libc_vfork): New strong alias.
15104 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
15105 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
15107 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
15108 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15109 (__libc_vfork): New strong alias.
15110 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
15111 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
15113 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
15114 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15115 (__libc_vfork): New strong alias.
15116 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
15117 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
15118 * nptl/pt-vfork.c: New file.
15119 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
15120 (libpthread: GLIBC_2.20): New version set (empty).
15122 2014-05-14 Will Newton <will.newton@linaro.org>
15124 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
15127 2014-05-14 Joseph Myers <joseph@codesourcery.com>
15130 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
15131 arguments with exponent 65 or above.
15132 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
15133 arguments 0x1p113L or above.
15134 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
15135 to arguments 0x1p107L or above.
15136 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
15137 positive arguments with exponent 65 or above.
15138 * math/auto-libm-test-in: Add more tests of log1p.
15139 * math/auto-libm-test-out: Regenerated.
15142 * math/s_cacos.c (__cacos): Ensure zero real part of result from
15143 non-finite arguments is +0.
15144 * math/s_cacosf.c (__cacosf): Likewise.
15145 * math/s_cacosl.c (__cacosl): Likewise.
15146 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
15147 * sysdeps/i386/fpu/libm-test-ulps: Update.
15148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15151 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
15153 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
15154 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
15155 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
15156 for explicit high bit of mantissa when testing for argument equal
15158 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
15159 * sysdeps/i386/fpu/libm-test-ulps: Update.
15160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15163 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
15164 (__erf): Scale by 16 instead of 8 in potentially underflowing
15165 case. Ensure exception if result actually underflows.
15166 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
15167 (__erff): Scale by 16 instead of 8 in potentially underflowing
15168 case. Ensure exception if result actually underflows.
15169 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
15170 (efx8): Remove variable.
15171 (__erfl): Scale by 16 instead of 8 in potentially underflowing
15172 case. Ensure exception if result actually underflows.
15173 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
15174 (efx8): Remove variable.
15175 (__erfl): Scale by 16 instead of 8 in potentially underflowing
15176 case. Ensure exception if result actually underflows.
15177 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
15178 (efx8): Remove variable.
15179 (__erfl): Scale by 16 instead of 8 in potentially underflowing
15180 case. Ensure exception if result actually underflows.
15181 * math/auto-libm-test-in: Add more tests of erf.
15182 * math/auto-libm-test-out: Regenerated.
15184 2014-05-14 Andreas Schwab <schwab@suse.de>
15186 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
15187 Remove code conditionalized on USE___THREAD.
15189 * config.h.in (HAVE_PT_CHOWN): Define as 0.
15190 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
15193 2014-05-14 Joseph Myers <joseph@codesourcery.com>
15195 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
15196 Define unconditionally.
15197 (__ASSUME_O_CLOEXEC): Likewise.
15198 (__ASSUME_SOCK_CLOEXEC): Likewise.
15199 (__ASSUME_IN_NONBLOCK): Likewise.
15200 (__ASSUME_PIPE2): Likewise.
15201 (__ASSUME_EVENTFD2): Likewise.
15202 (__ASSUME_SIGNALFD4): Likewise.
15203 (__ASSUME_DUP3): Likewise.
15204 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15205 (__ASSUME_DUP3): Do not define.
15206 (__ASSUME_EVENTFD2): Likewise.
15207 (__ASSUME_IN_NONBLOCK): Likewise.
15208 (__ASSUME_O_CLOEXEC): Likewise.
15209 (__ASSUME_PIPE2): Likewise.
15210 (__ASSUME_SIGNALFD4): Likewise.
15211 (__ASSUME_SOCK_CLOEXEC): Likewise.
15212 (__ASSUME_UTIMES): Undefine.
15213 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15214 (__ASSUME_UTIMES): Do not define.
15215 (__ASSUME_O_CLOEXEC): Likewise.
15216 (__ASSUME_SOCK_CLOEXEC): Likewise.
15217 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
15218 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
15220 (__ASSUME_PIPE2): Likewise.
15221 (__ASSUME_EVENTFD2): Likewise.
15222 (__ASSUME_SIGNALFD4): Likewise.
15223 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
15224 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
15226 (__ASSUME_EVENTFD2): Likewise.
15227 (__ASSUME_SIGNALFD4): Likewise.
15228 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15229 (__ASSUME_32BITUIDS): Likewise.
15230 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
15231 (__ASSUME_IPC64): Likewise.
15232 (__ASSUME_ST_INO_64_BIT): Likewise.
15233 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
15234 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
15235 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15236 (__ASSUME_UTIMES): Do not define.
15237 (__ASSUME_PSELECT): Likewise.
15238 (__ASSUME_PPOLL): Likewise.
15239 (__ASSUME_O_CLOEXEC): Likewise.
15240 (__ASSUME_SOCK_CLOEXEC): Likewise.
15241 (__ASSUME_IN_NONBLOCK): Likewise.
15242 (__ASSUME_PIPE2): Likewise.
15243 (__ASSUME_EVENTFD2): Likewise.
15244 (__ASSUME_SIGNALFD4): Likewise.
15245 (__ASSUME_DUP3): Likewise.
15246 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15247 (__ASSUME_UTIMES): Likewise.
15248 (__ASSUME_O_CLOEXEC): Likewise.
15249 (__ASSUME_SOCK_CLOEXEC): Likewise.
15250 (__ASSUME_IN_NONBLOCK): Likewise.
15251 (__ASSUME_PIPE2): Likewise.
15252 (__ASSUME_EVENTFD2): Likewise.
15253 (__ASSUME_SIGNALFD4): Likewise.
15254 (__ASSUME_DUP3): Likewise.
15255 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15256 (__ASSUME_UTIMES): Likewise.
15257 (__ASSUME_O_CLOEXEC): Likewise.
15258 (__ASSUME_SOCK_CLOEXEC): Likewise.
15259 (__ASSUME_IN_NONBLOCK): Likewise.
15260 (__ASSUME_PIPE2): Likewise.
15261 (__ASSUME_EVENTFD2): Likewise.
15262 (__ASSUME_SIGNALFD4): Likewise.
15263 (__ASSUME_DUP3): Likewise.
15264 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
15266 (__ASSUME_UTIMES): Likewise.
15267 (__ASSUME_EVENTFD2): Likewise.
15268 (__ASSUME_SIGNALFD4): Likewise.
15269 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15270 (__ASSUME_O_CLOEXEC): Likewise.
15271 (__ASSUME_SOCK_CLOEXEC): Likewise.
15272 (__ASSUME_IN_NONBLOCK): Likewise.
15273 (__ASSUME_PIPE2): Likewise.
15274 (__ASSUME_EVENTFD2): Likewise.
15275 (__ASSUME_SIGNALFD4): Likewise.
15276 (__ASSUME_DUP3): Likewise.
15277 (__ASSUME_UTIMES): Undefine.
15279 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
15280 feclearexcept. Remove symbol versioning code.
15281 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
15282 symbol versioning code.
15283 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
15284 symbol versioning code.
15285 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
15286 feupdateenv. Remove symbol versioning code.
15287 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
15288 fegetexceptflag. Remove symbol versioning code.
15289 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
15290 fesetexceptflag. Remove symbol versioning code.
15291 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
15292 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
15293 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
15294 (__posix_fadvise64_l32): Remove prototype.
15295 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
15298 2014-05-13 Roland McGrath <roland@hack.frob.com>
15300 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
15301 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
15302 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
15303 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
15305 2014-05-13 Sami Kerola <kerolasa@iki.fi>
15307 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
15308 current working directory
15310 2014-05-13 Roland McGrath <roland@hack.frob.com>
15312 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
15313 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
15314 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
15315 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
15316 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
15317 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
15318 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
15319 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
15320 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
15321 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
15322 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
15323 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
15324 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
15325 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
15326 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
15327 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
15328 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
15329 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
15330 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
15331 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
15332 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
15333 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
15334 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
15335 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
15336 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
15337 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
15338 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
15339 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
15340 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
15341 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
15342 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
15343 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
15344 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
15345 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
15346 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
15347 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
15348 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
15349 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
15350 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
15351 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
15352 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
15353 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
15355 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
15356 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
15358 * sysdeps/unix/sysv/linux/arm/Makefile
15359 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
15360 Add rt-aeabi_unwind_cpp_pr1.
15361 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
15362 Add nptl-aeabi_unwind_cpp_pr1.
15363 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
15364 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
15365 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
15366 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
15367 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
15368 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
15370 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
15371 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
15372 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
15373 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
15375 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
15376 Deconditionalize the code that was previously under [RESET_PID].
15377 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
15379 * sysdeps/generic/exit-thread.h: New file.
15380 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
15381 * include/unistd.h (__exit_thread): Remove declaration.
15382 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
15383 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
15384 * csu/libc-start.c: Include <exit-thread.h>.
15385 (LIBC_START_MAIN): Pass no argument to __exit_thread.
15386 * nptl/pthread_create.c: Include <exit-thread.h>.
15387 (start_thread): Call __exit_thread in place of __exit_thread_inline.
15388 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
15389 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
15390 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
15391 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
15392 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
15393 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
15394 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
15395 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
15396 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
15397 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
15398 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
15399 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
15400 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
15401 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
15402 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
15403 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
15405 2014-05-13 Andreas Schwab <schwab@suse.de>
15407 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
15409 2014-05-12 Joseph Myers <joseph@codesourcery.com>
15411 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
15412 (__ASSUME_UTIMES): Do not condition on kernel version.
15413 (__ASSUME_PSELECT): Define unconditionally.
15414 (__ASSUME_PPOLL): Likewise.
15415 (__ASSUME_ATFCTS): Likewise.
15416 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
15417 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
15418 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
15419 (__ASSUME_UTIMENSAT): Define unconditionally.
15420 (__ASSUME_PRIVATE_FUTEX): Likewise.
15421 (__ASSUME_FALLOCATE): Likewise.
15422 (__ASSUME_O_CLOEXEC): Likewise.
15423 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
15424 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
15425 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
15426 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
15427 (__ASSUME_IN_NONBLOCK): Likewise.
15428 (__ASSUME_PIPE2): Likewise.
15429 (__ASSUME_EVENTFD2): Likewise.
15430 (__ASSUME_SIGNALFD4): Likewise.
15431 (__ASSUME_DUP3): Likewise.
15432 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15433 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
15434 (__ASSUME_AT_RANDOM): Likewise.
15435 (__ASSUME_PREADV): Likewise.
15436 (__ASSUME_PWRITEV): Likewise.
15437 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
15438 (__ASSUME_F_GETOWN_EX): Define unconditionally.
15439 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
15440 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15441 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
15442 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15443 (__ASSUME_O_CLOEXEC): Define unconditionally.
15444 (__ASSUME_PSELECT): Do not undefine conditionally.
15445 (__ASSUME_PPOLL): Likewise.
15446 (__ASSUME_ATFCTS): Likewise.
15447 (__ASSUME_SET_ROBUST_LIST): Likewise.
15448 (__ASSUME_UTIMENSAT): Likewise.
15449 (__ASSUME_FDATASYNC): Define unconditionally.
15450 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15451 (__ASSUME_SIGFRAME_V2): Likewise.
15452 )__ASSUME_EVENTFD2): Likewise.
15453 (__ASSUME_SIGNALFD4): Likewise.
15454 (__ASSUME_PSELECT): Do not undefine conditionally.
15455 (__ASSUME_PPOLL): Likewise.
15456 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15457 (__ASSUME_PSELECT): Define unconditionally.
15458 (__ASSUME_PPOLL): Likewise.
15459 (__ASSUME_O_CLOEXEC): Likewise.
15460 (__ASSUME_SOCK_CLOEXEC): Likewise.
15461 (__ASSUME_IN_NONBLOCK): Likewise.
15462 (__ASSUME_PIPE2): Likewise.
15463 (__ASSUME_EVENTFD2): Likewise.
15464 (__ASSUME_SIGNALFD4): Likewise.
15465 (__ASSUME_DUP3): Likewise.
15466 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15467 (__ASSUME_O_CLOEXEC): Likewise.
15468 (__ASSUME_SOCK_CLOEXEC): Likewise.
15469 (__ASSUME_IN_NONBLOCK): Likewise.
15470 (__ASSUME_PIPE2): Likewise.
15471 (__ASSUME_EVENTFD2): Likewise.
15472 (__ASSUME_SIGNALFD4): Likewise.
15473 (__ASSUME_DUP3): Likewise.
15474 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15475 (__ASSUME_EVENTFD2): Likewise.
15476 (__ASSUME_SIGNALFD4): Likewise.
15477 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15479 2014-05-12 Andreas Schwab <schwab@suse.de>
15482 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
15483 (_nss_nis_gethostbyname4_r): Return error if item length is larger
15484 than maximum RPC packet size.
15485 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
15486 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
15487 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
15488 (_nss_nis_getservbyport_r): Likewise.
15490 2014-05-12 Will Newton <will.newton@linaro.org>
15492 * malloc/Makefile (tests): Add tst-mallopt.
15493 * malloc/tst-mallopt.c: New file.
15495 2014-05-09 Roland McGrath <roland@hack.frob.com>
15497 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
15498 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
15500 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15502 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
15503 (tst-tlsmod6.so): Likewise.
15505 2014-05-09 Roland McGrath <roland@hack.frob.com>
15507 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
15509 2014-05-09 Joseph Myers <joseph@codesourcery.com>
15512 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
15513 and <dl-procinfo.h>.
15514 (__fegetenv): Save SSE state in envp->__eip if supported.
15515 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
15516 envp->__eip if supported.
15517 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
15518 and <dl-procinfo.h>.
15519 (__fesetenv): Always set __eip, __cs_selector, __opcode,
15520 __data_offset and __data_selector in environment to 0. Set SSE
15521 state if supported.
15522 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
15524 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
15526 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
15528 2014-05-09 Will Newton <will.newton@linaro.org>
15530 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
15531 and libc_relro_required for ARM.
15532 * sysdeps/arm/preconfigure: Regenerate.
15534 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
15535 Stefan Liebler <stli@linux.vnet.ibm.com>
15537 * config.make.in (enable-lock-elision): New Makefile variable.
15538 * configure.ac: Likewise.
15539 * configure: Regenerate.
15540 * sysdeps/s390/configure.ac:
15541 Add check for gcc transactions support.
15542 * sysdeps/s390/configure: Regenerate.
15543 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
15544 Build elision files if enabled.
15545 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
15546 Add lock elision support for s390.
15547 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
15548 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
15549 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
15550 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
15551 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
15552 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
15553 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
15555 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
15557 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
15559 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
15561 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
15562 (__lll_timedlock_elision, __lll_lock_elision)
15563 (__lll_unlock_elision, __lll_trylock_elision)
15564 (lll_timedlock_elision, lll_lock_elision)
15565 (lll_unlock_elision, lll_trylock_elision): Add.
15566 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15567 (pthread_mutex_t): Add lock elision support for s390.
15569 2014-05-14 Wilco <wdijkstr@arm.com>
15571 * sysdeps/arm/fclrexcpt.c: Cleanup.
15572 * sysdeps/arm/fedisblxcpt.c: Cleanup.
15573 * sysdeps/arm/feenablxcpt.c: Cleanup.
15574 * sysdeps/arm/fegetenv.c: Cleanup.
15575 * sysdeps/arm/fegetexcept.c: Cleanup.
15576 * sysdeps/arm/fegetround.c: Cleanup.
15577 * sysdeps/arm/feholdexcpt.c: Cleanup.
15578 * sysdeps/arm/fesetenv.c: Cleanup.
15579 * sysdeps/arm/fesetround.c: Cleanup.
15580 * sysdeps/arm/feupdateenv.c: Cleanup.
15581 * sysdeps/arm/fgetexcptflg.c: Cleanup.
15582 * sysdeps/arm/fraiseexcpt.c: Cleanup.
15583 * sysdeps/arm/fsetexcptflg.c: Cleanup.
15584 * sysdeps/arm/ftestexcept.c: Cleanup.
15585 * sysdeps/arm/get-rounding-mode.h: Cleanup.
15586 * sysdeps/arm/setfpucw.c: Cleanup.
15588 2014-05-09 Will Newton <will.newton@linaro.org>
15590 * sysdeps/arm/armv7/strcmp.S: New file.
15591 * NEWS: Mention addition of ARMv7 optimized strcmp.
15593 2014-05-08 Roland McGrath <roland@hack.frob.com>
15595 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
15596 look for %.ac rather than %.in.
15598 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
15599 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
15600 * sysdeps/mach/hurd/configure: Regenerated.
15601 * sysdeps/unix/sysv/linux/configure: Regenerated.
15603 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
15605 2014-05-07 Steve Ellcey <sellcey@mips.com>
15608 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
15612 2014-05-07 Andreas Schwab <schwab@suse.de>
15614 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
15615 when skipping over non-matching result from nscd.
15617 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
15620 * nptl/sockperf.c (client): Check socket return value.
15623 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
15624 nscd security class.
15626 2014-05-06 Roland McGrath <roland@hack.frob.com>
15628 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
15629 * sysdeps/arm/unwind.h: ... here.
15631 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
15634 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
15637 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15639 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
15640 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
15641 multiarch strncpy for PPC64.
15642 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
15643 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
15644 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
15645 multiarch optimizations.
15646 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15647 (__libc_ifunc_impl_list): Likewise.
15648 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
15649 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
15650 multiarch stpncpy for PPC64.
15651 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
15652 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
15654 2014-05-06 Andreas Schwab <schwab@suse.de>
15657 * gmon/mcount.c (_MCOUNT_DECL): Use
15658 atomic_compare_and_exchange_bool_acq instead of
15659 catomic_compare_and_exchange_bool_acq.
15661 2014-05-05 Roland McGrath <roland@hack.frob.com>
15663 * elf/Makefile (others, install-bin): Remove pldd.
15664 (pldd-modules): Variable removed.
15665 ($(objpfx)pldd): Target removed.
15666 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
15667 (others, install-bin): Append pldd here.
15668 ($(objpfx)pldd): New target.
15670 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
15671 to 0, so the first #if test emitted later doesn't see it undefined.
15672 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
15673 * sysdeps/gnu/errlist.c: Regenerated.
15675 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15677 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
15678 [libc_hidden_builtin_def]: Define to empty value.
15679 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
15680 [libc_hidden_builtin_def]: Likewise.
15681 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
15682 [libc_hidden_builtin_def]: Likewise.
15683 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
15684 [libc_hidden_builtin_def]: Likewise.
15685 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
15686 __redirect_memcpy and define ifunc as default hidden symbol.
15687 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
15688 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
15690 2014-05-04 Adam Conrad <adconrad@0c3.net>
15692 * locale/iso-4217.def: Reintroduce XDR currency.
15694 2014-05-04 Allan McRae <allan@archlinux.org>
15696 * po/eo.po: Update Esperanto translation from translation project.
15698 2014-05-02 Carlos O'Donell <carlos@redhat.com>
15700 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
15701 and FEATURE_INDEX_MAX to 1.
15702 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
15704 2014-05-01 Steve Ellcey <sellcey@mips.com>
15706 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
15707 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
15708 * iconvdata/big5.c (ONE_DIRECTION): Define.
15709 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
15710 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
15711 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
15712 * iconvdata/cp932.c (ONE_DIRECTION): Define.
15713 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
15714 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
15715 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
15716 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
15717 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
15718 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
15719 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
15720 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
15721 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
15722 * iconvdata/gbk.c (ONE_DIRECTION): Define.
15723 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
15724 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
15725 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
15726 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
15727 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
15728 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
15729 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
15730 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
15731 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
15732 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
15733 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
15734 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
15735 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
15736 * iconvdata/iso646.c (ONE_DIRECTION): Define.
15737 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
15738 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
15739 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
15740 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
15741 * iconvdata/johab.c (ONE_DIRECTION): Define.
15742 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
15743 * iconvdata/sjis.c (ONE_DIRECTION): Define.
15744 * iconvdata/t.61.c (ONE_DIRECTION): Define.
15745 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
15746 * iconvdata/tscii.c (ONE_DIRECTION): Define.
15747 * iconvdata/uhc.c (ONE_DIRECTION): Define.
15748 * iconvdata/unicode.c (ONE_DIRECTION): Define.
15749 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
15750 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
15751 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
15753 2014-05-01 Roland McGrath <roland@hack.frob.com>
15755 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
15756 (_IO_JUMPS_OFFSET): Define to 0.
15758 * nptl/sysdeps/pthread/bits/libc-lock.h
15759 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
15760 (__libc_lock_define_initialized_recursive): Always define using
15761 initializer. Modern compilers treat uninitialized (implicit zero) and
15762 explicit zero initializers the same (i.e. put the datum in bss).
15764 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
15766 * nscd/nscd-client.h: Include <string.h>.
15768 2014-05-01 David S. Miller <davem@davemloft.net>
15771 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
15772 multiple zero bytes exist at the end of a string.
15773 Reported by Aurelien Jarno <aurelien@aurel32.net>
15775 * string/test-strcmp.c (check): Add explicit test for situations where
15776 there are multiple zero bytes after the first.
15778 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
15781 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
15782 when compiling wprintf.
15783 * stdio-common/tstdiomisc.c (t3): New function.
15786 2014-05-01 Steve Ellcey <sellcey@mips.com>
15788 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
15789 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
15790 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
15791 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
15793 2014-05-01 Steve Ellcey <sellcey@mips.com>
15795 * stdlib/longlong.h: Updated from GCC.
15797 2014-05-01 Will Newton <will.newton@linaro.org>
15798 Bernard Ogden <bernie.ogden@linaro.org>
15800 * NEWS: Update fixed bug list.
15803 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
15805 2014-04-30 David S. Miller <davem@davemloft.net>
15807 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
15808 (libc_feholdexcept_setround_sparc_ctx): New function.
15809 (libc_fesetenv_sparc_ctx): Likewise.
15810 (libc_feupdateenv_sparc_ctx): Likewise.
15811 (libc_feholdsetround_sparc_ctx): Likewise.
15812 (libc_feholdexcept_setround_ctx): Define.
15813 (libc_feholdexcept_setroundf_ctx): Likewise.
15814 (libc_feholdexcept_setroundl_ctx): Likewise.
15815 (libc_fesetenv_ctx): Likewise.
15816 (libc_fesetenvf_ctx): Likewise.
15817 (libc_fesetenvl_ctx): Likewise.
15818 (libc_feupdateenv_ctx): Likewise.
15819 (libc_feupdateenvf_ctx): Likewise.
15820 (libc_feupdateenvl_ctx): Likewise.
15821 (libc_feresetround_ctx): Likewise.
15822 (libc_feresetroundf_ctx): Likewise.
15823 (libc_feresetroundl_ctx): Likewise.
15824 (libc_feholdsetround_ctx): Likewise.
15825 (libc_feholdsetroundf_ctx): Likewise.
15826 (libc_feholdsetroundl_ctx): Likewise.
15828 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
15829 with __USE_GNU instead of XOPEN cpp guards.
15831 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
15834 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
15835 with XOPEN cpp guards.
15837 2014-04-30 Julian Brown <julian@codesourcery.com>
15840 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
15843 2014-04-30 Joseph Myers <joseph@codesourcery.com>
15846 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
15848 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
15849 * sysdeps/unix/sysv/linux/configure: Regenerated.
15850 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
15851 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
15852 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
15853 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
15854 * README: Update reference to required Linux kernel version.
15855 * manual/install.texi (Linux): Update reference to required Linux
15856 kernel headers version.
15857 * INSTALL: Regenerated.
15859 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
15861 [POSIX] (limits.h): Likewise.
15862 [POSIX] (math.h): Likewise.
15863 [POSIX] (sys/wait.h): Likewise.
15864 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
15866 [POSIX] (stddef.h): Do not allow header inclusion.
15868 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15870 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
15872 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
15874 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
15875 Return immediately after lll_futex_wake.
15877 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15880 * nscd/nscd-client.h (datahead_init_common): Initialize entire
15882 (datahead_init_pos): Call datahead_init_common early.
15883 (datahead_init_neg): Likewise.
15885 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
15886 datahead_init_neg): New functions.
15887 * nscd/aicache.c (addhstaiX): Use them.
15888 * nscd/grpcache.c (cache_addgr): Likewise.
15889 * nscd/hstcache.c (cache_addhst): Likewise.
15890 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15891 * nscd/netgroupcache.c (do_notfound): Likewise.
15892 (addgetnetgrentX): Likewise.
15893 (addinnetgrX): Likewise.
15894 * nscd/pwdcache.c (cache_addpw): Likewise.
15895 * nscd/servicescache.c (cache_addserv): Likewise.
15897 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15898 Atsushi Onoe <atsushi@onoe.org>
15903 * resolv/res_query.c (__libc_res_nsearch): Return if at least
15904 one response is valid.
15905 * resolv/res_send.c (send_dg): Check for validity of other
15906 response if the current response is a referral.
15908 2014-04-29 Steve Ellcey <sellcey@mips.com>
15910 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
15912 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
15915 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
15916 Always divide by positive zero when computing -Inf result.
15917 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15918 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
15920 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15922 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
15923 FPSCR if value do not change.
15924 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15925 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
15926 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15927 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15928 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
15929 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
15932 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
15934 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
15935 * sysdeps/unix/sysv/linux/hppa: Move directory from
15936 ports/systeps/unix/sysv/linux/hppa.
15937 * README: Update listing for hppa-*-linux-gnu.
15939 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
15942 * manual/stdio.texi (Hook functions): Fix types of stream hook
15945 * socket/sys/socket.h: Fix typo in comment.
15947 2014-04-28 Wilco <wdijkstr@arm.com>
15949 * sysdeps/arm/fenv_private.h: New file.
15950 * sysdeps/arm/math_private.h: New file.
15951 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
15953 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
15955 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
15957 (La_x86_64_retval): Likewise.
15959 2014-04-24 Ian Bolton <ian.bolton@arm.com>
15961 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
15962 fpsr if value didn't change.
15963 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
15964 to fpcr if value didn't change.
15965 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
15966 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
15967 fpsr or fpcr if value didn't change.
15968 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15969 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
15970 fpcr if value didn't change.
15971 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
15972 to fpsr if value didn't change.
15974 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15976 * nptl/tst-sem3.c: Use test-skeleton.c
15977 (main): Rename to do_test. Use return instead of
15979 * nptl/tst-sem4.c: Use test-skeleton.c
15980 (main): Rename to do_test.
15982 2014-04-22 David S. Miller <davem@davemloft.net>
15984 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
15985 (struct sigaction): New struct member __glibc_reserved0, change
15986 type of sa_flags to int.
15988 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
15990 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
15991 (COUNT_LEADING_ZEROS_0): Define for AArch64.
15993 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15995 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
15996 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
15998 2014-04-22 Will Newton <will.newton@linaro.org>
15999 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
16001 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
16002 (__longjmp): Add longjmp and longjmp_target SystemTap
16004 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
16005 (__sigsetjmp): Add setjmp SystemTap probe.
16007 2014-04-17 Carlos O'Donell <carlos@redhat.com>
16009 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
16010 match manual order.
16012 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16014 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
16016 * sysdeps/powerpc/fpu/fenv_private.h
16017 (libc_feholdexcept_setroundl_ctx): Define to
16018 libc_feholdexcept_setround_ppc_ctx.
16019 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
16020 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
16021 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
16022 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
16024 2014-04-17 Ian Bolton <ian.bolton@arm.com>
16026 * sysdeps/aarch64/math-tests.h: New file.
16028 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
16030 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
16032 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16033 Check and set bit_AVX2_Usable.
16034 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
16036 (bit_AVX2): Likewise.
16037 (index_AVX2_Usable): Likewise.
16038 (CPUID_AVX2): Likewise.
16039 (HAS_AVX2): Likewise.
16041 2014-04-17 Will Newton <will.newton@linaro.org>
16043 * manual/setjmp.texi (System V contexts): Add note that
16044 calling setcontext on a context created by a call to a
16045 signal handler is undefined. Update text to note that
16046 setcontext from a signal handler is possible but not
16050 * stdlib/tst-setcontext.c: Include signal.h.
16051 (main): Check that the signal stack before and
16052 after swapcontext is the same.
16054 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
16055 Re-implement to restore registers in user code and avoid
16056 rt_sigreturn system call.
16058 2014-04-17 Wilco <wdijkstr@arm.com>
16060 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
16061 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
16062 * math/test-fenv.c: Skip exception trap tests on targets which only
16063 support non-stop mode.
16065 2014-04-17 Ian Bolton <ian.bolton@arm.com>
16066 Wilco Dijkstra <wilco.dijkstra@arm.com>
16068 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
16069 (libc_feholdsetround_aarch64_ctx)
16070 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
16071 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
16072 (libc_feresetround_ctx, libc_feresetroundf_ctx)
16073 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
16074 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
16075 (libc_feresetround_noexl_ctx): Define.
16077 2014-04-16 Richard Henderson <rth@redhat.com>
16079 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
16081 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
16084 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
16085 const from the non-libc, non-ldso copy.
16087 * sysdeps/alpha/libm-test-ulps: Regenerate.
16089 2014-04-16 Ian Bolton <ian.bolton@arm.com>
16090 Wilco Dijkstra <wilco.dijkstra@arm.com>
16092 * sysdeps/aarch64/fpu/math_private.h: New file.
16094 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
16096 * sysdeps/aarch64/libm-test-ulps: Regenerate.
16098 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
16101 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
16102 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
16103 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
16104 Intel MPX bound registers before _dl_profile_fixup.
16105 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
16106 registers after _dl_profile_fixup. Save and restore bound
16107 registers bnd0/bnd1 when calling _dl_call_pltexit.
16108 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
16109 (LR_BND_OFFSET): Likewise.
16110 (LRV_BND0_OFFSET): Likewise.
16111 (LRV_BND1_OFFSET): Likewise.
16113 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16115 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
16117 * sysdeps/mach/hurd/i386/tls.h: ... here.
16118 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
16119 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
16122 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16124 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
16126 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
16128 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16130 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
16133 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
16134 * sysdeps/s390/configure: Regenerate.
16137 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
16138 Set round-to-nearest internally to reduce error accumulation.
16140 2014-04-16 Alan Modra <amodra@gmail.com>
16144 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
16145 * math/libm-test.inc (frexp_test_data): Add tests.
16146 * NEWS: Update fixed bug list.
16148 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16150 * benchtests/Makefile: Depend on libraries in build directory.
16151 (bench-math): Separate out math tests.
16152 (bench-pthread): Separate out pthread tests.
16153 (bench): Include math and pthread tests.
16155 2014-04-14 Carlos O'Donell <carlos@redhat.com>
16158 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
16159 _dl_debug_initialize.
16161 * configure.ac: Remove SELinux header check.
16162 * configure: Regenerate.
16163 * nscd/selinux.c (perms): Array of const char* to permission names.
16164 (nscd_request_avc_has_perm): Call security_deny_unknown to find
16165 default policy. Call string_to_security_class and string_to_av_perm to
16166 translate strings. Enforce default policy and call avs_has_perm with
16167 results of translated strings.
16169 2014-04-13 David S. Miller <davem@davemloft.net>
16171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16173 2014-04-12 Allan McRae <allan@archlinux.org>
16176 * manual/string.texi (Collation Functions): Fix qsort argument
16178 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
16180 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
16182 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
16183 Make the test a no-op if there are no exceptions defined.
16185 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
16187 * elf/Makefile (tests): make tst-dlopen-aout conditional on
16188 enable-hardcoded-path-in-tests
16190 2014-04-11 Will Newton <will.newton@linaro.org>
16192 * benchtests/Makefile (extra-objs): Add json-lib.o.
16193 (bench-func): Tidy up JSON output.
16194 * benchtests/bench-skeleton.c: Include json-lib.h.
16195 (main): Use JSON library functions to do output of
16197 * benchtests/bench-timing-type.c (main): Output the
16198 timing type simply, leaving formatting to the user.
16199 * benchtests/json-lib.c: New file.
16200 * benchtests/json-lib.h: Likewise.
16202 2014-04-11 Torvald Riegel <triegel@redhat.com>
16205 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
16206 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
16207 memory barriers. Add comments.
16208 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
16209 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
16210 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
16211 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
16212 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
16213 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
16215 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
16217 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
16218 * sysdeps/s390/s390-64/configure.ac: ... this ...
16219 * sysdeps/s390/configure.ac: ... to here.
16220 * sysdeps/s390/s390-32/configure: Delete file.
16221 * sysdeps/s390/s390-64/configure: Delete file.
16222 * sysdeps/s390/configure: Regenerate.
16224 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
16226 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
16228 2014-04-11 Will Newton <will.newton@linaro.org>
16230 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
16231 to zero if it is not defined elsewhere. (mtrim): Test
16232 the value of MALLOC_DEBUG with #if rather than #ifdef.
16234 2014-04-10 Torvald Riegel <triegel@redhat.com>
16236 * benchtests/pthread_once-inputs: New file.
16237 * benchtests/pthread_once-source.c: New file.
16238 * benchtests/README: Update documentation.
16240 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
16241 H.J. Lu <hongjiu.lu@intel.com>
16244 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
16245 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
16246 * sysdeps/x86_64/configure: Regenerated.
16247 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
16249 (REGISTER_SAVE_RAX): Likewise.
16250 (REGISTER_SAVE_RCX): Likewise.
16251 (REGISTER_SAVE_RDX): Likewise.
16252 (REGISTER_SAVE_RSI): Likewise.
16253 (REGISTER_SAVE_RDI): Likewise.
16254 (REGISTER_SAVE_R8): Likewise.
16255 (REGISTER_SAVE_R9): Likewise.
16256 (REGISTER_SAVE_BND0): Likewise.
16257 (REGISTER_SAVE_BND1): Likewise.
16258 (REGISTER_SAVE_BND2): Likewise.
16259 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
16260 bound registers when calling _dl_fixup.
16262 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16264 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
16265 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
16267 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
16268 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
16269 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
16270 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
16271 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
16272 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
16273 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
16275 2014-04-09 Peter Brett <peter@peter-b.co.uk>
16278 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
16279 pathconf(_PC_NAME_MAX).
16281 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16283 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
16284 Remove macro usage.
16285 (__PTHREAD_SPINS): Move definition to ...
16286 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16287 (__PTHREAD_SPINS): ... here.
16288 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16289 (__PTHREAD_SPIN): Likewise.
16290 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
16291 (__PTHREAD_SPIN): Likewise.
16292 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
16293 (__PTHREAD_SPIN): Likewise.
16294 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
16295 (__PTHREAD_SPIN): Likewise.
16296 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
16297 (__PTHREAD_SPIN): Likewise.
16298 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
16299 (__PTHREAD_SPIN): Likewise.
16300 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
16301 (__PTHREAD_SPIN): Likewise.
16302 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
16303 (__PTHREAD_SPIN): Likewise.
16304 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
16305 (__PTHREAD_SPIN): Likewise.
16306 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
16307 (__PTHREAD_SPIN): Likewise.
16308 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
16309 (__PTHREAD_SPIN): Likewise.
16310 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
16311 (__PTHREAD_SPIN): Likewise.
16313 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
16314 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
16315 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
16316 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
16318 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
16319 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
16320 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
16321 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
16322 correct imply path.
16323 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
16324 strlen symbol for non multi-arch builds.
16325 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
16326 missing hidden_def and weak_alias.
16328 2014-04-08 Carlos O'Donell <carlos@redhat.com>
16330 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
16332 2014-04-07 Will Newton <will.newton@linaro.org>
16334 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
16335 and contents. [!_LIBC] Remove #ifndef and contents.
16336 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
16337 * string/memccpy.c (__memccpy): Use ANSI prototype.
16338 * string/memfrob.c (memfrob): Likewise.
16339 * string/strcoll.c (STRCOLL): Likewise.
16340 * string/strlen.c (strlen): Likewise.
16341 * string/strtok.c (STRTOK): Likewise.
16342 * string/strcat.c: Remove unused #include of memcopy.h.
16343 (strcat): Use ANSI prototype.
16344 * string/strchr.c: Remove unused #include of memcopy.h.
16345 (strchr): Use ANSI prototype.
16346 * string/strcmp.c: Remove unused #include of memcopy.h.
16347 (strcmp): Use ANSI prototype.
16348 * string/strcpy.c: Remove unused #include of memcopy.h.
16349 (strcpy): Use ANSI prototype.
16351 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16353 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
16354 * config.make.in (config-extra-cppflags): Set it from
16355 libc_extra_cppflags.
16356 * configure.ac (libc_extra_cflags): Make it accumulate over
16357 configure fragments.
16358 (libc_extra_cppflags): New flag.
16359 * configure. Regenerate.
16360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
16361 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
16362 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
16363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
16366 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
16367 result for FE_DOWNWARD rounding mode.
16368 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
16370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16372 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
16374 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
16375 in function argument name.
16377 2014-04-03 David Svoboda <svoboda@cert.org>
16380 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
16383 2014-04-03 Roland McGrath <roland@hack.frob.com>
16385 * elf/dl-unmap-segments.h: New file.
16386 * sysdeps/generic/ldsodefs.h
16387 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
16388 * elf/dl-close.c: Include <dl-unmap-segments.h>.
16389 * elf/dl-fptr.c: Likewise.
16390 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
16391 * sysdeps/aarch64/tlsdesc.c: Likewise.
16392 * sysdeps/arm/tlsdesc.c: Likewise.
16393 * sysdeps/i386/tlsdesc.c: Likewise.
16394 * sysdeps/tile/dl-runtime.c: Likewise.
16395 * sysdeps/x86_64/tlsdesc.c: Likewise.
16396 * elf/dl-load.h: New file.
16397 * elf/dl-load.c: Include it.
16398 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
16399 Macros moved to dl-load.h.
16400 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
16401 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
16402 Use _dl_unmap_segments in place of __munmap.
16403 Break out segment-mapping loop into ...
16404 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
16406 2014-04-03 Will Newton <will.newton@linaro.org>
16408 * elf/dl-lookup.c (do_lookup_x): Remove comment
16409 referring to nested function and move variable
16410 declarations down to before first use.
16412 2014-04-02 Joseph Myers <joseph@codesourcery.com>
16416 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
16418 * math/s_catanf.c (__catanf): Likewise.
16419 * math/s_catanh.c (__catanh): Likewise.
16420 * math/s_catanhf.c (__catanhf): Likewise.
16421 * math/s_catanhl.c (__catanhl): Likewise.
16422 * math/s_catanl.c (__catanl): Likewise.
16423 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
16424 by positive zero when computing -Inf result.
16425 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
16426 (catanh_test): Likewise.
16427 * sysdeps/i386/fpu/libm-test-ulps: Update.
16428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16431 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
16432 instead of using underflowing value in computing result.
16433 * math/s_clog10.c (__clog10): Likewise.
16434 * math/s_clog10f.c (__clog10f): Likewise.
16435 * math/s_clog10l.c (__clog10l): Likewise.
16436 * math/s_clogf.c (__clogf): Likewise.
16437 * math/s_clogl.c (__clogl): Likewise.
16438 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
16439 (clog10_test): Likewise.
16440 * sysdeps/i386/fpu/libm-test-ulps: Update.
16441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16443 2014-04-02 Alan Modra <amodra@gmail.com>
16446 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
16447 output when value is near a power of two. Use int64_t for lx and
16448 remove casts. Use decimal rather than hex exponent constants.
16449 Don't use long double multiplication when double will suffice.
16450 * math/libm-test.inc (nextafter_test_data): Add tests.
16451 * NEWS: Add 16739 and 16786 to bug list.
16453 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
16455 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
16457 2014-04-01 Will Newton <will.newton@linaro.org>
16459 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
16460 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
16462 2014-04-01 Florian Weimer <fweimer@redhat.com>
16465 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
16466 * nptl/tst-setuid2.c: New file.
16467 * nptl/Makefile (xtests): Add tst-setuid2.
16469 2014-04-01 Alan Modra <amodra@gmail.com>
16472 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
16474 2014-03-31 Joseph Myers <joseph@codesourcery.com>
16478 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
16479 set errno as appropriate.
16480 * math/w_scalbf.c (__scalbf): Likewise.
16481 * math/w_scalbl.c (__scalbl): Likewise.
16482 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
16483 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
16484 * math/libm-test.inc (scalb_test_data): Add errno expectations.
16485 Add more NaN tests.
16488 * math/w_atan2.c: Include <errno.h>.
16489 (__atan2): Set errno for result underflowing to zero.
16490 * math/w_atan2f.c: Include <errno.h>.
16491 (__atan2f): Set errno for result underflowing to zero.
16492 * math/w_atan2l.c: Include <errno.h>.
16493 (__atan2l): Set errno for result underflowing to zero.
16494 * math/auto-libm-test-in: Don't allow missing errno for some atan2
16496 * math/auto-libm-test-out: Regenerated.
16498 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16500 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
16501 Encode instruction correctly in little endian.
16502 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
16504 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
16506 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
16508 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
16511 2014-03-31 Joseph Myers <joseph@codesourcery.com>
16514 * sysdeps/unix/sysv/linux/kernel-features.h
16515 [__sparc__ && !__arch64__ && !__sparc_v9__]
16516 (__ASSUME_SET_ROBUST_LIST): Do not define.
16517 [__sparc__ && !__arch64__ && !__sparc_v9__]
16518 (__ASSUME_FUTEX_LOCK_PI): Likewise.
16519 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
16521 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16522 (__ASSUME_FUTEX_LOCK_PI): Undefine.
16523 (__ASSUME_REQUEUE_PI): Likewise.
16524 (__ASSUME_SET_ROBUST_LIST): Likewise.
16525 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16526 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
16528 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16529 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
16531 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
16533 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
16535 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16536 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
16538 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
16539 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
16543 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16544 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
16545 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
16547 2014-03-31 Will Newton <will.newton@linaro.org>
16549 * benchtests/Makefile (bench): Add ffs and ffsll to list
16551 * benchtests/ffs-inputs: New file.
16552 * benchtests/ffsll-inputs: Likewise.
16554 2014-03-29 Joseph Myers <joseph@codesourcery.com>
16557 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
16558 too large before casting to int.
16559 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
16560 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
16561 * math/libm-test.inc (scalb_test_data): Add more tests.
16563 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16565 * benchtests/Makefile (DETAILED_OPT): New make option.
16566 (bench-func): Run benchmark program with -d if DETAILED_OPT is
16568 * benchtests/bench-skeleton.c: Include stdbool.h.
16569 (main): Store and print timings per input.
16570 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
16571 member to each argument value.
16572 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
16573 (_print_arg_data): Initialize per-input timing to 0.
16575 * benchtests/Makefile (timing-type): New binary.
16576 (bench-clean): Also remove bench-timing-type.
16577 (bench): New target for timing-type.
16578 (bench-func): Print output in JSON format.
16579 * benchtests/bench-skeleton.c (main): Print output in JSON
16581 * benchtests/bench-timing-type.c: New file.
16582 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
16583 (TIMING_PRINT_STATS): Remove.
16584 * benchtests/scripts/bench.py (_print_arg_data): Store variant
16587 * benchtests/bench-modf.c: Remove.
16588 * benchtests/modf-inputs: New inputs file.
16590 2014-03-28 Joseph Myers <joseph@codesourcery.com>
16593 * math/s_clog10.c (M_PI_LOG10E): New macro.
16594 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
16595 imaginary parts are 0.
16596 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
16597 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
16598 imaginary parts are 0.
16599 * math/s_clog10l.c (M_PI_LOG10El): New macro.
16600 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
16601 imaginary parts are 0.
16602 * math/libm-test.inc (clog10_test_data): Update expected results
16603 for when real and imaginary parts are 0.
16605 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
16607 * elf/dl-load.c: Finish conversion of __builtin_expect into
16608 __glibc_{un}likely.
16610 2014-03-27 Joseph Myers <joseph@codesourcery.com>
16613 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
16614 1+x for argument with exponent below -67.
16615 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
16617 * math/auto-libm-test-in: Add more tests of exp.
16618 * math/auto-libm-test-out: Regenerated.
16620 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16623 * inet/getnetgrent_r.c (get_nonempty_val): New function.
16624 (nscd_getnetgrent): Use it.
16627 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
16630 2014-03-27 Andi Kleen <ak@linux.intel.com>
16632 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
16633 (lll_robust_lock, lll_cond_lock, lll_timedlock)
16634 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
16635 (lll_robust_unlock): Remove out of line section. Use cfi
16637 (LLL_STUB_UNWIND_INFO*): Remove.
16638 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
16639 (lll_robust_lock, lll_cond_lock, lll_timedlock)
16640 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
16641 (lll_robust_unlock): Remove out of line section. Use cfi
16643 (LLL_STUB_UNWIND_INFO*): Remove.
16645 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16648 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
16651 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
16653 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
16655 2014-03-26 Joseph Myers <joseph@codesourcery.com>
16658 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
16660 * math/test-fenv-preserve.c: New file.
16661 * math/Makefile (tests): Add test-fenv-preserve.
16663 2014-03-26 Will Newton <will.newton@linaro.org>
16665 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
16667 2014-03-25 Roland McGrath <roland@hack.frob.com>
16669 * scripts/versionlist.awk: Partition the version sets and emit all
16670 GLIBC_* (sorted) before all others (sorted).
16672 2014-03-25 Joseph Myers <joseph@codesourcery.com>
16674 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
16675 GLIBC_2.2.5 version.
16677 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16679 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
16682 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
16685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16687 2014-03-25 Andreas Schwab <schwab@suse.de>
16689 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
16690 label to be used after in6ailist is initialized.
16692 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16694 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16695 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
16697 2014-03-25 Joseph Myers <joseph@codesourcery.com>
16701 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
16703 (fp_formats): Update initializers.
16704 (init_fp_formats): Initialize new field.
16705 (output_for_one_input_case): Allow underflow for results up to
16707 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
16708 * math/auto-libm-test-in: Don't mark some underflows from asin and
16710 * math/auto-libm-test-out: Regenerated.
16711 * sysdeps/i386/fpu/libm-test-ulps: Update.
16712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16714 2014-03-25 Andreas Schwab <schwab@suse.de>
16716 * libio/Makefile (tst-ftell-partial-wide-ENV)
16717 (tst-ftell-active-handler-ENV): Define.
16719 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
16721 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
16723 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
16725 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
16727 2014-03-24 Joseph Myers <joseph@codesourcery.com>
16729 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
16730 * sysdeps/x86_64/fpu/multiarch/e_exp.c
16731 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16733 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
16736 * elf/dl-load.c (open_verify): Add mode parameter.
16737 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
16738 (open_path): Change from boolean 'secure' to complete flag 'mode'
16739 (_dl_map_object): Adjust.
16740 * elf/Makefile (tests): Add tst-dlopen-aout.
16741 * elf/tst-dlopen-aout.c: New test.
16743 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
16746 * sysdeps/unix/sysv/linux/s390/bits/stat.h
16747 (struct stat): Rename member pad0 to __glibc_reserved0.
16750 * sysdeps/s390/s390-32/bits/wordsize.h
16751 (__WORDSIZE32_SIZE_ULONG): New define.
16752 * sysdeps/s390/s390-64/bits/wordsize.h
16753 (__WORDSIZE32_SIZE_ULONG): Likewise.
16754 * sysdeps/generic/stdint.h (SIZE_MAX):
16755 Define as UL if __WORDSIZE32_SIZE_ULONG.
16758 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
16759 (__glibc_reserved0): New variable.
16760 (sa_flags): Change type to int.
16762 * posix/Makefile (before-compile): Use += before-compile instead
16765 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16766 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
16768 2014-03-20 Andreas Schwab <schwab@suse.de>
16771 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
16772 non-matching result from nscd.
16774 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16776 * scripts/bench.py: Moved to ...
16777 * benchtests/scripts/bench.py: ... here.
16778 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
16780 2014-03-24 Andreas Schwab <schwab@suse.de>
16783 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
16784 alloca_account and account alloca use for struct in6ailist.
16786 2014-03-24 Joseph Myers <joseph@codesourcery.com>
16789 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
16790 rounding mode to recompute results that overflow to infinity or
16792 * math/auto-libm-test-in: Don't mark tests as expected to fail for
16794 * math/auto-libm-test-out: Regenerated.
16795 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
16796 (ccosh_test): Likewise.
16797 (csin_test_data): Use plus_oflow.
16798 (csin_test): Use ALL_RM_TEST.
16799 (csinh_test_data): Use plus_oflow.
16800 (csinh_test): Use ALL_RM_TEST.
16801 * sysdeps/i386/fpu/libm-test-ulps: Update.
16802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16804 2014-03-21 Joseph Myers <joseph@codesourcery.com>
16806 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
16807 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
16808 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
16811 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
16812 when x - 1 is zero.
16813 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
16814 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
16815 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16816 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
16818 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
16819 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
16821 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
16822 * sysdeps/i386/fpu/libm-test-ulps: Update.
16823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16825 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16827 * scripts/bench.pl: Remove file.
16828 * scripts/bench.py: New benchmark script.
16829 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
16830 * benchtests/README: Mention python dependency.
16831 * scripts/pylintrc: New file.
16832 * scripts/pylint: New file.
16834 * bits/mathdef.h: Use #ifdef instead of #if.
16835 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
16836 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16837 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
16838 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16839 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
16840 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16842 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16843 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16845 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
16846 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
16847 and strpbrk-ppc64 objects.
16848 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16849 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
16850 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
16851 multiarch strpbrk for POWER7.
16852 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
16853 multiarch strpbrk for PPC64.
16854 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
16856 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
16857 strpbrk for POWER7.
16859 2014-03-20 Joseph Myers <joseph@codesourcery.com>
16861 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
16862 (atan_test): Likewise.
16863 (atanh_test_data): Use NO_TEST_INLINE for two tests.
16864 (atanh_test): Use ALL_RM_TEST.
16865 (atan2_test_data): Likewise.
16866 (cabs_test): Likewise.
16867 (cacosh_test): Likewise.
16868 (carg_test): Likewise.
16869 (casin_test): Likewise.
16870 (casinh_test): Likewise.
16871 (cbrt_test): Likewise.
16872 (csqrt_test): Likewise.
16873 (erf_test): Likewise.
16874 (erfc_test): Likewise.
16875 (pow10_test): Likewise.
16876 (exp2_test): Likewise.
16877 (hypot_test): Likewise.
16878 (j0_test): Likewise.
16879 (j1_test): Likewise.
16880 (lgamma_test): Likewise.
16881 (gamma_test): Likewise.
16882 (sincos_test): Likewise.
16883 (tanh_test): Likewise.
16884 (y0_test): Likewise.
16885 (y1_test): Likewise.
16886 * sysdeps/i386/fpu/libm-test-ulps: Update.
16887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16889 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16891 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
16892 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
16893 and strcspn-ppc64 objects.
16894 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16895 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
16896 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
16897 multiarch strcspn for POWER7.
16898 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
16899 multiarch strcspn for PPC64.
16900 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
16902 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
16903 strcspn for POWER7.
16905 2014-03-20 Joseph Myers <joseph@codesourcery.com>
16907 * math/gen-libm-test.pl (generate_testfile): Expect only function
16908 name as argument to AUTO_TESTS_* and pass results for all rounding
16909 modes to parse_args.
16910 (parse_auto_input): Separate inputs of automatic tests from
16911 outputs before storing in %auto_tests.
16912 * math/libm-test.inc (acos_test_data): Update call to
16914 (acos_test): Use ALL_RM_TEST.
16915 (acos_tonearest_test_data): Remove.
16916 (acos_test_tonearest): Likewise.
16917 (acos_towardzero_test_data): Likewise.
16918 (acos_test_towardzero): Likewise.
16919 (acos_downward_test_data): Likewise.
16920 (acos_test_downward): Likewise.
16921 (acos_upward_test_data): Likewise.
16922 (acos_test_upward): Likewise.
16923 (acosh_test_data): Update call to AUTO_TESTS_f_f.
16924 (asin_test_data): Likewise.
16925 (asin_test): Use ALL_RM_TEST.
16926 (asin_tonearest_test_data): Remove.
16927 (asin_test_tonearest): Likewise.
16928 (asin_towardzero_test_data): Likewise.
16929 (asin_test_towardzero): Likewise.
16930 (asin_downward_test_data): Likewise.
16931 (asin_test_downward): Likewise.
16932 (asin_upward_test_data): Likewise.
16933 (asin_test_upward): Likewise.
16934 (asinh_test_data): Update call to AUTO_TESTS_f_f.
16935 (atan_test_data): Likewise.
16936 (atanh_test_data): Likewise.
16937 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
16938 (cabs_test_data): Update call to AUTO_TESTS_c_f.
16939 (carg_test_data): Likewise.
16940 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
16941 (ccos_test_data): Update call to AUTO_TESTS_c_c.
16942 (ccosh_test_data): Likewise.
16943 (cexp_test_data): Likewise.
16944 (clog_test_data): Likewise.
16945 (clog10_test_data): Likewise.
16946 (cos_test_data): Update call to AUTO_TESTS_f_f.
16947 (cos_test): Use ALL_RM_TEST.
16948 (cos_tonearest_test_data): Remove.
16949 (cos_test_tonearest): Likewise.
16950 (cos_towardzero_test_data): Likewise.
16951 (cos_test_towardzero): Likewise.
16952 (cos_downward_test_data): Likewise.
16953 (cos_test_downward): Likewise.
16954 (cos_upward_test_data): Likewise.
16955 (cos_test_upward): Likewise.
16956 (cosh_test_data): Update call to AUTO_TESTS_f_f.
16957 (cosh_test): Use ALL_RM_TEST.
16958 (cosh_tonearest_test_data): Remove.
16959 (cosh_test_tonearest): Likewise.
16960 (cosh_towardzero_test_data): Likewise.
16961 (cosh_test_towardzero): Likewise.
16962 (cosh_downward_test_data): Likewise.
16963 (cosh_test_downward): Likewise.
16964 (cosh_upward_test_data): Likewise.
16965 (cosh_test_upward): Likewise.
16966 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
16967 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
16968 (ctan_test_data): Likewise.
16969 (ctan_test): Use ALL_RM_TEST.
16970 (ctan_tonearest_test_data): Remove.
16971 (ctan_test_tonearest): Likewise.
16972 (ctan_towardzero_test_data): Likewise.
16973 (ctan_test_towardzero): Likewise.
16974 (ctan_downward_test_data): Likewise.
16975 (ctan_test_downward): Likewise.
16976 (ctan_upward_test_data): Likewise.
16977 (ctan_test_upward): Likewise.
16978 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
16979 (ctanh_test): Use ALL_RM_TEST.
16980 (ctanh_tonearest_test_data): Remove.
16981 (ctanh_test_tonearest): Likewise.
16982 (ctanh_towardzero_test_data): Likewise.
16983 (ctanh_test_towardzero): Likewise.
16984 (ctanh_downward_test_data): Likewise.
16985 (ctanh_test_downward): Likewise.
16986 (ctanh_upward_test_data): Likewise.
16987 (ctanh_test_upward): Likewise.
16988 (erf_test_data): Update call to AUTO_TESTS_f_f.
16989 (erfc_test_data): Likewise.
16990 (exp_test_data): Likewise.
16991 (exp_test): Use ALL_RM_TEST.
16992 (exp_tonearest_test_data): Remove.
16993 (exp_test_tonearest): Likewise.
16994 (exp_towardzero_test_data): Likewise.
16995 (exp_test_towardzero): Likewise.
16996 (exp_downward_test_data): Likewise.
16997 (exp_test_downward): Likewise.
16998 (exp_upward_test_data): Likewise.
16999 (exp_test_upward): Likewise.
17000 (exp10_test_data): Update call to AUTO_TESTS_f_f.
17001 (exp10_test): Use ALL_RM_TEST.
17002 (exp10_tonearest_test_data): Remove.
17003 (exp10_test_tonearest): Likewise.
17004 (exp10_towardzero_test_data): Likewise.
17005 (exp10_test_towardzero): Likewise.
17006 (exp10_downward_test_data): Likewise.
17007 (exp10_test_downward): Likewise.
17008 (exp10_upward_test_data): Likewise.
17009 (exp10_test_upward): Likewise.
17010 (exp2_test_data): Update call to AUTO_TESTS_f_f.
17011 (expm1_test_data): Likewise.
17012 (expm1_test): Use ALL_RM_TEST.
17013 (expm1_tonearest_test_data): Remove.
17014 (expm1_test_tonearest): Likewise.
17015 (expm1_towardzero_test_data): Likewise.
17016 (expm1_test_towardzero): Likewise.
17017 (expm1_downward_test_data): Likewise.
17018 (expm1_test_downward): Likewise.
17019 (expm1_upward_test_data): Likewise.
17020 (expm1_test_upward): Likewise.
17021 (fma_test_data): Update call to AUTO_TESTS_fff_f.
17022 (fma_test): Use ALL_RM_TEST.
17023 (fma_towardzero_test_data): Remove.
17024 (fma_test_towardzero): Likewise.
17025 (fma_downward_test_data): Likewise.
17026 (fma_test_downward): Likewise.
17027 (fma_upward_test_data): Likewise.
17028 (fma_test_upward): Likewise.
17029 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
17030 (j0_test_data): Update call to AUTO_TESTS_f_f.
17031 (j1_test_data): Likewise.
17032 (jn_test_data): Update call to AUTO_TESTS_if_f.
17033 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
17034 (log_test_data): Update call to AUTO_TESTS_f_f.
17035 (log10_test_data): Likewise.
17036 (log1p_test_data): Likewise.
17037 (log2_test_data): Likewise.
17038 (pow_test_data): Update call to AUTO_TESTS_ff_f.
17039 (pow_tonearest_test_data): Likewise.
17040 (sin_test_data): Update call to AUTO_TESTS_f_f.
17041 (sin_test): Use ALL_RM_TEST.
17042 (sin_tonearest_test_data): Remove.
17043 (sin_test_tonearest): Likewise.
17044 (sin_towardzero_test_data): Likewise.
17045 (sin_test_towardzero): Likewise.
17046 (sin_downward_test_data): Likewise.
17047 (sin_test_downward): Likewise.
17048 (sin_upward_test_data): Likewise.
17049 (sin_test_upward): Likewise.
17050 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
17051 (sinh_test_data): Update call to AUTO_TESTS_f_f.
17052 (sinh_test): Use ALL_RM_TEST.
17053 (sinh_tonearest_test_data): Remove.
17054 (sinh_test_tonearest): Likewise.
17055 (sinh_towardzero_test_data): Likewise.
17056 (sinh_test_towardzero): Likewise.
17057 (sinh_downward_test_data): Likewise.
17058 (sinh_test_downward): Likewise.
17059 (sinh_upward_test_data): Likewise.
17060 (sinh_test_upward): Likewise.
17061 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
17062 (sqrt_test): Use ALL_RM_TEST.
17063 (sqrt_tonearest_test_data): Remove.
17064 (sqrt_test_tonearest): Likewise.
17065 (sqrt_towardzero_test_data): Likewise.
17066 (sqrt_test_towardzero): Likewise.
17067 (sqrt_downward_test_data): Likewise.
17068 (sqrt_test_downward): Likewise.
17069 (sqrt_upward_test_data): Likewise.
17070 (sqrt_test_upward): Likewise.
17071 (tan_test_data): Update call to AUTO_TESTS_f_f.
17072 (tan_test): Use ALL_RM_TEST.
17073 (tan_tonearest_test_data): Remove.
17074 (tan_test_tonearest): Likewise.
17075 (tan_towardzero_test_data): Likewise.
17076 (tan_test_towardzero): Likewise.
17077 (tan_downward_test_data): Likewise.
17078 (tan_test_downward): Likewise.
17079 (tan_upward_test_data): Likewise.
17080 (tan_test_upward): Likewise.
17081 (tanh_test_data): Update call to AUTO_TESTS_f_f.
17082 (tgamma_test_data): Likewise.
17083 (y0_test_data): Likewise.
17084 (y1_test_data): Likewise.
17085 (yn_test_data): Update call to AUTO_TESTS_if_f.
17086 (main): Do not call removed functions.
17088 2014-03-19 Joseph Myers <joseph@codesourcery.com>
17090 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
17091 (ldexp_test_data): Remove.
17092 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
17094 (scalb_test): Use ALL_RM_TEST.
17096 2014-03-19 Andreas Schwab <schwab@suse.de>
17098 * nscd/nscd.service: Also invalidate netgroup cache on reload.
17100 2014-03-19 Joseph Myers <joseph@codesourcery.com>
17103 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17104 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
17105 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
17106 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17107 (__ASSUME_PREADV): Undefine.
17108 (__ASSUME_PWRITEV): Likewise.
17110 2014-03-18 Roland McGrath <roland@hack.frob.com>
17112 * bits/mman-linux.h: Add comment about non-Linux use.
17113 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
17114 bits/mman-linux.h resting place.
17116 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
17117 * bits/mman-linux.h: ... here.
17119 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17121 * conform/conformtest.pl: Add standard definition when calling C
17122 preprocessor on data files.
17123 (checknamespace): Remove unused variable.
17125 2014-03-18 Joseph Myers <joseph@codesourcery.com>
17127 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
17128 minus_oflow, plus_uflow and minus_uflow in expected results.
17129 * math/libm-test.inc (scalbn_test_data): Add more tests of
17130 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
17132 (scalbn_test): Use ALL_RM_TEST.
17133 (scalbln_test_data): Add more tests of negative arguments. Use
17134 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
17135 (scalbln_test): Use ALL_RM_TEST.
17137 2014-03-18 Roland McGrath <roland@hack.frob.com>
17139 * scripts/abilist.awk: Ignore symbols marked with .hidden.
17141 2014-03-18 Will Newton <will.newton@linaro.org>
17143 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
17144 inaccurate comment.
17146 2014-03-18 Joseph Myers <joseph@codesourcery.com>
17148 * Makerules [!subdir] (check-abi): Exit with error status if a
17151 2014-03-17 Joseph Myers <joseph@codesourcery.com>
17153 * math/libm-test.inc (nearbyint_test_data): Include all tests used
17154 for rint. Include results for all rounding modes.
17155 (nearbyint_test): Use ALL_RM_TEST.
17156 (rint_test_data): Include all tests used for nearbyint.
17158 2014-03-17 Will Newton <will.newton@linaro.org>
17160 * nptl/sysdeps/pthread/pthread.h: Revert previous
17163 * sysdeps/generic/ldsodefs.h: Revert previous
17166 * libio/genops.c: Revert previous change.
17167 * libio/libioP.h: Likewise.
17168 * stdio-common/vfprintf.c: Likewise.
17170 * sysdeps/generic/math_private.h: Revert previous
17173 * sysdeps/generic/math_private.h: Check whether
17174 HAVE_RM_CTX is defined with #ifdef rather
17177 * argp/argp-fmtstream.h: Check whether
17178 __STRICT_ANSI__ is defined with #ifdef rather
17180 * argp/argp.h: Likewise.
17182 * libio/genops.c: Check whether
17183 _IO_JUMPS_OFFSET is defined with #ifdef rather
17185 * libio/libioP.h: Likewise.
17186 * stdio-common/vfprintf.c: Likewise.
17188 * sysdeps/generic/ldsodefs.h: Check whether
17189 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
17192 * nptl/sysdeps/pthread/pthread.h: Check
17193 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
17196 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17198 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
17200 * libio/tst-ftell-active-handler.c (do_append_test): Add a
17204 * libio/fileops.c (_IO_file_open): Seek to end of file but
17205 don't cache the offset.
17206 (get_file_offset): Remove function.
17207 (do_ftell): Use cached offset when available.
17208 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
17209 don't cache the offset.
17210 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
17212 (do_one_test): Call it.
17213 (do_ftell_test): Fix up expected old offset for a+ mode.
17214 * libio/wfileops.c (do_ftell_wide): Used cached offset when
17217 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
17218 up test status with function return status.
17219 (do_write_test): Likewise.
17220 (do_append_test): Likewise.
17222 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
17223 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
17226 2014-03-17 Joseph Myers <joseph@codesourcery.com>
17228 * math/gen-libm-test.pl (parse_args): Handle results specified for
17229 each rounding mode separately.
17230 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
17231 tests and results from lrint_tonearest_test_data,
17232 lrint_towardzero_test_data, lrint_downward_test_data and
17233 lrint_upward_test_data.
17234 (lrint_test): Use ALL_RM_TEST.
17235 (lrint_tonearest_test_data): Remove.
17236 (lrint_test_tonearest): Likewise.
17237 (lrint_towardzero_test_data): Likewise.
17238 (lrint_test_towardzero): Likewise.
17239 (lrint_downward_test_data): Likewise.
17240 (lrint_test_downward): Likewise.
17241 (lrint_upward_test_data): Likewise.
17242 (lrint_test_upward): Likewise.
17243 (llrint_test_data): Merge in per-rounding-mode tests and results
17244 from llrint_tonearest_test_data, llrint_towardzero_test_data,
17245 llrint_downward_test_data and llrint_upward_test_data.
17246 (llrint_test): Use ALL_RM_TEST.
17247 (llrint_tonearest_test_data): Remove.
17248 (llrint_test_tonearest): Likewise.
17249 (llrint_towardzero_test_data): Likewise.
17250 (llrint_test_towardzero): Likewise.
17251 (llrint_downward_test_data): Likewise.
17252 (llrint_test_downward): Likewise.
17253 (llrint_upward_test_data): Likewise.
17254 (llrint_test_upward): Likewise.
17255 (rint_test_data): Merge in per-rounding-mode tests and results
17256 from rint_tonearest_test_data, rint_towardzero_test_data,
17257 rint_downward_test_data and rint_upward_test_data. Add
17258 per-rounding-mode results for tests not in those arrays.
17259 (rint_test): Use ALL_RM_TEST.
17260 (rint_tonearest_test_data): Remove.
17261 (rint_test_tonearest): Likewise.
17262 (rint_towardzero_test_data): Likewise.
17263 (rint_test_towardzero): Likewise.
17264 (rint_downward_test_data): Likewise.
17265 (rint_test_downward): Likewise.
17266 (rint_upward_test_data): Likewise.
17267 (rint_test_upward): Likewise.
17268 (main): Don't call removed functions.
17270 2014-03-14 Roland McGrath <roland@hack.frob.com>
17272 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
17273 "Compiled on ..." crapola. It is anti-useful.
17275 2014-03-14 Joseph Myers <joseph@codesourcery.com>
17277 * scripts/evaluate-test.sh: Handle fourth argument to determine
17278 whether test run should stop on failure.
17279 * Makeconfig (stop-on-test-failure): New variable.
17280 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
17281 $(stop-on-test-failure).
17282 * Makefile (tests): Give a summary of results from testing and
17283 exit with failure status if they include an ERROR or FAIL.
17284 (xtests): Likewise.
17285 * manual/install.texi (Configuring and compiling): Mention
17286 stop-on-test-failure=y.
17287 * INSTALL: Regenerated.
17289 2014-03-14 Roland McGrath <roland@hack.frob.com>
17291 * scripts/versionlist.awk: New file.
17292 * Makerules [$(build-shared) = yes]
17293 (postclean-generated): Add Versions.def, not Versions.def.v and
17295 ($(common-objpfx)Versions.def.v.i): Target removed.
17296 ($(common-objpfx)Versions.def): New target.
17297 ($(common-objpfx)Versions.all): Depend on that rather that
17298 $(common-objpfx)Versions.def.v.
17299 * Versions.def: File removed.
17301 * Makeconfig (+gccwarn): Add -Wundef.
17302 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
17303 a dl-sysdep.h breaking its contract.
17304 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
17305 * include/stackinfo.h: New file.
17306 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
17307 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
17308 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
17309 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
17310 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
17311 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
17312 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17313 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17314 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17315 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17316 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17317 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
17318 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17319 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17320 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17322 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17325 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
17327 * math/libm-test.inc (round_test_data): Add more tests.
17330 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
17332 * math/libm-test.inc (nearbyint_test_data): Add more tests.
17335 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
17337 * math/libm-test.inc (ceil_test_data): Add more tests.
17339 * math/libm-test.inc (trunc_test_data): Add more tests related to
17342 2014-03-14 Roland McGrath <roland@hack.frob.com>
17344 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
17345 with #if rather than #ifdef.
17346 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
17348 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
17350 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
17351 first. Disable AVX-512 GCC support if assembler doesn't support
17353 * sysdeps/x86_64/configure: Regenerated.
17355 2014-03-13 Carlos O'Donell <carlos@redhat.com>
17357 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
17358 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
17359 (__old_pthread_attr_setstack): Likewise.
17360 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
17361 [!_STACK_GROWS_DOWN]: Likewise.
17363 2014-03-13 Mike Frysinger <vapier@gentoo.org>
17365 * config.make.in (have-bash2): Delete.
17366 * configure.ac (libc_cv_have_bash2): Delete.
17367 * configure: Regenerate.
17368 * elf/Makefile (common-ldd-rewrite): Rename to ...
17369 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
17370 (sh-ldd-rewrite): Delete.
17371 (bash-ldd-rewrite): Delete.
17372 (have-bash2): Delete checks.
17373 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
17376 * config.make.in (have-ksh): Delete.
17378 * configure.ac (libc_cv_have_ksh): Delete.
17379 * configure: Regenerate.
17381 * elf/Makefile: Delete $(have-ksh) check.
17382 ($(objpfx)sotruss): Change KSH to BASH.
17383 * elf/sotruss.ksh: Rename to ...
17384 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
17385 function style to match POSIX. Drop ksh vim mode setting.
17387 * manual/time.texi (Specifying the Time Zone with TZ): Change
17388 Tuesday to Thursday.
17390 * debug/tst-longjmp_chk2.c: Update header comment.
17391 (stackoverflow_handler): Add comment. Call assert on pass value.
17393 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
17396 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
17397 (HAVE_AVX512_ASM_SUPPORT): Likewise.
17398 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
17399 (La_x86_64_vector): Add zmm.
17400 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
17401 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
17402 ($(objpfx)tst-audit10): New target.
17403 ($(objpfx)tst-audit10.out): Likewise.
17404 (tst-audit10-ENV): New.
17405 (AVX512-CFLAGS): Likewise.
17406 (CFLAGS-tst-audit10.c): Likewise.
17407 (CFLAGS-tst-auditmod10a.c): Likewise.
17408 (CFLAGS-tst-auditmod10b.c): Likewise.
17409 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
17410 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
17411 * sysdeps/x86_64/configure: Regenerated.
17412 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
17413 AVX-512 zmm register support.
17414 (_dl_x86_64_save_sse): Likewise.
17415 (_dl_x86_64_restore_sse): Likewise.
17416 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
17417 size vector registers.
17418 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
17419 (ZMM_SIZE): Likewise.
17420 * sysdeps/x86_64/tst-audit10.c: New file.
17421 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
17422 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
17424 2014-03-13 Roland McGrath <roland@hack.frob.com>
17426 * configure.ac (HAVE_EHDR_START): New check.
17427 * configure: Regenerated.
17428 * config.h.in (HAVE_EHDR_START): New #undef.
17429 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
17430 assuming the lowest-addressed segment maps the start of the file.
17432 2014-03-13 Joseph Myers <joseph@codesourcery.com>
17434 * INSTALL: Regenerated.
17436 2014-03-13 Will Newton <will.newton@linaro.org>
17438 * manual/setjmp.texi (System V contexts): Improve
17439 clarity and grammar of documentation.
17441 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
17444 * elf/Makefile (tests): Add tst-pie2.
17445 (tests-pie): Add tst-pie2.
17446 * elf/tst-pie2.c: New file.
17447 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
17449 * elf/rtld.c (map_doit): Load executable as lt_executable.
17450 (dl_main): Likewise.
17452 2014-03-12 Joseph Myers <joseph@codesourcery.com>
17455 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17456 (__ASSUME_PSELECT): Undefine.
17458 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17461 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
17462 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
17464 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
17465 selector for static builds.
17467 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17470 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
17473 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17475 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
17476 IFUNC selector for static builds.
17478 2014-03-11 Joseph Myers <joseph@codesourcery.com>
17480 * sysdeps/mips/math_private.h [__mips_hard_float]
17481 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
17482 libc_feresetround_mips_ctx.
17483 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
17484 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
17485 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
17488 * math/s_nextafter.c (__nextafter): Do not return value from
17489 overflowing computation.
17490 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
17491 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
17492 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
17494 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
17496 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
17497 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
17499 2014-03-11 Roland McGrath <roland@hack.frob.com>
17501 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
17502 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
17503 Move sfi_sp use from the load-multiple (that no longer sets sp) to
17504 the new mov targetting sp.
17506 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17509 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
17510 Define it for static builds as well.
17511 (NO_BZERO_IMPL): Likewise.
17513 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17515 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
17516 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
17517 multiarch strspn for PPC64.
17518 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
17519 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
17520 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17521 (__libc_ifunc_impl_list): Likewise.
17522 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
17523 multiarch optimizations
17524 * string/strspn.c (strspn): Using macro to redefine symbol name.
17526 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17527 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17529 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
17530 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
17531 multiarch strncat for PPC64.
17532 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
17533 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
17534 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17535 (__libc_ifunc_impl_list): Likewise.
17536 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
17537 multiarch optimizations
17539 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17542 * nscd/nscd.service: Make service type forking.
17544 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17546 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
17547 sign in non default rounding modes.
17548 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
17550 2014-03-08 Joseph Myers <joseph@codesourcery.com>
17552 * math/libm-test.inc (ALL_RM_TEST): New macro.
17553 (ceil_test): Use ALL_RM_TEST.
17554 (cimag_test): Likewise.
17555 (conj_test): Likewise.
17556 (copysign_test): Likewise.
17557 (cproj_test): Likewise.
17558 (creal_test): Likewise.
17559 (fabs_test): Likewise.
17560 (floor_test): Likewise.
17561 (fmax_test): Likewise.
17562 (fmin_test): Likewise.
17563 (fmod_test): Likewise.
17564 (fpclassify_test): Likewise.
17565 (frexp_test): Likewise.
17566 (ilogb_test): Likewise.
17567 (isfinite_test): Likewise.
17568 (finite_test): Likewise.
17569 (isgreater_test): Likewise.
17570 (isgreaterequal_test): Likewise.
17571 (isinf_test): Likewise.
17572 (isless_test): Likewise.
17573 (islessequal_test): Likewise.
17574 (islessgreater_test): Likewise.
17575 (isnan_test): Likewise.
17576 (isnormal_test): Likewise.
17577 (issignaling_test): Likewise.
17578 (isunordered_test): Likewise.
17579 (logb_test): Likewise.
17580 (logb_downward_test_data): Remove.
17581 (logb_test_downward): Likewise.
17582 (lround_test): Use ALL_RM_TEST.
17583 (llround_test): Likewise.
17584 (modf_test): Likewise.
17585 (nexttoward_test): Likewise.
17586 (remainder_test): Likewise.
17587 (drem_test): Likewise.
17588 (remainder_tonearest_test_data): Likewise.
17589 (remainder_test_tonearest): Likewise.
17590 (drem_test_tonearest): Likewise.
17591 (remainder_towardzero_test_data): Likewise.
17592 (remainder_test_towardzero): Likewise.
17593 (drem_test_towardzero): Likewise.
17594 (remainder_downward_test_data): Likewise.
17595 (remainder_test_downward): Likewise.
17596 (drem_test_downward): Likewise.
17597 (remainder_upward_test_data): Likewise.
17598 (remainder_test_upward): Likewise.
17599 (drem_test_upward): Likewise.
17600 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
17601 (round_test): Use ALL_RM_TEST.
17602 (signbit_test): Likewise.
17603 (trunc_test): Likewise.
17604 (significand_test): Likewise.
17605 (main): Don't call removed functions.
17607 2014-03-07 Joseph Myers <joseph@codesourcery.com>
17610 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
17611 || __USE_XOPEN2K8].
17612 (ILL_ILLOPN): Likewise.
17613 (ILL_ILLADR): Likewise.
17614 (ILL_ILLTRP): Likewise.
17615 (ILL_PRVOPC): Likewise.
17616 (ILL_PRVREG): Likewise.
17617 (ILL_COPROC): Likewise.
17618 (ILL_BADSTK): Likewise.
17619 (FPE_INTDIV): Likewise.
17620 (FPE_INTOVF): Likewise.
17621 (FPE_FLTDIV): Likewise.
17622 (FPE_FLTOVF): Likewise.
17623 (FPE_FLTUND): Likewise.
17624 (FPE_FLTRES): Likewise.
17625 (FPE_FLTINV): Likewise.
17626 (FPE_FLTSUB): Likewise.
17627 (SEGV_MAPERR): Likewise.
17628 (SEGV_ACCERR): Likewise.
17629 (BUS_ADRALN): Likewise.
17630 (BUS_ADRERR): Likewise.
17631 (BUS_OBJERR): Likewise.
17632 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17633 (TRAP_TRACE): Likewise.
17634 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17636 (CLD_KILLED): Likewise.
17637 (CLD_DUMPED): Likewise.
17638 (CLD_TRAPPED): Likewise.
17639 (CLD_STOPPED): Likewise.
17640 (CLD_CONTINUED): Likewise.
17641 (POLL_IN): Likewise.
17642 (POLL_OUT): Likewise.
17643 (POLL_MSG): Likewise.
17644 (POLL_ERR): Likewise.
17645 (POLL_PRI): Likewise.
17646 (POLL_HUP): Likewise.
17647 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
17649 (ILL_ILLOPN): Likewise.
17650 (ILL_ILLADR): Likewise.
17651 (ILL_ILLTRP): Likewise.
17652 (ILL_PRVOPC): Likewise.
17653 (ILL_PRVREG): Likewise.
17654 (ILL_COPROC): Likewise.
17655 (ILL_BADSTK): Likewise.
17656 (FPE_INTDIV): Likewise.
17657 (FPE_INTOVF): Likewise.
17658 (FPE_FLTDIV): Likewise.
17659 (FPE_FLTOVF): Likewise.
17660 (FPE_FLTUND): Likewise.
17661 (FPE_FLTRES): Likewise.
17662 (FPE_FLTINV): Likewise.
17663 (FPE_FLTSUB): Likewise.
17664 (SEGV_MAPERR): Likewise.
17665 (SEGV_ACCERR): Likewise.
17666 (BUS_ADRALN): Likewise.
17667 (BUS_ADRERR): Likewise.
17668 (BUS_OBJERR): Likewise.
17669 (BUS_MCEERR_AR): Likewise.
17670 (BUS_MCEERR_AO): Likewise.
17671 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17672 (TRAP_TRACE): Likewise.
17673 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17675 (CLD_KILLED): Likewise.
17676 (CLD_DUMPED): Likewise.
17677 (CLD_TRAPPED): Likewise.
17678 (CLD_STOPPED): Likewise.
17679 (CLD_CONTINUED): Likewise.
17680 (POLL_IN): Likewise.
17681 (POLL_OUT): Likewise.
17682 (POLL_MSG): Likewise.
17683 (POLL_ERR): Likewise.
17684 (POLL_PRI): Likewise.
17685 (POLL_HUP): Likewise.
17686 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
17687 (ILL_ILLOPN): Likewise.
17688 (ILL_ILLADR): Likewise.
17689 (ILL_ILLTRP): Likewise.
17690 (ILL_PRVOPC): Likewise.
17691 (ILL_PRVREG): Likewise.
17692 (ILL_COPROC): Likewise.
17693 (ILL_BADSTK): Likewise.
17694 (FPE_INTDIV): Likewise.
17695 (FPE_INTOVF): Likewise.
17696 (FPE_FLTDIV): Likewise.
17697 (FPE_FLTOVF): Likewise.
17698 (FPE_FLTUND): Likewise.
17699 (FPE_FLTRES): Likewise.
17700 (FPE_FLTINV): Likewise.
17701 (FPE_FLTSUB): Likewise.
17702 (SEGV_MAPERR): Likewise.
17703 (SEGV_ACCERR): Likewise.
17704 (BUS_ADRALN): Likewise.
17705 (BUS_ADRERR): Likewise.
17706 (BUS_OBJERR): Likewise.
17707 (BUS_MCEERR_AR): Likewise.
17708 (BUS_MCEERR_AO): Likewise.
17709 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17710 (TRAP_TRACE): Likewise.
17711 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17713 (CLD_KILLED): Likewise.
17714 (CLD_DUMPED): Likewise.
17715 (CLD_TRAPPED): Likewise.
17716 (CLD_STOPPED): Likewise.
17717 (CLD_CONTINUED): Likewise.
17718 (POLL_IN): Likewise.
17719 (POLL_OUT): Likewise.
17720 (POLL_MSG): Likewise.
17721 (POLL_ERR): Likewise.
17722 (POLL_PRI): Likewise.
17723 (POLL_HUP): Likewise.
17724 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
17726 (ILL_ILLOPN): Likewise.
17727 (ILL_ILLADR): Likewise.
17728 (ILL_ILLTRP): Likewise.
17729 (ILL_PRVOPC): Likewise.
17730 (ILL_PRVREG): Likewise.
17731 (ILL_COPROC): Likewise.
17732 (ILL_BADSTK): Likewise.
17733 (ILL_BADIADDR): Likewise.
17734 (ILL_BREAK): Likewise.
17735 (FPE_INTDIV): Likewise.
17736 (FPE_INTOVF): Likewise.
17737 (FPE_FLTDIV): Likewise.
17738 (FPE_FLTOVF): Likewise.
17739 (FPE_FLTUND): Likewise.
17740 (FPE_FLTRES): Likewise.
17741 (FPE_FLTINV): Likewise.
17742 (FPE_FLTSUB): Likewise.
17743 (FPE_DECOVF): Likewise.
17744 (FPE_DECDIV): Likewise.
17745 (FPE_DECERR): Likewise.
17746 (FPE_INVASC): Likewise.
17747 (FPE_INVDEC): Likewise.
17748 (SEGV_MAPERR): Likewise.
17749 (SEGV_ACCERR): Likewise.
17750 (SEGV_PSTKOVF): Likewise.
17751 (BUS_ADRALN): Likewise.
17752 (BUS_ADRERR): Likewise.
17753 (BUS_OBJERR): Likewise.
17754 (BUS_MCEERR_AR): Likewise.
17755 (BUS_MCEERR_AO): Likewise.
17756 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17757 (TRAP_TRACE): Likewise.
17758 (TRAP_BRANCH): Likewise.
17759 (TRAP_HWBKPT): Likewise.
17760 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17762 (CLD_KILLED): Likewise.
17763 (CLD_DUMPED): Likewise.
17764 (CLD_TRAPPED): Likewise.
17765 (CLD_STOPPED): Likewise.
17766 (CLD_CONTINUED): Likewise.
17767 (POLL_IN): Likewise.
17768 (POLL_OUT): Likewise.
17769 (POLL_MSG): Likewise.
17770 (POLL_ERR): Likewise.
17771 (POLL_PRI): Likewise.
17772 (POLL_HUP): Likewise.
17773 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
17774 (ILL_ILLOPN): Likewise.
17775 (ILL_ILLADR): Likewise.
17776 (ILL_ILLTRP): Likewise.
17777 (ILL_PRVOPC): Likewise.
17778 (ILL_PRVREG): Likewise.
17779 (ILL_COPROC): Likewise.
17780 (ILL_BADSTK): Likewise.
17781 (FPE_INTDIV): Likewise.
17782 (FPE_INTOVF): Likewise.
17783 (FPE_FLTDIV): Likewise.
17784 (FPE_FLTOVF): Likewise.
17785 (FPE_FLTUND): Likewise.
17786 (FPE_FLTRES): Likewise.
17787 (FPE_FLTINV): Likewise.
17788 (FPE_FLTSUB): Likewise.
17789 (SEGV_MAPERR): Likewise.
17790 (SEGV_ACCERR): Likewise.
17791 (BUS_ADRALN): Likewise.
17792 (BUS_ADRERR): Likewise.
17793 (BUS_OBJERR): Likewise.
17794 (BUS_MCEERR_AR): Likewise.
17795 (BUS_MCEERR_AO): Likewise.
17796 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17797 (TRAP_TRACE): Likewise.
17798 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17800 (CLD_KILLED): Likewise.
17801 (CLD_DUMPED): Likewise.
17802 (CLD_TRAPPED): Likewise.
17803 (CLD_STOPPED): Likewise.
17804 (CLD_CONTINUED): Likewise.
17805 (POLL_IN): Likewise.
17806 (POLL_OUT): Likewise.
17807 (POLL_MSG): Likewise.
17808 (POLL_ERR): Likewise.
17809 (POLL_PRI): Likewise.
17810 (POLL_HUP): Likewise.
17811 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
17812 (ILL_ILLOPN): Likewise.
17813 (ILL_ILLADR): Likewise.
17814 (ILL_ILLTRP): Likewise.
17815 (ILL_PRVOPC): Likewise.
17816 (ILL_PRVREG): Likewise.
17817 (ILL_COPROC): Likewise.
17818 (ILL_BADSTK): Likewise.
17819 (FPE_INTDIV): Likewise.
17820 (FPE_INTOVF): Likewise.
17821 (FPE_FLTDIV): Likewise.
17822 (FPE_FLTOVF): Likewise.
17823 (FPE_FLTUND): Likewise.
17824 (FPE_FLTRES): Likewise.
17825 (FPE_FLTINV): Likewise.
17826 (FPE_FLTSUB): Likewise.
17827 (SEGV_MAPERR): Likewise.
17828 (SEGV_ACCERR): Likewise.
17829 (BUS_ADRALN): Likewise.
17830 (BUS_ADRERR): Likewise.
17831 (BUS_OBJERR): Likewise.
17832 (BUS_MCEERR_AR): Likewise.
17833 (BUS_MCEERR_AO): Likewise.
17834 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17835 (TRAP_TRACE): Likewise.
17836 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17838 (CLD_KILLED): Likewise.
17839 (CLD_DUMPED): Likewise.
17840 (CLD_TRAPPED): Likewise.
17841 (CLD_STOPPED): Likewise.
17842 (CLD_CONTINUED): Likewise.
17843 (POLL_IN): Likewise.
17844 (POLL_OUT): Likewise.
17845 (POLL_MSG): Likewise.
17846 (POLL_ERR): Likewise.
17847 (POLL_PRI): Likewise.
17848 (POLL_HUP): Likewise.
17849 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
17850 (ILL_ILLOPN): Likewise.
17851 (ILL_ILLADR): Likewise.
17852 (ILL_ILLTRP): Likewise.
17853 (ILL_PRVOPC): Likewise.
17854 (ILL_PRVREG): Likewise.
17855 (ILL_COPROC): Likewise.
17856 (ILL_BADSTK): Likewise.
17857 (FPE_INTDIV): Likewise.
17858 (FPE_INTOVF): Likewise.
17859 (FPE_FLTDIV): Likewise.
17860 (FPE_FLTOVF): Likewise.
17861 (FPE_FLTUND): Likewise.
17862 (FPE_FLTRES): Likewise.
17863 (FPE_FLTINV): Likewise.
17864 (FPE_FLTSUB): Likewise.
17865 (SEGV_MAPERR): Likewise.
17866 (SEGV_ACCERR): Likewise.
17867 (BUS_ADRALN): Likewise.
17868 (BUS_ADRERR): Likewise.
17869 (BUS_OBJERR): Likewise.
17870 (BUS_MCEERR_AR): Likewise.
17871 (BUS_MCEERR_AO): Likewise.
17872 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17873 (TRAP_TRACE): Likewise.
17874 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17876 (CLD_KILLED): Likewise.
17877 (CLD_DUMPED): Likewise.
17878 (CLD_TRAPPED): Likewise.
17879 (CLD_STOPPED): Likewise.
17880 (CLD_CONTINUED): Likewise.
17881 (POLL_IN): Likewise.
17882 (POLL_OUT): Likewise.
17883 (POLL_MSG): Likewise.
17884 (POLL_ERR): Likewise.
17885 (POLL_PRI): Likewise.
17886 (POLL_HUP): Likewise.
17887 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
17888 (ILL_ILLOPN): Likewise.
17889 (ILL_ILLADR): Likewise.
17890 (ILL_ILLTRP): Likewise.
17891 (ILL_PRVOPC): Likewise.
17892 (ILL_PRVREG): Likewise.
17893 (ILL_COPROC): Likewise.
17894 (ILL_BADSTK): Likewise.
17895 (ILL_DBLFLT): Likewise.
17896 (ILL_HARDWALL): Likewise.
17897 (FPE_INTDIV): Likewise.
17898 (FPE_INTOVF): Likewise.
17899 (FPE_FLTDIV): Likewise.
17900 (FPE_FLTOVF): Likewise.
17901 (FPE_FLTUND): Likewise.
17902 (FPE_FLTRES): Likewise.
17903 (FPE_FLTINV): Likewise.
17904 (FPE_FLTSUB): Likewise.
17905 (SEGV_MAPERR): Likewise.
17906 (SEGV_ACCERR): Likewise.
17907 (BUS_ADRALN): Likewise.
17908 (BUS_ADRERR): Likewise.
17909 (BUS_OBJERR): Likewise.
17910 (BUS_MCEERR_AR): Likewise.
17911 (BUS_MCEERR_AO): Likewise.
17912 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17913 (TRAP_TRACE): Likewise.
17914 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17916 (CLD_KILLED): Likewise.
17917 (CLD_DUMPED): Likewise.
17918 (CLD_TRAPPED): Likewise.
17919 (CLD_STOPPED): Likewise.
17920 (CLD_CONTINUED): Likewise.
17921 (POLL_IN): Likewise.
17922 (POLL_OUT): Likewise.
17923 (POLL_MSG): Likewise.
17924 (POLL_ERR): Likewise.
17925 (POLL_PRI): Likewise.
17926 (POLL_HUP): Likewise.
17927 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
17928 (ILL_ILLOPN): Likewise.
17929 (ILL_ILLADR): Likewise.
17930 (ILL_ILLTRP): Likewise.
17931 (ILL_PRVOPC): Likewise.
17932 (ILL_PRVREG): Likewise.
17933 (ILL_COPROC): Likewise.
17934 (ILL_BADSTK): Likewise.
17935 (FPE_INTDIV): Likewise.
17936 (FPE_INTOVF): Likewise.
17937 (FPE_FLTDIV): Likewise.
17938 (FPE_FLTOVF): Likewise.
17939 (FPE_FLTUND): Likewise.
17940 (FPE_FLTRES): Likewise.
17941 (FPE_FLTINV): Likewise.
17942 (FPE_FLTSUB): Likewise.
17943 (SEGV_MAPERR): Likewise.
17944 (SEGV_ACCERR): Likewise.
17945 (BUS_ADRALN): Likewise.
17946 (BUS_ADRERR): Likewise.
17947 (BUS_OBJERR): Likewise.
17948 (BUS_MCEERR_AR): Likewise.
17949 (BUS_MCEERR_AO): Likewise.
17950 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17951 (TRAP_TRACE): Likewise.
17952 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17954 (CLD_KILLED): Likewise.
17955 (CLD_DUMPED): Likewise.
17956 (CLD_TRAPPED): Likewise.
17957 (CLD_STOPPED): Likewise.
17958 (CLD_CONTINUED): Likewise.
17959 (POLL_IN): Likewise.
17960 (POLL_OUT): Likewise.
17961 (POLL_MSG): Likewise.
17962 (POLL_ERR): Likewise.
17963 (POLL_PRI): Likewise.
17964 (POLL_HUP): Likewise.
17965 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
17966 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17969 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
17970 before #include of <time.h>.
17971 [!__USE_XOPEN2K] (__need_timespec): Likewise.
17972 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
17973 (test-xfail-UNIX98/sched.h/conform): Likewise.
17975 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
17977 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
17978 error absence of trapping exception support.
17979 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17981 2014-03-07 Joseph Myers <joseph@codesourcery.com>
17983 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
17984 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
17985 * timezone/Makefile (testdata): Move definition above include of
17987 (test-zones): New variable.
17988 (tests-special): Add zone files.
17989 (build-testdata): Use $(evaluate-test).
17991 * elf/Makefile (tests-special): Rename tests to end with .out.
17992 ($(objpfx)noload-mem): Likewise.
17993 ($(objpfx)tst-leaks1-mem): Likewise.
17994 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
17995 * iconv/Makefile (xtests-special): Change test-iconvconfig to
17996 $(objpfx)test-iconvconfig.out.
17997 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
17998 set -e inside subshell and redirect output to file.
17999 * iconvdata/Makefile (generated): Rename tests to end with .out.
18001 (tests-special): Rename tests to end with .out.
18002 ($(objpfx)mtrace-tst-loading): Likewise.
18003 * intl/Makefile (generated): Likewise.
18004 (tests-special): Likewise.
18005 ($(objpfx)mtrace-tst-gettext): Likewise.
18006 * misc/Makefile (generated): Likewise.
18007 (tests-special): Likewise.
18008 ($(objpfx)tst-error1-mem): Likewise.
18009 * nptl/Makefile (tests-special): Likewise.
18010 ($(objpfx)tst-stack3-mem): Likewise.
18011 (generated): Likewise.
18012 * posix/Makefile (generated): Likewise.
18013 (tests-special): Likewise.
18014 (xtests-special): Likewise.
18015 ($(objpfx)tst-fnmatch-mem): Likewise.
18016 ($(objpfx)bug-regex2-mem): Likewise.
18017 ($(objpfx)bug-regex14-mem): Likewise.
18018 ($(objpfx)bug-regex21-mem): Likewise.
18019 ($(objpfx)bug-regex31-mem): Likewise.
18020 ($(objpfx)tst-vfork3-mem): Likewise.
18021 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18022 ($(objpfx)tst-pcre-mem): Likewise.
18023 ($(objpfx)tst-boost-mem): Likewise.
18024 ($(objpfx)bug-ga2-mem): Likewise.
18025 ($(objpfx)bug-glob2-mem): Likewise.
18026 * resolv/Makefile (generate): Likewise.
18027 (tests-special): Likewise.
18028 (xtests-special): Likewise.
18029 (generated): Likewise.
18030 ($(objpfx)mtrace-tst-leaks): Likewise.
18031 ($(objpfx)mtrace-tst-leaks2): Likewise.
18033 * scripts/merge-test-results.sh: New file.
18034 * Makefile (tests-special-notdir): New variable.
18035 (tests): Run merge-test-results.sh.
18036 (xtests): Likewise.
18037 * Rules (tests-special-notdir): New variable.
18038 (xtests-special-notdir): Likewise.
18039 (tests): Run merge-test-results.sh
18040 (xtests): Likewise.
18042 * Makeconfig (test-xfail-name): New variable.
18043 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
18044 compute variable name for expected failures.
18045 * conform/Makefile (conformtest-headers-data): New variable.
18046 (conformtest-standards): Likewise.
18047 (conformtest-headers-ISO): Likewise.
18048 (conformtest-headers-ISO99): Likewise.
18049 (conformtest-headers-ISO11): Likewise.
18050 (conformtest-headers-POSIX): Likewise.
18051 (conformtest-headers-XPG3): Likewise.
18052 (conformtest-headers-XPG4): Likewise.
18053 (conformtest-headers-UNIX98): Likewise.
18054 (conformtest-headers-XOPEN2K): Likewise.
18055 (conformtest-headers-POSIX2008): Likewise.
18056 (conformtest-headers-XOPEN2K8): Likewise.
18057 (conformtest-header-list-base): Likewise.
18058 (conformtest-header-list-tests): Likewise.
18059 (conformtest-header-base): Likewise.
18060 (conformtest-header-tests): Likewise.
18061 (tests-special): Add $(conformtest-header-list-tests). If
18062 [$(fast-check) && !$(cross-compiling)], add
18063 $(conformtest-header-tests) instead of
18064 $(objpfx)run-conformtest.out.
18065 (generated): Add $(conformtest-header-list-base). If
18066 [$(fast-check) && !$(cross-compiling)], add
18067 $(conformtest-header-base). Remove previous setting.
18068 ($(conformtest-header-list-tests)): New target.
18069 (test-xfail-run-conformtest): Remove variable.
18070 ($(objpfx)run-conformtest.out): Remove target.
18071 (test-xfail-ISO11/complex.h/conform): New variable.
18072 (test-xfail-ISO11/stdalign.h/conform): Likewise.
18073 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
18074 (test-xfail-XPG3/varargs.h/conform): Likewise.
18075 (test-xfail-XPG4/varargs.h/conform): Likewise.
18076 (test-xfail-UNIX98/varargs.h/conform): Likewise.
18077 (test-xfail-XPG4/ndbm.h/conform): Likewise.
18078 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
18079 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
18080 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
18081 (test-xfail-XPG3/fcntl.h/conform): Likewise.
18082 (test-xfail-XPG3/ftw.h/conform): Likewise.
18083 (test-xfail-XPG3/grp.h/conform): Likewise.
18084 (test-xfail-XPG3/langinfo.h/conform): Likewise.
18085 (test-xfail-XPG3/limits.h/conform): Likewise.
18086 (test-xfail-XPG3/pwd.h/conform): Likewise.
18087 (test-xfail-XPG3/search.h/conform): Likewise.
18088 (test-xfail-XPG3/signal.h/conform): Likewise.
18089 (test-xfail-XPG3/stdio.h/conform): Likewise.
18090 (test-xfail-XPG3/stdlib.h/conform): Likewise.
18091 (test-xfail-XPG3/string.h/conform): Likewise.
18092 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
18093 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
18094 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
18095 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
18096 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
18097 (test-xfail-XPG3/sys/types.h/conform): Likewise.
18098 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
18099 (test-xfail-XPG3/termios.h/conform): Likewise.
18100 (test-xfail-XPG3/time.h/conform): Likewise.
18101 (test-xfail-XPG3/unistd.h/conform): Likewise.
18102 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
18103 (test-xfail-XPG4/fcntl.h/conform): Likewise.
18104 (test-xfail-XPG4/langinfo.h/conform): Likewise.
18105 (test-xfail-XPG4/netdb.h/conform): Likewise.
18106 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
18107 (test-xfail-XPG4/signal.h/conform): Likewise.
18108 (test-xfail-XPG4/stdio.h/conform): Likewise.
18109 (test-xfail-XPG4/stdlib.h/conform): Likewise.
18110 (test-xfail-XPG4/stropts.h/conform): Likewise.
18111 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
18112 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
18113 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
18114 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
18115 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
18116 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
18117 (test-xfail-XPG4/sys/time.h/conform): Likewise.
18118 (test-xfail-XPG4/sys/types.h/conform): Likewise.
18119 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
18120 (test-xfail-XPG4/termios.h/conform): Likewise.
18121 (test-xfail-XPG4/ucontext.h/conform): Likewise.
18122 (test-xfail-XPG4/unistd.h/conform): Likewise.
18123 (test-xfail-XPG4/utmpx.h/conform): Likewise.
18124 (test-xfail-POSIX/sched.h/conform): Likewise.
18125 (test-xfail-POSIX/signal.h/conform): Likewise.
18126 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
18127 (test-xfail-POSIX/tar.h/conform): Likewise.
18128 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
18129 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
18130 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
18131 (test-xfail-UNIX98/netdb.h/conform): Likewise.
18132 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
18133 (test-xfail-UNIX98/sched.h/conform): Likewise.
18134 (test-xfail-UNIX98/signal.h/conform): Likewise.
18135 (test-xfail-UNIX98/stdio.h/conform): Likewise.
18136 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
18137 (test-xfail-UNIX98/stropts.h/conform): Likewise.
18138 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
18139 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
18140 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
18141 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
18142 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
18143 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
18144 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
18145 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
18146 (test-xfail-UNIX98/unistd.h/conform): Likewise.
18147 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
18148 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
18149 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
18150 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
18151 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
18152 (test-xfail-XOPEN2K/math.h/conform): Likewise.
18153 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
18154 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
18155 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
18156 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
18157 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
18158 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
18159 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
18160 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
18161 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
18162 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
18163 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
18164 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
18165 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
18166 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
18167 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
18168 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
18169 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
18170 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
18171 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
18172 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
18173 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
18174 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
18175 (test-xfail-POSIX2008/signal.h/conform): Likewise.
18176 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
18177 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
18178 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
18179 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
18180 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
18181 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
18182 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
18183 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
18184 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
18185 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
18186 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
18187 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
18188 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
18189 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
18190 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
18191 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
18192 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
18193 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
18194 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
18195 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
18196 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
18197 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
18198 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
18199 (conformtest-cc-flags): Likewise.
18200 ($(conformtest-header-tests): New target.
18201 * conform/check-header-lists.sh: New file.
18202 * conform/run-conformtest.sh: Remove.
18204 * conform/conformtest.pl: Allow ' and \ in values given for
18206 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
18208 [POSIX] (sys/types.h): Likewise.
18209 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
18211 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
18213 * conform/data/signal.h-data (SIGIO): Remove expectation.
18214 [XPG3] (SIGBUS): Do not expect.
18215 [POSIX || XPG3] (SIGPOLL): Likewise.
18216 [POSIX || XPG3] (SIGPROF): Likewise.
18217 [POSIX || XPG3] (SIGSYS): Likewise.
18218 [XPG3] (SIGTRAP): Likewise.
18219 [POSIX || XPG3] (SIGURG): Likewise.
18220 [POSIX || XPG3] (SIGVTALRM): Likewise.
18221 [POSIX || XPG3] (SIGXCPU): Likewise.
18222 [POSIX || XPG3] (SIGXFSZ): Likewise.
18223 [POSIX] (SA_SIGINFO): Expect.
18224 [XPG3] (siginfo_t): Do not expect type or contents.
18225 [POSIX] (si_pid): Do not expect element.
18226 [POSIX] (si_uid): Likewise.
18227 [POSIX] (si_addr): Likewise.
18228 [POSIX] (si_status): Likewise.
18229 [POSIX] (si_band): Likewise.
18230 [XPG4] (si_value): Likewise.
18231 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
18232 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
18233 [POSIX || XPG3] (ILL_ILLADR): Likewise.
18234 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
18235 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
18236 [POSIX || XPG3] (ILL_PRVREG): Likewise.
18237 [POSIX || XPG3] (ILL_COPROC): Likewise.
18238 [POSIX || XPG3] (ILL_BADSTK): Likewise.
18239 [POSIX || XPG3] (FPE_INTDIV): Likewise.
18240 [POSIX || XPG3] (FPE_INTOVF): Likewise.
18241 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
18242 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
18243 [POSIX || XPG3] (FPE_FLTUND): Likewise.
18244 [POSIX || XPG3] (FPE_FLTRES): Likewise.
18245 [POSIX || XPG3] (FPE_FLTINV): Likewise.
18246 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
18247 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
18248 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
18249 [POSIX || XPG3] (BUS_ADRALN): Likewise.
18250 [POSIX || XPG3] (BUS_ADRERR): Likewise.
18251 [POSIX || XPG3] (BUS_OBJERR): Likewise.
18252 [POSIX || XPG3] (CLD_EXITED): Likewise.
18253 [POSIX || XPG3] (CLD_KILLED): Likewise.
18254 [POSIX || XPG3] (CLD_DUMPED): Likewise.
18255 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
18256 [POSIX || XPG3] (CLD_STOPPED): Likewise.
18257 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
18258 [POSIX || XPG3] (POLL_IN): Likewise.
18259 [POSIX || XPG3] (POLL_OUT): Likewise.
18260 [POSIX || XPG3] (POLL_MSG): Likewise.
18261 [POSIX || XPG3] (POLL_ERR): Likewise.
18262 [POSIX || XPG3] (POLL_PRI): Likewise.
18263 [POSIX || XPG3] (POLL_HUP): Likewise.
18264 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
18265 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
18266 (SIG*): Do not allow.
18267 [XPG3] (si_*): Likewise.
18268 [XPG3] (SI_*): Likewise.
18269 [XPG3 || XPG4] (sigev_*): Likewise.
18270 [XPG3 || XPG4] (SIGEV_*): Likewise.
18271 [XPG3 || XPG4] (sival_*): Likewise.
18272 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
18273 [POSIX || XPG3] (BUS_*): Likewise.
18274 [POSIX || XPG3] (CLD_*): Likewise.
18275 [POSIX || XPG3] (FPE_*): Likewise.
18276 [POSIX || XPG3] (ILL_*): Likewise.
18277 [POSIX || XPG3] (POLL_*): Likewise.
18278 [POSIX || XPG3] (SEGV_*): Likewise.
18279 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
18280 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
18281 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
18282 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
18283 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
18284 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
18285 Specify type and value.
18286 (TVERSLEN): Likewise.
18287 (REGTYPE): Likewise.
18288 (AREGTYPE): Likewise.
18289 (LNKTYPE): Likewise.
18290 (SYMTYPE): Likewise.
18291 (CHRTYPE): Likewise.
18292 (BLKTYPE): Likewise.
18293 (DIRTYPE): Likewise.
18294 (FIFOTYPE): Likewise.
18295 (CONTTYPE): Likewise.
18299 (TUREAD): Likewise.
18300 (TUWRITE): Likewise.
18301 (TUEXEC): Likewise.
18302 (TGREAD): Likewise.
18303 (TGWRITE): Likewise.
18304 (TGEXEC): Likewise.
18305 (TOREAD): Likewise.
18306 (TOWRITE): Likewise.
18307 (TOEXEC): Likewise.
18308 [POSIX] (TSVTX): Expect constant.
18310 2014-03-06 Joseph Myers <joseph@codesourcery.com>
18312 * Makefile (tests): Change dependencies to ....
18313 (tests-special): ... additions to this variable.
18314 (tests): Depend on $(tests-special).
18315 * Makerules (check-abi-list): New variable.
18316 (check-abi): Depend on $(check-abi-list).
18317 [$(subdir) = elf] (tests-special): Add
18318 $(objpfx)check-abi-libc.out.
18319 [$(build-shared) = yes && subdir] (tests-special): Add
18321 [$(build-shared) = yes && subdir] (tests): Do not depend on
18323 * Rules (tests): Depend on $(tests-special).
18324 (xtests): Depend on $(xtests-special).
18325 * catgets/Makefile (tests): Change dependencies to ....
18326 (tests-special): ... additions to this variable.
18327 * conform/Makefile (tests): Change dependencies to ....
18328 (tests-special): ... additions to this variable.
18329 * elf/Makefile (tests): Change dependencies to ....
18330 (tests-special): ... additions to this variable.
18331 * grp/Makefile (tests): Change dependencies to ....
18332 (tests-special): ... additions to this variable.
18333 * iconv/Makefile (xtests): Change dependencies to ....
18334 (xtests-special): ... additions to this variable.
18335 * iconvdata/Makefile (tests): Change dependencies to ....
18336 (tests-special): ... additions to this variable.
18337 * intl/Makefile (tests): Change dependencies to ....
18338 (tests-special): ... additions to this variable. Also add
18339 $(objpfx)tst-gettext.out.
18340 * io/Makefile (tests): Change dependencies to ....
18341 (tests-special): ... additions to this variable.
18342 * libio/Makefile (tests): Change dependencies to ....
18343 (tests-special): ... additions to this variable.
18344 * malloc/Makefile (tests): Change dependencies to ....
18345 (tests-special): ... additions to this variable.
18346 * misc/Makefile (tests): Change dependencies to ....
18347 (tests-special): ... additions to this variable.
18348 * nptl/Makefile (tests): Change dependencies to ....
18349 (tests-special): ... additions to this variable.
18350 * nptl_db/Makefile (tests): Change dependencies to ....
18351 (tests-special): ... additions to this variable.
18352 * posix/Makefile (tests): Change dependencies to ....
18353 (tests-special): ... additions to this variable.
18354 (xtests): Change dependencies to ....
18355 (xtests-special): ... additions to this variable.
18356 * resolv/Makefile (tests): Change dependencies to ....
18357 (tests-special): ... additions to this variable.
18358 (xtests): Change dependencies to ....
18359 (xtests-special): ... additions to this variable.
18360 * stdio-common/Makefile (tests): Change dependencies to ....
18361 (tests-special): ... additions to this variable.
18362 (do-tst-unbputc): Remove target.
18363 (do-tst-printf): Likewise.
18364 * stdlib/Makefile (tests): Change dependencies to ....
18365 (tests-special): ... additions to this variable.
18366 * string/Makefile (tests): Change dependencies to ....
18367 (tests-special): ... additions to this variable.
18368 * sysdeps/x86/Makefile (tests): Change dependencies to ....
18369 (tests-special): ... additions to this variable.
18371 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
18373 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
18375 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
18376 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
18378 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
18379 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
18380 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
18381 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
18382 * conform/data/libgen.h-data [XPG3]: Likewise.
18383 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
18384 * conform/data/ndbm.h-data [XPG3]: Likewise.
18385 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
18386 * conform/data/netdb.h-data [XPG3]: Likewise.
18387 * conform/data/netinet/in.h-data [XPG3]: Likewise.
18388 * conform/data/poll.h-data [XPG3]: Likewise.
18389 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
18390 * conform/data/strings.h-data [XPG3]: Likewise.
18391 * conform/data/stropts.h-data [XPG3]: Likewise.
18392 * conform/data/sys/mman.h-data [XPG3]: Likewise.
18393 * conform/data/sys/resource.h-data [XPG3]: Likewise.
18394 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
18396 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
18397 * conform/data/sys/time.h-data [XPG3]: Likewise.
18398 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
18399 * conform/data/sys/uio.h-data [XPG3]: Likewise.
18400 * conform/data/sys/un.h-data [XPG3]: Likewise.
18401 * conform/data/syslog.h-data [XPG3]: Likewise.
18402 * conform/data/ucontext.h-data [XPG3]: Likewise.
18403 * conform/data/utmpx.h-data [XPG3]: Likewise.
18404 * conform/data/varargs.h-data [UNIX98]: Enable file.
18406 * manual/Makefile (INSTALL_INFO): Remove variable setting.
18408 * math/libm-test.inc (struct test_f_f_data): Move expected results
18409 into structure for each rounding mode.
18410 (struct test_ff_f_data): Likewise.
18411 (struct test_ff_f_data_nexttoward): Likewise.
18412 (struct test_fi_f_data): Likewise.
18413 (struct test_fl_f_data): Likewise.
18414 (struct test_if_f_data): Likewise.
18415 (struct test_fff_f_data): Likewise.
18416 (struct test_c_f_data): Likewise.
18417 (struct test_f_f1_data): Likewise.
18418 (struct test_fF_f1_data): Likewise.
18419 (struct test_ffI_f1_data): Likewise.
18420 (struct test_c_c_data): Likewise.
18421 (struct test_cc_c_data): Likewise.
18422 (struct test_f_i_data): Likewise.
18423 (struct test_ff_i_data): Likewise.
18424 (struct test_f_l_data): Likewise.
18425 (struct test_f_L_data): Likewise.
18426 (struct test_fFF_11_data): Likewise.
18428 (RM_FE_DOWNWARD): Likewise.
18429 (RM_FE_TONEAREST): Likewise.
18430 (RM_FE_TOWARDZERO): Likewise.
18431 (RM_FE_UPWARD): Likewise.
18432 (RUN_TEST_LOOP_f_f): Update references to expected results.
18433 (RUN_TEST_LOOP_2_f): Likewise.
18434 (RUN_TEST_LOOP_fff_f): Likewise.
18435 (RUN_TEST_LOOP_c_f): Likewise.
18436 (RUN_TEST_LOOP_f_f1): Likewise.
18437 (RUN_TEST_LOOP_fF_f1): Likewise.
18438 (RUN_TEST_LOOP_fI_f1): Likewise.
18439 (RUN_TEST_LOOP_ffI_f1): Likewise.
18440 (RUN_TEST_LOOP_c_c): Likewise.
18441 (RUN_TEST_LOOP_cc_c): Likewise.
18442 (RUN_TEST_LOOP_f_i): Likewise.
18443 (RUN_TEST_LOOP_f_i_tg): Likewise.
18444 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18445 (RUN_TEST_LOOP_f_b): Likewise.
18446 (RUN_TEST_LOOP_f_b_tg): Likewise.
18447 (RUN_TEST_LOOP_f_l): Likewise.
18448 (RUN_TEST_LOOP_f_L): Likewise.
18449 (RUN_TEST_LOOP_fFF_11): Likewise.
18450 * math/gen-libm-test.pl (parse_args): Output four copies of
18451 expected results for each test.
18453 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18454 (__ASSUME_UTIMES): Remove.
18455 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18456 (__ASSUME_UTIMES): Likewise.
18458 * math/gen-auto-libm-tests.c: Update comment on output format.
18459 (output_for_one_input_case): Generate before-rounding and
18460 after-rounding information as conditions on output flags not
18461 floating-point format.
18462 * math/auto-libm-test-out: Regenerated.
18463 * math/gen-libm-test.pl (cond_value): New function.
18464 (or_cond_value): Use cond_value.
18465 (generate_testfile): Handle conditional exceptions.
18467 2014-03-05 Joseph Myers <joseph@codesourcery.com>
18469 * math/libm-test.inc (max_valid_error): New variable.
18470 (init_max_error): Take new argument specifying whether function
18471 results are exactly determined. Set max_valid_error and bound
18472 other variables for errors based on this argument.
18473 (set_max_error): Do not record results above max_valid_error.
18474 (check_float_internal): Only accept errors of up to 0.5ulps if
18475 also at most max_valid_error.
18476 (START): Take new argument EXACT and pass it to init_max_error.
18477 (acos_test): Update call to START.
18478 (acos_test_tonearest): Likewise.
18479 (acos_test_towardzero): Likewise.
18480 (acos_test_downward): Likewise.
18481 (acos_test_upward): Likewise.
18482 (acosh_test): Likewise.
18483 (asin_test): Likewise.
18484 (asin_test_tonearest): Likewise.
18485 (asin_test_towardzero): Likewise.
18486 (asin_test_downward): Likewise.
18487 (asin_test_upward): Likewise.
18488 (asinh_test): Likewise.
18489 (atan_test): Likewise.
18490 (atanh_test): Likewise.
18491 (atan2_test): Likewise.
18492 (cabs_test): Likewise.
18493 (cacos_test): Likewise.
18494 (cacosh_test): Likewise.
18495 (carg_test): Likewise.
18496 (casin_test): Likewise.
18497 (casinh_test): Likewise.
18498 (catan_test): Likewise.
18499 (catanh_test): Likewise.
18500 (cbrt_test): Likewise.
18501 (ccos_test): Likewise.
18502 (ccosh_test): Likewise.
18503 (ceil_test): Likewise.
18504 (cexp_test): Likewise.
18505 (cimag_test): Likewise.
18506 (clog_test): Likewise.
18507 (clog10_test): Likewise.
18508 (conj_test): Likewise.
18509 (copysign_test): Likewise.
18510 (cos_test): Likewise.
18511 (cos_test_tonearest): Likewise.
18512 (cos_test_towardzero): Likewise.
18513 (cos_test_downward): Likewise.
18514 (cos_test_upward): Likewise.
18515 (cosh_test): Likewise.
18516 (cosh_test_tonearest): Likewise.
18517 (cosh_test_towardzero): Likewise.
18518 (cosh_test_downward): Likewise.
18519 (cosh_test_upward): Likewise.
18520 (cpow_test): Likewise.
18521 (cproj_test): Likewise.
18522 (creal_test): Likewise.
18523 (csin_test): Likewise.
18524 (csinh_test): Likewise.
18525 (csqrt_test): Likewise.
18526 (ctan_test): Likewise.
18527 (ctan_test_tonearest): Likewise.
18528 (ctan_test_towardzero): Likewise.
18529 (ctan_test_downward): Likewise.
18530 (ctan_test_upward): Likewise.
18531 (ctanh_test): Likewise.
18532 (ctanh_test_tonearest): Likewise.
18533 (ctanh_test_towardzero): Likewise.
18534 (ctanh_test_downward): Likewise.
18535 (ctanh_test_upward): Likewise.
18536 (erf_test): Likewise.
18537 (erfc_test): Likewise.
18538 (exp_test): Likewise.
18539 (exp_test_tonearest): Likewise.
18540 (exp_test_towardzero): Likewise.
18541 (exp_test_downward): Likewise.
18542 (exp_test_upward): Likewise.
18543 (exp10_test): Likewise.
18544 (exp10_test_tonearest): Likewise.
18545 (exp10_test_towardzero): Likewise.
18546 (exp10_test_downward): Likewise.
18547 (exp10_test_upward): Likewise.
18548 (pow10_test): Likewise.
18549 (exp2_test): Likewise.
18550 (expm1_test): Likewise.
18551 (expm1_test_tonearest): Likewise.
18552 (expm1_test_towardzero): Likewise.
18553 (expm1_test_downward): Likewise.
18554 (expm1_test_upward): Likewise.
18555 (fabs_test): Likewise.
18556 (fdim_test): Likewise.
18557 (floor_test): Likewise.
18558 (fma_test): Likewise.
18559 (fma_test_towardzero): Likewise.
18560 (fma_test_downward): Likewise.
18561 (fma_test_upward): Likewise.
18562 (fmax_test): Likewise.
18563 (fmin_test): Likewise.
18564 (fmod_test): Likewise.
18565 (fpclassify_test): Likewise.
18566 (frexp_test): Likewise.
18567 (hypot_test): Likewise.
18568 (ilogb_test): Likewise.
18569 (isfinite_test): Likewise.
18570 (finite_test): Likewise.
18571 (isgreater_test): Likewise.
18572 (isgreaterequal_test): Likewise.
18573 (isinf_test): Likewise.
18574 (isless_test): Likewise.
18575 (islessequal_test): Likewise.
18576 (islessgreater_test): Likewise.
18577 (isnan_test): Likewise.
18578 (isnormal_test): Likewise.
18579 (issignaling_test): Likewise.
18580 (isunordered_test): Likewise.
18581 (j0_test): Likewise.
18582 (j1_test): Likewise.
18583 (jn_test): Likewise.
18584 (ldexp_test): Likewise.
18585 (lgamma_test): Likewise.
18586 (gamma_test): Likewise.
18587 (lrint_test): Likewise.
18588 (lrint_test_tonearest): Likewise.
18589 (lrint_test_towardzero): Likewise.
18590 (lrint_test_downward): Likewise.
18591 (lrint_test_upward): Likewise.
18592 (llrint_test): Likewise.
18593 (llrint_test_tonearest): Likewise.
18594 (llrint_test_towardzero): Likewise.
18595 (llrint_test_downward): Likewise.
18596 (llrint_test_upward): Likewise.
18597 (log_test): Likewise.
18598 (log10_test): Likewise.
18599 (log1p_test): Likewise.
18600 (log2_test): Likewise.
18601 (logb_test): Likewise.
18602 (logb_test_downward): Likewise.
18603 (lround_test): Likewise.
18604 (llround_test): Likewise.
18605 (modf_test): Likewise.
18606 (nearbyint_test): Likewise.
18607 (nextafter_test): Likewise.
18608 (nexttoward_test): Likewise.
18609 (pow_test): Likewise.
18610 (pow_test_tonearest): Likewise.
18611 (pow_test_towardzero): Likewise.
18612 (pow_test_downward): Likewise.
18613 (pow_test_upward): Likewise.
18614 (remainder_test): Likewise.
18615 (drem_test): Likewise.
18616 (remainder_test_tonearest): Likewise.
18617 (drem_test_tonearest): Likewise.
18618 (remainder_test_towardzero): Likewise.
18619 (drem_test_towardzero): Likewise.
18620 (remainder_test_downward): Likewise.
18621 (drem_test_downward): Likewise.
18622 (remainder_test_upward): Likewise.
18623 (drem_test_upward): Likewise.
18624 (remquo_test): Likewise.
18625 (rint_test): Likewise.
18626 (rint_test_tonearest): Likewise.
18627 (rint_test_towardzero): Likewise.
18628 (rint_test_downward): Likewise.
18629 (rint_test_upward): Likewise.
18630 (round_test): Likewise.
18631 (scalb_test): Likewise.
18632 (scalbn_test): Likewise.
18633 (scalbln_test): Likewise.
18634 (signbit_test): Likewise.
18635 (sin_test): Likewise.
18636 (sin_test_tonearest): Likewise.
18637 (sin_test_towardzero): Likewise.
18638 (sin_test_downward): Likewise.
18639 (sin_test_upward): Likewise.
18640 (sincos_test): Likewise.
18641 (sinh_test): Likewise.
18642 (sinh_test_tonearest): Likewise.
18643 (sinh_test_towardzero): Likewise.
18644 (sinh_test_downward): Likewise.
18645 (sinh_test_upward): Likewise.
18646 (sqrt_test): Likewise.
18647 (sqrt_test_tonearest): Likewise.
18648 (sqrt_test_towardzero): Likewise.
18649 (sqrt_test_downward): Likewise.
18650 (sqrt_test_upward): Likewise.
18651 (tan_test): Likewise.
18652 (tan_test_tonearest): Likewise.
18653 (tan_test_towardzero): Likewise.
18654 (tan_test_downward): Likewise.
18655 (tan_test_upward): Likewise.
18656 (tanh_test): Likewise.
18657 (tgamma_test): Likewise.
18658 (trunc_test): Likewise.
18659 (y0_test): Likewise.
18660 (y1_test): Likewise.
18661 (yn_test): Likewise.
18662 (significand_test): Likewise.
18664 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
18665 individual tests in comment.
18666 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
18667 (prev_max_error): New variable.
18668 (prev_real_max_error): Likewise.
18669 (prev_imag_max_error): Likewise.
18670 (compare_ulp_data): Don't refer to test names in comment.
18671 (find_test_ulps): Remove function.
18672 (find_function_ulps): Likewise.
18673 (find_complex_function_ulps): Likewise.
18674 (init_max_error): Take function name as argument. Look up ulps
18676 (print_ulps): Remove function.
18677 (print_max_error): Use prev_max_error instead of calling
18678 find_function_ulps.
18679 (print_complex_max_error): Use prev_real_max_error and
18680 prev_imag_max_error instead of calling find_complex_function_ulps.
18681 (check_float_internal): Take max_ulp parameter instead of calling
18682 find_test_ulps. Don't call print_ulps.
18683 (check_float): Update call to check_float_internal.
18684 (check_complex): Update calls to check_float_internal.
18685 (START): Pass argument to init_max_error.
18686 * math/gen-libm-test.pl (%results): Don't include "kind"
18688 (parse_ulps): Don't handle ulps of individual tests.
18689 (print_ulps_file): Likewise.
18690 (output_ulps): Likewise.
18691 * math/README.libm-test: Update.
18692 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
18694 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
18695 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
18696 * sysdeps/arm/libm-test-ulps: Likewise.
18697 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18698 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
18699 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
18700 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
18701 * sysdeps/microblaze/libm-test-ulps: Likewise.
18702 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
18703 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18704 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18705 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
18706 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18707 * sysdeps/sh/libm-test-ulps: Likewise.
18708 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18709 * sysdeps/tile/libm-test-ulps: Likewise.
18710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18712 2014-03-04 Joseph Myers <joseph@codesourcery.com>
18714 * math/libm-test.inc (print_complex_max_error): Check separately
18715 whether real and imaginary errors are within allowed range and
18716 pass 0 to print_complex_function_ulps instead of value within
18719 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18721 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
18723 (get_handles_fopen): Likewise.
18724 (do_write_test): Likewise.
18726 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
18728 * libio/fileops.c (do_ftell): Use cached offset when
18730 * libio/iofwide.c (do_ftell_wide): Likewise.
18731 * libio/iofdopen.c (_IO_new_fdopen): Don't use
18733 * libio/wfileops.c (_IO_fwide): Don't cache offset.
18736 * libio/libioP.h (get_file_offset): New function.
18737 * libio/fileops.c (get_file_offset): Likewise.
18738 (do_ftell): Likewise.
18739 (_IO_new_file_seekoff): Split out ftell logic.
18740 * libio/wfileops.c (do_ftell_wide): Likewise.
18741 (_IO_wfile_seekoff): Split out ftell logic.
18742 * libio/tst-ftell-active-handler.c: New test case.
18743 * libio/Makefile (tests): Add it.
18745 2014-03-03 Roland McGrath <roland@hack.frob.com>
18747 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
18748 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
18750 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18753 * nscd/connections.c (nscd_init): Call do_exit.
18754 (start_threads): Call do_exit and notify_parent.
18755 (begin_drop_privileges): Call do_exit.
18756 (finish_drop_privileges): Likewise.
18757 * nscd/selinux.c (preserve_capabilities): Likewise.
18758 (install_real_capabilities): Likewise.
18759 (nscd_selinux_enabled): Likewise.
18760 (avc_create_thread): Likewise.
18761 (avc_alloc_lock): Likewise.
18762 (nscd_avc_init): Likewise.
18763 * nscd/nscd.c (parent_fd): New static variable.
18764 (main): Create a pipe between parent and child processes.
18765 Skip closing parent_fd.
18766 (monitor_child): New function.
18767 (do_exit): Likewise.
18768 (notify_parent): Likewise.
18769 * nscd/nscd.h (notify_parent): Likewise.
18770 (do_exit): Likewise.
18772 2014-03-03 Carlos O'Donell <carlos@redhat.com>
18774 * malloc/malloc.c (__libc_calloc): Revert last change.
18776 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18780 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18782 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
18783 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
18785 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18786 (__libc_ifunc_impl_list): Likewise.
18787 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
18788 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
18789 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
18790 * string/strrchr.c: Define STRRCHR.
18792 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
18794 * benchtest/bench-strtok.c (simple_strtok): Delete.
18795 (strtok_string): Use as benchmark.
18796 * string/strtok (STRTOK): New macro.
18798 2014-02-28 Carlos O'Donell <carlos@redhat.com>
18800 * manual/threads.texi: Add header and standard comments to all
18803 * elf/dl-lookup.c (check_match): New function.
18804 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
18805 (do_lookup_x): Remove nested function check_match. Use non-nested
18806 function check_match.
18808 2014-02-28 Roland McGrath <roland@hack.frob.com>
18810 * csu/Makefile (generated, before-compile): Use += rather than =.
18811 * catgets/Makefile (generated, generated-dirs): Likewise.
18812 * debug/Makefile (generated): Likewise.
18813 * dlfcn/Makefile (generated): Likewise.
18814 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
18815 * iconvdata/Makefile (before-compile, generated): Likewise.
18816 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
18817 * libio/Makefile (generated): Likewise.
18818 * malloc/Makefile (generated): Likewise.
18819 * manual/Makefile (generated, generated-dirs): Likewise.
18820 * misc/Makefile (generated): Likewise.
18821 * posix/Makefile (generated): Likewise.
18822 * resolv/Makefile (generated): Likewise.
18823 * sunrpc/Makefile (generated, generated-dirs): Likewise.
18824 * timezone/Makefile (generated, generated-dirs): Likewise.
18826 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
18828 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18830 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18831 power8 implementation.
18832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
18833 file: POWER8 llround ifunc implementation.
18834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
18835 (__lllround): Add POWER8 implementation.
18836 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
18837 POWER8 llround implementation.
18839 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
18840 power8 implementation.
18841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
18842 file: POWER8 llrint ifunc implementation.
18843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
18844 Add POWER8 implementation.
18845 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
18846 POWER8 llrint implementation.
18848 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
18849 power8 implementation.
18850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
18851 file: POWER8 finite ifunc implementation.
18852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
18853 Add POWER8 implementation.
18854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
18856 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
18857 POWER8 finite implementation.
18858 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
18860 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
18861 power8 implementation.
18862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
18863 file: POWER8 isinf ifunc implementation.
18864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
18865 POWER8 implementation.
18866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
18868 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
18869 isinf implementation.
18870 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
18872 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
18873 (INIT_ARCH): Add hwcap2 initialization.
18874 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18875 power8 implementation.
18876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
18877 file: POWER8 isnan ifunc implementation.
18878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
18879 POWER8 implementation.
18880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
18882 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
18883 isnan implementation.
18884 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
18886 2014-02-27 Joey Ye <joey.ye@arm.com>
18888 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18889 (_FP_NANFRAC_Q): Set to zero.
18891 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18894 * math/auto-libm-test-in: New test inputs.
18895 * math/auto-libm-test-out: Regenerate.
18896 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
18899 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18901 2014-02-27 Joseph Myers <joseph@codesourcery.com>
18903 * scripts/evaluate-test.sh: Take new argument indicating whether
18904 failure is expected.
18905 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
18906 indicating whether failure is expected.
18907 * conform/Makefile (test-xfail-run-conformtest): New variable.
18908 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
18910 * posix/Makefile (test-xfail-annexc): New variable.
18911 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
18913 2014-02-26 Joseph Myers <joseph@codesourcery.com>
18915 * argp/Makefile: Include Makeconfig immediately after defining
18917 * assert/Makefile: Likewise.
18918 * benchtests/Makefile: Likewise.
18919 * catgets/Makefile: Likewise.
18920 * conform/Makefile: Likewise.
18921 * crypt/Makefile: Likewise.
18922 * csu/Makefile: Likewise.
18923 (all): Remove target.
18924 * ctype/Makefile: Include Makeconfig immediately after defining
18926 * debug/Makefile: Likewise.
18927 * dirent/Makefile: Likewise.
18928 * dlfcn/Makefile: Likewise.
18929 * gmon/Makefile: Likewise.
18930 * gnulib/Makefile: Likewise.
18931 * grp/Makefile: Likewise.
18932 * gshadow/Makefile: Likewise.
18933 * hesiod/Makefile: Likewise.
18934 * hurd/Makefile: Likewise.
18935 (all): Remove target.
18936 * iconvdata/Makefile: Include Makeconfig immediately after
18938 * inet/Makefile: Likewise.
18939 * intl/Makefile: Likewise.
18940 * io/Makefile: Likewise.
18941 * libio/Makefile: Likewise.
18942 (all): Remove target.
18943 * locale/Makefile: Include Makeconfig immediately after defining
18945 * login/Makefile: Likewise.
18946 * mach/Makefile: Likewise.
18947 (all): Remove target.
18948 * malloc/Makefile: Include Makeconfig immediately after defining
18950 (all): Remove target.
18951 * manual/Makefile: Include Makeconfig immediately after defining
18953 * math/Makefile: Likewise.
18954 * misc/Makefile: Likewise.
18955 * nis/Makefile: Likewise.
18956 * nss/Makefile: Likewise.
18957 * po/Makefile: Likewise.
18958 (all): Remove target.
18959 * posix/Makefile: Include Makeconfig immediately after defining
18961 * pwd/Makefile: Likewise.
18962 * resolv/Makefile: Likewise.
18963 * resource/Makefile: Likewise.
18964 * rt/Makefile: Likewise.
18965 * setjmp/Makefile: Likewise.
18966 * shadow/Makefile: Likewise.
18967 * signal/Makefile: Likewise.
18968 * socket/Makefile: Likewise.
18969 * soft-fp/Makefile: Likewise.
18970 * stdio-common/Makefile: Likewise.
18971 * stdlib/Makefile: Likewise.
18972 * streams/Makefile: Likewise.
18973 * string/Makefile: Likewise.
18974 * sunrpc/Makefile: Likewise.
18975 (all): Remove target.
18976 * sysvipc/Makefile: Include Makeconfig immediately after defining
18978 * termios/Makefile: Likewise.
18979 * time/Makefile: Likewise.
18980 * timezone/Makefile: Likewise.
18981 (all): Remove target.
18982 * wcsmbs/Makefile: Include Makeconfig immediately after defining
18984 * wctype/Makefile: Likewise.
18986 2014-02-26 Steve Ellcey <sellcey@mips.com>
18988 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
18989 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
18990 (libc_feholdexcept_setround_mips): Ditto.
18991 (libc_feholdsetround): New.
18992 (libc_feholdsetroundf): New.
18993 (libc_feholdsetroundl): New.
18994 (libc_feupdateenv_test_mips): New.
18995 (libc_feupdateenv_test): New.
18996 (libc_feupdateenv_testf): New.
18997 (libc_feupdateenv_testl): New.
18998 (libc_feresetround): New.
18999 (libc_feresetroundf): New.
19000 (libc_feresetroundl): New.
19001 (libc_fetestexcept_mips): New.
19002 (libc_fetestexcept): New.
19003 (libc_fetestexceptf): New.
19004 (libc_fetestexceptl): New.
19005 (HAVE_RM_CTX): New.
19006 (libc_feholdexcept_setround_mips_ctx): New.
19007 (libc_feholdexcept_setround_ctx): New.
19008 (libc_feholdexcept_setroundf_ctx): New.
19009 (libc_feholdexcept_setroundl_ctx): New.
19010 (libc_fesetenv_mips_ctx): New.
19011 (libc_fesetenv_ctx): New.
19012 (libc_fesetenv_ctxf): New.
19013 (libc_fesetenv_ctxl): New.
19014 (libc_feupdateenv_mips_ctx): New.
19015 (libc_feupdateenv_ctx): New.
19016 (libc_feupdateenvf_ctx): New.
19017 (libc_feupdateenvl_ctx): New.
19018 (libc_feholdsetround_mips_ctx): New.
19019 (libc_feholdsetround_ctx): New.
19020 (libc_feholdsetroundf_ctx): New.
19021 (libc_feholdsetroundl_ctx): New.
19022 (libc_feresetround_mips_ctx): New.
19023 (libc_feresetround_ctx): New.
19024 (libc_feresetroundf_ctx): New.
19025 (libc_feresetroundl_ctx): New.
19027 2014-02-26 Carlos O'Donell <carlos@redhat.com>
19029 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
19031 * manual/ipc.texi: New file.
19032 * manual/Makefile (chapters): Add ipc.
19033 * manual/job.texi: Add "Inter-Process Communication" to next.
19034 * manual/process.texi: Add "Inter-Process Communication" to prev.
19036 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19040 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
19042 * malloc/malloc.c (__libc_calloc): Simplify implementation.
19044 * manual/arith.texi: Fix spaces after sentences.
19045 * manual/charset.texi: Likewise.
19046 * manual/errno.texi: Likewise.
19047 * manual/install.texi: Likewise.
19048 * manual/llio.texi: Likewise.
19049 * manual/locale.texi: Likewise.
19050 * manual/maint.texi: Likewise.
19051 * manual/math.texi: Likewise.
19052 * manual/memory.texi: Likewise.
19053 * manual/message.texi: Likewise.
19054 * manual/probes.texi: Likewise.
19055 * manual/resource.texi: Likewise.
19056 * manual/signal.texi: Likewise.
19057 * manual/socket.texi: Likewise.
19058 * manual/stdio.texi: Likewise.
19059 * manual/string.texi: Likewise.
19060 * manual/time.texi: Likewise.
19061 * manual/users.texi: Likewise.
19063 2014-02-25 Carlos O'Donell <carlos@redhat.com>
19066 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
19067 _DEFAULT_SOURCE is defined.
19069 2014-02-25 Ulrich Drepper <drepper@gmail.com>
19070 Carlos O'Donell <carlos@redhat.com>
19073 * elf/dl-tls.c (_dl_count_modids): New function.
19074 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
19075 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
19076 audit library and increment generation counter.
19077 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
19078 * elf/tst-audit9.c: New file.
19079 * elf/tst-auditmod9a.c: New file.
19080 * elf/tst-auditmod9b.c: New file.
19081 * elf/Makefile: Add rules to build and run tst-audit9.
19083 2014-02-25 Florian Weimer <fweimer@redhat.com>
19086 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
19088 2014-02-25 Will Newton <will.newton@linaro.org>
19090 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
19091 (__longjmp): Restore sp and lr before restoring callee
19092 saved registers. Add longjmp and longjmp_target
19093 SystemTap probe point.
19094 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
19095 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
19096 Define to zero to match jmpbuf layout.
19097 * sysdeps/arm/setjmp.S: Include stap-probe.h.
19098 (__sigsetjmp): Save sp and lr before saving callee
19099 saved registers. Add setjmp SystemTap probe point.
19101 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
19103 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19105 2014-02-24 Andreas Schwab <schwab@suse.de>
19108 * elf/pldd.c (wait_for_ptrace_stop): New function.
19109 (main): Call it after attaching.
19111 2014-02-22 Roland McGrath <roland@hack.frob.com>
19113 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
19114 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
19115 Versions files is now verboten.
19116 * hurd/Versions (libc: GLIBC_2.0):
19117 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
19118 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
19119 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
19120 * mach/Versions: Likewise.
19122 * csu/Versions: Remove unused %include.
19123 * resolv/Versions: Likewise.
19125 2014-02-21 Joseph Myers <joseph@codesourcery.com>
19127 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
19128 ($(objpfx)check-local-headers.out): Likewise.
19129 ($(objpfx)begin-end-check.out): Likewise.
19130 * Makerules (check-abi-%.out): Likewise.
19131 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
19132 ($(objpfx)test2.cat): Likewise.
19133 ($(objpfx)de/libc.cat): Likewise.
19134 ($(objpfx)test-gencat.out): Likewise.
19135 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
19136 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
19137 ($(objpfx)noload-mem): Likewise.
19138 ($(objpfx)tst-pathopt.out): Likewise.
19139 ($(objpfx)tst-rtld-load-self.out): Likewise.
19140 ($(objpfx)tst-array1-cmp.out): Likewise.
19141 ($(objpfx)tst-array1-static-cmp.out): Likewise.
19142 ($(objpfx)tst-array2-cmp.out): Likewise.
19143 ($(objpfx)tst-array3-cmp.out): Likewise.
19144 ($(objpfx)tst-array4-cmp.out): Likewise.
19145 ($(objpfx)tst-array5-cmp.out): Likewise.
19146 ($(objpfx)tst-array5-static-cmp.out): Likewise.
19147 ($(objpfx)check-textrel.out): Likewise.
19148 ($(objpfx)check-execstack.out): Likewise.
19149 ($(objpfx)check-localplt.out): Likewise.
19150 ($(objpfx)order2-cmp.out): Likewise.
19151 ($(objpfx)tst-leaks1-mem): Likewise.
19152 ($(objpfx)tst-leaks1-static-mem): Likewise.
19153 ($(objpfx)tst-initorder-cmp.out): Likewise.
19154 ($(objpfx)tst-initorder2-cmp.out): Likewise.
19155 ($(objpfx)tst-unused-dep.out): Likewise.
19156 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
19157 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
19158 * iconv/Makefile (test-iconvconfig): Likewise.
19159 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
19160 ($(objpfx)iconv-test.out): Likewise.
19161 ($(objpfx)tst-tables.out): Likewise.
19162 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
19163 ($(objpfx)tst-gettext.out): Likewise.
19164 ($(objpfx)tst-translit.out): Likewise.
19165 ($(objpfx)tst-gettext2.out): Likewise.
19166 ($(objpfx)tst-gettext4.out): Likewise.
19167 ($(objpfx)tst-gettext6.out): Likewise.
19168 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
19169 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
19170 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
19171 ($(objpfx)tst-fopenloc-mem.out): Likewise.
19172 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
19173 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
19174 * posix/Makefile ($(objpfx)globtest.out): Likewise.
19175 ($(objpfx)wordexp-tst.out): Likewise.
19176 ($(objpfx)annexc.out): Likewise.
19177 ($(objpfx)tst-fnmatch-mem): Likewise.
19178 ($(objpfx)bug-regex2-mem): Likewise.
19179 ($(objpfx)bug-regex14-mem): Likewise.
19180 ($(objpfx)bug-regex21-mem): Likewise.
19181 ($(objpfx)bug-regex31-mem): Likewise.
19182 ($(objpfx)tst-vfork3-mem): Likewise.
19183 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
19184 ($(objpfx)tst-pcre-mem): Likewise.
19185 ($(objpfx)tst-boost-mem): Likewise.
19186 ($(objpfx)tst-getconf.out): Likewise.
19187 ($(objpfx)bug-ga2-mem): Likewise.
19188 ($(objpfx)bug-glob2-mem): Likewise.
19189 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
19190 ($(objpfx)mtrace-tst-leaks2): Likewise.
19191 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
19192 ($(objpfx)tst-printf.out): Likewise.
19193 ($(objpfx)tst-setvbuf1.out): Likewise.
19194 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
19195 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
19196 ($(objpfx)tst-fmtmsg.out): Likewise.
19197 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
19198 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
19200 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
19201 * bits/sigaction.h [__USE_MISC]: Likewise.
19202 * bits/waitstatus.h: Update #endif comments.
19203 * ctype/ctype.h: Likewise.
19204 * dirent/dirent.h: Likewise.
19205 [__USE_MISC]: Remove redundant conditionals.
19206 * grp/grp.h: Update #endif comments.
19207 [__USE_GNU]: Remove redundant conditionals.
19208 [__USE_MISC]: Likewise.
19209 * inet/netinet/in.h [__USE_GNU]: Likewise.
19210 * io/sys/stat.h [__USE_MISC]: Likewise.
19211 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
19212 * libio/bits/stdio.h: Update #endif comments.
19213 [__USE_MISC]: Remove redundant conditionals.
19214 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
19215 * libio/stdio.h: Update #endif comments.
19216 [__USE_MISC]: Remove redundant conditionals.
19217 * math/bits/math-finite.h [__USE_MISC]: Likewise.
19218 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
19219 * math/math.h: Update #else and #endif comments.
19220 [__USE_MISC]: Remove redundant conditionals.
19221 * misc/sys/uio.h: Update #endif comments.
19222 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
19223 * posix/glob.h [__USE_MISC]: Likewise.
19224 * posix/sys/types.h: Update #endif comments.
19225 [__USE_MISC]: Remove redundant conditionals.
19226 * posix/sys/wait.h: Update #endif comments.
19227 [__USE_MISC]: Remove redundant conditionals.
19228 * posix/unistd.h: Update #endif comments.
19229 [__USE_MISC]: Remove redundant conditionals.
19230 * pwd/pwd.h [__USE_GNU]: Likewise.
19231 [__USE_MISC]: Likewise.
19232 * resolv/netdb.h [__USE_GNU]: Likewise.
19233 * signal/signal.h: Update #endif comments.
19234 [__USE_MISC]: Remove redundant conditionals.
19235 * stdlib/stdlib.h: Update #else and #endif comments.
19236 [__USE_MISC]: Remove redundant conditionals.
19237 [__USE_GNU]: Likewise.
19238 * string/bits/string2.h [__USE_MISC]: Likewise.
19239 * string/string.h: Update #endif comments.
19240 [__USE_MISC]: Remove redundant conditionals.
19241 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
19243 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
19244 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
19245 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
19247 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
19249 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
19251 [__USE_MISC]: Remove redundant conditionals.
19252 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
19253 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
19254 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
19255 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
19256 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
19258 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
19259 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
19261 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
19262 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
19264 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
19266 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
19267 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
19269 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
19271 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
19272 * sysdeps/x86/bits/string.h: Update #endif comments.
19273 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
19275 * time/sys/time.h: Update #endif comments.
19276 * time/time.h: Likewise.
19277 [__USE_MISC]: Remove redundant conditionals.
19279 2014-02-21 Yury Gribov <y.gribov@samsung.com>
19282 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
19284 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
19286 * Versions.def (librt): Add GLIBC_2.17.
19288 2014-02-21 Adam Conrad <adconrad@0c3.net>
19290 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
19291 synonym for _SYS_AUXV_H to allow direct inclusion.
19292 * sysdeps/sparc/bits/hwcap.h: Likewise.
19293 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
19294 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
19295 * sysdeps/sparc/sysdep.h: Likewise.
19297 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19299 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
19301 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19303 * benchtests/bench-strrchr.c: Print length instead of position.
19305 2014-02-20 Joseph Myers <joseph@codesourcery.com>
19308 * sysdeps/unix/sysv/linux/kernel-features.h
19309 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
19310 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
19311 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
19312 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
19314 [__i386__ || __powerpc__ || __sh__ || __sparc__]
19315 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19316 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
19317 (__ASSUME_SENDMMSG): Define instead of using previous
19318 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
19319 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19320 (__ASSUME_SENDMMSG_SYSCALL): Define.
19321 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19322 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
19324 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19325 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19327 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19328 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19330 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
19331 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
19332 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
19333 [__ASSUME_SENDMMSG]: Change conditionals to
19334 [__ASSUME_SENDMMSG_SOCKETCALL].
19335 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19336 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
19338 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19339 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
19341 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
19342 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
19343 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
19344 [!__ASSUME_SENDMMSG]: Change conditional to
19345 [!__ASSUME_SENDMMSG_SOCKETCALL].
19346 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19347 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19351 * sysdeps/unix/sysv/linux/kernel-features.h
19352 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
19353 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
19354 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
19355 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
19356 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19357 [__i386__ || __sparc__]
19358 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19359 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
19360 (__ASSUME_RECVMMSG): Define instead of using previous
19361 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
19362 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19363 (__ASSUME_RECVMMSG_SYSCALL): Define.
19364 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19365 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19367 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19368 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19370 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19371 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19373 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
19374 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
19375 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
19376 [__ASSUME_RECVMMSG]: Change condition to
19377 [__ASSUME_RECVMMSG_SOCKETCALL].
19378 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19379 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19381 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19382 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19383 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19385 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
19386 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
19387 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
19388 [!__ASSUME_RECVMMSG]: Change condition to
19389 [!__ASSUME_RECVMMSG_SOCKETCALL].
19390 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19391 (__ASSUME_RECVMMSG_SYSCALL): Define.
19394 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
19395 __powerpc__ || __s390__ || __sh__ || __sparc__]
19396 (__ASSUME_SOCKETCALL): Define.
19397 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
19398 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
19399 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
19400 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
19401 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19402 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
19403 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
19404 (__ASSUME_ACCEPT4): Define instead of using previous
19405 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
19406 __powerpc__ || __sparc__ || __s390__)] condition.
19407 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19408 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
19409 * sysdeps/unix/sysv/linux/accept4.c [__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/alpha/kernel-features.h
19415 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
19416 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
19417 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19418 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
19419 __ASSUME_ACCEPT4_SYSCALL.
19420 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
19421 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
19422 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19423 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
19424 __ASSUME_ACCEPT4_SYSCALL.
19425 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
19426 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
19427 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
19428 [__ASSUME_ACCEPT4]: Change condition to
19429 [__ASSUME_ACCEPT4_SOCKETCALL].
19430 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19431 (__ASSUME_SOCKETCALL): Define.
19432 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
19433 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19434 (__ASSUME_SOCKETCALL): Define.
19435 (__ASSUME_ACCEPT4): Remove.
19436 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
19438 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19439 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
19441 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19442 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
19444 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
19446 (HWCAP_ARM_LPAE): Likewise.
19447 (HWCAP_ARM_EVTSTRM): Likewise.
19448 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
19449 Add vpfd32, lpae and evtstrm.
19450 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
19453 2014-02-19 Joseph Myers <joseph@codesourcery.com>
19455 * math/auto-libm-test-in: Add tests of clog10.
19456 * math/auto-libm-test-out: Regenerated.
19457 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
19458 * sysdeps/i386/fpu/libm-test-ulps: Update.
19459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19461 2014-02-18 Andreas Schwab <schwab@suse.de>
19464 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
19465 Store non-zero if the second buffer was newly allocated.
19466 (send_dg): Likewise.
19467 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
19468 to send_vc and send_dg.
19469 (res_nsend): Pass NULL for ansp2_malloced.
19470 * resolv/res_query.c (__libc_res_nquery): Add parameter
19471 answerp2_malloced and pass it down to __libc_res_nsend.
19472 (res_nquery): Pass additional NULL to __libc_res_nquery.
19473 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
19474 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
19475 second answer buffer if answerp2_malloced was set.
19476 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
19477 (__libc_res_nquerydomain): Add parameter
19478 answerp2_malloced and pass it down to __libc_res_nquery.
19479 (res_nquerydomain): Pass additional NULL to
19480 __libc_res_nquerydomain.
19481 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
19482 additional NULL to __libc_res_nsend and __libc_res_nquery.
19483 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
19484 additional NULL to __libc_res_nsearch.
19485 (_nss_dns_gethostbyname4_r): Revert last change. Use new
19486 parameter of __libc_res_nsearch to check for separately allocated
19488 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
19490 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
19491 additional NULL to __libc_res_nquery.
19492 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
19493 __libc_res_nsearch.
19494 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
19495 * include/resolv.h: Update prototypes of __libc_res_nquery,
19496 __libc_res_nsearch, __libc_res_nsend.
19498 2014-02-18 Joseph Myers <joseph@codesourcery.com>
19500 * math/auto-libm-test-in: Add tests of fma.
19501 * math/auto-libm-test-out: Regenerated.
19502 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
19503 (fma_towardzero_test_data): Likewise.
19504 (fma_downward_test_data): Likewise.
19505 (fma_upward_test_data): Likewise.
19506 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
19508 (rounding_modes): Add values for new field.
19509 (func_calc_method): Add value mpfr_fff_f.
19510 (func_calc_desc): Add mpfr_fff_f union field.
19511 (test_function): Add field exact_args.
19512 (FUNC): Add macro argument EXACT_ARGS.
19513 (FUNC_mpfr_f_f): Update call to FUNC.
19514 (FUNC_mpfr_f_f): Likewise.
19515 (FUNC_mpfr_ff_f): Likewise.
19516 (FUNC_mpfr_if_f): Likewise.
19517 (FUNC_mpc_c_f): Likewise.
19518 (FUNC_mpc_c_c): Likewise.
19519 (test_functions): Add fma. Update calls to FUNC.
19520 (handle_input_arg): Add argument exact_args.
19521 (add_test): Update call to handle_input_arg.
19522 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
19523 (output_for_one_input_case): Update call to calc_generic_results.
19524 Recalculate exact zero results in each rounding mode.
19526 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
19527 non-negative before setting low bit.
19528 * math/auto-libm-test-in: Mark one asin test possibly having
19529 spurious underflow.
19530 * math/auto-libm-test-out: Regenerated.
19531 * sysdeps/i386/fpu/libm-test-ulps: Update.
19532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19534 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
19536 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
19537 * sysdeps/unix/sysv/linux/microblaze: Move directory from
19538 ports/sysdeps/unix/sysv/linux/microblaze.
19539 * README: Add missing listing for microblaze*-*-linux-gnu.
19541 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
19543 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
19546 2014-02-16 Mike Frysinger <vapier@gentoo.org>
19548 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
19549 * sysdeps/unix/sysv/linux/ia64: Move directory from
19550 ports/sysdeps/unix/sysv/linux/ia64.
19551 * README: Update listing for ia64-*-linux-gnu.
19553 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
19554 Joseph Myers <joseph@codesourcery.com>
19556 * Makeconfig (test-name): New variable.
19557 (evaluate-test): Likewise.
19558 * Makerules (do-test-clean): Remove .test-result files.
19559 (common-mostlyclean): Likewise.
19560 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
19561 * scripts/evaluate-test.sh: New file.
19563 2014-02-14 Joseph Myers <joseph@codesourcery.com>
19565 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
19566 separate $(objpfx)tst-fopenloc-cmp.out and
19567 $(objpfx)tst-fopenloc-mem.out targets.
19568 (tests): Update dependencies.
19569 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
19570 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
19571 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
19572 (tst-rxspencer-no-utf8-ARGS): New variable.
19573 (tst-rxspencer-no-utf8-ENV): Likewise.
19574 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
19575 instead of $(objpfx)tst-rxspencer-mem.
19576 ($(objpfx)tst-rxspencer-mem): Change target to
19577 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
19578 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
19579 * posix/tst-rxspencer-no-utf8.c: New file.
19581 * elf/Makefile ($(objpfx)order.out): Remove rule.
19582 [$(run-built-tests) = yes] (tests): Depend on
19583 $(objpfx)order-cmp.out.
19584 ($(objpfx)order-cmp.out): New rule.
19585 [$(run-built-tests) = yes] (tests): Depend on
19586 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
19587 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
19588 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
19589 $(objpfx)tst-array5-static-cmp.out.
19590 ($(objpfx)tst-array1.out): Remove rule.
19591 ($(objpfx)tst-array1-cmp.out): New rule.
19592 ($(objpfx)tst-array1-static.out): Remove rule.
19593 ($(objpfx)tst-array1-static-cmp.out): New rule.
19594 ($(objpfx)tst-array2.out): Remove rule.
19595 ($(objpfx)tst-array2-cmp.out): New rule.
19596 ($(objpfx)tst-array3.out): Remove rule.
19597 ($(objpfx)tst-array3-cmp.out): New rule.
19598 ($(objpfx)tst-array4.out): Remove rule.
19599 ($(objpfx)tst-array4-cmp.out): New rule.
19600 ($(objpfx)tst-array5.out): Remove rule.
19601 ($(objpfx)tst-array5-cmp.out): New rule.
19602 ($(objpfx)tst-array5-static.out): Remove rule.
19603 ($(objpfx)tst-array5-static-cmp.out): New rule.
19604 [$(run-built-tests) = yes] (tests): Depend on
19605 $(objpfx)order2-cmp.out.
19606 ($(objpfx)order2.out): Remove rule.
19607 ($(objpfx)order2-cmp.out): New rule.
19608 ($(objpfx)tst-initorder.out): Remove rule.
19609 [$(run-built-tests) = yes] (tests): Depend on
19610 $(objpfx)tst-initorder-cmp.out.
19611 ($(objpfx)tst-initorder-cmp.out): New rule.
19612 ($(objpfx)tst-initorder2.out): Remove rule.
19613 [$(run-built-tests) = yes] (tests): Depend on
19614 $(objpfx)tst-initorder2-cmp.out.
19615 ($(objpfx)tst-initorder2-cmp.out): New rule.
19616 [$(run-built-tests) = yes] (tests): Depend on
19617 $(objpfx)tst-unused-dep-cmp.out.
19618 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
19619 ($(objpfx)tst-unused-dep-cmp.out): New rule.
19620 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
19621 on $(objpfx)tst-setvbuf1-cmp.out.
19622 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
19623 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
19624 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
19625 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
19626 ($(objpfx)tst-svc.out): Remove rule.
19627 ($(objpfx)tst-svc-cmp.out): New rule.
19629 2014-02-13 Joseph Myers <joseph@codesourcery.com>
19631 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
19632 * ctype/ctype.h [__USE_MISC]: Likewise.
19633 * dirent/dirent.h [__USE_MISC]: Likewise.
19634 * grp/grp.h [__USE_MISC]: Likewise.
19635 * io/fcntl.h [__USE_MISC]: Likewise.
19636 * io/sys/stat.h [__USE_MISC]: Likewise.
19637 * libio/stdio.h [__USE_MISC]: Likewise.
19638 * posix/unistd.h [__USE_MISC]: Likewise.
19639 * pwd/pwd.h [__USE_MISC]: Likewise.
19640 * stdlib.h [__USE_MISC]: Likewise.
19641 * string/bits/string2.h [__USE_MISC]: Likewise.
19642 * string/string.h [__USE_MISC]: Likewise.
19643 * time/time.h [__USE_MISC]: Likewise.
19645 2014-02-13 Andreas Schwab <schwab@suse.de>
19648 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
19649 second answer buffer if it was separately allocated.
19651 2014-02-12 Joseph Myers <joseph@codesourcery.com>
19653 * sysdeps/mips/math-tests.h: Include <features.h>.
19654 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
19655 (ROUNDING_TESTS_long_double): Do not define.
19656 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
19657 (EXCEPTION_TESTS_long_double): Likewise.
19658 * sysdeps/mips/mips64/libm-test-ulps: Update.
19660 * include/features.h (__USE_BSD): Remove macro definitions.
19661 (__USE_SVID): Likewise.
19662 (_BSD_SOURCE): Likewise.
19663 (_SVID_SOURCE): Likewise.
19664 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
19665 from definition of _DEFAULT_SOURCE.
19666 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
19668 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
19669 * bits/mman.h [__USE_BSD]: Likewise.
19670 * bits/termios.h [__USE_BSD]: Likewise.
19671 * bits/waitstatus.h [__USE_BSD]: Likewise.
19672 * ctype/ctype.h [__USE_SVID]: Likewise.
19673 * dirent/dirent.h [__USE_BSD]: Likewise.
19674 * grp/grp.h [__USE_SVID]: Likewise.
19675 [__USE_BSD]: Likewise.
19676 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
19677 * io/fcntl.h [__USE_BSD]: Likewise.
19678 * io/ftw.h [__USE_BSD]: Likewise.
19679 * io/sys/stat.h [__USE_BSD]: Likewise.
19680 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
19681 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
19682 * libio/stdio.h [__USE_SVID]: Likewise.
19683 [__USE_BSD]: Likewise.
19684 * math/math.h [__USE_SVID]: Likewise.
19685 [__USE_BSD]: Likewise.
19686 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
19687 * misc/bits/syslog.h [__USE_BSD]: Likewise.
19688 * misc/search.h [__USE_SVID]: Likewise.
19689 * misc/sys/mman.h [__USE_BSD]: Likewise.
19690 * misc/sys/syslog.h [__USE_BSD]: Likewise.
19691 * misc/sys/uio.h [__USE_BSD]: Likewise.
19692 * posix/bits/unistd.h [__USE_BSD]: Likewise.
19693 * posix/glob.h [__USE_BSD]: Likewise.
19694 * posix/regex.h [__USE_BSD]: Likewise.
19695 * posix/sys/types.h [__USE_BSD]: Likewise.
19696 [__USE_SVID]: Likewise.
19697 * posix/sys/utsname.h [__USE_SVID]: Likewise.
19698 * posix/sys/wait.h [__USE_BSD]: Likewise.
19699 [__USE_SVID]: Likewise.
19700 * posix/unistd.h [__USE_BSD]: Likewise.
19701 [__USE_SVID]: Likewise.
19702 * pwd/pwd.h [__USE_SVID]: Likewise.
19703 * resolv/netdb.h [__USE_BSD]: Likewise.
19704 * setjmp/setjmp.h [__USE_BSD]: Likewise.
19705 * signal/signal.h [__USE_BSD]: Likewise.
19706 [__USE_SVID]: Likewise.
19707 * socket/sys/socket.h [__USE_BSD]: Likewise.
19708 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
19709 * stdlib/stdlib.h [__USE_BSD]: Likewise.
19710 [__USE_SVID]: Likewise.
19711 * string/bits/string2.h [__USE_BSD]: Likewise.
19712 [__USE_SVID]: Likewise.
19713 * string/bits/string3.h [__USE_BSD]: Likewise.
19714 * string/endian.h [__USE_BSD]: Likewise.
19715 * string/string.h [__USE_SVID]: Likewise.
19716 [__USE_BSD]: Likewise.
19717 * string/strings.h [__USE_BSD]: Likewise.
19718 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
19719 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
19720 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
19721 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
19722 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
19723 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
19725 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
19727 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
19728 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
19730 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
19731 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
19733 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
19735 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
19736 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
19737 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
19739 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
19741 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
19742 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
19743 * termios/termios.h [__USE_BSD]: Likewise.
19744 * time/sys/time.h [__USE_BSD]: Likewise.
19745 * time/time.h [__USE_BSD]: Likewise.
19746 [__USE_SVID]: Likewise.
19748 * Makefile (subdir_targets): Remove subdir_lint.out.
19750 * stdio-common/Makefile (do-tst-unbputc): Remove target.
19751 (do-tst-printf): Likewise.
19752 (tests): Depend directly on $(objpfx)tst-unbputc.out and
19753 $(objpfx)tst-printf.out.
19755 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
19757 * Makerules (check-abi-%): Change target to
19758 $(objpfx)check-abi-%.out.
19759 (check-abi target): Update dependencies.
19760 (check-abi-pattern variable): Redirect output of diff to $@.
19761 (check-abi variable): Likewise.
19762 * elf/Makefile (check-abi): Update dependencies.
19764 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
19766 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
19767 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
19769 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
19770 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
19771 value has largest subnormal exponent.
19772 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
19773 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
19774 * sysdeps/aarch64/soft-fp/sfp-machine.h
19775 (_FP_TININESS_AFTER_ROUNDING): New macro.
19776 * sysdeps/alpha/soft-fp/sfp-machine.h
19777 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19778 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19780 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
19781 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19782 * sysdeps/mips/soft-fp/sfp-machine.h
19783 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19784 * sysdeps/powerpc/soft-fp/sfp-machine.h
19785 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19786 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19788 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19789 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19790 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19791 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19792 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19795 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
19798 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
19801 2014-02-12 Richard Henderson <rth@redhat.com>
19803 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
19804 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
19805 * sysdeps/unix/sysv/linux/alpha: Move directory from
19806 ports/sysdeps/unix/sysv/linux/alpha.
19807 * README: Update listing for alpha-*-linux-gnu.
19809 2014-02-11 Joseph Myers <joseph@codesourcery.com>
19811 * include/features.h: Update comment documenting feature test
19813 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
19815 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
19816 (_SVID_SOURCE): Likewise.
19817 (_DEFAULT_SOURCE): Update description of default features.
19818 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
19820 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
19821 (S_ISVTX): Likewise.
19822 * manual/math.texi (Mathematical Constants): Likewise.
19823 * manual/signal.texi (Interrupted Primitives): Likewise.
19824 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
19825 * math/test-matherr.c (_SVID_SOURCE): Do not define.
19826 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
19827 Don't refer to _SVID_SOURCE in warning text.
19829 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19831 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
19833 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
19834 * sysdeps/mips/dl-lookup.c: Remove.
19835 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
19837 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19840 * math/auto-libm-test-in: Add testcase for expl.
19841 * math/auto-libm-test-out: Regenerate.
19842 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
19843 calculation of unsafe.
19844 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
19846 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
19848 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
19849 * sysdeps/unix/sysv/linux/aarch64: Move directory from
19850 ports/sysdeps/unix/sysv/linux/aarch64.
19851 * README: Update listing for aarch64*-*-linux-gnu.
19853 2014-02-11 Will Newton <will.newton@linaro.org>
19855 * manual/probes.texi (Mathematical Function Probes): Use
19856 "triggered" instead of "hit".
19858 * manual/probes.texi (Internal Probes): Add documentation
19859 of setjmp, longjmp and longjmp_target probes.
19861 * include/stap-probe.h: Add comment about probe argument
19864 * malloc/mtrace.c (attribute_hidden): Remove unused macro
19865 definition. (tr_where, tr_freehook, tr_mallochook,
19866 tr_reallochook, tr_memalignhook): Use ANSI protoype.
19868 2014-02-11 David S. Miller <davem@davemloft.net>
19870 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
19871 processing int_tests.
19873 2014-02-10 Joseph Myers <joseph@codesourcery.com>
19875 * sysdeps/mips: Move directory from ports/sysdeps/mips.
19876 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
19877 * sysdeps/unix/sysv/linux/mips: Move directory from
19878 ports/sysdeps/unix/sysv/linux/mips.
19879 * README: Update listing for mips-*-linux-gnu and
19880 mips64-*-linux-gnu.
19882 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
19884 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
19885 * sysdeps/unix/sysv/linux/m68k: Move directory from
19886 ports/sysdeps/unix/sysv/linux/m68k.
19887 * README: Update listing for m68k-*-linux-gnu.
19889 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
19891 * sysdeps/tile: Move directory from ports/sysdeps/tile.
19892 * sysdeps/unix/sysv/linux/generic: Move directory from
19893 ports/sysdeps/unix/sysv/linux/generic.
19894 * sysdeps/unix/sysv/linux/tile: Move directory from
19895 ports/sysdeps/unix/sysv/linux/tile.
19896 * README: Update listing for tile*-*-linux-gnu.
19898 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
19900 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
19902 * benchtests/bench-memmem.c (simple_memmem): Likewise.
19903 * catgets/open_catalog.c (__open_catalog): Likewise.
19904 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
19905 * debug/confstr_chk.c: Likewise.
19906 * debug/fread_chk.c (__fread_chk): Likewise.
19907 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
19908 * debug/getgroups_chk.c: Likewise.
19909 * debug/mbsnrtowcs_chk.c: Likewise.
19910 * debug/mbsrtowcs_chk.c: Likewise.
19911 * debug/mbstowcs_chk.c: Likewise.
19912 * debug/memcpy_chk.c: Likewise.
19913 * debug/memmove_chk.c: Likewise.
19914 * debug/mempcpy_chk.c: Likewise.
19915 * debug/memset_chk.c: Likewise.
19916 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19917 * debug/strcat_chk.c (__strcat_chk): Likewise.
19918 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
19919 * debug/strncat_chk.c (__strncat_chk): Likewise.
19920 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
19921 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
19922 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
19923 * debug/wcpncpy_chk.c: Likewise.
19924 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19925 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
19926 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
19927 * debug/wcsncpy_chk.c: Likewise.
19928 * debug/wcsnrtombs_chk.c: Likewise.
19929 * debug/wcsrtombs_chk.c: Likewise.
19930 * debug/wcstombs_chk.c: Likewise.
19931 * debug/wmemcpy_chk.c: Likewise.
19932 * debug/wmemmove_chk.c: Likewise.
19933 * debug/wmempcpy_chk.c: Likewise.
19934 * debug/wmemset_chk.c: Likewise.
19935 * dirent/scandirat.c (SCANDIRAT): Likewise.
19936 * dlfcn/dladdr1.c (dladdr1): Likewise.
19937 * dlfcn/dladdr.c (dladdr): Likewise.
19938 * dlfcn/dlclose.c (dlclose_doit): Likewise.
19939 * dlfcn/dlerror.c (__dlerror): Likewise.
19940 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
19941 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
19942 * dlfcn/dlopen.c (dlopen_doit): Likewise.
19943 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
19944 * dlfcn/dlsym.c (dlsym_doit): Likewise.
19945 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
19946 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
19947 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
19949 * elf/dl-conflict.c: Likewise.
19950 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
19951 * elf/dl-dst.h: Likewise.
19952 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
19953 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
19954 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
19955 * elf/dl-init.c (call_init, _dl_init): Likewise.
19956 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
19957 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
19958 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
19960 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
19962 * elf/dl-minimal.c (__libc_memalign): Likewise.
19963 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
19964 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19965 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
19966 * elf/dl-sym.c (do_sym): Likewise.
19967 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
19968 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
19969 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
19970 * elf/dl-writev.h (_dl_writev): Likewise.
19971 * elf/ldconfig.c (search_dir): Likewise.
19972 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
19973 (dl_main): Likewise.
19974 * elf/setup-vdso.h (setup_vdso): Likewise.
19975 * grp/compat-initgroups.c (compat_call): Likewise.
19976 * grp/fgetgrent.c (fgetgrent): Likewise.
19977 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
19978 * grp/putgrent.c (putgrent): Likewise.
19979 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19981 * hurd/hurdinit.c: Likewise.
19982 * iconvdata/8bit-gap.c (struct): Likewise.
19983 * iconvdata/ansi_x3.110.c : Likewise.
19984 * iconvdata/big5.c : Likewise.
19985 * iconvdata/big5hkscs.c : Likewise.
19986 * iconvdata/cp1255.c: Likewise.
19987 * iconvdata/cp1258.c : Likewise.
19988 * iconvdata/cp932.c : Likewise.
19989 * iconvdata/euc-cn.c: Likewise.
19990 * iconvdata/euc-jisx0213.c : Likewise.
19991 * iconvdata/euc-jp.c: Likewise.
19992 * iconvdata/euc-jp-ms.c : Likewise.
19993 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
19994 * iconvdata/gb18030.c : Likewise.
19995 * iconvdata/gbbig5.c (const): Likewise.
19996 * iconvdata/gbgbk.c: Likewise.
19997 * iconvdata/gbk.c : Likewise.
19998 * iconvdata/ibm1364.c : Likewise.
19999 * iconvdata/ibm930.c : Likewise.
20000 * iconvdata/ibm932.c: Likewise.
20001 * iconvdata/ibm933.c : Likewise.
20002 * iconvdata/ibm935.c : Likewise.
20003 * iconvdata/ibm937.c : Likewise.
20004 * iconvdata/ibm939.c : Likewise.
20005 * iconvdata/ibm943.c: Likewise.
20006 * iconvdata/iso_11548-1.c: Likewise.
20007 * iconvdata/iso-2022-cn.c : Likewise.
20008 * iconvdata/iso-2022-cn-ext.c : Likewise.
20009 * iconvdata/iso-2022-jp-3.c: Likewise.
20010 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
20011 * iconvdata/iso-2022-kr.c : Likewise.
20012 * iconvdata/iso646.c (gconv_end): Likewise.
20013 * iconvdata/iso_6937-2.c : Likewise.
20014 * iconvdata/iso_6937.c : Likewise.
20015 * iconvdata/iso8859-1.c: Likewise.
20016 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
20017 * iconvdata/shift_jisx0213.c : Likewise.
20018 * iconvdata/sjis.c : Likewise.
20019 * iconvdata/t.61.c : Likewise.
20020 * iconvdata/tcvn5712-1.c : Likewise.
20021 * iconvdata/tscii.c: Likewise.
20022 * iconvdata/uhc.c : Likewise.
20023 * iconvdata/unicode.c (gconv_end): Likewise.
20024 * iconvdata/utf-16.c (gconv_end): Likewise.
20025 * iconvdata/utf-32.c (gconv_end): Likewise.
20026 * iconvdata/utf-7.c (base64): Likewise.
20027 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
20028 * iconv/gconv_close.c (__gconv_close): Likewise.
20029 * iconv/gconv_open.c (__gconv_open): Likewise.
20030 * iconv/gconv_simple.c (internal_ucs4_loop_single)
20031 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
20032 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
20033 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
20034 (ucs4le_internal_loop_single): Likewise.
20035 * iconv/iconv.c (iconv): Likewise.
20036 * iconv/iconv_close.c: Likewise.
20037 * iconv/loop.c (SINGLE): Likewise.
20038 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
20039 * include/atomic.h: Likewise.
20040 * inet/inet6_option.c (option_alloc): Likewise.
20041 * intl/bindtextdom.c (set_binding_values): Likewise.
20042 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
20043 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
20044 * intl/localealias.c (read_alias_file): Likewise.
20045 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
20046 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
20047 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
20048 * libio/fmemopen.c (fmemopen): Likewise.
20049 * libio/iofgets.c (_IO_fgets): Likewise.
20050 * libio/iofgets_u.c (fgets_unlocked): Likewise.
20051 * libio/iofgetws.c (fgetws): Likewise.
20052 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
20053 * libio/iogetdelim.c (_IO_getdelim): Likewise.
20054 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
20055 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
20056 * locale/findlocale.c (_nl_find_locale): Likewise.
20057 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
20058 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
20060 * locale/setlocale.c (setlocale): Likewise.
20061 * login/programs/pt_chown.c (main): Likewise.
20062 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
20063 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
20064 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
20065 (mmap, mmap64, mremap, munmap): Likewise.
20066 * math/e_exp2l.c: Likewise.
20067 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
20068 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
20069 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
20070 * math/s_catan.c (__catan): Likewise.
20071 * math/s_catanf.c (__catanf): Likewise.
20072 * math/s_catanh.c (__catanh): Likewise.
20073 * math/s_catanhf.c (__catanhf): Likewise.
20074 * math/s_catanhl.c (__catanhl): Likewise.
20075 * math/s_catanl.c (__catanl): Likewise.
20076 * math/s_ccosh.c (__ccosh): Likewise.
20077 * math/s_ccoshf.c (__ccoshf): Likewise.
20078 * math/s_ccoshl.c (__ccoshl): Likewise.
20079 * math/s_cexp.c (__cexp): Likewise.
20080 * math/s_cexpf.c (__cexpf): Likewise.
20081 * math/s_cexpl.c (__cexpl): Likewise.
20082 * math/s_clog10.c (__clog10): Likewise.
20083 * math/s_clog10f.c (__clog10f): Likewise.
20084 * math/s_clog10l.c (__clog10l): Likewise.
20085 * math/s_clog.c (__clog): Likewise.
20086 * math/s_clogf.c (__clogf): Likewise.
20087 * math/s_clogl.c (__clogl): Likewise.
20088 * math/s_csin.c (__csin): Likewise.
20089 * math/s_csinf.c (__csinf): Likewise.
20090 * math/s_csinh.c (__csinh): Likewise.
20091 * math/s_csinhf.c (__csinhf): Likewise.
20092 * math/s_csinhl.c (__csinhl): Likewise.
20093 * math/s_csinl.c (__csinl): Likewise.
20094 * math/s_csqrt.c (__csqrt): Likewise.
20095 * math/s_csqrtf.c (__csqrtf): Likewise.
20096 * math/s_csqrtl.c (__csqrtl): Likewise.
20097 * math/s_ctan.c (__ctan): Likewise.
20098 * math/s_ctanf.c (__ctanf): Likewise.
20099 * math/s_ctanh.c (__ctanh): Likewise.
20100 * math/s_ctanhf.c (__ctanhf): Likewise.
20101 * math/s_ctanhl.c (__ctanhl): Likewise.
20102 * math/s_ctanl.c (__ctanl): Likewise.
20103 * math/w_pow.c: Likewise.
20104 * math/w_powf.c: Likewise.
20105 * math/w_powl.c: Likewise.
20106 * math/w_scalb.c (sysv_scalb): Likewise.
20107 * math/w_scalbf.c (sysv_scalbf): Likewise.
20108 * math/w_scalbl.c (sysv_scalbl): Likewise.
20109 * misc/error.c (error_tail): Likewise.
20110 * misc/pselect.c (__pselect): Likewise.
20111 * nis/nis_callback.c (__nis_create_callback): Likewise.
20112 * nis/nis_call.c (__nisfind_server): Likewise.
20113 * nis/nis_creategroup.c (nis_creategroup): Likewise.
20114 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
20115 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
20116 * nis/nis_getservlist.c (nis_getservlist): Likewise.
20117 * nis/nis_lookup.c (nis_lookup): Likewise.
20118 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
20119 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
20120 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
20121 * nis/nis_xdr.c (xdr_endpoint): Likewise.
20122 * nis/nss_compat/compat-grp.c (getgrent_next_file)
20123 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
20124 * nis/nss_compat/compat-initgroups.c (add_group)
20125 (internal_getgrent_r): Likewise.
20126 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
20127 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
20128 * nis/nss_compat/compat-spwd.c (getspent_next_file)
20129 (internal_getspnam_r): Likewise.
20130 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
20131 (_nss_nis_getaliasbyname_r): Likewise.
20132 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
20133 (_nss_nis_getntohost_r): Likewise.
20134 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
20135 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
20136 (_nss_nis_getgrgid_r): Likewise.
20137 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
20138 (internal_nis_gethostent_r, internal_gethostbyname2_r)
20139 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
20140 (_nss_nis_gethostbyname4_r): Likewise.
20141 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
20142 (initgroups_netid): Likewise.
20143 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
20144 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
20145 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
20146 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
20147 (_nss_nis_getprotobynumber_r): Likewise.
20148 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
20149 (_nss_nis_getsecretkey): Likewise.
20150 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
20151 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
20152 (_nss_nis_getpwuid_r): Likewise.
20153 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
20154 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
20155 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
20156 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
20157 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
20158 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
20159 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
20161 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
20162 (_nss_nisplus_getntohost_r): Likewise.
20163 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
20164 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
20165 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
20166 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
20168 * nis/nss_nisplus/nisplus-initgroups.c
20169 (_nss_nisplus_initgroups_dyn): Likewise.
20170 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
20171 (_nss_nisplus_getnetbyaddr_r): Likewise.
20172 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
20173 (_nss_nisplus_getprotobynumber_r): Likewise.
20174 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
20175 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
20176 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
20178 * nis/nss_nisplus/nisplus-service.c
20179 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
20180 (_nss_nisplus_getservbyport_r): Likewise.
20181 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
20182 (_nss_nisplus_getspnam_r): Likewise.
20183 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
20185 * nscd/aicache.c (addhstaiX): Likewise.
20186 * nscd/cache.c (cache_search, prune_cache): Likewise.
20187 * nscd/connections.c (register_traced_file, send_ro_fd)
20188 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
20189 (main_loop_epoll): Likewise.
20190 * nscd/grpcache.c (addgrbyX): Likewise.
20191 * nscd/hstcache.c (addhstbyX): Likewise.
20192 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20193 * nscd/mem.c (gc, mempool_alloc): Likewise.
20194 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
20195 (addinnetgrX): Likewise.
20196 * nscd/nscd-client.h (__nscd_acquire_maplock)
20197 (__nscd_drop_map_ref): Likewise.
20198 * nscd/nscd_getai.c (__nscd_getai): Likewise.
20199 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
20200 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
20202 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
20203 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20204 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
20205 (__nscd_get_map_ref): Likewise.
20206 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
20207 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
20209 * nscd/pwdcache.c (addpwbyX): Likewise.
20210 * nscd/selinux.c (preserve_capabilities): Likewise.
20211 * nscd/servicescache.c (addservbyX): Likewise.
20212 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
20213 * posix/fnmatch.c (fnmatch): Likewise.
20214 * posix/getopt.c (_getopt_internal_r): Likewise.
20215 * posix/glob.c (glob, glob_in_dir): Likewise.
20216 * posix/wordexp.c (exec_comm_child): Likewise.
20217 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
20218 (getanswer_r, gaih_getanswer_slice): Likewise.
20219 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
20220 * resolv/res_init.c: Likewise.
20221 * resolv/res_mkquery.c (res_nmkquery): Likewise.
20222 * resolv/res_query.c (__libc_res_nquery): Likewise.
20223 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
20225 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
20226 * stdio-common/perror.c (perror): Likewise.
20227 * stdio-common/printf_fp.c (___printf_fp): Likewise.
20228 * stdio-common/tmpnam.c (tmpnam): Likewise.
20229 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20230 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
20231 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
20233 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
20234 * stdlib/putenv.c (putenv): Likewise.
20235 * stdlib/setenv.c (__add_to_environ): Likewise.
20236 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20237 * stdlib/strtol_l.c (INTERNAL): Likewise.
20238 * string/memmem.c (memmem): Likewise.
20239 * string/strerror.c (strerror): Likewise.
20240 * string/strnlen.c (__strnlen): Likewise.
20241 * string/test-memmem.c (simple_memmem): Likewise.
20242 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
20243 * sunrpc/pm_getport.c (__get_socket): Likewise.
20244 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
20245 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
20246 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
20247 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
20249 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
20250 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20251 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
20252 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
20253 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
20254 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
20256 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
20258 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
20259 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
20260 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20261 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20262 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20263 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
20264 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
20265 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
20266 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
20267 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
20268 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
20269 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
20271 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
20273 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
20275 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
20276 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20277 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
20278 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
20279 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
20280 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
20281 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20282 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
20283 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
20284 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
20285 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
20286 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20287 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20288 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
20289 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20290 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
20292 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
20294 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
20296 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
20298 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20299 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20300 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
20302 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
20303 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
20304 * sysdeps/posix/opendir.c (__opendirat): Likewise.
20305 * sysdeps/posix/sleep.c: Likewise.
20306 * sysdeps/posix/tempname.c: Likewise.
20307 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
20308 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20310 * sysdeps/powerpc/powerpc32/dl-machine.h
20311 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
20312 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20313 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20314 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
20315 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
20317 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
20318 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
20319 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
20320 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
20321 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
20322 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
20323 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
20324 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
20325 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20326 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
20327 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
20328 (elf_machine_lazy_rel): Likewise.
20329 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20330 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
20331 (elf_machine_lazy_rel): Likewise.
20332 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
20333 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
20334 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
20335 * sysdeps/unix/grantpt.c (grantpt): Likewise.
20336 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
20337 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
20338 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
20339 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20341 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
20342 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
20343 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
20344 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
20345 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20346 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20347 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
20348 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
20349 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
20350 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20351 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
20353 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
20354 (__posix_fallocate64_l64): Likewise.
20355 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
20356 (posix_fallocate): Likewise.
20357 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
20359 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20360 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
20361 (getifaddrs_internal): Likewise.
20362 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
20363 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
20364 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
20365 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
20366 * sysdeps/unix/sysv/linux/posix_fallocate64.c
20367 (__posix_fallocate64_l64): Likewise.
20368 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
20370 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
20371 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
20372 (__get_clockfreq): Likewise.
20373 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
20374 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
20375 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
20376 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20377 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20378 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
20379 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
20380 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
20382 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
20383 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
20384 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
20385 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
20386 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
20387 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
20388 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
20390 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20391 (posix_fallocate): Likewise.
20392 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20393 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
20394 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
20395 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
20396 (elf_machine_rela, elf_machine_rela_relative)
20397 (elf_machine_lazy_rel): Likewise.
20398 * time/asctime.c (asctime_internal): Likewise.
20399 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
20400 * time/tzset.c (__tzset_parse_tz): Likewise.
20401 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
20402 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
20403 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
20404 * wcsmbs/wcsmbsload.h: Likewise.
20407 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
20409 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
20410 (arena_get2): Remove THREAD_STATS conditionals.
20411 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
20412 (__malloc_stats, int): Likewise.
20414 2014-02-08 Mike Frysinger <vapier@gentoo.org>
20416 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
20417 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
20419 * manual/setjmp.texi: Fix typos/grammar errors.
20421 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
20422 Only return early when n is <= 0. Delete unused return statement.
20424 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
20425 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
20426 * debug/tst-longjmp_chk3.c: New file.
20428 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
20429 (test_main): Replace code with set_fortify_handler call.
20430 * debug/test-strcpy_chk.c: Likewise.
20431 * debug/tst-chk1.c: Likewise.
20432 * debug/tst-longjmp_chk.c: Likewise.
20433 * test-skeleton.c: Include fcntl.h & paths.h
20434 (set_fortify_handler): Define.
20436 * debug/tst-longjmp_chk.c: Add header comment and include
20437 ../test-skeleton.c.
20438 (do_test): Mark static.
20439 (TEST_FUNCTION): Define.
20441 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
20442 (IP_PMTUDISC_INTERFACE): Likewise.
20443 (IP_MULTICAST_IF): Likewise.
20444 (IP_MULTICAST_TTL): Likewise.
20445 (IP_MULTICAST_LOOP): Likewise.
20446 (IP_ADD_MEMBERSHIP): Likewise.
20447 (IP_DROP_MEMBERSHIP): Likewise.
20448 (IP_UNBLOCK_SOURCE): Likewise.
20449 (IP_BLOCK_SOURCE): Likewise.
20450 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
20451 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
20452 (IP_MSFILTER): Likewise.
20453 (MCAST_JOIN_GROUP): Likewise.
20454 (MCAST_BLOCK_SOURCE): Likewise.
20455 (MCAST_UNBLOCK_SOURCE): Likewise.
20456 (MCAST_LEAVE_GROUP): Likewise.
20457 (MCAST_JOIN_SOURCE_GROUP): Likewise.
20458 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
20459 (MCAST_MSFILTER): Likewise.
20460 (IP_MULTICAST_ALL): Likewise.
20461 (IP_UNICAST_IF): Likewise.
20463 * timezone/Makefile: Delete $(have-ksh) check.
20464 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
20465 * timezone/tzselect.ksh: Add +x mode bits.
20467 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
20468 (ANON_INODE_FS_MAGIC): Likewise.
20469 (BDEVFS_MAGIC): Likewise.
20470 (BINFMTFS_MAGIC): Likewise.
20471 (BTRFS_TEST_MAGIC): Likewise.
20472 (CRAMFS_MAGIC_WEND): Likewise.
20473 (DEBUGFS_MAGIC): Likewise.
20474 (ECRYPTFS_SUPER_MAGIC): Likewise.
20475 (EXT3_SUPER_MAGIC): Likewise.
20476 (EXT4_SUPER_MAGIC): Likewise.
20477 (FUTEXFS_SUPER_MAGIC): Likewise.
20478 (HOSTFS_SUPER_MAGIC): Likewise.
20479 (HUGETLBFS_MAGIC): Likewise.
20480 (MINIX3_SUPER_MAGIC): Likewise.
20481 (MTD_INODE_FS_MAGIC): Likewise.
20482 (NILFS_SUPER_MAGIC): Likewise.
20483 (OPENPROM_SUPER_MAGIC): Likewise.
20484 (PIPEFS_MAGIC): Likewise.
20485 (PSTOREFS_MAGIC): Likewise.
20486 (QNX6_SUPER_MAGIC): Likewise.
20487 (RAMFS_MAGIC): Likewise.
20488 (REISERFS_SUPER_MAGIC_STRING): Likewise.
20489 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
20490 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
20491 (SECURITYFS_MAGIC): Likewise.
20492 (SELINUX_MAGIC): Likewise.
20493 (SMACK_MAGIC): Likewise.
20494 (SOCKFS_MAGIC): Likewise.
20495 (SQUASHFS_MAGIC): Likewise.
20496 (STACK_END_MAGIC): Likewise.
20497 (TMPFS_MAGIC): Likewise.
20498 (USBDEVICE_SUPER_MAGIC): Likewise.
20499 (V9FS_MAGIC): Likewise.
20500 (XENFS_SUPER_MAGIC): Likewise.
20501 (CRAMFS_MAGIC): Fix typo in comment.
20502 (EXT2_SUPER_MAGIC): Update comment.
20503 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
20505 2014-02-08 Joseph Myers <joseph@codesourcery.com>
20507 * sysdeps/arm: Move directory from ports/sysdeps/arm.
20508 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
20509 * sysdeps/unix/sysv/linux/arm: Move directory from
20510 ports/sysdeps/unix/sysv/linux/arm.
20511 * README: Update listing for arm-*-linux-gnueabi.
20513 * README: Remove mention of am33.
20515 2014-02-07 Roland McGrath <roland@hack.frob.com>
20517 * bits/sigset.h (__sigemptyset): Use a statement expression rather
20518 than the comma operator, to avoid "rhs of comma has no effect"
20520 (__sigfillset, __sigandset, __sigorset): Likewise.
20521 * include/signal.h (__sigemptyset): Likewise.
20522 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
20524 2014-02-07 Allan McRae <allan@archlinux.org>
20526 * version.h (RELEASE): Set to "development".
20527 (VERSION): Set to "2.19.90"
20528 * NEWS: Add 2.20 section.
20530 2014-02-06 Carlos O'Donell <carlos@redhat.com>
20533 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
20535 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20537 * manual/contrib.texi: Update entry for Carlos O'Donell,
20538 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
20540 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
20542 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
20544 * sysdeps/unix/sysv/linux/kernel-features.h
20545 [__LINUX_KERNEL_VERSION >= 0x020621]
20546 (__ASSUME_PROC_PID_TASK_COMM): Define.
20548 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20551 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
20552 conversion when destination buffer does not have enough space.
20553 * libio/tst-ftell-partial-wide.c: New test case.
20554 * libio/Makefile (tests): Add tst-ftell-partial-wide.
20556 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
20557 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
20558 Leonard and Allan McRae.
20560 2014-02-04 David S. Miller <davem@davemloft.net>
20562 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
20565 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
20569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
20571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
20573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
20575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
20577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
20579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
20581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
20583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
20585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
20587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
20589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
20591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
20594 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20596 * nptl/shlib-versions: Change powerpc*le start to 2.17.
20597 * shlib-versions: Likewise.
20599 2014-02-04 Roland McGrath <roland@hack.frob.com>
20600 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20602 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
20603 (abilist-pattern): New variable, set to %-le.abilist.
20605 * Makerules (abilist-pattern): New variable.
20606 (vpath): Use $(abilist-pattern) in place of %.abilist.
20607 (check-abi-% pattern rule): Likewise.
20608 (check-abi, update-abi): Likewise.
20610 2014-02-04 Eric Wong <normalperson@yhbt.net>
20612 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20614 2014-02-03 Carlos O'Donell <carlos@redhat.com>
20616 * manual/startup.texi: Add next, previous, and top entries for
20617 the `Program Arguments' and `Environment Variables' nodes.
20619 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
20621 * manual/macros.texi: Add comments before MTASC-safety macros.
20623 * manual/users.texi: Document MTASC-safety properties.
20625 * manual/threads.texi (pthread_key_create, pthread_key_delete)
20626 (pthread_getspecific, pthread_setspecific): Format with
20627 @deftypefun, and add @safety note.
20628 * manual/signal.texi: Move comments that analyze the above
20629 functions to their home place.
20631 2014-02-03 Allan McRae <allan@archlinux.org>
20633 * po/sl.po: Update Slovenian translation from translation project.
20635 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
20637 * manual/time.texi (timegm): Add missing blank after @c.
20638 Reported by Joseph Myers <joseph@codesourcery.com>.
20640 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
20642 * manual/check-safety.sh: New.
20643 * manual/Makefile ($(objpfx)stamp-summary): Run it.
20645 * manual/terminal.texi: Document MTASC-safety properties.
20647 * manual/filesys.texi: Document MTASC-safety properties.
20649 * manual/errno.texi: Document MTASC-safety properties.
20651 * manual/intro.texi: Document safety identifiers and
20654 * manual/string.texi (wcstok): Fix prototype.
20655 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
20657 * manual/time.texi: Document MTASC-safety properties.
20659 * manual/string.texi: Document MTASC-safety properties.
20661 * manual/threads.texi: Document MTASC-safety properties.
20663 * manual/stdio.texi: Document MTASC-safety properties.
20665 * manual/syslog.texi: Document MTASC-safety properties.
20667 * manual/sysinfo.texi: Document MTASC-safety properties.
20669 * manual/startup.texi: Document MTASC-safety properties.
20671 * manual/socket.texi: Document MTASC-safety properties.
20673 * manual/signal.texi: Document MTASC-safety properties.
20675 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
20677 * manual/setjmp.texi: Document MTASC-safety properties.
20679 * manual/search.texi: Document MTASC-safety properties.
20681 * manual/resource.texi: Document MTASC-safety properties.
20683 * manual/process.texi: Document MTASC-safety properties.
20685 * manual/platform.texi: Document MTASC-safety properties.
20687 * manual/pipe.texi: Document MTASC-safety properties.
20689 * manual/pattern.texi: Document MTASC-safety properties.
20691 * manual/message.texi: Document MTASC-safety properties.
20694 * manual/memory.texi: Document MTASC-safety properties.
20696 * manual/math.texi: Document MTASC-safety properties.
20698 * manual/locale.texi: Document MTASC-safety properties.
20700 * manual/llio.texi: Document MTASC-safety properties.
20702 * manual/libdl.texi: New.
20704 * manual/lang.texi: Document MTASC-safety properties.
20706 * manual/job.texi: Document MTASC-safety properties.
20708 * manual/getopt.texi: Document MTASC-safety properties.
20710 * manual/ctype.texi: Document MTASC-safety properties.
20712 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
20715 * csu/libc-tls.c (static_map): Remove variable.
20716 (__libc_setup_tls): Use main executable's link map for TLS data.
20717 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
20718 casing for LM_ID_BASE and GL(dl_nns).
20719 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
20720 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
20721 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
20722 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
20723 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
20725 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
20728 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
20730 * manual/debug.texi: Document MTASC-safety properties.
20732 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
20735 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
20736 of __x86_64__ when disabling x87 inline functions.
20738 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
20740 * manual/charset.texi: Document MTASC-safety properties.
20742 * manual/crypt.texi: Document MTASC-safety properties.
20744 * manual/conf.texi: Document MTASC-safety properties.
20746 * manual/arith.texi: Document MTASC-safety properties.
20748 * manual/argp.texi: Document MTASC-safety properties.
20750 * manual/macros.texi: Introduce macros to document multi
20751 thread, asynchronous signal and asynchronous cancellation
20753 * manual/intro.texi: Introduce the properties themselves.
20755 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20757 * sysdeps/sh/sh4/Makefile: New file.
20759 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
20761 * math/gen-libm-test.pl ($srcdir): New variable.
20762 ($auto_input): Use it.
20764 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20767 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
20768 access beyond array bounds when parsing netgroups file.
20770 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
20771 the old buffer before realloc.
20773 2014-01-27 Allan McRae <allan@archlinux.org>
20775 * po/fr.po: Update French translation from translation project.
20777 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20779 * sysdeps/sh/libm-test-ulps: Regenerate.
20781 2014-01-24 David S. Miller <davem@davemloft.net>
20783 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
20785 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20787 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
20788 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
20790 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20793 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
20794 string pointers after reallocation.
20796 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20798 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
20799 __SH4A__ instead of __SH_FPU_ANY__.
20801 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20803 * sysdeps/sh/fpu_control.h: New file.
20804 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
20805 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
20806 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
20807 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
20808 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
20809 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
20810 * sysdeps/sh/sys/ucontext.h: Remove.
20811 * sysdeps/sh/sys: Remove directory.
20813 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20815 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
20816 s390/sys/ucontext.h.
20817 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
20818 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
20820 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
20823 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
20825 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20828 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20829 Adjust the vDSO correctly for internal calls.
20830 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
20832 2014-01-20 Allan McRae <allan@archlinux.org>
20834 * po/ca.po: Update Catalan translation from translation project.
20836 2014-01-16 Mike Frysinger <vapier@gentoo.org>
20838 * sysdeps/s390/sotruss-lib.c: New file.
20840 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20843 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
20844 (__GI___gettimeofday): Alias for a different internal symbol to avoid
20845 local calls issues by not having a PLT stub required for IFUNC calls.
20846 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
20848 2014-01-16 Joseph Myers <joseph@codesourcery.com>
20850 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
20851 * math/test-fpucw-static.c: Likewise.
20853 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20856 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
20858 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20860 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
20861 implementation for powerpc.
20863 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
20866 * sysdeps/posix/system.c (__libc_system): Do not enable
20867 asynchronous cancellation.
20869 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20872 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
20873 handling only for numbers special also in the IEEE case.
20875 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20877 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20879 2014-01-11 Allan McRae <allan@archlinux.org>
20881 * po/bg.po: Update Bulgarian translation from translation project.
20883 * po/de.po: Update German translation from translation project.
20885 2014-01-10 Roland McGrath <roland@hack.frob.com>
20887 * sysdeps/generic/gcc-compat.h: New file.
20889 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20891 * benchtests/asin-inputs: Correct slow inputs.
20892 * benchtests/acos-inputs: Likewise.
20894 2014-01-10 Allan McRae <allan@archlinux.org>
20896 * po:sv.po: Update Swedish translation from translation project.
20898 * po/vi.po: Update Vietnamese translation from translation project.
20900 * po/eo.po: Update Esperanto translation from translation project.
20902 * po/cs.po: Update Czech translation from translation project.
20904 * po/nl.po: Update Dutch translation from translation project.
20906 * po/pl.po: Update Polish translation from translation project.
20908 * po/ru.po: Update Russian translation from translation project.
20910 * po/uk.po: Update Ukrainian translation from translation project.
20912 2014-01-08 Brooks Moses <bmoses@google.com>
20914 * elf/dl-load.c: Fix comment typo.
20916 2014-01-08 Carlos O'Donell <carlos@redhat.com>
20918 * po/header.pot: Rename to...
20919 * po/pot.header: ... this.
20920 * po/Makefile: Use pot.header.
20922 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
20923 Maxim Kuvyrkov <maxim@kugelworks.com>
20926 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
20927 SRC and DEST against LEN.
20929 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20932 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
20934 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
20936 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20940 2014-01-08 Joseph Myers <joseph@codesourcery.com>
20943 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
20944 for large positive arguments.
20946 2014-01-07 Joseph Myers <joseph@codesourcery.com>
20948 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20950 * math/auto-libm-test-in: Mark various tests with
20951 xfail-rounding:ldbl-128ibm.
20952 * math/auto-libm-test-out: Regenerated.
20955 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
20956 Increase overflow threshold.
20958 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
20961 * stdio-common/vfprintf.c: Check for integer overflow.
20963 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20965 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
20966 the first argument and return value of __tls_get_addr_internal.
20968 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20970 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
20971 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
20973 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20975 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
20976 * sysdeps/s390/rtld-global-offsets.sym: New file.
20977 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
20979 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
20980 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
20981 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
20983 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
20984 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
20986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20988 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20990 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
20991 halfs of GPRs for high_gprs contexts.
20992 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
20993 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
20995 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
20997 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
20999 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
21000 for high GPRs (uc_high_gprs) and for future extensions
21002 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
21003 for future extensions (__reserved).
21004 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
21006 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
21007 SC_HIGHGPRS offset definition.
21008 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
21009 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
21011 * Versions.def: Add GLIBC_2.19 for libpthread.
21012 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
21013 siglongjmp for libpthread with GLIBC_2.19 symver.
21014 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
21015 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
21016 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
21017 * sysdeps/s390/__longjmp.c: New file.
21018 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
21019 * sysdeps/s390/longjmp.c: New file.
21020 * sysdeps/s390/setjmp.S: New file.
21021 * sysdeps/s390/sigjmp.S: New file.
21022 * sysdeps/s390/v1-longjmp.c: New file.
21023 * sysdeps/s390/v1-setjmp.h: New file.
21024 * sysdeps/s390/v1-sigjmp.c: New file.
21025 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
21026 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
21027 GLIBC_2.19 version.
21028 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
21029 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
21030 versioned symbols for ____longjmp_chk.
21031 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
21033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21035 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21037 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21039 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21041 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
21042 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
21043 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
21044 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
21045 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
21046 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
21047 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
21048 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
21049 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
21050 * sysdeps/s390/rtld-__longjmp.c: New file.
21051 * sysdeps/s390/rtld-setjmp.S: New file.
21053 2014-01-06 Joseph Myers <joseph@codesourcery.com>
21056 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
21057 Return -__logl (x) for small positive arguments without evaluating
21060 2014-01-06 Mike Frysinger <vapier@gentoo.org>
21062 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
21064 (__ptrace_peeksiginfo_args): ... this.
21065 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21066 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21067 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21069 2014-01-06 Allan McRae <allan@archlinux.org>
21071 * inet/netinet/in.h: Fix typo in comment.
21073 2014-01-05 Andreas Jaeger <aj@suse.de>
21075 * sysdeps/i386/fpu/libm-test-ulps: Update.
21077 2014-01-05 Allan McRae <allan@archlinux.org>
21079 * po/libc.pot: Regenerated.
21081 * malloc/memusagestat.c: Fix gettext call formatting.
21083 2014-01-04 Sami Kerola <kerolasa@iki.fi>
21085 * nscd/nscd.c: Improve usage() output.
21087 2014-01-04 Mike Frysinger <vapier@gentoo.org>
21089 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
21090 * sysdeps/unix/sysv/linux/configure: Regenerated.
21091 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
21092 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
21094 2014-01-03 Joseph Myers <joseph@codesourcery.com>
21097 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21098 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
21100 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21102 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
21103 extra tokens at end of #undef directive.
21104 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
21105 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
21106 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
21108 2014-01-03 Joseph Myers <joseph@codesourcery.com>
21110 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21112 * math/auto-libm-test-in: Mark various tests with
21113 xfail-rounding:ldbl-128ibm.
21114 * math/auto-libm-test-out: Regenerated.
21116 2014-01-02 Joseph Myers <joseph@codesourcery.com>
21119 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
21120 numbers with subnormal high part when calculating exponent.
21123 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
21127 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
21129 (__ieee754_acoshl): Use __log1pl not __log1p.
21131 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
21133 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
21134 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
21135 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
21136 (grow_heap, heap_trim, _int_new_arena, get_free_list)
21137 (reused_arena, arena_get2): Convert to GNU style.
21138 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
21139 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
21140 (memalign_check, __malloc_set_state): Likewise.
21141 * malloc/mallocbug.c (main): Likewise.
21142 * malloc/malloc.c (__malloc_assert, malloc_init_state)
21143 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
21144 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
21145 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
21146 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
21147 (__posix_memalign, malloc_info): Likewise.
21148 * malloc/malloc.h: Likewise.
21149 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
21150 (mallochook, memalignhook, reallochook, mabort): Likewise.
21151 * malloc/mcheck.h: Likewise.
21152 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
21153 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
21154 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
21155 * malloc/morecore.c (__default_morecore): Likewise.
21156 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
21157 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
21158 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
21159 (print_and_abort): Likewise.
21160 * malloc/obstack.h: Likewise.
21161 * malloc/set-freeres.c (__libc_freeres): Likewise.
21162 * malloc/tst-mallocstate.c (main): Likewise.
21163 * malloc/tst-mtrace.c (main): Likewise.
21164 * malloc/tst-realloc.c (do_test): Likewise.
21166 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21169 * nscd/netgroupcache.c (do_notfound): New function.
21170 (addgetnetgrentX): Use it.
21173 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
21174 NSS_STATUS_NOTFOUND.
21176 2014-01-01 Joseph Myers <joseph@codesourcery.com>
21178 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21181 2014-01-01 Allan McRae <allan@archlinux.org>
21183 * scripts/update-copyrights: Update configure input file suffix.
21185 * NEWS: Update copyright year.
21186 * catgets/gencat.c: Likewise.
21187 * csu/version.c: Likewise.
21188 * debug/catchsegv.sh: Likewise.
21189 * debug/pcprofiledump.c: Likewise.
21190 * debug/xtrace.sh: Likewise.
21191 * elf/ldconfig.c: Likewise.
21192 * elf/ldd.bash.in: Likewise.
21193 * elf/pldd.c: Likewise.
21194 * elf/sotruss.ksh: Likewise.
21195 * elf/sprof.c: Likewise.
21196 * iconv/iconv_prog.c: Likewise.
21197 * iconv/iconvconfig.c: Likewise.
21198 * locale/programs/locale.c: Likewise.
21199 * locale/programs/localedef.c: Likewise.
21200 * login/programs/pt_chown.c: Likewise.
21201 * malloc/memusage.sh: Likewise.
21202 * malloc/memusagestat.c: Likewise.
21203 * malloc/mtrace.pl: Likewise.
21204 * manual/libc.texinfo: Likewise.
21205 * nscd/nscd.c: Likewise.
21206 * nss/getent.c: Likewise.
21207 * nss/makedb.c: Likewise.
21208 * posix/getconf.c: Likewise.
21209 * scripts/test-installation.pl: Likewise.
21211 * All files with FSF copyright notices: Update copyright dates
21212 using scripts/update-copyrights.
21213 * intl/plural.c: Regenerated.
21214 * locale/programs/charmap-kw.h: Likewise.
21215 * locale/programs/locfile-kw.h: Likewise.
21217 2013-12-31 Mike Frysinger <vapier@gentoo.org>
21219 * sysdeps/unix/sysv/linux/configure: Regenerated.
21220 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
21221 the linux/fanotify.h header.
21222 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
21223 HAVE_LINUX_FANOTIFY_H is defined.
21225 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21227 * benchtests/cos-inputs: New inputs.
21228 * benchtests/sin-inputs: Likewise.
21230 * benchtests/atan-inputs: New inputs. Fix name of multiple
21231 precision fallback inputs.
21233 * benchtests/atanh-inputs: New inputs.
21234 * benchtests/tanh-inputs: Likewise.
21236 * benchtests/acosh-inputs: New inputs.
21237 * benchtests/asinh-inputs: Likewise.
21239 * benchtests/cosh-inputs: New inputs.
21240 * benchtests/sinh-inputs: Likewise.
21242 * benchtests/acos-inputs: Add more inputs.
21243 * benchtests/asin-inputs: Likewise.
21245 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
21248 * manual/arith.texi: Fix spelling.
21249 * manual/charset.texi: Likewise.
21250 * manual/errno.texi: Likewise.
21251 * manual/filesys.texi: Likewise.
21252 * manual/lang.texi: Likewise.
21253 * manual/llio.texi: Likewise.
21254 * manual/locale.texi: Likewise.
21255 * manual/message.texi: Likewise.
21256 * manual/resource.texi: Likewise.
21257 * manual/search.texi: Likewise.
21258 * manual/setjmp.texi: Likewise.
21259 * manual/stdio.texi: Likewise.
21260 * manual/string.texi: Likewise.
21261 * manual/sysinfo.texi: Likewise.
21262 * manual/time.texi: Likewise.
21264 2013-12-27 Carlos O'Donell <carlos@redhat.com>
21266 * po/sl.po: New file.
21268 2013-12-27 Mike Frysinger <vapier@gentoo.org>
21270 * .gitignore: Add core/.gdbinit/.gdb_history.
21272 2013-12-27 Allan McRae <allan@archlinux.org>
21275 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
21276 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
21278 2013-12-24 Brooks Moses <bmoses@google.com>
21280 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
21281 all compilers that claim C++98 compliance, not just GCC.
21282 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
21285 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
21287 * NEWS: Restore accidentally deleted bug-fix entries.
21289 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
21290 Ondřej Bílka <neleai@seznam.cz>
21293 * malloc/malloc.c (_int_free): Perform sanity check only if we
21296 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
21299 * manual/stdio.texi (String Input Conversions): Clarify that character
21300 classes are not supported.
21302 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21304 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21306 2013-12-22 Joseph Myers <joseph@codesourcery.com>
21309 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
21310 Calculate results for small negative arguments directly rather
21311 than using reflection formula with special underflow handling.
21313 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
21314 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
21315 sysdeps/unix/bsd/bsd4.4/syscalls.list.
21316 (fchflags): Likewise.
21317 (revoke): Likewise.
21318 (setlogin): Likewise.
21319 (sigaltstack): Likewise.
21321 (sigblock): Remove.
21322 (sigsetmask): Likewise.
21324 (waitpid): Likewise.
21325 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
21326 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
21328 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
21329 * sysdeps/unix/bsd/Makefile: ... here.
21330 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
21331 * sysdeps/unix/bsd/Versions: ... here.
21332 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
21333 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
21334 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
21335 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
21336 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
21337 * sysdeps/unix/bsd/sigblock.c: ... here.
21338 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
21339 * sysdeps/unix/bsd/sigsetmask.c: ... here.
21340 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
21341 * sysdeps/unix/bsd/sigvec.c: ... here.
21342 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
21343 * sysdeps/unix/bsd/tcdrain.c: ... here.
21344 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
21345 * sysdeps/unix/bsd/tcgetattr.c: ... here.
21346 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
21347 * sysdeps/unix/bsd/tcsetattr.c: ... here.
21348 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
21349 * sysdeps/unix/bsd/wait.c: ... here.
21350 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
21351 * sysdeps/unix/bsd/wait3.c: ... here.
21352 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
21353 * sysdeps/unix/bsd/waitpid.c: ... here.
21355 2013-12-21 Joseph Myers <joseph@codesourcery.com>
21358 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
21359 round-to-nearest for [!USE_AS_EXPM1L].
21360 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
21361 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
21362 more tests of exp and exp10. Expect some exp10 tests to miss
21363 exceptions or fail in directed rounding modes.
21364 * math/auto-libm-test-out: Regenerated.
21365 * math/libm-test.inc (exp10_tonearest_test_data): New array.
21366 (exp10_test_tonearest): New function.
21367 (exp10_towardzero_test_data): New array.
21368 (exp10_test_towardzero): New function.
21369 (exp10_downward_test_data): New array.
21370 (exp10_test_downward): New function.
21371 (exp10_upward_test_data): New array.
21372 (exp10_test_upward): New function.
21373 (main): Call the new functions.
21374 * sysdeps/i386/fpu/libm-test-ulps: Update.
21375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21377 2013-12-20 Joseph Myers <joseph@codesourcery.com>
21379 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
21380 asinh, atan, atan2, atanh, cbrt, cos and cosh.
21381 * math/auto-libm-test-out: Regenerated.
21382 * math/libm-test.inc (acosh_test_data): Add more tests.
21383 (atanh_test_data): Likewise.
21384 (ceil_test_data): Likewise.
21385 (copysign_test_data): Likewise.
21386 * sysdeps/i386/fpu/libm-test-ulps: Update.
21387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21389 * timezone/checktab.awk: Update from tzcode 2013i.
21390 * timezone/private.h: Likewise.
21391 * timezone/scheck.c: Likewise.
21392 * timezone/tzfile.h: Likewise.
21393 * timezone/tzselect.ksh: Likewise.
21394 * timezone/zdump.c: Likewise.
21395 * timezone/zic.c: Likewise.
21397 * math/auto-libm-test-in: Add tests of cpow.
21398 * math/auto-libm-test-out: Regenerated.
21399 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
21400 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21402 (func_calc_desc): Add mpc_cc_c union field.
21403 (test_functions): Add cpow.
21404 (special_fill_2pi): New function.
21405 (special_real_inputs): Add 2pi.
21406 (calc_generic_results): Handle mpc_cc_c.
21407 * sysdeps/i386/fpu/libm-test-ulps: Update.
21408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21410 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
21411 csqrt, ctan and ctanh.
21412 * math/auto-libm-test-out: Regenerated.
21413 * math/libm-test.inc (TEST_COND_x86_64): New macro.
21414 (TEST_COND_x86): Likewise.
21415 (ccos_test_data): Use AUTO_TESTS_c_c.
21416 (ccosh_test_data): Likewise.
21417 (cexp_test_data): Likewise.
21418 (clog_test_data): Likewise.
21419 (csqrt_test_data): Likewise.
21420 (ctan_test_data): Likewise.
21421 (ctan_tonearest_test_data): Likewise.
21422 (ctan_towardzero_test_data): Likewise.
21423 (ctan_downward_test_data): Likewise.
21424 (ctan_upward_test_data): Likewise.
21425 (ctanh_test_data): Likewise.
21426 (ctanh_tonearest_test_data): Likewise.
21427 (ctanh_towardzero_test_data): Likewise.
21428 (ctanh_downward_test_data): Likewise.
21429 (ctanh_upward_test_data): Likewise.
21430 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21432 (func_calc_desc): Add mpc_c_c union field.
21433 (FUNC_mpc_c_c): New macro.
21434 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
21435 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
21437 (special_fill_min_subnorm_p120): New function.
21438 (special_real_inputs): Add min_subnorm_p120.
21439 (calc_generic_results): Handle mpc_c_c.
21440 * sysdeps/i386/fpu/libm-test-ulps: Update.
21441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21443 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21445 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
21446 (do_sin_slow): New functions.
21447 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
21448 (cslow2, csloww1, csloww2): Use the new functions.
21450 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
21451 Use M to change sign of result instead of X. Assume X is
21453 (csloww1): Likewise.
21457 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
21458 arguments A and DA.
21462 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
21464 (sloww1): Don't adjust sign of DX.
21465 (csloww1): Likewise.
21466 (sloww2): Use X directly and don't adjust sign of DX.
21467 (csloww2): Likewise.
21469 2013-12-19 Joseph Myers <joseph@codesourcery.com>
21471 * math/auto-libm-test-in: Add tests of cabs and carg.
21472 * math/auto-libm-test-out: Regenerated.
21473 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
21474 (carg_test_data): Likewise.
21475 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21477 (func_calc_desc): Add mpc_c_f union field.
21478 (test_functions): Add cabs and carg.
21479 (calc_generic_results): Handle mpc_c_f.
21481 * sysdeps/powerpc/powerpc32/libgcc-compat.S
21482 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
21483 as a macro and a compat symbol.
21484 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
21485 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
21486 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
21487 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
21488 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
21489 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
21491 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
21493 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
21495 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
21497 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
21499 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
21501 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
21502 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
21505 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21509 2013-12-19 Joseph Myers <joseph@codesourcery.com>
21511 * manual/texinfo.tex: Update to version 2013-11-26.10 with
21512 trailing whitespace removed.
21513 * scripts/config.guess: Update to version 2013-11-29.
21514 * scripts/config.sub: Update to version 2013-10-01.
21516 * math/auto-libm-test-in: Add tests of sincos.
21517 * math/auto-libm-test-out: Regenerated.
21518 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
21519 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21521 (func_calc_desc): Add mpfr_f_11 union field.
21522 (test_functions): Add sincos.
21523 (calc_generic_results): Handle mpfr_f_11.
21524 * sysdeps/i386/fpu/libm-test-ulps: Update.
21525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21527 2013-12-19 Andreas Schwab <schwab@suse.de>
21529 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
21531 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21532 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
21533 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
21535 2013-12-19 Joseph Myers <joseph@codesourcery.com>
21537 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
21538 * sysdeps/i386/fpu/libm-test-ulps: Update.
21539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21542 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
21543 round-to-nearest mode when using frndint.
21544 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
21545 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21546 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
21548 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
21550 * math/auto-libm-test-out: Regenerated.
21551 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
21552 (TEST_COND_x86): Likewise.
21553 (expm1_tonearest_test_data): New array.
21554 (expm1_test_tonearest): New function.
21555 (expm1_towardzero_test_data): New array.
21556 (expm1_test_towardzero): New function.
21557 (expm1_downward_test_data): New array.
21558 (expm1_test_downward): New function.
21559 (expm1_upward_test_data): New array.
21560 (expm1_test_upward): New function.
21561 (main): Run the new test functions.
21562 * sysdeps/i386/fpu/libm-test-ulps: Update.
21563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21565 * include/features.h: Update comment documenting feature test
21566 macros. Mention _DEFAULT_SOURCE in comment.
21567 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
21568 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
21569 _BSD_SOURCE and _SVID_SOURCE.
21570 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
21571 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
21572 !_SVID_SOURCE]: Likewise.
21573 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
21574 (__USE_POSIX_IMPLICITLY): Define.
21575 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
21576 (_POSIX_SOURCE): Undefine and redefine.
21577 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
21578 (_POSIX_C_SOURCE): Likewise.
21579 * manual/creature.texi (_DEFAULT_SOURCE): Document.
21580 (Feature Test Macros): Update documentation of default features.
21582 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21584 * benchtests/Makefile: Add bench-strtok.
21585 * benchtests/bench-strtok.c: New file: strtok benchtest.
21587 2013-12-19 Allan McRae <allan@archlinux.org>
21589 * manual/install.texi: Suppress menu for plain text output.
21590 * INSTALL: Regenerated.
21592 2013-12-18 Brooks Moses <bmoses@google.com>
21595 * misc/getauxval.c: Include errno.h.
21596 (__getauxval): Set errno to ENOENT if the requested type is not
21598 * misc/sys/auxv.h (getauxval): Document that it may set errno;
21599 don't declare with __attribute_const__.
21600 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
21601 * manual/startup.texi: Document that getauxval sets errno.
21603 2013-12-18 Joseph Myers <joseph@codesourcery.com>
21605 * math/auto-libm-test-in: Add tests of jn and yn.
21606 * math/auto-libm-test-out: Regenerated.
21607 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
21608 (yn_test_data): Likewise.
21609 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21611 (func_calc_desc): Add mpfr_if_f union field.
21612 (FUNC_mpfr_if_f): New macro.
21613 (test_functions): Add jn and yn.
21614 (calc_generic_results): Assert type of second input for
21615 mpfr_ff_f. Handle mpfr_if_f.
21616 (output_for_one_input_case): Disable all checking for arguments
21617 fitting floating-point types in case of an integer argument.
21618 * sysdeps/i386/fpu/libm-test-ulps: Update.
21619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21622 Don't expect fegetround reference in libm.so.
21624 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21626 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
21627 $(config-cflags-nofma).
21629 2013-12-18 Joseph Myers <joseph@codesourcery.com>
21631 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
21632 * math/auto-libm-test-out: Regenerated.
21635 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
21636 to determine exponent and adjust argument to have exponent of -1.
21637 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
21639 * math/auto-libm-test-out: Regenerated.
21640 * sysdeps/i386/fpu/libm-test-ulps: Update.
21641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21643 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
21645 * manual/probes.texi: Remove cases when per-thread arenas are
21648 2013-12-18 Andreas Schwab <schwab@suse.de>
21650 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
21651 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
21652 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
21653 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
21654 * sysdeps/i386/i686/multiarch/Makefile: Update.
21655 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
21657 2013-12-17 Joseph Myers <joseph@codesourcery.com>
21659 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
21660 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
21662 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
21665 Support TZ transition times < 00:00:00.
21666 This is needed for version-3 tz-format files; it supports time
21667 stamps past 2037 for America/Godthab (the only entry in the tz
21668 database for which this change is relevant).
21669 * manual/time.texi (TZ Variable): Document transition times
21670 from -167:59:59 through -00:00:01.
21671 * time/tzset.c (tz_rule): Time of day is now signed.
21672 (__tzset_parse_tz): Parse negative time of day.
21674 Document TZ transition times >= 25:00:00.
21675 * manual/time.texi (TZ Variable): Document transition times from
21676 25:00:00 through 167:59:59. These are already supported, and this
21677 support will help with version-3 tz-format files.
21679 * manual/time.texi (TZ Variable): Modernize North America example
21680 to reflect current (i.e., 2007-and-later) daylight saving rules.
21682 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
21684 2013-12-17 Joseph Myers <joseph@codesourcery.com>
21686 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
21687 * sysdeps/unix/bsd/bits/stat.h: Likewise.
21688 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
21689 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21690 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
21691 * sysdeps/unix/bsd/bsdstat.h: Likewise.
21692 * sysdeps/unix/bsd/clock.c: Likewise.
21693 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
21694 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
21695 * sysdeps/unix/bsd/init-posix.c: Likewise.
21696 * sysdeps/unix/bsd/poll.c: Likewise.
21697 * sysdeps/unix/bsd/ptsname.c: Likewise.
21698 * sysdeps/unix/bsd/seekdir.c: Likewise.
21699 * sysdeps/unix/bsd/setegid.c: Likewise.
21700 * sysdeps/unix/bsd/seteuid.c: Likewise.
21701 * sysdeps/unix/bsd/setgid.c: Likewise.
21702 * sysdeps/unix/bsd/setrgid.c: Likewise.
21703 * sysdeps/unix/bsd/setruid.c: Likewise.
21704 * sysdeps/unix/bsd/setsid.c: Likewise.
21705 * sysdeps/unix/bsd/setuid.c: Likewise.
21706 * sysdeps/unix/bsd/sigaction.c: Likewise.
21707 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
21708 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
21709 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
21710 * sysdeps/unix/bsd/telldir.c: Likewise.
21711 * sysdeps/unix/bsd/times.c: Likewise.
21712 * sysdeps/unix/bsd/usleep.c: Likewise.
21714 * misc/Makefile (install-lib): Remove libbsd-compat.a.
21715 ($(objpfx)libbsd-compat.a): Remove rule.
21717 * include/features.h (__FAVOR_BSD): Do not define.
21718 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
21719 features conflicting with POSIX.
21720 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
21721 (_BSD_SOURCE): Remove description of not being a subset of other
21722 feature test macros.
21723 * manual/job.texi (getpgrp): Do not document BSD version.
21724 (getpgid): Do not document by reference to BSD getpgrp.
21725 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
21726 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
21727 * signal/signal.h [__FAVOR_BSD]: Likewise.
21728 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
21729 instead of making contents conditional on [__FAVOR_BSD].
21730 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
21732 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21734 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21736 2013-12-17 Joseph Myers <joseph@codesourcery.com>
21739 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
21740 values below 2**-450, not 2**-500.
21741 * math/auto-libm-test-in: Don't allow spurious underflow from
21743 * math/auto-libm-test-out: Regenerated.
21747 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
21748 values of ha and hb and sort them after adjusting subnormal
21750 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
21752 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
21753 values of ea and eb and sort them after adjusting subnormal
21755 * math/auto-libm-test-in: Do not expect some hypot tests of
21756 subnormals to fail. Add more hypot tests.
21757 * math/auto-libm-test-out: Regenerated.
21759 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21762 * sysdeps/sh/s_fma.c: New file.
21763 * sysdeps/sh/s_fmaf.c: New file.
21764 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
21766 * sysdeps/sh/Implies: Add sh/soft-fp.
21768 2013-12-16 Roland McGrath <roland@hack.frob.com>
21770 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
21771 level of indirection to members `objname', `errstring', `malloced'.
21772 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
21773 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
21774 it as the __longjmp argument (just pass 1 instead).
21775 (_dl_catch_error): Initialize C with argument pointers and address of
21776 volatile local ERRCODE rather than copying values out of C at return.
21778 2013-12-16 Joseph Myers <joseph@codesourcery.com>
21780 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
21781 * math/auto-libm-test-out: Regenerated.
21782 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
21783 (hypot_test_data): Likewise.
21784 (pow_test_data): Likewise.
21785 (pow_tonearest_test_data): Likewise.
21786 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21788 (func_calc_desc): Add mpfr_ff_f union field.
21789 (FUNC_mpfr_ff_f): New macro.
21790 (test_functions): Add atan2, hypot and pow.
21791 (special_fill_min): New function.
21792 (special_fill_minus_min): Likewise.
21793 (special_fill_min_subnorm): Likewise.
21794 (special_fill_minus_min_subnorm): Likewise.
21795 (special_real_inputs): Add min, -min, min_subnorm and
21797 (calc_generic_results): Handle mpfr_ff_f.
21798 * sysdeps/i386/fpu/libm-test-ulps: Update.
21799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21801 2013-12-16 Will Newton <will.newton@linaro.org>
21803 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
21804 (Aligned Memory Blocks): Add documentation for aligned_alloc
21805 and suggest it as an alternative to posix_memalign.
21806 (Hooks for Malloc): Document __memalign_hook is also called
21807 for aligned_alloc. (Summary of Malloc): Add summary for
21808 aligned alloc. Document __memalign_hook is also called
21811 2013-12-16 Will Newton <will.newton@linaro.org>
21813 * manual/memory.texi (Malloc Examples): Clarify default
21814 alignment documentation. Suggest posix_memalign rather
21815 than memalign or valloc.
21816 (Aligned Memory Blocks): Remove suggestion to use memalign
21817 or valloc. Remove obsolete comment about BSD.
21818 Document memalign errno values and mark the function obsolete.
21819 Document posix_memalign returned error codes. Mark valloc
21820 as obsolete. (Hooks for Malloc): __memalign_hook is also
21821 called for posix_memalign and valloc.
21822 (Summary of Malloc): Add posix_memalign to function summary.
21823 __memalign_hook is also called for posix_memalign and valloc.
21825 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21827 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
21831 (sloww): Use mynumber union. Expand ternary operator into
21832 if-else statements.
21833 (cslow): use mynumber union.
21835 2013-12-16 Allan McRae <allan@archlinux.org>
21837 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
21838 * configure: Regenerated.
21840 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
21843 * configure.ac: Added --enable-maintainer-mode. Check for
21844 autoconf when enabled.
21845 * configure: Regenerated.
21847 * nscd/nscd.service: New file.
21848 * nscd/nscd.tmpfiles: New file.
21850 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
21853 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
21854 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
21855 * sysdeps/x86_64/multiarch/strstr.c: ... here.
21856 (strstr): Add __strstr_sse2_unaligned ifunc.
21857 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
21858 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
21859 (strcasestr): Remove __strcasestr_sse42 ifunc.
21860 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
21861 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21862 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21864 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21866 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
21867 * sysdeps/sh/bits/fenv.h: ... here.
21868 * sysdeps/sh/sh4/fpu/bits: Remove directory.
21870 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21872 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
21874 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
21875 hypotf multiarch implementations.
21876 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
21877 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
21878 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
21879 multiarch hypot for PPC64.
21880 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
21881 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
21882 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
21883 multiarch hypotf for PPC64.
21885 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
21886 modff multiarch implementations.
21887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
21888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
21889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
21890 multiarch modf for PPC64.
21891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
21892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
21893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
21894 multiarch modff for PPC64.
21896 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
21897 and logl multiarch implementations.
21898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
21899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
21900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
21901 multiarch logb for PPC64.
21902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
21903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
21904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
21905 multiarch logb for PPC64.
21906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
21907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
21908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
21909 multiarch logb for PPC64.
21911 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
21912 isinff multiarch implementation.
21913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
21915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
21916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
21917 multiarch isinf for PPC64.
21918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
21920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
21921 multiarch isinff for PPC64.
21923 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
21924 finitef multiarch implementation.
21925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
21927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
21928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
21929 multiarch finite for PPC64.
21930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
21932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
21933 multiarch finitef for PPC64.
21935 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
21936 lrint multiarch implementation.
21937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
21939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
21940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
21941 multiarch llrint for PPC64.
21942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
21943 multiarch lrint for PPC64.
21945 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
21946 copysignf multiarch implementation.
21947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
21949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
21951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
21952 multiarch copysign for PPC64.
21953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
21954 multiarch copysignf for PPC64.
21956 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
21957 multiarch implementation.
21958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
21960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
21962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
21964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
21966 multiarch llround for PPC64.
21967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
21968 multiarch trunc for PPC64.
21969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
21970 multiarch truncf for PPC64.
21972 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
21973 multiarch implementation.
21974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
21976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
21978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
21980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
21982 multiarch llround for PPC64.
21983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
21984 multiarch round for PPC64.
21985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
21986 multiarch roundf for PPC64.
21988 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
21989 multiarch implementation.
21990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
21992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
21994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
21996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
21998 multiarch llround for PPC64.
21999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
22000 multiarch floor for PPC64.
22001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
22002 multiarch floorf for PPC64.
22004 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
22005 multiarch implementation.
22006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
22008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
22010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
22012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
22014 multiarch llround for PPC64.
22015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
22016 multiarch ceil for PPC64.
22017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
22018 multiarch ceilf for PPC64.
22020 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
22021 multiarch implementation.
22022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
22024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
22026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
22028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
22029 multiarch llround for PPC64.
22030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
22031 multiarch lround for PPC64.
22033 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
22034 multiarch implementation.
22035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
22036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
22037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
22039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
22040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
22041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
22042 multiarch isnan for PPC64.
22043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
22044 multiarch isnanf for PPC64.
22046 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
22047 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
22048 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
22049 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
22050 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
22051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
22053 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
22054 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22055 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22056 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22058 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
22059 multiarch implementations.
22060 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22061 (__libc_ifunc_impl_list): Likewise.
22062 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
22063 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
22064 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
22065 multiarch stpcpy for PPC64.
22067 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
22068 multiarch implementations.
22069 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22070 (__libc_ifunc_impl_list): Likewise.
22071 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
22072 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
22073 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
22074 multiarch strcpy for PPC64.
22076 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
22077 redefine function name.
22078 (_wordcopy_fwd_dest_aligned): Likewise.
22079 (_wordcopy_bwd_aligned): Likewise.
22080 (_wordcopy_bwd_dest_aligned): Likewise.
22081 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
22082 multiarch implementations.
22083 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22084 (__libc_ifunc_impl_list): Likewise.
22085 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
22086 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
22087 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
22088 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
22089 multiarch wcscpy for PPC64.
22091 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
22092 multiarch implementations.
22093 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22094 (__libc_ifunc_impl_list): Likewise.
22095 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
22096 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
22097 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
22098 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
22099 multiarch wcscpy for PPC64.
22101 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
22102 multiarch implementations.
22103 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22104 (__libc_ifunc_impl_list): Likewise.
22105 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
22106 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
22107 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
22108 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
22109 multiarch wcsrchr for PPC64.
22111 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
22112 multiarch implementations.
22113 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22114 (__libc_ifunc_impl_list): Likewise.
22115 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
22116 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
22117 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
22118 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
22119 multiarch wcschr for PPC64.
22121 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
22122 multiarch implementations.
22123 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22124 (__libc_ifunc_impl_list): Likewise.
22125 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
22126 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
22127 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
22128 multiarch strchrnul for PPC64.
22130 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
22132 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22133 (__libc_ifunc_impl_list): Likewise.
22134 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
22135 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
22136 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
22137 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
22140 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
22142 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22143 (__libc_ifunc_impl_list): Likewise.
22144 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
22145 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
22146 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
22147 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
22150 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
22151 multiarch implementations.
22152 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22153 (__libc_ifunc_impl_list): Likewise.
22154 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
22155 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
22156 strncasecmp for PPC64.
22157 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
22158 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
22159 multiarch strncasecmp_l for PPC64.
22161 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
22162 multiarch implementations.
22163 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22164 (__libc_ifunc_impl_list): Likewise.
22165 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
22166 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
22167 multiarch strcasecmp for PPC64.
22168 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
22170 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
22171 multiarch strcasecmp_l for PPC64.
22173 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
22175 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22176 (__libc_ifunc_impl_list): Likewise.
22177 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
22178 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
22179 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
22182 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
22184 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22185 (__libc_ifunc_impl_list): Likewise.
22186 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
22187 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
22188 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
22191 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
22193 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22194 (__libc_ifunc_impl_list): Likewise.
22195 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
22196 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
22197 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
22198 rawmemrchr for PPC64.
22200 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
22202 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22203 (__libc_ifunc_impl_list): Likewise.
22204 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
22205 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
22206 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
22209 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
22211 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22212 (__libc_ifunc_impl_list): Likewise.
22213 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
22214 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
22215 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
22218 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
22220 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22221 (__libc_ifunc_impl_list): Likewise.
22222 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
22223 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
22224 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
22227 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
22228 avoid cretion of __bzero symbol.
22229 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
22231 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
22233 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
22235 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
22236 multiarch implementations.
22237 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22238 (__libc_ifunc_impl_list): Likewise.
22239 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
22240 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
22241 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
22242 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
22244 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
22245 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
22246 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
22247 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
22248 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
22250 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
22252 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
22253 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
22255 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22256 (__libc_ifunc_impl_list): Likewise.
22257 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
22258 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
22259 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
22260 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
22263 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
22264 multiarch for POWER/PPC64.
22265 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
22266 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
22267 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
22268 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
22269 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
22270 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
22271 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
22272 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
22273 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
22276 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
22277 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
22278 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
22279 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
22280 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
22281 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
22282 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
22283 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
22284 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
22285 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
22286 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
22287 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
22288 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
22289 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
22290 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
22291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
22292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
22293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
22294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
22295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
22296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
22297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
22299 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22301 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
22303 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22305 * benchtests/Makefile (bench): Add exp2 and log2.
22306 (LDLIBS-bench-exp2): Add -lm.
22307 (LDLIBS-bench-log2): Likewise.
22308 * benchtests/exp2-inputs: New inputs file.
22309 * benchtests/log2-inputs: New inputs file.
22310 * benchtests/log-inputs: Add new inputs.
22311 * benchtests/tan-inputs: Likewise.
22313 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22315 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
22317 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
22318 (csloww2): ... from here.
22320 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
22321 instead of structures.
22322 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
22323 (POLYNOMIAL): Likewise.
22324 (TAYLOR_SLOW): Likewise.
22330 (sloww1); Likewise.
22331 (sloww2): Likewise.
22332 (bsloww1): Likewise.
22333 (bsloww2): Likewise.
22334 (cslow2): Likewise.
22335 (csloww): Likewise.
22336 (csloww1): Likewise.
22337 (csloww2): Likewise.
22339 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
22341 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
22342 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
22343 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
22344 * malloc/hooks.c (realloc_check): Likewise.
22346 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
22347 * malloc/arena.c: Remove PER_THREAD conditional.
22348 [!PER_THREAD]: Remove code.
22349 (ptmalloc_unlock_all2): Likewise.
22350 (ptmalloc_init): Likewise.
22351 (_int_new_arena): Likewise.
22352 (arena_get2): Likewise.
22353 * malloc/hooks.c (__malloc_get_state): Likewise.
22354 (__malloc_set_state): Likewise.
22355 * malloc/malloc.c: Likewise.
22356 (struct malloc_state): Likewise.
22357 (struct malloc_par): Likewise.
22358 (__libc_realloc): Likewise.
22359 (__libc_mallopt): Likewise.
22361 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22363 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
22365 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
22367 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
22368 macro to a function. Check for zero perturb_byte.
22369 (_int_malloc, _int_free): Remove zero perturb_byte checks.
22371 * malloc/malloc.c: (force_reg): Remove.
22372 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
22373 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
22374 force_reg by atomic_forced_read.
22375 * malloc/arena.c (ptmalloc_init): Likewise.
22376 * malloc/hooks.c (top_check): Likewise.
22378 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22380 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22382 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
22384 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22386 2013-12-08 Joseph Myers <joseph@codesourcery.com>
22388 * math/auto-libm-test-in: Add tests of lgamma.
22389 * math/auto-libm-test-out: Regenerated.
22390 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
22391 (M_LOG_2_SQRT_PIl): Likewise.
22392 (lgamma_test_data): Use AUTO_TESTS_f_f1.
22393 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22395 (func_calc_desc): Add mpfr_f_f1 union field.
22396 (ARGS1): New macro.
22404 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
22405 (test_functions): Add lgamma.
22406 (calc_generic_results): Handle mpfr_f_f1.
22407 * sysdeps/i386/fpu/libm-test-ulps: Update.
22408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22410 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22412 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
22413 __mpn_add_n for PowerPC64/POWER7.
22414 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
22415 __mpn_sub_n for PowerPC64/POWER7.
22417 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
22418 __mpn_addmul_1 for PowerPC64.
22419 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
22420 __mpn_submul_1 for PowerPC64.
22421 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
22423 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
22426 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
22429 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
22431 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22433 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
22435 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
22436 add multiarch folders.
22437 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
22438 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
22439 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
22440 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
22441 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
22442 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
22443 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
22444 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
22445 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
22446 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
22447 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
22448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
22449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
22450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
22451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
22452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
22453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
22455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
22456 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
22457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
22459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
22461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
22462 multiarch __ieee754_hypot for PowerPC32.
22463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
22465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
22467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
22468 multiarch __ieee754_hypotf for PowerPC32.
22470 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
22471 long_double_symbol only if __logbl is defined.
22472 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
22473 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
22474 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
22475 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
22476 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
22477 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
22478 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
22479 path for implementation.
22480 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
22481 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
22482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
22483 logb, and logbl multiarch implementations for PowerPC32.
22484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
22486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
22488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
22489 multiarch logb for PowerPC32.
22490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
22492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
22494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
22495 multiarch logbf for PowerPC32.
22496 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
22497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
22499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
22500 multiarch logbl implementation for PowerPC32.
22502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
22503 and modff multiarch implementations.
22504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
22506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
22508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
22509 multiarch modf for PowerPC32.
22510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
22512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
22514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
22515 multiarch modff for PowerPC32.
22517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
22518 and lrintf multiarch implementations.
22519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
22521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
22523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
22524 multiarch lrint for PowerPC32.
22525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
22526 file: multiarch lrintf for PowerPC32.
22528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
22529 and lroundf multiarch implementations.
22530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
22532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
22534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
22536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
22537 multiarch lround for PowerPC32.
22538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
22539 file: multiarch lroundf for PowerPC32.
22541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
22542 copysign and copysignf multiarch implementations.
22543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
22545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
22547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
22548 file: multiarch copysign for PowerPC32.
22549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
22550 file: multiarch copysignf for PowerPC32.
22552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
22553 and truncf multiarch implementations.
22554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
22556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
22558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
22559 multiarch trunc for PowerPC32.
22560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
22562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
22564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
22565 multiarch truncf for PowerPC32.
22567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
22568 and roundf multiarch implementations.
22569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
22571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
22573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
22574 multiarch round for PowerPC32.
22575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
22577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
22579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
22580 multiarch roundf for PowerPC32.
22582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
22583 and floorf multiarch implementations.
22584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
22586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
22588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
22589 multiarch floor for PowerPC32.
22590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
22592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
22594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
22595 multiarch floorf for PowerPC32.
22597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
22598 and ceilf multiarch implementations.
22599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
22601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
22603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
22604 multiarch ceil for PowerPC32.
22605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
22607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
22609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
22610 multiarch ceilf for PowerPC32.
22612 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
22614 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
22615 FINITEF is defined.
22616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
22617 and finitef multiarch implementations.
22618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
22620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
22622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
22623 multiarch finite for PowerPC32.
22624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
22626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
22627 file: multiarch finitef for PowerPC32.
22629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
22630 and isinff multiarch implementations.
22631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
22633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
22635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
22636 multiarch isinf for PowerPC32.
22637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
22639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
22640 multiarch isinff for PowerPC32.
22642 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
22643 alias when __isnan is defined.
22644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
22645 and isnanf multiarch implementations.
22646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
22648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
22650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
22652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
22654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
22655 multiarch isnan for PowerPC32.
22656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
22658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
22660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
22661 multiarch isnanf for PowerPC32.
22663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
22664 and sqrtf multiarch implementations.
22665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
22667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
22669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
22670 multiarch sqrt for PowerPC32.
22671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
22673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
22675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
22676 multiarch sqrtf for PowerPC32.
22678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
22679 and llroundf multiarch implementations.
22680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
22682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
22684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
22686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
22687 file: multiarch llround for PowerPC32.
22688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
22689 file: multiarch llroundf for PowerPC32.
22691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
22692 multiarch PowerPC32 fpu implementations.
22693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
22695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
22697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
22698 multiarch llrint for PowerPC32.
22699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
22701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
22703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
22706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
22708 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
22710 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
22712 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
22714 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
22715 multiarch wordcopy for PPC32.
22716 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
22718 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22719 (__libc_ifunc_impl_list): Likewise.
22720 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
22721 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
22722 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
22723 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
22724 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
22725 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
22727 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
22728 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
22730 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
22732 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
22734 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
22735 multiarch wcscpy for PPC32.
22736 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
22738 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22739 (__libc_ifunc_impl_list): Likewise.
22740 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
22741 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
22742 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
22743 sysdeps/powerpc/power6/wcscpy.c.
22745 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
22746 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
22748 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
22750 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
22752 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
22753 multiarch wcsrchr for PPC32.
22754 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
22756 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22757 (__libc_ifunc_impl_list): Likewise.
22758 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
22759 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
22760 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
22761 sysdeps/powerpc/power6/wcsrchr.c.
22763 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
22765 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
22767 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
22768 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
22769 multiarch wcschr for PPc32.
22770 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
22772 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22773 (__libc_ifunc_impl_list): Likewise.
22774 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
22775 * sysdeps/powerpc/power6/wcschr.c: ... to here.
22776 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
22777 sysdeps/powerpc/power6/wcschr.c.
22779 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
22780 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
22782 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
22783 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
22784 file: multiarch strchr for PPC32.
22785 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
22787 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22788 (__libc_ifunc_impl_list): Likewise.
22790 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
22792 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
22794 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
22796 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
22797 multiarch strchrnul for PPC32.
22798 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
22800 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22801 (__libc_ifunc_impl_list): Likewise.
22803 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
22805 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
22806 multiarch strncasecmp for PPC32.
22807 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
22809 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
22810 multiarch strncasecmp_l for PPC32.
22811 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
22812 strncasecmp multiarch objects.
22813 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22814 (__libc_ifunc_impl_list): Likewise.
22816 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
22818 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
22819 multiarch strncasecmp for PPC32.
22820 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
22822 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
22823 multiarch strcasecmp_l for PPC32.
22824 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
22826 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22827 (__libc_ifunc_impl_list): Likewise.
22829 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
22831 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
22833 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
22834 multiarch strncmp for PPC32.
22835 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
22837 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22838 (__libc_ifunc_impl_list): Likewise.
22840 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
22841 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
22843 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
22844 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
22845 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
22847 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22848 (__libc_ifunc_impl_list): Likewise.
22850 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
22852 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
22854 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
22855 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
22857 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22858 (__libc_ifunc_impl_list): Likewise.
22860 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
22862 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
22864 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
22865 multiarch rawmemchr for PPC32.
22866 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
22868 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22869 (__libc_ifunc_impl_list): Likewise.
22871 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
22873 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
22875 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
22876 file: memrchr multiarch for PPC32.
22877 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
22879 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22880 (__libc_ifunc_impl_list): Likewise.
22882 * string/memchr.c (__memchr): Using macro to redefine symbol name.
22883 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
22885 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
22886 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
22887 multiarch memchr for PPC32.
22888 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
22890 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22891 (__libc_ifunc_impl_list): Likewise.
22893 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
22894 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
22896 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
22898 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
22899 file: multiarch mempcpy for PPC32.
22900 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
22902 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22903 (__libc_ifunc_impl_list): Likewise.
22905 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
22906 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
22907 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
22908 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
22909 multiarch bzero for PPC32.
22910 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
22912 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
22914 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
22915 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
22916 file: multiarch memset for PPC32.
22917 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
22918 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
22919 memset multiarch objects.
22920 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22921 (__libc_ifunc_impl_list): Likewise.
22923 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
22925 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
22926 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
22928 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
22929 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
22931 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22932 (__libc_ifunc_impl_list): Likewise.
22934 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
22935 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
22936 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
22938 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
22940 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
22942 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
22943 multiarch memcpy for PPC32.
22944 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
22946 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22947 (__libc_ifunc_impl_list): Likewise.
22949 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
22950 support multiarch for POWER/PPC32.
22951 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
22953 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
22954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
22955 Implies file to make multiarch folder appers before the fpu and
22956 default folder for power4 configuration.
22958 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22960 * scripts/bench.pl: Append volatile keyword to type.
22962 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22964 * sysdeps/sh/sotruss-lib.c: New file.
22965 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
22967 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22969 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22971 2013-12-05 Joseph Myers <joseph@codesourcery.com>
22974 * math/w_tgamma.c: Include <errno.h>.
22975 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
22976 * math/w_tgammaf.c: Include <errno.h>.
22977 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
22978 * math/w_tgammal.c: Include <errno.h>.
22979 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
22980 * math/auto-libm-test-in: Do not allow missing errno on tgamma
22981 underflow. Add more tgamma tests.
22982 * math/auto-libm-test-out: Regenerated.
22983 * sysdeps/i386/fpu/libm-test-ulps: Update.
22984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22986 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
22987 sin, sinh, tan, tanh, tgamma, y0 and y1.
22988 * math/auto-libm-test-out: Regenerated.
22989 * math/libm-test.inc (TEST_COND_x86_64): New macro.
22990 (TEST_COND_x86): Likewise.
22991 (M_E2l): Remove macro.
22993 (M_2_SQRT_PIl): Likewise.
22994 (M_SQRT_PIl): Likewise.
22995 (M_1_DIV_El): Likewise.
22996 (log_test_data): Use AUTO_TESTS_f_f.
22997 (log10_test_data): Likewise.
22998 (log1p_test_data): Likewise.
22999 (log2_test_data): Likewise.
23000 (sin_test_data): Likewise.
23001 (sin_tonearest_test_data): Likewise.
23002 (sin_towardzero_test_data): Likewise.
23003 (sin_downward_test_data): Likewise.
23004 (sin_upward_test_data): Likewise.
23005 (sinh_test_data): Likewise.
23006 (sinh_tonearest_test_data): Likewise.
23007 (sinh_towardzero_test_data): Likewise.
23008 (sinh_downward_test_data): Likewise.
23009 (sinh_upward_test_data): Likewise.
23010 (tan_test_data): Likewise.
23011 (tan_tonearest_test_data): Likewise.
23012 (tan_towardzero_test_data): Likewise.
23013 (tan_downward_test_data): Likewise.
23014 (tan_upward_test_data): Likewise.
23015 (tanh_test_data): Likewise.
23016 (tgamma_test_data): Likewise.
23017 (y0_test_data): Likewise.
23018 (y1_test_data): Likewise.
23019 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
23020 (special_real_inputs): Add pi/4.
23021 * sysdeps/i386/fpu/libm-test-ulps: Update.
23022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23024 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23026 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
23027 "longjmp_target" static probes.
23028 (__longjmp): Rename to __longjmp_symbol.
23029 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23030 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
23031 on which longjmp to generate.
23032 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23033 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
23035 (__sigsetjmp): Rename to __sigsetjmp_symbol.
23036 (__sigjmp_save): Rename to __sigjmp_save_symbol.
23037 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
23038 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
23039 and __sigjmp_save_symbol based on which sigsetjmp to generated.
23040 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
23041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
23042 __longjmp_symbol based on which __longjmp to generate.
23043 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
23045 (setjmp): Rename to setjmp_symbol.
23046 (__sigsetjmp): Rename to __sigsetjmp_symbol.
23047 (_setjmp): Rename to _setjmp_symbol.
23048 (__sigsetjmp): Rename to __sigsetjmp_symbol.
23049 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
23050 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
23051 which setjmp to generate.
23052 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
23053 "longjmp_target" static probes.
23055 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23057 * benchtests/README: Add note about output arguments.
23058 * benchtests/bench-sincos.c: Remove file.
23059 * benchtests/sincos-inputs: New file.
23060 * scripts/bench.pl: Identify output arguments and define
23061 static variables for them.
23063 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
23066 * Makefile (INSTALL): Add install-plain.texi as the primary
23068 * manual/install-plain.texi: New file.
23069 * manual/install.texi: Include node directive only for
23070 non-plaintext output.
23072 2013-12-04 Joseph Myers <joseph@codesourcery.com>
23074 * stdlib/longlong.h: Update from GCC.
23078 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
23079 * math/w_j0f.c (y0f): Likewise.
23080 * math/w_j0l.c (__y0l): Likewise.
23081 * math/w_j1.c (y1): Likewise.
23082 * math/w_j1f.c (y1f): Likewise.
23083 * math/w_j1l.c (__y1l): Likewise
23084 * math/w_jn.c (yn): Likewise.
23085 * math/w_jnf.c (ynf): Likewise.
23086 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
23087 Bessel function pole errors in _POSIX_ mode. Use NAN as return
23088 value for Bessel function domain errors outside _SVID_ mode.
23089 Adjust sign of return value for yn (negative integer, 0).
23090 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
23091 by zero in return for negative x and set sign appropriately for
23093 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
23094 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
23095 * math/libm-test.inc (y0_test_data): Add more tests and adjust
23096 expectations in error cases.
23097 (y1_test_data): Likewise.
23098 (yn_test_data): Likewise.
23099 * sysdeps/i386/fpu/libm-test-ulps: Update.
23100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23102 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23104 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
23105 "64" to "64-v1". Add "64-v2".
23106 (abi-64-options): Rename to ...
23107 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
23108 (abi-64-condition): Rename to ...
23109 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
23110 (abi-64-ld-soname): Rename to ...
23111 (abi-64-v1-ld-soname): ... this.
23112 (abi-64-v2-options): Define.
23113 (abi-64-v2-condition): Likewise.
23114 (abi-64-v2-ld-soname): Likewise.
23115 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
23116 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
23117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
23118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
23119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
23121 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23122 Alan Modra <amodra@gmail.com>
23124 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
23125 New versions for use with the ELFv2 ABI.
23126 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
23127 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
23129 (struct La_ppc64v2_retval): Likewise.
23130 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
23131 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
23132 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
23133 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
23134 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
23135 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23136 Do not save or restore CR.
23137 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
23138 (_dl_profile_resolve): Do no save or restore CR. Support extended
23139 return values for ELFv2 ABI. Fix location of FPR return registers.
23140 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
23141 updated values for _CALL_ELF == 2.
23142 (La_regs, La_retval, int_retval): Likewise.
23144 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23146 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
23147 (FRAME_MIN_SIZE_PARM): Likewise.
23148 (FRAME_BACKCHAIN): Likewise.
23149 (FRAME_CR_SAVE): Likewise.
23150 (FRAME_LR_SAVE): Likewise.
23151 (FRAME_TOC_SAVE): Likewise.
23152 (FRAME_PARM_SAVE): Likewise.
23153 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
23154 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
23155 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
23156 (call_mcount_parm_offset): New macro.
23157 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
23158 (PROF): Use symbolic stack frame offsets.
23159 (TAIL_CALL_SYSCALL_ERROR): Likewise.
23160 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
23161 Redefine in terms of FRAME_MIN_SIZE.
23162 (_dl_runtime_resolve): Use symbolic stack frame offsets.
23163 (_dl_profile_resolve): Likewise. Update comment.
23164 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
23165 symbols stack frame offsets.
23166 (__sigsetjmp): Likewise.
23167 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
23168 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
23169 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
23170 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
23172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
23173 (FRAME_BACKCHAIN): Remove.
23174 (FRAME_CR_SAVE): Likewise.
23175 (FRAME_LR_SAVE): Likewise.
23176 (FRAME_COMPILER_DW): Likewise.
23177 (FRAME_LINKER_DW): Likewise.
23178 (FRAME_TOC_SAVE): Likewise.
23179 (FRAME_PARM_SAVE): Likewise.
23180 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
23181 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
23182 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
23183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
23184 (CHECK_SP): Use symbolic stack frame offsets.
23185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
23186 zone" instead of caller's parameter save area for temp storage.
23187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23188 Likewise. Also, use symbolic stack frame offsets.
23189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
23190 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
23191 our own stack frame instead of the caller's.
23192 (__socket): Use symbolic stack frame offsets.
23194 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23195 Alan Modra <amodra@gmail.com>
23197 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
23199 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
23200 (PPC64_LOCAL_ENTRY_OFFSET): Define.
23201 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
23203 (elf_machine_fixup_plt): Call it.
23204 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
23206 (elf_machine_rela): Update call to elf_machine_plt_conflict.
23207 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
23208 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
23209 r2 before calling target.
23211 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23212 Alan Modra <amodra@gmail.com>
23214 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
23215 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
23216 versions of macros to support ELFv2 ABI.
23217 (LOCALENTRY): New macro.
23218 (ENTRY, EALIGN): Use it.
23219 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
23220 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
23221 fall through into ENTRY entry point.
23222 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
23223 Only define if _CALL_ELF != 2.
23225 (elf_machine_matches_host): Verify ABI version matches.
23226 (RTLD_START): Use LOCALENTRY.
23227 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
23228 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
23229 (PLT_ENTRY_WORDS): New macro.
23230 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
23231 (elf_machine_runtime_setup): Support ELFv2 ABI.
23232 (elf_machine_fixup_plt): Likewise.
23233 (elf_machine_plt_conflict): Likewise.
23234 (resolve_ifunc): Likewise.
23235 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23236 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
23239 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
23240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23241 (makecontext): Support ELFv2 ABI.
23242 * elf/elf.h (EF_PPC64_ABI): Define.
23244 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23246 * sysdeps/powerpc/powerpc64/sysdep.h
23247 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
23248 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
23249 (ENTRY) [ASSEMBLER]: ... but instead here ...
23250 (EALIGN) [ASSEMBLER]: ... and here.
23251 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
23252 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
23253 (ENTRY_2) [!ASSEMBLER]: Use it.
23254 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
23255 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
23256 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
23257 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
23258 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
23259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
23260 Use PPC64_LOAD_FUNCPTR.
23262 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
23264 2013-12-04 Alan Modra <amodra@gmail.com>
23266 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
23267 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
23268 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
23269 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
23271 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
23272 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
23273 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
23274 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
23275 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
23276 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
23278 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23281 (__makecontext): Fix incorrect CFI when backtracing out of
23282 context created via makecontext.
23283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
23284 (__setcontext): Fix incorrect CFI during switch to new context.
23285 (__novec_setcontext): Likewise.
23287 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
23290 * time/strptime_l.c (__strptime_internal): Allow modifiers
23292 * time/tst-strptime.c (day_tests): Add testcase.
23294 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23296 * scripts/bench.pl: Skip over blank lines.
23298 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
23301 * manual/time.texi (Calendar Time): Clarify what timezone functions
23304 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23306 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23308 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
23310 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
23312 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
23313 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
23314 * debug/memset_chk.c (__memset_chk): Likewise.
23315 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
23316 * debug/strncpy_chk.c: Likewise.
23318 2013-12-03 Joseph Myers <joseph@codesourcery.com>
23322 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
23323 (__ieee754_exp): For possibly underflowing results, check size of
23324 result and force underflow exception if required.
23325 * math/auto-libm-test-in: Add more tests of exp.
23326 * math/auto-libm-test-out: Regenerated.
23327 * sysdeps/i386/fpu/libm-test-ulps: Update.
23328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23331 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
23332 * math/w_exp2f.c (__exp2f): Likewise.
23333 * math/w_exp2l.c (__exp2l): Likewise.
23334 * math/auto-libm-test-in: Do not allow missing errno on exp2
23336 * math/auto-libm-test-out: Regenerated.
23338 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
23341 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
23342 handle filename validation.
23343 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
23346 2013-12-03 Joseph Myers <joseph@codesourcery.com>
23349 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
23350 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
23351 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
23353 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
23354 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
23355 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
23356 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
23357 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
23358 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
23359 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
23360 * math/auto-libm-test-in: Don't allow missing errno from erfc.
23361 Add more erfc tests.
23362 * math/auto-libm-test-out: Regenerated.
23363 * sysdeps/i386/fpu/libm-test-ulps: Update.
23364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23366 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
23367 exp2, expm1, j0 and j1.
23368 * math/auto-libm-test-out: Regenerated.
23369 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
23370 (erfc_test_data): Likewise.
23371 (exp_test_data): Likewise.
23372 (exp_tonearest_test_data): Likewise.
23373 (exp_towardzero_test_data): Likewise.
23374 (exp_downward_test_data): Likewise.
23375 (exp_upward_test_data): Likewise.
23376 (exp10_test_data): Likewise.
23377 (exp2_test_data): Likewise.
23378 (expm1_test_data): Likewise.
23379 (j0_test_data): Likewise.
23380 (j1_test_data): Likewise.
23381 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
23382 (input_flag_type): Add flag_xfail_rounding.
23383 (input_flags): Add xfail-rounding.
23384 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
23385 (output_for_one_input_case): Handle flag_xfail_rounding.
23386 * sysdeps/i386/fpu/libm-test-ulps: Update.
23387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23389 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
23392 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
23395 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23398 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
23399 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
23400 (STAP_PROBE0): New macro.
23401 (STAP_PROBE1): Likewise.
23402 (STAP_PROBE2): Likewise.
23403 (STAP_PROBE3): Likewise.
23404 (STAP_PROBE4): Likewise.
23406 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
23408 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
23410 2013-12-02 Steve Ellcey <sellcey@mips.com>
23412 * benchtests/Makefile (bench): Add sqrt.
23413 (LDLIBS-bench-sqrt): New.
23414 * benchtests/sqrt-input: New.
23416 2013-12-02 Pavel Simerda <psimerda@redhat.com>
23418 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
23419 (GAIH_EAI): Likewise.
23420 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
23421 (gaih_inet): Likewise.
23422 (getaddrinfo): Don't use GAIH_EAI.
23424 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
23425 (struct gaih): Remove definition.
23427 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23429 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
23430 Use HERRNOP directly.
23432 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23436 2013-11-30 Joseph Myers <joseph@codesourcery.com>
23438 * math/gen-auto-libm-tests.c (test_functions): Add more
23439 single-argument functions.
23440 (special_fill_pi_2): New function.
23441 (special_fill_minus_pi_2): Likewise.
23442 (special_fill_pi_6): Likewise.
23443 (special_fill_minus_pi_6): Likewise.
23444 (special_fill_pi_3): Likewise.
23445 (special_fill_2pi_3): Likewise.
23446 (special_fill_e): Likewise.
23447 (special_fill_1_e): Likewise.
23448 (special_fill_e_minus_1): Likewise.
23449 (special_real_inputs): Add more special inputs.
23450 (output_for_one_input_case): Do not require ERANGE on underflow to
23451 zero if round-to-nearest result does not underflow to zero, unless
23452 exact results required.
23453 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
23454 atan, atanh, cbrt, cos and cosh.
23455 * math/auto-libm-test-out: Regenerated.
23456 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
23457 (acos_tonearest_test_data): Likewise.
23458 (acos_towardzero_test_data): Likewise.
23459 (acos_downward_test_data): Likewise.
23460 (acos_upward_test_data): Likewise.
23461 (acosh_test_data): Likewise.
23462 (asin_test_data): Likewise.
23463 (asin_tonearest_test_data): Likewise.
23464 (asin_towardzero_test_data): Likewise.
23465 (asin_upward_test_data): Likewise.
23466 (asinh_test_data): Likewise.
23467 (atan_test_data): Likewise.
23468 (atanh_test_data): Likewise.
23469 (cbrt_test_data): Likewise.
23470 (cos_test_data): Likewise.
23471 (cos_tonearest_test_data): Likewise.
23472 (cos_towardzero_test_data): Likewise.
23473 (cos_downward_test_data): Likewise.
23474 (cos_upward_test_data): Likewise.
23475 (cosh_test_data): Likewise.
23476 (cosh_tonearest_test_data): Likewise.
23477 (cosh_towardzero_test_data): Likewise.
23478 (cosh_downward_test_data): Likewise.
23479 (cosh_upward_test_data): Likewise.
23480 * sysdeps/i386/fpu/libm-test-ulps: Update.
23481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23483 2013-11-29 Joseph Myers <joseph@codesourcery.com>
23486 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
23487 * math/w_exp10f.c (__exp10f): Likewise.
23488 * math/w_exp10l.c (__exp10l): Likewise.
23489 * math/libm-test.inc (exp10_test_data): Add more tests and expect
23490 errno settings in existing tests.
23493 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
23494 precision control set to double precision.
23495 * sysdeps/i386/fpu/w_sqrt.c: New file.
23496 * math/auto-libm-test-in: Add more tests.
23497 * math/auto-libm-test-out: Update.
23499 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
23500 (sqrt_test_tonearest): New function.
23501 (sqrt_towardzero_test_data): New variable.
23502 (sqrt_test_towardzero): New function.
23503 (sqrt_downward_test_data): New variable.
23504 (sqrt_test_downward): New function.
23505 (sqrt_upward_test_data): New variable.
23506 (sqrt_test_upward): New function.
23507 (main): Call the new functions.
23509 * math/gen-auto-libm-tests.c: New file.
23510 * math/auto-libm-test-in: Likewise.
23511 * math/auto-libm-test-out: New generated file.
23512 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
23514 (%beautify): Add generated representations of zero.
23515 (top level): Set $auto_input and call parse_auto_input.
23516 (beautify): Remove trailing "f" from hex float constants.
23517 (parse_args): Handle XFAIL_TEST.
23518 (convert_condition): New function.
23519 (or_value): Likewise.
23520 (or_cond_value): Likewise.
23521 (generate_testfile): Handle AUTO_TESTS_* lines.
23522 (parse_auto_input): New function.
23523 * math/libm-test.inc (XFAIL_TEST): New macro.
23524 (ERRNO_UNCHANGED): Update value.
23525 (ERRNO_EDOM): Likewise.
23526 (ERRNO_ERANGE): Likewise.
23527 (IGNORE_RESULT): Likewise.
23528 (TEST_COND_flt_32): New macro.
23529 (TEST_COND_dbl_64): Likewise.
23530 (TEST_COND_ldbl_96_intel): Likewise.
23531 (TEST_COND_ldbl_96_m68k): Likewise.
23532 (TEST_COND_ldbl_128): Likewise.
23533 (TEST_COND_ldbl_128ibm): Likewise.
23534 (TEST_COND_long32): Likewise.
23535 (TEST_COND_long64): Likewise.
23536 (TEST_COND_before_rounding): Likewise.
23537 (TEST_COND_after_rounding): Likewise.
23538 (enable_test): Handle XFAIL_TEST flag.
23539 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
23540 with finite results.
23541 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
23542 auto-libm-test-out.
23544 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23545 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23548 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
23549 __tls_get_addr_internal instead of __tls_get_offset in order to
23550 avoid GOT pointer dependency. Make rtld export
23551 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
23552 __tls_get_addr since we are a __tls_get_offset platform.
23553 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
23554 GOT pointer being set up before.
23555 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
23557 2013-11-28 Joseph Myers <joseph@codesourcery.com>
23559 * manual/math.texi (Errors in Math Functions): Document accuracy
23563 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
23564 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
23565 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23566 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23567 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23568 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23569 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23570 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23571 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23572 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23573 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23574 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23575 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23576 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23577 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23578 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23580 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
23581 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
23582 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
23583 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
23584 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
23586 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
23588 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
23590 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
23591 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
23592 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
23593 atomic-feupdateenv and flt-rounds.
23594 * sysdeps/powerpc/nofpu/Versions (libc): Add
23595 __atomic_feholdexcept, __atomic_feclearexcept,
23596 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
23597 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
23598 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
23599 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
23600 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
23602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
23605 * manual/arith.texi (FP Exceptions): Document that exceptions may
23606 not be raised when matherr is used.
23607 (Math Error Reporting): Document overflow in directed rounding
23608 modes. Document that errno may not be set when finite values are
23609 returned on overflow. Document intent to set errno on underflow
23610 only for underflow to zero.
23613 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
23614 round-to-nearest then adjust result for other rounding modes.
23615 * include/fenv.h (fegetround): Use libm_hidden_proto.
23616 * math/fegetround.c (fegetround): Use libm_hidden_def.
23617 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
23618 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
23619 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
23620 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
23622 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
23623 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23624 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
23625 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
23627 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23630 * nss/Versions (libnss_files): Add
23631 _nss_files_gethostbyname3_r.
23632 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
23634 (HOST_DB_LOOKUP): Remove macro.
23635 (_nss_files_gethostbyname_r): Implement function without the
23636 HOST_DB_LOOKUP macro.
23637 (_nss_files_gethostbyname2_r): Likewise.
23639 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
23641 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
23643 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
23645 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
23646 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
23649 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23651 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
23652 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
23653 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
23654 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
23655 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
23656 __fe_nomask_env_priv and attribute_hidden.
23657 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
23658 (libc_feupdateenv_test_ppc): Likewise.
23659 (libc_feresetround_ppc): Likewise.
23660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23661 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
23662 compat_symbol macro.
23663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23664 (__fe_nomask_env): Likewise.
23665 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
23667 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
23669 * string/Makefile: Remove ifunc tests.
23670 * string/test-string.h: Define TEST_IFUNC.
23671 * string/test-bcopy-ifunc.c: Remove.
23672 * string/test-bzero-ifunc.c: Likewise.
23673 * string/test-memccpy-ifunc.c: Likewise.
23674 * string/test-memchr-ifunc.c: Likewise.
23675 * string/test-memcmp-ifunc.c: Likewise.
23676 * string/test-memcpy-ifunc.c: Likewise.
23677 * string/test-memmem-ifunc.c: Likewise.
23678 * string/test-memmove-ifunc.c: Likewise.
23679 * string/test-mempcpy-ifunc.c: Likewise.
23680 * string/test-memrchr-ifunc.c: Likewise.
23681 * string/test-memset-ifunc.c: Likewise.
23682 * string/test-rawmemchr-ifunc.c: Likewise.
23683 * string/test-stpcpy-ifunc.c: Likewise.
23684 * string/test-stpncpy-ifunc.c: Likewise.
23685 * string/test-strcasecmp-ifunc.c: Likewise.
23686 * string/test-strcasestr-ifunc.c: Likewise.
23687 * string/test-strcat-ifunc.c: Likewise.
23688 * string/test-strchr-ifunc.c: Likewise.
23689 * string/test-strchrnul-ifunc.c: Likewise.
23690 * string/test-strcmp-ifunc.c: Likewise.
23691 * string/test-strcpy-ifunc.c: Likewise.
23692 * string/test-strcspn-ifunc.c: Likewise.
23693 * string/test-strlen-ifunc.c: Likewise.
23694 * string/test-strncasecmp-ifunc.c: Likewise.
23695 * string/test-strncat-ifunc.c: Likewise.
23696 * string/test-strncmp-ifunc.c: Likewise.
23697 * string/test-strncpy-ifunc.c: Likewise.
23698 * string/test-strnlen-ifunc.c: Likewise.
23699 * string/test-strpbrk-ifunc.c: Likewise.
23700 * string/test-strrchr-ifunc.c: Likewise.
23701 * string/test-strspn-ifunc.c: Likewise.
23702 * string/test-strstr-ifunc.c: Likewise.
23704 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
23706 * benchtests/Makefile: Remove ifunc tests.
23707 * benchtests/bench-string.h: Define TEST_IFUNC.
23708 * benchtests/bench-bcopy-ifunc.c: Remove.
23709 * benchtests/bench-bzero-ifunc.c: Likewise.
23710 * benchtests/bench-memccpy-ifunc.c: Likewise.
23711 * benchtests/bench-memchr-ifunc.c: Likewise.
23712 * benchtests/bench-memcmp-ifunc.c: Likewise.
23713 * benchtests/bench-memcpy-ifunc.c: Likewise.
23714 * benchtests/bench-memmem-ifunc.c: Likewise.
23715 * benchtests/bench-memmove-ifunc.c: Likewise.
23716 * benchtests/bench-mempcpy-ifunc.c: Likewise.
23717 * benchtests/bench-memrchr-ifunc.c: Likewise.
23718 * benchtests/bench-memset-ifunc.c: Likewise.
23719 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
23720 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
23721 * benchtests/bench-stpcpy-ifunc.c: Likewise.
23722 * benchtests/bench-stpncpy-ifunc.c: Likewise.
23723 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
23724 * benchtests/bench-strcasestr-ifunc.c: Likewise.
23725 * benchtests/bench-strcat-ifunc.c: Likewise.
23726 * benchtests/bench-strchr-ifunc.c: Likewise.
23727 * benchtests/bench-strchrnul-ifunc.c: Likewise.
23728 * benchtests/bench-strcmp-ifunc.c: Likewise.
23729 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
23730 * benchtests/bench-strcpy-ifunc.c: Likewise.
23731 * benchtests/bench-strcspn-ifunc.c: Likewise.
23732 * benchtests/bench-strlen-ifunc.c: Likewise.
23733 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
23734 * benchtests/bench-strncat-ifunc.c: Likewise.
23735 * benchtests/bench-strncmp-ifunc.c: Likewise.
23736 * benchtests/bench-strncpy-ifunc.c: Likewise.
23737 * benchtests/bench-strnlen-ifunc.c: Likewise.
23738 * benchtests/bench-strpbrk-ifunc.c: Likewise.
23739 * benchtests/bench-strrchr-ifunc.c: Likewise.
23740 * benchtests/bench-strsep-ifunc.c: Likewise.
23741 * benchtests/bench-strspn-ifunc.c: Likewise.
23742 * benchtests/bench-strstr-ifunc.c: Likewise.
23744 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
23746 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
23748 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
23750 * resolv/netdb.h: Use __glibc_reserved instead __unused.
23751 * rt/aio.h: Likewise.
23752 * sysdeps/gnu/bits/utmp.h: Likewise.
23753 * sysdeps/gnu/bits/utmpx.h: Likewise.
23754 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23755 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
23756 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
23757 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
23758 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
23759 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
23760 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
23761 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
23762 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
23763 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
23764 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
23765 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
23766 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
23767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
23768 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23769 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
23770 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
23771 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
23772 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
23773 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
23774 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
23775 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
23776 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
23777 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
23778 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
23779 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23780 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
23781 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
23782 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
23783 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
23784 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
23785 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
23786 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
23787 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
23788 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
23789 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
23790 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
23791 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
23792 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
23793 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
23794 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
23795 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23797 2013-11-25 Carlos O'Donell <carlos@redhat.com>
23800 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
23801 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
23803 2013-11-25 Joseph Myers <joseph@codesourcery.com>
23805 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
23806 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
23809 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23811 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
23812 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
23813 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
23814 (__fesetround): Remove define.
23815 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
23816 rounding and exceptions handling.
23817 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
23818 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
23819 (__fe_nomask_env): Likewise.
23820 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
23821 __fegetround instead of fegetround.
23822 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23823 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
23825 2013-11-21 Roland McGrath <roland@hack.frob.com>
23827 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
23830 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
23832 2013-11-21 Meador Inge <meadori@codesourcery.com>
23835 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
23836 (encrypt_r): Likewise.
23837 * malloc/obstack.h (obstack_free): Likewise.
23838 * posix/unistd.h (encrypt): Likewise.
23840 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
23842 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
23843 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
23844 DL_CALL_DT_FINI() that call the functions directly.
23845 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
23846 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
23847 * elf/dl-fini.c: Likewise.
23849 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
23851 * malloc/hooks.c (memalign_check): Add alignment rounding.
23852 * malloc/malloc.c (_mid_memalign): New function.
23853 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
23854 Implement by calling _mid_memalign.
23855 * manual/probes.texi (Memory Allocation Probes): Remove
23856 memory_valloc_retry and memory_pvalloc_retry.
23858 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23860 * locale/programs/locarchive.c (open_archive): Add const
23861 qualifier to ARCHIVEFNAME and copy default fname to
23865 * libio/tst-widetext.input: Rename Oriya to Odia.
23866 * locale/iso-639.def: Likewise.
23868 * manual/probes.texi (Mathematical Function Probes): Add
23869 documentation for sin, cos, asin and acos probes.
23870 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
23871 (__sin32): Add slowasin probe.
23872 (__cos32): Add slowacos probe.
23873 (__mpsin): Add slowsin probe.
23874 (__mpcos): Add slowcos probe.
23876 2013-11-19 Joseph Myers <joseph@codesourcery.com>
23879 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
23880 thread-local __sim_exceptions_thread and global
23881 __sim_exceptions_global.
23882 (__sim_disabled_exceptions): Change to thread-local
23883 __sim_disabled_exceptions_thread and global
23884 __sim_disabled_exceptions_global.
23885 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
23886 and global __sim_round_mode_global.
23887 (__simulate_exceptions): Use thread-local floating-point state and
23888 set global state from it as needed.
23889 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
23890 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
23891 __sim_round_mode_thread.
23892 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
23893 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
23894 and global __sim_exceptions_global.
23895 (__sim_disabled_exceptions): Change to thread-local
23896 __sim_disabled_exceptions_thread and global
23897 __sim_disabled_exceptions_global.
23898 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
23899 and global __sim_round_mode_global.
23900 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
23901 (SIM_SET_GLOBAL): Likewise.
23902 * sysdeps/powerpc/soft-fp/sfp-machine.h
23903 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
23904 __sim_round_mode_thread.
23905 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
23906 __sim_disabled_exceptions_thread.
23907 (__sim_exceptions): Change to __sim_exceptions_thread.
23908 (__sim_disabled_exceptions): Change to
23909 __sim_disabled_exceptions_thread.
23910 (__sim_round_mode): Change to __sim_round_mode_thread.
23911 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
23912 thread-local floating-point state and set global state from it as
23914 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
23915 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
23916 (__sim_disabled_exceptions): Remove extern declaration.
23917 (feenableexcept): Use thread-local floating-point state and set
23918 global state from it as needed.
23919 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
23920 extern declaration.
23921 (__sim_disabled_exceptions): Likewise.
23922 (__sim_round_mode): Likewise.
23923 (__fegetenv): Use thread-local floating-point state.
23924 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
23925 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
23926 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
23927 floating-point state and set global state from it as needed.
23928 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
23929 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23930 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
23932 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
23933 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
23935 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
23936 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
23937 Use __sim_round_mode_thread.
23938 * math/test-fenv-tls.c: New file.
23939 * math/Makefile (tests): Add test-fenv-tls.
23940 ($(objpfx)test-fenv-tls): Depend on
23941 $(common-objpfx)nptl/libpthread.so.
23943 2013-11-19 Andreas Schwab <schwab@suse.de>
23945 * locale/programs/locale.c (show_info): Decode wordarray elements.
23946 * locale/categories.def (LC_MONETARY): Add element for
23947 _NL_MONETARY_CRNCYSTR.
23948 * locale/C-monetary.c (conversion_rate): New variable.
23949 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
23952 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
23954 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
23955 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
23957 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23959 * elf/Makefile (tst-auxv): New test.
23960 * elf/tst-auxv.c: New
23961 * elf/rtld.c (dl_main): Adjust AT_EXECFN
23963 2013-11-18 Joseph Myers <joseph@codesourcery.com>
23965 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
23966 (hidden_proto): Caller changed.
23967 (hidden_tls_proto): New macro.
23968 (libc_hidden_tls_proto): Likewise.
23969 (rtld_hidden_tls_proto): Likewise.
23970 (libm_hidden_tls_proto): Likewise.
23971 (libresolv_hidden_tls_proto): Likewise.
23972 (librt_hidden_tls_proto): Likewise.
23973 (libdl_hidden_tls_proto): Likewise.
23974 (libnss_files_hidden_tls_proto): Likewise.
23975 (libnsl_hidden_tls_proto): Likewise.
23976 (libnss_nisplus_hidden_tls_proto): Likewise.
23977 (libutil_hidden_tls_proto): Likewise.
23979 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
23982 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
23983 (decompose_rpath): Defer expansion to fillin_rpath.
23984 (_dl_init_paths): Pass linkmap to fillin_rpath.
23986 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23988 * benchtests/Makefile: Add strsep.
23989 * benchtests/bench-strsep.c: New file: strsep benchtest.
23990 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
23992 2013-11-18 Andreas Schwab <schwab@suse.de>
23994 * locale/programs/locale.c (show_info) [case byte]: Check for
23995 '\377' instead of '\177'.
23996 * locale/C-monetary.c (not_available): Always use "\377".
23997 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
23998 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
23999 detect unavailable sign_posn locale elements.
24000 * locale/localeconv.c (__localeconv): For grouping and
24001 mon_grouping handle "\177" and "\377" like no grouping.
24002 (INT_ELEM): New macro. Use it to set all numeric members.
24003 * locale/programs/ld-monetary.c (monetary_read)
24004 <tok_mon_grouping>: Normalize single -1 to the empty string.
24005 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
24008 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
24011 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
24012 when we match (nil).
24013 * stdio-common/tst-sscanf.c (struct test): Add testcase.
24015 2013-11-16 Joseph Myers <joseph@codesourcery.com>
24017 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
24018 (NO_TEST_INLINE): Update value.
24019 (ERRNO_UNCHANGED): Likewise.
24020 (ERRNO_EDOM): Likewise.
24021 (ERRNO_ERANGE): Likewise.
24022 (IGNORE_RESULT): Likewise.
24023 (check_float_internal): Check signs of NaN results if
24024 TEST_NAN_SIGN used.
24025 (check_complex): Pass TEST_NAN_SIGN flag through to second
24026 check_float_internal call.
24027 (copysign_test_data): Add tests with quiet NaNs as second
24028 argument. Use TEST_NAN_SIGN.
24029 (fabs_test_data): Add test of negative quiet NaN argument. Use
24031 (signbit_test_data): Add tests of quiet NaN argument.
24032 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
24034 * math/gen-libm-test.pl (show_exceptions): Take extra argument
24036 (parse_args): Handle function results specified as IGNORE.
24037 * math/libm-test.inc (IGNORE_RESULT): New macro.
24038 (check_float_internal): Do not check numerical result if flag
24040 (check_complex): Pass through IGNORE_RESULT to second
24041 check_float_internal call.
24042 (check_int): Do not check numerical result if flag IGNORE_RESULT
24044 (check_long): Likewise.
24045 (check_bool): Likewise.
24046 (check_longlong): Likewise.
24047 (lrint_test_data): Add tests of infinite and NaN arguments.
24048 (lrint_tonearest_test_data): Likewise.
24049 (lrint_towardzero_test_data): Likewise.
24050 (lrint_downward_test_data): Likewise.
24051 (lrint_upward_test_data): Likewise.
24052 (llrint_test_data): Likewise.
24053 (llrint_tonearest_test_data): Likewise.
24054 (llrint_towardzero_test_data): Likewise.
24055 (llrint_downward_test_data): Likewise.
24056 (llrint_upward_test_data): Likewise.
24057 (lround_test_data): Likewise.
24058 (llround_test_data): Likewise.
24060 * math/libm-test.inc (NO_TEST_INLINE): New macro.
24061 (ERRNO_UNCHANGED): Update value.
24062 (ERRNO_EDOM): Likewise.
24063 (ERRNO_ERANGE): Likewise.
24064 (NO_TEST_INLINE_FLOAT): New macro.
24065 (NO_TEST_INLINE_DOUBLE): Likewise.
24066 (enable_test): New function.
24067 (RUN_TEST_f_f): Check enable_test before running test.
24068 (RUN_TEST_2_f): Likewise.
24069 (RUN_TEST_fff_f): Likewise.
24070 (RUN_TEST_c_f): Likewise.
24071 (RUN_TEST_f_f1): Likewise.
24072 (RUN_TEST_fF_f1): Likewise.
24073 (RUN_TEST_fI_f1): Likewise.
24074 (RUN_TEST_ffI_f1): Likewise.
24075 (RUN_TEST_c_c): Likewise.
24076 (RUN_TEST_cc_c): Likewise.
24077 (RUN_TEST_f_i): Likewise.
24078 (RUN_TEST_f_i_tg): Likewise.
24079 (RUN_TEST_ff_i_tg): Likewise.
24080 (RUN_TEST_f_b): Likewise.
24081 (RUN_TEST_f_b_tg): Likewise.
24082 (RUN_TEST_f_l): Likewise.
24083 (RUN_TEST_f_L): Likewise.
24084 (RUN_TEST_fFF_11): Likewise.
24085 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
24087 (cosh_test_data): Likewise.
24088 (exp_test_data): Likewise.
24089 (expm1_test_data): Likewise.
24090 (hypot_test_data): Likewise.
24091 (pow_test_data): Likewise.
24092 (sinh_test_data): Likewise.
24093 (tanh_test_data): Likewise.
24094 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
24097 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
24098 tests with quiet NaN input and output.
24099 (acosh_test_data): Likewise.
24100 (asin_test_data): Likewise.
24101 (asinh_test_data): Likewise.
24102 (atan_test_data): Likewise.
24103 (atanh_test_data): Likewise.
24104 (atan2_test_data): Likewise.
24105 (cbrt_test_data): Likewise.
24106 (cos_test_data): Likewise.
24107 (cosh_test_data): Likewise.
24108 (erf_test_data): Likewise.
24109 (erfc_test_data): Likewise.
24110 (exp_test_data): Likewise.
24111 (exp10_test_data): Likewise.
24112 (exp2_test_data): Likewise.
24113 (expm1_test_data): Likewise.
24114 (hypot_test_data): Likewise.
24115 (j0_test_data): Likewise.
24116 (j1_test_data): Likewise.
24117 (jn_test_data): Likewise.
24118 (lgamma_test_data): Likewise.
24119 (log_test_data): Likewise.
24120 (log10_test_data): Likewise.
24121 (log1p_test_data): Likewise.
24122 (log2_test_data): Likewise.
24123 (pow_test_data): Likewise.
24124 (scalb_test_data): Likewise.
24125 (sin_test_data): Likewise.
24126 (sincos_test_data): Likewise.
24127 (sinh_test_data): Likewise.
24128 (tan_test_data): Likewise.
24129 (tanh_test_data): Likewise.
24130 (tgamma_test_data): Likewise.
24131 (y0_test_data): Likewise.
24132 (y1_test_data): Likewise.
24133 (yn_test_data): Likewise.
24136 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
24137 argument being NaN and avoid computations with second argument in
24139 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24140 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
24141 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24143 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
24145 * locale/iso-639.def: Add Chitwani Tharu (the).
24147 2013-11-14 Andreas Schwab <schwab@suse.de>
24149 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
24150 word instead of empty string.
24152 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24155 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
24156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24157 (__fe_nomask_env): Likewise.
24159 2013-11-13 Steve Ellcey <sellcey@mips.com>
24161 * benchtests/bench-timing.h: Include time.h.
24163 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
24166 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
24168 * sysdeps/unix/sysv/linux/configure: Regenerated.
24170 2013-11-13 Joseph Myers <joseph@codesourcery.com>
24173 * stdlib/strtod_l.c (round_and_return): Do not consider
24174 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
24175 exponent one less than half the least subnormal exponent.
24176 * stdlib/test-strtod-round-data: Add more tests.
24177 * stdlib/tst-strtod-round.c (tests): Regenerated.
24179 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24182 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
24183 (__fe_mask_env): Likewise.
24184 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
24185 libm_hidden_proto and add function prototype.
24186 (__fe_mask_env): Add function prototype.
24187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24188 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
24189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
24190 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
24191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24192 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
24194 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24196 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
24197 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
24199 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24201 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
24202 of htab_find_slot().
24204 2013-11-11 David S. Miller <davem@davemloft.net>
24207 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
24208 symbol in the non-vis3 case in static builds.
24209 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
24210 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
24211 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
24212 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
24214 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
24217 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
24220 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24222 * benchtests/Makefile: Add bench-strtod.
24223 * benchtests/bench-strtod.c: New file: strtod benchtest
24225 2013-11-11 Andreas Schwab <schwab@suse.de>
24228 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
24229 terminating NUL in key length.
24231 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24233 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
24234 Add artificial ODP entry for vDSO symbol for PPC64.
24235 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
24236 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
24238 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
24241 * nss/getent.c (services_keys): Recognize services starting with digit.
24243 2013-11-06 David S. Miller <davem@davemloft.net>
24246 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
24247 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
24249 2013-11-06 Will Newton <will.newton@linaro.org>
24251 * manual/memory.texi (Malloc Examples): Remove register
24252 keyword from examples.
24254 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
24256 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
24258 2013-11-04 Joseph Myers <joseph@codesourcery.com>
24261 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
24262 depending on [__GCC_IEC_559 > 0].
24263 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
24264 depending on [__GCC_IEC_559_COMPLEX > 0].
24266 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
24268 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
24271 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
24273 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
24275 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
24278 * malloc/malloc (malloc_info): Do not handle first bin as
24281 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
24283 * locale/iso-639.def: Add Central Nahuatl (nhn).
24285 2013-11-01 Bruno Haible <bruno@clisp.org>
24288 * manual/math.texi (BSD Random): Specify range upper bound as
24291 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
24293 * locale/iso-639.def: Add Meadow Mari (mhr).
24295 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
24297 [BZ #14752], [BZ #15763]
24298 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
24300 * rt/tst_shm.c: Add test for escaping directory.
24302 2013-10-31 Andreas Schwab <schwab@suse.de>
24305 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
24306 followed by 'x' as part of digit sequence.
24307 * stdio-common/tst-sscanf.c (double_tests2): New tests.
24309 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
24312 * configure.ac: allow GNU Make 4.0 and greater.
24313 * configure: Regenerated.
24315 2013-10-30 Will Newton <will.newton@linaro.org>
24318 * malloc/hooks.c (memalign_check): Limit alignment to the
24319 maximum representable power of two.
24320 * malloc/malloc.c (__libc_memalign): Likewise.
24321 * malloc/tst-memalign.c (do_test): Add test for very
24322 large alignment values.
24323 * malloc/tst-posix_memalign.c (do_test): Likewise.
24325 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
24328 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
24329 (munmap_chunk): Likewise.
24330 (mremap_chunk): Likewise.
24332 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
24335 * stdlib/div.c (div): Remove obsolete code.
24336 * stdlib/ldiv.c (ldiv): Likewise.
24337 * stdlib/lldiv.c (lldiv): Likewise.
24339 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24342 * nss/nss_files/files-XXX.c (get_contents_ret): New
24344 (get_contents): New function.
24345 (internal_getent): Use it. Expand size of LINEBUFLEN.
24347 2013-10-30 Mike Frysinger <vapier@gentoo.org>
24349 * configure.in: Moved to ...
24350 * configure.ac: ... here. Change reference to configure.in
24352 * sysdeps/arm/preconfigure.ac: ... here.
24353 configure.in to configure.ac.
24354 * sysdeps/gnu/configure.in: Moved to ...
24355 * sysdeps/gnu/configure.ac: ... here.
24356 * sysdeps/i386/configure.in: Moved to ...
24357 * sysdeps/i386/configure.ac: ... here.
24358 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
24359 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
24360 * sysdeps/mach/configure.in: Moved to ...
24361 * sysdeps/mach/configure.ac: ... here.
24362 * sysdeps/mach/hurd/configure.in: Moved to ...
24363 * sysdeps/mach/hurd/configure.ac: ... here.
24364 * sysdeps/powerpc/configure.in: Moved to ...
24365 * sysdeps/powerpc/configure.ac: ... here.
24366 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
24367 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
24368 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
24369 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
24370 * sysdeps/s390/s390-32/configure.in: Moved to ...
24371 * sysdeps/s390/s390-32/configure.ac: ... here.
24372 * sysdeps/s390/s390-64/configure.in: Moved to ...
24373 * sysdeps/s390/s390-64/configure.ac: ... here.
24374 * sysdeps/sh/configure.in: Moved to ...
24375 * sysdeps/sh/configure.ac: ... here.
24376 * sysdeps/sparc/configure.in: Moved to ...
24377 * sysdeps/sparc/configure.ac: ... here.
24378 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
24379 * sysdeps/unix/sysv/linux/configure.ac: ... here.
24380 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
24381 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
24382 * sysdeps/x86_64/configure.in: Moved to ...
24383 * sysdeps/x86_64/configure.ac: ... here.
24384 * sysdeps/x86_64/preconfigure.in: Moved to ...
24385 * sysdeps/x86_64/preconfigure.ac: ... here.
24386 * aclocal.m4: Change reference to configure.in to configure.ac.
24387 * config.h.in: Likewise.
24388 * manual/install.texi: Likewise.
24389 * manual/maint.texi: Likewise.
24390 * Makefile: Likewise.
24391 * malloc/Makefile: Likewise.
24392 * nscd/Makefile: Likewise.
24393 * Makeconfig: Change reference to configure.in and
24394 preconfigure.in to configure.ac and preconfigure.ac
24396 * INSTALL: Regenerated.
24397 * configure: Likewise.
24398 * sysdeps/gnu/configure: Likewise.
24399 * sysdeps/i386/configure: Likewise.
24400 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
24401 * sysdeps/mach/configure: Likewise.
24402 * sysdeps/mach/hurd/configure: Likewise.
24403 * sysdeps/powerpc/configure: Likewise.
24404 * sysdeps/powerpc/powerpc32/configure: Likewise.
24405 * sysdeps/powerpc/powerpc64/configure: Likewise.
24406 * sysdeps/s390/s390-32/configure: Likewise.
24407 * sysdeps/s390/s390-64/configure: Likewise.
24408 * sysdeps/sh/configure: Likewise.
24409 * sysdeps/sparc/configure: Likewise.
24410 * sysdeps/unix/sysv/linux/configure: Likewise.
24411 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
24412 * sysdeps/x86_64/configure: Likewise.
24413 * sysdeps/x86_64/preconfigure: Likewise.
24415 2013-10-29 Andreas Schwab <schwab@suse.de>
24417 * stdio-common/Makefile (tst-swscanf-ENV): Define.
24419 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24421 * benchtests/pow-inputs: Add new inputs.
24423 * benchtests/exp-inputs: Add new inputs.
24425 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
24426 conditional check for return value.
24427 (__cos32): Likewise.
24429 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24431 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
24432 to provide a boost for large inputs with word alignment.
24433 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
24434 implementation based on optimized PPC64 strcpy.
24435 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
24436 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
24437 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
24438 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
24440 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
24443 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
24445 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
24448 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
24449 * time/tst-strptime.c (day_tests): Add testcase.
24451 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
24454 * manual/pattern.texi: Acknowledge that fnmatch can fail.
24456 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
24459 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
24460 MAP_FAILED on error.
24462 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24465 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
24466 heap for large requests.
24468 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
24471 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
24472 result if the result has no associated interface.
24473 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
24474 interface for all 127.X.Y.Z addresses.
24476 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
24478 * locale/iso-639.def: Add Ligurian (lij)
24480 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
24483 * sunrpc/rpc_main.c: Document rpcgen -5.
24485 2013-10-19 Michael Stahl <mstahl@redhat.com>
24487 * elf/rtld.c (do_preload): Print the reason why preloading failed.
24489 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
24492 * posix/glob.c: Match only directories when trailing slash is present.
24493 * posix/tst-gnuglob.c (my_opendir): Do not open files.
24494 (main): Add testcase.
24496 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
24499 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
24501 2013-10-18 Carlos O'Donell <carlos@redhat.com>
24503 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
24504 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
24505 AUTH_DES and cindex for FIPS 140-2.
24506 (DES Encryption): Add cindex FIPS 46-3.
24508 * locale/locarchive.h (struct locarhandle): Add fname.
24509 * locale/programs/localedef.c (main): Pass ARGV[remaining]
24510 if an optional argument was specified to --list-archive,
24512 * locale/programs/locarchive.c (show_archive_content): Take new
24513 argument fname and pass it via ah.fname to open_archive.
24514 * locale/programs/localedef.h: Update decl.
24515 (open_archive): If AH->fname is non-null, open that file
24516 rather than the default file name, and don't ignore ENOENT.
24517 (create_archive): Set AH.fname to NULL.
24518 (delete_locales_from_archive): Likewise.
24519 (add_locales_to_archive): Likewise.
24520 * locale/programs/locfile.c (write_all_categories): Likewise.
24522 2013-10-18 Joseph Myers <joseph@codesourcery.com>
24523 Aldy Hernandez <aldyh@redhat.com>
24525 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
24526 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
24527 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
24528 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
24529 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
24530 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
24531 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
24532 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
24533 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
24534 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
24535 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
24536 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
24537 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
24538 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
24539 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
24541 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
24543 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
24545 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
24547 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
24548 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
24550 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
24551 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
24552 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
24553 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
24555 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
24556 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
24557 * sysdeps/powerpc/preconfigure: Likewise.
24558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
24560 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
24561 Replace contents of file by #include of <fenv_libc.h>.
24562 * sysdeps/powerpc/soft-fp/sfp-machine.h
24563 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
24565 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
24566 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
24567 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
24568 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
24569 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
24570 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
24571 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
24572 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
24573 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
24574 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
24575 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
24576 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
24577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24578 Allow copysignl PLT reference to be missing.
24580 2013-10-18 Richard Sandiford <richard@codesourcery.com>
24581 Joseph Myers <joseph@codesourcery.com
24584 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
24586 (add_to_tablewc): Assert sequence of wide characters is nonempty.
24588 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24590 * elf/tst-tls-dlinfo.c: Don't include tls.h.
24591 * elf/tst-tls1.c: Likewise.
24592 * elf/tst-tls10.h: Likewise.
24593 * elf/tst-tls14.c: Likewise.
24594 * elf/tst-tls2.c: Likewise.
24595 * elf/tst-tls3.c: Likewise.
24596 * elf/tst-tls4.c: Likewise.
24597 * elf/tst-tls5.c: Likewise.
24598 * elf/tst-tls6.c: Likewise.
24599 * elf/tst-tls7.c: Likewise.
24600 * elf/tst-tls8.c: Likewise.
24601 * elf/tst-tls9.c: Likewise.
24602 * elf/tst-tlsmod1.c: Likewise.
24603 * elf/tst-tlsmod13.c: Likewise.
24604 * elf/tst-tlsmod13a.c: Likewise.
24605 * elf/tst-tlsmod14a.c: Likewise.
24606 * elf/tst-tlsmod16a.c: Likewise.
24607 * elf/tst-tlsmod16b.c: Likewise.
24608 * elf/tst-tlsmod2.c: Likewise.
24609 * elf/tst-tlsmod3.c: Likewise.
24610 * elf/tst-tlsmod4.c: Likewise.
24611 * elf/tst-tlsmod5.c: Likewise.
24612 * elf/tst-tlsmod6.c: Likewise.
24614 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
24617 * malloc/malloc.c: remove checks for statistics.
24619 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
24622 * inet/inet_net.c (inet_network): Detect additional invalid strings.
24623 * inet/tst-network.c: Add testcase.
24625 2013-10-17 Andreas Schwab <schwab@suse.de>
24628 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
24629 to determine canonical name.
24631 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
24633 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
24634 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
24635 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24636 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24637 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24638 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24639 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24640 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24641 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
24642 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24643 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24644 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24645 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24646 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24647 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24648 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24649 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24650 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24651 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24652 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24653 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24654 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24655 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24656 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
24657 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
24658 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24659 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24660 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
24661 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24662 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
24663 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24664 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24665 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24666 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24667 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24668 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24669 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24670 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24671 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24672 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24673 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24674 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24675 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24676 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24677 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24678 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24679 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24680 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24681 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24682 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24683 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24684 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24685 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24686 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24687 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24688 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24689 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24690 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24692 2013-10-17 Joseph Myers <joseph@codesourcery.com>
24695 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
24696 make result into a quiet NaN.
24698 2013-10-16 Joseph Myers <joseph@codesourcery.com>
24700 * soft-fp/adddf3.c: Fix horizontal whitespace.
24701 * soft-fp/addsf3.c: Likewise.
24702 * soft-fp/addtf3.c: Likewise.
24703 * soft-fp/divdf3.c: Likewise.
24704 * soft-fp/divsf3.c: Likewise.
24705 * soft-fp/divtf3.c: Likewise.
24706 * soft-fp/double.h: Likewise.
24707 * soft-fp/eqdf2.c: Likewise.
24708 * soft-fp/eqsf2.c: Likewise.
24709 * soft-fp/eqtf2.c: Likewise.
24710 * soft-fp/extenddftf2.c: Likewise.
24711 * soft-fp/extended.h: Likewise.
24712 * soft-fp/extendsfdf2.c: Likewise.
24713 * soft-fp/extendsftf2.c: Likewise.
24714 * soft-fp/extendxftf2.c: Likewise.
24715 * soft-fp/fixdfdi.c: Likewise.
24716 * soft-fp/fixdfsi.c: Likewise.
24717 * soft-fp/fixdfti.c: Likewise.
24718 * soft-fp/fixsfdi.c: Likewise.
24719 * soft-fp/fixsfsi.c: Likewise.
24720 * soft-fp/fixsfti.c: Likewise.
24721 * soft-fp/fixtfdi.c: Likewise.
24722 * soft-fp/fixtfsi.c: Likewise.
24723 * soft-fp/fixtfti.c: Likewise.
24724 * soft-fp/fixunsdfdi.c: Likewise.
24725 * soft-fp/fixunsdfsi.c: Likewise.
24726 * soft-fp/fixunsdfti.c: Likewise.
24727 * soft-fp/fixunssfdi.c: Likewise.
24728 * soft-fp/fixunssfsi.c: Likewise.
24729 * soft-fp/fixunssfti.c: Likewise.
24730 * soft-fp/fixunstfdi.c: Likewise.
24731 * soft-fp/fixunstfsi.c: Likewise.
24732 * soft-fp/fixunstfti.c: Likewise.
24733 * soft-fp/floatdidf.c: Likewise.
24734 * soft-fp/floatdisf.c: Likewise.
24735 * soft-fp/floatditf.c: Likewise.
24736 * soft-fp/floatsidf.c: Likewise.
24737 * soft-fp/floatsisf.c: Likewise.
24738 * soft-fp/floatsitf.c: Likewise.
24739 * soft-fp/floattidf.c: Likewise.
24740 * soft-fp/floattisf.c: Likewise.
24741 * soft-fp/floattitf.c: Likewise.
24742 * soft-fp/floatundidf.c: Likewise.
24743 * soft-fp/floatundisf.c: Likewise.
24744 * soft-fp/floatunditf.c: Likewise.
24745 * soft-fp/floatunsidf.c: Likewise.
24746 * soft-fp/floatunsisf.c: Likewise.
24747 * soft-fp/floatunsitf.c: Likewise.
24748 * soft-fp/floatuntidf.c: Likewise.
24749 * soft-fp/floatuntisf.c: Likewise.
24750 * soft-fp/floatuntitf.c: Likewise.
24751 * soft-fp/fmadf4.c: Likewise.
24752 * soft-fp/fmasf4.c: Likewise.
24753 * soft-fp/fmatf4.c: Likewise.
24754 * soft-fp/gedf2.c: Likewise.
24755 * soft-fp/gesf2.c: Likewise.
24756 * soft-fp/getf2.c: Likewise.
24757 * soft-fp/ledf2.c: Likewise.
24758 * soft-fp/lesf2.c: Likewise.
24759 * soft-fp/letf2.c: Likewise.
24760 * soft-fp/muldf3.c: Likewise.
24761 * soft-fp/mulsf3.c: Likewise.
24762 * soft-fp/multf3.c: Likewise.
24763 * soft-fp/negdf2.c: Likewise.
24764 * soft-fp/negsf2.c: Likewise.
24765 * soft-fp/negtf2.c: Likewise.
24766 * soft-fp/op-1.h: Likewise.
24767 * soft-fp/op-2.h: Likewise.
24768 * soft-fp/op-4.h: Likewise.
24769 * soft-fp/op-8.h: Likewise.
24770 * soft-fp/op-common.h: Likewise.
24771 * soft-fp/quad.h: Likewise.
24772 * soft-fp/single.h: Likewise.
24773 * soft-fp/soft-fp.h: Likewise.
24774 * soft-fp/sqrtdf2.c: Likewise.
24775 * soft-fp/sqrtsf2.c: Likewise.
24776 * soft-fp/sqrttf2.c: Likewise.
24777 * soft-fp/subdf3.c: Likewise.
24778 * soft-fp/subsf3.c: Likewise.
24779 * soft-fp/subtf3.c: Likewise.
24780 * soft-fp/truncdfsf2.c: Likewise.
24781 * soft-fp/trunctfdf2.c: Likewise.
24782 * soft-fp/trunctfsf2.c: Likewise.
24783 * soft-fp/trunctfxf2.c: Likewise.
24784 * soft-fp/unorddf2.c: Likewise.
24785 * soft-fp/unordsf2.c: Likewise.
24786 * soft-fp/unordtf2.c: Likewise.
24788 2013-10-15 Joseph Myers <joseph@codesourcery.com>
24790 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
24791 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
24793 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
24795 * elf/dl-libc.c: Clear initfini list after freeing.
24797 2013-10-14 Joseph Myers <joseph@codesourcery.com>
24799 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
24800 * soft-fp/addsf3.c: Likewise.
24801 * soft-fp/addtf3.c: Likewise.
24802 * soft-fp/divdf3.c: Likewise.
24803 * soft-fp/divsf3.c: Likewise.
24804 * soft-fp/divtf3.c: Likewise.
24805 * soft-fp/double.h: Likewise.
24806 * soft-fp/eqdf2.c: Likewise.
24807 * soft-fp/eqsf2.c: Likewise.
24808 * soft-fp/eqtf2.c: Likewise.
24809 * soft-fp/extenddftf2.c: Likewise.
24810 * soft-fp/extended.h: Likewise.
24811 * soft-fp/extendsfdf2.c: Likewise.
24812 * soft-fp/extendsftf2.c: Likewise.
24813 * soft-fp/extendxftf2.c: Likewise.
24814 * soft-fp/fixdfdi.c: Likewise.
24815 * soft-fp/fixdfsi.c: Likewise.
24816 * soft-fp/fixdfti.c: Likewise.
24817 * soft-fp/fixsfdi.c: Likewise.
24818 * soft-fp/fixsfsi.c: Likewise.
24819 * soft-fp/fixsfti.c: Likewise.
24820 * soft-fp/fixtfdi.c: Likewise.
24821 * soft-fp/fixtfsi.c: Likewise.
24822 * soft-fp/fixtfti.c: Likewise.
24823 * soft-fp/fixunsdfdi.c: Likewise.
24824 * soft-fp/fixunsdfsi.c: Likewise.
24825 * soft-fp/fixunsdfti.c: Likewise.
24826 * soft-fp/fixunssfdi.c: Likewise.
24827 * soft-fp/fixunssfsi.c: Likewise.
24828 * soft-fp/fixunssfti.c: Likewise.
24829 * soft-fp/fixunstfdi.c: Likewise.
24830 * soft-fp/fixunstfsi.c: Likewise.
24831 * soft-fp/fixunstfti.c: Likewise.
24832 * soft-fp/floatdidf.c: Likewise.
24833 * soft-fp/floatdisf.c: Likewise.
24834 * soft-fp/floatditf.c: Likewise.
24835 * soft-fp/floatsidf.c: Likewise.
24836 * soft-fp/floatsisf.c: Likewise.
24837 * soft-fp/floatsitf.c: Likewise.
24838 * soft-fp/floattidf.c: Likewise.
24839 * soft-fp/floattisf.c: Likewise.
24840 * soft-fp/floattitf.c: Likewise.
24841 * soft-fp/floatundidf.c: Likewise.
24842 * soft-fp/floatundisf.c: Likewise.
24843 * soft-fp/floatunsidf.c: Likewise.
24844 * soft-fp/floatunsisf.c: Likewise.
24845 * soft-fp/floatuntidf.c: Likewise.
24846 * soft-fp/floatuntisf.c: Likewise.
24847 * soft-fp/floatuntitf.c: Likewise.
24848 * soft-fp/fmadf4.c: Likewise.
24849 * soft-fp/fmasf4.c: Likewise.
24850 * soft-fp/fmatf4.c: Likewise.
24851 * soft-fp/gedf2.c: Likewise.
24852 * soft-fp/gesf2.c: Likewise.
24853 * soft-fp/getf2.c: Likewise.
24854 * soft-fp/ledf2.c: Likewise.
24855 * soft-fp/lesf2.c: Likewise.
24856 * soft-fp/letf2.c: Likewise.
24857 * soft-fp/muldf3.c: Likewise.
24858 * soft-fp/mulsf3.c: Likewise.
24859 * soft-fp/multf3.c: Likewise.
24860 * soft-fp/negdf2.c: Likewise.
24861 * soft-fp/negsf2.c: Likewise.
24862 * soft-fp/negtf2.c: Likewise.
24863 * soft-fp/op-1.h: Likewise.
24864 * soft-fp/op-2.h: Likewise.
24865 * soft-fp/op-4.h: Likewise.
24866 * soft-fp/op-8.h: Likewise.
24867 * soft-fp/op-common.h: Likewise.
24868 * soft-fp/quad.h: Likewise.
24869 * soft-fp/single.h: Likewise.
24870 * soft-fp/soft-fp.h: Likewise.
24871 * soft-fp/sqrtdf2.c: Likewise.
24872 * soft-fp/sqrtsf2.c: Likewise.
24873 * soft-fp/sqrttf2.c: Likewise.
24874 * soft-fp/subdf3.c: Likewise.
24875 * soft-fp/subsf3.c: Likewise.
24876 * soft-fp/subtf3.c: Likewise.
24877 * soft-fp/truncdfsf2.c: Likewise.
24878 * soft-fp/trunctfdf2.c: Likewise.
24879 * soft-fp/trunctfsf2.c: Likewise.
24880 * soft-fp/trunctfxf2.c: Likewise.
24881 * soft-fp/unorddf2.c: Likewise.
24882 * soft-fp/unordsf2.c: Likewise.
24883 * soft-fp/unordtf2.c: Likewise.
24885 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
24888 * misc/error.c (error_tail): Fix possible buffer overflow.
24890 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
24893 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
24896 2013-10-14 P. J. McDermott <pj@pehjota.net>
24899 * elf/ldd.bash.in (try_trace): New function. Delete previous code
24900 testing pipefail option.
24902 2013-10-12 Joseph Myers <joseph@codesourcery.com>
24904 * soft-fp/double.h: Indent preprocessor directives inside #if.
24905 * soft-fp/extended.h: Likewise.
24906 * soft-fp/op-2.h: Likewise.
24907 * soft-fp/op-4.h: Likewise.
24908 * soft-fp/op-common.h: Likewise.
24909 * soft-fp/quad.h: Likewise.
24910 * soft-fp/single.h: Likewise.
24911 * soft-fp/soft-fp.h: Likewise.
24913 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
24915 * iconv/iconv_prog.c: Fix typos.
24916 * stdio-common/psiginfo-data.h: Likewise.
24918 2013-10-12 Reuben Thomas <rrt@sc3d.org>
24921 * locale/setlocale.c: Fix typo.
24923 2013-10-12 Joseph Myers <joseph@codesourcery.com>
24926 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
24927 signaling NaN arguments.
24928 * soft-fp/unordsf2.c (__unordsf2): Likewise.
24929 * soft-fp/unordtf2.c (__unordtf2): Likewise.
24932 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
24933 unordered operands.
24934 * soft-fp/gesf2.c (__gesf2): Likewise.
24935 * soft-fp/getf2.c (__getf2): Likewise.
24936 * soft-fp/ledf2.c (__ledf2): Likewise.
24937 * soft-fp/lesf2.c (__lesf2): Likewise.
24938 * soft-fp/letf2.c (__letf2): Likewise.
24940 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
24941 * soft-fp/eqsf2.c (__eqsf2): Likewise.
24942 * soft-fp/eqtf2.c (__eqtf2): Likewise.
24943 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
24944 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
24945 * soft-fp/fixdfti.c (__fixdfti): Likewise.
24946 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
24947 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
24948 * soft-fp/fixsfti.c (__fixsfti): Likewise.
24949 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
24950 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
24951 * soft-fp/fixtfti.c (__fixtfti): Likewise.
24952 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
24953 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
24954 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
24955 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
24956 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
24957 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
24958 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
24959 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
24960 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
24961 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
24962 * soft-fp/floatdisf.c (__floatdisf): Likewise.
24963 * soft-fp/floatsisf.c (__floatsisf): Likewise.
24964 * soft-fp/floattidf.c (__floattidf): Likewise.
24965 * soft-fp/floattisf.c (__floattisf): Likewise.
24966 * soft-fp/floattitf.c (__floattitf): Likewise.
24967 * soft-fp/floatundidf.c (__floatundidf): Likewise.
24968 * soft-fp/floatundisf.c (__floatundisf): Likewise.
24969 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
24970 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
24971 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
24972 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
24973 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
24974 * soft-fp/gesf2.c (__gesf2): Likewise.
24975 * soft-fp/getf2.c (__getf2): Likewise.
24976 * soft-fp/ledf2.c (__ledf2): Likewise.
24977 * soft-fp/lesf2.c (__lesf2): Likewise.
24978 * soft-fp/letf2.c (__letf2): Likewise.
24980 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
24981 Undefine and redefine.
24982 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
24983 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
24984 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
24985 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
24986 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24987 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
24988 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24989 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
24990 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24991 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
24992 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24993 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
24994 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24995 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
24996 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24999 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
25000 without decrementing exponent if mantissa >= that for the
25001 denominator, not >.
25002 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
25003 denominator, not >. Decrement exponent in < case instead of
25004 incrementing in >= case.
25005 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
25006 without decrementing exponent if mantissa >= that for the
25007 denominator, not >.
25009 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
25010 computing saturated result for unsigned overflow.
25012 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25013 Jeff Law <law@redhat.com>
25015 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
25016 (atan2Mp): Add systemtap probe marker.
25017 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
25018 (__ieee754_log): Add systemtap probe marker.
25019 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
25020 (atanMp): Add systemtap probe marker.
25021 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
25022 (tanMp): Add systemtap probe marker.
25023 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
25024 (__slowexp): Add systemtap probe marker.
25025 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
25026 (__slowpow): Add systemtap probe marker.
25027 * manual/probes.texi: Document probes.
25029 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
25032 * libio/fileops.c (_IO_new_file_write): Return count of bytes
25034 (_IO_new_file_xsputn): Don't return EOF if nothing has been
25036 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
25037 written to buffer but not flushed.
25038 * libio/iofwrite_u.c: Likewise.
25039 * libio/iopadn.c: Return bytes returned even if EOF was
25041 * libio/iowpadn.c: Likewise.
25042 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
25043 if _IO_padn does not write the whole buffer.
25044 [!COMPILE_WPRINTF] (PAD): Likewise.
25046 2013-10-10 David S. Miller <davem@davemloft.net>
25048 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
25051 2013-10-10 Joseph Myers <joseph@codesourcery.com>
25053 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
25054 instead of FSF address.
25055 * soft-fp/fixdfti.c: Likewise.
25056 * soft-fp/fixsfti.c: Likewise.
25057 * soft-fp/fixtfti.c: Likewise.
25058 * soft-fp/fixunsdfti.c: Likewise.
25059 * soft-fp/fixunssfti.c: Likewise.
25060 * soft-fp/fixunstfti.c: Likewise.
25061 * soft-fp/floattidf.c: Likewise.
25062 * soft-fp/floattisf.c: Likewise.
25063 * soft-fp/floattitf.c: Likewise.
25064 * soft-fp/floatuntidf.c: Likewise.
25065 * soft-fp/floatuntisf.c: Likewise.
25066 * soft-fp/floatuntitf.c: Likewise.
25067 * soft-fp/trunctfxf2.c: Likewise.
25069 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
25070 * soft-fp/fixdfti.c: Likewise.
25071 * soft-fp/fixsfti.c: Likewise.
25072 * soft-fp/fixtfti.c: Likewise.
25073 * soft-fp/fixunsdfti.c: Likewise.
25074 * soft-fp/fixunssfti.c: Likewise.
25075 * soft-fp/fixunstfti.c: Likewise.
25076 * soft-fp/floattidf.c: Likewise.
25077 * soft-fp/floattisf.c: Likewise.
25078 * soft-fp/floattitf.c: Likewise.
25079 * soft-fp/floatuntidf.c: Likewise.
25080 * soft-fp/floatuntisf.c: Likewise.
25081 * soft-fp/floatuntitf.c: Likewise.
25082 * soft-fp/trunctfxf2.c: Likewise.
25084 2013-10-10 David S. Miller <davem@davemloft.net>
25086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25088 2013-10-10 Joseph Myers <joseph@codsourcery.com>
25090 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
25091 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
25092 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
25093 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
25094 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
25095 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
25096 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
25098 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
25099 for NaNs before doing comparisons on argument.
25100 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
25103 2013-10-10 Will Newton <will.newton@linaro.org>
25105 * malloc/hooks.c (memalign_check): Ensure the value of bytes
25106 passed to _int_memalign does not overflow.
25108 2013-10-10 Torvald Riegel <triegel@redhat.com>
25110 * scripts/bench.pl: Add include-sources directive.
25111 * benchtests/README: Update documentation.
25113 2013-10-10 Joseph Myers <joseph@codesourcery.com>
25115 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
25116 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
25117 instead of FP_INIT_ROUNDMODE.
25118 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
25119 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
25122 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
25123 copy class of input value.
25124 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
25125 not handle exceptions.
25126 * soft-fp/negsf2.c (__negsf2): Likewise.
25127 * soft-fp/negtf2.c (__negtf2): Likewise.
25128 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
25130 2013-10-09 Joseph Myers <joseph@codesourcery.com>
25132 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
25133 semicolon. From Linux kernel.
25135 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
25137 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
25139 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
25142 * manual/socket.texi: Added statement about buffer
25143 for gethostbyname2_r.
25145 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
25147 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
25148 Use .p2align directive instead, throughout.
25149 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25150 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
25151 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
25152 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25153 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25154 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
25155 * sysdeps/x86_64/strchr.S: Likewise.
25156 * sysdeps/x86_64/strrchr.S: Likewise.
25158 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25160 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
25162 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
25164 * sysdeps/generic/math_private.h (__mpsin1): Remove
25166 (__mpcos1): Likewise.
25167 (__mpsin): New argument __range_reduce.
25168 (__mpcos): Likewise.
25169 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25170 (slow): Use __mpsin and __mpcos.
25174 (sloww1): Likewise.
25175 (sloww2): Likewise.
25176 (bsloww): Likewise.
25177 (bsloww1): Likewise.
25178 (bsloww2): Likewise.
25179 (cslow2): Likewise.
25180 (csloww): Likewise.
25181 (csloww1): Likewise.
25182 (csloww2): Likewise.
25183 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
25184 range_reduce. Merge in __mpsin1.
25185 (__mpcos): Likewise.
25186 (__mpsin1): Remove.
25187 (__mpcos1): Likewise.
25189 2013-10-07 Joseph Myers <joseph@codesourcery.com>
25191 * locale/loadlocale.c (_nl_intern_locale_data): Use
25193 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
25194 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
25195 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
25196 obstack data is appropriately aligned.
25197 (obstack_int32_grow_fast): Likewise.
25198 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
25199 * locale/programs/locfile.c (add_locale_uint32): Likewise.
25200 (add_locale_uint32_array): Likewise.
25202 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25204 * benchtests/Makefile: Remove ARGLIST and RET variables.
25205 ($(objpfx)bench-%.c): Pass only function name to the script.
25206 * benchtests/README: Update documentation.
25207 * benchtests/acos-inputs: Add new directives.
25208 * benchtests/acosh-inputs: Likewise.
25209 * benchtests/asin-inputs: Likewise.
25210 * benchtests/asinh-inputs: Likewise.
25211 * benchtests/atan-inputs: Likewise.
25212 * benchtests/atanh-inputs: Likewise.
25213 * benchtests/cos-inputs: Likewise.
25214 * benchtests/cosh-inputs: Likewise.
25215 * benchtests/exp-inputs: Likewise.
25216 * benchtests/log-inputs: Likewise.
25217 * benchtests/pow-inputs: Likewise.
25218 * benchtests/rint-inputs: Likewise.
25219 * benchtests/sin-inputs: Likewise.
25220 * benchtests/sinh-inputs: Likewise.
25221 * benchtests/tan-inputs: Likewise.
25222 * benchtests/tanh-inputs: Likewise.
25223 * scripts/bench.pl: Add support for new directives.
25225 2013-10-07 Alan Modra <amodra@gmail.com>
25227 * README: Fix careless merge.
25229 2013-10-05 Alan Modra <amodra@gmail.com>
25231 * NEWS: Mention powerpc64le support and bugs fixed.
25232 * README: Both big-endian and little-endian powerpc64 supported.
25234 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25236 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
25237 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
25238 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
25239 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
25241 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
25243 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
25246 2013-10-04 Joseph Myers <joseph@codesourcery.com>
25248 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
25249 Move -mhard-float appending from
25250 ports/sysdeps/powerpc/powerpc32/Makefile.
25251 [$(with-fp) = yes] (ASFLAGS): Likewise.
25252 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
25253 * sysdeps/powerpc/nofpu: Move directory from
25254 ports/sysdeps/powerpc/nofpu.
25255 * sysdeps/powerpc/soft-fp: Move directory from
25256 ports/sysdeps/powerpc/soft-fp.
25257 * sysdeps/powerpc/powerpc32/405: Move directory from
25258 ports/sysdeps/powerpc/powerpc32/405.
25259 * sysdeps/powerpc/powerpc32/440: Move directory from
25260 ports/sysdeps/powerpc/powerpc32/440.
25261 * sysdeps/powerpc/powerpc32/464: Move directory from
25262 ports/sysdeps/powerpc/powerpc32/464.
25263 * sysdeps/powerpc/powerpc32/476: Move directory from
25264 ports/sysdeps/powerpc/powerpc32/476.
25265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
25266 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
25267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
25268 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
25269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
25270 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
25271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
25272 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
25273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
25274 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
25275 * README: Update for powerpc-*-linux-gnu software floating point
25278 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
25279 case to powerpc/powerpc32*.
25280 * sysdeps/unix/sysv/linux/configure: Regenerated.
25282 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
25283 (_FPU_MASK_OM): Define as 0x04.
25284 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
25285 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
25287 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
25289 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
25291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
25292 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
25294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
25295 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
25297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
25298 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
25299 and setcontext_e500.
25301 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
25303 * locale/iso-3166.def: Update iso-1366.def and related occurrences
25305 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25307 * manual/threads.texi (Default Thread Attributes): Fix typo.
25309 2013-10-04 Will Newton <will.newton@linaro.org>
25311 * malloc/Makefile: Add tst-memalign.
25312 * malloc/tst-memalign.c: New file.
25314 * malloc/tst-posix_memalign.c: Add comments.
25315 (do_test): Add comments and call free on all potentially
25316 allocated pointers. Add space after cast.
25318 * malloc/tst-pvalloc.c: Add comments.
25319 (do_test): Add comments and call free on all potentially
25320 allocated pointers. Remove duplicate check for NULL pointer.
25321 Add space after cast.
25323 * malloc/tst-valloc.c: Add comments.
25324 (do_test): Add comments and call free on all potentially
25325 allocated pointers. Remove duplicate check for NULL pointer.
25326 Add space after cast.
25328 2013-10-04 Alan Modra <amodra@gmail.com>
25330 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25331 Use stdint types in rather than __attribute__((mode())).
25332 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25334 2013-10-04 Alan Modra <amodra@gmail.com>
25336 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25337 Correct handling of unaligned relocs for little-endian.
25338 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25340 2013-10-04 Alan Modra <amodra@gmail.com>
25342 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
25343 * configure: Regenerate.
25344 * nptl/shlib-versions: Powerpc*le starts at 2.18.
25345 * shlib-versions: Likewise.
25347 2013-10-04 Alan Modra <amodra@gmail.com>
25349 * string/tester.c (test_memrchr): Increment reported test cycle.
25351 2013-10-04 Alan Modra <amodra@gmail.com>
25353 * string/test-memcpy.c (do_one_test): When reporting errors, print
25354 string address and don't overrun end of string.
25356 2013-10-04 Alan Modra <amodra@gmail.com>
25358 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
25359 insrdi. Make better use of reg selection to speed exit slightly.
25360 Schedule entry path a little better. Remove useless "are we done"
25361 checks on entry to main loop. Handle wrapping around zero address.
25362 Correct main loop count. Handle single left-over word from main
25363 loop inline rather than by using loop_small. Remove extra word
25364 case in loop_small caused by wrong loop count. Add little-endian
25366 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25367 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
25369 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25370 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
25371 support. Avoid rlwimi.
25372 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
25374 2013-10-04 Alan Modra <amodra@gmail.com>
25376 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
25377 insrdi. Formatting.
25378 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
25379 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25380 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
25381 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25382 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25383 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
25385 2013-10-04 Alan Modra <amodra@gmail.com>
25387 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
25388 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25389 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
25390 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
25391 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25392 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25393 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25394 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
25395 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
25396 use of regs. Use power7 mtocrf. Tidy function tails.
25398 2013-10-04 Alan Modra <amodra@gmail.com>
25400 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
25401 Formatting. Consistently use rXXX register defines or rN defines.
25402 Use early exit labels that avoid restoring unused non-volatile regs.
25403 Make cr field use more consistent with rWORDn compares. Rename
25404 regs used as shift registers for unaligned loop, using rN defines
25405 for short lifetime/multiple use regs.
25406 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25407 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
25408 addi 1,1,64 to pop stack frame. Simplify return value code.
25409 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25411 2013-10-04 Alan Modra <amodra@gmail.com>
25413 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
25414 support. Correct typos, formatting. Optimize tail. Use insrdi
25415 rather than rlwimi.
25416 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
25417 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
25418 little-endian support. Correct typos.
25419 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
25420 rather than rlwimi.
25421 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
25422 in loop and entry code to keep "and." results.
25423 (strchr): Add little-endian support. Comment. Move cntlzd
25425 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
25427 2013-10-04 Alan Modra <amodra@gmail.com>
25429 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
25430 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
25431 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
25432 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
25434 2013-10-04 Alan Modra <amodra@gmail.com>
25436 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
25437 (rTMP): Define as r11.
25438 (strcmp): Add little-endian support. Optimise tail.
25439 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
25440 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25441 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25442 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25443 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25444 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25445 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25447 2013-10-04 Alan Modra <amodra@gmail.com>
25449 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
25450 little-endian support. Remove unnecessary "are we done" tests.
25451 Handle "s" wrapping around zero and extremely large "size".
25452 Correct main loop count. Handle single left-over word from main
25453 loop inline rather than by using small_loop. Correct comments.
25454 Delete "zero" tail, use "end_max" instead.
25455 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
25457 2013-10-04 Alan Modra <amodra@gmail.com>
25459 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
25460 support. Don't branch over align.
25461 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
25462 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
25463 support. Rearrange tmp reg use to suit. Comment.
25464 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
25466 2013-10-04 Alan Modra <amodra@gmail.com>
25468 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
25470 2013-10-04 Alan Modra <amodra@gmail.com>
25472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
25473 conditional form of branch and link when obtaining pc.
25474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
25476 2013-10-04 Alan Modra <amodra@gmail.com>
25478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
25480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
25481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
25483 2013-10-04 Alan Modra <amodra@gmail.com>
25485 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
25486 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
25487 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
25488 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
25489 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25490 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25491 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
25492 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25493 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
25494 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
25496 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
25497 Alistair Popple <alistair@ozlabs.au.ibm.com>
25498 Alan Modra <amodra@gmail.com>
25501 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
25502 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
25503 _dl_hwcap access for little-endian.
25504 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
25505 destroy vmx regs when saving unaligned.
25506 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
25507 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
25508 destroy vmx regs when saving unaligned.
25510 2013-10-04 Alan Modra <amodra@gmail.com>
25512 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
25513 Don't use a union to pack hi/low value.
25515 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
25517 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
25519 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25520 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
25521 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
25522 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25523 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25525 2013-10-04 Alan Modra <amodra@gmail.com>
25527 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
25528 constants to usual value for .cst8 section, and remove redundant
25530 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
25531 constant for 0x1p52. Load little-endian words of double from
25532 correct stack offsets.
25534 2013-10-04 Alan Modra <amodra@gmail.com>
25536 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
25537 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
25538 words of double from correct stack offsets.
25539 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
25540 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
25541 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25542 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25543 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25544 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25545 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25546 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
25547 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
25548 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25549 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25550 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25551 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25552 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25553 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25554 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
25555 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
25557 2013-10-04 Alan Modra <amodra@gmail.com>
25559 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
25560 64-bit int/double union.
25561 (_FPU_SETCW): Likewise.
25562 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
25563 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
25565 2013-10-04 Alan Modra <amodra@gmail.com>
25567 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
25568 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
25570 2013-10-04 Alan Modra <amodra@gmail.com>
25572 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
25573 use vector int constants.
25574 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
25576 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
25578 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
25579 array with long long.
25580 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
25581 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
25582 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
25583 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
25584 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
25585 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
25586 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
25587 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
25588 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
25589 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
25590 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
25591 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
25592 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
25594 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
25596 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
25597 (__signbit): Likewise. Correct for little-endian.
25598 (__signbitl): Call __signbit.
25599 (lrint): Correct for little-endian.
25600 (lrintf): Call lrint.
25602 2013-10-04 Alan Modra <amodra@gmail.com>
25604 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
25605 union 32-bit int array member with 64-bit int array.
25606 (t515, tm256): Double rather than long double.
25607 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
25609 2013-10-04 Alan Modra <amodra@gmail.com>
25611 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
25613 (IEEE854_LONG_DOUBLE_BIAS): Delete.
25614 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
25615 version of math_ldbl.h.
25617 2013-10-04 Alan Modra <amodra@gmail.com>
25619 [BZ #15734], [BZ #15735]
25620 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
25621 all uses of ieee875 long double macros and unions. Simplify test
25622 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
25623 ldbl_extract_mantissa value for ix,iy exponents. Properly
25624 normalize after ldbl_extract_mantissa, and don't add hidden bit
25625 already handled. Don't treat low word of ieee854 mantissa like
25626 low word of IBM long double and mask off bit when testing for
25628 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
25629 all uses of ieee875 long double macros and unions. Simplify tests
25630 for 0.0L and inf. Correct double adjustment of k. Delete dead code
25631 adjusting ha,hb. Simplify code setting kld. Delete two600 and
25632 two1022, instead use their values. Recognise that tests for large
25633 "a" and small "b" are mutually exclusive. Rename vars. Comment.
25634 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
25635 Rewrite all uses of ieee875 long double macros and unions. Simplify
25636 test for 0.0L and nan. Correct negation.
25637 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
25638 ieee875 long double macros and unions. Correct output for large
25639 magnitude x. Correct absolute value calculation.
25640 (__erfcl): Likewise.
25641 * math/libm-test.inc: Add tests for errors discovered in IBM long
25642 double versions of fmodl, remainderl, erfl and erfcl.
25644 2013-10-04 Alan Modra <amodra@gmail.com>
25646 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
25647 all uses of ieee854 long double macros and unions. Simplify tests
25648 for long doubles that are fully specified by the high double.
25649 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
25651 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
25652 Remove dead code too.
25653 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
25654 (__ieee754_ynl): Likewise.
25655 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
25656 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
25657 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
25658 Remove dead code too.
25659 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
25660 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
25661 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
25662 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
25664 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
25666 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
25667 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
25668 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
25669 Comment on variable precision.
25670 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
25671 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25673 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
25674 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25675 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25676 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
25677 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
25679 2013-10-04 Alan Modra <amodra@gmail.com>
25681 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
25682 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
25683 all uses of ieee854 long double macros and unions.
25684 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
25685 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25686 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
25687 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
25688 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
25689 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25691 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
25692 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25693 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
25694 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25695 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
25696 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
25697 Simplify sign and nan test too.
25698 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
25699 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
25700 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
25701 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
25703 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25704 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
25706 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25707 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
25708 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
25709 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
25710 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
25711 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
25713 2013-10-04 Alan Modra <amodra@gmail.com>
25715 * stdio-common/printf_size.c (__printf_size): Don't use
25716 union ieee854_long_double in fpnum union.
25717 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
25718 signbit macro to retrieve sign from long double.
25719 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
25720 retrieve sign from long double.
25721 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
25722 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
25723 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
25724 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25725 * math/test-misc.c (main): Don't use union ieee854_long_double.
25727 2013-10-04 Alan Modra <amodra@gmail.com>
25730 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
25731 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
25732 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
25733 calculation. Remove unnecessary test for denormal exponent.
25734 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
25735 Correct handling of denormals. Avoid undefined shift behaviour.
25736 Correct normalisation of low mantissa when low double is denormal.
25737 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
25738 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
25739 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
25740 Correct normalisation of low mantissa. Test for overflow of high
25741 mantissa and normalise.
25742 (ldbl_nearbyint): Use more readable constant for two52.
25743 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
25744 (__mpn_construct_long_double): Fix test for overflow of high
25745 mantissa and correct normalisation. Avoid undefined shift.
25747 2013-10-04 Alan Modra <amodra@gmail.com>
25749 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25750 (union ibm_extended_long_double): Define as an array of ieee754_double.
25751 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
25752 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
25753 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
25754 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25755 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25756 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
25757 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25758 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25759 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25760 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
25761 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25763 2013-10-03 Joseph Myers <joseph@codesourcery.com>
25765 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
25766 page size instead of calling getpagesize.
25768 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
25769 (LOCFILE_ALIGN_MASK): Likewise.
25770 (LOCFILE_ALIGN_UP): Likewise.
25771 (LOCFILE_ALIGNED_P): Likewise.
25772 * locale/programs/ld-collate.c (collate_output): Use the new
25773 macros instead of __alignof__ (int32_t).
25774 * locale/weight.h (findidx): Likewise.
25776 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
25779 * manual/string.texi: Fix strncat and wcsncat.
25781 2013-10-03 Brooks Moses <bmoses@google.com>
25784 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
25785 * Makerules: ...here, and adjust associated comments.
25787 2013-10-02 Will Newton <will.newton@linaro.org>
25789 * malloc/Makefile: Add tst-pvalloc.
25790 * malloc/tst-pvalloc.c: New file.
25792 2013-10-02 Will Newton <will.newton@linaro.org>
25794 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
25795 improve test coverage.
25797 2013-10-02 Will Newton <will.newton@linaro.org>
25799 * malloc/Makefile: Add tst-posix_memalign.
25800 * malloc/tst-posix_memalign.c: New file.
25802 2013-10-01 Eric Blake <eblake@redhat.com>
25804 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
25805 Use __THROWNL rather than __THROW on static functions.
25807 2013-09-30 Petr Machata <pmachata@redhat.com>
25809 * elf/elf.h (R_AARCH64_ABS16): New macro.
25810 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
25811 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
25812 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
25813 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
25814 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
25815 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
25816 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
25817 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
25818 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
25819 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
25820 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
25821 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
25822 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
25823 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
25824 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
25825 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
25826 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
25827 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
25828 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
25829 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
25830 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
25831 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
25832 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
25833 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
25834 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
25835 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
25836 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
25837 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
25838 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
25839 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
25840 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
25841 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
25842 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
25843 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
25844 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
25845 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
25846 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
25847 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
25848 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
25849 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
25850 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
25851 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
25852 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
25853 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
25854 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
25855 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
25856 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
25857 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
25858 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
25859 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
25860 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
25861 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
25862 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
25863 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
25864 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
25865 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
25866 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
25867 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
25868 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
25869 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
25870 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
25871 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
25872 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
25873 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
25874 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
25875 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
25876 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
25877 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
25878 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
25879 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
25880 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
25881 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
25882 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
25883 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
25884 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
25885 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
25886 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
25887 (R_AARCH64_TLSDESC_LDR): Likewise.
25888 (R_AARCH64_TLSDESC_ADD): Likewise.
25889 (R_AARCH64_TLSDESC_CALL): Likewise.
25891 2013-09-30 Andreas Schwab <schwab@suse.de>
25894 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
25895 the nss database lookup.
25896 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25897 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25899 2013-09-28 Mike Frysinger <vapier@gentoo.org>
25901 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
25903 2013-09-28 P. J. McDermott <pj@pehjota.net>
25905 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
25906 ${Bash-specific parameter/pattern/string} parameter expansion.
25907 * sysdeps/unix/make-syscalls.sh: Likewise.
25909 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25911 * sysdeps/sh/stackguard-macros.h: New file.
25913 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
25915 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25916 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
25917 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
25918 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
25919 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25920 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
25922 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25924 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
25925 Fix thread ID register.
25927 2013-09-25 Joseph Myers <joseph@codesourcery.com>
25929 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
25930 [POSIX || UNIX98]: Require rather than permitting all symbols from
25932 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
25933 element of struct sched_param.
25934 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
25935 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
25936 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
25937 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
25940 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
25942 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
25943 argument calculation.
25945 2013-09-24 Joseph Myers <joseph@codesourcery.com>
25947 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
25949 [POSIX] (pthread_attr_t): Do not require type.
25950 [POSIX] (pthread_cond_t): Likewise.
25951 [POSIX] (pthread_condattr_t): Likewise.
25952 [POSIX] (pthread_key_t): Likewise.
25953 [POSIX] (pthread_mutex_t): Likewise.
25954 [POSIX] (pthread_mutexattr_t): Likewise.
25955 [POSIX] (pthread_once_t): Likewise.
25956 [POSIX] (pthread_t): Likewise.
25957 [POSIX-based standards] (pthread_atfork): Expect function.
25959 2013-09-24 Joseph Myers <joseph@codesourcery.com>
25960 Richard Sandiford <richard@codesourcery.com>
25962 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
25963 (swap_endianness_p): New extern variable.
25964 (set_big_endian): New inline function.
25965 (maybe_swap_uint32): Likewise.
25966 (maybe_swap_uint32_array): Likewise.
25967 (maybe_swap_uint32_obstack): Likewise.
25968 * locale/programs/locfile.c: Include <stdbool.h>.
25969 (swap_endianness_p): New variable.
25970 (add_locale_uint32): Call maybe_swap_uint32.
25971 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
25972 (write_locale_data): Call maybe_swap_uint32_array.
25973 * locale/programs/ld-collate.c (obstack_int32_grow): Call
25975 (obstack_int32_grow_fast): Likewise.
25976 (output_weightwc): Call maybe_swap_uint32_obstack.
25977 (collate_output): Likewise.
25978 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
25979 (OPT_LITTLE_ENDIAN): Likewise.
25980 (options): Add --little-endian and --big-endian options.
25981 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
25982 * locale/programs/locarchive.c: Include "locfile.h".
25986 (create_archive): Use the new macros to access fields of
25987 structures directly mapped from or written to locale archives.
25988 (oldlocrecentcmp): Likewise.
25989 (enlarge_archive): Likewise.
25990 (insert_name): Likewise.
25991 (add_alias): Likewise.
25992 (add_locale): Likewise.
25993 (delete_locales_from_archive): Likewise.
25994 (show_archive_content): Likewise.
25995 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
25998 2013-09-24 Roland McGrath <roland@hack.frob.com>
26000 * manual/freemanuals.texi: Updated from (newly) canonical copy at
26001 http://www.gnu.org/doc/freemanuals.texi.
26002 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
26004 2013-09-24 Will Newton <will.newton@linaro.org>
26006 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
26009 2013-09-23 Joseph Myers <joseph@codesourcery.com>
26011 * locale/hashval.h (compute_hashval): Interpret bytes of key as
26014 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
26016 * manual/threads.texi (POSIX Threads): Fix a typo.
26018 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
26021 * string/tst-strcoll-overflow.c: New test case.
26022 * string/Makefile (xtests): Add tst-strcoll-overflow.
26023 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
26024 cache if string sizes may cause integer overflow.
26027 * string/strcoll_l.c (coll_seq): New members rule, idx,
26028 save_idx and back_us.
26029 (get_next_seq_nocache): New function.
26030 (do_compare_nocache): New function.
26031 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
26034 2013-09-23 Carlos O'Donell <carlos@redhat.com>
26037 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
26038 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
26039 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
26042 * elf/Makefile (tests): Add tst-ptrguard1.
26043 (tests-static): Add tst-ptrguard1-static.
26044 (tst-ptrguard1-ARGS): Define.
26045 (tst-ptrguard1-static-ARGS): Define.
26046 * elf/tst-ptrguard1.c: New file.
26047 * elf/tst-ptrguard1-static.c: New file.
26048 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
26049 * sysdeps/i386/stackguard-macros.h: Likewise.
26050 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
26051 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
26052 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26053 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26054 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
26055 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
26057 2013-09-23 Hector Marco <hecmargi@upv.es>
26058 Ismael Ripoll <iripoll@disca.upv.es>
26059 Carlos O'Donell <carlos@redhat.com>
26062 * sysdeps/generic/stackguard-macros.h: Define
26063 __pointer_chk_guard_local and POINTER_CHK_GUARD.
26064 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
26065 Define __pointer_chk_guard_local.
26066 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
26067 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
26069 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
26072 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
26074 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
26076 * include/string.h (__ffs): Declare as hidden.
26077 * string/ffs.c (__ffs): Define as hidden.
26078 * sysdeps/i386/ffs.c (__ffs): Likewise.
26079 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
26080 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
26081 * sysdeps/s390/ffs.c (__ffs): Likewise.
26082 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
26084 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
26086 * NEWS: Mention malloc probes.
26088 * malloc/arena.c (new_heap): New memory_heap_new probe.
26089 (grow_heap): New memory_heap_more probe.
26090 (shrink_heap): New memory_heap_less probe.
26091 (heap_trim): New memory_heap_free probe.
26092 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
26093 (systrim): New memory_sbrk_less probe.
26094 * manual/probes.texi: Document them.
26096 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
26097 * manual/probes.texi: Document it.
26099 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
26100 (__libc_realloc): Add memory_realloc_retry probe.
26101 (__libc_memalign): Add memory_memalign_retry probe.
26102 (__libc_valloc): Add memory_valloc_retry probe.
26103 (__libc_pvalloc): Add memory_pvalloc_retry probe.
26104 (__libc_calloc): Add memory_calloc_retry probe.
26105 * manual/probes.texi: Document them.
26107 * malloc/arena.c (get_free_list): Add probe
26108 memory_arena_reuse_free_list.
26109 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
26110 and memory_arena_reuse.
26111 (arena_get2) [!PER_THREAD]: Likewise.
26112 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
26113 memory_arena_reuse_realloc.
26114 * manual/probes.texi: Document them.
26116 * malloc/malloc.c (__libc_free): Add
26117 memory_mallopt_free_dyn_thresholds probe.
26118 (__libc_mallopt): Add multiple memory_mallopt probes.
26119 * manual/probes.texi: Document them.
26121 * malloc/malloc.c: Include stap-probe.h.
26122 (__libc_mallopt): Add memory_mallopt probe.
26123 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
26124 * manual/probes.texi: New.
26125 * manual/Makefile (chapters): Add probes.
26126 * manual/threads.texi: Set next node.
26128 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
26130 [BZ #15963, #13985]
26131 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
26132 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
26133 Add `Chinese' to `nan' entry name.
26135 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26137 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
26138 (POLYNOMIAL): Likewise.
26139 (TAYLOR_SINCOS): Likewise.
26140 (TAYLOR_SLOW): Likewise.
26141 (__sin): Use TAYLOR_SINCOS.
26143 (slow): Use TAYLOR_SLOW.
26145 (bsloww): Likewise.
26146 (csloww): Likewise.
26148 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26150 * stdlib/strtod_l.c: Fix buffer overrun.
26152 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26154 * benchtests/Makefile (bench): Add sincos.
26155 * benchtests/bench-sincos.c: New file.
26157 * math/libm-test.inc (cos_test_data): New test inputs.
26158 (sin_test_data): Likewise.
26160 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
26166 (sloww1): Likewise.
26167 (sloww2): Likewise.
26168 (bsloww1): Likewise.
26169 (bsloww2): Likewise.
26170 (cslow2): Likewise.
26171 (csloww1): Likewise.
26172 (csloww2): Likewise.
26174 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
26179 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
26183 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
26185 * config.h.in (HAVE_MIPS_NAN2008): New macro.
26186 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
26187 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
26188 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
26189 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
26190 * elf/cache.c (print_entry): Handle the new cache flags.
26192 2013-09-18 Joseph Myers <joseph@codesourcery.com>
26193 Aldy Hernandez <aldyh@redhat.com>
26195 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
26196 Change condition to [_SOFT_FLOAT].
26197 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
26198 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
26199 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
26200 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
26201 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
26202 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
26203 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
26204 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
26205 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
26206 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
26207 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
26208 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
26209 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
26210 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
26211 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
26212 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
26215 2013-09-18 Joseph Myers <joseph@codesourcery.com>
26217 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
26218 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
26219 (__longjmp): Use LOAD_GP to load saved GPRs.
26220 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
26221 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
26222 (__sigsetjmp): Use SAVE_GP to save GPRs.
26224 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
26225 Do not append -msoft-float.
26226 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
26228 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26230 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
26232 2013-09-17 Joseph Myers <joseph@codesourcery.com>
26235 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
26236 (_FPU_GETCW): Use initial "__" on variable and field names but not
26237 on macro parameter name.
26238 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
26239 parentheses around reference to macro parameter.
26241 2013-09-13 Richard Sandiford <richard@codesourcery.com>
26243 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
26245 (ctype_startup): Use uint32_t in cast and sizeof for
26248 2013-09-11 Jia Liu <proljc@gmail.com>
26250 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
26252 [__FreeBSD__]: Likewise.
26254 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
26256 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
26257 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
26258 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
26259 (strchr): Remove __strchr_sse42 ifunc selection.
26260 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
26261 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
26263 2013-09-11 Will Newton <will.newton@linaro.org>
26265 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
26266 parameter to RES. Remove hardcoded 1000 value.
26267 * benchtests/bench-skeleton.c (main): Pass RES parameter
26268 to TIMING_INIT and multiply result by 1000.
26270 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26274 2013-09-11 Andreas Schwab <schwab@suse.de>
26276 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
26278 (O_TMPFILE) [__USE_GNU]: Define.
26279 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
26282 2013-09-11 Will Newton <will.newton@linaro.org>
26285 * malloc/malloc.c (__libc_memalign): Check the value of bytes
26288 2013-09-11 Will Newton <will.newton@linaro.org>
26291 * malloc/malloc.c (__libc_valloc): Check the value of bytes
26294 2013-09-11 Will Newton <will.newton@linaro.org>
26297 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
26300 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
26302 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
26303 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26304 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26305 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26306 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26308 2013-09-10 Allan McRae <allan@archlinux.org>
26311 * manual/arith.texi (Parsing of Floats): Clarify
26315 * manual/install.texi (Running make install): Mention
26317 * INSTALL: Regenerated.
26319 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
26321 * csu/init-first.c (_init): Remove the !SHARED condition around
26322 FPU control word initialization.
26323 * elf/dl-support.c (_dl_fpu_control): New variable.
26324 (_dl_aux_init) <AT_FPUCW>: Initialize it.
26325 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
26326 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
26327 * math/test-fpucw-static.c: New file.
26328 * math/test-fpucw-ieee.c: New file.
26329 * math/test-fpucw-ieee-static.c: New file.
26330 * math/Makefile (tests): Add `test-fpucw-ieee' and
26332 (tests-static): New variable.
26333 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
26335 [($(build-shared),yes)]
26336 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
26338 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
26341 2013-09-09 Allan McRae <allan@archlinux.org>
26344 * manual/string.texi (Collation Functions): Fix typo in
26346 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
26349 * stdlib/isomac.c (get_null_defines): Fix memory leak.
26352 * libio/memstream.c (open_memstream): Fix memory leak.
26353 * libio/wmemstream.c (open_wmemstream): Likewise.
26356 * nscd/netgroupcache.c: Fix nesting of ifdefs.
26358 2013-09-09 Will Newton <will.newton@linaro.org>
26360 * malloc/Makefile: Add tst-realloc to tests.
26361 * malloc/tst-realloc.c: New file.
26363 2013-09-09 Allan McRae <allan@archlinux.org>
26366 * COPYING: Update from GNU website to fix FSF address.
26367 * COPYING.LIB: Likewise.
26369 2013-09-06 David S. Miller <davem@davemloft.net>
26371 * po/zh_TW.po: Update Chinese (traditional) translation from
26372 translation project.
26374 2013-09-06 Richard Sandiford <richard@codesourcery.com>
26375 Joseph Myers <joseph@codesourcery.com>
26377 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
26379 (obstack_chunk_alloc): New macro.
26380 (obstack_chunk_free): Likewise.
26381 (record_offset): New function.
26382 (init_locale_data): Likewise.
26383 (align_locale_data): Likewise.
26384 (add_locale_empty): Likewise.
26385 (add_locale_raw_data): Likewise.
26386 (add_locale_raw_obstack): Likewise.
26387 (add_locale_string): Likewise.
26388 (add_locale_wstring): Likewise.
26389 (add_locale_uint32): Likewise.
26390 (add_locale_uint32_array): Likewise.
26391 (add_locale_char): Likewise.
26392 (start_locale_structure): Likewise.
26393 (end_locale_structure): Likewise.
26394 (start_locale_prelude): Likewise.
26395 (end_locale_prelude): Likewise.
26396 (write_locale_data): Take locale_file structure rather than an
26398 * locale/programs/locfile.h: Include "obstack.h".
26399 (struct locale_file): Change to store locale file contents instead
26401 (init_locale_data): New prototype.
26402 (align_locale_data): Likewise.
26403 (add_locale_empty): Likewise.
26404 (add_locale_raw_data): Likewise.
26405 (add_locale_raw_obstack): Likewise.
26406 (add_locale_string): Likewise.
26407 (add_locale_wstring): Likewise.
26408 (add_locale_uint32): Likewise.
26409 (add_locale_uint32_array): Likewise.
26410 (add_locale_char): Likewise.
26411 (start_locale_structure): Likewise.
26412 (end_locale_structure): Likewise.
26413 (start_locale_prelude): Likewise.
26414 (end_locale_prelude): Likewise.
26415 (write_locale_data): Update prototype.
26416 * locale/programs/3level.h (struct TABLE): Remove result field.
26417 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
26418 Use new locale_file interface.
26419 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
26420 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
26421 * locale/programs/ld-address.c (address_output): Use new
26422 locale_file interface.
26423 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
26425 (collate_finish): Don't call collseq_table_finalize.
26426 (collate_output): Use new locale_file interface.
26427 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
26429 (NO_FINALIZE): Change to NO_ADD_LOCALE.
26430 (TABLE): Move defines earlier in file.
26431 (ELEMENT): Likewise.
26432 (DEFAULT): Likewise.
26433 (wctrans_table_add): Move macro and inline function earlier in
26435 (struct wctype_table): Move type earlier in file.
26436 (add_locale_wctype_table): New static prototype.
26437 (struct locale_ctype_t): Use logical types instead of struct iovec
26438 pointers for members.
26439 (ctype_output): Use new locale_file interface.
26440 (wctype_table_finalize): Change to add_locale_wctype_table. Use
26441 new locale_file interface.
26442 (allocate_arrays): Update for use of new locale_file interface.
26443 * locale/programs/ld-identification.c (identification_output): Use
26444 new locale_file interface.
26445 * locale/programs/ld-measurement.c (measurement_output): Likewise.
26446 * locale/programs/ld-messages.c (messages_output): Likewise.
26447 * locale/programs/ld-monetary.c (monetary_output): Likewise.
26448 * locale/programs/ld-name.c (name_output): Likewise.
26449 * locale/programs/ld-numeric.c (numeric_output): Likewise.
26450 * locale/programs/ld-paper.c (paper_output): Likewise.
26451 * locale/programs/ld-telephone.c (telephone_output): Likewise.
26452 * locale/programs/ld-time.c (time_output): Likewise.
26454 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26456 * benchtests/Makefile: Add memrchr benchmark.
26457 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
26458 benchmark as memrchr.
26459 * benchtests/bench-memrchr-ifunc.c: New file.
26460 * benchtests/bench-memrchr.c: New file.
26462 2013-09-06 Will Newton <will.newton@linaro.org>
26464 * benchtests/Makefile (string-bench): Add memcpy.
26466 2013-09-05 Carlos O'Donell <carlos@redhat.com>
26467 Cong Wang <amwang@redhat.com>
26470 * sysdeps/unix/sysv/linux/bits/in.h
26471 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
26472 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
26473 before __USE_KERNEL_IPV6_DEFS uses.
26474 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
26476 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
26477 sockaddr_in6, or ipv6_mreq.
26479 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26481 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
26482 memory access for final bytes in some large inputs.
26483 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
26485 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26487 * string/test-memrchr.c: New file.
26488 * string/test-memrchr-ifunc.c: New file.
26489 * string/Makefile: Add new memrchr testcase.
26491 2013-09-05 Mike Frysinger <vapier@gentoo.org>
26493 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
26494 fanotify_init returns EPERM.
26496 2013-09-04 Joseph Myers <joseph@codesourcery.com>
26498 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
26500 (top level): Treat second token from macro or constant entries for
26501 allowed headers as allowed.
26502 * include/complex.h: Condition internal declarations on
26504 * include/fenv.h: Condition include of <stdbool.h> and internal
26505 declarations on [!_ISOMAC].
26507 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
26510 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
26512 2013-09-04 Joseph Myers <joseph@codesourcery.com>
26514 * configure.in (--enable-versioning): Remove configure option.
26515 (libc_cv_asm_symver_directive): Remove configure test.
26516 (libc_cv_ld_version_script_option): Likewise.
26517 (VERSIONING): Remove variable and AC_SUBST.
26518 (DO_VERSIONING): Remove AC_DEFINE.
26519 * configure: Regenerated.
26520 * config.h.in (DO_VERSIONING): Remove macro.
26521 * Makerules [$(versioning) = yes]: Change conditionals to
26522 [$(build-shared) = yes].
26523 * config.make.in (versioning): Remove variable.
26524 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
26525 [$(build-shared) = yes].
26526 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
26527 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
26528 * elf/Makefile [$(versioning) = yes]: Change conditionals to
26529 [$(build-shared) = yes].
26530 * extra-lib.mk [$(versioning) = yes]: Likewise.
26531 * hurd/Makefile [$(versioning) = yes]: Likewise.
26532 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
26534 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
26536 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
26537 [SHARED && !NO_HIDDEN].
26538 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
26540 [SHARED && DO_VERSIONING]: Likewise..
26541 * libio/Makefile [$(versioning) = yes]: Change conditionals to
26542 [$(build-shared) = yes].
26543 * manual/install.texi (--disable-versioning): Remove
26545 * INSTALL: Regenerated.
26546 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
26548 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
26549 [$(build-shared) = yes].
26550 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
26551 * sysdeps/i386/i686/multiarch/strstr-c.c
26552 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
26553 [SHARED && !NO_HIDDEN].
26554 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
26555 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
26556 * sysdeps/powerpc/powerpc32/dl-machine.c
26557 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
26558 * sysdeps/powerpc/powerpc32/sysdep.h
26559 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
26560 to [SHARED && PIC && !NO_HIDDEN].
26561 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
26562 conditional to [SHARED].
26564 2013-09-04 Will Newton <will.newton@linaro.org>
26566 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
26567 * benchtests/bench-string.h: Include bench-timing.h instead
26568 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
26569 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
26570 call to HP_TIMING_DIFF_INIT.
26571 * benchtests/bench-memccpy.c: Use bench-timing.h macros
26572 instead of hp-timing.h macros.
26573 * benchtests/bench-memchr.c: Likewise.
26574 * benchtests/bench-memcmp.c: Likewise.
26575 * benchtests/bench-memcpy.c: Likewise.
26576 * benchtests/bench-memmem.c: Likewise.
26577 * benchtests/bench-memmove.c: Likewise.
26578 * benchtests/bench-memset.c: Likewise.
26579 * benchtests/bench-rawmemchr.c: Likewise.
26580 * benchtests/bench-strcasecmp.c: Likewise.
26581 * benchtests/bench-strcasestr.c: Likewise.
26582 * benchtests/bench-strcat.c: Likewise.
26583 * benchtests/bench-strchr.c: Likewise.
26584 * benchtests/bench-strcmp.c: Likewise.
26585 * benchtests/bench-strcpy.c: Likewise.
26586 * benchtests/bench-strcpy_chk.c: Likewise.
26587 * benchtests/bench-strlen.c: Likewise.
26588 * benchtests/bench-strncasecmp.c: Likewise.
26589 * benchtests/bench-strncat.c: Likewise.
26590 * benchtests/bench-strncmp.c: Likewise.
26591 * benchtests/bench-strncpy.c: Likewise.
26592 * benchtests/bench-strnlen.c: Likewise.
26593 * benchtests/bench-strpbrk.c: Likewise.
26594 * benchtests/bench-strrchr.c: Likewise.
26595 * benchtests/bench-strspn.c: Likewise.
26596 * benchtests/bench-strstr.c: Likewise.
26598 2013-09-04 Will Newton <will.newton@linaro.org>
26600 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
26602 2013-09-03 Joseph Myers <joseph@codesourcery.com>
26605 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
26606 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
26607 * math/libm-test.inc (lgamma_test_data): Add more tests.
26608 * sysdeps/i386/fpu/libm-test-ulps: Update.
26609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26611 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
26613 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
26614 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26616 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26617 Add strcmp-sse2-unaligned
26618 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
26620 2013-09-02 Mike Frysinger <vapier@gentoo.org>
26622 * Versions.def (libc): Add GLIBC_2.19.
26624 2013-09-02 Mike Frysinger <vapier@gentoo.org>
26626 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
26627 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
26629 2013-09-02 Joseph Myers <joseph@codesourcery.com>
26632 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
26633 intermediate calculations in recurrence.
26634 (__ieee754_ynf): Likewise.
26635 * math/libm-test.inc (jn_test_data): Do not allow spurious
26636 underflow exception. Add more tests.
26637 (yn_test_data): Add more tests.
26638 * sysdeps/i386/fpu/libm-test-ulps: Update.
26639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26641 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
26643 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
26645 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
26647 * csu/init-first.c: Fix then/than typos.
26648 * locale/programs/ld-collate.c: Likewise.
26649 * locale/programs/linereader.h: Likewise.
26650 * manual/charset.texi: Likewise.
26651 * manual/filesys.texi: Likewise.
26652 * manual/stdio.texi: Likewise.
26653 * manual/string.texi: Likewise.
26654 * stdlib/fmtmsg.c: Likewise.
26655 * sysdeps/i386/stpncpy.S: Likewise.
26656 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26657 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26658 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26659 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26661 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
26663 * elf/dl-open.c: Fix typos.
26664 * iconvdata/gbbig5.c: Likewise.
26665 * iconvdata/iso-2022-jp.c: Likewise.
26666 * iconv/gconv_int.h: Likewise.
26667 * iconv/loop.c: Likewise.
26668 * nis/rpcsvc/nis.h: Likewise.
26669 * resolv/ns_name.c: Likewise.
26670 * stdio-common/vfscanf.c: Likewise.
26671 * streams/stropts.h: Likewise.
26672 * sunrpc/rpc_thread.c: Likewise.
26673 * sysdeps/i386/strpbrk.S: Likewise.
26674 * sysdeps/ieee754/k_standard.c: Likewise.
26675 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26676 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26677 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
26678 * sysdeps/mach/hurd/profil.c: Likewise.
26679 * sysdeps/s390/dl-procinfo.h: Likewise.
26680 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
26681 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
26682 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
26683 * sysdeps/x86_64/dl-trampoline.S: Likewise.
26684 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26686 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
26688 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
26689 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
26691 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
26693 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
26694 aix specific files.
26695 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
26696 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
26697 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
26698 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
26699 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
26700 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
26701 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
26702 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
26704 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
26705 Roland McGrath <roland@hack.frob.com>
26707 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
26708 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
26710 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
26712 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
26713 __executable_start symbol instead of _start.
26715 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
26717 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
26718 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
26720 * sysdeps/gnu/ldsodefs.h: ... this new file.
26722 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
26723 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
26724 instead of ELFOSABI_LINUX.
26726 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
26727 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
26728 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
26729 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
26731 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
26732 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
26733 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
26735 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
26736 (ibm_extended_long_double): Add ieee_nan member.
26737 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
26738 (do_test): New function.
26740 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
26742 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
26743 functions, renamed from truncdfsf_test, trunctfsf_test,
26745 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
26747 (do_test): Run all these.
26749 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
26751 * argp/argp-help.c: Fix typos.
26752 * argp/argp-parse.c: Likewise.
26753 * debug/backtracesyms.c: Likewise.
26754 * elf/elf.h: Likewise.
26755 * malloc/malloc.c: Likewise.
26756 * nis/nis_print.c: Likewise.
26757 * resolv/res_comp.c: Likewise.
26758 * stdlib/stdlib.h: Likewise.
26759 * sunrpc/clnt_tcp.c: Likewise.
26760 * sunrpc/clnt_udp.c: Likewise.
26761 * sunrpc/clnt_unix.c: Likewise.
26762 * sysdeps/unix/bsd/ptsname.c: Likewise.
26763 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
26764 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
26765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
26767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
26769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
26771 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26773 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26775 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
26776 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26778 2013-08-27 Mike Frysinger <vapier@gentoo.org>
26781 * dlfcn/Makefile (tests): Add bug-dl-leaf.
26782 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
26783 ($(objpfx)bug-dl-leaf): New rule.
26784 ($(objpfx)bug-dl-leaf.so): Likewise.
26785 ($(objpfx)bug-dl-leaf.out): Likewise.
26786 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
26787 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
26788 * dlfcn/bug-dl-leaf.c: New test.
26789 * dlfcn/bug-dl-leaf-lib.c: Likewise.
26790 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
26791 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
26792 (dlclose): Likewise.
26793 (dlmopen): Likewise.
26795 2013-08-27 Roland McGrath <roland@hack.frob.com>
26797 * include/netdb.h [!_ISOMAC]:
26798 Don't include <tls.h>.
26799 (h_errno, __libc_h_errno): Move declaration and macros out of
26802 * include/resolv.h [_RESOLV_H_]:
26803 Don't include <tls.h>.
26804 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
26805 * resolv/res_libc.c: Don't include <tls.h>.
26806 (_res): Use __attribute__ ((nocommon)) in place of
26807 __attribute__ ((section (".bss"))).
26809 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
26810 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
26812 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
26814 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
26815 only under [SIOCGIFCONF && SIOCGIFNETMASK].
26817 * resolv/res_mkquery.c: Include <sys/time.h>.
26819 * inet/ifreq.c: Moved to ...
26820 * sysdeps/unix/ifreq.c: ... here.
26821 * inet/ifreq.c: New file, true stub version.
26823 * socket/sa_len.c: New file.
26824 * socket/Makefile (aux): Add it.
26825 * sysdeps/unix/sysv/linux/Makefile
26826 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
26827 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
26828 and #include <socket/sa_len.c>.
26829 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
26830 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
26832 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
26833 * bits/socket.h: ... here.
26835 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
26836 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
26837 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
26839 2013-08-27 Andreas Schwab <schwab@suse.de>
26842 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
26843 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
26844 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
26845 * string/test-strcasecmp.c (test_main): Run tests in several
26847 * string/test-strncasecmp.c (test_main): Likewise.
26849 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
26850 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
26851 to __strcasecmp_nonascii and __strncasecmp_nonascii.
26852 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
26853 (__strncasecmp_ssse3) [PIC]: Likewise.
26855 2013-08-26 Roland McGrath <roland@hack.frob.com>
26857 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
26859 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
26860 instead of explicitly declaring xdecrypt.
26861 * nis/nss_nis/nis-publickey.c: Likewise.
26863 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26866 * nscd/aicache.c: Include res_hconf.h.
26867 (addhstaiX): Initialize res_hconf.
26869 2013-08-26 Andreas Schwab <schwab@suse.de>
26871 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
26872 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
26874 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26876 * nscd/aicache.c (addhstaiX): Fix indentation.
26878 2013-08-25 Mike Frysinger <vapier@gentoo.org>
26880 * configure.ac: Quote $build_pt_chown test.
26881 * configure: Regenerated.
26883 2013-08-23 Joseph Myers <joseph@codesourcery.com>
26886 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
26887 * math/s_cexpf.c (__cexpf): Likewise.
26888 * math/s_cexpl.c (__cexpl): Likewise.
26889 * math/libm-test.inc (cexp_test_data): Correct expected return
26890 value for NaN + i0. Add another test.
26892 2013-08-22 David S. Miller <davem@davemloft.net>
26894 * po/ca.po: Update Catalan translation from translation project.
26895 * po/uk.po: Add Ukrainian translations from translation project.
26897 2013-08-21 Joseph Myers <joseph@codesourcery.com>
26900 * math/s_fdim.c (__fdim): Check for infinite arguments if result
26901 is infinite, not alongside NaN test.
26902 * math/s_fdimf.c (__fdimf): Likewise.
26903 * math/s_fdiml.c (__fdiml): Likewise.
26904 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
26905 errno is unchanged.
26907 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
26909 * argp/argp-help.c: Fix typos.
26910 * crypt/speeds.c: Likewise.
26911 * csu/check_fds.c: Likewise.
26912 * elf/dl-load.c: Likewise.
26913 * elf/dl-open.c: Likewise.
26914 * elf/reldep3.c: Likewise.
26915 * elf/reldep.c: Likewise.
26916 * elf/sprof.c: Likewise.
26917 * iconv/iconv_charmap.c: Likewise.
26918 * iconv/skeleton.c: Likewise.
26919 * iconv/strtab.c: Likewise.
26920 * io/lockf64.c: Likewise.
26921 * libio/libioP.h: Likewise.
26922 * resolv/gai_notify.c: Likewise.
26923 * resolv/ns_name.c: Likewise.
26924 * resolv/ns_samedomain.c: Likewise.
26925 * resolv/res_send.c: Likewise.
26926 * stdlib/random.c: Likewise.
26927 * sunrpc/rpc/xdr.h: Likewise.
26928 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
26929 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26930 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26931 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26932 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26933 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26934 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26935 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26936 * sysdeps/mach/hurd/check_fds.c: Likewise.
26937 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26938 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26939 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26940 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26941 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26942 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26943 * sysdeps/pthread/aio_notify.c: Likewise.
26944 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
26945 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
26946 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
26947 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26948 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26950 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26952 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
26953 version if bit_Slow_SSE4_2 is set.
26954 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26955 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26957 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26960 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
26961 trampoline stack frame information.
26962 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
26963 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
26964 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
26965 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
26966 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
26967 * sysdeps/unix/sysv/linux/powerpc/init-first.c
26968 (_libc_vdso_platform_setup): Initialize the signal trampolines.
26969 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
26971 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
26972 interrupting a syscall and set with option SA_SIGINFO.
26974 2013-08-20 Joseph Myers <joseph@codesourcery.com>
26977 * math/s_cproj.c (__cproj): Only return an infinity if one part of
26978 argument is infinite.
26979 * math/s_cprojf.c (__cprojf): Likewise.
26980 * math/s_cprojl.c (__cprojl): Likewise.
26981 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
26982 * math/libm-test.inc (cproj_test_data): Add more tests.
26984 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
26986 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
26987 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
26988 size. Use __ffs to determine corresponding shift.
26990 2013-08-20 Joseph Myers <joseph@codesourcery.com>
26991 Roland McGrath <roland@hack.frob.com>
26993 * Makefile (INSTALL): Remove trailing blank lines from output of
26996 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26998 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
26999 Align 32 bit compat elf_greg to 8 bytes.
27001 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
27003 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
27005 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27007 * string/strcoll_l.c (coll_seq): New structure.
27008 (get_next_seq_cached): New function.
27009 (get_next_seq): New function.
27010 (do_compare): New function.
27011 (STRCOLL): Use GNU style definition. Simplify implementation
27012 by using get_next_seq, get_next_seq_cached and do_compare.
27014 2013-08-16 Florian Weimer <fweimer@redhat.com>
27018 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
27020 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
27022 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
27023 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
27024 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
27026 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
27027 GETDENTS_64BIT_ALIGNED.
27028 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27029 * manual/filesys.texi (Reading/Closing Directory): Document
27030 ENAMETOOLONG return value of readdir_r. Recommend readdir more
27032 * manual/conf.texi (Limits for Files): Add portability note to
27033 NAME_MAX, PATH_MAX.
27034 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
27036 2013-08-13 Andreas Schwab <schwab@suse.de>
27039 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
27041 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
27042 LDBL_MAX_EXP >= 16384]: Add tests for it.
27044 2013-08-12 David S. Miller <davem@davemloft.net>
27046 * version.h (RELEASE): Set to "development".
27047 (VERSION): Set to "2.18.90".
27048 * NEWS: Add 2.19 section.
27050 2013-08-03 David S. Miller <davem@davemloft.net>
27052 * po/ko.po: Update Korean translation from translation project.
27054 2013-08-01 David S. Miller <davem@davemloft.net>
27056 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
27057 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
27060 2013-07-30 David S. Miller <davem@davemloft.net>
27062 * po/fr.po: Update French translation from translation project.
27064 2013-07-28 David S. Miller <davem@davemloft.net>
27066 * po/cs.po: Update Czech translation from translation project.
27068 * po/sv.po: Update Swedish translation from translation project.
27070 2013-07-27 David S. Miller <davem@davemloft.net>
27072 * po/eo.po: Update Esperanto translation from translation project.
27074 * po/vi.po: Update Vietnamese translation from translation project.
27076 * po/de.po: Update German translation from translation project.
27078 2013-07-26 David S. Miller <davem@davemloft.net>
27080 * po/bg.po: Update Bulgarian translation from translation project.
27082 * po/nl.po: Update Dutch translation from translation project.
27083 * po/pl.po: Update Polish translation from translation project.
27084 * po/ru.po: Update Russian translation from translation project.
27086 2013-07-24 David S. Miller <davem@davemloft.net>
27088 * po/libc.pot: Update.
27090 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27092 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
27093 variable page size.
27094 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
27095 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
27096 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
27098 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27100 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
27102 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27103 Andreas Schwab <schwab@suse.de>
27104 Roland McGrath <roland@hack.frob.com>
27105 Joseph Myers <joseph@codesourcery.com>
27106 Carlos O'Donell <carlos@redhat.com>
27109 * config.h.in: Define HAVE_PT_CHOWN.
27110 * config.make.in (build-pt-chown): New variable.
27111 * configure.in (--enable-pt_chown): New configure option.
27112 * configure: Regenerate.
27113 * login/Makefile: Include Makeconfig. Build pt_chown only if
27114 build-pt-chown is enabled.
27115 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
27116 pt_chown to fix pty ownership.
27117 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
27119 * manual/install.texi (Configuring and compiling): Mention
27120 --enable-pt_chown. Add @findex for grantpt.
27121 * INSTALL: Regenerate.
27123 2013-07-20 David S. Miller <davem@davemloft.net>
27125 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
27126 difference between 32-bit and 64-bit.
27128 2013-07-15 Carlos O'Donell <carlos@redhat.com>
27131 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
27132 Avoid system header dependency with -ffreestanding.
27133 ($(objpfx)bits/syscall%d): Likewise.
27135 2013-07-13 David S. Miller <davem@davemloft.net>
27137 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
27138 underflows from atanl/atan2l due to bug 15319.
27139 (casinh_test_data): Likewise.
27141 2013-07-07 David S. Miller <davem@davemloft.net>
27143 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
27145 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
27147 * sysdeps/i386/fpu/libm-test-ulps: Update.
27148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27150 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27152 * configure.in (--enable-lock-elision): Fix message text.
27153 * INSTALL: Regenerate.
27154 * configure: Regenerate.
27156 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27160 2013-07-03 Andreas Jaeger <aj@suse.de>
27162 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
27164 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
27165 (ptrace_peeksiginfo_args): Add.
27166 (__ptrace_peeksiginfo_flags): Add.
27167 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27168 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27169 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27171 2013-07-03 Allan McRae <allan@archlinux.org>
27173 * sysdeps/i386/fpu/libm-test-ulps: Update.
27175 2013-07-02 David S. Miller <davem@davemloft.net>
27177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27179 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
27181 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27183 2013-07-02 Joseph Myers <joseph@codesourcery.com>
27185 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27188 2013-07-02 Andi Kleen <ak@linux.intel.com>
27190 * config.h.in (ENABLE_LOCK_ELISION): Add.
27191 * configure.in (--enable-lock-elision): Add option.
27192 * manual/install.texi: Document --enable lock elision.
27193 * configure: Regenerate
27194 * INSTALL: Regenerate.
27196 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
27198 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
27199 SSE4.2 strcasecmp for libc.a.
27200 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
27202 2013-07-02 Joseph Myers <joseph@codesourcery.com>
27205 * soft-fp/op-common.h (_FP_FMA): New macro.
27206 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
27207 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
27208 (_FP_MUL_MEAT_1_imm): ... here.
27209 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
27210 (_FP_MUL_MEAT_1_wide): ... here.
27211 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
27212 (_FP_MUL_MEAT_1_hard): ... here.
27213 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
27214 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
27215 (_FP_MUL_MEAT_2_wide): ... here.
27216 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
27217 (_FP_MUL_MEAT_2_wide_3mul): ... here.
27218 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
27219 (_FP_MUL_MEAT_2_gmp): ... here.
27220 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
27221 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
27222 (_FP_MUL_MEAT_4_wide): ... here.
27223 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
27224 (_FP_MUL_MEAT_4_gmp): ... here.
27225 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
27226 (_FP_WFRACBITS_DW_S): Likewise.
27227 (_FP_WFRACXBITS_DW_S): Likewise.
27228 (_FP_HIGHBIT_DW_S): Likewise.
27229 (FP_FMA_S): Likewise.
27230 (_FP_FRAC_HIGH_DW_S): Likewise.
27231 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
27232 (_FP_WFRACBITS_DW_D): Likewise.
27233 (_FP_WFRACXBITS_DW_D): Likewise.
27234 (_FP_HIGHBIT_DW_D): Likewise.
27235 (FP_FMA_D): Likewise.
27236 (_FP_FRAC_HIGH_DW_D): Likewise.
27237 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
27238 (_FP_WFRACBITS_DW_E): Likewise.
27239 (_FP_WFRACXBITS_DW_E): Likewise.
27240 (_FP_HIGHBIT_DW_E): Likewise.
27241 (FP_FMA_E): Likewise.
27242 (_FP_FRAC_HIGH_DW_E): Likewise.
27243 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
27244 (_FP_WFRACBITS_DW_Q): Likewise.
27245 (_FP_WFRACXBITS_DW_Q): Likewise.
27246 (_FP_HIGHBIT_DW_Q): Likewise.
27247 (FP_FMA_Q): Likewise.
27248 (_FP_FRAC_HIGH_DW_Q): Likewise.
27249 * soft-fp/fmasf4.c: New file.
27250 * soft-fp/fmadf4.c: Likewise.
27251 * soft-fp/fmatf4.c: Likewise.
27253 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27255 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27256 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
27258 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
27260 (index_Slow_SSE4_2): Likewise.
27261 (index_Prefer_PMINUB_for_stringop): Likewise.
27262 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
27263 bit_Slow_SSE4_2 is set.
27264 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27265 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27267 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27269 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
27270 rtld_global._dl_hwcap2.
27271 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
27273 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
27274 POWER8 feature descriptions defined in _dl_hwcap2.
27275 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
27276 string handling for POWER8 feature bits.
27277 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
27278 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
27279 _dl_powerpc_cap_flags.
27280 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
27281 * sysdeps/powerpc/rtld-global-offsets.sym
27282 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
27283 _dl_hwcap2 in the rtld_global_ro structure.
27285 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27287 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
27288 hardware capabilities in support of AT_HWCAP2.
27289 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
27290 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
27292 (_dl_show_auxv): Add support for calling _dl_procinfo to display
27293 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
27294 explicitly the unknown a_type display mechanism is used.
27295 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
27296 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
27298 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
27299 to macro prototype for AT_HWCAP2 support.
27300 * sysdeps/i386/dl-procinfo.h: Likewise.
27301 * sysdeps/s390/dl-procinfo.h: Likewise.
27302 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
27303 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
27304 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
27305 return -1 for unknown a_type display fallback.
27306 * sysdeps/sparc/dl-procinfo.h: Likewise.
27307 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
27308 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
27310 2013-06-28 Joseph Myers <joseph@codesourcery.com>
27312 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
27313 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
27315 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
27318 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
27319 mprotect making __stack_prot writable.
27321 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
27322 Joseph Myers <joseph@codesourcery.com>
27324 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
27325 as being properly aligned.
27327 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
27329 * dlfcn/modstatic5.c: New file.
27330 * dlfcn/tststatic5.c: New file.
27331 * dlfcn/Makefile (tests): Add tststatic5.
27332 (tests-static): Likewise.
27333 (modules-names): Add modstatic5.
27334 (tststatic5-ENV): New variable.
27335 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
27338 * elf/dl-support.c (_dl_main_map): New variable.
27339 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
27340 (_dl_nns, _dl_load_adds): Set to 1.
27341 (_dl_initial_searchlist): Refer to _dl_main_map.
27342 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
27343 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
27344 call to _dl_get_origin.
27345 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
27347 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
27348 * dlfcn/modstatic3.c: New file.
27349 * dlfcn/tststatic3.c: New file.
27350 * dlfcn/tststatic4.c: New file.
27351 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
27352 (tests-static): Likewise.
27353 (modules-names): Add modstatic3.
27354 (tststatic3-ENV, tststatic4-ENV): New variables.
27355 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
27356 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
27358 2013-06-26 Joseph Myers <joseph@codesourcery.com>
27360 * configure.in (CC): Require GCC version 4.4 or later.
27361 * configure: Regenerated.
27362 * manual/install.texi (Tools for Compilation): Update GCC version
27364 * INSTALL: Regenerated.
27366 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27369 * string/test-memcmp.c (check2): New.
27370 (main): Call check2.
27372 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
27374 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
27377 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
27379 (dl_open_worker) [!SHARED]: ... here.
27381 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27383 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
27385 2013-06-25 Richard Henderson <rth@redhat.com>
27387 * locale/programs/locarchive.c: Include <libc-internal.h>
27389 2013-06-25 Joseph Myers <joseph@codesourcery.com>
27391 * manual/texinfo.tex: Update to version 2013-06-21.17, with
27392 trailing whitespace removed.
27394 2013-06-24 Mike Frysinger <vapier@gentoo.org>
27397 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
27398 * locale/programs/locarchive.c: Include libc-mmap.h.
27399 (prepare_address_space): Take two new outputs (the mmap base and len).
27400 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
27402 (create_archive): Declare new mmap base and len values for
27403 prepare_address_space, and store the result in ah.
27404 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
27405 (enlarge_archive): If ah->mmap_base is not NULL, use that and
27406 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
27407 Declare new mmap base and len values for
27408 prepare_address_space, and store the result in new_ah.
27409 (open_archive): Declare new mmap base and len values for
27410 prepare_address_space, and store the result in ah.
27411 (close_archive): If ah->mmap_base is not NULL, use that and
27412 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
27413 * sysdeps/generic/libc-mmap.h: New file.
27415 2013-06-24 Mike Frysinger <vapier@gentoo.org>
27417 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
27418 (ALIGN_UP): Likewise.
27419 (PTR_ALIGN_DOWN): Likewise.
27420 (PTR_ALIGN_UP): Likewise.
27422 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27424 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
27425 entry mapped to PPC_PLATFORM_POWER8.
27426 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
27428 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
27429 (_dl_string_platform): Add case for exporting platform position for
27431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
27432 search path to sysdeps/powerpc/powerpc32/power8 directory.
27433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
27434 search path to sysdeps/powerpc/powerpc64/power8 directory.
27435 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
27436 power7 directories.
27437 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
27438 power7 directories.
27440 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27442 * INSTALL: Regenerate.
27444 * nscd/connections.c (nscd_init): Fix comment.
27446 2013-06-22 Joseph Myers <joseph@codesourcery.com>
27448 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
27451 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
27452 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
27454 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
27456 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
27458 (DL_DST_REQ_STATIC): Remove macro.
27460 2013-06-21 Joseph Myers <joseph@codesourcery.com>
27463 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
27464 with a shift of 0 bits.
27466 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
27468 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
27471 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27474 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
27476 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27478 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
27479 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
27480 accepts -fno-tree-loop-distribute-patterns.
27481 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
27482 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
27484 * string/memset.c (memset): Likewise.
27485 * string/test-memmove.c (simple_memmove): Disable loop transformation
27487 * string/test-memset.c (simple_memset): Likewise.
27488 * benchtests/bench-memmove.c (simple_memmove): Likewise.
27489 * benchtests/bench-memset.c (simple_memset): Likewise.
27490 * configure: Regenerated.
27492 2013-06-20 Joseph Myers <joseph@codesourcery.com>
27494 * math/test-misc.c (main): Ignore fesetround failure when failures
27495 of subsequent rounding tests would be ignored.
27498 * math/fedisblxcpt.c (fedisableexcept): Return 0.
27499 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
27500 * math/fegetenv.c (__fegetenv): Return 0.
27501 * math/fegetexcept.c (fegetexcept): Return 0.
27502 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
27504 * math/feholdexcpt.c (feholdexcept): Return 0.
27505 * math/fesetenv.c (__fesetenv): Return 0.
27506 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
27507 argument FE_TONEAREST.
27508 * math/feupdateenv.c (__feupdateenv): Return 0.
27509 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
27511 2013-06-18 Roland McGrath <roland@hack.frob.com>
27513 * elf/rtld-Rules (rtld-compile-command.S): New variable.
27514 (rtld-compile-command.s, rtld-compile-command.c): New variables.
27515 ($(objpfx)rtld-%.os rules): Use them.
27517 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27519 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
27522 2013-06-17 Roland McGrath <roland@hack.frob.com>
27524 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
27525 length of target pattern, then descending length of dependency pattern.
27526 * configure.in (AWK): Require gawk 3.1.2 or newer.
27527 * manual/install.texi (Tools for Compilation): Say that we do.
27528 * configure: Regenerated.
27530 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
27531 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
27532 * scripts/sysd-rules.awk: ... this new script.
27533 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
27534 than a glob-style pattern.
27536 2013-06-17 Joseph Myers <joseph@codesourcery.com>
27538 * math/test-misc.c (main): Do not treat incorrectly rounded
27539 conversions as failure unless ROUNDING_TESTS passes.
27541 2013-06-15 Joseph Myers <joseph@codesourcery.com>
27544 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
27545 restore exception state around main square root computation, then
27546 check for inexactness explicitly.
27548 * math/libm-test.inc (fma_test_data): Add another test.
27550 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27552 * manual/threads.texi (Non-POSIX Extensions): New document
27553 node. Document pthread_getattr_default_np and
27554 pthread_setattr_default_np.
27556 * Versions.def (libpthread): Add GLIBC_2.18.
27557 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
27558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27564 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27566 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
27568 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27570 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27572 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
27574 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27577 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27579 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27580 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
27582 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27583 H.J. Lu <hjl.tools@gmail.com>
27586 * sysdeps/x86_64/rtld-memset.c: Remove file.
27587 * sysdeps/x86_64/rtld-memset.S: New file.
27589 2013-06-14 Joseph Myers <joseph@codesourcery.com>
27591 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
27592 (test_in_one_mode): Take arguments for whether the rounding mode
27593 is supported for each floating-point type.
27594 (do_test): Pass new arguments to test_in_one_mode using
27597 2013-06-13 Roland McGrath <roland@hack.frob.com>
27599 * posix/tst-waitid.c (do_test): Distinguish different instances of
27600 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
27601 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
27602 before entering the kernel for waitpid.
27604 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27606 * NEWS: Fix note on clock function precision. Text by Roland
27609 2013-06-13 Roland McGrath <roland@hack.frob.com>
27611 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
27612 it into place only when and if the sanity check passes.
27614 2013-06-13 Joseph Myers <joseph@codesourcery.com>
27616 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
27617 output for whether conversion result is exact. Take argument
27618 indicating whether type is IBM long double.
27619 (round_for_all): Change need_exact field to ibm_ld.
27620 * stdlib/tst-strtod-round.c (struct exactness): New type.
27621 (struct test): Change bool ld_ok field to struct exactness exact.
27622 (TEST): Update all definitions for change to field.
27623 (tests): Regenerate array contents.
27624 (test_in_one_mode): Take pointer to new field instead of old ld_ok
27625 field value. Check for IBM long double here.
27626 (do_test): Update calls to test_in_one_mode.
27628 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27631 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
27632 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
27634 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27637 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
27638 generated by the compiler on loop optimizations.
27639 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
27640 general definitions.
27642 2013-06-12 Joseph Myers <joseph@codesourcery.com>
27644 * math/bug-nextafter.c: Include <math-tests.h>.
27645 (main): Only test for exceptions if EXCEPTION_TESTS is true for
27647 * math/bug-nexttoward.c: Include <math-tests.h>.
27648 (main): Only test for exceptions if EXCEPTION_TESTS is true for
27650 * math/test-misc.c: Include <math-tests.h>.
27651 (main): Only test for exceptions if EXCEPTION_TESTS is true for
27654 2013-06-12 Andreas Jaeger <aj@suse.de>
27656 * po/ia.po: Update Interlingua translation from translation
27659 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27661 * include/fenv.h: Include stdbool.h.
27662 (struct rm_ctx): New structure.
27663 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
27665 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
27666 (SET_RESTORE_ROUNDF): Likewise.
27667 (SET_RESTORE_ROUNDL): Likewise.
27668 (SET_RESTORE_ROUND_NOEX): Likewise.
27669 (SET_RESTORE_ROUND_NOEXF): Likewise.
27670 (SET_RESTORE_ROUND_NOEXL): Likewise.
27671 (SET_RESTORE_ROUND_53BIT): Likewise.
27672 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
27673 (libc_feresetround_noexf_ctx): Likewise.
27674 (libc_feresetround_noexl_ctx): Likewise.
27675 (libc_feholdsetround_53bit_ctx): Likewise.
27676 (libc_feresetround_53bit_ctx): Likewise.
27677 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
27678 (libc_feholdexcept_setround_sse_ctx): New function.
27679 (libc_fesetenv_sse_ctx): Likewise.
27680 (libc_feupdateenv_sse_ctx): Likewise.
27681 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
27682 (libc_feholdexcept_setround_387_ctx): Likewise.
27683 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
27684 (libc_feholdsetround_387_prec_ctx): Likewise.
27685 (libc_feholdsetround_387_ctx): Likewise.
27686 (libc_feholdsetround_387_53bit_ctx): Likewise.
27687 (libc_feholdsetround_sse_ctx): Likewise.
27688 (libc_feresetround_sse_ctx): Likewise.
27689 (libc_feresetround_387_ctx): Likewise.
27690 (libc_feupdateenv_387_ctx): Likewise.
27691 (libc_feholdexcept_setroundf_ctx): Define macro.
27692 (libc_fesetenvf_ctx): Likewise.
27693 (libc_feupdateenvf_ctx): Likewise.
27694 (libc_feholdsetroundf_ctx): Likewise.
27695 (libc_feresetroundf_ctx): Likewise.
27696 (libc_feholdexcept_setround_ctx): Likewise.
27697 (libc_fesetenv_ctx): Likewise.
27698 (libc_feupdateenv_ctx): Likewise.
27699 (libc_feholdsetround_ctx): Likewise.
27700 (libc_feresetround_ctx): Likewise.
27701 (libc_feholdexcept_setroundl_ctx): Likewise.
27702 (libc_feupdateenvl_ctx): Likewise.
27703 (libc_feholdsetroundl_ctx): Likewise.
27704 (libc_feresetroundl_ctx): Likewise.
27705 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
27706 (libc_feresetround_53bit_ctx): Likewise.
27708 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27710 * locale/iso-639.def: Convert to UTF-8.
27712 2013-06-11 Joseph Myers <joseph@codesourcery.com>
27714 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
27715 (EXCEPTION_TESTS_double): Likewise.
27716 (EXCEPTION_TESTS_long_double): Likewise.
27717 (EXCEPTION_TESTS): Likewise.
27718 * math/libm-test.inc (test_exceptions): Only test exceptions if
27719 EXCEPTION_TESTS (FLOAT).
27721 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27723 * benchtests/Makefile (string-bench): Add strcpy_chk and
27725 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
27726 * benchtests/bench-stpcpy_chk.c: New file.
27727 * benchtests/bench-strcpy_chk-ifunc.c: New file.
27728 * benchtests/bench-strcpy_chk.c: New file.
27729 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
27731 (do_test): Likewise.
27733 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27735 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
27736 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
27737 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
27738 with tabs where appropriate.
27739 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
27741 [PPC_PLATFORM_PPC440]: Likewise.
27742 [PPC_PLATFORM_PPC464]: Likewise.
27743 [PPC_PLATFORM_PPC476]: Likewise.
27744 (_dl_string_platform): Add support for detecting ppc405, ppc440,
27745 ppc464, and ppc476 platform strings merging from ports/
27748 2013-06-11 Andreas Schwab <schwab@suse.de>
27751 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
27752 (from_ucs4_idx): Regenerate.
27753 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
27754 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
27755 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
27756 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
27757 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
27758 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
27759 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
27760 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
27761 from FROM_LOOP and TO_LOOP specific macros.
27762 (BODY): Handle combining characters.
27763 * iconvdata/BIG5HKSCS.irreversible: Update.
27764 * iconvdata/BIG5HKSCS.precomposed: New file.
27765 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
27767 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
27769 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27771 * include/sys/time.h: Fix indentation and add copyright header.
27773 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
27774 (do_test): Likewise.
27775 * string/test-memchr.c (do_one_test): Likewise.
27776 (do_test): Likewise.
27777 * string/test-memcmp.c (do_one_test): Likewise.
27778 (do_test): Likewise.
27779 * string/test-memcpy.c (do_one_test): Likewise.
27780 (do_test): Likewise.
27781 * string/test-memmem.c (do_one_test): Likewise.
27782 (do_test): Likewise.
27783 (do_random_tests): Likewise.
27784 * string/test-memmove.c (do_one_test): Likewise.
27785 (do_test): Likewise.
27786 * string/test-memset.c (do_one_test): Likewise.
27787 (do_test): Likewise.
27788 * string/test-rawmemchr.c (do_one_test): Likewise.
27789 (do_test): Likewise.
27790 * string/test-strcasecmp.c (do_one_test): Likewise.
27791 (do_test): Likewise.
27792 * string/test-strcasestr.c (do_one_test): Likewise.
27793 (do_test): Likewise.
27794 * string/test-strcat.c (do_one_test): Likewise.
27795 (do_test): Likewise.
27796 * string/test-strchr.c (do_one_test): Likewise.
27797 (do_test): Likewise.
27798 * string/test-strcmp.c (do_one_test): Likewise.
27799 (do_test): Likewise.
27800 * string/test-strcpy.c (do_one_test): Likewise.
27801 (do_test): Likewise.
27802 * string/test-string.h: Likewise.
27803 (test_init): Likewise.
27804 * string/test-strlen.c (do_one_test): Likewise.
27805 (do_test): Likewise.
27806 * string/test-strncasecmp.c (do_one_test): Likewise.
27807 (do_test): Likewise.
27808 * string/test-strncat.c (do_one_test): Likewise.
27809 (do_test): Likewise.
27810 * string/test-strncmp.c (do_one_test): Likewise.
27811 (do_test_limit): Likewise.
27812 (do_test): Likewise.
27813 * string/test-strncpy.c (do_one_test): Likewise.
27814 (do_test): Likewise.
27815 * string/test-strnlen.c (do_one_test): Likewise.
27816 (do_test): Likewise.
27817 * string/test-strpbrk.c (do_one_test): Likewise.
27818 (do_test): Likewise.
27819 * string/test-strrchr.c (do_one_test): Likewise.
27820 (do_test): Likewise.
27821 * string/test-strspn.c (do_one_test): Likewise.
27822 (do_test): Likewise.
27823 * string/test-strstr.c (do_one_test): Likewise.
27824 (do_test): Likewise.
27826 * benchtests/Makefile (string-bench): Add string benchmarks.
27827 * benchtests/bench-bcopy-ifunc.c: New file.
27828 * benchtests/bench-bcopy.c: New file.
27829 * benchtests/bench-bzero-ifunc.c: New file.
27830 * benchtests/bench-bzero.c: New file.
27831 * benchtests/bench-memccpy-ifunc.c: New file.
27832 * benchtests/bench-memccpy.c: New file.
27833 * benchtests/bench-memchr-ifunc.c: New file.
27834 * benchtests/bench-memchr.c: New file.
27835 * benchtests/bench-memcmp-ifunc.c: New file.
27836 * benchtests/bench-memcmp.c: New file.
27837 * benchtests/bench-memmem-ifunc.c: New file.
27838 * benchtests/bench-memmem.c: New file.
27839 * benchtests/bench-memmove-ifunc.c: New file.
27840 * benchtests/bench-memmove.c: New file.
27841 * benchtests/bench-mempcpy-ifunc.c: New file.
27842 * benchtests/bench-mempcpy.c: New file.
27843 * benchtests/bench-memset-ifunc.c: New file.
27844 * benchtests/bench-memset.c: New file.
27845 * benchtests/bench-rawmemchr-ifunc.c: New file.
27846 * benchtests/bench-rawmemchr.c: New file.
27847 * benchtests/bench-stpcpy-ifunc.c: New file.
27848 * benchtests/bench-stpcpy.c: New file.
27849 * benchtests/bench-stpncpy-ifunc.c: New file.
27850 * benchtests/bench-stpncpy.c: New file.
27851 * benchtests/bench-strcasecmp-ifunc.c: New file.
27852 * benchtests/bench-strcasecmp.c: New file.
27853 * benchtests/bench-strcasestr-ifunc.c: New file.
27854 * benchtests/bench-strcasestr.c: New file.
27855 * benchtests/bench-strcat-ifunc.c: New file.
27856 * benchtests/bench-strcat.c: New file.
27857 * benchtests/bench-strchr-ifunc.c: New file.
27858 * benchtests/bench-strchr.c: New file.
27859 * benchtests/bench-strchrnul-ifunc.c: New file.
27860 * benchtests/bench-strchrnul.c: New file.
27861 * benchtests/bench-strcmp-ifunc.c: New file.
27862 * benchtests/bench-strcmp.c: New file.
27863 * benchtests/bench-strcpy-ifunc.c: New file.
27864 * benchtests/bench-strcpy.c: New file.
27865 * benchtests/bench-strcspn-ifunc.c: New file.
27866 * benchtests/bench-strcspn.c: New file.
27867 * benchtests/bench-strlen-ifunc.c: New file.
27868 * benchtests/bench-strlen.c: New file.
27869 * benchtests/bench-strncasecmp-ifunc.c: New file.
27870 * benchtests/bench-strncasecmp.c: New file.
27871 * benchtests/bench-strncat-ifunc.c: New file.
27872 * benchtests/bench-strncat.c: New file.
27873 * benchtests/bench-strncmp-ifunc.c: New file.
27874 * benchtests/bench-strncmp.c: New file.
27875 * benchtests/bench-strncpy-ifunc.c: New file.
27876 * benchtests/bench-strncpy.c: New file.
27877 * benchtests/bench-strnlen-ifunc.c: New file.
27878 * benchtests/bench-strnlen.c: New file.
27879 * benchtests/bench-strpbrk-ifunc.c: New file.
27880 * benchtests/bench-strpbrk.c: New file.
27881 * benchtests/bench-strrchr-ifunc.c: New file.
27882 * benchtests/bench-strrchr.c: New file.
27883 * benchtests/bench-strspn-ifunc.c: New file.
27884 * benchtests/bench-strspn.c: New file.
27885 * benchtests/bench-strstr-ifunc.c: New file.
27886 * benchtests/bench-strstr.c: New file.
27888 * benchtests/Makefile: Disable parallel execution of targets.
27889 (string-bench): Add memcpy.
27890 (benchset): New variable to store a list of benchmark sets.
27891 (bench-func): Renamed from bench.
27892 (bench-set): New target.
27893 (bench): Depend on bench-func and bench-set.
27894 * benchtests/README: Add section on benchmark sets.
27895 * benchtests/bench-memcpy-ifunc.c: New file.
27896 * benchtests/bench-memcpy.c: New file.
27897 * benchtests/bench-string.h: New file.
27899 2013-06-11 Andreas Schwab <schwab@suse.de>
27902 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
27903 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
27904 values in the triple.
27905 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
27906 terminator in the group key.
27908 2013-06-11 Andreas Jaeger <aj@suse.de>
27910 * po/zh_TW.po: Update Chinese (traditional) translation from
27911 translation project.
27913 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27915 * include/time.h (__clock_gettime): Add libc_hidden_proto.
27916 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
27917 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
27918 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27919 (clock_getcpuclockid): Likewise.
27920 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
27921 Add weak_alias and libc_hidden_def.
27922 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
27923 * rt/clock_gettime.c (clock_gettime): Rename to
27924 __clock_gettime. Add weak_alias and libc_hidden_def.
27925 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
27926 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
27927 __clock_nanosleep. Add weak_alias and libc_hidden_def.
27928 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
27929 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
27931 * rt/clock_settime.c (clock_settime): Rename to
27932 __clock_settime. Add weak_alias and libc_hidden_def.
27933 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
27935 2013-06-10 Joseph Myers <joseph@codesourcery.com>
27937 * mach/err_boot.sub: Remove trailing whitespace.
27938 * mach/err_ipc.sub: Likewise.
27939 * mach/err_mach.sub: Likewise.
27941 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
27942 (ROUNDING_TESTS_double): Likewise.
27943 (ROUNDING_TESTS_long_double): Likewise.
27944 (ROUNDING_TESTS): Likewise.
27945 * math/libm-test.inc: Include <math-tests.h>.
27946 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
27947 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27948 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27949 (IF_ROUND_INIT_FE_UPWARD): Likewise.
27951 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27953 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
27956 2013-06-08 Joseph Myers <joseph@codesourcery.com>
27958 * sysdeps/gnu/errlist.awk: Do not generate space at end of
27959 otherwise empty TRANS lines.
27960 * sysdeps/gnu/errlist.c: Regenerated.
27962 * catgets/gencat.c (error_print): Use (void) in function
27964 * crypt/crypt_util.c (__init_des): Likewise.
27965 * crypt/speeds.c (Stop): Likewise.
27967 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
27968 * inet/ruserpass.c (token): Likewise.
27969 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
27970 * intl/localealias.c (extend_alias_table): Likewise.
27971 * intl/plural-exp.c (init_germanic_plural): Likewise.
27972 * libio/fcloseall.c (__fcloseall): Likewise.
27973 * libio/genops.c (_IO_flush_all): Likewise.
27974 (_IO_flush_all_linebuffered): Likewise.
27975 (_IO_cleanup): Likewise.
27976 (_IO_iter_begin): Likewise.
27977 (_IO_iter_end): Likewise.
27978 (_IO_list_lock): Likewise.
27979 (_IO_list_unlock): Likewise.
27980 (_IO_list_resetlock): Likewise.
27981 * libio/getchar.c (getchar): Likewise.
27982 * libio/getchar_u.c (getchar_unlocked): Likewise.
27983 * libio/getwchar.c (getwchar): Likewise.
27984 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
27985 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
27986 * login/getpt.c (__getpt): Likewise.
27987 * login/tst-utmp.c (main): Likewise.
27988 * malloc/hooks.c (__malloc_check_init): Likewise.
27989 * malloc/malloc.c (__malloc_stats): Likewise.
27990 * malloc/mtrace.c (tr_break): Likewise.
27991 (mtrace): Likewise.
27992 (muntrace): Likewise.
27993 * misc/fstab.c (endfsent): Likewise.
27994 * misc/getclktck.c (__getclktck): Likewise.
27995 * misc/getdtsz.c (__getdtablesize): Likewise.
27996 * misc/gethostid.c (gethostid): Likewise.
27997 * misc/getpagesize.c (__getpagesize): Likewise.
27998 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
27999 (__get_nprocs): Likewise.
28000 (__get_phys_pages): Likewise.
28001 (__get_avphys_pages): Likewise.
28002 * misc/getttyent.c (getttyent): Likewise.
28003 (setttyent): Likewise.
28004 (endttyent): Likewise.
28005 * misc/getusershell.c (getusershell): Likewise.
28006 (endusershell): Likewise.
28007 (setusershell): Likewise.
28008 (initshells): Likewise.
28009 * misc/hsearch.c (__hdestroy): Likewise.
28010 * misc/sync.c (sync): Likewise.
28011 * misc/syslog.c (closelog_internal): Likewise.
28012 (closelog): Likewise.
28013 * misc/ttyslot.c (ttyslot): Likewise.
28014 * misc/vhangup.c (vhangup): Likewise.
28015 * posix/fork.c (__fork): Likewise.
28016 * posix/getegid.c (__getegid): Likewise.
28017 * posix/geteuid.c (__geteuid): Likewise.
28018 * posix/getgid.c (__getgid): Likewise.
28019 * posix/getpid.c (__getpid): Likewise.
28020 * posix/getppid.c (__getppid): Likewise.
28021 * posix/getuid.c (__getuid): Likewise.
28022 * posix/pause.c (pause): Likewise.
28023 * posix/setpgrp.c (setpgrp): Likewise.
28024 * posix/setsid.c (__setsid): Likewise.
28025 * posix/test-vfork.c (noop): Likewise.
28026 * resolv/gethnamaddr.c (_endhtent): Likewise.
28027 (_gethtent): Likewise.
28028 (ht_endhostent): Likewise.
28029 (gethostent): Likewise.
28030 (dns_service): Likewise.
28031 * stdlib/drand48.c (drand48): Likewise.
28032 * stdlib/lrand48.c (lrand48): Likewise.
28033 * stdlib/mrand48.c (mrand48): Likewise.
28034 * stdlib/rand.c (rand): Likewise.
28035 * stdlib/random.c (__random): Likewise.
28036 * stdlib/setenv.c (clearenv): Likewise.
28037 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
28038 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
28039 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
28040 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
28041 (__get_nprocs): Likewise.
28042 (__get_phys_pages): Likewise.
28043 (__get_avphys_pages): Likewise.
28044 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
28045 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
28046 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
28047 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
28048 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
28049 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
28050 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
28051 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
28052 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
28053 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
28054 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
28055 * sysdeps/mach/hurd/sync.c (sync): Likewise.
28056 * sysdeps/posix/clock.c (clock): Likewise.
28057 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
28058 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
28059 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
28060 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
28061 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
28062 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
28063 (__get_nprocs_conf): Likewise.
28064 (__get_phys_pages): Likewise.
28065 (__get_avphys_pages): Likewise.
28066 * time/clock.c (clock): Likewise.
28067 * time/tzset.c (__tzname_max): Likewise.
28069 2013-06-07 Joseph Myers <joseph@codesourcery.com>
28071 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
28072 (__bswap_32): Do not use "register".
28073 * crypt/crypt.c (_ufc_doit_r): Likewise.
28074 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
28075 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
28076 * gmon/gmon.c (__monstartup): Likewise.
28077 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
28078 * hurd/hurdmalloc.c (more_memory): Likewise.
28079 (malloc): Likewise.
28081 (realloc): Likewise.
28082 (malloc_fork_prepare): Likewise.
28083 (malloc_fork_parent): Likewise.
28084 (malloc_fork_child): Likewise.
28085 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
28086 (_svcauth_des): Likewise.
28087 * inet/inet_lnaof.c (inet_lnaof): Likewise.
28088 * inet/inet_net.c (inet_network): Likewise.
28089 * inet/inet_netof.c (inet_netof): Likewise.
28090 * inet/rcmd.c (__validuser2_sa): Likewise.
28091 * io/fts.c (fts_open): Likewise.
28092 (fts_load): Likewise.
28093 (fts_close): Likewise.
28094 (fts_read): Likewise.
28095 (fts_children): Likewise.
28096 (fts_build): Likewise.
28097 (fts_stat): Likewise.
28098 (fts_sort): Likewise.
28099 (fts_alloc): Likewise.
28100 (fts_lfree): Likewise.
28101 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
28102 (_IO_file_xsgetn): Likewise.
28103 (_IO_file_xsgetn_mmap): Likewise.
28104 * libio/iofopncook.c (_IO_cookie_read): Likewise.
28105 (_IO_cookie_write): Likewise.
28106 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
28107 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
28108 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
28109 * malloc/obstack.c (_obstack_begin): Likewise.
28110 (_obstack_begin_1): Likewise.
28111 (_obstack_newchunk): Likewise.
28112 (_obstack_allocated_p): Likewise.
28113 (obstack_free): Likewise.
28114 (_obstack_memory_used): Likewise.
28115 * misc/getttyent.c (getttynam): Likewise.
28116 (getttyent): Likewise.
28119 * misc/getusershell.c (initshells): Likewise.
28120 * misc/syslog.c (__vsyslog_chk): Likewise.
28121 * misc/ttyslot.c (ttyslot): Likewise.
28122 * nis/nis_hash.c (__nis_hash): Likewise.
28123 * posix/fnmatch_loop.c (FCT): Likewise.
28124 * posix/getconf.c (print_all): Likewise.
28126 * posix/getopt.c (exchange): Likewise.
28127 * posix/glob.c (globfree): Likewise.
28128 (prefix_array): Likewise.
28129 (__glob_pattern_type): Likewise.
28130 * resolv/arpa/nameser.h (NS_GET16): Likewise.
28131 (NS_GET32): Likewise.
28132 (NS_PUT16): Likewise.
28133 (NS_PUT32): Likewise.
28134 * resolv/gethnamaddr.c (getanswer): Likewise.
28135 (gethostbyname2): Likewise.
28136 (gethostbyaddr): Likewise.
28137 (_gethtent): Likewise.
28138 (_gethtbyname2): Likewise.
28139 (_gethtbyaddr): Likewise.
28140 * resolv/ns_print.c (dst_s_get_int16): Likewise.
28141 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
28142 * resolv/res_init.c (__res_vinit): Likewise.
28143 (net_mask): Likewise.
28144 * resolv/res_mkquery.c (outchar): Likewise.
28146 * stdio-common/printf_fp.c (outchar): Likewise.
28148 * stdio-common/printf_fphex.c (outchar): Likewise.
28150 * stdio-common/printf_size.c (outchar): Likewise.
28152 * stdio-common/test_rdwr.c (main): Likewise.
28153 * stdio-common/tfformat.c (matches): Likewise.
28154 * stdio-common/vfprintf.c (outchar): Likewise.
28155 (printf_unknown): Likewise.
28156 (buffered_vfprintf): Likewise.
28157 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
28158 * stdio-common/xbug.c (AppendToBuffer): Likewise.
28159 (ReadFile): Likewise.
28160 * stdlib/qsort.c (SWAP): Likewise.
28161 (_quicksort): Likewise.
28162 * stdlib/setenv.c (__add_to_environ): Likewise.
28163 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
28164 * stdlib/strtol_l.c (__strtol_l): Likewise.
28165 * stdlib/tst-strtod.c (main): Likewise.
28166 * stdlib/tst-strtol.c (main): Likewise.
28167 * stdlib/tst-strtoll.c (main): Likewise.
28168 * string/bits/string2.h (__strcmp_cc): Likewise.
28169 (__strcmp_cg): Likewise.
28170 (__strcspn_c1): Likewise.
28171 (__strcspn_c2): Likewise.
28172 (__strcspn_c3): Likewise.
28173 (__strspn_c1): Likewise.
28174 (__strspn_c2): Likewise.
28175 (__strspn_c3): Likewise.
28176 (__strsep_1c): Likewise.
28177 (__strsep_2c): Likewise.
28178 (__strsep_3c): Likewise.
28179 * string/memccpy.c (__memccpy): Likewise.
28180 * string/stpcpy.c (__stpcpy): Likewise.
28181 * string/strcmp.c (strcmp): Likewise.
28182 * string/strrchr.c (strrchr): Likewise.
28183 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
28185 * sysdeps/mach/hurd/getcwd.c
28186 (_hurd_canonicalize_directory_name_internal): Likewise.
28187 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
28188 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
28189 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
28190 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
28191 Likewise, in both definitions.
28192 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
28194 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
28195 64] (__bswap_64): Likewise.
28196 * time/test_time.c (main): Likewise.
28197 * time/tzfile.c (__tzfile_read): Likewise.
28198 (__tzfile_compute): Likewise.
28199 * time/tzset.c (__tzset_parse_tz): Likewise.
28200 (tzset_internal): Likewise.
28201 (compute_change): Likewise.
28202 * wcsmbs/wcscat.c (__wcscat): Likewise.
28203 * wcsmbs/wcschr.c (wcschr): Likewise.
28204 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
28205 * wcsmbs/wcscspn.c (wcscspn): Likewise.
28206 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
28207 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
28208 * wcsmbs/wcsspn.c (wcsspn): Likewise.
28209 * wcsmbs/wcsstr.c (wcsstr): Likewise.
28210 * wcsmbs/wmemchr.c (wmemchr): Likewise.
28211 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28212 * wcsmbs/wmemset.c (wmemset): Likewise.
28214 2013-06-06 Joseph Myers <joseph@codesourcery.com>
28216 * scripts/config.guess: Update to version 2013-05-16.
28217 * scripts/config.sub: Update to version 2013-04-24.
28218 * scripts/install-sh: Update to version 2011-11-20.07.
28219 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
28220 * scripts/move-if-change: Update to version 2012-01-06 07:23.
28222 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
28224 * debug/fgetws_u_chk.c: Fix leading whitespaces.
28225 * elf/sln.c: Likewise.
28226 * hurd/hurd/ioctl.h: Likewise.
28227 * hurd/hurdmalloc.c: Likewise.
28228 * hurd/xattr.c: Likewise.
28229 * include/shlib-compat.h: Likewise.
28230 * inet/ruserpass.c: Likewise.
28231 * libio/iofgets_u.c: Likewise.
28232 * libio/iofgetws_u.c: Likewise.
28233 * locale/programs/ld-identification.c: Likewise.
28234 * locale/programs/ld-time.c: Likewise.
28235 * mach/msg-destroy.c: Likewise.
28236 * nss/nss_files/files-netgrp.c: Likewise.
28237 * resolv/res_data.c: Likewise.
28238 * soft-fp/op-1.h: Likewise.
28239 * soft-fp/op-2.h: Likewise.
28240 * soft-fp/op-4.h: Likewise.
28241 * soft-fp/op-common.h: Likewise.
28242 * stdio-common/printf_fphex.c: Likewise.
28243 * stdlib/strtod_l.c: Likewise.
28244 * sunrpc/rpc/clnt.h: Likewise.
28245 * sysdeps/generic/framestate.c: Likewise.
28246 * sysdeps/i386/bsd-_setjmp.S: Likewise.
28247 * sysdeps/i386/bsd-setjmp.S: Likewise.
28248 * sysdeps/i386/__longjmp.S: Likewise.
28249 * sysdeps/i386/setjmp.S: Likewise.
28250 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28251 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28252 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28253 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28254 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28255 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28256 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28257 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28258 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28259 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28260 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28261 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28262 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28263 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28264 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28265 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28266 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28267 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
28268 * sysdeps/ieee754/support.c: Likewise.
28269 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28270 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
28271 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
28272 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
28273 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
28274 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
28275 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
28276 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
28277 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
28278 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
28279 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
28280 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
28281 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
28282 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
28283 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
28284 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
28285 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
28288 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
28290 * posix/transbug.c: Remove executable mode.
28292 2013-06-05 Joseph Myers <joseph@codesourcery.com>
28294 * crypt/speeds.c: Remove trailing whitespace.
28295 * dlfcn/default.c: Likewise.
28296 * elf/ifuncdep2.c: Likewise.
28297 * elf/ifuncmain1.c: Likewise.
28298 * elf/ifuncmain1vis.c: Likewise.
28299 * elf/testobj.h: Likewise.
28300 * elf/tst-stackguard1.c: Likewise.
28301 * gmon/sys/gmon.h: Likewise.
28302 * hurd/hurdmsg.c: Likewise.
28303 * hurd/new-fd.c: Likewise.
28304 * hurd/ports-get.c: Likewise.
28305 * iconvdata/ibm1008_420.c: Likewise.
28306 * inet/tst-getni1.c: Likewise.
28307 * inet/tst-getni2.c: Likewise.
28308 * libio/ioungetc.c: Likewise.
28309 * libio/wfiledoalloc.c: Likewise.
28310 * manual/libm-err-tab.pl: Likewise.
28311 * math/w_dremf.c: Likewise.
28312 * misc/ftruncate.c: Likewise.
28313 * posix/bug-glob2.c: Likewise.
28314 * posix/tst-pcre.c: Likewise.
28315 * posix/wait4.c: Likewise.
28316 * resolv/README: Likewise.
28317 * resolv/res_debug.h: Likewise.
28318 * resolv/tst-inet_ntop.c: Likewise.
28319 * setjmp/bug269-setjmp.c: Likewise.
28320 * soft-fp/extended.h: Likewise.
28321 * soft-fp/op-1.h: Likewise.
28322 * soft-fp/op-2.h: Likewise.
28323 * soft-fp/op-4.h: Likewise.
28324 * soft-fp/op-8.h: Likewise.
28325 * soft-fp/testit.c: Likewise.
28326 * stdio-common/bug16.c: Likewise.
28327 * stdlib/random.c: Likewise.
28328 * sunrpc/rpcsvc/rquota.x: Likewise.
28329 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
28330 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28331 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28332 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28333 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28334 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28335 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28336 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28337 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28338 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28339 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28340 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28341 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28342 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28343 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28344 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28345 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28346 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28347 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28348 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28349 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28350 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28351 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
28352 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28353 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28354 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28355 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28356 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28357 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28358 * sysdeps/ieee754/s_lib_version.c: Likewise.
28359 * sysdeps/mach/hurd/check_fds.c: Likewise.
28360 * sysdeps/mach/hurd/getsockname.c: Likewise.
28361 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
28362 * sysdeps/mach/hurd/recvfrom.c: Likewise.
28363 * sysdeps/powerpc/bits/link.h: Likewise.
28364 * sysdeps/powerpc/dl-procinfo.c: Likewise.
28365 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
28366 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
28367 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
28368 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28369 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28370 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
28371 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28372 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
28373 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28374 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
28375 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28376 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
28377 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28378 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28379 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28380 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28381 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28382 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28383 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28384 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28385 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
28386 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28387 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28388 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
28389 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28390 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28391 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28392 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28393 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28394 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28395 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28396 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28397 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28398 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
28399 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28400 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
28401 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28402 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
28403 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
28404 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
28405 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
28406 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
28407 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
28408 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28409 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
28410 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
28411 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28412 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
28413 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
28414 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28415 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28416 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28417 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28418 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
28419 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
28420 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
28421 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28422 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
28423 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
28424 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
28425 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
28426 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
28427 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28428 * sysdeps/powerpc/sysdep.h: Likewise.
28429 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28430 * sysdeps/s390/s390-64/sub_n.S: Likewise.
28431 * sysdeps/sh/dl-trampoline.S: Likewise.
28432 * sysdeps/sh/memset.S: Likewise.
28433 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
28434 * sysdeps/sh/strlen.S: Likewise.
28435 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
28436 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
28437 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
28438 * sysdeps/sparc/sparc32/rem.S: Likewise.
28439 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
28440 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
28441 * sysdeps/sparc/sparc32/strchr.S: Likewise.
28442 * sysdeps/sparc/sparc32/udiv.S: Likewise.
28443 * sysdeps/sparc/sparc32/urem.S: Likewise.
28444 * sysdeps/sparc/sparc64/add_n.S: Likewise.
28445 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28446 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
28447 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
28448 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
28449 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
28450 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
28451 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
28452 * sysdeps/unix/bsd/times.c: Likewise.
28453 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
28454 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
28455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
28456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
28457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
28458 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
28459 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
28460 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
28461 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
28462 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
28463 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
28464 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28465 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
28466 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28467 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28468 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
28469 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28470 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
28471 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
28472 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
28473 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
28474 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
28475 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28476 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
28477 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
28478 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
28479 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
28480 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28481 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
28482 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
28483 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
28484 * sysdeps/x86_64/strcspn.S: Likewise.
28486 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28488 * locale/C-translit.h: Revert #include <stdint.h> because this is a
28489 generated file. Regenerate properly from gen-translit.pl.
28490 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
28491 locale/C-translit.h.
28493 2013-06-05 Andreas Schwab <schwab@suse.de>
28496 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
28497 week as 6 instead of -1.
28498 * time/tst-strptime.c (day_tests): Add test case.
28500 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28502 * sysdeps/generic/math_private.h
28503 (libc_feholdexcept_setround_53bit): Replace with
28504 libc_feholdsetround_53bit.
28505 (libc_feupdateenv_53bit): Replace with
28506 libc_feresetround_53bit.
28507 (SET_RESTORE_ROUND_53BIT): Adjust.
28509 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
28511 * string/test-strchrnul.c: Add copyright header.
28513 * posix/tst-getaddrinfo4.c: Increase test timeout.
28515 2013-06-03 Carlos O'Donell <carlos@redhat.com>
28518 * math/libm-test.inc (MAX_EXP): Remove
28520 (ulp): Use MIN_EXP - MANT_DIG.
28521 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
28523 2013-05-31 Carlos O'Donell <carlos@redhat.com>
28525 * po/be.po: Revert last change.
28526 * po/zh_CN.po: Likewise.
28527 * po/header.pot: Likewise.
28529 2013-05-31 Joseph Myers <joseph@codesourcery.com>
28531 * Makefile ($(common-objpfx)linkobj/libc.so): Define
28532 link-libc-deps to empty as target-specific variable.
28533 * Makerules (link-libc-args): New variable.
28534 (libc-for-link): Likewise.
28535 (link-libc-deps): Likewise.
28536 (lib%.so): Depend on $(link-libc-deps). Link with
28538 (build-module): Link with $(link-libc-args).
28539 (build-module-asneeded): Likewise.
28540 (build-module-helper-objlist): Filter out $(link-libc-deps) from
28542 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
28543 target-specific variable.
28544 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
28545 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
28546 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
28548 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
28550 ($(objpfx)libpcprofile.so): Likewise.
28551 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
28553 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
28554 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
28555 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
28557 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
28558 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
28559 * login/Makefile ($(objpfx)libutil.so): Likewise.
28560 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
28561 * math/Makefile ($(objpfx)libm.so): Likewise.
28562 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
28563 $(objpfx)libnsl.so): Define libc-for-link as target-specific
28564 variable instead of depending directly on libc.
28565 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
28566 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
28568 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
28570 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
28571 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
28572 ($(objpfx)libanl.so): Likewise.
28573 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
28575 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
28577 * sysdeps/i386/fpu/Makefile: Remove file.
28578 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
28579 ($(objpfx)libm.so): Remove dependency on ld.so.
28581 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
28584 * nis/yp_xdr.c (XDRMAXNAME): Define.
28585 (XDRMAXRECORD): Define.
28586 (xdr_domainname): Use XDRMAXNAME.
28587 (xdr_mapname): Likewise.
28588 (xdr_peername): Likewise.
28589 (xdr_keydat): Use XDRMAXRECORD.
28590 (xdr_valdat): Likewise.
28592 2013-05-30 Jeff Law <law@redhat.com>
28595 * manual/errno.texi (ESTALE): Update to account for more than
28596 just NFS file systems.
28597 * sysdeps/gnu/errlist.c: Regenerated.
28599 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28602 * elf/Makefile (tests): Add tst-null-argv.
28603 (modules-names): Add tst-null-argv-lib.
28604 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
28605 (tst-null-argv-ENV): Set environment for tst-null-argv.
28606 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
28607 (RTLD_PROGNAME): New macro.
28608 * elf/tst-null-argv.c: New test case.
28609 * elf/tst-null-argv-lib.c: Library for test case.
28610 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
28611 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
28612 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
28613 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
28614 * elf/dl-init.c (call_init): Likewise.
28615 (_dl_init): Likewise.
28616 * elf/dl-load.c (print_search_path): Likewise.
28617 (_dl_map_object): Likewise.
28618 * elf/dl-lookup.c (do_lookup_x): Likewise.
28619 (add_dependency): Likewise.
28620 (_dl_lookup_symbol_x): Likewise.
28621 (_dl_debug_bindings): Likewise.
28622 * elf/dl-open.c (_dl_show_scope): Likewise.
28623 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
28624 * elf/dl-version.c (match_symbol): Likewise.
28625 (_dl_check_map_versions): Likewise.
28626 * elf/rtld.c (dl_main): Likewise.
28627 (print_unresolved): Use RTLD_PROGNAME.
28628 (print_missing_version): Likewise.
28629 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
28630 (elf_machine_rela): Likewise.
28631 * sysdeps/powerpc/powerpc32/dl-machine.c
28632 (__process_machine_rela): Likewise.
28633 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28635 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28637 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
28639 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28640 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
28642 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
28644 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28646 2013-05-28 Carlos O'Donell <carlos@redhat.com>
28648 * po/be.po: Add descriptive title.
28649 * po/zh_CN.po: Likewise.
28650 * po/header.pot: Likewise.
28652 2013-05-28 Mike Frysinger <vapier@gentoo.org>
28654 * locale/programs/locarchive.c (create_archive): Inlucde fname in
28656 (enlarge_archive): Likewise.
28658 2013-05-28 Ben North <ben@redfrontdoor.org>
28660 * manual/arith.texi (frexp): It is the magnitude of the return
28661 value which lies in [0.5, 1), not the return value itself.
28663 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28667 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
28669 * stdio-common/bug26.c (main): Correct fscanf template.
28671 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
28672 declare _dl_skip_args.
28674 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
28677 * manual/platform.texi: Add missing @end deftypefun.
28679 2013-05-24 Joseph Myers <joseph@codesourcery.com>
28682 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
28683 bit of mantissa of 2^16382.
28684 * math/libm-test.inc (hypot_test_data): Add more tests.
28686 * math/libm-test.inc: Add drem and pow10 to list of tested
28688 (pow10_test): New function.
28689 (drem_test): Likewise.
28690 (drem_test_tonearest): Likewise.
28691 (drem_test_towardzero): Likewise.
28692 (drem_test_downward): Likewise.
28693 (drem_test_upward): Likewise.
28694 (main): Call the new functions.
28696 * math/libm-test.inc (finite_test_data): Remove.
28697 (finite_test): Run tests from isfinite_test_data.
28698 (gamma_test_data): Remove.
28699 (gamma_test): Run tests from lgamma_test_data.
28700 * sysdeps/i386/fpu/libm-test-ulps: Update.
28701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28703 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28705 * manual/platform.texi: Add PowerPC PPR function set documentation.
28706 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
28709 2013-05-24 Carlos O'Donell <carlos@redhat.com>
28711 * math/libm-test.inc (MAX_EXP): Define.
28713 (ulp): New function.
28714 (check_float_internal): Use ULPDIFF.
28715 (cpow_test): Disable failing test.
28716 (check_ulp): Test ulp() implemetnation.
28717 (main): Call check_ulp before starting tests.
28719 2013-05-24 Joseph Myers <joseph@codesourcery.com>
28721 * math/gen-libm-test.pl (generate_testfile): Do not handle
28722 START_DATA and END_DATA.
28723 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
28725 (acos_tonearest_test_data): Likewise.
28726 (acos_towardzero_test_data): Likewise.
28727 (acos_downward_test_data): Likewise.
28728 (acos_upward_test_data): Likewise.
28729 (acosh_test_data): Likewise.
28730 (asin_test_data): Likewise.
28731 (asin_tonearest_test_data): Likewise.
28732 (asin_towardzero_test_data): Likewise.
28733 (asin_downward_test_data): Likewise.
28734 (asin_upward_test_data): Likewise.
28735 (asinh_test_data): Likewise.
28736 (atan_test_data): Likewise.
28737 (atanh_test_data): Likewise.
28738 (atan2_test_data): Likewise.
28739 (cabs_test_data): Likewise.
28740 (cacos_test_data): Likewise.
28741 (cacosh_test_data): Likewise.
28742 (carg_test_data): Likewise.
28743 (casin_test_data): Likewise.
28744 (casinh_test_data): Likewise.
28745 (catan_test_data): Likewise.
28746 (catanh_test_data): Likewise.
28747 (cbrt_test_data): Likewise.
28748 (ccos_test_data): Likewise.
28749 (ccosh_test_data): Likewise.
28750 (ceil_test_data): Likewise.
28751 (cexp_test_data): Likewise.
28752 (cimag_test_data): Likewise.
28753 (clog_test_data): Likewise.
28754 (clog10_test_data): Likewise.
28755 (conj_test_data): Likewise.
28756 (copysign_test_data): Likewise.
28757 (cos_test_data): Likewise.
28758 (cos_tonearest_test_data): Likewise.
28759 (cos_towardzero_test_data): Likewise.
28760 (cos_downward_test_data): Likewise.
28761 (cos_upward_test_data): Likewise.
28762 (cosh_test_data): Likewise.
28763 (cosh_tonearest_test_data): Likewise.
28764 (cosh_towardzero_test_data): Likewise.
28765 (cosh_downward_test_data): Likewise.
28766 (cosh_upward_test_data): Likewise.
28767 (cpow_test_data): Likewise.
28768 (cproj_test_data): Likewise.
28769 (creal_test_data): Likewise.
28770 (csin_test_data): Likewise.
28771 (csinh_test_data): Likewise.
28772 (csqrt_test_data): Likewise.
28773 (ctan_test_data): Likewise.
28774 (ctan_tonearest_test_data): Likewise.
28775 (ctan_towardzero_test_data): Likewise.
28776 (ctan_downward_test_data): Likewise.
28777 (ctan_upward_test_data): Likewise.
28778 (ctanh_test_data): Likewise.
28779 (ctanh_tonearest_test_data): Likewise.
28780 (ctanh_towardzero_test_data): Likewise.
28781 (ctanh_downward_test_data): Likewise.
28782 (ctanh_upward_test_data): Likewise.
28783 (erf_test_data): Likewise.
28784 (erfc_test_data): Likewise.
28785 (exp_test_data): Likewise.
28786 (exp_tonearest_test_data): Likewise.
28787 (exp_towardzero_test_data): Likewise.
28788 (exp_downward_test_data): Likewise.
28789 (exp_upward_test_data): Likewise.
28790 (exp10_test_data): Likewise.
28791 (exp2_test_data): Likewise.
28792 (expm1_test_data): Likewise.
28793 (fabs_test_data): Likewise.
28794 (fdim_test_data): Likewise.
28795 (finite_test_data): Likewise.
28796 (floor_test_data): Likewise.
28797 (fma_test_data): Likewise.
28798 (fma_towardzero_test_data): Likewise.
28799 (fma_downward_test_data): Likewise.
28800 (fma_upward_test_data): Likewise.
28801 (fmax_test_data): Likewise.
28802 (fmin_test_data): Likewise.
28803 (fmod_test_data): Likewise.
28804 (fpclassify_test_data): Likewise.
28805 (frexp_test_data): Likewise.
28806 (gamma_test_data): Likewise.
28807 (hypot_test_data): Likewise.
28808 (ilogb_test_data): Likewise.
28809 (isfinite_test_data): Likewise.
28810 (isgreater_test_data): Likewise.
28811 (isgreaterequal_test_data): Likewise.
28812 (isinf_test_data): Likewise.
28813 (isless_test_data): Likewise.
28814 (islessequal_test_data): Likewise.
28815 (islessgreater_test_data): Likewise.
28816 (isnan_test_data): Likewise.
28817 (isnormal_test_data): Likewise.
28818 (issignaling_test_data): Likewise.
28819 (isunordered_test_data): Likewise.
28820 (j0_test_data): Likewise.
28821 (j1_test_data): Likewise.
28822 (jn_test_data): Likewise.
28823 (ldexp_test_data): Likewise.
28824 (lgamma_test_data): Likewise.
28825 (lrint_test_data): Likewise.
28826 (lrint_tonearest_test_data): Likewise.
28827 (lrint_towardzero_test_data): Likewise.
28828 (lrint_downward_test_data): Likewise.
28829 (lrint_upward_test_data): Likewise.
28830 (llrint_test_data): Likewise.
28831 (llrint_tonearest_test_data): Likewise.
28832 (llrint_towardzero_test_data): Likewise.
28833 (llrint_downward_test_data): Likewise.
28834 (llrint_upward_test_data): Likewise.
28835 (log_test_data): Likewise.
28836 (log10_test_data): Likewise.
28837 (log1p_test_data): Likewise.
28838 (log2_test_data): Likewise.
28839 (logb_test_data): Likewise.
28840 (logb_downward_test_data): Likewise.
28841 (lround_test_data): Likewise.
28842 (llround_test_data): Likewise.
28843 (modf_test_data): Likewise.
28844 (nearbyint_test_data): Likewise.
28845 (nextafter_test_data): Likewise.
28846 (nexttoward_test_data): Likewise.
28847 (pow_test_data): Likewise.
28848 (pow_tonearest_test_data): Likewise.
28849 (pow_towardzero_test_data): Likewise.
28850 (pow_downward_test_data): Likewise.
28851 (pow_upward_test_data): Likewise.
28852 (remainder_test_data): Likewise.
28853 (remainder_tonearest_test_data): Likewise.
28854 (remainder_towardzero_test_data): Likewise.
28855 (remainder_downward_test_data): Likewise.
28856 (remainder_upward_test_data): Likewise.
28857 (remquo_test_data): Likewise.
28858 (rint_test_data): Likewise.
28859 (rint_tonearest_test_data): Likewise.
28860 (rint_towardzero_test_data): Likewise.
28861 (rint_downward_test_data): Likewise.
28862 (rint_upward_test_data): Likewise.
28863 (round_test_data): Likewise.
28864 (scalb_test_data): Likewise.
28865 (scalbn_test_data): Likewise.
28866 (scalbln_test_data): Likewise.
28867 (signbit_test_data): Likewise.
28868 (sin_test_data): Likewise.
28869 (sin_tonearest_test_data): Likewise.
28870 (sin_towardzero_test_data): Likewise.
28871 (sin_downward_test_data): Likewise.
28872 (sin_upward_test_data): Likewise.
28873 (sincos_test_data): Likewise.
28874 (sinh_test_data): Likewise.
28875 (sinh_tonearest_test_data): Likewise.
28876 (sinh_towardzero_test_data): Likewise.
28877 (sinh_downward_test_data): Likewise.
28878 (sinh_upward_test_data): Likewise.
28879 (sqrt_test_data): Likewise.
28880 (tan_test_data): Likewise.
28881 (tan_tonearest_test_data): Likewise.
28882 (tan_towardzero_test_data): Likewise.
28883 (tan_downward_test_data): Likewise.
28884 (tan_upward_test_data): Likewise.
28885 (tanh_test_data): Likewise.
28886 (tgamma_test_data): Likewise.
28887 (trunc_test_data): Likewise.
28888 (y0_test_data): Likewise.
28889 (y1_test_data): Likewise.
28890 (yn_test_data): Likewise.
28891 (significand_test_data): Likewise.
28893 * math/gen-libm-test.pl (@functions): Remove variable.
28894 (generate_testfile): Don't handle START and END lines.
28895 * math/libm-test.inc (START): New macro.
28897 (END_COMPLEX): Likewise.
28898 (acos_test): Use END macro without arguments.
28899 (acos_test_tonearest): Likewise.
28900 (acos_test_towardzero): Likewise.
28901 (acos_test_downward): Likewise.
28902 (acos_test_upward): Likewise.
28903 (acosh_test): Likewise.
28904 (asin_test): Likewise.
28905 (asin_test_tonearest): Likewise.
28906 (asin_test_towardzero): Likewise.
28907 (asin_test_downward): Likewise.
28908 (asin_test_upward): Likewise.
28909 (asinh_test): Likewise.
28910 (atan_test): Likewise.
28911 (atanh_test): Likewise.
28912 (atan2_test): Likewise.
28913 (cabs_test): Likewise.
28914 (cacos_test): Use END_COMPLEX macro without arguments.
28915 (cacosh_test): Likewise.
28916 (carg_test): Use END macro without arguments.
28917 (casin_test): Use END_COMPLEX macro without arguments.
28918 (casinh_test): Likewise.
28919 (catan_test): Likewise.
28920 (catanh_test): Likewise.
28921 (cbrt_test): Use END macro without arguments.
28922 (ccos_test): Use END_COMPLEX macro without arguments.
28923 (ccosh_test): Likewise.
28924 (ceil_test): Use END macro without arguments.
28925 (cexp_test): Use END_COMPLEX macro without arguments.
28926 (cimag_test): Use END macro without arguments.
28927 (clog_test): Use END_COMPLEX macro without arguments.
28928 (clog10_test): Likewise.
28929 (conj_test): Likewise.
28930 (copysign_test): Use END macro without arguments.
28931 (cos_test): Likewise.
28932 (cos_test_tonearest): Likewise.
28933 (cos_test_towardzero): Likewise.
28934 (cos_test_downward): Likewise.
28935 (cos_test_upward): Likewise.
28936 (cosh_test): Likewise.
28937 (cosh_test_tonearest): Likewise.
28938 (cosh_test_towardzero): Likewise.
28939 (cosh_test_downward): Likewise.
28940 (cosh_test_upward): Likewise.
28941 (cpow_test): Use END_COMPLEX macro without arguments.
28942 (cproj_test): Likewise.
28943 (creal_test): Use END macro without arguments.
28944 (csin_test): Use END_COMPLEX macro without arguments.
28945 (csinh_test): Likewise.
28946 (csqrt_test): Likewise.
28947 (ctan_test): Likewise.
28948 (ctan_test_tonearest): Likewise.
28949 (ctan_test_towardzero): Likewise.
28950 (ctan_test_downward): Likewise.
28951 (ctan_test_upward): Likewise.
28952 (ctanh_test): Likewise.
28953 (ctanh_test_tonearest): Likewise.
28954 (ctanh_test_towardzero): Likewise.
28955 (ctanh_test_downward): Likewise.
28956 (ctanh_test_upward): Likewise.
28957 (erf_test): Use END macro without arguments.
28958 (erfc_test): Likewise.
28959 (exp_test): Likewise.
28960 (exp_test_tonearest): Likewise.
28961 (exp_test_towardzero): Likewise.
28962 (exp_test_downward): Likewise.
28963 (exp_test_upward): Likewise.
28964 (exp10_test): Likewise.
28965 (exp2_test): Likewise.
28966 (expm1_test): Likewise.
28967 (fabs_test): Likewise.
28968 (fdim_test): Likewise.
28969 (finite_test): Likewise.
28970 (floor_test): Likewise.
28971 (fma_test): Likewise.
28972 (fma_test_towardzero): Likewise.
28973 (fma_test_downward): Likewise.
28974 (fma_test_upward): Likewise.
28975 (fmax_test): Likewise.
28976 (fmin_test): Likewise.
28977 (fmod_test): Likewise.
28978 (fpclassify_test): Likewise.
28979 (frexp_test): Likewise.
28980 (gamma_test): Likewise.
28981 (hypot_test): Likewise.
28982 (ilogb_test): Likewise.
28983 (isfinite_test): Likewise.
28984 (isgreater_test): Likewise.
28985 (isgreaterequal_test): Likewise.
28986 (isinf_test): Likewise.
28987 (isless_test): Likewise.
28988 (islessequal_test): Likewise.
28989 (islessgreater_test): Likewise.
28990 (isnan_test): Likewise.
28991 (isnormal_test): Likewise.
28992 (issignaling_test): Likewise.
28993 (isunordered_test): Likewise.
28994 (j0_test): Likewise.
28995 (j1_test): Likewise.
28996 (jn_test): Likewise.
28997 (ldexp_test): Likewise.
28998 (lgamma_test): Likewise.
28999 (lrint_test): Likewise.
29000 (lrint_test_tonearest): Likewise.
29001 (lrint_test_towardzero): Likewise.
29002 (lrint_test_downward): Likewise.
29003 (lrint_test_upward): Likewise.
29004 (llrint_test): Likewise.
29005 (llrint_test_tonearest): Likewise.
29006 (llrint_test_towardzero): Likewise.
29007 (llrint_test_downward): Likewise.
29008 (llrint_test_upward): Likewise.
29009 (log_test): Likewise.
29010 (log10_test): Likewise.
29011 (log1p_test): Likewise.
29012 (log2_test): Likewise.
29013 (logb_test): Likewise.
29014 (logb_test_downward): Likewise.
29015 (lround_test): Likewise.
29016 (llround_test): Likewise.
29017 (modf_test): Likewise.
29018 (nearbyint_test): Likewise.
29019 (nextafter_test): Likewise.
29020 (nexttoward_test): Likewise.
29021 (pow_test): Likewise.
29022 (pow_test_tonearest): Likewise.
29023 (pow_test_towardzero): Likewise.
29024 (pow_test_downward): Likewise.
29025 (pow_test_upward): Likewise.
29026 (remainder_test): Likewise.
29027 (remainder_test_tonearest): Likewise.
29028 (remainder_test_towardzero): Likewise.
29029 (remainder_test_downward): Likewise.
29030 (remainder_test_upward): Likewise.
29031 (remquo_test): Likewise.
29032 (rint_test): Likewise.
29033 (rint_test_tonearest): Likewise.
29034 (rint_test_towardzero): Likewise.
29035 (rint_test_downward): Likewise.
29036 (rint_test_upward): Likewise.
29037 (round_test): Likewise.
29038 (scalb_test): Likewise.
29039 (scalbn_test): Likewise.
29040 (scalbln_test): Likewise.
29041 (signbit_test): Likewise.
29042 (sin_test): Likewise.
29043 (sin_test_tonearest): Likewise.
29044 (sin_test_towardzero): Likewise.
29045 (sin_test_downward): Likewise.
29046 (sin_test_upward): Likewise.
29047 (sincos_test): Likewise.
29048 (sinh_test): Likewise.
29049 (sinh_test_tonearest): Likewise.
29050 (sinh_test_towardzero): Likewise.
29051 (sinh_test_downward): Likewise.
29052 (sinh_test_upward): Likewise.
29053 (sqrt_test): Likewise.
29054 (tan_test): Likewise.
29055 (tan_test_tonearest): Likewise.
29056 (tan_test_towardzero): Likewise.
29057 (tan_test_downward): Likewise.
29058 (tan_test_upward): Likewise.
29059 (tanh_test): Likewise.
29060 (tgamma_test): Likewise.
29061 (trunc_test): Likewise.
29062 (y0_test): Likewise.
29063 (y1_test): Likewise.
29064 (yn_test): Likewise.
29065 (significand_test): Likewise.
29067 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
29070 * libio/genops.c (_IO_no_init): Initialize wide struct info.
29072 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
29075 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
29076 __ppc_mdoio and __ppc_mdoom.
29077 * manual/platform.texi: Document new functions __ppc_yield,
29078 __ppc_mdoio and __ppc_mdoom.
29080 2013-05-22 Carlos O'Donell <carlos@redhat.com>
29082 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
29083 (main): Mention "tls" pseudo-hwcap is legacy.
29084 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
29086 2013-05-22 Joseph Myers <joseph@codesourcery.com>
29088 * math/gen-libm-test.pl (parse_args): Output only string of
29089 arguments as text for test name, not full call or descriptions of
29090 tests for extra outputs.
29091 (generate_testfile): Do not pass function name to parse_args.
29092 Generate this_func variable from START.
29093 * math/libm-test.inc (struct test_f_f_data): Rename test_name
29095 (struct test_ff_f_data): Likewise.
29096 (test_ff_f_data_nexttoward): Likewise.
29097 (struct test_fi_f_data): Likewise.
29098 (struct test_fl_f_data): Likewise.
29099 (struct test_if_f_data): Likewise.
29100 (struct test_fff_f_data): Likewise.
29101 (struct test_c_f_data): Likewise.
29102 (struct test_f_f1_data): Likewise. Remove field extra_name.
29103 (struct test_fF_f1_data): Likewise.
29104 (struct test_ffI_f1_data): Likewise.
29105 (struct test_c_c_data): Rename test_name field to arg_str.
29106 (struct test_cc_c_data): Likewise.
29107 (struct test_f_i_data): Likewise.
29108 (struct test_ff_i_data): Likewise.
29109 (struct test_f_l_data): Likewise.
29110 (struct test_f_L_data): Likewise.
29111 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
29113 (COMMON_TEST_SETUP): New macro.
29114 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
29115 (COMMON_TEST_CLEANUP): Likewise.
29116 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
29117 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
29119 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
29120 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
29122 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
29123 (RUN_TEST_fff_f): Take argument string. Call new setup and
29125 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
29126 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
29128 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
29129 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
29131 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
29132 (RUN_TEST_fF_f1): Take argument string. Call new setup and
29134 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
29135 (RUN_TEST_fI_f1): Take argument string. Call new setup and
29137 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
29138 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
29140 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
29141 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
29143 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
29144 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
29146 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
29147 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
29149 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
29150 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
29152 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
29153 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
29155 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
29156 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
29158 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
29159 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
29161 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
29162 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
29164 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
29165 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
29167 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
29168 (RUN_TEST_fFF_11): Take argument string. Call new setup and
29170 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
29172 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
29174 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
29175 to _sifields.sigfault.
29176 (si_addr_lsb): Define new macro.
29177 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
29178 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29179 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
29181 2013-05-03 Carlos O'Donell <carlos at redhat.com>
29184 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
29186 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
29188 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
29189 loading the domain.
29191 2013-05-22 Joseph Myers <joseph@codesourcery.com>
29193 * math/gen-libm-test.pl (parse_args): Do not include expected
29194 result in test name.
29195 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
29196 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29197 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29198 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29199 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29202 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29204 * benchtests/Makefile: Sort function entries.
29206 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
29207 tanh, asinh, acosh, atanh.
29208 * benchtests/acos-inputs: New file.
29209 * benchtests/acosh-inputs: New file.
29210 * benchtests/asin-inputs: New file.
29211 * benchtests/asinh-inputs: New file.
29212 * benchtests/atanh-inputs: New file.
29213 * benchtests/cosh-inputs: New file.
29214 * benchtests/log-inputs: New file.
29215 * benchtests/sinh-inputs: New file.
29216 * benchtests/tanh-inputs: New file.
29218 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
29221 * posix/tst-getaddrinfo4.c: New test.
29222 * posix/Makefile (tests): Add it.
29224 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29227 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
29228 when no services were used.
29229 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
29230 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
29232 2013-05-21 Andreas Schwab <schwab@suse.de>
29235 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
29236 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
29238 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
29239 redundant variable declarations and reallocation of buffer when
29240 parsing as IPv6 address. Always set NSS status when called from
29241 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
29242 buffer too small. Correct computation of needed size.
29243 * nss/Makefile (tests): Add test-digits-dots.
29244 * nss/test-digits-dots.c: New test.
29246 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29248 * benchtests/Makefile: Remove instructions for adding
29250 * benchtests/README: New file to explain how to execute and
29251 enhance the benchmark tests.
29253 2013-05-21 Andreas Schwab <schwab@suse.de>
29256 * setjmp/Makefile (tests): Add tst-sigsetjmp.
29257 * setjmp/tst-sigsetjmp.c: New test.
29259 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
29261 * sysdeps/x86_64/memset.S (memset): New implementation.
29262 (__bzero): Likewise.
29263 (__memset_tail): New function.
29265 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
29267 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
29268 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
29269 __memcpy_sse2_unaligned ifunc selection.
29270 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29271 Add memcpy-sse2-unaligned.S.
29272 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29273 Add: __memcpy_sse2_unaligned.
29275 2013-05-19 Joseph Myers <joseph@codesourcery.com>
29278 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29279 math_force_eval before restoring floating-point envrionment.
29280 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
29281 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29283 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
29285 (__nearbyintl): Use math_force_eval before restoring
29286 floating-point environment.
29287 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
29289 * math/gen-libm-test.pl (special_functions): Remove.
29290 (parse_args): Don't handle TEST_extra. Handle functions with no
29292 * math/libm-test.inc (struct test_sincos_data): Replace with
29293 struct test_fFF_11_data.
29294 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
29295 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
29296 (sincos_test_data): Change element type to struct
29297 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
29298 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
29299 RUN_TEST_LOOP_sincos.
29300 * math/README.libm-test: Don't mention special handling of
29301 individual functions.
29302 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
29303 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29304 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29305 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29306 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29309 * math/gen-libm-test.pl (get_variable): Remove function.
29310 (parse_args): Don't show pointer parameters to call in test
29311 names. Use "extra output N" in test names for extra outputs
29312 rather than naming variables.
29314 2013-05-18 Joseph Myers <joseph@codesourcery.com>
29317 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
29318 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
29319 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
29321 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
29323 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
29326 * math/gen-libm-test.pl (@tests): Remove variable.
29327 ($count): Likewise.
29328 (new_test): Remove function.
29329 (show_exceptions): New function.
29330 (special_functions): Use show_exceptions instead of new_test.
29331 (parse_args): Likewise.
29332 (generate_testfile): Pass only function name in generated call to
29333 print_max_error or print_complex_max_error.
29334 (get_ulps): Do not handle complex tests specially.
29335 (output_test): Rename to ...
29336 (get_all_ulps_for_test): ... this. Return a string rather than
29337 printing to a file. Require ulps to be present.
29338 (output_ulps): Generate arrays rather than #defines.
29339 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
29340 (struct ulp_data): New type.
29341 (BUILD_COMPLEX_ULP): Remove macro.
29342 (compare_ulp_data): New function.
29343 (find_ulps): Likewise.
29344 (find_test_ulps): Likewise.
29345 (find_function_ulps): Likewise.
29346 (find_complex_function_ulps): Likewise.
29347 (print_max_error): Determine allowed ulps using
29348 find_function_ulps.
29349 (print_complex_max_error): Determine allowed ulps using
29350 find_complex_function_ulps.
29351 (check_float_internal): Determine max ulps using find_test_ulps.
29352 (check_float): Do not take max_ulp parameter. Update call to
29353 check_float_internal.
29354 (check_complex): Likewise.
29355 (check_int): Do not take max_ulp parameter.
29356 (check_long): Likewise.
29357 (check_bool): Likewise.
29358 (check_longlong): Likewise.
29359 (struct test_f_f_data): Remove max_ulp field.
29360 (struct test_ff_f_data): Likewise.
29361 (struct test_ff_f_data_nexttoward): Likewise.
29362 (struct test_fi_f_data): Likewise.
29363 (struct test_fl_f_data): Likewise.
29364 (struct test_if_f_data): Likewise.
29365 (struct test_fff_f_data): Likewise.
29366 (struct test_c_f_data): Likewise.
29367 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
29368 (struct test_fF_f1_data): Likewise.
29369 (struct test_ffI_f1_data): Likewise.
29370 (struct test_c_c_data): Remove max_ulp field.
29371 (struct test_cc_c_data): Likewise.
29372 (struct test_f_i_data): Likewise.
29373 (struct test_ff_i_data): Likewise.
29374 (struct test_f_l_data): Likewise.
29375 (struct test_f_L_data): Likewise.
29376 (struct test_sincos_data): Likewise.
29377 (RUN_TEST_f_f): Do not handle ulps.
29378 (RUN_TEST_LOOP_f_f): Likewise.
29379 (RUN_TEST_2_f): Likewise.
29380 (RUN_TEST_LOOP_2_f): Likewise.
29381 (RUN_TEST_fff_f): Likewise.
29382 (RUN_TEST_LOOP_fff_f): Likewise.
29383 (RUN_TEST_c_f): Likewise.
29384 (RUN_TEST_LOOP_c_f): Likewise.
29385 (RUN_TEST_f_f1): Likewise.
29386 (RUN_TEST_LOOP_f_f1): Likewise.
29387 (RUN_TEST_fF_f1): Likewise.
29388 (RUN_TEST_LOOP_fF_f1): Likewise.
29389 (RUN_TEST_fI_f1): Likewise.
29390 (RUN_TEST_LOOP_fI_f1): Likewise.
29391 (RUN_TEST_ffI_f1): Likewise.
29392 (RUN_TEST_LOOP_ffI_f1): Likewise.
29393 (RUN_TEST_c_c): Likewise.
29394 (RUN_TEST_LOOP_c_c): Likewise.
29395 (RUN_TEST_cc_c): Likewise.
29396 (RUN_TEST_LOOP_cc_c): Likewise.
29397 (RUN_TEST_f_i): Likewise.
29398 (RUN_TEST_LOOP_f_i): Likewise.
29399 (RUN_TEST_f_i_tg): Likewise.
29400 (RUN_TEST_LOOP_f_i_tg): Likewise.
29401 (RUN_TEST_ff_i_tg): Likewise.
29402 (RUN_TEST_LOOP_ff_i_tg): Likewise.
29403 (RUN_TEST_f_b): Likewise.
29404 (RUN_TEST_LOOP_f_b): Likewise.
29405 (RUN_TEST_f_b_tg): Likewise.
29406 (RUN_TEST_LOOP_f_b_tg): Likewise.
29407 (RUN_TEST_f_l): Likewise.
29408 (RUN_TEST_LOOP_f_l): Likewise.
29409 (RUN_TEST_f_L): Likewise.
29410 (RUN_TEST_LOOP_f_L): Likewise.
29411 (RUN_TEST_sincos): Likewise.
29412 (RUN_TEST_LOOP_sincos): Likewise.
29414 2013-05-17 Joseph Myers <joseph@codesourcery.com>
29418 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
29419 main case of finite arguments, set rounding mode to FE_TONEAREST
29420 and discard exceptions.
29421 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
29423 (remainder_tonearest_test_data): New variable.
29424 (remainder_test_tonearest): New function.
29425 (remainder_towardzero_test_data): New variable.
29426 (remainder_test_towardzero): New function.
29427 (remainder_downward_test_data): New variable.
29428 (remainder_test_downward): New function.
29429 (remainder_upward_test_data): New variable.
29430 (remainder_test_upward): New function.
29431 (main): Call the new test functions.
29433 * math/libm-test.inc (struct test_f_f1_data): Remove field
29435 (struct test_fF_f1_data): Likewise.
29436 (struct test_ffI_f1_data): Likewise.
29437 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
29438 based on value of EXTRA_EXPECTED.
29439 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
29440 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
29441 EXTRA_VAR based on value of EXTRA_EXPECTED.
29442 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
29443 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
29444 EXTRA_VAR based on value of EXTRA_EXPECTED.
29445 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
29446 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
29447 EXTRA_VAR based on value of EXTRA_EXPECTED.
29448 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
29449 * math/gen-libm-test.pl (parse_args): Don't output initializers
29450 for extra output values.
29452 * math/libm-test.inc (check_int): Expect result to be exactly
29453 equal to expected value and do not handle ulps.
29454 (check_long): Likewise.
29455 (check_longlong): Likewise.
29457 * math/libm-test.inc (ceil_test_data): Test for "inexact"
29459 (cimag_test_data): Likewise.
29460 (conj_test_data): Likewise.
29461 (copysign_test_data): Likewise.
29462 (cproj_test_data): Likewise.
29463 (creal_test_data): Likewise.
29464 (fabs_test_data): Likewise.
29465 (fdim_test_data): Likewise.
29466 (finite_test_data): Likewise.
29467 (floor_test_data): Likewise.
29468 (fmax_test_data): Likewise.
29469 (fmin_test_data): Likewise.
29470 (fmod_test_data): Likewise.
29471 (fpclassify_test_data): Likewise.
29472 (frexp_test_data): Likewise.
29473 (ilogb_test_data): Likewise.
29474 (isfinite_test_data): Likewise.
29475 (isgreater_test_data): Likewise.
29476 (isgreaterequal_test_data): Likewise.
29477 (isinf_test_data): Likewise.
29478 (isless_test_data): Likewise.
29479 (islessequal_test_data): Likewise.
29480 (islessgreater_test_data): Likewise.
29481 (isnan_test_data): Likewise.
29482 (isnormal_test_data): Likewise.
29483 (issignaling_test_data): Likewise.
29484 (isunordered_test_data): Likewise.
29485 (ldexp_test_data): Likewise.
29486 (lrint_test_data): Likewise.
29487 (lrint_test_data) [TEST_FLOAT]: Disable one test.
29488 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
29489 (lrint_tonearest_test_data): Test for "inexact" exceptions.
29490 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
29491 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
29492 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
29494 (lrint_towardzero_test_data): Test for "inexact" exceptions.
29495 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
29496 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
29497 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
29499 (lrint_downward_test_data): Test for "inexact" exceptions.
29500 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
29501 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
29502 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
29504 (lrint_upward_test_data): Test for "inexact" exceptions.
29505 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
29507 (llrint_test_data): Test for "inexact" exceptions.
29508 (llrint_test_data) [TEST_FLOAT]: Disable one test.
29509 (llrint_tonearest_test_data): Test for "inexact" exceptions.
29510 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
29511 (llrint_towardzero_test_data): Test for "inexact" exceptions.
29512 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
29513 (llrint_downward_test_data): Test for "inexact" exceptions.
29514 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
29515 (llrint_upward_test_data): Test for "inexact" exceptions.
29516 (logb_test_data): Likewise.
29517 (logb_downward_test_data): Likewise.
29518 (nextafter_test_data): Likewise.
29519 (nexttoward_test_data): Likewise.
29520 (remainder_test_data): Likewise.
29521 (remquo_test_data): Likewise.
29522 (scalbn_test_data): Likewise.
29523 (scalbln_test_data): Likewise.
29524 (signbit_test_data): Likewise.
29525 (sqrt_test_data): Likewise.
29526 (significand_test_data): Likewise.
29528 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29531 * benchtests/bench-modf.c (struct args): Mark arg0 as
29533 * scripts/bench.pl: Mark members of struct args as volatile.
29535 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29538 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
29539 negative infinity on POWER6 or lower.
29540 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
29542 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
29545 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
29546 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
29547 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
29548 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
29549 (_FP_SETQNAN): New macro.
29550 (_FP_SETQNAN_SEMIRAW): Likewise.
29551 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
29552 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
29553 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
29554 (FP_EXTEND): Use _FP_FRAC_SNANP.
29555 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
29556 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
29558 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
29560 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
29563 2013-05-16 Joseph Myers <joseph@codesourcery.com>
29565 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
29566 with DIVIDE_BY_ZERO_EXCEPTION.
29567 (gamma_test_data): Likewise.
29568 (lgamma_test_data): Likewise.
29569 (log_test_data): Likewise.
29570 (log10_test_data): Likewise.
29571 (log2_test_data): Likewise.
29572 (tgamma_test_data): Likewise.
29574 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
29575 (acos_test_tonearest): Likewise.
29576 (acos_test_towardzero): Likewise.
29577 (acos_test_downward): Likewise.
29578 (acos_test_upward): Likewise.
29579 (acosh_test): Likewise.
29580 (asin_test): Likewise.
29581 (asin_test_tonearest): Likewise.
29582 (asin_test_towardzero): Likewise.
29583 (asin_test_downward): Likewise.
29584 (asin_test_upward): Likewise.
29585 (asinh_test): Likewise.
29586 (atan_test): Likewise.
29587 (atanh_test): Likewise.
29588 (atan2_test): Likewise.
29589 (cabs_test): Likewise.
29590 (cacos_test): Likewise.
29591 (cacosh_test): Likewise.
29592 (casin_test): Likewise.
29593 (casinh_test): Likewise.
29594 (catan_test): Likewise.
29595 (catanh_test): Likewise.
29596 (cbrt_test): Likewise.
29597 (ccos_test): Likewise.
29598 (ccosh_test): Likewise.
29599 (cexp_test): Likewise.
29600 (clog_test): Likewise.
29601 (clog10_test): Likewise.
29602 (cos_test): Likewise.
29603 (cos_test_tonearest): Likewise.
29604 (cos_test_towardzero): Likewise.
29605 (cos_test_downward): Likewise.
29606 (cos_test_upward): Likewise.
29607 (cosh_test): Likewise.
29608 (cosh_test_tonearest): Likewise.
29609 (cosh_test_towardzero): Likewise.
29610 (cosh_test_downward): Likewise.
29611 (cosh_test_upward): Likewise.
29612 (cpow_test): Likewise.
29613 (csin_test): Likewise.
29614 (csinh_test): Likewise.
29615 (csqrt_test): Likewise.
29616 (ctan_test): Likewise.
29617 (ctan_test_tonearest): Likewise.
29618 (ctan_test_towardzero): Likewise.
29619 (ctan_test_downward): Likewise.
29620 (ctan_test_upward): Likewise.
29621 (ctanh_test): Likewise.
29622 (ctanh_test_tonearest): Likewise.
29623 (ctanh_test_towardzero): Likewise.
29624 (ctanh_test_downward): Likewise.
29625 (ctanh_test_upward): Likewise.
29626 (erf_test): Likewise.
29627 (erfc_test): Likewise.
29628 (exp_test): Likewise.
29629 (exp_test_tonearest): Likewise.
29630 (exp_test_towardzero): Likewise.
29631 (exp_test_downward): Likewise.
29632 (exp_test_upward): Likewise.
29633 (exp10_test): Likewise.
29634 (exp2_test): Likewise.
29635 (expm1_test): Likewise.
29636 (fmod_test): Likewise.
29637 (gamma_test): Likewise.
29638 (hypot_test): Likewise.
29639 (j0_test): Likewise.
29640 (j1_test): Likewise.
29641 (jn_test): Likewise.
29642 (lgamma_test): Likewise.
29643 (log_test): Likewise.
29644 (log10_test): Likewise.
29645 (log1p_test): Likewise.
29646 (log2_test): Likewise.
29647 (logb_test_downward): Likewise.
29648 (pow_test): Likewise.
29649 (pow_test_tonearest): Likewise.
29650 (pow_test_towardzero): Likewise.
29651 (pow_test_downward): Likewise.
29652 (pow_test_upward): Likewise.
29653 (remainder_test): Likewise.
29654 (remquo_test): Likewise.
29655 (sin_test): Likewise.
29656 (sin_test_tonearest): Likewise.
29657 (sin_test_towardzero): Likewise.
29658 (sin_test_downward): Likewise.
29659 (sin_test_upward): Likewise.
29660 (sincos_test): Likewise.
29661 (sinh_test): Likewise.
29662 (sinh_test_tonearest): Likewise.
29663 (sinh_test_towardzero): Likewise.
29664 (sinh_test_downward): Likewise.
29665 (sinh_test_upward): Likewise.
29666 (sqrt_test): Likewise.
29667 (tan_test): Likewise.
29668 (tan_test_tonearest): Likewise.
29669 (tan_test_towardzero): Likewise.
29670 (tan_test_downward): Likewise.
29671 (tan_test_upward): Likewise.
29672 (tanh_test): Likewise.
29673 (tgamma_test): Likewise.
29674 (y0_test): Likewise.
29675 (y1_test): Likewise.
29676 (yn_test): Likewise.
29678 * math/gen-libm-test.pl (adjust_arg): Remove function.
29679 (special_function): Remove argument $in_func. Only handle
29680 generating output for tables of tests, not inside functions.
29681 (parse_args): Likewise.
29682 (generate_testfile): Remove variable $in_func. Update call to
29684 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
29685 (MINUS_ZERO_INIT): Rename macro to minus_zero.
29686 (PLUS_INFTY_INIT): Rename macro to plus_infty.
29687 (MINUS_INFTY_INIT): Rename macro to minus_infty.
29688 (QNAN_VALUE_INIT): Rename macro to qnan_value.
29689 (MAX_VALUE_INIT): Rename macro to max_value.
29690 (MIN_VALUE_INIT): Rename macro to min_value.
29691 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
29692 (plus_zero): Remove variable.
29693 (minus_zero): Likewise.
29694 (plus_infty): Likewise.
29695 (minus_infty): Likewise.
29696 (qnan_value): Likewise.
29697 (max_value): Likewise.
29698 (min_value): Likewise.
29699 (min_subnorm_value): Likewise.
29701 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29703 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
29704 uint64_t or uint32_t usage.
29705 * crypt/sha256-block.c: Likewise.
29706 * crypt/sha256-crypt.c: Likewise.
29707 * crypt/sha256.c: Likewise.
29708 * crypt/sha512-block.c: Likewise.
29709 * crypt/sha512-crypt.c: Likewise.
29710 * crypt/sha512.c: Likewise.
29711 * debug/backtrace-tst.c: Likewise.
29712 * debug/pcprofiledump.c: Likewise.
29713 * elf/cache.c: Likewise.
29714 * elf/dl-cache.c: Likewise.
29715 * elf/dl-misc.c: Likewise.
29716 * elf/dl-profile.c: Likewise.
29717 * elf/dl-support.c: Likewise.
29718 * elf/ldconfig.c: Likewise.
29719 * elf/sprof.c: Likewise.
29720 * iconv/dummy-repertoire.c: Likewise.
29721 * iconv/iconv_charmap.c: Likewise.
29722 * iconv/skeleton.c: Likewise.
29723 * iconvdata/8bit-generic.c: Likewise.
29724 * iconvdata/cp737.h: Likewise.
29725 * iconvdata/cp775.h: Likewise.
29726 * iconvdata/ibm1008.h: Likewise.
29727 * iconvdata/ibm1025.h: Likewise.
29728 * iconvdata/ibm1046.h: Likewise.
29729 * iconvdata/ibm1097.h: Likewise.
29730 * iconvdata/ibm1112.h: Likewise.
29731 * iconvdata/ibm1122.h: Likewise.
29732 * iconvdata/ibm1123.h: Likewise.
29733 * iconvdata/ibm1124.h: Likewise.
29734 * iconvdata/ibm1129.h: Likewise.
29735 * iconvdata/ibm1130.h: Likewise.
29736 * iconvdata/ibm1132.h: Likewise.
29737 * iconvdata/ibm1133.h: Likewise.
29738 * iconvdata/ibm1137.h: Likewise.
29739 * iconvdata/ibm1140.h: Likewise.
29740 * iconvdata/ibm1141.h: Likewise.
29741 * iconvdata/ibm1142.h: Likewise.
29742 * iconvdata/ibm1143.h: Likewise.
29743 * iconvdata/ibm1144.h: Likewise.
29744 * iconvdata/ibm1145.h: Likewise.
29745 * iconvdata/ibm1146.h: Likewise.
29746 * iconvdata/ibm1147.h: Likewise.
29747 * iconvdata/ibm1148.h: Likewise.
29748 * iconvdata/ibm1149.h: Likewise.
29749 * iconvdata/ibm1153.h: Likewise.
29750 * iconvdata/ibm1154.h: Likewise.
29751 * iconvdata/ibm1155.h: Likewise.
29752 * iconvdata/ibm1156.h: Likewise.
29753 * iconvdata/ibm1157.h: Likewise.
29754 * iconvdata/ibm1158.h: Likewise.
29755 * iconvdata/ibm1160.h: Likewise.
29756 * iconvdata/ibm1161.h: Likewise.
29757 * iconvdata/ibm1162.h: Likewise.
29758 * iconvdata/ibm1163.h: Likewise.
29759 * iconvdata/ibm1164.h: Likewise.
29760 * iconvdata/ibm1166.h: Likewise.
29761 * iconvdata/ibm1167.h: Likewise.
29762 * iconvdata/ibm12712.h: Likewise.
29763 * iconvdata/ibm1390.h: Likewise.
29764 * iconvdata/ibm1399.h: Likewise.
29765 * iconvdata/ibm16804.h: Likewise.
29766 * iconvdata/ibm4517.h: Likewise.
29767 * iconvdata/ibm4899.h: Likewise.
29768 * iconvdata/ibm4909.h: Likewise.
29769 * iconvdata/ibm4971.h: Likewise.
29770 * iconvdata/ibm5347.h: Likewise.
29771 * iconvdata/ibm803.h: Likewise.
29772 * iconvdata/ibm856.h: Likewise.
29773 * iconvdata/ibm901.h: Likewise.
29774 * iconvdata/ibm902.h: Likewise.
29775 * iconvdata/ibm9030.h: Likewise.
29776 * iconvdata/ibm9066.h: Likewise.
29777 * iconvdata/ibm921.h: Likewise.
29778 * iconvdata/ibm922.h: Likewise.
29779 * iconvdata/ibm9448.h: Likewise.
29780 * iconvdata/isiri-3342.h: Likewise.
29781 * iconvdata/jis0201.h: Likewise.
29782 * include/link.h: Likewise.
29783 * include/netdb.h: Likewise.
29784 * inet/check_native.c: Likewise.
29785 * inet/check_pf.c: Likewise.
29786 * inet/getipv4sourcefilter.c: Likewise.
29787 * inet/getnameinfo.c: Likewise.
29788 * inet/getsourcefilter.c: Likewise.
29789 * inet/htonl.c: Likewise.
29790 * inet/setipv4sourcefilter.c: Likewise.
29791 * inet/setsourcefilter.c: Likewise.
29792 * inet/test-inet6_opt.c: Likewise.
29793 * inet/tst-network.c: Likewise.
29794 * locale/C-collate.c: Likewise.
29795 * locale/C-ctype.c: Likewise.
29796 * locale/C-time.c: Likewise.
29797 * locale/C-translit.h: Likewise.
29798 * locale/loadarchive.c: Likewise.
29799 * locale/programs/3level.h: Likewise.
29800 * locale/programs/charmap.c: Likewise.
29801 * locale/programs/charmap.h: Likewise.
29802 * locale/programs/ld-address.c: Likewise.
29803 * locale/programs/ld-collate.c: Likewise.
29804 * locale/programs/ld-ctype.c: Likewise.
29805 * locale/programs/ld-identification.c: Likewise.
29806 * locale/programs/ld-measurement.c: Likewise.
29807 * locale/programs/ld-messages.c: Likewise.
29808 * locale/programs/ld-monetary.c: Likewise.
29809 * locale/programs/ld-name.c: Likewise.
29810 * locale/programs/ld-numeric.c: Likewise.
29811 * locale/programs/ld-paper.c: Likewise.
29812 * locale/programs/ld-telephone.c: Likewise.
29813 * locale/programs/ld-time.c: Likewise.
29814 * locale/programs/linereader.c: Likewise.
29815 * locale/programs/locale.c: Likewise.
29816 * locale/programs/locarchive.c: Likewise.
29817 * locale/programs/locfile.h: Likewise.
29818 * locale/programs/repertoire.c: Likewise.
29819 * locale/programs/simple-hash.c: Likewise.
29820 * locale/programs/simple-hash.h: Likewise.
29821 * malloc/memusage.c: Likewise.
29822 * malloc/memusagestat.c: Likewise.
29823 * nis/nis_defaults.c: Likewise.
29824 * nis/nis_hash.c: Likewise.
29825 * nis/nis_print.c: Likewise.
29826 * nis/nis_xdr.c: Likewise.
29827 * nscd/connections.c: Likewise.
29828 * nscd/hstcache.c: Likewise.
29829 * nscd/nscd_gethst_r.c: Likewise.
29830 * nscd/nscd_getserv_r.c: Likewise.
29831 * nscd/nscd_helper.c: Likewise.
29832 * nscd/servicescache.c: Likewise.
29833 * nss/makedb.c: Likewise.
29834 * nss/nss_db/db-XXX.c: Likewise.
29835 * nss/nss_db/db-initgroups.c: Likewise.
29836 * nss/nss_db/db-netgrp.c: Likewise.
29837 * nss/nss_files/files-network.c: Likewise.
29838 * nss/nss_files/files-parse.c: Likewise.
29839 * posix/bug-regex5.c: Likewise.
29840 * posix/fnmatch_loop.c: Likewise.
29841 * posix/regcomp.c: Likewise.
29842 * posix/regexec.c: Likewise.
29843 * posix/tst-rfc3484-2.c: Likewise.
29844 * posix/tst-rfc3484-3.c: Likewise.
29845 * posix/tst-rfc3484.c: Likewise.
29846 * resolv/nss_dns/dns-canon.c: Likewise.
29847 * resolv/nss_dns/dns-network.c: Likewise.
29848 * resolv/res_init.c: Likewise.
29849 * resolv/res_mkquery.c: Likewise.
29850 * resolv/tst-aton.c: Likewise.
29851 * stdlib/cxa_atexit.c: Likewise.
29852 * stdlib/cxa_finalize.c: Likewise.
29853 * stdlib/gen-fpioconst.c: Likewise.
29854 * stdlib/strtol_l.c: Likewise.
29855 * string/tst-endian.c: Likewise.
29856 * sunrpc/auth_des.c: Likewise.
29857 * sunrpc/clnt_udp.c: Likewise.
29858 * sunrpc/rtime.c: Likewise.
29859 * sunrpc/svcauth_des.c: Likewise.
29860 * sunrpc/xdr.c: Likewise.
29861 * sunrpc/xdr_intXX_t.c: Likewise.
29862 * sunrpc/xdr_rec.c: Likewise.
29863 * sysdeps/generic/ldconfig.h: Likewise.
29864 * sysdeps/generic/ldsodefs.h: Likewise.
29865 * sysdeps/generic/memusage.h: Likewise.
29866 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29867 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
29868 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
29869 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29870 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29871 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29872 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29873 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29874 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29875 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29876 * sysdeps/posix/getaddrinfo.c: Likewise.
29877 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29878 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29879 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29880 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29881 * sysdeps/powerpc/test-gettimebase.c: Likewise.
29882 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29883 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
29884 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
29885 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
29886 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
29887 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29888 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29889 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
29890 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
29891 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
29892 * sysdeps/x86_64/dl-tls.h: Likewise.
29893 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
29894 * time/alt_digit.c: Likewise.
29895 * time/era.c: Likewise.
29896 * wcsmbs/tst-c16c32-1.c: Likewise.
29898 2013-05-16 Joseph Myers <joseph@codesourcery.com>
29900 * math/libm-test.inc (struct test_sincos_data): New type.
29901 (RUN_TEST_LOOP_sincos): New macro.
29902 (sincos_test_data): New variable.
29903 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
29905 2013-05-16 Richard Henderson <rth@redhat.com>
29907 * math/atest-exp2.c (LIMB64): New macro.
29908 (CONSTSZ): New macro.
29909 (mp_exp1, mp_exp_m1, mp_log2): New variables.
29911 (print_mpn_fp): ... to function scope.
29912 (read_mpn_hex): Remove.
29913 (get_log2): Remove.
29914 (exp2_mpn): Use mp_log2.
29915 (main): Use mp_exp1.
29917 2013-05-16 Joseph Myers <joseph@codesourcery.com>
29919 * math/libm-test.inc: Remove comment about not testing "inexact"
29921 (INEXACT_EXCEPTION): New macro.
29922 (NO_INEXACT_EXCEPTION): Likewise.
29923 (INVALID_EXCEPTION_OK): Update value.
29924 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29925 (OVERFLOW_EXCEPTION_OK): Likewise.
29926 (UNDERFLOW_EXCEPTION_OK): Likewise.
29927 (IGNORE_ZERO_INF_SIGN): Likewise.
29928 (ERRNO_UNCHANGED): Likewise.
29929 (ERRNO_EDOM): Likewise.
29930 (ERRNO_ERANGE): Likewise.
29931 (test_exceptions): Handle testing "inexact" exceptions.
29932 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
29933 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
29934 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
29935 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
29937 (rint_towardzero_test_data): Likewise.
29938 (rint_downward_test_data): Likewise.
29939 (rint_upward_test_data): Likewise.
29941 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
29942 with OVERFLOW_EXCEPTION.
29943 (exp10_test_data): Likewise.
29944 (exp2_test_data): Likewise.
29945 (expm1_test_data): Likewise.
29946 (lgamma_test_data): Likewise.
29947 (pow_test_data): Likewise.
29948 (tgamma_test_data): Likewise.
29949 (yn_test_data): Remove duplicate test of overflow.
29951 * math/libm-test.inc (struct test_cc_c_data): New type.
29952 (RUN_TEST_LOOP_cc_c): New macro.
29953 (cpow_test_data): New variable.
29954 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
29956 * math/libm-test.inc (struct test_f_L_data): New type.
29957 (RUN_TEST_LOOP_f_L): New macro.
29958 (llrint_test_data): New variable.
29959 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
29960 (llrint_tonearest_test_data): New variable.
29961 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
29962 (llrint_towardzero_test_data): New variable.
29963 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
29964 (llrint_downward_test_data): New variable.
29965 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
29966 (llrint_upward_test_data): New variable.
29967 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
29968 (llround_test_data): New variable.
29969 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
29971 2013-05-13 Peter Collingbourne <pcc@google.com>
29973 * math/atest-exp2.c (get_log2): Remove const attribute.
29975 2013-05-15 Joseph Myers <joseph@codesourcery.com>
29977 * math/libm-test.inc (struct test_f_l_data): New type.
29978 (RUN_TEST_LOOP_f_l): New macro.
29979 (lrint_test_data): New variable.
29980 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
29981 (lrint_tonearest_test_data): New variable.
29982 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
29983 (lrint_towardzero_test_data): New variable.
29984 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
29985 (lrint_downward_test_data): New variable.
29986 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
29987 (lrint_upward_test_data): New variable.
29988 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
29989 (lround_test_data): New variable.
29990 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
29992 2013-05-15 Peter Collingbourne <pcc@google.com>
29994 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
29995 (EXTRACT_WORDS64) Use where appropriate.
29996 (INSERT_WORDS64) Likewise.
29998 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
29999 constraints with x constraints.
30000 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
30002 * malloc/obstack.c (_obstack_compat): Add initializer.
30004 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
30006 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
30007 si_trapno and add si_addr_lsb to _sifields.sigfault.
30008 (si_trapno): Remove macro.
30009 (si_addr_lsb): Define new macro.
30010 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
30012 2013-05-15 Joseph Myers <joseph@codesourcery.com>
30014 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
30015 instead of TEST_f_l.
30016 (llrint_test_tonearest): Likewise.
30017 (llrint_test_towardzero): Likewise.
30018 (llrint_test_downward): Likewise.
30019 (llrint_test_upward): Likewise.
30020 (llround_test): Likewise.
30022 * math/libm-test.inc (struct test_f_i_data): Add comment.
30023 (RUN_TEST_LOOP_f_b): New macro.
30024 (RUN_TEST_LOOP_f_b_tg): Likewise.
30025 (finite_test_data): New variable.
30026 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
30027 (isfinite_test_data): New variable.
30028 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30029 (isinf_test_data): New variable.
30030 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30031 (isnan_test_data): New variable.
30032 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30033 (isnormal_test_data): New variable.
30034 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30035 (issignaling_test_data): New variable.
30036 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30037 (signbit_test_data): New variable.
30038 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30040 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
30041 with INVALID_EXCEPTION.
30042 (acosh_test_data): Likewise.
30043 (asin_test_data): Likewise.
30044 (atanh_test_data): Likewise.
30045 (fmod_test_data): Likewise.
30046 (log_test_data): Likewise.
30047 (log10_test_data): Likewise.
30048 (log2_test_data): Likewise.
30049 (pow_test_data): Likewise.
30050 (sqrt_test_data): Likewise.
30051 (y0_test_data): Likewise.
30052 (y1_test_data): Likewise.
30053 (yn_test_data): Likewise.
30055 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
30058 * math/libm-test.inc (struct test_ff_i_data): New type.
30059 (RUN_TEST_LOOP_ff_i_tg): New macro.
30060 (isgreater_test_data): New variable.
30061 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30062 (isgreaterequal_test_data): New variable.
30063 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30064 (isless_test_data): New variable.
30065 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30066 (islessequal_test_data): New variable.
30067 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30068 (islessgreater_test_data): New variable.
30069 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30070 (isunordered_test_data): New variable.
30071 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30073 2013-05-14 David S. Miller <davem@davemloft.net>
30075 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30077 2013-05-14 Joseph Myers <joseph@codesourcery.com>
30079 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
30081 * math/libm-test.inc (struct test_fF_f1_data): Change type of
30083 (struct test_f_i_data): Change type of max_ulp to int.
30085 * math/libm-test.inc (test_ffI_f1_data): New type.
30086 (RUN_TEST_LOOP_ffI_f1): New macro.
30087 (remquo_test_data): New variable.
30088 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
30090 * setjmp/tst-setjmp-fp.c: New file.
30091 * setjmp/Makefile (tests): Add tst-setjmp-fp.
30092 (link-libm): New variable.
30093 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
30095 * math/libm-test.inc (struct test_f_i_data): New type.
30096 (RUN_TEST_LOOP_f_i): New macro.
30097 (RUN_TEST_LOOP_f_i_tg): Likewise.
30098 (fpclassify_test_data): New variable.
30099 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
30100 (ilogb_test_data): New variable.
30101 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
30103 * math/libm-test.inc (scalbln_test): Correct function name in END
30106 * math/libm-test.inc (struct test_f_f1_data): Add comment.
30107 (RUN_TEST_LOOP_fI_f1): New macro.
30108 (frexp_test_data): New variable.
30109 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
30111 * math/libm-test.inc (struct test_fF_f1_data): New type.
30112 (RUN_TEST_LOOP_fF_f1): New macro.
30113 (modf_test_data): New variable.
30114 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
30116 * math/libm-test.inc (struct test_f_f1_data): New type.
30117 (RUN_TEST_LOOP_f_f1): New macro.
30118 (gamma_test_data): New variable.
30119 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
30120 (lgamma_test_data): New variable.
30121 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
30123 2013-05-13 Carlos O'Donell <carlos@redhat.com>
30125 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
30126 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
30127 (main): Comment "tls" pseudo-hwcap.
30129 2013-05-13 Joseph Myers <joseph@codesourcery.com>
30131 * math/libm-test.inc (struct test_fl_f_data): New type.
30132 (RUN_TEST_LOOP_fl_f): New variable.
30133 (scalbln_test_data): New variable.
30134 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
30136 * math/libm-test.inc (struct test_fi_f_data): New type.
30137 (RUN_TEST_LOOP_fi_f): New macro.
30138 (ldexp_test_data): New variable.
30139 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
30140 (scalbn_test_data): New variable.
30141 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
30143 * math/libm-test.inc (struct test_c_f_data): New type.
30144 (RUN_TEST_LOOP_c_f): New macro.
30145 (cabs_test_data): New variable.
30146 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
30147 (carg_test_data): New variable.
30148 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
30149 (cimag_test_data): New variable.
30150 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
30151 (creal_test_data): New variable.
30152 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
30154 * math/libm-test.inc (struct test_if_f_data): New type.
30155 (RUN_TEST_LOOP_if_f): New macro.
30156 (jn_test_data): New variable.
30157 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
30158 (yn_test_data): New variable.
30159 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
30161 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
30163 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30165 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
30166 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
30168 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30170 * benchtests/Makefile (CPPFLAGS-nonlib): Add
30171 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
30172 (bench-deps): Add bench-timing.h.
30173 * benchtests-bench-skeleton.c: Include bench-timing.h.
30174 (main): Use TIMING_* macros instead of clock_gettime.
30175 * benchtests/bench-timing.h: New file.
30178 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
30179 Renamed from _LIB_VERSION.
30180 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
30182 2013-05-12 Joseph Myers <joseph@codesourcery.com>
30184 * math/libm-test.inc (struct test_fff_f_data): New type.
30185 (RUN_TEST_LOOP_fff_f): New macro.
30186 (fma_test_data): New variable.
30187 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
30188 (fma_towardzero_test_data): New variable.
30189 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
30190 (fma_downward_test_data): New variable.
30191 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
30192 (fma_upward_test_data): New variable.
30193 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
30195 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
30196 (struct test_c_c_data): New type.
30197 (RUN_TEST_LOOP_c_c): New macro.
30198 (cacos_test_data): New variable.
30199 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
30200 (cacosh_test_data): New variable.
30201 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
30202 (casin_test_data): New variable.
30203 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
30204 (casinh_test_data): New variable.
30205 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
30206 (catan_test_data): New variable.
30207 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
30208 (catanh_test_data): New variable.
30209 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
30210 (ccos_test_data): New variable.
30211 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
30212 (ccosh_test_data): New variable.
30213 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
30214 (cexp_test_data): New variable.
30215 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
30216 (clog_test_data): New variable.
30217 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
30218 (clog10_test_data): New variable.
30219 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
30220 (conj_test_data): New variable.
30221 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
30222 (cproj_test_data): New variable.
30223 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
30224 (csin_test_data): New variable.
30225 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
30226 (csinh_test_data): New variable.
30227 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
30228 (csqrt_test_data): New variable.
30229 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
30230 (ctan_test_data): New variable.
30231 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
30232 (ctan_tonearest_test_data): New variable.
30233 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
30234 (ctan_towardzero_test_data): New variable.
30235 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
30236 (ctan_downward_test_data): New variable.
30237 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
30238 (ctan_upward_test_data): New variable.
30239 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
30240 (ctanh_test_data): New variable.
30241 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
30242 (ctanh_tonearest_test_data): New variable.
30243 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
30244 (ctanh_towardzero_test_data): New variable.
30245 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
30246 (ctanh_downward_test_data): New variable.
30247 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
30248 (ctanh_upward_test_data): New variable.
30249 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
30250 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
30253 * math/libm-test.inc (struct test_ff_f_data): New type.
30254 (struct test_ff_f_data_nexttoward): Likewise.
30255 (RUN_TEST_LOOP_2_f): New macro.
30256 (RUN_TEST_LOOP_ff_f): Likewise.
30257 (atan2_test_data): New variable.
30258 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
30259 (copysign_test_data): New variable.
30260 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
30261 (fdim_test_data): New variable.
30262 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
30263 (fmax_test_data): New variable.
30264 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
30265 (fmin_test_data): New variable.
30266 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
30267 (fmod_test_data): New variable.
30268 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
30269 (hypot_test_data): New variable.
30270 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
30271 (nextafter_test_data): New variable.
30272 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
30273 (nexttoward_test_data): New variable.
30274 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
30275 (pow_test_data): New variable.
30276 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
30277 (pow_tonearest_test_data): New variable.
30278 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
30279 (pow_towardzero_test_data): New variable.
30280 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
30281 (pow_downward_test_data): New variable.
30282 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
30283 (pow_upward_test_data): New variable.
30284 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
30285 (remainder_test_data): New variable.
30286 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
30287 (scalb_test_data): New variable.
30288 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
30289 * sysdeps/i386/fpu/libm-test-ulps: Update.
30291 2013-05-11 Joseph Myers <joseph@codesourcery.com>
30293 * math/libm-test.inc (fma_test): Use max_value instead of local
30295 (nextafter_test): Likewise.
30297 * math/libm-test.inc (acos_towardzero_test_data): New variable.
30298 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30299 (acos_downward_test_data): New variable.
30300 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30301 (acos_upward_test_data): New variable.
30302 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30303 (acosh_test_data): New variable.
30304 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
30305 (asin_test_data): New variable.
30306 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
30307 (asin_tonearest_test_data): New variable.
30308 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30309 (asin_towardzero_test_data): New variable.
30310 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30311 (asin_downward_test_data): New variable.
30312 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30313 (asin_upward_test_data): New variable.
30314 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30315 (asinh_test_data): New variable.
30316 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
30317 (atan_test_data): New variable.
30318 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
30319 (atanh_test_data): New variable.
30320 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
30321 (cbrt_test_data): New variable.
30322 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
30323 (ceil_test_data): New variable.
30324 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
30325 (cos_test_data): New variable.
30326 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
30327 (cos_tonearest_test_data): New variable.
30328 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30329 (cos_towardzero_test_data): New variable.
30330 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30331 (cos_downward_test_data): New variable.
30332 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30333 (cos_upward_test_data): New variable.
30334 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30335 (cosh_test_data): New variable.
30336 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
30337 (cosh_tonearest_test_data): New variable.
30338 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30339 (cosh_towardzero_test_data): New variable.
30340 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30341 (cosh_downward_test_data): New variable.
30342 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30343 (cosh_upward_test_data): New variable.
30344 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30345 (erf_test_data): New variable.
30346 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
30347 (erfc_test_data): New variable.
30348 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
30349 (exp_test_data): New variable.
30350 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
30351 (exp_tonearest_test_data): New variable.
30352 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30353 (exp_towardzero_test_data): New variable.
30354 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30355 (exp_downward_test_data): New variable.
30356 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30357 (exp_upward_test_data): New variable.
30358 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30359 (exp10_test_data): New variable.
30360 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
30361 (exp2_test_data): New variable.
30362 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
30363 (expm1_test_data): New variable.
30364 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
30365 (fabs_test_data): New variable.
30366 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
30367 (floor_test_data): New variable.
30368 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
30369 (j0_test_data): New variable.
30370 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
30371 (j1_test_data): New variable.
30372 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
30373 (log_test_data): New variable.
30374 (log_test): Run tests with RUN_TEST_LOOP_f_f.
30375 (log10_test_data): New variable.
30376 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
30377 (log1p_test_data): New variable.
30378 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
30379 (log2_test_data): New variable.
30380 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
30381 (logb_test_data): New variable.
30382 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
30383 (logb_downward_test_data): New variable.
30384 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30385 (nearbyint_test_data): New variable.
30386 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
30387 (rint_test_data): New variable.
30388 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
30389 (rint_tonearest_test_data): New variable.
30390 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30391 (rint_towardzero_test_data): New variable.
30392 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30393 (rint_downward_test_data): New variable.
30394 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30395 (rint_upward_test_data): New variable.
30396 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30397 (round_test_data): New variable.
30398 (round_test): Run tests with RUN_TEST_LOOP_f_f.
30399 (sin_test_data): New variable.
30400 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
30401 (sin_tonearest_test_data): New variable.
30402 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30403 (sin_towardzero_test_data): New variable.
30404 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30405 (sin_downward_test_data): New variable.
30406 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30407 (sin_upward_test_data): New variable.
30408 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30409 (sinh_test_data): New variable.
30410 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
30411 (sinh_tonearest_test_data): New variable.
30412 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30413 (sinh_towardzero_test_data): New variable.
30414 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30415 (sinh_downward_test_data): New variable.
30416 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30417 (sinh_upward_test_data): New variable.
30418 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30419 (sqrt_test_data): New variable.
30420 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
30421 (tan_test_data): New variable.
30422 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
30423 (tan_tonearest_test_data): New variable.
30424 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30425 (tan_towardzero_test_data): New variable.
30426 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30427 (tan_downward_test_data): New variable.
30428 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30429 (tan_upward_test_data): New variable.
30430 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30431 (tanh_test_data): New variable.
30432 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
30433 (tgamma_test_data): New variable.
30434 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
30435 (trunc_test_data): New variable.
30436 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
30437 (y0_test_data): New variable.
30438 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
30439 (y1_test_data): New variable.
30440 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
30441 (significand_test_data): New variable.
30442 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
30444 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
30447 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
30449 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
30451 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
30453 2013-05-10 Andreas Jaeger <aj@suse.de>
30456 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
30457 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
30459 2013-05-10 Joseph Myers <joseph@codesourcery.com>
30461 * math/gen-libm-test.pl (adjust_arg): New function.
30462 (special_functions): Handle generating output in both functions
30464 (parse_args): Likewise.
30465 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
30466 $in_func argument to parse_args.
30467 * math/libm-test.inc (struct test_f_f_data): New type.
30468 (IF_ROUND_INIT_): New macro.
30469 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
30470 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
30471 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
30472 (IF_ROUND_INIT_FE_UPWARD): Likewise.
30473 (ROUND_RESTORE_): Likewise.
30474 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
30475 (ROUND_RESTORE_FE_TONEAREST): Likewise.
30476 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
30477 (ROUND_RESTORE_FE_UPWARD): Likewise.
30478 (RUN_TEST_LOOP_f_f): New macro.
30479 (acos_test_data): New variable.
30480 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
30481 (acos_tonearest_test_data): New variable.
30482 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30484 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30486 * benchtests/bench-skeleton.c (startup): Fix coding style.
30488 2013-05-10 Joseph Myers <joseph@codesourcery.com>
30491 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
30492 negative infinity argument.
30493 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
30494 negative infinity argument.
30495 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
30496 negative infinity argument.
30497 * math/libm-test.inc (tgamma_test): Expect errno to be set for
30500 2013-05-10 Florian Weimer <fweimer@redhat.com>
30502 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
30503 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
30504 * iconv/iconv_prog.c (main): Likewise.
30505 * locale/programs/charmap-dir.c (charmap_readdir)
30506 (fopen_uncompressed): Likewise.
30507 * locale/programs/locfile.c (siblings_uncached)
30508 (write_locale_data): Use lstat64 instead of lstat.
30509 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
30512 2013-05-10 Andreas Jaeger <aj@suse.de>
30515 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
30517 Include <locale.h>.
30519 2013-05-09 Carlos O'Donell <carlos@redhat.com>
30521 * elf/dl-close.c (_dl_close_worker): Add comments.
30523 2013-05-09 Joseph Myers <joseph@codesourcery.com>
30526 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
30528 (__ieee754_rem_pio2l): Update comments.
30531 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
30533 (__ieee754_rem_pio2l): Update comments.
30535 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
30536 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
30538 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
30541 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
30542 (M_PI_34_LOG10El): Likewise.
30543 (M_PI2_LOG10El): Likewise.
30544 (M_PI4_LOG10El): Likewise.
30545 (M_PI_LOG10El): Likewise.
30547 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30551 2013-05-08 Joseph Myers <joseph@codesourcery.com>
30553 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
30554 (MINUS_ZERO_INIT): Likewise.
30555 (PLUS_INFTY_INIT): Likewise.
30556 (MINUS_INFTY_INIT): Likewise.
30557 (QNAN_VALUE_INIT): Likewise.
30558 (MAX_VALUE_INIT): Likewise.
30559 (MIN_VALUE_INIT): Likewise.
30560 (MIN_SUBNORM_VALUE_INIT): Likewise.
30561 (plus_zero): Initialize with PLUS_ZERO_INIT.
30562 (minus_zero): Initialize with MINUS_ZERO_INIT.
30563 (plus_infty): Initialize with PLUS_INFTY_INIT.
30564 (minus_infty): Initialize with MINUS_INFTY_INIT.
30565 (qnan_value): Initialize with QNAN_VALUE_INIT.
30566 (max_value): Initialize with MAX_VALUE_INIT.
30567 (min_value): Initialize with MIN_VALUE_INIT.
30568 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
30570 * math/libm-test.inc (RUN_TEST_if_f): New macro.
30571 (jn_test): Use TEST_if_f instead of TEST_ff_f.
30572 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
30573 (yn_test): Use TEST_if_f instead of TEST_ff_f.
30575 * math/libm-test.inc (RUN_TEST_f_f): New macro.
30576 (RUN_TEST_2_f): Likewise.
30577 (RUN_TEST_ff_f): Likewise.
30578 (RUN_TEST_fi_f): Likewise.
30579 (RUN_TEST_fl_f): Likewise.
30580 (RUN_TEST_fff_f): Likewise.
30581 (RUN_TEST_c_f): Likewise.
30582 (RUN_TEST_f_f1): Likewise.
30583 (RUN_TEST_fF_f1): Likewise.
30584 (RUN_TEST_fI_f1): Likewise.
30585 (RUN_TEST_ffI_f1): Likewise.
30586 (RUN_TEST_c_c): Likewise.
30587 (RUN_TEST_cc_c): Likewise.
30588 (RUN_TEST_f_i): Likewise.
30589 (RUN_TEST_f_i_tg): Likewise.
30590 (RUN_TEST_ff_i_tg): Likewise.
30591 (RUN_TEST_f_b): Likewise.
30592 (RUN_TEST_f_b_tg): Likewise.
30593 (RUN_TEST_f_l): Likewise.
30594 (RUN_TEST_f_L): Likewise.
30595 (RUN_TEST_sincos): Likewise.
30596 * math/gen-libm-test.pl (new_test): Take new argument to indicate
30597 whether to show exceptions. Do not include ");\n" in return
30599 (special_functions): Output call to RUN_TEST_sincos instead of
30600 check_float calls. Update calls to new_test.
30601 (parse_args): Output call to single RUN_TEST_* macro instead of
30602 check_* calls and other assignments. Update calls to new_test.
30608 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
30609 input to result for tgamma overflow.
30610 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
30611 (gamma_coeff): New variable.
30612 (NCOEFF): New macro.
30613 (gamma_positive): New function.
30614 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
30615 underflow here. Use gamma_positive instead of exp (lgamma) for
30617 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
30618 (gamma_coeff): New variable.
30619 (NCOEFF): New macro.
30620 (gammaf_positive): New function.
30621 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
30622 underflow here. Use gamma_positive instead of exp (lgamma) for
30624 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
30625 (gamma_coeff): New variable.
30626 (NCOEFF): New macro.
30627 (gammal_positive): New function.
30628 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
30629 underflow here. Use gamma_positive instead of exp (lgamma) for
30631 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
30632 (gamma_coeff): New variable.
30633 (NCOEFF): New macro.
30634 (gammal_positive): New function.
30635 (__ieee754_gammal_r): Handle positive infinity, overflow and
30636 underflow here. Handle NaN the same as positive infinity. Remove
30637 check x < 0xffffffff for negative integers. Use gamma_positive
30638 instead of exp (lgamma) for other arguments.
30639 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
30640 (gamma_coeff): New variable.
30641 (NCOEFF): New macro.
30642 (gammal_positive): New function.
30643 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
30644 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
30645 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
30646 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
30647 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
30648 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
30649 * sysdeps/generic/math_private.h (__gamma_productf): New
30651 (__gamma_product): Likewise.
30652 (__gamma_productl): Likewise.
30653 * math/Makefile (libm-calls): Add gamma_product.
30654 * math/libm-test.inc (tgamma_test): Add more tests.
30655 * sysdeps/i386/fpu/libm-test-ulps: Update.
30656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30658 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
30660 * benchtests/bench-skeleton.c (main): Preheat CPU.
30662 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
30664 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
30666 2013-05-07 Roland McGrath <roland@hack.frob.com>
30668 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
30669 and _dl_skip_args_internal.
30671 2013-05-07 Carlos O'Donell <carlos@redhat.com>
30673 * manual/message.texi (Message Translation): Talk about users.
30674 Message to key mapping impacts design.
30676 2013-05-06 Roland McGrath <roland@hack.frob.com>
30678 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
30680 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
30682 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
30683 * sysdeps/wordsize-64/glob64.c: ... here.
30685 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
30686 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
30689 * debug/getlogin_r_chk.c: Moved to ...
30690 * login/getlogin_r_chk.c: ... here.
30691 * debug/Makefile (routines): Move getlogin_r_chk to ...
30692 * login/Makefile (routines): ... here.
30693 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
30694 * login/Versions (libc: GLIBC_2.4): ... here.
30696 * io/poll.c (__poll): Renamed from poll.
30697 Add libc_hidden_def.
30698 (poll): Define as weak alias.
30700 * debug/ptsname_r_chk.c: Moved to ...
30701 * login/ptsname_r_chk.c: ... here.
30702 * debug/Makefile (routines): Move ptsname_r_chk to ...
30703 * login/Makefile (routines): ... here.
30704 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
30705 * login/Versions (libc: GLIBC_2.4): ... here.
30707 * posix/getlogin.c: Moved to ...
30708 * login/getlogin.c: ... here.
30709 * posix/getlogin_r.c: Moved to ...
30710 * login/getlogin_r.c: ... here.
30711 * posix/getlogin_r.c: Moved to ...
30712 * login/getlogin_r.c: ... here.
30713 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
30714 * login/Makefile (routines): ... here.
30715 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
30716 * login/Versions (libc: GLIBC_2.0): ... here.
30718 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
30719 (setrlimit): Define as weak alias.
30721 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
30722 Call __ names for open, ftruncate, and close.
30723 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
30724 (truncate): Define as weak alias.
30726 2013-05-06 Joseph Myers <joseph@codesourcery.com>
30728 * math/gen-libm-test.pl (parse_args): Initialize x before each
30729 test of frexp, modf and remquo.
30731 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
30732 test signgam value.
30734 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30738 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
30740 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30742 2013-05-06 Roland McGrath <roland@hack.frob.com>
30744 * elf/dl-writev.h: New file.
30745 * elf/dl-misc.c: Include it.
30746 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
30747 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
30749 2013-05-04 Joseph Myers <joseph@codesourcery.com>
30751 * math/libm-test.inc (noXFails): Remove variable.
30752 (noXPasses): Likewise.
30753 (BUILD_COMPLEX_INT): Remove macro.
30754 (print_screen): Remove xfail argument.
30755 (print_screen_max_error): Likewise.
30756 (update_stats): Likewise.
30757 (print_max_error): Likewise. Update calls to other affected
30759 (print_complex_max_error): Likewise.
30760 (test_single_exception): Update calls to print_screen.
30761 (test_single_errno): Likewise.
30762 (check_float_internal): Remove xfail argument. Update calls to
30763 other affected functions.
30764 (check_float): Likewise.
30765 (check_complex): Likewise.
30766 (check_int): Likewise.
30767 (check_long): Likewise.
30768 (check_bool): Likewise.
30769 (check_longlong): Likewise.
30770 (main): Don't print noXFails and noXPasses.
30771 * math/gen-libm-test.pl (top level): Don't mention expected
30772 failure handling in comment.
30773 (new_test): Don't handle expected failures.
30774 (parse_args): Don't mention expected failure handling in comment.
30775 (generate_testfile): Don't handle expected failures.
30776 (parse_ulps): Likewise.
30777 (print_ulps_file): Likewise.
30778 (get_failure): Remove function.
30779 (output_test): Don't handle expected failures.
30780 * make/README.libm-test: Don't mention expected failure handling.
30782 * math/libm-test.inc (plus_zero): Make const. Add initializer.
30783 (minus_zero): Likewise.
30784 (plus_infty): Likewise.
30785 (minus_infty): Likewise.
30786 (qnan_value): Likewise.
30787 (max_value): Likewise.
30788 (min_value): Likewise.
30789 (min_subnorm_value): Likewise.
30790 (initialize): Do not initialize those variables dynamically.
30792 2013-05-03 Roland McGrath <roland@hack.frob.com>
30794 * io/open.c (__open_2): Moved to ...
30795 * io/open_2.c: ... this new file.
30796 * io/open64.c (__open64_2): Moved to ...
30797 * io/open64_2.c: ... this new file.
30798 * io/openat.c (__openat_2): Moved to ...
30799 * io/openat_2.c: ... this new file.
30800 * io/openat64.c (__openat64_2): Moved to ...
30801 * io/openat64_2.c: ... this new file.
30802 * io/Makefile (routines): Add them.
30803 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
30804 * sysdeps/unix/sysv/linux/open_2.c: File removed.
30805 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
30806 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
30807 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
30808 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
30809 (__openat64): Add hidden_ver.
30810 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
30811 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
30813 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
30814 Separately conditionalize setting of GLRO(dl_sysinfo) so
30815 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
30816 as well, but the actual setting is only under [NEED_DL_SYSINFO].
30818 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30820 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
30821 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
30823 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
30824 * sysdeps/unix/sysv/linux/powerpc/init-first.c
30825 (_libc_vdso_platform_setup): Add __vdso_time initialization.
30826 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
30827 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
30829 2013-05-03 Joseph Myers <joseph@codesourcery.com>
30831 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
30832 test signgam value.
30834 * math/libm-test.inc (hypot_test): Do not use
30835 IGNORE_ZERO_INF_SIGN.
30837 2013-05-03 Andreas Jaeger <aj@suse.de>
30839 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
30841 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
30842 (PF_MAX): Adjust for VSOCK change.
30844 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30846 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30848 2013-05-02 Carlos O'Donell <carlos@redhat.com>
30851 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
30852 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
30853 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
30855 2013-05-02 David S. Miller <davem@davemloft.net>
30857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30859 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
30861 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
30863 2013-05-01 Roland McGrath <roland@hack.frob.com>
30865 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
30867 2013-05-01 Richard Smith <richard@metafoo.co.uk>
30870 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
30871 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
30872 Use __attribute__ ((__gnu_inline__)).
30873 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
30874 Don't use __attribute__ ((__gnu_inline__)).
30876 2013-05-01 Joseph Myers <joseph@codesourcery.com>
30879 * math/s_catan.c (__catan): Handle small real or imaginary part of
30880 input specially to avoid spurious underflow.
30881 * math/s_catanf.c (__catanf): Likewise.
30882 * math/s_catanh.c (__catanh): Likewise.
30883 * math/s_catanhf.c (__catanhf): Likewise.
30884 * math/s_catanhl.c (__catanhl): Likewise.
30885 * math/s_catanl.c (__catanl): Likewise.
30886 * math/libm-test.inc (catan_test): Add more tests.
30887 (catanh_test): Likewise.
30888 * sysdeps/i386/fpu/libm-test-ulps: Update.
30889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30891 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30895 2013-04-30 Joseph Myers <joseph@codesourcery.com>
30898 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
30899 accurately for denominator in atan2.
30900 * math/s_catanf.c (__catanf): Likewise.
30901 * math/s_catanh.c (__catanh): Likewise.
30902 * math/s_catanhf.c (__catanhf): Likewise.
30903 * math/s_catanhl.c (__catanhl): Likewise.
30904 * math/s_catanl.c (__catanl): Likewise.
30905 * math/libm-test.inc (catan_test): Add more tests.
30906 (catanh_test): Likewise.
30907 * sysdeps/i386/fpu/libm-test-ulps: Update.
30908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30910 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30912 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
30914 * benchtests/Makefile (bench): Remove slow benchmarks.
30915 * benchtests/atan-inputs: Add slow benchmark inputs.
30916 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
30917 (BENCH_FUNC): Accept variant offset.
30919 * benchtests/bench-skeleton.c (main): Run benchmark for each
30921 * benchtests/cos-inputs: Add slow benchmark inputs.
30922 * benchtests/exp-inputs: Likewise.
30923 * benchtests/pow-inputs: Likewise.
30924 * benchtests/sin-inputs: Likewise.
30925 * benchtests/slowatan-inputs: Remove.
30926 * benchtests/slowatan.c: Remove.
30927 * benchtests/slowcos-inputs: Remove.
30928 * benchtests/slowcos.c: Remove.
30929 * benchtests/slowexp-inputs: Remove.
30930 * benchtests/slowexp.c: Remove.
30931 * benchtests/slowpow-inputs: Remove.
30932 * benchtests/slowpow.c: Remove.
30933 * benchtests/slowsin-inputs: Remove.
30934 * benchtests/slowsin.c: Remove.
30935 * benchtests/slowtan-inputs: Remove.
30936 * benchtests/slowtan.c: Remove.
30937 * benchtests/tan-inputs: Add slow benchmark inputs.
30938 * scripts/bench.pl: Parse comments and directives.
30940 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
30942 ($(objpfx)bench-%.c): Remove *-ITER.
30943 * benchtests/bench-modf.c: Remove definition of ITER.
30944 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
30945 (main): Loop for DURATION seconds instead of fixed number of
30947 * scripts/bench.pl: Don't expect iterations in parameters.
30949 2013-04-29 Roland McGrath <roland@hack.frob.com>
30951 * io/fchdir.c (__fchdir): Renamed from fchdir.
30952 (fchdir): Define as weak alias.
30954 2013-04-29 Joseph Myers <joseph@codesourcery.com>
30956 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
30957 (ERRNO_EDOM): Likewise.
30958 (ERRNO_ERANGE): Likewise.
30959 (noErrnoTests): New variable.
30960 (init_max_error): Set errno to 0.
30961 (test_single_errno): New function.
30962 (test_errno): Likewise.
30963 (check_float_internal): Call test_errno. Set errno to 0.
30964 (check_complex): Refer to errno tests in comment.
30965 (check_int): Call test_errno. Set errno to 0.
30966 (check_long): Likewise.
30967 (check_bool): Likewise.
30968 (check_longlong): Likewise.
30969 (cos_test): Use ERRNO_* flags for errno tests instead of
30971 (expm1_test): Likewise.
30972 (fmod_test): Likewise.
30973 (ilogb_test): Likewise.
30974 (lgamma_test): Likewise.
30975 (pow_test): Likewise.
30976 (remainder_test): Likewise.
30977 (sin_test): Likewise.
30978 (tan_test): Likewise.
30979 (yn_test): Likewise.
30980 (initialize): Set errno to 0.
30981 (main): Print number of errno tests.
30982 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
30984 2013-04-29 Andreas Jaeger <aj@suse.de>
30987 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
30991 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
30992 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
30996 * stdlib/random.c (__initstate): Return NULL if
31000 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
31001 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
31004 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31006 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31008 2013-04-29 Joseph Myers <joseph@codesourcery.com>
31010 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
31011 of individual tests.
31012 (casin_test): Likewise.
31013 (casinh_test): Likewise.
31015 2013-04-27 Joseph Myers <joseph@codesourcery.com>
31018 * math/s_catan.c (__catan): Handle arguments with large real or
31019 imaginary part separately without squaring.
31020 * math/s_catanf.c (__catanf): Likewise.
31021 * math/s_catanh.c (__catanh): Likewise.
31022 * math/s_catanhf.c (__catanhf): Likewise.
31023 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31025 (__catanhl): Handle arguments with large real or imaginary part
31026 separately without squaring.
31027 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31029 (__catanl): Handle arguments with large real or imaginary part
31030 separately without squaring.
31031 * math/libm-test.inc (catan_test): Add more tests.
31032 (catanh_test): Likewise.
31033 * sysdeps/i386/fpu/libm-test-ulps: Update.
31034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31036 2013-04-27 Andreas Jaeger <aj@suse.de>
31039 * stdlib/stdlib.h: Update guards for qecvt.
31040 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
31043 2013-04-27 Allan McRae <allan@archlinux.org>
31045 * sysdeps/i386/fpu/libm-test-ulps: Update.
31047 2013-04-26 Joseph Myers <joseph@codesourcery.com>
31050 * math/s_catan.c: Include <float.h>.
31051 (__catan): Ensure underflow exception occurs for underflowed
31053 * math/s_catanf.c: Include <float.h>.
31054 (__catanf): Ensure underflow exception occurs for underflowed
31056 * math/s_catanh.c: Include <float.h>.
31057 (__catanh): Ensure underflow exception occurs for underflowed
31059 * math/s_catanhf.c: Include <float.h>.
31060 (__catanhf): Ensure underflow exception occurs for underflowed
31062 * math/s_catanhl.c: Include <float.h>.
31063 (__catanhl): Ensure underflow exception occurs for underflowed
31065 * math/s_catanl.c: Include <float.h>.
31066 (__catanl): Ensure underflow exception occurs for underflowed
31068 * math/libm-test.inc (catan_test): Add more tests.
31069 (catanh_test): Likewise.
31072 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
31073 underflowed result.
31074 * math/s_ccoshf.c (__ccoshf): Likewise.
31075 * math/s_ccoshl.c (__ccoshl): Likewise.
31076 * math/s_csin.c (__csin): Likewise.
31077 * math/s_csinf.c (__csinf): Likewise.
31078 * math/s_csinh.c (__csinh): Likewise.
31079 * math/s_csinhf.c (__csinhf): Likewise.
31080 * math/s_csinhl.c (__csinhl): Likewise.
31081 * math/s_csinl.c (__csinl): Likewise.
31082 * math/libm-test.inc (ccos_test): Add more tests.
31083 (ccosh_test): Likewise.
31084 (csin_test): Likewise.
31085 (csinh_test): Likewise.
31087 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31089 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
31090 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
31091 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
31092 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
31093 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
31094 powerpc/power5+/fpu folders.
31095 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
31098 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
31100 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31102 2013-04-25 Joseph Myers <joseph@codesourcery.com>
31104 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
31105 additions to variable.
31106 [$(config-machine) = x86_64] (modules-names): Likewise.
31107 ($(objpfx)tst-audit3): Remove dependency.
31108 ($(objpfx)tst-audit3.out): Likewise.
31109 ($(objpfx)tst-audit4): Likewise.
31110 ($(objpfx)tst-audit4.out): Likewise.
31111 ($(objpfx)tst-audit5): Likewise.
31112 ($(objpfx)tst-audit5.out): Likewise.
31113 ($(objpfx)tst-audit6): Likewise.
31114 ($(objpfx)tst-audit6.out): Likewise.
31115 ($(objpfx)tst-audit7): Likewise.
31116 ($(objpfx)tst-audit7.out): Likewise.
31117 (tst-audit3-ENV): Remove variable.
31118 (tst-audit4-ENV): Likewise.
31119 (tst-audit5-ENV): Likewise.
31120 (tst-audit6-ENV): Likewise.
31121 (tst-audit7-ENV): Likewise.
31122 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
31123 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
31124 addition to variable.
31125 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
31126 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
31127 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
31128 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
31129 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
31130 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
31131 tst-audit3, tst-audit4 and tst-audit5.
31132 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
31133 tst-audit6 and tst-audit7.
31134 [$(subdir) = elf] (modules-names): Add audit modules for those
31136 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
31137 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
31138 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
31139 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
31140 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
31141 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
31142 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
31143 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
31144 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
31145 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
31146 [$(subdir) = elf] (tst-audit3-ENV): New variable.
31147 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
31148 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
31149 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
31150 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
31151 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
31153 [$(subdir) = elf && $(config-cflags-avx) = yes]
31154 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
31155 [$(subdir) = elf && $(config-cflags-avx) = yes]
31156 (CFLAGS-tst-auditmod4a.c): Likewise.
31157 [$(subdir) = elf && $(config-cflags-avx) = yes]
31158 (CFLAGS-tst-auditmod4b.c): Likewise.
31159 [$(subdir) = elf && $(config-cflags-avx) = yes]
31160 (CFLAGS-tst-auditmod6b.c): Likewise.
31161 [$(subdir) = elf && $(config-cflags-avx) = yes]
31162 (CFLAGS-tst-auditmod6c.c): Likewise.
31163 [$(subdir) = elf && $(config-cflags-avx) = yes]
31164 (CFLAGS-tst-auditmod7b.c): Likewise.
31165 * elf/tst-audit3.c: Move to ...
31166 * sysdeps/x86_64/tst-audit3.c: ... here.
31167 * elf/tst-audit4.c: Move to ...
31168 * sysdeps/x86_64/tst-audit4.c: ... here.
31169 * elf/tst-audit5.c: Move to ...
31170 * sysdeps/x86_64/tst-audit5.c: ... here.
31171 * elf/tst-audit6.c: Move to ...
31172 * sysdeps/x86_64/tst-audit6.c: ... here.
31173 * elf/tst-audit7.c: Move to ...
31174 * sysdeps/x86_64/tst-audit7.c: ... here.
31175 * elf/tst-auditmod3a.c: Move to ...
31176 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
31177 * elf/tst-auditmod3b.c: Move to ...
31178 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
31179 * elf/tst-auditmod4a.c: Move to ...
31180 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
31181 * elf/tst-auditmod4b.c: Move to ...
31182 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
31183 * elf/tst-auditmod5a.c: Move to ...
31184 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
31185 * elf/tst-auditmod5b.c: Move to ...
31186 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
31187 * elf/tst-auditmod6a.c: Move to ...
31188 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
31189 * elf/tst-auditmod6b.c: Move to ...
31190 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
31191 * elf/tst-auditmod6c.c: Move to ...
31192 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
31193 * elf/tst-auditmod7a.c: Move to ...
31194 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
31195 * elf/tst-auditmod7b.c: Move to ...
31196 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
31198 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
31201 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
31202 define unconditionally.
31203 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
31204 define unconditionally.
31205 (INT8_C, INT16_C, etc.): Likewise.
31207 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
31209 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
31210 __ehdr_start with hidden visibility.
31212 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
31214 2013-04-24 Carlos O'Donell <carlos@redhat.com>
31216 * math/libm-test.inc (cos_test): Use accurate hex constants.
31217 (sincost_test): Likewise.
31219 2013-04-24 Joseph Myers <joseph@codesourcery.com>
31221 * math/libm-test.inc (catan_test): Add more tests.
31222 (catanh_test): Likewise.
31224 * math/s_catanf.c (__catanf): Use suffixed floating-point
31226 * math/s_catanhf.c (__catanhf): Likewise.
31227 * math/s_catanhl.c (__catanhl): Likewise.
31228 * math/s_catanl.c (__catanl): Likewise.
31231 * math/s_catan.c (__catan): Calculate imaginary part of result
31232 with log1p not log unless computing log of number close to 0.
31233 * math/s_catanf.c (__catanf): Likewise.
31234 * math/s_catanl.c (__catanl): Likewise.
31235 * math/s_catanh.c (__catanh): Calculate real part of result with
31236 log1p not log unless computing log of number close to 0.
31237 * math/s_catanhf.c (__catanhf): Likewise.
31238 * math/s_catanhl.c (__catanhl): Likewise.
31239 * math/libm-test.inc (catan_test): Add more tests.
31240 (catanh_test): Likewise.
31241 * sysdeps/i386/fpu/libm-test-ulps: Update.
31242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31244 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
31246 * benchtests/Makefile: Mention files in which fast and slow
31247 paths of math functions are implemented.
31249 2013-04-23 Roland McGrath <roland@hack.frob.com>
31251 * sysdeps/posix/timespec_get.c: New file.
31253 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31255 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
31257 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
31259 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
31260 powerpc/power5/fpu folders.
31261 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
31262 * benchtests/Makefile: Add modf testcase.
31263 * benchtests/bench-modf.c: New file: Benchmark test for mo
31265 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
31268 * time/Makefile (tests): Add tst-strptime-whitespace.
31269 * time/strptime_l.c (get_number): Use ISSPACE.
31270 (__strptime_internal): Likewise.
31271 * time/tst-strptime-whitespace.c: New test case.
31273 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
31275 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
31277 (_nss_files_init): Set it here.
31279 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
31281 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
31282 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
31285 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
31287 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
31289 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31291 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
31294 2013-04-21 David S. Miller <davem@davemloft.net>
31296 * po/ru.po: Update Russion translation from translation project.
31298 2013-04-17 Adam Conrad <adconrad@0c3.net>
31300 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
31303 2013-04-17 Carlos O'Donell <carlos@redhat.com>
31305 * configure.in: Remove i386 configure warning. Remove i386 case.
31306 * configure: Regenerate.
31307 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
31308 Add example to error message.
31309 * sysdeps/i386/configure: Regenerate.
31311 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31313 * benchtests/Makefile (bench): Add cos, tan, slowcos and
31315 * benchtests/cos-inputs: New file.
31316 * benchtests/slowcos-inputs: New file.
31317 * benchtests/slowcos.c: New file.
31318 * benchtests/slowtan-inputs: New file.
31319 * benchtests/slowtan.c: New file.
31320 * benchtests/tan-inputs: New file.
31322 2013-04-16 Roland McGrath <roland@hack.frob.com>
31324 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
31327 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31329 * benchtests/Makefile: Include cppflags-iterator.mk to add
31330 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
31332 * Makefile.in (bench-clean): New target.
31333 * benchtests/Makefile (bench-clean): Likewise.
31335 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
31337 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
31339 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
31341 * stdio-common/tstdiomisc.c: Fix coding-style violation.
31343 2013-04-15 Andreas Schwab <schwab@suse.de>
31345 * nscd/grpcache.c (cache_addgr): Properly check for short write.
31346 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31347 * nscd/pwdcache.c (cache_addpw): Likewise.
31348 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
31351 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31353 * benchtests/Makefile (bench): Write all output to
31354 bench-out.tmp together.
31356 2013-04-15 Andreas Schwab <schwab@suse.de>
31358 * nscd/nscd.c (main): Don't fork again after closing files.
31360 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31362 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
31364 * benchtests/Rules (bench-deps): Collect dependencies into a
31365 single variable. Add Makefile to dependencies.
31366 ($(objpfx)bench-%.c): Depend on bench-deps.
31368 2013-04-12 Roland McGrath <roland@hack.frob.com>
31369 Xavier Roche <roche+kml2@exalead.com>
31372 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
31373 just that it's a file descriptor.
31374 * manual/llio.texi (Synchronizing AIO Operations): Update description
31375 for EBADF error from aio_fsync.
31377 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
31379 * Rules (bench): Move target definition...
31380 * benchtests/Makefile: ... here.
31382 2013-04-11 Carlos O'Donell <carlos@redhat.com>
31384 * math/libm-test.inc (cos_test): Fix PI/2 test.
31385 (sincos_test): Likewise.
31386 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
31387 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
31389 2013-04-11 Andreas Schwab <schwab@suse.de>
31392 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
31393 accept exponent character only when digits were seen.
31394 * stdio-common/Makefile (tests): Add bug26.
31395 * stdio-common/bug26.c: New file.
31398 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
31401 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31403 * Makeconfig (rtld-prefix): Define built linker prefix.
31404 * Rules (run-bench): Use it.
31405 * math/Makefile (run-regen-ulps): Likewise.
31407 * Rules (bench): Remove eval.
31409 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31410 Roland McGrath <roland@hack.frob.com>
31411 Ondrej Bilka <neleai@seznam.cz>
31414 * time/getdate.c: Include ctype.h and alloca.h.
31415 (__getdate_r): Trim leading and trailing spaces of input.
31416 * time/tst-getdate.c (tests): Add tests with leading and
31419 2013-04-08 Roland McGrath <roland@hack.frob.com>
31422 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
31423 when computing value.
31425 2013-04-06 Carlos O'Donell <carlos@redhat.com>
31427 * math/README.libm-test (How can I generate "libm-test-ulps"?):
31428 Use testrun.sh to run libm tests.
31431 * elf/dl-open.c (dl_open_worker): memset all of seen array.
31433 2013-04-06 Marko Myllynen <myllynen@redhat.com>
31436 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
31438 2013-04-06 Carlos O'Donell <carlos@redhat.com>
31440 * Makefile.in (regen-ulps): New target.
31441 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
31442 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
31443 [ifneq (no,$(PERL)] (regen-ulps): New target.
31444 [ifeq (no,$(PERL)] (regen-ulps): New target.
31445 * math/libm-test.inc (ulps_file_name): Define.
31446 (output_dir): New variable.
31447 (options): Add "output-dir" option.
31448 (parse_opt): Handle 'o' case.
31449 (main): If output_dir is non-NULL use it as a prefix
31451 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
31453 2013-04-06 Carlos O'Donell <carlos@redhat.com>
31455 [BZ #10060, #10062]
31456 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
31457 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
31458 fail configure if __sync_val_compare_and_swap is not inlined.
31459 * sysdeps/i386/configure: Regenerate.
31460 * configure.in: Build for i686 when configured for i386.
31461 * configure: Regenerate.
31462 * README: Remove i386 reference.
31464 2013-04-06 Carlos O'Donell <carlos@redhat.com>
31466 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
31467 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31469 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
31471 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
31472 (lmsnanval): New variables.
31473 (F): Add conversion tests.
31474 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
31475 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
31477 * stdio-common/tstdiomisc.c (F): Properly collect individual
31480 [BZ #14686, #15336]
31481 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
31482 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
31483 Instead, use input NaN values or generate a qNaN by arithmetic
31484 operation. Also fix bugs to comply with the standard.
31485 * math/libm-test.inc (remainder_test): Add more tests.
31487 [BZ #15335, #15342]
31488 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
31489 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
31490 input NaN values or generate a qNaN by arithmetic operation.
31492 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
31495 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
31498 2013-04-03 Joseph Myers <joseph@codesourcery.com>
31501 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
31502 underflowed result.
31503 * math/s_cexpf.c (__cexpf): Likewise.
31504 * math/s_cexpl.c (__cexpl): Likewise.
31505 * math/libm-test.inc (cexp_test): Add more tests.
31507 2013-04-03 Andreas Schwab <schwab@suse.de>
31510 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
31511 order arrays from heap if bigger than alloca cutoff.
31513 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
31515 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
31516 (SNAN_TESTS_double): Refer to GCC PR56831.
31517 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
31520 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
31522 * Rules (bench): Move bench.out after the run is complete.
31524 * Rules (bench): Echo currently running benchmark.
31526 * benchtests/Makefile (bench): Add atan and slowatan.
31527 * benchtests/atan-inputs: New file.
31528 * benchtests/slowatan-inputs: New file.
31529 * benchtests/slowatan.c: New file.
31531 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
31532 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
31536 * sysdeps/unix/sysv/linux/kernel-features.h
31537 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
31538 __ASSUME_XFS_RESTRICTED_CHOWN.
31539 * sysdeps/unix/sysv/linux/pathconf.c
31540 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
31541 Save and restore errno.
31543 2013-04-02 Joseph Myers <joseph@codesourcery.com>
31546 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
31547 arguments using __kernel_casinh.
31548 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
31549 arguments using __kernel_casinhf.
31550 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
31551 arguments using __kernel_casinhl.
31552 * math/libm-test.inc (cacosh_test): Add more tests.
31553 * sysdeps/i386/fpu/libm-test-ulps: Update.
31554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31556 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
31558 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
31559 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
31561 * bench/Makefile (bench): Add sin and slowsin.
31562 * benchtests/sin-inputs: New file.
31563 * benchtests/slowsin-inputs: New file.
31564 * benchtests/slowsin.c: New file.
31566 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
31567 (bench): Add slowexp and slowpow.
31568 (exp-ITER): Increase iterations.
31569 (pow-ITER): Likewise.
31570 * benchtests/exp-inputs: Change input.
31571 * benchtests/pow-inputs: Likewise.
31572 * benchtests/slowexp-inputs: New file.
31573 * benchtests/slowexp.c: New file.
31574 * benchtests/slowpow-inputs: New file.
31575 * benchtests/slowpow.c: New file.
31577 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31579 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
31581 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31582 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
31583 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
31584 * benchtests/Makefile: Add rint benchtest.
31585 * benchtests/rint-inputs: Input for rint benchtest.
31587 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
31589 * Versions.def (libm): Add GLIBC_2.18.
31590 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
31591 hidden libm prototypes.
31592 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
31593 * math/Makefile (libm-calls): Add s_issignaling.
31594 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
31595 __issignalingf, __issignalingl. Adjust all libm.abilist files.
31596 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
31598 * math/math.h [__USE_GNU] (issignaling): New macro.
31599 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
31600 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
31601 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
31602 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
31603 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
31604 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
31605 * manual/arith.texi (issignaling): New section.
31606 * manual/libm-err-tab.pl (@all_functions): Update comment.
31607 * math/gen-libm-test.pl (parse_args): Apply special handling for
31609 * math/libm-test.inc (print_float, issignaling_test): New
31611 (check_float_internal): Add issignaling checks.
31612 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
31613 default definition.
31614 * sysdeps/powerpc/math-tests.h: New file.
31615 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
31617 * math/test-snan.c (TEST_FUNC): Likewise.
31619 2013-03-30 David S. Miller <davem@davemloft.net>
31621 * po/de.po: Update from translation team.
31623 2013-03-30 Joseph Myers <joseph@codesourcery.com>
31626 * math/k_casinh.c (__kernel_casinh): Handle arguments with
31627 imaginary part less than 1.0 and real part less than 0.5
31629 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31630 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31631 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
31632 (cacos_test): Add more tests.
31633 (casin_test): Likewise.
31634 (casinh_test): Likewise.
31635 * sysdeps/i386/fpu/libm-test-ulps: Update.
31636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31638 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31640 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
31641 ONE with its value.
31643 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
31644 (__pow_mp): Replace ONE and MONE with their values.
31645 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31646 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
31647 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31648 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
31649 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31650 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31652 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
31654 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
31655 (__pow_mp): Replace ZERO and MZERO with their values.
31656 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
31657 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31658 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31659 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31660 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31661 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
31664 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
31666 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
31668 2013-03-28 Roland McGrath <roland@hack.frob.com>
31670 * include/stdlib.h [!SHARED] (__call_tls_dtors):
31671 Declare with __attribute__ ((weak)).
31672 * stdlib/exit.c (__libc_atexit) [!SHARED]:
31673 Call __call_tls_dtors only if it's not NULL.
31675 2013-03-28 Roland McGrath <roland@hack.frob.com>
31677 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
31678 didn't do it already, then set _dl_phdr and _dl_phnum based on the
31679 magic __ehdr_start linker symbol if it's defined.
31680 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
31681 them up here if it was already done.
31683 * elf/dl-support.c (_dl_phdr): Make pointer to const.
31684 (_dl_aux_init): Use const in cast when setting it.
31685 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
31686 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
31687 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
31689 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
31691 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
31692 * csu/libc-tls.c: Nor here.
31693 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
31695 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
31696 (__libc_message): Never call vsyslog.
31698 2013-03-28 Alan Modra <amodra@gmail.com>
31700 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
31702 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
31705 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31708 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
31710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31712 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31715 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
31716 Don't add gid passed as argument.
31718 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
31720 2013-03-27 Joseph Myers <joseph@codesourcery.com>
31723 * math/k_casinh.c (__kernel_casinh): Handle arguments with
31724 imaginary part between 1.0 and 1.5 and real part less than 0.5
31726 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31727 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31728 * math/libm-test.inc (cacos_test): Add more tests.
31729 (casin_test): Likewise.
31730 (casinh_test): Likewise.
31731 * sysdeps/i386/fpu/libm-test-ulps: Update.
31732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31734 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31736 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
31739 (denorm): Likewise.
31740 (__dbl_mp): Likewise.
31741 (add_magnitudes): Likewise.
31742 (sub_magnitudes): Likewise.
31750 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
31752 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
31753 (__dubcos): Likewise.
31754 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
31755 (__ieee754_acos): Likewise.
31756 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
31757 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
31758 (__exp1): Likewise.
31759 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31760 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
31762 (my_log2): Likewise.
31763 (checkint): Likewise.
31764 * sysdeps/ieee754/dbl-64/e_remainder.c
31765 (__ieee754_remainder): Likewise.
31766 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31767 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
31768 (bsloww): Likewise.
31769 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31771 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31772 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
31773 MANTISSA_STORE_T to store computations on mantissa. Use
31774 macros for rounding and division.
31775 (denorm): Likewise.
31776 (__dbl_mp): Likewise.
31777 (add_magnitudes): Likewise.
31778 (sub_magnitudes): Likewise.
31781 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
31782 powers of two in terms of TWOPOW macro.
31783 (mp_no): Make type of mantissa as MANTISSA_T.
31784 [!RADIXI]: Define RADIXI.
31785 [!TWO52]: Define TWO52.
31786 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31788 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31790 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
31791 llroundl symbol when building for PPC32.
31793 2013-03-24 Mark H Weaver <mhw@netris.org>
31795 * manual/arith.texi (Normalization Functions): Fix prototypes for
31796 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
31798 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31801 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
31802 high value to check if expl overflow.
31803 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
31804 to check for underflow and overflow.
31805 * math/libm-test.inc: Add exp test.
31807 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
31810 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
31813 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31815 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
31818 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
31820 * math/gen-libm-test.pl (parse_args, special_functions): Properly
31821 wrap blocks consisting of several statements.
31823 * sysdeps/generic/math-tests.h: New file.
31824 * sysdeps/i386/fpu/math-tests.h: Likewise.
31825 * math/test-snan.c: Include it.
31826 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
31828 2013-03-21 Joseph Myers <joseph@codesourcery.com>
31831 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
31832 (__ieee754_j0l): Do not improve calculations using cos of twice
31833 input for inputs above LDBL_MAX / 2.0L.
31834 (__ieee754_y0l): Likewise.
31835 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
31836 (__ieee754_j1l): Do not improve calculations using cos of twice
31837 input for inputs above LDBL_MAX / 2.0L.
31838 (__ieee754_y1l): Likewise.
31839 * math/libm-test.inc (j0_test): Add another test.
31840 (j1_test): Likewise.
31841 (y0_test): Likewise.
31842 (y1_test): Likewise.
31843 * sysdeps/i386/fpu/libm-test-ulps: Update.
31845 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31847 * Rules ($(objpfx)bench-%.c): Include code from a C source
31850 2013-03-21 Joseph Myers <joseph@codesourcery.com>
31853 * math/k_casinh.c (__kernel_casinh): Handle arguments with
31854 imaginary part 1.0 and real part less than 0.5 specially.
31855 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31856 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31857 * math/libm-test.inc (cacos_test): Add more tests.
31858 (casin_test): Likewise.
31859 (casinh_test): Likewise.
31860 * sysdeps/i386/fpu/libm-test-ulps: Update.
31861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31863 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31865 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
31866 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
31868 2013-03-20 Joseph Myers <joseph@codesourcery.com>
31870 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
31871 * config.make.in (config-cflags-sse4): Remove variable.
31872 (config-cflags-avx): Likewise.
31873 (config-cflags-sse2avx): Likewise.
31874 (config-cflags-novzeroupper): Likewise.
31875 (config-asflags-i686): Likewise.
31876 (have-mfma4): Likewise.
31877 (have-as-vis3): Likewise.
31879 * configure.in (MIG): Do not AC_SUBST.
31880 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
31881 (libc_cv_cc_sse4): Do not AC_SUBST.
31882 (libc_cv_cc_avx): Likewise.
31883 (libc_cv_cc_sse2avx): Likewise.
31884 (libc_cv_cc_novzeroupper): Likewise.
31885 (libc_cv_cc_fma4): Likewise.
31886 (libc_cv_as_i686): Likewise.
31887 (libc_cv_sparc_as_vis3): Likewise.
31888 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
31890 (config-asflags-i686): Likewise.
31891 (config-cflags-avx): Likewise.
31892 (config-cflags-sse2avx): Likewise.
31893 (have-mfma4): Likewise.
31894 (config-cflags-novzeroupper): Likewise.
31895 * sysdeps/mach/configure.in (MIG): Likewise.
31896 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
31897 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
31899 (config-cflags-avx): Likewise.
31900 (config-cflags-sse2avx): Likewise.
31901 (have-mfma4): Likewise.
31902 (config-cflags-novzeroupper): Likewise.
31903 * configure: Regenerated.
31904 * sysdeps/i386/configure: Likewise.
31905 * sysdeps/mach/configure: Likewise.
31906 * sysdeps/sparc/configure: Likewise.
31907 * sysdeps/x86_64/configure: Likewise.
31909 2013-03-20 Roland McGrath <roland@hack.frob.com>
31912 * locale/programs/localedef.c (options): Put N_ translation marker
31913 on argument names, not just descriptions.
31915 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31917 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
31919 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
31922 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
31924 2013-03-19 Roland McGrath <roland@hack.frob.com>
31926 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
31927 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
31928 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
31929 [!BEFORE_ABORT] (before_abort): New function.
31930 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
31931 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
31932 (writev_for_fatal): New function.
31933 (WRITEV_FOR_FATAL): New macro; call that.
31934 (backtrace_and_maps): New function.
31935 (BEFORE_ABORT): New macro; call that.
31936 (struct str_list): Type removed.
31937 (__libc_message, __libc_fatal): Functions removed.
31938 Include <sysdeps/posix/libc_fatal.c> instead.
31940 2013-03-19 Joseph Myers <joseph@codesourcery.com>
31942 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
31944 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
31947 2013-03-19 Andreas Schwab <schwab@suse.de>
31949 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
31950 * sysdeps/gnu/configure: Regenerate.
31952 * configure.in: Substitute libc_cv_rtlddir.
31953 * configure: Regenerate.
31954 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
31955 * Makeconfig (rtlddir, inst_rtlddir): New variables.
31956 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
31957 * elf/Makefile (install-others, CFLAGS-interp.c)
31958 (ldso_install, common-ldd-rewrite): Likewise.
31959 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
31960 $(inst_slibdir)/$(rtld-installed-name).
31961 * scripts/rellns-sh: Add -p option.
31962 * Makerules (make-shlib-link): Use rellns-sh to get relative name
31965 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31967 * manual/nptl.texi: Renamed to ...
31968 * manual/threads.texi: ... this.
31969 * manual/Makefile (chapters): Update.
31971 2013-03-18 Roland McGrath <roland@hack.frob.com>
31974 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
31975 on argument names, not just descriptions.
31976 * malloc/memusagestat.c (options): Likewise.
31977 * nss/getent.c (options): Likewise.
31979 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
31982 * iconv/iconv_prog.c (options): Put N_ translation marker
31983 on argument names, not just descriptions.
31984 * iconv/iconvconfig.c (options): Likewise.
31986 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
31988 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
31989 implementation which is faster on all x86_64 architectures.
31990 Tested on AMD, Intel Nehalem, SNB, IVB.
31991 * sysdeps/x86_64/strnlen.S: Likewise.
31993 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31994 Remove all multiarch strlen and strnlen versions.
31995 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
31996 Remove strlen and strnlen related parts.
31998 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
31999 Inline strlen part.
32000 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
32002 * sysdeps/x86_64/multiarch/strlen.S: Remove.
32003 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
32004 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
32005 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
32006 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32007 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
32009 2013-03-17 Carlos O'Donell <carlos@redhat.com>
32011 * manual/memory.texi (Malloc Tunable Parameters):
32012 Sort parameters alphabetically. Add comments for missing entries.
32014 2013-03-17 David S. Miller <davem@davemloft.net>
32016 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32018 2013-03-16 Joseph Myers <joseph@codesourcery.com>
32021 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
32022 for arguments at most half maximum finite value.
32023 * math/libm-test.inc (j0_test): Add more tests.
32024 (j1_test): Likewise.
32025 (y0_test): Likewise.
32026 (y1_test): Likewise.
32027 * sysdeps/i386/fpu/libm-test-ulps: Update.
32028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32031 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
32032 1 / x and functions P and Q for arguments above 0x1p256L.
32033 (__ieee754_y0l): Likewise.
32034 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
32035 (__ieee754_y1l): Likewise.
32036 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
32037 (j1_test): Likewise.
32038 (y0_test): Likewise.
32039 (y1_test): Likewise.
32041 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
32043 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
32046 2013-03-15 Roland McGrath <roland@hack.frob.com>
32048 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
32049 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
32050 zero since it's initialized to EXEC_PAGESIZE.
32052 * sysdeps/unix/sysv/linux/ldsodefs.h
32053 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
32054 * sysdeps/generic/ldsodefs.h: ... here.
32056 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
32058 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
32060 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
32062 * math/test-snan.c: Renamed from
32063 sysdeps/powerpc/fpu/test-powerpc-snan.c.
32064 * math/Makefile (tests): Add test-snan.
32065 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
32068 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
32069 SUFFIX. Initialize qNaN_var with __builtin_nan family of
32071 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
32072 __builtin_nan family of functions.
32073 * math/libm-test.inc (initialize): Initialize qnan_value with
32074 __builtin_nan family of functions.
32075 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
32077 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
32079 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
32080 storage class. Initialize qNaN_var and sNaN_var with
32081 __builtin_nan and __builtin_nans families of functions,
32084 * math/libm-test.inc (acosh_test): Also test with qNaN input.
32085 (sqrt_test): Remove duplicate test with qNaN input.
32086 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
32087 (round_test, signbit_test, significand_test): Note missing +/-Inf
32088 as well as qNaN tests.
32090 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
32091 qNaN_var. Fix a few strings, too.
32092 * math/libm-test.inc (nan_value): Rename to qnan_value.
32093 * math/gen-libm-test.pl (%beautify): Adjust to that.
32094 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
32095 * math/test-misc.c (main): Likewise.
32096 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
32097 to __qnan_bytes, and __qnan_union, respectively.
32098 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
32100 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
32101 and lqnanval, respectively.
32102 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
32103 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
32104 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
32105 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
32107 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
32108 * math/test-misc.c (main) [__x86_64__]: Enable test for long
32111 * math/test-misc.c (main): Fix copy'n'pastos.
32112 * misc/tst-efgcvt.c (special): Likewise.
32114 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
32115 Remove declarations.
32117 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32119 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
32120 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
32121 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
32122 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
32124 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32126 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
32127 macro to return vdso values correctly in IFUNC implementations.
32128 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
32129 Optimization by using IFUNC.
32131 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32132 Richard Henderson <rth@redhat.com>
32133 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32135 * Makefile.in (bench): New target.
32136 * NEWS: Mention the benchmark framework.
32137 * Rules (bench): Likewise.
32138 (binaries-bench): Generate binaries for functions to
32140 * benchtests/Makefile: New makefile for benchmark tests.
32141 * benchtests/bench-skeleton.c: New skeleton file for benchmark
32143 * benchtests/exp-inputs: New input file for EXP function.
32144 * benchtests/pow-inputs: New input file for POW function.
32145 * scripts/bench.pl: New script to generate source files for
32146 benchmark programs.
32148 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32150 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
32151 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
32152 computations on mantissa. Use macros for rounding and
32154 (denorm): Likewise.
32155 (__dbl_mp): Likewise.
32156 (add_magnitudes): Likewise.
32157 (sub_magnitudes): Likewise.
32160 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
32161 powers of two in terms of TWOPOW macro.
32162 (mp_no): Make type of mantissa as MANTISSA_T.
32163 [!RADIXI]: Define RADIXI.
32164 [!TWO52]: Define TWO52.
32165 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
32167 * manual/nptl.texi (cindex): Modify threads to pthreads.
32169 2013-03-15 Joseph Myers <joseph@codesourcery.com>
32171 * sysdeps/x86_64/preconfigure: Regenerated.
32173 2013-03-14 Joseph Myers <joseph@codesourcery.com>
32176 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
32178 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
32179 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
32181 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
32182 * math/libm-test.inc (j0_test): Do not allow one spurious
32183 underflow exception.
32184 (y1_test): Likewise.
32186 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32188 * manual/Makefile (chapters): Add nptl.
32189 * manual/debug.texi (Debugging Support): Add link to Threads
32191 * manual/nptl.texi: New file.
32193 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
32195 2013-03-14 Petr Baudis <pasky@ucw.cz>
32197 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
32198 for non-NULL pointer before the memory validity test. Pointed
32199 out by Holger Brunck <holger.brunck@keymile.com>.
32201 2013-03-13 Andreas Schwab <schwab@suse.de>
32203 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
32206 2013-03-13 Joseph Myers <joseph@codesourcery.com>
32208 * timezone/zic.c: Update from tzcode 2013b.
32210 2013-03-12 Carlos O'Donell <carlos@redhat.com>
32212 * manual/install.texi (Configuring and compiling):
32213 Mention i686 and i586.
32214 * INSTALL: Regenerate.
32216 2013-03-12 Roland McGrath <roland@hack.frob.com>
32218 * sysdeps/init_array/elf-init.c: New file.
32220 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
32221 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
32223 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
32224 __gmon_start__ as global, but as static with a .preinit_array pointer.
32225 * sysdeps/init_array/gmon-start.c: New file. Use that.
32226 * sysdeps/init_array/crti.S: New file, empty except for comments.
32227 * sysdeps/init_array/crtn.S: Likewise.
32229 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
32231 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
32233 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32234 Remove Prefer_SSE_for_memop.
32235 * sysdeps/x86_64/multiarch/init-arch.h: Remove
32236 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
32237 HAS_PREFER_SSE_FOR_MEMOP.
32238 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
32240 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32241 Remove bzero, memset ifunc support.
32242 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
32243 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
32244 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32245 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32247 2013-03-11 Andreas Schwab <schwab@suse.de>
32250 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
32252 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
32253 (GLIBC_2.16): Remove pthread_atfork.
32255 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
32257 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
32258 (ptestcases.h): Likewise.
32260 2013-03-08 Roland McGrath <roland@hack.frob.com>
32262 * Makeconfig ($(common-objpfx)config.status): Depend on
32263 sysdeps/*/preconfigure{,.in} too.
32265 2013-03-08 Joseph Myers <joseph@codesourcery.com>
32267 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
32268 (__free_hook): Use void * instead of __malloc_ptr_t.
32269 (__malloc_hook): Likewise.
32270 (__realloc_hook): Likewise.
32271 (__memalign_hook): Likewise.
32272 (__after_morecore_hook): Likewise.
32273 * malloc/arena.c (save_malloc_hook): Likewise.
32274 (save_free_hook): Likewise.
32275 * malloc/hooks.c (malloc_hook_ini): Likewise.
32276 (realloc_hook_ini): Likewise.
32277 (memalign_hook_ini): Likewise.
32278 * malloc/malloc.c (malloc_hook_ini): Likewise.
32279 (realloc_hook_ini): Likewise.
32280 (memalign_hook_ini): Likewise.
32281 (__free_hook): Likewise.
32282 (__malloc_hook): Likewise.
32283 (__realloc_hook): Likewise.
32284 (__memalign_hook): Likewise.
32285 (__libc_malloc): Likewise.
32286 (__libc_free): Likewise.
32287 (__libc_realloc): Likewise.
32288 (__libc_memalign): Likewise.
32289 (__libc_valloc): Likewise.
32290 (__libc_pvalloc): Likewise.
32291 (__libc_calloc): Likewise.
32292 (__posix_memalign): Likewise.
32293 * malloc/morecore.c (__sbrk): Likewise.
32294 (__default_morecore): Likewise.
32296 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
32298 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
32299 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
32300 __malloc_ptrdiff_t.
32302 * malloc/malloc.h (__malloc_size_t): Remove macro.
32303 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
32305 (old_memalign_hook): Likewise.
32306 (old_realloc_hook): Likewise.
32307 (struct hdr): Likewise.
32309 (mallochook): Likewise.
32310 (memalignhook): Likewise.
32311 (reallochook): Likewise.
32312 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
32313 (tr_old_realloc_hook): Likewise.
32314 (tr_old_memalign_hook): Likewise.
32315 (tr_mallochook): Likewise.
32316 (tr_reallochook): Likewise.
32317 (tr_memalignhook): Likewise.
32319 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32321 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
32322 default_ldbl_pack and using as default implementation.
32323 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
32325 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
32326 redundant definition.
32327 (ldbl_insert_mantissa): Likewise.
32328 (ldbl_canonicalize): Likewise.
32329 (ldbl_nearbyint): Likewise.
32330 (ldbl_pack): Rename to ldbl_pack_ppc.
32331 (ldbl_unpack): Rename to ldbl_unpack_ppc.
32332 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
32333 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
32335 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32337 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
32338 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
32339 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
32340 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
32341 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
32342 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
32343 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
32344 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
32346 2013-03-07 Andreas Jaeger <aj@suse.de>
32348 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32351 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
32353 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
32354 Include mpa.h and declare __MPEXP.
32355 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
32356 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
32357 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
32358 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
32359 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
32360 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
32361 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
32363 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
32364 (__slowpow): Use long double EXPL and LOGL functions to
32366 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
32367 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
32368 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
32369 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
32370 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
32371 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
32373 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
32374 intermediate variable to calculate exponent.
32376 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32380 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
32381 [!NO__SQR]: Define __sqr.
32382 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
32383 and NO__SQR. Remove all code except __mul and __sqr. Include
32384 sysdeps/ieee754/dbl-64/mpa.c.
32385 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32388 * posix/Makefile (tests): Add tst-pathconf.
32389 * posix/tst-pathconf.c: New test case.
32390 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
32392 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
32394 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
32396 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
32398 2013-03-06 Andreas Jaeger <aj@suse.de>
32400 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
32401 definition via __MAP_ANONYMOUS.
32403 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
32404 it's not part of Linux headers.
32406 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
32407 (MAP_HUGE_MASK): Define.
32409 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
32411 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32412 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
32414 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32415 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
32417 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32418 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
32420 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32422 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
32423 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
32424 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
32425 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
32426 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
32427 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
32429 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32432 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32433 Handle f2fs and efivarfs.
32435 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
32438 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
32439 (EFIVARFS_MAGIC): Add.
32440 (F2FS_LINK_MAX): Add.
32442 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32444 * stdio-common/vfprintf.c: Replace __builtin_expect with
32447 2013-03-06 Joseph Myers <joseph@codesourcery.com>
32450 * sysdeps/generic/bp-sym.h: Remove file.
32451 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
32452 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
32453 <bp-sym.h> and <bp-asm.h>.
32454 (__longjmp): Don't use BP_SYM.
32455 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
32457 (memcpy): Don't use BP_SYM.
32458 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
32459 <bp-sym.h> and <bp-asm.h>.
32460 (memcpy): Don't use BP_SYM.
32461 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
32463 (memcpy): Don't use BP_SYM.
32464 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
32466 (memset): Don't use BP_SYM.
32467 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32468 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32469 (__bzero): Don't use BP_SYM.
32470 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32471 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32472 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
32473 <bp-sym.h> and <bp-asm.h>.
32474 (memcmp): Don't use BP_SYM. Remove comment about bounded
32476 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
32477 <bp-sym.h> and <bp-asm.h>.
32478 (memcpy): Don't use BP_SYM.
32479 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
32480 <bp-sym.h> and <bp-asm.h>.
32481 (memset): Don't use BP_SYM.
32482 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32483 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32484 (__bzero): Don't use BP_SYM.
32485 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32486 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32487 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
32488 <bp-sym.h> and <bp-asm.h>.
32489 (strncmp): Don't use BP_SYM. Remove comment about bounded
32491 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
32492 <bp-sym.h> and <bp-asm.h>.
32493 (memcpy): Don't use BP_SYM.
32494 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
32495 <bp-sym.h> and <bp-asm.h>.
32496 (memset): Don't use BP_SYM.
32497 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32498 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32499 (__bzero): Don't use BP_SYM.
32500 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32501 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32502 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
32503 <bp-sym.h> and <bp-asm.h>.
32504 (__memchr): Don't use BP_SYM.
32505 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
32506 <bp-sym.h> and <bp-asm.h>.
32507 (memcmp): Don't use BP_SYM. Remove comment about bounded
32509 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
32510 <bp-sym.h> and <bp-asm.h>.
32511 (memcpy): Don't use BP_SYM.
32512 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
32513 <bp-sym.h> and <bp-asm.h>.
32514 (__mempcpy): Don't use BP_SYM.
32515 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
32516 <bp-sym.h> and <bp-asm.h>.
32517 (__memrchr): Don't use BP_SYM.
32518 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
32519 <bp-sym.h> and <bp-asm.h>.
32520 (memset): Don't use BP_SYM.
32521 (__bzero): Likewise.
32522 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
32523 <bp-sym.h> and <bp-asm.h>.
32524 (__rawmemchr): Don't use BP_SYM.
32525 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
32526 <bp-sym.h> and <bp-asm.h>.
32527 (__STRCMP): Don't use BP_SYM.
32528 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
32529 <bp-sym.h> and <bp-asm.h>.
32530 (strchr): Don't use BP_SYM.
32531 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
32532 <bp-sym.h> and <bp-asm.h>.
32533 (__strchrnul): Don't use BP_SYM.
32534 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
32535 <bp-sym.h> and <bp-asm.h>.
32536 (strlen): Don't use BP_SYM.
32537 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
32538 <bp-sym.h> and <bp-asm.h>.
32539 (strncmp): Don't use BP_SYM. Remove comment about bounded
32541 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
32542 <bp-sym.h> and <bp-asm.h>.
32543 (__strnlen): Don't use BP_SYM.
32544 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
32545 <bp-sym.h> and <bp-asm.h>.
32546 (__GI__setjmp): Don't use BP_SYM.
32547 (_setjmp): Likewise.
32548 (__sigsetjmp): Likewise.
32549 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
32550 (L(start_addresses)): Don't use BP_SYM.
32551 (_start): Likewise.
32552 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
32554 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
32555 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
32556 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32557 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32558 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
32560 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
32561 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
32562 about bounded pointers.
32563 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32564 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32565 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
32567 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
32568 about bounded pointers. Remove GKM FIXME comments.
32569 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32570 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
32572 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
32573 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
32574 Remove GKM FIXME comments.
32575 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32576 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32577 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
32579 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
32580 about bounded pointers. Remove GKM FIXME comment.
32581 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
32583 (strncmp): Don't use BP_SYM. Remove comment about bounded
32585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
32586 <bp-sym.h> and <bp-asm.h>.
32587 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
32588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
32589 <bp-sym.h> and <bp-asm.h>.
32590 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
32593 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32595 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
32598 2013-03-05 David S. Miller <davem@davemloft.net>
32600 * po/es.po: Update from translation team.
32602 2013-03-05 Andreas Jaeger <aj@suse.de>
32604 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
32605 <bits/mman-linux.h>.
32606 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
32608 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
32609 <bits/mman-linux.h> to end of file.
32610 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
32612 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
32613 <bits/mman-linux.h> to end of file.
32614 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
32616 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
32617 <bits/mman-linux.h> to end of file.
32619 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
32620 (MCL_CURRENT, MCL_FUTURE): Define here.
32622 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32625 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
32627 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32629 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32631 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
32632 fourth parameter needed for rt_sigprocmask syscall.
32633 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
32634 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
32635 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
32636 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
32637 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
32638 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
32640 2013-03-04 Joseph Myers <joseph@codesourcery.com>
32643 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
32644 comment about bounded pointers.
32645 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
32646 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
32648 2013-03-04 Andreas Jaeger <aj@suse.de>
32650 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
32651 common definitions.
32653 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
32654 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
32655 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
32656 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32657 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32658 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32660 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32663 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
32664 __ieee754_sqrl instead of __sqrl.
32666 2013-03-01 Joseph Myers <joseph@codesourcery.com>
32668 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
32669 * sysdeps/powerpc/fpu_control.h: ... here.
32670 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
32671 * sysdeps/powerpc/bits/fenvinline.h: ... here.
32672 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
32673 * sysdeps/powerpc/bits/mathinline.h: ... here.
32675 2013-03-01 Roland McGrath <roland@hack.frob.com>
32677 * elf/dl-hwcaps.c (_dl_important_hwcaps):
32678 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
32679 to just [NEED_DL_SYSINFO_DSO].
32680 * elf/dl-support.c: Likewise.
32681 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
32682 * elf/rtld.c (dl_main): Likewise.
32683 * elf/setup-vdso.h (setup_vdso): Likewise.
32684 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
32685 * sysdeps/unix/sysv/linux/dl-sysdep.c
32686 (_dl_discover_osversion): Likewise.
32688 2013-03-01 Carlos O'Donell <carlos@redhat.com>
32690 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
32691 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
32693 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
32695 * NEWS: Mention libm performance improvements and non-x86 PI
32698 * csu/libc-start.c (__pthread_initialize_minimal): Change
32699 function arguments.
32700 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
32702 2013-02-28 Joseph Myers <joseph@codesourcery.com>
32705 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
32706 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
32707 <bp-sym.h> and <bp-asm.h>.
32708 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32709 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
32711 (memcpy): Don't use BP_SYM.
32712 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
32714 (__mpn_add_n): Don't use BP_SYM.
32715 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
32716 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
32718 (__mpn_addmul_1): Don't use BP_SYM.
32719 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32720 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
32722 (_setjmp): Don't use BP_SYM.
32723 (__novmx_setjmp): Likewise.
32724 (__GI__setjmp): Likewise.
32725 (__vmx_setjmp): Likewise.
32726 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
32728 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
32729 (__bzero): Don't use BP_SYM.
32730 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32731 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32732 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
32733 <bp-sym.h> and <bp-asm.h>.
32734 (memcpy): Don't use BP_SYM.
32735 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
32736 <bp-sym.h> and <bp-asm.h>.
32737 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32738 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
32739 <bp-sym.h> and <bp-asm.h>.
32740 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32741 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
32743 (__mpn_lshift): Don't use BP_SYM.
32744 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32745 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
32747 (memset): Don't use BP_SYM.
32748 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32749 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32750 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
32752 (__mpn_mul_1): Don't use BP_SYM.
32753 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32754 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
32755 <bp-sym.h> and <bp-asm.h>.
32756 (memcmp): Don't use BP_SYM.
32757 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
32758 <bp-sym.h> and <bp-asm.h>.
32759 (memcpy): Don't use BP_SYM.
32760 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
32761 <bp-sym.h> and <bp-asm.h>.
32762 (memset): Don't use BP_SYM.
32763 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
32764 <bp-sym.h> and <bp-asm.h>.
32765 (strncmp): Don't use BP_SYM.
32766 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
32767 <bp-sym.h> and <bp-asm.h>.
32768 (memcpy): Don't use BP_SYM.
32769 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
32770 <bp-sym.h> and <bp-asm.h>.
32771 (memset): Don't use BP_SYM.
32772 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
32773 <bp-sym.h> and <bp-asm.h>.
32774 (__memchr): Don't use BP_SYM.
32775 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
32776 <bp-sym.h> and <bp-asm.h>.
32777 (memcmp): Don't use BP_SYM.
32778 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
32779 <bp-sym.h> and <bp-asm.h>.
32780 (memcpy): Don't use BP_SYM.
32781 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
32782 <bp-sym.h> and <bp-asm.h>.
32783 (__mempcpy): Don't use BP_SYM.
32784 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
32785 <bp-sym.h> and <bp-asm.h>.
32786 (__memrchr): Don't use BP_SYM.
32787 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
32788 <bp-sym.h> and <bp-asm.h>.
32789 (memset): Don't use BP_SYM.
32790 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
32791 <bp-sym.h> and <bp-asm.h>.
32792 (__rawmemchr): Don't use BP_SYM.
32793 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
32794 <bp-sym.h> and <bp-asm.h>.
32795 (__STRCMP): Don't use BP_SYM.
32796 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
32797 <bp-sym.h> and <bp-asm.h>.
32798 (strchr): Don't use BP_SYM.
32799 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
32800 <bp-sym.h> and <bp-asm.h>.
32801 (__strchrnul): Don't use BP_SYM.
32802 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
32803 <bp-sym.h> and <bp-asm.h>.
32804 (strlen): Don't use BP_SYM.
32805 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
32806 <bp-sym.h> and <bp-asm.h>.
32807 (strncmp): Don't use BP_SYM.
32808 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
32809 <bp-sym.h> and <bp-asm.h>.
32810 (__strnlen): Don't use BP_SYM.
32811 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
32813 (__mpn_rshift): Don't use BP_SYM.
32814 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32815 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
32816 <bp-sym.h> and <bp-asm.h>.
32817 (__sigsetjmp): Don't use BP_SYM.
32818 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
32819 (L(start_addresses)): Don't use BP_SYM.
32820 (_start): Likewise.
32821 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
32823 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
32824 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32825 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32826 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
32828 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
32829 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32830 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32831 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
32833 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
32835 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32836 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
32838 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
32840 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32841 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32842 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
32844 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
32846 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
32848 (strncmp): Don't use BP_SYM,
32849 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
32851 (__mpn_sub_n): Don't use BP_SYM.
32852 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32853 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
32855 (__mpn_submul_1): Don't use BP_SYM.
32856 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
32858 <bp-sym.h> and <bp-asm.h>.
32859 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
32860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
32861 <bp-sym.h> and <bp-asm.h>.
32862 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
32865 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32867 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
32868 Use ZK to minimize writes to Z.
32869 (sub_magnitudes): Simplify code a bit.
32870 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
32871 Use ZK to minimize writes to Z.
32872 (sub_magnitudes): Simplify code a bit.
32874 2013-02-27 Roland McGrath <roland@hack.frob.com>
32876 * csu/gmon-start.c: Add special exception to license text.
32878 2013-02-27 Richard Henderson <rth@redhat.com>
32880 * scripts/config.guess: Update from config.git.
32881 * scripts/config.sub: Likewise.
32883 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32885 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
32887 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
32889 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
32891 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
32893 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
32895 2013-02-26 Roland McGrath <roland@hack.frob.com>
32897 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
32898 [$(build-shared = yes].
32900 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32902 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
32903 (__mul): Reduce iterations for calculating mantissa.
32905 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
32907 (__mpranred): Likewise.
32910 * malloc/memusagestat.c (main): Draw graphs for heap and stack
32911 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
32913 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
32915 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
32916 Define __attribute__.
32918 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32920 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
32922 * posix/regex_internal.h (__attribute): Remove.
32923 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
32924 (re_string_context_at): Likewise.
32925 (bitset_not): Use __attribute__ and mark function as possibly
32927 (bitset_merge): Likewise.
32928 (bitset_mask): Likewise.
32929 (re_string_char_size_at): Likewise.
32930 (re_string_wchar_at): Likewise.
32931 (re_string_elem_size_at): Likewise.
32933 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32935 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
32939 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
32943 (denorm): Likewise.
32944 (__dbl_mp): Likewise.
32945 (add_magnitudes): Likewise.
32946 (sub_magnitudes): Likewise.
32950 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
32953 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
32956 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
32959 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
32960 up changes with default code.
32961 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
32964 2013-02-24 Allan McRae <allan@archlinux.org>
32966 * manual/socket.texi (The Internet Namespace): Order menu items
32967 to match that in the file.
32969 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
32970 node listing of the info page menu.
32972 2013-02-21 Joseph Myers <joseph@codesourcery.com>
32975 * sysdeps/i386/bp-asm.h: Remove file.
32976 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32977 (PARMS): Do not use macros from bp-asm.h.
32981 (__mpn_add_n): Do not use BP_SYM
32982 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
32984 (PARMS): Do not use macros from bp-asm.h.
32987 (__mpn_addmul_1): Do not use BP_SYM
32988 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
32990 (PARMS): Do not use macros from bp-asm.h.
32991 (SIGMSK): Likewise.
32992 (_setjmp): Likewise. Do not use BP_SYM.
32993 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
32995 (PARMS): Do not use macros from bp-asm.h.
32996 (SIGMSK): Likewise.
32997 (setjmp): Likewise. Do not use BP_SYM.
32998 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
33000 (PARMS): Do not use macros from bp-asm.h.
33001 (__frexp): Do not use BP_SYM.
33003 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
33005 (PARMS): Do not use macros from bp-asm.h.
33006 (__frexpf): Do not use BP_SYM.
33007 (frexpf): Likewise.
33008 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
33010 (PARMS): Do not use macros from bp-asm.h.
33011 (__frexpl): Do not use BP_SYM.
33012 (frexpl): Likewise.
33013 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
33015 (PARMS): Do not use macros from bp-asm.h.
33016 (__remquo): Do not use BP_SYM.
33017 (remquo): Likewise.
33018 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
33020 (PARMS): Do not use macros from bp-asm.h.
33021 (__remquof): Do not use BP_SYM.
33022 (remquof): Likewise.
33023 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
33025 (PARMS): Do not use macros from bp-asm.h.
33026 (__remquol): Do not use BP_SYM.
33027 (remquol): Likewise.
33028 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
33030 (PARMS): Do not use macros from bp-asm.h.
33033 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
33034 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
33036 (PARMS): Do not use macros from bp-asm.h.
33037 (strlen): Do not use BP_SYM.
33038 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
33040 (PARMS): Do not use macros from bp-asm.h.
33044 (__mpn_add_n): Do not use BP_SYM.
33045 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
33047 (PARMS): Do not use macros from bp-asm.h.
33050 (__mpn_addmul_1): Do not use BP_SYM.
33051 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
33054 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
33056 (PARMS): Do not use macros from bp-asm.h.
33059 (__mpn_lshift): Do not use BP_SYM.
33060 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
33062 (PARMS): Do not use macros from bp-asm.h.
33066 (memcpy): Likewise. Do not use BP_SYM.
33067 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
33068 libc_hidden_def and weak_alias.
33069 (mempcpy): Do not use BP_SYM in weak_alias.
33070 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
33072 (PARMS): Do not use macros from bp-asm.h.
33075 [!BZERO_P] (CHR): Likewise.
33076 (memset): Likewise. Do not use BP_SYM.
33077 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
33079 (PARMS): Do not use macros from bp-asm.h.
33082 (__mpn_mul_1): Do not use BP_SYM.
33083 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
33085 (PARMS): Do not use macros from bp-asm.h.
33088 (__mpn_rshift): Do not use BP_SYM.
33089 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
33091 (PARMS): Do not use macros from bp-asm.h.
33094 (strchr): Likewise. Do not use BP_SYM.
33095 (index): Do not use BP_SYM in weak_alias.
33096 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
33098 (PARMS): Do not use macros from bp-asm.h.
33101 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
33102 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
33104 (PARMS): Do not use macros from bp-asm.h.
33105 (strlen): Do not use BP_SYM.
33106 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
33108 (PARMS): Do not use macros from bp-asm.h.
33112 (__mpn_sub_n): Do not use BP_SYM.
33113 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
33115 (PARMS): Do not use macros from bp-asm.h.
33118 (__mpn_submul_1): Do not use BP_SYM.
33119 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
33121 (PARMS): Do not use macros from bp-asm.h.
33125 (__mpn_add_n): Do not use BP_SYM.
33126 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
33129 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
33131 (PARMS): Do not use macros from bp-asm.h.
33134 (memcmp): Do not use BP_SYM.
33135 (bcmp): Do not use BP_SYM in weak_alias.
33136 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
33138 (PARMS): Do not use macros from bp-asm.h.
33142 (memcpy): Likewise. Do not use BP_SYM.
33143 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
33145 (PARMS): Do not use macros from bp-asm.h.
33149 (memmove): Likewise. Do not use BP_SYM.
33150 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
33152 (PARMS): Do not use macros from bp-asm.h.
33156 (__mempcpy): Likewise. Do not use BP_SYM.
33157 (mempcpy): Do not use BP_SYM in weak_alias.
33158 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
33160 (PARMS): Do not use macros from bp-asm.h.
33163 [!BZERO_P] (CHR): Likewise.
33164 (memset): Likewise. Do not use BP_SYM.
33165 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
33167 (PARMS): Do not use macros from bp-asm.h.
33169 (strcmp): Do not use BP_SYM.
33170 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
33172 (PARMS): Do not use macros from bp-asm.h.
33175 [USE_AS_STRTOK_R] (SAVE): Likewise.
33176 (FUNCTION): Likewise. Do not use BP_SYM.
33177 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
33179 (strtok_r): Likewise.
33180 (__GI___strtok_r): Likewise.
33181 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
33182 (PARMS): Do not use macros from bp-asm.h.
33185 (__mpn_lshift): Do not use BP_SYM.
33186 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
33187 (PARMS): Do not use macros from bp-asm.h.
33190 (__memchr): Do not use BP_SYM.
33191 (memchr): Do not use BP_SYM in weak_alias.
33192 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
33193 (PARMS): Do not use macros from bp-asm.h.
33196 (memcmp): Do not use BP_SYM.
33197 (bcmp): Do not use BP_SYM in weak_alias.
33198 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
33199 (PARMS): Do not use macros from bp-asm.h.
33202 (__mpn_mul_1): Do not use BP_SYM.
33203 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
33205 (PARMS): Do not use macros from bp-asm.h.
33208 (__rawmemchr): Do not use BP_SYM.
33209 (rawmemchr): Do not use BP_SYM in weak_alias.
33210 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
33211 (PARMS): Do not use macros from bp-asm.h.
33214 (__mpn_rshift): Do not use BP_SYM.
33215 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
33216 (PARMS): Do not use macros from bp-asm.h.
33217 (SIGMSK): Likewise.
33218 (__sigsetjmp): Likewise. Do not use BP_SYM.
33219 * sysdeps/i386/start.S: Do not include "bp-sym.h".
33220 (_start): Do not use BP_SYM.
33221 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
33222 (PARMS): Do not use macros from bp-asm.h.
33225 (__stpcpy): Likewise. Do not use BP_SYM.
33226 (stpcpy): Do not use BP_SYM in weak_alias.
33227 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
33229 (PARMS): Do not use macros from bp-asm.h.
33233 (__stpncpy): Likewise. Do not use BP_SYM.
33234 (stpncpy): Do not use BP_SYM in weak_alias.
33235 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
33236 (PARMS): Do not use macros from bp-asm.h.
33239 (strchr): Likewise. Do not use BP_SYM.
33240 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
33242 (PARMS): Do not use macros from bp-asm.h.
33245 (__strchrnul): Likewise. Do not use BP_SYM.
33246 (strchrnul): Do not use BP_SYM in weak_alias.
33247 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
33249 (PARMS): Do not use macros from bp-asm.h.
33251 (strcspn): Do not use BP_SYM.
33252 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
33254 (PARMS): Do not use macros from bp-asm.h.
33257 (strpbrk): Likewise. Do not use BP_SYM.
33258 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
33260 (PARMS): Do not use macros from bp-asm.h.
33263 (strrchr): Likewise. Do not use BP_SYM.
33264 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
33265 (PARMS): Do not use macros from bp-asm.h.
33267 (strspn): Do not use BP_SYM.
33268 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
33269 (PARMS): Do not use macros from bp-asm.h.
33273 (FUNCTION): Likewise. Do not use BP_SYM.
33274 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
33276 (strtok_r): Likewise.
33277 (__GI___strtok_r): Likewise.
33278 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
33279 (PARMS): Do not use macros from bp-asm.h.
33283 (__mpn_sub_n): Do not use BP_SYM.
33284 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
33286 (PARMS): Do not use macros from bp-asm.h.
33289 (__mpn_submul_1): Do not use BP_SYM.
33290 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
33292 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
33294 (PARMS): Do not use macros from bp-asm.h.
33299 (__clone): Do not use BP_SYM.
33300 (clone): Do not use BP_SYM in weak_alias.
33301 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
33303 (PARMS): Do not use macros from bp-asm.h.
33305 (__mmap64): Do not use BP_SYM.
33306 (mmap64): Do not use BP_SYM in weak_alias.
33307 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33308 <bp-sym.h> and <bp-asm.h>.
33309 (PARMS): Do not use macros from bp-asm.h.
33310 (__posix_fadvise64_l64): Do not use BP_SYM.
33311 * sysdeps/unix/sysv/linux/i386/semtimedop.S
33312 (PARMS): Do not use macros from bp-asm.h.
33314 (semtimedop): Do not use BP_SYM.
33315 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
33318 2013-02-21 Allan McRae <allan@archlinux.org>
33320 * manual/message.texi (Charset conversion in gettext):
33321 Move @end statement to beginning of line.
33323 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33325 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
33327 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33330 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
33331 (denorm): Likewise.
33332 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
33333 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
33335 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33337 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
33338 tail-call to the resolved function if pltexit isn't needed.
33340 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33342 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
33343 or Y being zero as being unlikely.
33344 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
33347 2013-02-20 Carlos O'Donell <carlos@redhat.com>
33349 * manual/nss.texi (System Databases and Name Service Switch):
33350 Remove frobnicate @pxref.
33352 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
33354 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
33355 __attribute__ ((unused)) to __attribute__ ((__unused__)).
33357 2013-02-20 Petr Machata <pmachata@redhat.com>
33359 * elf/elf.h (R_ARM_TARGET1): New macro.
33360 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
33361 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
33362 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
33363 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
33364 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
33365 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
33366 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
33367 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
33368 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
33369 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
33370 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
33371 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
33372 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
33373 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
33374 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
33375 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
33376 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
33377 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
33378 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
33379 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
33380 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
33381 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
33382 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
33383 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
33384 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
33385 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
33386 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
33387 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
33388 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
33389 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
33390 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
33391 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
33392 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
33393 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
33394 (R_ARM_THM_GOT_BREL12): Likewise.
33395 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
33396 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
33397 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
33398 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
33399 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
33400 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
33401 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
33402 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
33403 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
33405 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
33407 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
33408 __attribute_used__ to __attribute__ ((unused)).
33410 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33412 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
33414 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
33415 comment formatting.
33416 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
33418 2013-02-19 Joseph Myers <joseph@codesourcery.com>
33421 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
33423 (ENTER): Remove both macro definitions.
33425 (CHECK_BOUNDS_LOW): Likewise.
33426 (CHECK_BOUNDS_HIGH): Likewise.
33427 (CHECK_BOUNDS_BOTH): Likewise.
33428 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
33429 (RETURN_BOUNDED_POINTER): Likewise.
33430 (RETURN_NULL_BOUNDED_POINTER): Likewise.
33431 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
33432 (POP_ERRNO_LOCATION_RETURN): Likewise.
33433 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
33434 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33435 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
33437 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33438 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
33439 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
33440 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
33441 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
33442 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
33443 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
33444 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
33445 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
33446 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
33447 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
33448 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
33449 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33450 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
33452 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33453 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
33455 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33456 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
33457 * sysdeps/i386/i586/memset.S (memset): Likewise.
33458 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
33459 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33460 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
33462 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33463 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
33464 Change uses of L(2) to L(out).
33465 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
33466 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
33467 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
33468 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33469 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
33471 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33472 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
33474 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33475 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
33476 (RETURN): Do not use macro LEAVE.
33477 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
33478 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
33479 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
33480 * sysdeps/i386/i686/memset.S (memset): Likewise.
33481 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
33482 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
33483 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33484 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
33486 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33487 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
33488 L(1_2) and L(1_3) into L(1).
33489 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
33490 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
33491 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33492 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
33493 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33494 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
33495 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
33496 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33497 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
33499 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
33500 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33501 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
33502 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
33503 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
33504 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33505 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
33506 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
33507 * sysdeps/i386/strcspn.S (strcspn): Likewise.
33508 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
33509 * sysdeps/i386/strrchr.S (strrchr): Likewise.
33510 * sysdeps/i386/strspn.S (strspn): Likewise.
33511 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
33513 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33514 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
33515 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
33516 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
33517 L(1_3) into L(1_1).
33518 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
33519 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33520 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
33522 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33524 2013-02-19 Jakub Jelinek <jakub@redhat.com>
33526 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
33529 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33531 * math/atest-exp.c (exp_mpn): Remove ROUND.
33532 * math/atest-exp2.c (exp_mpn): Likewise.
33533 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
33535 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
33536 * stdlib/tst-tls-atexit-lib.c: Likewise.
33537 * stdlib/tst-tls-atexit.c: Likewise.
33539 2013-02-18 Mike Frysinger <vapier@gentoo.org>
33541 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
33542 and __attribute_alloc_size__.
33544 2013-02-18 Mike Frysinger <vapier@gentoo.org>
33546 * include/programs/xmalloc.h: Change __attribute_alloc_size to
33547 __attribute_alloc_size__.
33548 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
33549 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
33551 2013-02-18 Mike Frysinger <vapier@gentoo.org>
33553 * include/programs/xmalloc.h: New file.
33554 * catgets/gencat.c: Include it.
33555 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
33556 * elf/pldd.c: Likewise.
33557 * iconv/iconv_charmap.c: Likewise.
33558 * iconv/iconvconfig.c: Likewise.
33559 * iconv/strtab.c: Likewise.
33560 * locale/programs/locale.c: Likewise.
33561 * locale/programs/localedef.h: Likewise.
33562 * locale/programs/simple-hash.c: Likewise.
33563 * nscd/nscd.h: Likewise.
33564 * nss/makedb.c: Likewise.
33565 * sysdeps/generic/ldconfig.h: Likewise.
33567 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33569 * Versions.def: Add GLIBC_2.18.
33570 * include/link.h (struct link_map): New member l_tls_dtor_count.
33571 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
33572 (__call_tls_dtors): Likewise.
33573 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
33574 __cxa_thread_atexit_impl.
33575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33579 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
33581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
33583 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33584 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
33586 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
33588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33589 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33591 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
33592 (tests): Add test case tst-tls-atexit.
33593 (modules-names): Add shared library for tst-tls-atexit.
33594 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
33595 (GLIBC_PRIVATE): Add __call_tls_dtors.
33596 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
33598 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
33599 * stdlib/tst-tls-atexit.c: New test case.
33600 * stdlib/tst-tls-atexit-lib.c: New test case.
33602 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
33604 * elf/Versions (ld): Add _dl_find_dso_for_object.
33605 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
33606 * elf/dl-open.c (_dl_find_dso_for_object): New function.
33607 (dl_open_worker): Use _dl_find_dso_for_object.
33608 * elf/dl-sym.c (do_sym): Likewise.
33609 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
33611 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33613 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
33614 Syntactic changes only.
33615 (_dl_runtime_profile): Do a tail-call to the resolved function.
33617 2013-02-17 Joseph Myers <joseph@codesourcery.com>
33620 * sysdeps/x86_64/bp-asm.h: Remove file.
33621 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
33622 <bp-sym.h> and <bp-asm.h>.
33623 (__clone): Do not use BP_SYM.
33624 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
33625 <bp-sym.h> and <bp-asm.h>.
33626 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33627 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
33629 (_setjmp): Do not use BP_SYM.
33630 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
33632 (setjmp): Do not use BP_SYM.
33633 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
33635 (mempcpy): Do not use BP_SYM in weak_alias.
33636 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
33638 (strchr): Do not use BP_SYM.
33639 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
33641 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
33642 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
33643 (_start): Do not use BP_SYM.
33644 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
33646 (strcat): Do not use BP_SYM.
33647 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
33649 (STRCMP): Do not use BP_SYM.
33650 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
33652 (STRCPY): Do not use BP_SYM.
33653 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
33655 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
33657 (FUNCTION): Do not use BP_SYM.
33658 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
33660 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
33662 2013-02-17 Andreas Jaeger <aj@suse.de>
33664 * time/Versions: Sort entries.
33665 * string/Versions: Likewise.
33666 * resolv/Versions: Likewise.
33667 * posix/Versions: Likewise.
33668 * iconv/Versions: Likewise.
33669 * elf/Versions: Likewise.
33670 * wcsmbs/Versions: Likewise.
33672 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33674 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
33675 loop termination condition.
33677 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
33678 variable to calculate EZ.
33681 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
33682 the lower precision input.
33684 2013-02-15 Joseph Myers <joseph@codesourcery.com>
33687 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
33688 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
33689 (run-via-rtld-prefix): Do not handle %-bp tests.
33690 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
33691 (all-object-suffixes): Remove .ob.
33692 (bppfx): Remove variable.
33693 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
33694 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
33695 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
33696 [$(build-bounded) = yes] (libtype.ob): Likewise.
33697 * Makerules (elide-routines.ob): Remove variable.
33698 (do-tests-clean): Do not handle *-bp.out.
33699 (common-mostlyclean): Do not handle *-bp and *-bp.out.
33700 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
33701 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
33702 (tests): Do not include $(tests-bp.out).
33703 (xtests): Do not include $(xtests-bp.out).
33704 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
33705 [$(build-bounded) = yes] ($(addprefix
33706 $(objpfx),$(binaries-bounded))): Remove rule.
33707 ($(objpfx)%-bp.out): Remove rule.
33708 * config.make.in (build-bounded): Remove variable.
33709 * crypt/Makefile [$(build-bounded) = yes]
33710 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
33711 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
33712 append to variable.
33713 [$(build-bounded) = yes] (install-lib): Likewise.
33714 [$(build-bounded) = yes] (generated): Likewise.
33715 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
33717 * intl/Makefile [$(build-bounded) = yes]
33718 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
33719 * math/Makefile [$(build-bounded) = yes]
33720 ($(tests:%=$(objpfx)%-bp): Likewise.
33721 * misc/Makefile [$(build-bounded) = yes]
33722 ($(objpfx)tst-tsearch-bp): Likewise.
33723 * nptl/Makeconfig (bounded-thread-library): Remove variable.
33724 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
33726 * string/Makefile (o-objects.ob): Remove variable.
33727 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
33728 (CFLAGS-.ob): Remove variable.
33729 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
33730 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
33731 both definitions of variable.
33732 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
33733 (ASFLAGS-.ob): Remove variable.
33735 2013-02-14 Joseph Myers <joseph@codesourcery.com>
33738 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
33739 Remove __BOUNDED_POINTERS__ from condition.
33740 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
33741 * string/bits/string2.h [!__NO_STRING_INLINES &&
33742 !__BOUNDED_POINTERS__]: Likewise.
33743 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
33745 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
33746 Remove conditional code.
33747 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
33748 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
33749 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
33753 * csu/libc-start.c: Do not include <bp-sym.h>.
33754 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
33755 * elf/dl-open.c: Do not include <bp-sym.h>.
33756 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
33757 * math/fegetenv.c: Do not include <bp-sym.h>.
33758 (fegetenv): Do not use BP_SYM in versioned symbols.
33759 * nptl/sysdeps/pthread/bits/libc-lockP.h
33760 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
33762 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33763 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
33764 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33765 (__pthread_mutex_destroy): Likewise.
33766 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33767 (__pthread_mutex_lock): Likewise.
33768 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33769 (__pthread_mutex_trylock): Likewise.
33770 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33771 (__pthread_mutex_unlock): Likewise.
33772 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33773 (__pthread_mutexattr_init): Likewise.
33774 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33775 (__pthread_mutexattr_destroy): Likewise.
33776 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33777 (__pthread_mutexattr_settype): Likewise.
33778 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33779 (__pthread_rwlock_init): Likewise.
33780 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33781 (__pthread_rwlock_destroy): Likewise.
33782 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33783 (__pthread_rwlock_rdlock): Likewise.
33784 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33785 (__pthread_rwlock_tryrdlock): Likewise.
33786 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33787 (__pthread_rwlock_wrlock): Likewise.
33788 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33789 (__pthread_rwlock_trywrlock): Likewise.
33790 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33791 (__pthread_rwlock_unlock): Likewise.
33792 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33793 (__pthread_key_create): Likewise.
33794 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33795 (__pthread_setspecific): Likewise.
33796 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33797 (__pthread_getspecific): Likewise.
33798 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
33800 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33801 (_pthread_cleanup_push_defer): Likewise.
33802 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33803 (_pthread_cleanup_pop_restore): Likewise.
33804 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33805 (pthread_setcancelstate): Likewise.
33806 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
33808 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
33809 (memchr): Do not use BP_SYM in weak_alias.
33810 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
33811 (fegetenv): Do not use BP_SYM in versioned symbols.
33812 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
33813 (fesetenv): Do not use BP_SYM in versioned symbols.
33814 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
33815 (feupdateenv): Do not use BP_SYM in versioned symbols.
33816 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
33817 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
33818 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
33819 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
33820 (open64): Do not use BP_SYM in weak_alias.
33821 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
33822 (fegetenv): Do not use BP_SYM in versioned symbols.
33823 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
33824 (fesetenv): Do not use BP_SYM in versioned symbols.
33825 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
33826 (feupdateenv): Do not use BP_SYM in versioned symbols.
33827 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
33828 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
33829 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
33830 (feraiseexcept): Do not use BP_SYM in versioned symbols.
33831 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
33832 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
33833 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
33835 (__libc_start_main): Do not use BP_SYM.
33837 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33839 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
33840 redundant return line.
33842 (denorm): Likewise.
33843 (dbl_mp): Likewise.
33844 (sub_magnitudes): Likewise.
33850 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
33852 (denorm): Likewise.
33853 (dbl_mp): Likewise.
33854 (sub_magnitudes): Likewise.
33861 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
33863 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33864 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
33867 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
33868 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
33869 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
33870 of __mul for squares.
33871 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
33873 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
33875 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
33876 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33878 2013-02-13 Joseph Myers <joseph@codesourcery.com>
33881 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
33883 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
33884 prototype or function definition. Rename ubp_* variables and
33885 parameters. Remove argv definitions conditional on
33886 [__BOUNDED_POINTERS__].
33887 * debug/backtrace.c (__backtrace): Do not use __unbounded.
33888 * elf/dl-runtime.c (_dl_fixup): Likewise.
33889 * include/set-hooks.h (RUN_HOOK): Likewise.
33890 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
33892 * string/strcpy.c (strcpy): Do not use __unbounded.
33893 * sysdeps/generic/frame.h (struct layout): Likewise.
33894 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
33895 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
33896 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
33897 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
33898 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
33899 (__backtrace): Likewise.
33900 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
33902 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
33903 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
33904 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
33906 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
33907 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
33908 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
33909 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33910 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
33911 Do not use __unbounded.
33912 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
33913 Rename __unboundedrlimits parameter to rlimits in prototype.
33914 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
33915 Do not use __unbounded.
33916 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
33917 not use __ptrvalue.
33918 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33919 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
33920 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33921 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
33922 __ptrvalue or __unbounded.
33923 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
33924 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
33926 (__new_msgctl): Do not use __ptrvalue.
33927 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
33929 (__libc_msgrcv): Do not use __ptrvalue.
33930 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
33931 startup_info): Do not use __unbounded.
33932 (__libc_start_main): Likewise. Rename ubp_* variables and
33933 parameters. Remove argv definitions conditional on
33934 [__BOUNDED_POINTERS__].
33935 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
33937 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
33939 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
33941 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
33943 (__new_shmctl): Do not use __ptrvalue.
33944 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
33945 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
33947 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
33948 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
33949 (__libc_sigaction): Likewise.
33950 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
33951 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
33953 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33955 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
33957 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
33959 * string/mempcpy.c: Implement by calling memcpy.
33961 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33963 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
33965 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
33968 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
33969 values in the mantissa.
33971 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
33972 minimize writes to Z.
33973 (sub_magnitudes): Simplify code a bit.
33975 2013-02-12 Roland McGrath <roland@hack.frob.com>
33977 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
33978 from the message. The linker prefixes all warnings with that already.
33980 2013-02-12 Andreas Schwab <schwab@suse.de>
33983 * posix/regexec.c (extend_buffers): Add parameter min_len.
33984 (check_matching): Pass minimum needed length.
33985 (clean_state_log_if_needed): Likewise.
33986 (get_subexp): Likewise.
33987 * posix/Makefile (tests): Add bug-regex34.
33988 (bug-regex34-ENV): Define.
33989 * posix/bug-regex34.c: New file.
33992 * posix/regcomp.c (parse_bracket_exp): When looking up collating
33993 elements compare against the byte sequence of it, not its name.
33994 * posix/Makefile (tests): Add bug-regex35.
33995 (bug-regex35-ENV): Define.
33996 * posix/bug-regex35.c: New file.
33998 2013-02-11 Tom de Vries <tom@codesourcery.com>
34000 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
34002 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
34003 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
34004 (CHECK_EOL): Add undef.
34006 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
34008 * bits/stdlib-bsearch.h: New file.
34009 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
34010 * stdlib/stdlib.h: Likewise.
34012 2013-02-11 Roland McGrath <roland@hack.frob.com>
34014 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
34015 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
34017 * manual/search.texi (Array Search Function): Add missing const in
34019 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
34020 declaration to use rlim_t.
34021 (Basic Scheduling Functions): Remove erroneous const from
34022 sched_getparam prototype. Remove erroneous * from
34023 sched_get_priority_max and sched_get_priority_min prototypes.
34024 (Resource Usage): Fix summary @comment on vtimes to refer to
34025 sys/vtimes.h rather than vtimes.h.
34026 Add missing *s in vtimes prototype.
34027 (Limits on Resources): Fix ulimit prototype to return long int.
34028 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
34029 prototypes to use long int rather than double.
34030 (BSD Random): Fix initstate and setstate to use char *, not void *.
34031 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
34032 prototype to make second argument 'struct aiocb64 *const[]'.
34033 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
34034 (Status of AIO Operations): Remove erroneous const in aio_return and
34035 aio_return64 prototypes.
34036 (Synchronizing I/O): Fix sync prototype to return void.
34037 * manual/startup.texi (Suboptions): Remove an erroneous const in
34038 getsubopt prototype.
34039 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
34040 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
34041 use size_t rather than int.
34042 (Scanning All Users): Likewise for getpwent_r.
34043 (Setting Groups): Add missing const to setgroups prototype.
34044 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
34045 * manual/socket.texi (Host Names): Fix gethostbyaddr and
34046 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
34047 'const void *' rather than 'const char *'.
34048 (Host Address Functions): Likewise for inet_ntop.
34049 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
34050 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
34051 ssize_t for return value.
34052 (Sending Data): Likewise for send, sendto, sendmsg.
34053 (Socket Option Functions): Add a missing const in setsockopt prototype.
34054 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
34055 use wchar_t for the argument.
34056 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
34057 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
34059 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
34060 double/float/long double for second argument.
34061 Fix return types of significand, significandf, significandl.
34062 * manual/filesys.texi (Setting Permissions): Use mode_t for second
34063 argument in fchmod prototype.
34064 (File Owner): Use uid_t and gid_t in fchown prototype.
34065 (File Times): Add const to utimes, futimes, and lutimes prototypes.
34066 (Making Special Files): Use mode_t and dev_t in mknod prototype.
34067 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
34068 use 'const struct dirent **' as argument types to CMP function pointer
34070 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
34071 (File Times): Fix summary magic @comment for struct utimbuf and utime
34072 to refer to utime.h, not time.h.
34073 * manual/string.texi (Argz Functions): Add missing const in
34074 argz_extract and argz_next prototypes.
34075 (Finding Tokens in a String): Likewise for basename.
34076 (String/Array Comparison): Fix typo in wcscasecmp prototype.
34077 (Copying and Concatenation): Fix typo in wmemmove prototype.
34078 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
34079 (Signal Stack): Remove erroneous const in sigstack prototype.
34080 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
34082 (Simple Calendar Time): Likewise for stime.
34083 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
34085 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
34086 say sys/sysctl.h instead.
34087 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
34088 and vsyslog prototypes.
34090 2013-02-11 Tom de Vries <tom@codesourcery.com>
34092 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
34095 2013-02-11 Roland McGrath <roland@hack.frob.com>
34097 * misc/sys/mman.h: Fix typo in mremap comment.
34099 2013-02-08 Roland McGrath <roland@hack.frob.com>
34101 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
34102 the '\0' terminator.
34104 2013-02-08 Joseph Myers <joseph@codesourcery.com>
34107 * debug/segfault.c: Don't include <bp-checks.h>.
34108 * sysdeps/generic/bp-checks.h: Remove file.
34109 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
34110 (__GETDENTS): Don't use CHECK_N.
34111 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
34112 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
34113 (__getgroups): Don't use CHECK_N.
34114 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
34115 (setgroups): Don't use CHECK_N.
34116 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
34117 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
34118 (__libc_msgrcv): Don't use CHECK_N.
34119 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
34120 (__libc_msgsnd): Don't use CHECK_N.
34121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
34123 (__libc_pread): Don't use CHECK_N.
34124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
34125 include <bp-checks.h>.
34126 (__libc_pread64): Don't use CHECK_N.
34127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
34128 include <bp-checks.h>.
34129 (__libc_pwrite): Don't use CHECK_N.
34130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
34131 include <bp-checks.h>.
34132 (__libc_pwrite64): Don't use CHECK_N.
34133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
34135 (__libc_pread): Don't use CHECK_N.
34136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
34137 include <bp-checks.h>.
34138 (__libc_pread64): Don't use CHECK_N.
34139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
34140 include <bp-checks.h>.
34141 (__libc_pwrite): Don't use CHECK_N.
34142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
34143 include <bp-checks.h>.
34144 (__libc_pwrite64): Don't use CHECK_N.
34145 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
34146 (do_pread): Don't use CHECK_N.
34147 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
34148 (do_pread64): Don't use CHECK_N.
34149 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
34150 (do_pwrite): Don't use CHECK_N.
34151 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
34152 (do_pwrite64): Don't use CHECK_N.
34153 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
34154 (__libc_readv): Don't use CHECK_N.
34155 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
34156 (semop): Don't use CHECK_N.
34157 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
34159 (semtimedop): Don't use CHECK_N.
34160 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
34161 (__libc_pread): Don't use CHECK_N.
34162 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
34164 (__libc_pread64): Don't use CHECK_N.
34165 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
34167 (__libc_pwrite): Don't use CHECK_N.
34168 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
34170 (__libc_pwrite64): Don't use CHECK_N.
34171 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
34173 (__libc_msgrcv): Don't use CHECK_N.
34174 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
34175 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
34176 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
34177 (__libc_writev): Don't use CHECK_N.
34179 2013-02-08 Roland McGrath <roland@hack.frob.com>
34181 * string/strcpy.c: Removed unused variable.
34183 * Makeconfig (+sysdep-includes): Define with := rather than =.
34184 Use an existing include/ subdir of each sysdeps dir before it.
34186 2013-02-08 Carlos O'Donell <carlos@redhat.com>
34188 * nscd/connection.c (register_traced_file): Comment function.
34189 [HAVE_INOTIFY] (union __inev): Define.
34190 [HAVE_INOTIFY] (inotify_check_files): New function.
34191 [HAVE_INOTIFY] (clear_db_cache): Likewise.
34192 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
34194 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
34196 2013-02-08 Carlos O'Donell <carlos@redhat.com>
34198 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
34199 loaded if not already and that a failure is permanent.
34201 2013-02-08 Carlos O'Donell <carlos@redhat.com>
34204 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
34205 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
34207 2013-02-08 Joseph Myers <joseph@codesourcery.com>
34210 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
34211 (CHECK_1_NULL_OK): Likewise.
34212 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
34213 (__fxstat): Do not use CHECK_1.
34214 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
34216 (___fxstat64): Do not use CHECK_1.
34217 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
34219 (__fxstatat): Do not use CHECK_1.
34220 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
34222 (__fxstatat64): Do not use CHECK_1.
34223 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
34225 (__fxstat): Do not use CHECK_1.
34226 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
34228 (__fxstatat): Do not use CHECK_1.
34229 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34231 (__getresgid): Do not use CHECK_1.
34232 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34234 (__getresuid): Do not use CHECK_1.
34235 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
34237 (__lxstat): Do not use CHECK_1.
34238 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34240 (__old_msgctl): Do not use CHECK_1.
34241 (__new_msgctl): Likewise.
34242 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
34244 (__new_setrlimit): Do not use CHECK_1.
34245 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34247 (__old_shmctl): Do not use CHECK_1.
34248 (__new_shmctl): Likewise.
34249 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
34251 (__xstat): Do not use CHECK_1.
34252 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
34253 (__lxstat): Do not use CHECK_1.
34254 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
34256 (___lxstat64): Do not use CHECK_1.
34257 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
34258 (__old_msgctl): Do not use CHECK_1.
34259 (__new_msgctl): Likewise.
34260 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
34262 (__gettimeofday): Do not use CHECK_1.
34263 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
34264 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
34265 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
34267 (__gettimeofday): Do not use CHECK_1.
34268 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
34269 (__old_shmctl): Do not use CHECK_1_NULL_OK.
34270 (__new_shmctl): Do not use CHECK_1.
34271 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
34273 (do_sigtimedwait): Do not use CHECK_1.
34274 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
34276 (do_sigwaitinfo): Do not use CHECK_1.
34277 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
34279 (msgctl): Do not use CHECK_1.
34280 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
34282 (shmctl): Do not use CHECK_1.
34283 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
34284 (ustat): Do not use CHECK_1.
34285 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
34287 (__fxstat): Do not use CHECK_1.
34288 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
34290 (__fxstatat): Do not use CHECK_1.
34291 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
34293 (__lxstat): Do not use CHECK_1.
34294 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
34296 (__xstat): Do not use CHECK_1.
34297 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
34298 (__xstat): Do not use CHECK_1.
34299 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
34300 (___xstat64): Do not use CHECK_1.
34303 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
34305 (CHECK_BOUNDS_HIGH): Likewise.
34306 * string/strcpy.c: Do not include <bp-checks.h>.
34307 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
34309 2013-02-07 Roland McGrath <roland@hack.frob.com>
34311 * nscd/nscd-client.h (__nscd_drop_map_ref):
34312 Add __attribute__ ((unused)).
34313 * nis/nss-nisplus.h (niserr2nss): Likewise.
34315 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
34316 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
34318 * csu/libc-tls.c (init_static_tls, init_slotinfo):
34319 Remove inline keyword.
34320 * include/rounding-mode.h (round_away): Likewise.
34321 * libio/wfileops.c (adjust_wide_data): Likewise.
34322 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
34323 (__m128i_strloadu_tolower): Likewise.
34324 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
34325 (__m128i_strloadu_tolower): Likewise.
34326 * time/mktime.c (ydhms_diff): Likewise.
34327 * locale/elem-hash.h (elem_hash): Likewise.
34328 * locale/setlocale.c (setdata): Likewise.
34329 * posix/regex_internal.h (re_string_char_size_at): Likewise.
34330 (re_string_wchar_at): Likewise.
34331 (bitset_not, bitset_merge, bitset_mask): Likewise.
34332 [!(__GNUC__ > 3)] (inline): Remove macro.
34333 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
34334 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
34335 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
34336 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
34337 * string/memcmp.c (memcmp_bytes): Likewise.
34338 * locale/programs/locarchive.c (compute_hashval): Likewise.
34339 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
34340 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
34341 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
34342 * nss/getent.c (print_rpc, print_protocols): Likewise.
34343 (print_passwd, print_group, print_aliases): Likewise.
34344 * nis/nss-nisplus.h (niserr2nss): Likewise.
34345 * nscd/connections.c (restart_p): Likewise.
34346 Change return type to bool.
34348 2013-02-05 Roland McGrath <roland@hack.frob.com>
34350 * Makeconfig (all-Depend-files): Add existing
34351 $(sorted-subdirs:=/Depend) files.
34352 (all-subdirs): Remove nss.
34353 * sysdeps/unix/inet/Subdirs: Add it here instead.
34354 * hesiod/Depend: New file.
34356 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
34357 instead of calling alloca.
34359 * io/lseek.c (__lseek): Rename to __libc_lseek.
34360 Define __lseek as an alias.
34362 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
34364 2013-02-04 Carlos O'Donell <carlos@redhat.com>
34366 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
34367 else clause and remove check for non-standard endianness.
34369 2013-02-04 David S. Miller <davem@davemloft.net>
34371 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34373 2013-02-04 Joseph Myers <joseph@codesourcery.com>
34376 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
34377 (__ubp_memchr): Remove prototype.
34378 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
34379 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
34380 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
34381 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
34382 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
34384 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
34385 (__ubp_memchr): Likewise.
34386 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
34387 (__ubp_memchr): Likewise.
34388 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
34389 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
34390 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
34391 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
34393 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
34394 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
34395 (__getcwd): Do not use CHECK_STRING.
34396 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34398 (__real_chown): Do not use CHECK_STRING.
34399 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
34401 (fchownat): Do not use CHECK_STRING.
34402 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
34404 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34406 (__lchown): Do not use CHECK_STRING.
34407 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
34408 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
34409 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
34410 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
34411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34412 include <bp-checks.h>.
34413 (truncate64): Do not use CHECK_STRING.
34414 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34416 (__real_chown): Do not use CHECK_STRING.
34417 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34419 (__lchown): Do not use CHECK_STRING.
34420 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34422 (__chown): Do not use CHECK_STRING.
34423 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
34425 (truncate64): Do not use CHECK_STRING.
34426 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
34428 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
34429 (__xmknod): Do not use CHECK_STRING.
34430 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
34432 (__xmknodat): Do not use CHECK_STRING.
34433 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
34434 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
34436 2013-02-04 Andreas Schwab <schwab@suse.de>
34439 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
34440 * include/netdb.h: Likewise for h_errno.
34441 * elf/tst-stackguard1.c: Include <tls.h>.
34443 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
34445 * elf/link.h (struct link_map): Extend the l_addr comment.
34446 * include/link.h (struct link_map): Likewise.
34448 2013-02-01 Joseph Myers <joseph@codesourcery.com>
34451 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
34452 (BOUNDED_1): Remove macro.
34453 * debug/backtrace.c: Don't include <bp-checks.h>.
34454 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
34455 (__backtrace): Likewise.
34456 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
34458 (__backtrace): Don't use BOUNDED_1.
34459 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
34461 (__backtrace): Don't use BOUNDED_1.
34462 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
34463 (__backtrace): Don't use BOUNDED_1.
34464 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
34465 (shmat): Don't use BOUNDED_N.
34467 2013-01-31 Joseph Myers <joseph@codesourcery.com>
34470 * sysdeps/generic/bp-start.h: Remove file.
34471 * csu/libc-start.c: Don't include <bp-start.h>.
34472 (LIBC_START_MAIN): Set up __environ directly instead of using
34473 INIT_ARGV_and_ENVIRON.
34474 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
34478 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
34480 (CHECK_FCNTL): Likewise.
34481 (CHECK_N_PAGES): Likewise.
34484 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
34486 (CHECK_SIGSET_NULL_OK): Likewise.
34487 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
34489 (sigpending): Don't use CHECK_SIGSET.
34490 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
34492 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
34493 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
34495 (do_sigsuspend): Don't use CHECK_SIGSET.
34496 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
34498 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
34499 (do_sigwait): Don't use CHECK_SIGSET.
34500 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
34502 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
34503 include <bp-checks.h>.
34504 (sigpending): Don't use CHECK_SIGSET.
34505 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
34506 include <bp-checks.h>.
34507 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
34508 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
34510 (sigpending): Don't use CHECK_SIGSET.
34511 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
34513 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
34516 * sysdeps/generic/bp-semctl.h: Remove file.
34517 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
34518 <bp-checks.h> and <bp-semctl.h>.
34519 (__old_semctl): Don't use CHECK_SEMCTL.
34520 (__new_semctl): Likewise.
34521 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
34523 (__old_semctl): Don't use CHECK_SEMCTL.
34524 (__new_semctl): Likewise.
34525 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
34526 <bp-checks.h> and <bp-semctl.h>.
34527 (__old_semctl): Don't use CHECK_SEMCTL.
34528 (__new_semctl): Likewise.
34529 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
34530 <bp-checks.h> and <bp-semctl.h>.
34531 (semctl): Don't use CHECK_SEMCTL.
34534 * Makerules (elide-bp-thunks): Remove variable.
34535 (elide-routines.oS): Don't use $(elide-bp-thunks).
34536 (elide-routines.os): Likewise.
34537 (elide-routines.o): Likewise.
34538 (elide-routines.op): Likewise.
34539 (elide-routines.og): Likewise.
34540 (objects): Don't use $(bp-thunks).
34541 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
34543 (common-generated): Do not add s-proto-bp.d.
34544 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
34547 Do not generate makefile rules for bounded-pointer thunks.
34548 * sysdeps/generic/bp-thunks.h: Remove file.
34549 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
34550 * sysdeps/unix/s-proto-bp.S: Likewise.
34553 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
34554 parts of result separately when argument is not close to line from
34555 -i to i and one part of argument is small.
34556 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34557 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34558 * math/libm-test.inc (cacos_test): Add more tests.
34559 (casin_test): Likewise.
34560 (casinh_test): Likewise.
34561 * sysdeps/i386/fpu/libm-test-ulps: Update.
34562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34564 2013-01-31 David S. Miller <davem@davemloft.net>
34566 * po/de.po: Update from translation team.
34568 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
34570 * time/tzfile.c: Include stdint.h for SIZE_MAX.
34572 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
34574 * configure.in (_AC_PROG_CC_C89): New definition.
34575 * configure: Regenerate.
34577 * configure.in (AC_PROG_CPP): New definition.
34578 * configure: Regenerate.
34580 2013-01-23 Joseph Myers <joseph@codesourcery.com>
34582 * debug/tst-backtrace.h: New file.
34583 * debug/tst-backtrace2.c: Include tst-backtrace.h.
34584 (ret): Remove variable.
34586 (FAIL): Remove macro.
34587 (NO_INLINE): Likewise.
34588 (fn1): Use match function instead of strstr.
34589 * debug/tst-backtrace3.c: Include tst-backtrace.h.
34590 (ret): Remove variable.
34592 (FAIL): Remove macro.
34593 (NO_INLINE): Likewise.
34594 (fn): Use match function instead of strstr.
34595 * debug/tst-backtrace4.c: Include tst-backtrace.h.
34596 (ret): Remove variable.
34598 (FAIL): Remove macro.
34599 (NO_INLINE): Likewise.
34600 (handle_signal): Use match function instead of strstr.
34601 * debug/tst-backtrace5.c: Include tst-backtrace.h.
34602 (ret): Remove variable.
34604 (FAIL): Remove macro.
34605 (NO_INLINE): Likewise.
34606 (handle_signal): Use match function instead of strstr.
34608 2013-01-23 Roland McGrath <roland@hack.frob.com>
34610 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
34612 2013-01-23 David S. Miller <davem@davemloft.net>
34614 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
34615 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
34616 argument of CAS if possible.
34617 * sysdeps/sparc/sparc64/bits/atomic.h
34618 (__arch_compare_and_exchange_val_32_acq): Likewise.
34619 (__arch_compare_and_exchange_val_64_acq): Likewise.
34621 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
34623 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
34624 * sysdeps/posix/ulimit.c: ... this.
34625 Include <limits.h>.
34626 * sysdeps/unix/bsd/ulimit.c: Remove file.
34628 2013-01-23 Adam Conrad <adconrad@0c3.net>
34630 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
34631 (LDFLAGS-tst-array5): Likewise.
34633 2013-01-23 Joseph Myers <joseph@codesourcery.com>
34636 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
34637 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
34638 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
34639 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
34641 2013-01-21 David S. Miller <davem@davemloft.net>
34643 * sysdeps/sparc/backtrace.c: New file.
34644 * sysdeps/sparc/sparc32/backtrace.h: New file.
34645 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
34646 * sysdeps/sparc/sparc64/backtrace.h: New file.
34647 * sysdeps/sparc/sparc64/backtrace.c: Delete.
34648 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
34651 2013-01-21 Andreas Schwab <schwab@suse.de>
34654 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
34657 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
34659 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
34661 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34663 2013-01-18 Joseph Myers <joseph@codesourcery.com>
34664 Mark Mitchell <mark@codesourcery.com>
34665 Tom de Vries <tom@codesourcery.com>
34666 Paul Pluzhnikov <ppluzhnikov@google.com>
34668 * debug/tst-backtrace2.c: New file.
34669 * debug/tst-backtrace3.c: Likewise.
34670 * debug/tst-backtrace4.c: Likewise.
34671 * debug/tst-backtrace5.c: Likewise.
34672 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
34673 (CFLAGS-tst-backtrace3.c): Likewise.
34674 (CFLAGS-tst-backtrace4.c): Likewise.
34675 (CFLAGS-tst-backtrace5.c): Likewise.
34676 (LDFLAGS-tst-backtrace2): Likewise.
34677 (LDFLAGS-tst-backtrace3): Likewise.
34678 (LDFLAGS-tst-backtrace4): Likewise.
34679 (LDFLAGS-tst-backtrace5): Likewise.
34680 (tests): Add new tests tst-backtrace2, tst-backtrace3,
34681 tst-backtrace4 and tst-backtrace5.
34683 2013-01-18 Anton Blanchard <anton@samba.org>
34684 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34686 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
34687 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
34688 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
34689 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
34690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34691 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
34692 "+r" and remove output regs list as redundant. Add explicit inline
34693 asm to specify register of return val to work around compiler codegen
34694 bug. Remove (int) cast on return value. Add return type parameter to
34695 use in macro so that this macro does not truncate return value for
34697 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
34698 pass to INTERNAL_VSYSCALL_NCS.
34699 (INLINE_VSYSCALL): Add 'long int' as return type to
34700 INTERNAL_VSYSCALL_NCS macro invocation.
34701 (INTERNAL_VSYSCALL): Add 'long int' as return type to
34702 INTERNAL_VSYSCALL_NCS macro invocation.
34703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34705 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
34708 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
34709 Fix application of SIMD FP exception mask.
34711 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
34712 mp_no from a power of two.
34713 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
34714 __mpexp_twomm1. Use __pow_mp.
34716 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
34719 2013-01-17 David S. Miller <davem@davemloft.net>
34721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34723 2013-01-17 Joseph Myers <joseph@codesourcery.com>
34726 * include/complex.h: Condition contents on [!_COMPLEX_H].
34727 (__kernel_casinhf): New prototype.
34728 (__kernel_casinh): Likewise.
34729 (__kernel_casinhl): Likewise.
34730 * math/Makefile (libm_calls): Add k_casinh.
34731 * math/k_casinh.c: New file.
34732 * math/k_casinhf.c: Likewise.
34733 * math/k_casinhl.c: Likewise.
34734 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
34735 finite nonzero arguments.
34736 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
34737 finite nonzero arguments.
34738 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
34739 finite nonzero arguments.
34740 * math/s_casinh.c: Do not include <float.h>.
34741 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
34742 * math/s_casinhf.c: Do not include <float.h>.
34743 (__casinhf): Move code for finite nonzero arguments to
34745 * math/s_casinhl.c: Do not include <float.h>.
34746 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
34748 (__casinhl): Move code for finite nonzero arguments to
34750 * math/libm-test.inc (cacos_test): Add more tests.
34751 * sysdeps/i386/fpu/libm-test-ulps: Update.
34752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34754 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
34756 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
34757 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
34758 [!HAVE_MREMAP]: Remove [defined linux] case.
34759 * malloc/arena.c: Do not include <malloc-sysdep.h>.
34761 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
34763 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
34765 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
34767 * elf/elf.h (R_386_SIZE32): New relocation.
34768 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
34770 (elf_machine_rela): Likewise.
34771 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34772 R_X86_64_SIZE64 and R_X86_64_SIZE32.
34774 2013-01-17 Joseph Myers <joseph@codesourcery.com>
34776 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
34777 (FP_FAST_FMA): Do not define.
34778 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
34779 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
34780 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
34781 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
34782 !_SOFT_FLOAT]: Likewise.
34783 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
34784 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
34786 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
34787 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
34788 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
34789 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
34790 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
34791 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
34794 2013-01-16 Andreas Schwab <schwab@suse.de>
34797 * include/stdlib.h (__mktemp): Add declaration.
34798 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
34799 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
34801 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34803 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
34805 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34806 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
34807 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
34809 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
34810 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
34812 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
34814 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
34815 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
34816 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
34818 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
34819 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
34821 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34823 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
34825 2013-01-15 David S. Miller <davem@davemloft.net>
34827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34828 trunc{,f} to libm-sysdep_routes.
34829 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
34832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
34833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
34835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
34837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
34838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
34839 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
34840 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
34841 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
34842 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
34843 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
34844 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
34846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34847 nearbyint{,f} to libm-sysdep_routes.
34848 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
34851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
34853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
34855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
34857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
34858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
34859 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
34861 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
34862 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
34864 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
34865 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
34866 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
34868 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
34869 libc_feholdexcept and libc_fesetenv.
34871 2013-01-15 Mike Frysinger <vapier@gentoo.org>
34873 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
34875 2013-01-14 David S. Miller <davem@davemloft.net>
34877 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
34878 (SPARC_ASM_VIS2_IFUNC): Likewise.
34879 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
34880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
34881 use of 'siam' instruction.
34882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
34884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
34886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
34888 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
34889 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
34890 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
34891 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
34892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
34894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
34896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
34898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
34900 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
34901 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
34902 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
34903 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
34904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
34906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
34907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34910 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34911 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34912 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34913 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
34915 routines to libm-sysdep_routines.
34916 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34919 fdim/fdimf to libm-sysdep_routines.
34920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
34922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
34923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
34925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
34926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
34927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
34928 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
34929 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
34930 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
34931 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
34933 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34935 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
34936 to optimize copies.
34938 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
34939 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34940 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34942 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
34943 local variable MPTWO.
34944 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
34947 2013-01-13 Mike Frysinger <vapier@gentoo.org>
34949 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
34952 2013-01-13 Mike Frysinger <vapier@gentoo.org>
34954 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
34956 2013-01-13 Mike Frysinger <vapier@gentoo.org>
34958 * manual/pattern.texi (glob_t): Document gl_flags.
34959 (glob64_t): Likewise.
34961 2013-01-11 David S. Miller <davem@davemloft.net>
34963 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
34964 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
34965 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
34966 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
34967 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
34968 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
34969 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
34970 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
34971 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
34972 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
34973 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
34974 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
34975 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
34977 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34978 sparc V9 rather than using V8 code.
34979 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34980 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34982 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34984 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
34987 2013-01-11 Roland McGrath <roland@hack.frob.com>
34989 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
34990 not in the main loop.
34991 * configure: Regenerated.
34993 2013-01-11 Joseph Myers <joseph@codesourcery.com>
34995 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
34996 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
34998 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
34999 [!__GLIBC_HAVE_LONG_LONG] case.
35000 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
35001 condition to just #else.
35002 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
35003 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
35004 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
35005 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
35007 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
35008 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
35009 #elif condition to just #else.
35010 * sysdeps/unix/sysv/linux/sys/sysmacros.h
35011 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
35012 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
35013 #elif condition to just #else.
35015 2013-01-11 Steve Ellcey <sellcey@mips.com>
35017 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
35018 (EF_MIPS_ARCH_64): Fix value.
35019 (EF_MIPS_ARCH_32R2): New.
35020 (EF_MIPS_ARCH_64R2): New.
35022 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
35024 * Makeconfig (+link-pie-before-libc): New.
35025 (+link-pie-after-libc): Likewise.
35026 (+link-pie-tests): Likewise.
35027 (+link-pie): Rewritten.
35028 (link-before-libc): Remove $(config-LDFLAGS).
35029 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
35030 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
35031 (config-LDFLAGS): Renamed to ...
35032 (rtld-LDFLAGS): This.
35033 (rtld-tests-LDFLAGS): New macro.
35034 (link-libc-rpath-link): Likewise.
35035 (link-libc-tests-rpath-link): Likewise.
35036 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
35037 (link-libc): Prepand $(link-libc-rpath-link).
35038 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
35039 (test-program-prefix): New macro.
35040 (test-via-rtld-prefix): Likewise.
35041 (test-program-cmd): Likewise.
35042 (host-test-program-cmd): Likewise.
35043 * Makefile ($(common-objpfx)testrun.sh): Replace
35044 $(run-program-prefix) with $(test-program-prefix).
35045 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
35047 ($(common-objpfx)shlib.lds): Likewise.
35048 (build-module-helper): Likewise.
35049 ($(common-objpfx)format.lds): Likewise.
35050 * Rules (binaries-pie-tests): New.
35051 (binaries-pie-notests): Likewise.
35052 (binaries-pie): Rewritten.
35053 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
35054 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
35055 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
35056 (make-test-out): Replace $(host-built-program-cmd) with
35057 $(host-test-program-cmd).
35058 * config.make.in (build-hardcoded-path-in-tests): New variable.
35059 * configure.in (--enable-hardcoded-path-in-tests): New configure
35061 (hardcoded_path_in_tests): New AC_SUBST.
35062 * configure: Regenerated.
35063 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
35064 $(built-program-cmd) with $(test-program-cmd).
35065 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
35066 (test_program_cmd): This.
35067 * elf/Makefile ($(objpfx)order.out): Run test with
35068 $(test-program-prefix).
35069 ($(objpfx)order2.out): Likewise.
35070 ($(objpfx)tst-initorder.out): Likewise.
35071 ($(objpfx)tst-initorder2.out): Likewise.
35072 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
35073 $(test-program-cmd).
35074 ($(objpfx)tst-array1-static.out): Likewise.
35075 ($(objpfx)tst-array2.out): Likewise.
35076 ($(objpfx)tst-array3.out): Likewise.
35077 ($(objpfx)tst-array4.out): Likewise.
35078 ($(objpfx)tst-array5.out): Likewise.
35079 ($(objpfx)tst-array5-static.out): Likewise.
35080 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
35081 $(test-program-cmd).
35082 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
35083 $(run-program-prefix) with $(test-program-prefix).
35084 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
35085 (test_program_prefix): This.
35086 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
35087 $(run-program-prefix) with $(test-program-prefix).
35088 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
35089 (test_program_prefix): This.
35090 * iconvdata/tst-tables.sh: Likewise.
35091 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
35092 $(run-program-prefix) with $(test-program-prefix).
35093 ($(objpfx)tst-translit.out): Likewise.
35094 ($(objpfx)tst-gettext2.out): Likewise.
35095 ($(objpfx)tst-gettext4.out): Likewise.
35096 ($(objpfx)tst-gettext6.out): Likewise.
35097 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
35098 (test_program_prefix): This.
35099 * intl/tst-gettext2.sh: Likewise.
35100 * intl/tst-gettext4.sh Likewise.
35101 * intl/tst-gettext6.sh: Likewise.
35102 * intl/tst-translit.sh: Likewise.
35103 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
35104 with $(test-program-cmd).
35105 * libio/Makefile ($(objpfx)test-freopen.out): Replace
35106 $(run-program-prefix) with $(test-program-prefix).
35107 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
35108 (test_program_prefix): This.
35109 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
35110 $(run-program-prefix) with $(test-program-prefix).
35111 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
35112 (test_program_prefix): This.
35113 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
35114 * posix/Makefile ($(objpfx)globtest.out): Replace
35115 $(run-via-rtld-prefix) and $(test-wrapper) with
35116 $(test-program-prefix) and $(test-via-rtld-prefix).
35117 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
35118 $(test-program-prefix).
35119 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
35120 $(host-test-program-cmd).
35121 (tst-spawn-ARGS): Likewise.
35122 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
35123 $(test-program-prefix).
35124 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
35125 (test_via_rtld_prefix): This.
35126 (test_wrapper): Renamed to ...
35127 (test_program_prefix): This.
35128 (run_program_prefix): Replaced by test_program_prefix.
35129 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
35130 (test_program_prefix): This.
35131 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
35132 with $(host-test-program-cmd).
35133 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
35134 $(run-program-prefix) with $(test-program-prefix).
35135 ($(objpfx)tst-printf.out): Likewise.
35136 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
35137 $(test-program-cmd).
35138 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
35139 (test_program_prefix): This.
35140 * stdio-common/tst-unbputc.sh: Likewise.
35141 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
35142 $(run-program-prefix) with $(test-program-prefix).
35143 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
35144 (test_program_prefix): This.
35145 * string/Makefile ($(objpfx)tst-svc.out): Replace
35146 $(built-program-cmd) with $(test-program-cmd).
35148 2013-01-11 Andreas Jaeger <aj@suse.de>
35151 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
35152 value. Sync with Linux 3.7.
35154 2013-01-10 David S. Miller <davem@davemloft.net>
35156 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
35157 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
35158 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
35160 2013-01-10 Roland McGrath <roland@hack.frob.com>
35162 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
35164 * configure: Regenerated.
35166 2013-01-10 David S. Miller <davem@davemloft.net>
35168 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
35169 sparc V9 rather than using V8 code.
35170 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
35171 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
35173 2013-01-10 Roland McGrath <roland@hack.frob.com>
35175 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
35176 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
35177 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
35178 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
35179 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
35180 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
35181 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
35182 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
35183 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
35184 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
35185 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
35186 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
35187 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
35188 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
35189 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
35190 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
35191 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
35192 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
35193 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
35194 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
35195 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
35196 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
35197 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
35198 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
35199 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
35200 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
35201 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
35203 2013-01-10 David S. Miller <davem@davemloft.net>
35205 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35207 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
35209 * posix/Makefile (tests-static): New variable.
35210 (tests): Add $(tests-static).
35211 (tst-exec-static-ARGS): New variable.
35212 (tst-spawn-static-ARGS): Likewise.
35213 * posix/tst-exec-static.c: New file.
35214 * posix/tst-spawn-static.c: Likewise.
35215 * posix/tst-exec.c: Support run directly.
35216 * posix/tst-spawn.c: Likewise.
35218 2013-01-10 Joseph Myers <joseph@codesourcery.com>
35220 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
35222 * math/bits/mathcalls.h (llrint): Likewise.
35223 (llround): Likewise.
35224 * stdlib/stdlib.h (struct drand48_data): Likewise.
35225 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
35226 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
35227 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
35229 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
35231 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
35232 (elf_greg_t): Likewise.
35233 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
35234 (__jmp_buf): Likewise.
35235 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
35237 (llrint): Likewise, for all definitions.
35238 (llrintl): Likewise.
35240 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
35241 Remove [__GNUC__] condition.
35242 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
35243 condition to just [__USE_ISOC99].
35244 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
35246 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
35249 * sysdeps/unix/sysv/linux/x86/bits/environments.h
35250 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
35252 (_POSIX_V6_ILP32_OFF32): Likewise.
35253 (_XBS5_ILP32_OFF32): Likewise.
35254 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
35255 (__ILP32_OFFBIG_LDFLAGS): Likewise.
35257 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35259 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
35261 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
35262 doubles __mpexp_twomm1. Adjust usage.
35263 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
35266 2013-01-10 Andreas Schwab <schwab@suse.de>
35269 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
35270 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
35272 2013-01-09 David S. Miller <davem@davemloft.net>
35275 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
35276 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
35277 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
35278 (TCP_FASTOPEN): Define.
35279 (tcp_repair_opt): New structure.
35280 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
35282 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
35283 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
35284 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
35285 (tcp_cookie_transactions): New structure.
35287 2013-01-09 Anton Blanchard <anton@samba.org>
35289 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
35290 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
35291 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
35292 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
35294 2013-01-09 Joseph Myers <joseph@codesourcery.com>
35296 * include/features.h (__USE_ANSI): Remove.
35298 2013-01-09 Roland McGrath <roland@hack.frob.com>
35300 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
35302 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
35304 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
35306 * sysdeps/s390/fpu/libm-test-ulps: Update.
35308 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35310 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
35314 (denorm): Likewise.
35315 (__mp_dbl): Likewise.
35316 (__dbl_mp): Likewise.
35317 (add_magnitudes): Likewise.
35318 (sub_magnitudes): Likewise.
35324 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
35328 (denorm): Likewise.
35329 (__mp_dbl): Likewise.
35330 (__dbl_mp): Likewise.
35331 (add_magnitudes): Likewise.
35332 (sub_magnitudes): Likewise.
35338 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
35342 (denorm): Likewise.
35343 (__mp_dbl): Likewise.
35344 (__dbl_mp): Likewise.
35345 (add_magnitudes): Likewise.
35346 (sub_magnitudes): Likewise.
35353 2013-01-08 Joseph Myers <joseph@codesourcery.com>
35355 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
35356 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
35357 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
35358 2 && __USE_EXTERN_INLINES]: Likewise.
35360 2013-01-08 Andreas Jaeger <aj@suse.de>
35363 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
35365 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
35366 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
35368 2013-01-07 Anton Blanchard <anton@samba.org>
35370 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
35371 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
35372 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
35373 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
35374 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
35375 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35376 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
35377 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
35378 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
35379 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35380 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35381 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35382 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35383 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
35384 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
35385 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35386 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35387 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
35388 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
35389 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
35390 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
35391 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
35392 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35393 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
35394 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
35395 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
35396 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35397 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
35398 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
35399 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35400 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
35401 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35402 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35403 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
35404 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
35405 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35406 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
35407 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35408 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
35409 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
35410 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
35411 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35412 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
35414 2013-01-07 Joseph Myers <joseph@codesourcery.com>
35416 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
35417 (__MALLOC_PMT): Likewise.
35418 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
35419 [__GNUC__], only on [_LIBC].
35420 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
35421 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
35422 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
35423 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
35424 forward declaration.
35425 (realloc_hook_ini): Likewise.
35426 (memalign_hook_ini): Likewise.
35427 (__libc_memalign): Do not use __MALLOC_PMT in variable
35429 (__libc_valloc): Likewise.
35430 (__libc_pvalloc): Likewise.
35431 (__libc_calloc): Likewise.
35432 (__posix_memalign): Likewise.
35435 * math/s_casinh.c: Include <float.h>.
35436 (__casinh): Do not do computation with squaring and square root
35437 for large arguments.
35438 * math/s_casinhf.c: Include <float.h>.
35439 (__casinhf): Do not do computation with squaring and square root
35440 for large arguments.
35441 * math/s_casinhl.c: Include <float.h>.
35442 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
35443 (__casinhl): Do not do computation with squaring and square root
35444 for large arguments.
35445 * math/libm-test.inc (casin_test): Add more tests.
35446 (casinh_test): Likewise.
35447 * sysdeps/i386/fpu/libm-test-ulps: Update.
35448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35450 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
35452 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
35453 (__x86_64_raw_data_cache_size): Likewise.
35454 (__x86_64_data_cache_size_half): Likewise.
35455 (__x86_64_raw_data_cache_size_half): Likewise.
35456 (__x86_64_shared_cache_size): Likewise.
35457 (__x86_64_raw_shared_cache_size): Likewise.
35458 (__x86_64_shared_cache_size_half): Likewise.
35459 (__x86_64_raw_shared_cache_size_half): Likewise.
35460 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
35462 (__x86_data_cache_size): This.
35463 (__x86_64_raw_data_cache_size): Renamed to ...
35464 (__x86_raw_data_cache_size): This.
35465 (__x86_64_data_cache_size_half): Renamed to ...
35466 (__x86_data_cache_size_half): This.
35467 (__x86_64_raw_data_cache_size_half): Renamed to ...
35468 (__x86_raw_data_cache_size_half): This.
35469 (__x86_64_shared_cache_size): Renamed to ...
35470 (__x86_shared_cache_size): This.
35471 (__x86_64_raw_shared_cache_size): Renamed to ...
35472 (__x86_raw_shared_cache_size): This.
35473 (__x86_64_shared_cache_size_half): Renamed to ...
35474 (__x86_shared_cache_size_half): This.
35475 (__x86_64_raw_shared_cache_size_half): Renamed to ...
35476 (__x86_raw_shared_cache_size_half): This.
35477 * sysdeps/x86_64/memcpy.S: Updated.
35478 * sysdeps/x86_64/memset.S: Likewise.
35479 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
35480 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35481 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35483 2013-01-04 David S. Miller <davem@davemloft.net>
35485 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35487 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
35489 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
35490 1 to avoid redefinition warning.
35491 (__USE_GNU): Don't define.
35492 (init_signaling_nan): Protoize.
35494 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35496 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35498 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
35499 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
35500 (__cpymn): Likewise.
35501 (norm): Remove commented code.
35502 (denorm): Likewise.
35503 (__mp_dbl): Likewise.
35505 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
35506 (__cpymn): Likewise.
35507 (norm): Remove commented code.
35508 (denorm): Likewise.
35509 (__mp_dbl): Likewise.
35512 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
35513 mp_no value for 1.0 and 2.0.
35514 (norm): Use RADIXI instead of radixi.d.
35515 (denorm): Likewise.
35516 (__mul): Use 0.0 instead of zero.d.
35517 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
35518 mp_no value for 1.0 and 2.0.
35519 (norm): Use RADIXI instead of radixi.d.
35520 (denorm): Likewise.
35521 (__mul): Use 0.0 instead of zero.d.
35523 2013-01-04 Joseph Myers <joseph@codesourcery.com>
35526 * math/s_casinh.c (__casinh): Reduce finite argument to first
35527 quadrant then set signs of results at the end.
35528 * math/s_casinhf.c (__casinhf): Likewise.
35529 * math/s_casinhl.c (__casinhl): Likewise.
35530 * math/libm-test.inc (casin_test): Add more tests.
35531 (casinh_test): Likewise.
35532 * sysdeps/i386/fpu/libm-test-ulps: Update.
35533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35535 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35537 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
35539 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
35541 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
35543 (denorm): Likewise.
35544 (__mp_dbl): Likewise.
35547 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
35548 and adjust the header comment.
35550 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
35551 variable name from declaration.
35553 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
35555 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35556 Initialize COMMON_CPUID_INDEX_7 element.
35557 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
35558 (CPUID_RTM): Likewise.
35559 (HAS_RTM): Likewise.
35560 (COMMON_CPUID_INDEX_7): New enum.
35562 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
35565 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
35566 size is zero, record memory as freed.
35568 2013-01-03 Andreas Jaeger <aj@suse.de>
35570 * po/ia.po: Add new Interlingua translation.
35572 2012-01-03 Allan McRae <allan@archlinux.org>
35574 * locale/programs/localedef.c: Fix description of '--posix' flag.
35576 2013-01-02 Joseph Myers <joseph@codesourcery.com>
35578 * NEWS: Update dates in second copyright notice.
35579 * README: Update copyright dates in example.
35580 * manual/libc.texinfo: Update copyright dates.
35581 * scripts/test-installation.pl: Update copyright date in --version
35584 * hurd/ctty-input.c: Fix copyright notice formatting.
35585 * hurd/ctty-output.c: Likewise.
35586 * hurd/dtable.c: Likewise.
35587 * hurd/hurd-raise.c: Likewise.
35588 * hurd/hurdprio.c: Likewise.
35589 * hurd/msgportdemux.c: Likewise.
35590 * misc/sys/file.h: Likewise.
35591 * misc/sys/ioctl.h: Likewise.
35592 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
35593 * sysdeps/mach/hurd/chdir.c: Likewise.
35594 * sysdeps/mach/hurd/fchdir.c: Likewise.
35595 * sysdeps/mach/hurd/rename.c: Likewise.
35596 * sysdeps/mach/hurd/rmdir.c: Likewise.
35597 * sysdeps/mach/hurd/seekdir.c: Likewise.
35598 * sysdeps/mach/hurd/setsid.c: Likewise.
35599 * sysdeps/posix/wait3.c: Likewise.
35601 * All files with FSF copyright notices: Update copyright dates
35602 using scripts/update-copyrights.
35603 * intl/plural.c: Regenerated.
35604 * locale/programs/charmap-kw.h: Likewise.
35605 * locale/programs/locfile-kw.h: Likewise.
35607 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
35609 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
35612 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
35613 calculation loop and add branch prediction.
35615 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
35616 check access beyond bounds of m1np.
35618 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
35620 (__inv): Remove local variable MPTWO to use the global
35622 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
35623 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
35625 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
35626 MP3HALFS static const.
35628 2013-01-01 David S. Miller <davem@davemloft.net>
35630 * po/ca.po: Update from translation team.
35632 2013-01-01 Joseph Myers <joseph@codesourcery.com>
35634 * scripts/update-copyrights: New file.
35635 * Makeconfig: Reformat copyright notice.
35636 * ctype/ctype.h: Likewise.
35637 * debug/swprintf_chk.c: Likewise.
35638 * elf/dl-cache.c: Likewise.
35639 * elf/dl-debug.c: Likewise.
35640 * elf/dl-object.c: Likewise.
35641 * grp/initgroups.c: Likewise.
35642 * hurd/Makefile: Likewise.
35643 * hurd/hurd/signal.h: Likewise.
35644 * hurd/hurdfault.c: Likewise.
35645 * hurd/hurdioctl.c: Likewise.
35646 * hurd/hurdlookup.c: Likewise.
35647 * hurd/intr-msg.c: Likewise.
35648 * iconv/gconv_open.c: Likewise.
35649 * libio/swprintf.c: Likewise.
35650 * locale/lc-ctype.c: Likewise.
35651 * locale/nl_langinfo.c: Likewise.
35652 * mach/Machrules: Likewise.
35653 * mach/Makefile: Likewise.
35654 * malloc/obstack.h: Likewise.
35655 * manual/Makefile: Likewise.
35656 * manual/tsort.awk: Likewise.
35657 * misc/bits/stab.def: Likewise.
35658 * nis/nis_print_group_entry.c: Likewise.
35659 * nis/nis_table.c: Likewise.
35660 * nis/nss_compat/compat-pwd.c: Likewise.
35661 * nis/nss_compat/compat-spwd.c: Likewise.
35662 * po/Makefile: Likewise.
35663 * posix/fnmatch.c: Likewise.
35664 * posix/regex.h: Likewise.
35665 * resolv/Makefile: Likewise.
35666 * resolv/nss_dns/dns-network.c: Likewise.
35667 * resolv/res_hconf.c: Likewise.
35668 * scripts/gen-sorted.awk: Likewise.
35669 * soft-fp/soft-fp.h: Likewise.
35670 * stdio-common/printf.h: Likewise.
35671 * stdlib/monetary.h: Likewise.
35672 * stdlib/random.c: Likewise.
35673 * stdlib/random_r.c: Likewise.
35674 * sysdeps/generic/Makefile: Likewise.
35675 * sysdeps/gnu/Makefile: Likewise.
35676 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35677 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35678 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35679 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35680 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35681 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35682 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35683 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35684 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35685 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35686 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
35687 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
35688 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
35689 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
35690 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
35691 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
35692 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
35693 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35694 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35695 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35696 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35697 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35698 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35699 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
35700 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
35701 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
35702 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
35703 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
35704 * sysdeps/mach/hurd/errnos.awk: Likewise.
35705 * sysdeps/mach/hurd/fork.c: Likewise.
35706 * sysdeps/mach/hurd/getcwd.c: Likewise.
35707 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
35708 * sysdeps/mach/hurd/mmap.c: Likewise.
35709 * sysdeps/mach/hurd/utimes.c: Likewise.
35710 * sysdeps/mach/hurd/xmknod.c: Likewise.
35711 * sysdeps/posix/profil.c: Likewise.
35712 * sysdeps/posix/readdir_r.c: Likewise.
35713 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35714 * sysdeps/powerpc/bits/setjmp.h: Likewise.
35715 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
35716 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
35717 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
35718 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35719 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35720 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35721 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35722 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35723 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35724 * sysdeps/pthread/lio_listio.c: Likewise.
35725 * sysdeps/sparc/dl-procinfo.h: Likewise.
35726 * sysdeps/unix/i386/sysdep.S: Likewise.
35727 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
35728 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
35729 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
35730 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
35731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35732 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
35733 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
35734 * sysdeps/unix/sysv/linux/speed.c: Likewise.
35735 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
35736 * sysdeps/wordsize-32/divdi3.c: Likewise.
35737 * time/sys/time.h: Likewise.
35738 * wcsmbs/Makefile: Likewise.
35740 2013-01-01 David S. Miller <davem@davemloft.net>
35742 * po/fr.po: Update from translation team.
35744 * catgets/gencat.c: Update copyright year.
35745 * csu/version.c: Likewise.
35746 * debug/catchsegv.sh: Likewise.
35747 * debug/pcprofiledump.c: Likewise.
35748 * debug/xtrace.sh: Likewise.
35749 * elf/ldconfig.c: Likewise.
35750 * elf/ldd.bash.in: Likewise.
35751 * elf/pldd.c: Likewise.
35752 * elf/sotruss.ksh: Likewise.
35753 * elf/sprof.c: Likewise.
35754 * iconv/iconv_prog.c: Likewise.
35755 * iconv/iconvconfig.c: Likewise.
35756 * locale/programs/locale.c: Likewise.
35757 * locale/programs/localedef.c: Likewise.
35758 * login/programs/pt_chown.c: Likewise.
35759 * malloc/memusage.sh: Likewise.
35760 * malloc/memusagestat.c: Likewise.
35761 * malloc/mtrace.pl: Likewise.
35762 * nscd/nscd.c: Likewise.
35763 * nss/getent.c: Likewise.
35764 * nss/makedb.c: Likewise.
35765 * posix/getconf.c: Likewise.
35767 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35769 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
35772 2012-12-30 Mike Frysinger <vapier@gentoo.org>
35774 * math/bits/mathcalls.h (modf): Use __nonnull.
35776 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35778 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
35779 (split): Use macro CN instead of the bare value.
35780 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
35782 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
35783 instead of the bare value.
35784 (power1): Likewise.
35786 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35788 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
35790 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
35792 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
35794 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
35795 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35796 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
35797 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
35799 2012-12-28 Andreas Jaeger <aj@suse.de>
35801 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
35802 values are from Linux 3.7.
35804 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
35805 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
35807 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35809 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
35812 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
35814 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
35815 variables with preprocessor constants.
35816 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
35817 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
35818 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
35820 2012-12-27 Bruno Haible <bruno@clisp.org>
35823 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
35826 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35828 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
35829 and use variable directly.
35830 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
35832 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
35834 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
35835 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
35837 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35838 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35839 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
35840 include directive. Remove local variable MPONE.
35841 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
35842 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
35843 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35845 2012-12-25 David S. Miller <davem@davemloft.net>
35847 * version.h (RELEASE): Set to "development".
35848 (VERSION): Set to "2.17.90".
35849 * NEWS: Add 2.18 section.
35851 2012-12-21 David S. Miller <davem@davemloft.net>
35853 * po/hr.po: Update from translation team.
35855 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35857 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
35859 2012-12-19 Steve Ellcey <sellcey@mips.com>
35861 * NEWS: Mention new memcpy for MIPS.
35863 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35865 * manual/contrib.texi (Contributors): Spelling correction.
35867 2012-12-15 David S. Miller <davem@davemloft.net>
35869 * po/ru.po: Update from translation team.
35871 2012-12-13 David S. Miller <davem@davemloft.net>
35873 * NEWS: Mention IFUNC testsuite enhancements.
35875 * po/pl.po: Update from translation team.
35876 * po/bg.po: Likewise.
35878 * manual/contrib.texi (Contributors): Update entries for Hongjiu
35879 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
35881 2012-12-11 David S. Miller <davem@davemloft.net>
35883 * po/sv.po: Update from translation team.
35885 * po/vi.po: Update from translation team.
35887 * po/cs.po: Update from translation team.
35889 * po/de.po: Update from translation team.
35890 * po/eo.po: Likewise.
35891 * po/nl.po: Likewise.
35893 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35896 * manual/argp.texi (Argp Helper Functions): Move node to follow
35897 Argp Parsing State.
35900 * manual/conf.texi (Limits on File System Capacity): Mention if
35901 terminating null is included in the max size.
35903 2012-12-10 Andreas Jaeger <aj@suse.de>
35905 * po/cs.po: Update from translation team.
35907 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
35909 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
35910 void pointer and cast to uintptr_t.
35911 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
35913 * sysdeps/s390/s390-64/memcpy.S: Likewise.
35914 * sysdeps/s390/s390-64/memset.S: Likewise.
35916 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
35919 * menual/message.texi (Message Translation): Fix typos.
35920 (Helper programs for gettext): Likewise.
35922 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
35925 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
35928 2012-12-07 David S. Miller <davem@davemloft.net>
35930 * po/libc.pot: Update.
35932 2012-12-07 Richard Henderson <rth@redhat.com>
35935 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
35936 normal/normal case to before the switch.
35937 (_FP_DIV): Likewise.
35939 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
35940 Mike Frysinger <vapier@gentoo.org>
35942 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
35943 check for __NR_fadvise64_64.
35945 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
35947 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
35948 0, not just to plain "0" as a statement.
35949 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
35952 2012-12-06 Joseph Myers <joseph@codesourcery.com>
35954 * NEWS: Use sourceware.org in Bugzilla URL.
35956 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35959 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35961 * stdio-common/tst-put-error.c (do_test): Add newline to the
35962 padded test to ensure flush.
35964 2012-12-05 Jeff Law <law@redhat.com>
35966 * sunrpc/etc.rpc (fedfs_admin): Add entry.
35968 2012-12-05 Joseph Myers <joseph@codesourcery.com>
35970 * README: Don't refer to ports add-on as distributed separately.
35971 Mention AArch64 in list of systems supported in the ports add-on.
35973 * LICENSES: Add more non-FSF copyright and license notices.
35975 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
35978 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
35980 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
35981 10000 as width of padded output.
35983 2012-12-04 Joseph Myers <joseph@codesourcery.com>
35985 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
35987 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
35988 variable LX with __attribute__ ((unused)).
35989 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35991 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
35992 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35993 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
35994 with __attribute__ ((unused)).
35996 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
35998 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
36000 2012-12-04 Joseph Myers <joseph@codesourcery.com>
36002 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
36003 (CFLAGS-nldbl-acos.c): New variable.
36004 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
36005 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
36006 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
36007 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
36008 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
36009 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
36010 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
36011 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
36012 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
36013 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
36014 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
36015 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
36016 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
36017 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
36018 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
36019 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
36020 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
36021 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
36022 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
36023 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
36024 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
36025 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
36026 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
36027 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
36028 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
36029 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
36030 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
36031 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
36032 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
36033 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
36034 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
36035 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
36036 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
36037 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
36038 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
36039 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
36040 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
36041 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
36042 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
36043 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
36044 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
36045 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
36046 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
36047 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
36048 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
36049 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
36050 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
36051 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
36052 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
36053 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
36054 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
36055 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
36056 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
36057 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
36058 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
36059 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
36060 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
36061 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
36062 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
36063 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
36064 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
36065 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
36066 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
36067 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
36068 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
36069 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
36070 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
36071 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
36072 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
36073 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
36074 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
36075 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
36076 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
36077 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
36078 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
36079 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
36080 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
36081 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
36082 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
36083 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
36084 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
36085 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
36086 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
36087 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
36088 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
36089 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
36090 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
36091 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
36092 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
36093 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
36094 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
36095 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
36096 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
36097 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
36098 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
36099 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
36100 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
36102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36103 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
36106 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
36107 whole low double instead of just low 47 bits when splitting values
36110 2012-12-03 Allan McRae <allan@archlinux.org>
36112 * manual/stdio.texi (Predefined Printf Handlers): Remove
36113 @hsep and @vsep usage.
36115 2012-12-03 Mike Frysinger <vapier@gentoo.org>
36117 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
36118 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
36120 2012-12-03 Jeff Law <law@redhat.com>
36122 * time/sys/time.h (settimeofday): Do not mark TV argument
36125 2012-12-01 Mike Frysinger <vapier@gentoo.org>
36127 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
36128 when currently writing and seek to current position when not.
36129 * libio/Makefile (tests): Remove bug-fclose1.
36130 * libio/bug-fclose1.c: Delete.
36132 2012-12-01 Joseph Myers <joseph@codesourcery.com>
36134 * manual/arith.texi (feenableexcept): Fix typo.
36135 (fedisableexcept): Likewise.
36137 2012-11-30 Roland McGrath <roland@hack.frob.com>
36139 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
36140 second, differently-typed declaration, rather than a cast.
36142 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36144 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
36145 * include/rpc/svc.h: ... here.
36147 2012-11-30 Aurelien Jarno <aurel32@debian.org>
36150 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
36151 depending n and resplen2 to catch cases where answer
36154 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
36156 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
36157 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
36159 2012-11-29 Mike Frysinger <vapier@gentoo.org>
36161 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
36163 2012-11-29 Roland McGrath <roland@hack.frob.com>
36165 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
36167 2012-11-28 Jeff Law <law@redhat.com>
36170 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
36171 dataset_temporary. Track alloca usage into alloca_used.
36172 If dataset is large allocate and release it via malloc/free.
36174 2012-06-04 Florian Weimer <fweimer@redhat.com>
36177 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
36179 2012-11-28 David S. Miller <davem@davemloft.net>
36181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36183 2012-11-28 Joseph Myers <joseph@codesourcery.com>
36186 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
36187 of pi/2 rounded to nearest to 64 bits.
36188 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
36189 nearest to 64 bits.
36190 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
36193 2012-11-28 Jeff Law <law@redhat.com>
36194 Martin Osvald <mosvald@redhat.com>
36197 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
36198 * sunrpc/svc.c: Include time.h.
36199 (__svc_accept_failed): New function.
36200 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
36201 any reason other than EINTR, call __svc_accept_failed.
36202 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
36203 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
36205 2012-11-28 Andreas Schwab <schwab@suse.de>
36207 * scripts/abilist.awk: Also handle indirect functions in .opd
36210 2012-11-28 Joseph Myers <joseph@codesourcery.com>
36213 * sysdeps/x86/fpu/powl_helper.c: New file.
36214 * sysdeps/x86/fpu/Makefile: Likewise.
36215 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
36217 (__ieee754_powl): Use __powl_helper for finite arguments except
36218 integer exponents below 8.
36219 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
36221 (__ieee754_powl): Use __powl_helper for finite arguments except
36222 integer exponents below 8.
36223 * math/libm-test.inc (pow_test): Add more tests and enable some
36224 previously disabled tests.
36225 * sysdeps/i386/fpu/libm-test-ulps: Update.
36226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36228 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36229 Carlos O'Donell <carlos_odonell@mentor.com>
36231 * nss/makedb.c (is_prime): Assert that input is odd and greater
36232 than 4. Note that fact in a comment too.
36233 (next_prime): Add 4 to input.
36235 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
36238 * libio/Makefile (tests): Add test case tst-fwrite-error.
36239 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
36240 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
36241 * libio/tst-fwrite-error.c: New test case.
36243 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
36245 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
36246 before casting to void *.
36247 * include/libc-internal.h (__pointer_type): New macro.
36248 (__integer_if_pointer_type_sub): Likewise.
36249 (__integer_if_pointer_type): Likewise.
36250 (cast_to_integer): Likewise.
36251 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
36252 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
36253 before casting to atomic64_t.
36254 (atomic_exchange_acq): Likewise.
36255 (__arch_exchange_and_add_body): Likewise.
36256 (__arch_add_body): Likewise.
36257 (atomic_add_negative): Likewise.
36258 (atomic_add_zero): Likewise.
36260 2012-11-26 Joseph Myers <joseph@codesourcery.com>
36262 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
36263 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
36264 (add_fdes): Likewise.
36265 (linear_search_fdes): Likewise.
36266 (binary_search_unencoded_fdes): Likewise.
36268 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
36270 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
36272 2012-11-24 Adam Conrad <adconrad@0c3.net>
36274 * configure.in: Autodetect C++ header directories.
36275 * configure: Regenerated.
36277 2012-11-23 Mike Frysinger <vapier@gentoo.org>
36279 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
36281 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
36283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36285 2012-11-22 Joseph Myers <joseph@codesourcery.com>
36287 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
36288 LDBL_MANT_DIG == 106]: Disable some tests.
36289 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
36291 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
36295 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
36296 input for small inputs. Return +/- pi/2 for large inputs.
36297 * math/libm-test.inc (atan_test): Add more tests.
36299 * sysdeps/generic/unwind-dw2-fde-glibc.c
36300 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
36301 __attribute__ ((unused)).
36304 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
36305 x * y if x and y are nonzero and z is zero.
36308 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
36309 nonzero exponents with absolute value below 0x1p-117 to +/-
36313 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
36314 up arguments below 2**-450, not just those below 2**-500.
36315 * math/libm-test.inc (hypot_test): Add another test.
36318 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
36319 Return a+b for ratio over 2**120, not 2**60.
36320 * math/libm-test.inc (hypot_test): Add another test.
36322 * math/libm-test.inc (clog_test): Use
36323 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
36324 (clog10_test): Likewise.
36327 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
36329 2012-11-22 Andreas Schwab <schwab@suse.de>
36331 * sysdeps/i386/fpu/libm-test-ulps: Update.
36333 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
36335 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
36336 printf output with newline.
36338 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
36341 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
36342 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
36343 -z nodlopen, -z initfirst and -z execstack support.
36344 * configure: Regenerated.
36346 * elf/elf.h (DF_1_NODIRECT): New macro.
36347 (DF_1_IGNMULDEF): Likewise.
36348 (DF_1_NOKSYMS): Likewise.
36349 (DF_1_NOHDR): Likewise.
36350 (DF_1_EDITED): Likewise.
36351 (DF_1_NORELOC): Likewise.
36352 (DF_1_SYMINTPOSE): Likewise.
36353 (DF_1_GLOBAUDIT): Likewise.
36354 (DF_1_SINGLETON): Likewise.
36355 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
36356 DT_1_SUPPORTED_MASK bits.
36357 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
36359 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
36361 * sysdeps/unix/make-syscalls.sh: Document prefixes.
36363 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
36365 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
36368 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
36369 (sendmmsg): Move declarations...
36370 * socket/sys/socket.h: ... here.
36371 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
36372 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
36374 * socket/recvmmsg.c: ... this new file.
36375 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
36376 (sendmmsg): Rename to __sendmmsg, create weak alias and make
36377 definition of __sendmmsg hidden.
36378 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
36379 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
36380 Move ENOSYS stub into and include it from...
36381 * socket/sendmmsg.c: ... this new file.
36382 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
36383 (sysdep_routines): Move recvmmsg and sendmmsg...
36384 * socket/Makefile (routines): ... here.
36385 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
36386 (GLIBC_PRIVATE): Add __sendmmsg.
36387 * include/sys/socket.h (__sendmmsg): Add declarations.
36388 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
36391 2012-11-20 Joseph Myers <joseph@codesourcery.com>
36393 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
36394 variable I1 with __attribute__ ((unused)).
36395 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36397 2012-11-19 Joseph Myers <joseph@codesourcery.com>
36399 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
36400 DUMMY variables with __attribute__ ((unused)).
36402 * bits/byteswap.h: Include <bits/types.h>.
36403 (__bswap_64): Use __uint64_t instead of unsigned long long int.
36405 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
36407 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
36408 string_t. Do not manually set errno.
36409 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
36410 length with __strnlen. Make sure to both set errno and return it on
36413 2012-11-19 David S. Miller <davem@davemloft.net>
36415 With help from Joseph Myers.
36416 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
36417 very large arguments properly.
36418 * math/libm-test.inc (atan_test): New tests.
36419 (atan2_test): New tests.
36420 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36421 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36423 2012-11-19 Joseph Myers <joseph@codesourcery.com>
36426 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
36429 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
36430 [POSIX] (EADDRNOTAVAIL): Likewise.
36431 [POSIX] (EAFNOSUPPORT): Likewise.
36432 [POSIX] (EALREADY): Likewise.
36433 [POSIX] (ECONNABORTED): Likewise.
36434 [POSIX] (ECONNREFUSED): Likewise.
36435 [POSIX] (ECONNRESET): Likewise.
36436 [POSIX] (EDESTADDRREQ): Likewise.
36437 [POSIX] (EDQUOT): Likewise.
36438 [POSIX] (EHOSTUNREACH): Likewise.
36439 [POSIX] (EIDRM): Likewise.
36440 [POSIX] (EISCONN): Likewise.
36441 [POSIX] (ELOOP): Likewise.
36442 [POSIX] (EMULTIHOP): Likewise.
36443 [POSIX] (ENETDOWN): Likewise.
36444 [POSIX] (ENETUNREACH): Likewise.
36445 [POSIX] (ENOBUFS): Likewise.
36446 [POSIX] (ENODATA): Likewise.
36447 [POSIX] (ENOLINK): Likewise.
36448 [POSIX] (ENOMSG): Likewise.
36449 [POSIX] (ENOPROTOOPT): Likewise.
36450 [POSIX] (ENOSR): Likewise.
36451 [POSIX] (ENOSTR): Likewise.
36452 [POSIX] (ENOTCONN): Likewise.
36453 [POSIX] (ENOTSOCK): Likewise.
36454 [POSIX] (EOPNOTSUPP): Likewise.
36455 [POSIX] (EOVERFLOW): Likewise.
36456 [POSIX] (EPROTO): Likewise.
36457 [POSIX] (EPROTONOSUPPORT): Likewise.
36458 [POSIX] (EPROTOTYPE): Likewise.
36459 [POSIX] (ESTALE): Likewise.
36460 [POSIX] (ETIME): Likewise.
36461 [POSIX] (ETXTBSY): Likewise.
36462 [POSIX] (EWOULDBLOCK): Likewise.
36463 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
36464 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
36465 [POSIX] (SEEK_CUR): Likewise.
36466 [POSIX] (SEEK_END): Likewise.
36467 [POSIX || UNIX98] (mode_t): Do not require.
36468 [POSIX] (off_t): Likewise.
36469 [POSIX] (pid_t): Likewise.
36470 [POSIX] (sys/stat.h): Do not allow header.
36471 [POSIX] (unistd.h): Likewise.
36472 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
36473 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
36474 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
36475 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
36477 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
36478 sigevent): Specify elements.
36479 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
36481 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
36482 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
36484 * conform/data/cpio.h-data [POSIX]: Disable whole file.
36485 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
36486 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
36487 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
36488 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
36489 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
36490 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
36491 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
36492 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
36493 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
36494 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
36495 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
36496 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
36497 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
36499 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
36501 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
36503 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
36505 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
36506 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
36507 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
36508 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
36509 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
36510 Specify lower bound on value.
36511 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
36512 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
36513 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
36514 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
36515 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
36516 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
36517 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
36518 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
36520 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
36522 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
36523 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
36524 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
36525 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
36526 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
36527 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
36528 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
36529 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
36530 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
36531 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
36532 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
36533 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
36534 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
36535 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
36536 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
36537 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
36539 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
36541 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
36542 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
36543 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
36544 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
36545 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
36546 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
36548 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
36549 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
36550 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
36551 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
36552 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
36553 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
36554 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
36556 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
36557 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
36558 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
36559 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
36560 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
36561 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
36562 specify as optional.
36563 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
36564 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
36565 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
36566 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
36567 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
36568 [XPG3] (NL_LANGMAX): Likewise.
36569 [POSIX || XPG3] (NL_MSGMAX): Likewise.
36570 [POSIX || XPG3] (NL_NMAX): Likewise.
36571 [POSIX || XPG3] (NL_SETMAX): Likewise.
36572 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
36573 [XPG3] (NZERO): Likewise.
36574 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
36575 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
36576 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
36577 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
36578 (REG_ERANGE): Expect.
36579 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
36581 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
36582 Use (void) in prototype.
36583 [POSIX] (*_t): Allow.
36584 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
36585 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
36586 (WRDE_BADVAL): Expect.
36588 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
36590 [XPG3 || XPG4] (O_RSYNC): Likewise.
36591 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
36593 [XPG3 || XPG4] (pthread_sigmask): Likewise.
36594 [XPG3 || XPG4] (sigqueue): Likewise.
36595 [XPG3 || XPG4] (sigtimedwait): Likewise.
36596 [XPG3 || XPG4] (sigwaitinfo): Likewise.
36597 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
36598 [XPG3 || XPG4] (vsnprintf): Likewise.
36599 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
36601 [XPG3 || XPG4] (blksize_t): Likewise.
36602 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
36604 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
36605 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
36606 [XPG3 || XPG4] (struct itimerspec): Likewise.
36607 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
36608 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
36609 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
36610 [XPG3 || XPG4] (clockid_t): Likewise.
36611 [XPG3 || XPG4] (timer_t): Likewise.
36612 [XPG3 || XPG4] (clock_getres): Likewise.
36613 [XPG3 || XPG4] (clock_gettime): Likewise.
36614 [XPG3 || XPG4] (clock_settime): Likewise.
36615 [XPG3 || XPG4] (nanosleep): Likewise.
36616 [XPG3 || XPG4] (timer_create): Likewise.
36617 [XPG3 || XPG4] (timer_delete): Likewise.
36618 [XPG3 || XPG4] (timer_gettime): Likewise.
36619 [XPG3 || XPG4] (timer_getoverrun): Likewise.
36620 [XPG3 || XPG4] (timer_settime): Likewise.
36621 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
36622 [XPG3 || XPG4] (getlogin_r): Likewise.
36623 [XPG3 || XPG4] (pread): Likewise.
36624 [XPG3 || XPG4] (pthread_atfork): Likewise.
36625 [XPG3 || XPG4] (pwrite): Likewise.
36628 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
36631 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
36633 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
36634 finalizing MALLSTREAM.
36636 * sysdeps/mach/hurd/syncfs.c: New file.
36638 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
36641 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
36642 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
36643 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
36644 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
36645 (_nss_dns_gethostbyname4_r): Likewise.
36646 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
36647 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
36649 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
36652 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
36654 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
36656 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
36657 * elf/cache.c (print_entry): Print ",AArch64" for
36660 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
36661 * elf/cache.c (print_entry): Print ",hard-float" for
36664 2012-11-18 David S. Miller <davem@davemloft.net>
36666 With help from Joseph Myers.
36667 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
36669 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
36671 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
36672 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
36674 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
36675 * math/libm-test.inc (y0_test): New tests.
36676 (y1_test): New tests.
36677 * sysdeps/i386/fpu/libm-test-ulps: Update.
36678 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36679 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36681 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
36683 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
36685 * configure: Regenerated.
36687 2012-11-17 David S. Miller <davem@davemloft.net>
36690 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
36691 nonzero exponents with absolute value below 0x1p-128 to +/-
36694 2012-11-17 Joseph Myers <joseph@codesourcery.com>
36696 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
36698 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
36700 * posix/getconf-speclist.c: New file.
36701 * posix/posix-envs.def: Likewise.
36702 * posix/confstr.c (START_ENV_GROUP): New macro.
36703 (END_ENV_GROUP): Likewise.
36704 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
36705 (KNOWN_PRESENT_ENV_STRING): Likewise.
36706 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
36707 (UNKNOWN_ENVIRONMENT): Likewise.
36708 (confstr): Include posix-envs.def instead of handling
36709 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
36710 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
36711 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
36712 (END_ENV_GROUP): Likewise.
36713 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
36714 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
36715 (UNKNOWN_ENVIRONMENT): Likewise.
36716 (__sysconf): Include posix-envs.def instead of handling associated
36717 cases directly here.
36718 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
36719 preprocessing getconf-speclist.c rather than running getconf or
36720 generating empty file.
36722 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
36724 * scripts/check-local-headers.sh: Ignore 'mach' headers.
36726 2012-11-16 Andrej Lajovic <natrij@gmail.com>
36729 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
36731 2012-11-16 David S. Miller <davem@davemloft.net>
36733 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
36734 smaller than LDBL_EPSILON/2.0L, just return xm1.
36736 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
36738 * elf/tst-array1.c (init): Set constructor priority to 1000.
36739 (fini): Set destructor priority to 1000.
36740 * elf/tst-array2dep.c: Likewise.
36742 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
36745 * libio/fileops.c (_IO_new_file_write): Correctly return error.
36746 (_IO_new_file_xsputn): Also return EOF if none of the input
36747 data was written when overflow failed.
36748 * libio/iopadn.c (_IO_padn): Likewise.
36749 * libio/iowpadn.c (_IO_wpadn): Likewise.
36750 * stdio-common/tst-put-error.c: Add copyright notice.
36751 (do_test): Add case for printing padded string.
36752 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
36753 _IO_padn returned error.
36754 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
36755 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
36758 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
36760 * libio/libioP.h: Add comment note that the references to C++
36761 bits are now obsolete.
36763 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36765 * math/libm-test.inc (check_complex): Use asprintf.
36767 2012-11-14 Joseph Myers <joseph@codesourcery.com>
36769 * debug/pcprofiledump.c (print_version): Update copyright year.
36770 * malloc/memusagestat.c (print_version): Likewise.
36772 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
36775 * elf/Makefile (tests): Add tst-audit8.
36776 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
36777 ($(objpfx)tst-audit8.out): New target.
36778 (tst-audit8-ENV): New variable.
36779 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
36780 audit if l_reloc_result is NULL.
36781 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
36782 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
36783 * elf/tst-audit8.c: New file.
36785 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36787 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
36788 * misc/Makefile (CFLAGS-select.c): Define.
36789 * posix/Makefile (CFLAGS-pause.c): Define.
36791 2012-11-13 David S. Miller <davem@davemloft.net>
36793 * crypt/Makefile: Move test targets after toplevel Rules
36794 inclusion. Grab any necessary sysdep routines when linking.
36795 * crypt/md5.c (md5_process_block): Remove define, we will always
36796 name it __md5_process_block.
36797 (md5_finish_ctx): Update md5_process_block call.
36798 (md5_stream): Likewise.
36799 (md5_process_bytes): Likewise.
36800 (md5_process_block): Rename to __md5_process_block and move to ...
36801 * crypt/md5-block.c: ... here.
36802 * crypt/sha256.c (sha256_process_block): Move to ...
36803 * crypt/sha256-block.c: ... here.
36804 * crypt/sha512.c (sha512_process_block): Move to ...
36805 * crypt/sha512-block.c: ... here.
36806 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
36808 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
36809 * sysdeps/sparc/sparc64/multiarch/Makefile
36810 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
36812 (localedef-aux): Add md5 crypto assembler when in locale subdir.
36813 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
36815 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
36816 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
36817 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
36818 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
36819 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
36820 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
36821 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
36822 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
36823 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
36825 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
36826 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
36828 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
36830 2012-11-13 Joseph Myers <joseph@codesourcery.com>
36832 * timezone/tzselect.ksh: Update from tzcode git revision
36833 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
36834 * timezone/zdump.c: Likewise.
36835 * timezone/zic.c: Likewise.
36836 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
36837 in TZVERSION setting, not $(PKGVERSION).
36838 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
36839 REPORT_BUGS_TO settings.
36842 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
36845 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36847 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
36848 detection to immediately after _FP_ROUND().
36849 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
36852 2012-11-11 David S. Miller <davem@davemloft.net>
36854 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
36856 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
36857 __close rather than their public counterparts.
36859 2012-11-10 Joseph Myers <joseph@codesourcery.com>
36861 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
36863 [UNIX98] (sem_timedwait): Do not expect.
36864 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
36865 [XPG4 || UNIX98] (sockatmark): Do not expect.
36866 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
36867 (clock_getcpuclockid): Do not expect.
36868 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
36869 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
36871 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
36872 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
36873 [UNIX98] (vwscanf): Likewise.
36874 [UNIX98] (vswscanf): Likewise.
36876 2012-11-09 Joseph Myers <joseph@codesourcery.com>
36878 * timezone/version.h: Remove file.
36879 * timezone/README: Do not refer to version.h.
36880 * timezone/Makefile ($(objpfx)zic.o): New dependency on
36881 $(objpfx)version.h.
36882 ($(objpfx)zdump.o): Likewise.
36883 ($(objpfx)version.h): New target.
36885 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
36887 * timezone/README: Don't mention modification to tzselect.ksh.
36888 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
36889 work on unmodified tzselect.ksh. Substitute version numbers in
36892 * Makefile (format-me): Remove.
36893 (INSTALL): Adjust indentation. Use commands directly instead of
36894 using $(format-me).
36896 * aclocal.m4 (ACX_PKGVERSION): New macro.
36897 (ACX_BUGURL): Likewise.
36898 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
36899 (PKGVERSION): New AC_DEFINE_UNQUOTED.
36900 (REPORT_BUGS_TO): Likewise.
36901 * configure: Regenerated.
36902 * config.h.in (PKGVERSION): New macro.
36903 (REPORT_BUGS_TO): Likewise.
36904 * config.make.in (PKGVERSION): New variable.
36905 (PKGVERSION_TEXI): Likewise.
36906 (REPORT_BUGS_TO): Likewise.
36907 (REPORT_BUGS_TEXI): Likewise.
36908 * Makefile (format-me): Use -I$(common-objpfx)manual.
36909 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
36910 ($(common-objpfx)manual/%): New target.
36911 (manual/%): Remove target.
36912 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
36913 (print_version): Use PKGVERSION.
36914 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
36915 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
36916 and REPORT_BUGS_TO.
36917 ($(objpfx)xtrace): Likewise.
36918 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
36919 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
36920 (print_version): Use PKGVERSION.
36921 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
36922 (do_version): Use PKGVERSION.
36923 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
36925 (common-ldd-rewrite): Likewise.
36926 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
36927 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
36928 (print_version): Use PKGVERSION.
36929 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
36930 * elf/pldd.c (argp_program_bug_address): Remove variable.
36931 (more_help): New function.
36932 (argp): Use more_help.
36933 (print_version): Use PKGVERSION.
36934 * elf/sln.c (main): Use PKGVERSION.
36935 (usage): Use REPORT_BUGS_TO.
36936 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
36937 (top level): Use PKGVERSION.
36938 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
36939 (print_version): Use PKGVERSION.
36940 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
36941 (print_version): Use PKGVERSION.
36942 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
36943 (print_version): Use PKGVERSION.
36944 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
36945 (print_version): Use PKGVERSION.
36946 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
36947 (print_version): Use PKGVERSION.
36948 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
36949 (print_version): Use PKGVERSION.
36950 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
36952 ($(objpfx)memusage): Likewise.
36953 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
36954 (do_version): Use PKGVERSION.
36955 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
36956 (print_version): Use PKGVERSION.
36957 * malloc/mtrace.pl ($PACKAGE): Remove variable.
36958 ($PKGVERSION): New variable.
36959 ($REPORT_BUGS_TO): Likewise.
36960 (usage): Use $REPORT_BUGS_TO.
36961 (top level): Use $PKGVERSION.
36962 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
36963 ($(objpfx)pkgvers.texi): New rule.
36964 ($(objpfx)stamp-pkgvers): Likewise.
36965 * manual/install.texi: Include pkgvers.texi.
36966 (--with-pkgversion): Document new configure option.
36967 (--with-bugurl): Likewise.
36968 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
36969 than necessarily for this particular distribution. Use
36970 REPORT_BUGS_TO for where to report bugs.
36971 * INSTALL: Regenerated.
36972 * manual/libc.texinfo: Include pkgvers.texi.
36973 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
36974 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
36975 (print_version): Use PKGVERSION.
36976 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
36977 (print_version): Use PKGVERSION.
36978 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
36979 (print_version): Use PKGVERSION.
36980 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
36981 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
36983 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
36984 (print_version): Use PKGVERSION.
36985 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
36986 (print_version): Use PKGVERSION.
36987 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
36990 * timezone/checktab.awk: Update from tzcode 2012i.
36991 * timezone/ialloc.c: Likewise.
36992 * timezone/private.h: Likewise.
36993 * timezone/scheck.c: Likewise.
36994 * timezone/tzfile.h: Likewise.
36995 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
36996 (TZVERSION): Hardcode tzcode version number.
36997 * timezone/zdump.c: Update from tzcode 2012i.
36998 * timezone/zic.c: Likewise.
36999 * timezone/version.h: New file.
37000 * timezone/README: Describe version.h. Update upstream location.
37003 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
37004 (mktemp): Enable declaration.
37005 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
37006 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
37007 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
37008 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
37010 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
37012 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
37014 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
37016 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
37018 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
37022 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
37023 offset in buffer as u_int32_t not u_long. Consistently use memcpy
37024 for copies of such integer values.
37025 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37026 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37028 2012-11-09 Andreas Jaeger <aj@suse.de>
37030 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
37031 definitions and declarations that are provided by
37032 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37034 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37036 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
37037 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
37038 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
37041 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37043 * elf/elf.h: Update comment before AArch64 relocations.
37045 2012-11-07 David S. Miller <davem@davemloft.net>
37047 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
37048 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37049 (__start_context): Declare.
37050 (__makecontext_ret): Delete.
37051 (__makecontext): Hook up __start_context instead of
37053 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
37054 (sysdep_routines): Add __start_context when in stdlib.
37056 2012-11-07 Joseph Myers <joseph@codesourcery.com>
37058 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
37059 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
37060 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
37062 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
37063 (READELF): New variable. Use it instead of hardcoded "readelf".
37065 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
37067 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
37068 * sysdeps/x86/Makefile: Here.
37069 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
37070 * sysdeps/x86/tst-xmmymm.sh: This.
37072 2012-11-07 Joseph Myers <joseph@codesourcery.com>
37074 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
37076 [UNIX98] (pthread_barrier_t): Do not expect.
37077 [UNIX98] (pthread_barrierattr_t): Likewise.
37078 [UNIX98] (pthread_spinlock_t): Likewise.
37079 [UNIX98] (pthread_barrier_destroy): Likewise.
37080 [UNIX98] (pthread_barrier_init): Likewise.
37081 [UNIX98] (pthread_barrier_wait): Likewise.
37082 [UNIX98] (pthread_barrierattr_destroy): Likewise.
37083 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
37084 [UNIX98] (pthread_barrierattr_init): Likewise.
37085 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
37086 [UNIX98] (pthread_getcpuclockid): Likewise.
37087 [UNIX98] (pthread_mutex_timedlock): Likewise.
37088 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
37089 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
37090 [UNIX98] (pthread_sigmask): Likewise.
37091 [UNIX98] (pthread_spin_destroy): Likewise.
37092 [UNIX98] (pthread_spin_init): Likewise.
37093 [UNIX98] (pthread_spin_lock): Likewise.
37094 [UNIX98] (pthread_spin_trylock): Likewise.
37095 [UNIX98] (pthread_spin_unlock): Likewise.
37096 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
37098 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
37099 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
37100 [XPG3 || XPG4] (pthread_cond_t): Likewise.
37101 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
37102 [XPG3 || XPG4] (pthread_key_t): Likewise.
37103 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
37104 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
37105 [XPG3 || XPG4] (pthread_once_t): Likewise.
37106 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
37107 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
37108 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
37109 [XPG3 || XPG4] (pthread_t): Likewise.
37111 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
37113 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
37115 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
37116 Change function return type to int.
37118 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
37119 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
37120 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
37121 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
37122 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
37123 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
37124 [!POSIX] (posix_madvise): Likewise.
37125 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
37127 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
37128 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
37129 (mode_t): Likewise.
37130 (posix_mem_offset): Likewise.
37131 (posix_typed_mem_get_info): Likewise.
37132 (posix_typed_mem_open): Likewise.
37134 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
37135 Change condition to [XOPEN2K8].
37137 * conform/conformtest.pl: Preprocess allow-header data with -x c
37138 instead of from stdin.
37139 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
37140 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
37141 [C99-based standards] (cerfc): Likewise.
37142 [C99-based standards] (cexp2): Likewise.
37143 [C99-based standards] (cexpm1): Likewise.
37144 [C99-based standards] (clog10): Likewise.
37145 [C99-based standards] (clog1p): Likewise.
37146 [C99-based standards] (clog2): Likewise.
37147 [C99-based standards] (clgamma): Likewise.
37148 [C99-based standards] (ctgamma): Likewise.
37149 [C99-based standards] (cerff): Likewise.
37150 [C99-based standards] (cerfcf): Likewise.
37151 [C99-based standards] (cexp2f): Likewise.
37152 [C99-based standards] (cexpm1f): Likewise.
37153 [C99-based standards] (clog10f): Likewise.
37154 [C99-based standards] (clog1pf): Likewise.
37155 [C99-based standards] (clog2f): Likewise.
37156 [C99-based standards] (clgammaf): Likewise.
37157 [C99-based standards] (ctgammaf): Likewise.
37158 [C99-based standards] (cerfl): Likewise.
37159 [C99-based standards] (cerfcl): Likewise.
37160 [C99-based standards] (cexp2l): Likewise.
37161 [C99-based standards] (cexpm1l): Likewise.
37162 [C99-based standards] (clog10l): Likewise.
37163 [C99-based standards] (clog1pl): Likewise.
37164 [C99-based standards] (clog2l): Likewise.
37165 [C99-based standards] (clgammal): Likewise.
37166 [C99-based standards] (ctgammal): Likewise.
37167 * conform/data/inttypes.h-data [C99-based standards]: Include
37168 stdint.h-data. Remove all expectations for stdint.h contents.
37169 [C99-based standards] (PRI*): Do not allow.
37170 [C99-based standards] (SCN*): Likewise.
37171 [C99-based standards] (*_t): Likewise.
37172 [C99-based-standards] (PRId8): Expect macro.
37173 [C99-based-standards] (PRIi8): Likewise.
37174 [C99-based-standards] (PRIo8): Likewise.
37175 [C99-based-standards] (PRIu8): Likewise.
37176 [C99-based-standards] (PRIx8): Likewise.
37177 [C99-based-standards] (PRIX8): Likewise.
37178 [C99-based-standards] (SCNd8): Likewise.
37179 [C99-based-standards] (SCNi8): Likewise.
37180 [C99-based-standards] (SCNo8): Likewise.
37181 [C99-based-standards] (SCNu8): Likewise.
37182 [C99-based-standards] (SCNx8): Likewise.
37183 [C99-based-standards] (PRIdLEAST8): Likewise.
37184 [C99-based-standards] (PRIiLEAST8): Likewise.
37185 [C99-based-standards] (PRIoLEAST8): Likewise.
37186 [C99-based-standards] (PRIuLEAST8): Likewise.
37187 [C99-based-standards] (PRIxLEAST8): Likewise.
37188 [C99-based-standards] (PRIXLEAST8): Likewise.
37189 [C99-based-standards] (SCNdLEAST8): Likewise.
37190 [C99-based-standards] (SCNiLEAST8): Likewise.
37191 [C99-based-standards] (SCNoLEAST8): Likewise.
37192 [C99-based-standards] (SCNuLEAST8): Likewise.
37193 [C99-based-standards] (SCNxLEAST8): Likewise.
37194 [C99-based-standards] (PRIdFAST8): Likewise.
37195 [C99-based-standards] (PRIiFAST8): Likewise.
37196 [C99-based-standards] (PRIoFAST8): Likewise.
37197 [C99-based-standards] (PRIuFAST8): Likewise.
37198 [C99-based-standards] (PRIxFAST8): Likewise.
37199 [C99-based-standards] (PRIXFAST8): Likewise.
37200 [C99-based-standards] (SCNdFAST8): Likewise.
37201 [C99-based-standards] (SCNiFAST8): Likewise.
37202 [C99-based-standards] (SCNoFAST8): Likewise.
37203 [C99-based-standards] (SCNuFAST8): Likewise.
37204 [C99-based-standards] (SCNxFAST8): Likewise.
37205 [C99-based-standards] (PRId16): Likewise.
37206 [C99-based-standards] (PRIi16): Likewise.
37207 [C99-based-standards] (PRIo16): Likewise.
37208 [C99-based-standards] (PRIu16): Likewise.
37209 [C99-based-standards] (PRIx16): Likewise.
37210 [C99-based-standards] (PRIX16): Likewise.
37211 [C99-based-standards] (SCNd16): Likewise.
37212 [C99-based-standards] (SCNi16): Likewise.
37213 [C99-based-standards] (SCNo16): Likewise.
37214 [C99-based-standards] (SCNu16): Likewise.
37215 [C99-based-standards] (SCNx16): Likewise.
37216 [C99-based-standards] (PRIdLEAST16): Likewise.
37217 [C99-based-standards] (PRIiLEAST16): Likewise.
37218 [C99-based-standards] (PRIoLEAST16): Likewise.
37219 [C99-based-standards] (PRIuLEAST16): Likewise.
37220 [C99-based-standards] (PRIxLEAST16): Likewise.
37221 [C99-based-standards] (PRIXLEAST16): Likewise.
37222 [C99-based-standards] (SCNdLEAST16): Likewise.
37223 [C99-based-standards] (SCNiLEAST16): Likewise.
37224 [C99-based-standards] (SCNoLEAST16): Likewise.
37225 [C99-based-standards] (SCNuLEAST16): Likewise.
37226 [C99-based-standards] (SCNxLEAST16): Likewise.
37227 [C99-based-standards] (PRIdFAST16): Likewise.
37228 [C99-based-standards] (PRIiFAST16): Likewise.
37229 [C99-based-standards] (PRIoFAST16): Likewise.
37230 [C99-based-standards] (PRIuFAST16): Likewise.
37231 [C99-based-standards] (PRIxFAST16): Likewise.
37232 [C99-based-standards] (PRIXFAST16): Likewise.
37233 [C99-based-standards] (SCNdFAST16): Likewise.
37234 [C99-based-standards] (SCNiFAST16): Likewise.
37235 [C99-based-standards] (SCNoFAST16): Likewise.
37236 [C99-based-standards] (SCNuFAST16): Likewise.
37237 [C99-based-standards] (SCNxFAST16): Likewise.
37238 [C99-based-standards] (PRId32): Likewise.
37239 [C99-based-standards] (PRIi32): Likewise.
37240 [C99-based-standards] (PRIo32): Likewise.
37241 [C99-based-standards] (PRIu32): Likewise.
37242 [C99-based-standards] (PRIx32): Likewise.
37243 [C99-based-standards] (PRIX32): Likewise.
37244 [C99-based-standards] (SCNd32): Likewise.
37245 [C99-based-standards] (SCNi32): Likewise.
37246 [C99-based-standards] (SCNo32): Likewise.
37247 [C99-based-standards] (SCNu32): Likewise.
37248 [C99-based-standards] (SCNx32): Likewise.
37249 [C99-based-standards] (PRIdLEAST32): Likewise.
37250 [C99-based-standards] (PRIiLEAST32): Likewise.
37251 [C99-based-standards] (PRIoLEAST32): Likewise.
37252 [C99-based-standards] (PRIuLEAST32): Likewise.
37253 [C99-based-standards] (PRIxLEAST32): Likewise.
37254 [C99-based-standards] (PRIXLEAST32): Likewise.
37255 [C99-based-standards] (SCNdLEAST32): Likewise.
37256 [C99-based-standards] (SCNiLEAST32): Likewise.
37257 [C99-based-standards] (SCNoLEAST32): Likewise.
37258 [C99-based-standards] (SCNuLEAST32): Likewise.
37259 [C99-based-standards] (SCNxLEAST32): Likewise.
37260 [C99-based-standards] (PRIdFAST32): Likewise.
37261 [C99-based-standards] (PRIiFAST32): Likewise.
37262 [C99-based-standards] (PRIoFAST32): Likewise.
37263 [C99-based-standards] (PRIuFAST32): Likewise.
37264 [C99-based-standards] (PRIxFAST32): Likewise.
37265 [C99-based-standards] (PRIXFAST32): Likewise.
37266 [C99-based-standards] (SCNdFAST32): Likewise.
37267 [C99-based-standards] (SCNiFAST32): Likewise.
37268 [C99-based-standards] (SCNoFAST32): Likewise.
37269 [C99-based-standards] (SCNuFAST32): Likewise.
37270 [C99-based-standards] (SCNxFAST32): Likewise.
37271 [C99-based-standards] (PRId64): Likewise.
37272 [C99-based-standards] (PRIi64): Likewise.
37273 [C99-based-standards] (PRIo64): Likewise.
37274 [C99-based-standards] (PRIu64): Likewise.
37275 [C99-based-standards] (PRIx64): Likewise.
37276 [C99-based-standards] (PRIX64): Likewise.
37277 [C99-based-standards] (SCNd64): Likewise.
37278 [C99-based-standards] (SCNi64): Likewise.
37279 [C99-based-standards] (SCNo64): Likewise.
37280 [C99-based-standards] (SCNu64): Likewise.
37281 [C99-based-standards] (SCNx64): Likewise.
37282 [C99-based-standards] (PRIdLEAST64): Likewise.
37283 [C99-based-standards] (PRIiLEAST64): Likewise.
37284 [C99-based-standards] (PRIoLEAST64): Likewise.
37285 [C99-based-standards] (PRIuLEAST64): Likewise.
37286 [C99-based-standards] (PRIxLEAST64): Likewise.
37287 [C99-based-standards] (PRIXLEAST64): Likewise.
37288 [C99-based-standards] (SCNdLEAST64): Likewise.
37289 [C99-based-standards] (SCNiLEAST64): Likewise.
37290 [C99-based-standards] (SCNoLEAST64): Likewise.
37291 [C99-based-standards] (SCNuLEAST64): Likewise.
37292 [C99-based-standards] (SCNxLEAST64): Likewise.
37293 [C99-based-standards] (PRIdFAST64): Likewise.
37294 [C99-based-standards] (PRIiFAST64): Likewise.
37295 [C99-based-standards] (PRIoFAST64): Likewise.
37296 [C99-based-standards] (PRIuFAST64): Likewise.
37297 [C99-based-standards] (PRIxFAST64): Likewise.
37298 [C99-based-standards] (PRIXFAST64): Likewise.
37299 [C99-based-standards] (SCNdFAST64): Likewise.
37300 [C99-based-standards] (SCNiFAST64): Likewise.
37301 [C99-based-standards] (SCNoFAST64): Likewise.
37302 [C99-based-standards] (SCNuFAST64): Likewise.
37303 [C99-based-standards] (SCNxFAST64): Likewise.
37304 [C99-based-standards] (PRIdMAX): Likewise.
37305 [C99-based-standards] (PRIiMAX): Likewise.
37306 [C99-based-standards] (PRIoMAX): Likewise.
37307 [C99-based-standards] (PRIuMAX): Likewise.
37308 [C99-based-standards] (PRIxMAX): Likewise.
37309 [C99-based-standards] (PRIXMAX): Likewise.
37310 [C99-based-standards] (SCNdMAX): Likewise.
37311 [C99-based-standards] (SCNiMAX): Likewise.
37312 [C99-based-standards] (SCNoMAX): Likewise.
37313 [C99-based-standards] (SCNuMAX): Likewise.
37314 [C99-based-standards] (SCNxMAX): Likewise.
37315 [C99-based-standards] (PRIdPTR): Likewise.
37316 [C99-based-standards] (PRIiPTR): Likewise.
37317 [C99-based-standards] (PRIoPTR): Likewise.
37318 [C99-based-standards] (PRIuPTR): Likewise.
37319 [C99-based-standards] (PRIxPTR): Likewise.
37320 [C99-based-standards] (PRIXPTR): Likewise.
37321 [C99-based-standards] (SCNdPTR): Likewise.
37322 [C99-based-standards] (SCNiPTR): Likewise.
37323 [C99-based-standards] (SCNoPTR): Likewise.
37324 [C99-based-standards] (SCNuPTR): Likewise.
37325 [C99-based-standards] (SCNxPTR): Likewise.
37326 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
37328 * conform/data/stdint.h-data: Update comments to clarify
37330 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
37332 [C99-based standards] (INT8_MAX): Likewise.
37333 [C99-based standards] (INT16_MIN): Likewise.
37334 [C99-based standards] (INT16_MAX): Likewise.
37335 [C99-based standards] (INT32_MIN): Likewise.
37336 [C99-based standards] (INT32_MAX): Likewise.
37337 [C99-based standards] (INT64_MIN): Likewise.
37338 [C99-based standards] (INT64_MAX): Likewise.
37339 [C99-based standards] (UINT8_MAX): Likewise.
37340 [C99-based standards] (UINT16_MAX): Likewise.
37341 [C99-based standards] (UINT32_MAX): Likewise.
37342 [C99-based standards] (UINT64_MAX): Likewise.
37343 [C99-based standards] (INT_LEAST8_MIN): Likewise.
37344 [C99-based standards] (INT_LEAST8_MAX): Likewise.
37345 [C99-based standards] (INT_LEAST16_MIN): Likewise.
37346 [C99-based standards] (INT_LEAST16_MAX): Likewise.
37347 [C99-based standards] (INT_LEAST32_MIN): Likewise.
37348 [C99-based standards] (INT_LEAST32_MAX): Likewise.
37349 [C99-based standards] (INT_LEAST64_MIN): Likewise.
37350 [C99-based standards] (INT_LEAST64_MAX): Likewise.
37351 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
37352 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
37353 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
37354 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
37355 [C99-based standards] (INT_FAST8_MIN): Likewise.
37356 [C99-based standards] (INT_FAST8_MAX): Likewise.
37357 [C99-based standards] (INT_FAST16_MIN): Likewise.
37358 [C99-based standards] (INT_FAST16_MAX): Likewise.
37359 [C99-based standards] (INT_FAST32_MIN): Likewise.
37360 [C99-based standards] (INT_FAST32_MAX): Likewise.
37361 [C99-based standards] (INT_FAST64_MIN): Likewise.
37362 [C99-based standards] (INT_FAST64_MAX): Likewise.
37363 [C99-based standards] (UINT_FAST8_MAX): Likewise.
37364 [C99-based standards] (UINT_FAST16_MAX): Likewise.
37365 [C99-based standards] (UINT_FAST32_MAX): Likewise.
37366 [C99-based standards] (UINT_FAST64_MAX): Likewise.
37367 [C99-based standards] (INTPTR_MIN): Likewise.
37368 [C99-based standards] (INTPTR_MAX): Likewise.
37369 [C99-based standards] (UINTPTR_MAX): Likewise.
37370 [C99-based standards] (INTMAX_MIN): Likewise.
37371 [C99-based standards] (INTMAX_MAX): Likewise.
37372 [C99-based standards] (UINTMAX_MAX): Likewise.
37373 [C99-based standards] (PTRDIFF_MIN): Likewise.
37374 [C99-based standards] (PTRDIFF_MAX): Likewise.
37375 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
37376 [C99-based standards] (SIZE_MAX): Likewise.
37377 [C99-based standards] (WCHAR_MAX): Likewise.
37378 [C99-based standards] (WINT_MAX): Likewise.
37379 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
37380 constraint on value.
37381 [C99-based standards] (WCHAR_MIN): Likewise.
37382 [C99-based standards] (WINT_MIN): Likewise.
37383 [C99-based standards] (*_t): Allow.
37384 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
37385 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
37386 Include math.h-data and complex.h-data. Remove all expectations
37387 of math.h and complex.h contents.
37388 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
37390 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
37391 (struct tm): Expect tag.
37392 [C99-based-standards] (wcstof): Expect function.
37393 [C99-based-standards] (wcstold): Likewise.
37394 [C99-based-standards] (wcstoll): Likewise.
37395 [C99-based-standards] (wcstoull): Likewise.
37396 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
37397 macro-int-constant. Specify type.
37398 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
37399 constraint on value.
37400 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
37402 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
37404 [ISO C standards]: Do not allow headers.
37405 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
37406 wcs[abcdefghijklmnopqrstuvwxyz]*.
37407 [ISO C standards] (*_t): Do not allow.
37408 * conform/data/wctype.h-data [C99-based standards] (iswblank):
37410 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
37411 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
37413 [ISO C standards]: Do not allow headers.
37414 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
37415 is[abcdefghijklmnopqrstuvwxyz]*.
37416 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
37417 to[abcdefghijklmnopqrstuvwxyz]*.
37418 [ISO C standards] (*_t): Do not allow.
37419 * conform/data/stdalign.h-data: New file.
37420 * conform/data/stdbool.h-data: Likewise.
37421 * conform/data/stdnoreturn.h-data: Likewise.
37423 2012-11-07 Roland McGrath <roland@hack.frob.com>
37426 * manual/filesys.texi (Directory Entries): Typo fix.
37427 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
37429 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37431 * elf/elf.h (EM_AARCH64): New macro.
37432 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
37433 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
37434 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
37435 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
37436 (R_AARCH64_TLSDESC): Likewise.
37437 (NT_ARM_TLS): Likewise.
37438 (NT_ARM_HW_BREAK): Likewise.
37439 (NT_ARM_HW_WATCH): Likewise.
37441 2012-11-07 Joseph Myers <joseph@codesourcery.com>
37444 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
37445 (__ieee754_powl): Saturate nonzero exponents with absolute value
37446 below 0x1p-79 to +/- 0x1p-79.
37447 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
37448 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
37449 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
37450 nonzero exponents with absolute value below 0x1p-32 to +/-
37452 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
37453 (__ieee754_powl): Saturate nonzero exponents with absolute value
37454 below 0x1p-79 to +/- 0x1p-79.
37455 * math/libm-test.inc (pow_test): Add more tests.
37457 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37459 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
37460 _dl_s390_cap_flags with kernel. Increase string length.
37461 (_dl_s390_platforms): Add z196 and zEC12.
37463 2012-11-07 Joseph Myers <joseph@codesourcery.com>
37465 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
37466 Change XOPEN21K to XOPEN2K.
37468 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
37470 * string/memmove.c: Use memcpy when possible.
37472 2012-11-06 Andreas Jaeger <aj@suse.de>
37474 * po/eo.po: Update from translation team.
37476 2012-11-06 Joseph Myers <joseph@codesourcery.com>
37479 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
37480 exponent and small x and y exponents, scale x or y up. Increase
37481 by 2 the exponent used in scaling up.
37482 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37483 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37484 * math/libm-test.inc (fma_test): Add more tests.
37485 (fma_test_towardzero): Likewise.
37486 (fma_test_downward): Likewise.
37487 (fma_test_upward): Likewise.
37489 2012-11-05 Joseph Myers <joseph@codesourcery.com>
37492 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
37496 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
37497 namespace for names of struct fields.
37498 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
37500 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
37501 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
37503 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
37506 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
37508 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
37510 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
37514 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
37517 2012-11-04 Joseph Myers <joseph@codesourcery.com>
37520 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
37521 definitely overflow as x * y not x * y + z.
37522 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37523 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37524 * math/libm-test.inc (fma_test): Add more tests.
37525 (fma_test_towardzero): Likewise.
37526 (fma_test_downward): Likewise.
37527 (fma_test_upward): Likewise.
37529 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
37533 * include/stub-tag.h: Remove file.
37534 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
37536 * manual/maint.texi (Porting): Don't reference it.
37537 * Makerules ($(objpfx)stubs): Likewise.
37538 * dirent/closedir.c: Don't include <stub-tag.h>.
37539 * dirent/dirfd.c: Likewise.
37540 * dirent/fdopendir.c: Likewise.
37541 * dirent/getdents.c: Likewise.
37542 * dirent/getdents64.c: Likewise.
37543 * dirent/opendir.c: Likewise.
37544 * dirent/readdir.c: Likewise.
37545 * dirent/readdir64.c: Likewise.
37546 * dirent/readdir64_r.c: Likewise.
37547 * dirent/readdir_r.c: Likewise.
37548 * dirent/rewinddir.c: Likewise.
37549 * dirent/seekdir.c: Likewise.
37550 * dirent/telldir.c: Likewise.
37551 * gmon/profil.c: Likewise.
37552 * grp/setgroups.c: Likewise.
37553 * inet/if_index.c: Likewise.
37554 * io/access.c: Likewise.
37555 * io/chdir.c: Likewise.
37556 * io/chmod.c: Likewise.
37557 * io/chown.c: Likewise.
37558 * io/close.c: Likewise.
37559 * io/dup.c: Likewise.
37560 * io/dup2.c: Likewise.
37561 * io/dup3.c: Likewise.
37562 * io/euidaccess.c: Likewise.
37563 * io/faccessat.c: Likewise.
37564 * io/fchdir.c: Likewise.
37565 * io/fchmod.c: Likewise.
37566 * io/fchmodat.c: Likewise.
37567 * io/fchown.c: Likewise.
37568 * io/fchownat.c: Likewise.
37569 * io/fcntl.c: Likewise.
37570 * io/flock.c: Likewise.
37571 * io/fstatfs.c: Likewise.
37572 * io/fstatfs64.c: Likewise.
37573 * io/fstatvfs.c: Likewise.
37574 * io/fstatvfs64.c: Likewise.
37575 * io/futimens.c: Likewise.
37576 * io/fxstat.c: Likewise.
37577 * io/fxstat64.c: Likewise.
37578 * io/fxstatat.c: Likewise.
37579 * io/fxstatat64.c: Likewise.
37580 * io/getcwd.c: Likewise.
37581 * io/isatty.c: Likewise.
37582 * io/lchmod.c: Likewise.
37583 * io/lchown.c: Likewise.
37584 * io/link.c: Likewise.
37585 * io/linkat.c: Likewise.
37586 * io/lseek.c: Likewise.
37587 * io/lseek64.c: Likewise.
37588 * io/lxstat64.c: Likewise.
37589 * io/mkdir.c: Likewise.
37590 * io/mkdirat.c: Likewise.
37591 * io/mkfifo.c: Likewise.
37592 * io/mkfifoat.c: Likewise.
37593 * io/open.c: Likewise.
37594 * io/open64.c: Likewise.
37595 * io/openat.c: Likewise.
37596 * io/openat64.c: Likewise.
37597 * io/pipe.c: Likewise.
37598 * io/pipe2.c: Likewise.
37599 * io/poll.c: Likewise.
37600 * io/posix_fadvise.c: Likewise.
37601 * io/posix_fadvise64.c: Likewise.
37602 * io/posix_fallocate.c: Likewise.
37603 * io/posix_fallocate64.c: Likewise.
37604 * io/read.c: Likewise.
37605 * io/readlink.c: Likewise.
37606 * io/readlinkat.c: Likewise.
37607 * io/rmdir.c: Likewise.
37608 * io/sendfile.c: Likewise.
37609 * io/sendfile64.c: Likewise.
37610 * io/statfs.c: Likewise.
37611 * io/statfs64.c: Likewise.
37612 * io/statvfs.c: Likewise.
37613 * io/statvfs64.c: Likewise.
37614 * io/symlink.c: Likewise.
37615 * io/symlinkat.c: Likewise.
37616 * io/ttyname.c: Likewise.
37617 * io/ttyname_r.c: Likewise.
37618 * io/umask.c: Likewise.
37619 * io/unlink.c: Likewise.
37620 * io/unlinkat.c: Likewise.
37621 * io/utime.c: Likewise.
37622 * io/utimensat.c: Likewise.
37623 * io/write.c: Likewise.
37624 * io/xmknod.c: Likewise.
37625 * io/xmknodat.c: Likewise.
37626 * io/xstat.c: Likewise.
37627 * io/xstat64.c: Likewise.
37628 * login/getpt.c: Likewise.
37629 * login/grantpt.c: Likewise.
37630 * login/unlockpt.c: Likewise.
37631 * math/e_acoshl.c: Likewise.
37632 * math/e_acosl.c: Likewise.
37633 * math/e_asinl.c: Likewise.
37634 * math/e_atan2l.c: Likewise.
37635 * math/e_atanhl.c: Likewise.
37636 * math/e_coshl.c: Likewise.
37637 * math/e_expl.c: Likewise.
37638 * math/e_fmodl.c: Likewise.
37639 * math/e_gammal_r.c: Likewise.
37640 * math/e_hypotl.c: Likewise.
37641 * math/e_j0l.c: Likewise.
37642 * math/e_j1l.c: Likewise.
37643 * math/e_jnl.c: Likewise.
37644 * math/e_lgammal_r.c: Likewise.
37645 * math/e_log10l.c: Likewise.
37646 * math/e_log2l.c: Likewise.
37647 * math/e_logl.c: Likewise.
37648 * math/e_powl.c: Likewise.
37649 * math/e_rem_pio2l.c: Likewise.
37650 * math/e_sinhl.c: Likewise.
37651 * math/e_sqrtl.c: Likewise.
37652 * math/fclrexcpt.c: Likewise.
37653 * math/fedisblxcpt.c: Likewise.
37654 * math/feenablxcpt.c: Likewise.
37655 * math/fegetenv.c: Likewise.
37656 * math/fegetexcept.c: Likewise.
37657 * math/fegetround.c: Likewise.
37658 * math/feholdexcpt.c: Likewise.
37659 * math/fesetenv.c: Likewise.
37660 * math/fesetround.c: Likewise.
37661 * math/feupdateenv.c: Likewise.
37662 * math/fgetexcptflg.c: Likewise.
37663 * math/fraiseexcpt.c: Likewise.
37664 * math/fsetexcptflg.c: Likewise.
37665 * math/ftestexcept.c: Likewise.
37666 * math/k_cosl.c: Likewise.
37667 * math/k_rem_pio2l.c: Likewise.
37668 * math/k_sinl.c: Likewise.
37669 * math/k_tanl.c: Likewise.
37670 * math/s_asinhl.c: Likewise.
37671 * math/s_atanl.c: Likewise.
37672 * math/s_cbrtl.c: Likewise.
37673 * math/s_erfl.c: Likewise.
37674 * math/s_expm1l.c: Likewise.
37675 * math/s_log1pl.c: Likewise.
37676 * math/s_tanhl.c: Likewise.
37677 * misc/acct.c: Likewise.
37678 * misc/brk.c: Likewise.
37679 * misc/chflags.c: Likewise.
37680 * misc/chroot.c: Likewise.
37681 * misc/fchflags.c: Likewise.
37682 * misc/fgetxattr.c: Likewise.
37683 * misc/flistxattr.c: Likewise.
37684 * misc/fremovexattr.c: Likewise.
37685 * misc/fsetxattr.c: Likewise.
37686 * misc/fsync.c: Likewise.
37687 * misc/ftruncate.c: Likewise.
37688 * misc/futimes.c: Likewise.
37689 * misc/futimesat.c: Likewise.
37690 * misc/getdomain.c: Likewise.
37691 * misc/getdtsz.c: Likewise.
37692 * misc/gethostid.c: Likewise.
37693 * misc/gethostname.c: Likewise.
37694 * misc/getloadavg.c: Likewise.
37695 * misc/getpagesize.c: Likewise.
37696 * misc/getsysstats.c: Likewise.
37697 * misc/getxattr.c: Likewise.
37698 * misc/gtty.c: Likewise.
37699 * misc/ioctl.c: Likewise.
37700 * misc/lgetxattr.c: Likewise.
37701 * misc/listxattr.c: Likewise.
37702 * misc/llistxattr.c: Likewise.
37703 * misc/lremovexattr.c: Likewise.
37704 * misc/lsetxattr.c: Likewise.
37705 * misc/lutimes.c: Likewise.
37706 * misc/madvise.c: Likewise.
37707 * misc/mincore.c: Likewise.
37708 * misc/mlock.c: Likewise.
37709 * misc/mlockall.c: Likewise.
37710 * misc/mmap.c: Likewise.
37711 * misc/mprotect.c: Likewise.
37712 * misc/msync.c: Likewise.
37713 * misc/munlock.c: Likewise.
37714 * misc/munlockall.c: Likewise.
37715 * misc/munmap.c: Likewise.
37716 * misc/preadv.c: Likewise.
37717 * misc/preadv64.c: Likewise.
37718 * misc/ptrace.c: Likewise.
37719 * misc/pwritev.c: Likewise.
37720 * misc/pwritev64.c: Likewise.
37721 * misc/readv.c: Likewise.
37722 * misc/reboot.c: Likewise.
37723 * misc/remap_file_pages.c: Likewise.
37724 * misc/removexattr.c: Likewise.
37725 * misc/revoke.c: Likewise.
37726 * misc/select.c: Likewise.
37727 * misc/setdomain.c: Likewise.
37728 * misc/setegid.c: Likewise.
37729 * misc/seteuid.c: Likewise.
37730 * misc/sethostid.c: Likewise.
37731 * misc/sethostname.c: Likewise.
37732 * misc/setregid.c: Likewise.
37733 * misc/setreuid.c: Likewise.
37734 * misc/setxattr.c: Likewise.
37735 * misc/sstk.c: Likewise.
37736 * misc/stty.c: Likewise.
37737 * misc/swapoff.c: Likewise.
37738 * misc/swapon.c: Likewise.
37739 * misc/sync.c: Likewise.
37740 * misc/syncfs.c: Likewise.
37741 * misc/syscall.c: Likewise.
37742 * misc/truncate.c: Likewise.
37743 * misc/ualarm.c: Likewise.
37744 * misc/usleep.c: Likewise.
37745 * misc/ustat.c: Likewise.
37746 * misc/utimes.c: Likewise.
37747 * misc/vhangup.c: Likewise.
37748 * misc/writev.c: Likewise.
37749 * posix/_exit.c: Likewise.
37750 * posix/alarm.c: Likewise.
37751 * posix/execve.c: Likewise.
37752 * posix/fexecve.c: Likewise.
37753 * posix/fork.c: Likewise.
37754 * posix/fpathconf.c: Likewise.
37755 * posix/getaddrinfo.c: Likewise.
37756 * posix/getegid.c: Likewise.
37757 * posix/geteuid.c: Likewise.
37758 * posix/getgid.c: Likewise.
37759 * posix/getgroups.c: Likewise.
37760 * posix/getlogin.c: Likewise.
37761 * posix/getlogin_r.c: Likewise.
37762 * posix/getpgid.c: Likewise.
37763 * posix/getpid.c: Likewise.
37764 * posix/getppid.c: Likewise.
37765 * posix/getresgid.c: Likewise.
37766 * posix/getresuid.c: Likewise.
37767 * posix/getsid.c: Likewise.
37768 * posix/getuid.c: Likewise.
37769 * posix/glob64.c: Likewise.
37770 * posix/nanosleep.c: Likewise.
37771 * posix/pathconf.c: Likewise.
37772 * posix/pause.c: Likewise.
37773 * posix/posix_madvise.c: Likewise.
37774 * posix/pread.c: Likewise.
37775 * posix/pread64.c: Likewise.
37776 * posix/pwrite.c: Likewise.
37777 * posix/pwrite64.c: Likewise.
37778 * posix/sched_getaffinity.c: Likewise.
37779 * posix/sched_getp.c: Likewise.
37780 * posix/sched_gets.c: Likewise.
37781 * posix/sched_primax.c: Likewise.
37782 * posix/sched_primin.c: Likewise.
37783 * posix/sched_rr_gi.c: Likewise.
37784 * posix/sched_setaffinity.c: Likewise.
37785 * posix/sched_setp.c: Likewise.
37786 * posix/sched_sets.c: Likewise.
37787 * posix/sched_yield.c: Likewise.
37788 * posix/setgid.c: Likewise.
37789 * posix/setlogin.c: Likewise.
37790 * posix/setpgid.c: Likewise.
37791 * posix/setresgid.c: Likewise.
37792 * posix/setresuid.c: Likewise.
37793 * posix/setsid.c: Likewise.
37794 * posix/setuid.c: Likewise.
37795 * posix/sleep.c: Likewise.
37796 * posix/spawni.c: Likewise.
37797 * posix/sysconf.c: Likewise.
37798 * posix/times.c: Likewise.
37799 * posix/wait.c: Likewise.
37800 * posix/wait3.c: Likewise.
37801 * posix/wait4.c: Likewise.
37802 * posix/waitpid.c: Likewise.
37803 * resolv/gai_sigqueue.c: Likewise.
37804 * resource/getpriority.c: Likewise.
37805 * resource/getrlimit.c: Likewise.
37806 * resource/getrusage.c: Likewise.
37807 * resource/nice.c: Likewise.
37808 * resource/setpriority.c: Likewise.
37809 * resource/setrlimit.c: Likewise.
37810 * resource/ulimit.c: Likewise.
37811 * rt/aio_cancel.c: Likewise.
37812 * rt/aio_fsync.c: Likewise.
37813 * rt/aio_read.c: Likewise.
37814 * rt/aio_sigqueue.c: Likewise.
37815 * rt/aio_suspend.c: Likewise.
37816 * rt/aio_write.c: Likewise.
37817 * rt/clock_getres.c: Likewise.
37818 * rt/clock_gettime.c: Likewise.
37819 * rt/clock_nanosleep.c: Likewise.
37820 * rt/clock_settime.c: Likewise.
37821 * rt/lio_listio.c: Likewise.
37822 * rt/mq_close.c: Likewise.
37823 * rt/mq_getattr.c: Likewise.
37824 * rt/mq_notify.c: Likewise.
37825 * rt/mq_open.c: Likewise.
37826 * rt/mq_receive.c: Likewise.
37827 * rt/mq_send.c: Likewise.
37828 * rt/mq_setattr.c: Likewise.
37829 * rt/mq_timedreceive.c: Likewise.
37830 * rt/mq_timedsend.c: Likewise.
37831 * rt/mq_unlink.c: Likewise.
37832 * rt/shm_open.c: Likewise.
37833 * rt/shm_unlink.c: Likewise.
37834 * rt/timer_create.c: Likewise.
37835 * rt/timer_delete.c: Likewise.
37836 * rt/timer_getoverr.c: Likewise.
37837 * rt/timer_gettime.c: Likewise.
37838 * rt/timer_settime.c: Likewise.
37839 * setjmp/__longjmp.c: Likewise.
37840 * setjmp/setjmp.c: Likewise.
37841 * signal/kill.c: Likewise.
37842 * signal/killpg.c: Likewise.
37843 * signal/raise.c: Likewise.
37844 * signal/sigaction.c: Likewise.
37845 * signal/sigaltstack.c: Likewise.
37846 * signal/sigblock.c: Likewise.
37847 * signal/sigignore.c: Likewise.
37848 * signal/sigintr.c: Likewise.
37849 * signal/signal.c: Likewise.
37850 * signal/sigpause.c: Likewise.
37851 * signal/sigpending.c: Likewise.
37852 * signal/sigqueue.c: Likewise.
37853 * signal/sigreturn.c: Likewise.
37854 * signal/sigset.c: Likewise.
37855 * signal/sigsetmask.c: Likewise.
37856 * signal/sigstack.c: Likewise.
37857 * signal/sigsuspend.c: Likewise.
37858 * signal/sigtimedwait.c: Likewise.
37859 * signal/sigvec.c: Likewise.
37860 * signal/sigwait.c: Likewise.
37861 * signal/sigwaitinfo.c: Likewise.
37862 * signal/sysv_signal.c: Likewise.
37863 * socket/accept.c: Likewise.
37864 * socket/accept4.c: Likewise.
37865 * socket/bind.c: Likewise.
37866 * socket/connect.c: Likewise.
37867 * socket/getpeername.c: Likewise.
37868 * socket/getsockname.c: Likewise.
37869 * socket/getsockopt.c: Likewise.
37870 * socket/isfdtype.c: Likewise.
37871 * socket/listen.c: Likewise.
37872 * socket/recv.c: Likewise.
37873 * socket/recvfrom.c: Likewise.
37874 * socket/recvmsg.c: Likewise.
37875 * socket/send.c: Likewise.
37876 * socket/sendmsg.c: Likewise.
37877 * socket/sendto.c: Likewise.
37878 * socket/setsockopt.c: Likewise.
37879 * socket/shutdown.c: Likewise.
37880 * socket/sockatmark.c: Likewise.
37881 * socket/socket.c: Likewise.
37882 * socket/socketpair.c: Likewise.
37883 * stdio-common/ctermid.c: Likewise.
37884 * stdio-common/cuserid.c: Likewise.
37885 * stdio-common/remove.c: Likewise.
37886 * stdio-common/rename.c: Likewise.
37887 * stdio-common/renameat.c: Likewise.
37888 * stdio-common/tempname.c: Likewise.
37889 * stdlib/getcontext.c: Likewise.
37890 * stdlib/makecontext.c: Likewise.
37891 * stdlib/setcontext.c: Likewise.
37892 * stdlib/swapcontext.c: Likewise.
37893 * stdlib/system.c: Likewise.
37894 * streams/fattach.c: Likewise.
37895 * streams/fdetach.c: Likewise.
37896 * streams/getmsg.c: Likewise.
37897 * streams/getpmsg.c: Likewise.
37898 * streams/putmsg.c: Likewise.
37899 * streams/putpmsg.c: Likewise.
37900 * sysdeps/unix/bsd/getpt.c: Likewise.
37901 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
37902 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
37903 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
37904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37906 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
37907 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37908 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
37909 * sysvipc/msgctl.c: Likewise.
37910 * sysvipc/msgget.c: Likewise.
37911 * sysvipc/msgrcv.c: Likewise.
37912 * sysvipc/msgsnd.c: Likewise.
37913 * sysvipc/semctl.c: Likewise.
37914 * sysvipc/semget.c: Likewise.
37915 * sysvipc/semop.c: Likewise.
37916 * sysvipc/semtimedop.c: Likewise.
37917 * sysvipc/shmat.c: Likewise.
37918 * sysvipc/shmctl.c: Likewise.
37919 * sysvipc/shmdt.c: Likewise.
37920 * sysvipc/shmget.c: Likewise.
37921 * termios/tcdrain.c: Likewise.
37922 * termios/tcflow.c: Likewise.
37923 * termios/tcflush.c: Likewise.
37924 * termios/tcgetattr.c: Likewise.
37925 * termios/tcgetpgrp.c: Likewise.
37926 * termios/tcsendbrk.c: Likewise.
37927 * termios/tcsetattr.c: Likewise.
37928 * termios/tcsetpgrp.c: Likewise.
37929 * time/adjtime.c: Likewise.
37930 * time/clock.c: Likewise.
37931 * time/getitimer.c: Likewise.
37932 * time/gettimeofday.c: Likewise.
37933 * time/setitimer.c: Likewise.
37934 * time/settimeofday.c: Likewise.
37935 * time/stime.c: Likewise.
37936 * time/time.c: Likewise.
37938 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
37940 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
37943 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
37945 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
37947 2012-11-03 Joseph Myers <joseph@codesourcery.com>
37950 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
37951 FE_TONEAREST before applying Dekker multiplication and Knuth
37952 addition. Clear inexact exceptions and check for exact zero
37953 results afterwards.
37954 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37955 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37956 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37957 * math/libm-test.inc (fma_test): Add more tests.
37958 (fma_test_towardzero): Likewise.
37959 (fma_test_downward): Likewise.
37960 (fma_test_upward): Likewise.
37961 * sysdeps/generic/math_private.h (default_libc_fesetround): New
37963 (libc_fesetround): New macro.
37964 (libc_fesetroundf): Likewise.
37965 (libc_fesetroundl): Likewise.
37966 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
37968 (libc_fesetround_387): Likewise.
37969 (libc_fesetroundf): New macro.
37970 (libc_fesetround): Likewise.
37971 (libc_fesetroundl): Likewise.
37972 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
37974 (libc_fesetroundf): New macro.
37975 (libc_fesetround): Likewise.
37976 (libc_fesetroundl): Likewise.
37977 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
37978 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
37979 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
37981 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
37982 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
37984 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
37985 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
37987 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
37991 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
37992 integer constant usable in #if and use that to give value to enum
37994 (FE_DIVBYZERO): Likewise.
37995 (FE_UNDERFLOW): Likewise.
37996 (FE_OVERFLOW): Likewise.
37997 (FE_INVALID): Likewise.
37998 (FE_INVALID_SNAN): Likewise.
37999 (FE_INVALID_ISI): Likewise.
38000 (FE_INVALID_IDI): Likewise.
38001 (FE_INVALID_ZDZ): Likewise.
38002 (FE_INVALID_IMZ): Likewise.
38003 (FE_INVALID_COMPARE): Likewise.
38004 (FE_INVALID_SOFTWARE): Likewise.
38005 (FE_INVALID_SQRT): Likewise.
38006 (FE_INVALID_INTEGER_CONVERSION): Likewise.
38007 (FE_TONEAREST): Likewise.
38008 (FE_TOWARDZERO): Likewise.
38009 (FE_UPWARD): Likewise.
38010 (FE_DOWNWARD): Likewise.
38011 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
38012 (FE_DIVBYZERO): Likewise.
38013 (FE_OVERFLOW): Likewise.
38014 (FE_UNDERFLOW): Likewise.
38015 (FE_INEXACT): Likewise.
38016 (FE_TONEAREST): Likewise.
38017 (FE_DOWNWARD): Likewise.
38018 (FE_UPWARD): Likewise.
38019 (FE_TOWARDZERO): Likewise.
38020 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
38021 (FE_UNDERFLOW): Likewise.
38022 (FE_OVERFLOW): Likewise.
38023 (FE_DIVBYZERO): Likewise.
38024 (FE_INVALID): Likewise.
38025 (FE_TONEAREST): Likewise.
38026 (FE_TOWARDZERO): Likewise.
38027 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
38028 (FE_OVERFLOW): Likewise.
38029 (FE_UNDERFLOW): Likewise.
38030 (FE_DIVBYZERO): Likewise.
38031 (FE_INEXACT): Likewise.
38032 (FE_TONEAREST): Likewise.
38033 (FE_TOWARDZERO): Likewise.
38034 (FE_UPWARD): Likewise.
38035 (FE_DOWNWARD): Likewise.
38036 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
38037 (FE_DIVBYZERO): Likewise.
38038 (FE_OVERFLOW): Likewise.
38039 (FE_UNDERFLOW): Likewise.
38040 (FE_INEXACT): Likewise.
38041 (FE_TONEAREST): Likewise.
38042 (FE_DOWNWARD): Likewise.
38043 (FE_UPWARD): Likewise.
38044 (FE_TOWARDZERO): Likewise.
38046 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
38048 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
38050 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
38052 * scripts/cross-test-ssh.sh (command): Use newlines to separate
38053 commands. Quote $PWD.
38054 (blacklist_exports): Don't use remove_newlines. Replace "declare
38056 (remove_newlines): Remove.
38058 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
38060 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
38061 * stdlib/stdlib.h (atof): Moved to ...
38062 * include/bits/stdlib-float.h: Here. New file.
38063 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
38064 * stdlib/bits/stdlib-float.h: New file.
38065 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
38067 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
38070 2012-11-02 Joseph Myers <joseph@codesourcery.com>
38072 * conform/conformtest.pl (@headers): Add fenv.h.
38073 * conform/data/fenv.h-data: New file.
38074 * include/fenv.h [_ISOMAC]: Disable all contents of file except
38075 include of <math/fenv.h>.
38077 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
38078 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
38079 && !UNIX98]. Enables tests for XOPEN2K8.
38080 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
38081 POSIX2008]: Likewise.
38083 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
38084 (struct rusage): Do not expect type or its members.
38087 * math/math.h (FP_NAN): Define macro to integer constant usable in
38088 #if and use that to give value to enum constant.
38089 (FP_INFINITE): Likewise.
38090 (FP_ZERO): Likewise.
38091 (FP_SUBNORMAL): Likewise.
38092 (FP_NORMAL): Likewise.
38094 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
38096 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
38097 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
38100 2012-11-02 Roland McGrath <roland@hack.frob.com>
38102 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
38103 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
38104 autoconf-time if not.
38105 * configure.in: Remove AC_PREREQ.
38107 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38109 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
38110 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
38111 of the internal implementation.
38113 2012-11-02 Joseph Myers <joseph@codesourcery.com>
38115 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
38116 except include of <misc/sys/syslog.h>.
38118 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
38120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
38121 function returns with a NULL context exit with zero.
38123 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38125 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
38127 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
38129 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
38130 (run_program_cmd): This.
38131 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
38132 (tst_langinfo): New variable. Use it.
38134 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
38136 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
38137 floating point opcodes.
38139 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
38141 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
38144 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
38146 * sysdeps/mach/hurd/powerpc: Remove directory.
38147 * sysdeps/mach/powerpc: Likewise.
38149 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
38151 * scripts/check-local-headers.sh: Ignore c++ headers.
38153 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
38155 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
38156 __libc_cleanup_region_start argument.
38158 2012-11-01 Joseph Myers <joseph@codesourcery.com>
38162 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
38163 x * y using scaling, not as x * y + z.
38164 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38165 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38166 * math/libm-test.inc (fma_test): Add more tests.
38167 (fma_test_towardzero): Likewise.
38168 (fma_test_downward): Likewise.
38169 (fma_test_upward): Likewise.
38171 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
38173 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
38175 2012-10-31 Joseph Myers <joseph@codesourcery.com>
38177 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
38180 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
38182 * rt/tst-shm.c (worker): Correct checking for mmap failure.
38184 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
38186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38191 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38194 Fix the order of the list for glibc 2.17.
38195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38198 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
38200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38202 2012-10-31 Joseph Myers <joseph@codesourcery.com>
38205 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
38206 for low part of x being zero before using __atanl (y).
38207 * math/libm-test.inc (atan2_test): Add another test.
38209 * manual/install.texi (Configuring and compiling): Document
38210 general use of test-wrapper and test-wrapper-env.
38211 * INSTALL: Regenerated.
38213 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
38214 (__fma): Do not extract and scale down low bits on after-rounding
38215 systems when result rounded to normal precision would have normal
38217 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
38218 (__fmal): Do not extract and scale down low bits on after-rounding
38219 systems when result rounded to normal precision would have normal
38221 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
38222 (__fmal): Do not extract and scale down low bits on after-rounding
38223 systems when result rounded to normal precision would have normal
38225 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
38227 (fma_test): Add more tests.
38228 (fma_test_towardzero): Likewise.
38229 (fma_test_downward): Likewise.
38230 (fma_test_upward): Likewise.
38232 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
38234 * sysdeps/i386/tininess.h: Renamed to ...
38235 * sysdeps/x86/tininess.h: This.
38236 * sysdeps/x86_64/tininess.h: Removed.
38238 2012-10-30 Joseph Myers <joseph@codesourcery.com>
38240 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
38241 input. Use $(build-program-cmd).
38242 ($(objpfx)tst-array1-static.out): Likewise.
38243 ($(objpfx)tst-array2.out): Likewise.
38244 ($(objpfx)tst-array3.out): Likewise.
38245 ($(objpfx)tst-array4.out): Likewise.
38246 ($(objpfx)tst-array5.out): Likewise.
38247 ($(objpfx)tst-array5-static.out): Likewise.
38249 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
38251 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
38254 * nss/nsswitch.h (nss_interface_function): Provide new
38255 macro for use with NSS functions.
38256 * grp/initgroups.c: Use new macro.
38257 * nss/getXXbyYY.c: Likewise.
38258 * nss/getXXbyYY_r.c: Likewise.
38259 * nss/getXXent.c: Likewise.
38260 * nss/getXXent_r.c: Likewise.
38261 * sysdeps/posix/getaddrinfo.c: Likewise.
38263 2012-10-30 Andreas Jaeger <aj@suse.de>
38265 * po/ru.po: Update Russion translation from translation project.
38267 2012-10-30 Joseph Myers <joseph@codesourcery.com>
38271 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
38272 result and shift together with sticky bit instead of replicating
38273 round-to-nearest rounding.
38274 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38275 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38276 * math/libm-test.inc (fma_test): Add more tests. Do not permit
38277 missing underflow exceptions.
38278 (fma_test_towardzero): Add more tests.
38279 (fma_test_downward): Likewise.
38280 (fma_test_upward): Likewise.
38283 * sysdeps/generic/tininess.h: New file.
38284 * sysdeps/i386/tininess.h: Likewise.
38285 * sysdeps/sh/tininess.h: Likewise.
38286 * sysdeps/x86_64/tininess.h: Likewise.
38287 * stdlib/tst-strtod-underflow.c: Likewise.
38288 * stdlib/tst-tininess.c: Likewise.
38289 * stdlib/strtod_l.c: Include <tininess.h>.
38290 (round_and_return): Do not set errno for exact underflow cases.
38291 Force an underflow exception when setting errno for underflow.
38292 Determine underflow based on rounding to normal precision if
38293 TININESS_AFTER_ROUNDING.
38294 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
38295 ERANGE for exact underflow cases.
38296 * stdlib/Makefile (tests): Add tst-tininess and
38297 tst-strtod-underflow.
38298 ($(objpfx)tst-tininess): Use $(link-libm).
38299 ($(objpfx)tst-strtod-underflow): Likewise.
38301 2012-10-30 Andreas Jaeger <aj@suse.de>
38304 * elf/Makefile (tests): Remove conditional for have-initfini-array
38305 since this is now always required and the variable does not exist
38307 (tests-static): Likewise.
38308 (modules-names): Likewise.
38310 * po/eo.po: Add Esperanto translation from translation project.
38312 * elf/tst-array1.c (fini_array): Make writeable so that it can be
38313 merged with constructor/destructor.
38314 (init_array): Likewise.
38315 * elf/tst-array2dep.c (fini_array): Likewise.
38316 (init_array): Likewise.
38318 2012-10-29 Mike Frysinger <vapier@gentoo.org>
38320 * manual/message.texi: Delete @cartouche tags.
38322 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
38324 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
38326 * sysdeps/mach/hurd/fsync.c: Likewise.
38328 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
38329 [_POSIX_REALTIME_SIGNALS]: Change condition to
38330 [_POSIX_REALTIME_SIGNALS > 0].
38332 2012-10-27 Andreas Jaeger <aj@suse.de>
38334 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
38335 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
38336 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
38337 [__WORDSIZE != 64]: Likewise.
38339 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
38341 * iconvdata/tst-table.sh: Remove ${SHELL}.
38342 * iconvdata/tst-tables.sh: Likewise.
38344 2012-10-25 David S. Miller <davem@davemloft.net>
38346 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38347 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
38350 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
38352 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38353 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
38354 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
38357 2012-10-25 Roland McGrath <roland@hack.frob.com>
38359 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38360 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
38363 2012-10-25 Joseph Myers <joseph@codesourcery.com>
38364 Jim Blandy <jimb@codesourcery.com>
38366 * scripts/cross-test-ssh.sh: New file.
38367 * manual/install.texi (Configuring and compiling): Document use of
38369 * INSTALL: Regenerated.
38371 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
38373 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
38376 2012-10-25 Joseph Myers <joseph@codesourcery.com>
38378 * Makeconfig (run-program-prefix): Fix comment.
38380 2012-10-24 Joseph Myers <joseph@codesourcery.com>
38381 Jim Blandy <jimb@codesourcery.com>
38383 * Makeconfig (test-wrapper): New variable,
38384 (test-wrapper-env): Likewise.
38385 [$(cross-compiling) = yes && $(test-wrapper) != ""]
38386 (run-built-tests): Define to yes.
38387 (run-program-prefix): Use $(test-wrapper).
38388 (built-program-cmd): Likewise.
38389 * Rules (make-test-out): Use $(test-wrapper-env) and
38390 $(host-built-program-cmd).
38391 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
38392 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
38394 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
38395 $(test-wrapper-env) to tst-rtld-load-self.sh.
38396 ($(objpfx)order2.out): Use $(test-wrapper).
38397 ($(objpfx)tst-initorder.out): Likewise.
38398 ($(objpfx)tst-initorder2.out): Likewise.
38399 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
38400 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
38401 (test_wrapper_env): New variable. Use it to run ld.so.
38402 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
38403 Use it to run ld.so.
38404 (test_wrapper_env): Likewise.
38405 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
38406 $(test-wrapper) to run-iconv-test.sh.
38407 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
38408 (ICONV): Use $test_wrapper.
38409 * posix/Makefile ($(objpfx)globtest.out): Pass
38410 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
38411 globtest.sh, not $(run-program-prefix).
38412 * posix/globtest.sh (run_via_rtld_prefix): New variable.
38413 (test_wrapper): Likewise.
38414 (test_wrapper_env): Likewise. Use it to run globtest with HOME
38415 set together with run_via_rtld_prefix.
38416 (run_program_prefix): Define in terms of test_wrapper and
38417 run_via_rtld_prefix.
38419 2012-10-24 Roland McGrath <roland@hack.frob.com>
38421 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
38422 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
38426 * include/time.h: Remove librt_hidden_proto (clock_gettime).
38427 Declare __clock_getres, __clock_gettime, __clock_settime,
38428 __clock_nanosleep, and __clock_getcpuclockid.
38429 * rt/clock_gettime.c: Define __clock_gettime as an alias.
38430 Remove librt_hidden_def (clock_gettime).
38431 * sysdeps/unix/clock_gettime.c: Likewise.
38432 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
38433 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
38434 * rt/clock_getres.c: Define __clock_getres as an alias.
38435 * sysdeps/posix/clock_getres.c: Likewise.
38436 * rt/clock_settime.c: Define __clock_settime as an alias.
38437 * sysdeps/unix/clock_settime.c: Likewise.
38438 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
38439 * sysdeps/unix/clock_nanosleep.c: Likewise.
38440 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
38441 * rt/clock-compat.c: New file.
38442 * rt/Makefile (librt-routines): Add clock-compat and move
38443 $(clock-routines) to ...
38444 (routines): ... here, new variable.
38445 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
38446 Don't add get_clockfreq here.
38447 * rt/Versions (libc: GLIBC_2.17): New version set.
38448 Add clock_* symbols here.
38449 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
38450 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
38451 (GLIBC_2.17): Add clock_* symbols.
38452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38454 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38459 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38460 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
38461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38462 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38463 * NEWS: Mention the move.
38465 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
38466 Use __open, __read, __close rather than their public counterparts.
38467 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38468 (__get_clockfreq_via_cpuinfo): Likewise.
38469 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
38470 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
38472 * config.h.in (HAVE_IFUNC): New #undef.
38473 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
38475 * configure: Regenerated.
38477 2012-10-24 Mike Frysinger <vapier@gentoo.org>
38479 * configure.in: Move READELF check to start of file.
38480 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
38481 libc_cv_asm_gnu_indirect_function in the process.
38482 * configure: Regenerated.
38484 2012-10-24 Mike Frysinger <vapier@gentoo.org>
38486 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
38487 send the output to /dev/null.
38488 (libc_cv_cc_with_libunwind): Likewise.
38489 (libc_cv_as_noexecstack): Likewise.
38490 * configure: Regenerate.
38492 2012-10-24 Joseph Myers <joseph@codesourcery.com>
38494 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
38496 * posix/globtest.sh (TMPDIR): Do not set.
38497 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
38498 (testout): Likewise.
38500 2012-10-24 Andreas Jaeger <aj@suse.de>
38502 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
38503 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
38504 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
38505 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
38506 posix_fadvise64, posix_fallocate64.
38508 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
38509 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
38510 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
38512 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
38514 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
38516 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
38517 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
38518 <bits/fcntl-linux.h>.
38519 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
38521 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
38522 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
38523 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
38524 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
38525 [__WORDSIZE != 64]: Likewise.
38527 2012-10-23 Joseph Myers <joseph@codesourcery.com>
38529 * Makeconfig (run-built-tests): New variable.
38530 * Rules [$(cross-compiling) = yes]: Change condition to
38531 [$(run-built-tests) = no].
38532 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
38533 to [$(run-built-tests) = yes].
38534 * elf/Makefile [$(cross-compiling) = no]: Likewise
38535 * grp/Makefile [$(cross-compiling) = no]: Likewise.
38536 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
38537 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
38538 * intl/Makefile [$(cross-compiling) = no]: Likewise.
38539 * io/Makefile [$(cross-compiling) = no]: Likewise.
38540 * libio/Makefile [$(cross-compiling) = no]: Likewise.
38541 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
38542 * misc/Makefile [$(cross-compiling) = no]: Likewise.
38543 * posix/Makefile [$(cross-compiling) = no]: Likewise.
38544 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
38545 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
38546 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
38547 * string/Makefile [$(cross-compiling) = no]: Likewise.
38549 * posix/Makefile ($(objpfx)globtest.out): Pass
38550 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
38551 $(rtld-installed-name).
38552 * posix/globtest.sh (elf_objpfx): Remove variable.
38553 (rtld_installed_name): Likewise.
38554 (library_path): Likewise.
38555 (run_program_prefix): New variable. Use for running globtest
38558 2012-10-23 Jim Blandy <jimb@codesourcery.com>
38559 Joseph Myers <joseph@codesourcery.com>
38561 * Makeconfig (host-built-program-cmd): New variable.
38562 * elf/Makefile (tst-stackguard1-ARGS): Use
38563 $(host-built-program-cmd).
38564 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
38565 (tst-spawn-ARGS): Likewise.
38566 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
38568 2012-10-23 Joseph Myers <joseph@codesourcery.com>
38569 Jim Blandy <jimb@codesourcery.com>
38571 * Makeconfig (run-via-rtld-prefix): New variable.
38572 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
38573 (built-program-cmd): Likewise.
38575 2012-10-22 Andreas Jaeger <aj@suse.de>
38577 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
38578 __O_RSYNC if it exists, otherwise to O_SYNC.
38580 2012-10-22 Jim Blandy <jimb@codesourcery.com>
38581 Joseph Myers <joseph@codesourcery.com>
38583 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
38585 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
38587 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
38590 2012-10-22 Andreas Jaeger <aj@suse.de>
38592 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
38594 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
38596 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38597 bits/fcntl-linux.h.
38599 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
38600 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
38602 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
38604 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
38607 2012-10-21 Jim Blandy <jimb@codesourcery.com>
38608 Joseph Myers <joseph@codesourcery.com>
38610 * config.make.in (NM): New variable.
38612 2012-10-21 Andreas Jaeger <aj@suse.de>
38614 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
38615 definitions and declarations that are provided by
38616 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
38618 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
38621 * elf/Makefile (tests-static): Add tst-leaks1-static.
38622 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
38623 ($(objpfx)tst-leaks1-static): New rule.
38624 ($(objpfx)tst-leaks1-static-mem): Likewise.
38625 (tst-leaks1-static-ENV): New macro.
38626 * elf/dl-open.c (dl_open_worker): Check the main application
38627 only if SHARED is defined.
38628 * elf/tst-leaks1-static.c: New file.
38630 2012-10-20 Andreas Jaeger <aj@suse.de>
38632 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
38633 generic values for Linux.
38634 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
38635 and declarations that are provided by <bits/fcntl-linux.h> and
38636 include <bits/fcntl-linux.h>.
38637 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38638 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38640 2012-10-20 Roland McGrath <roland@hack.frob.com>
38642 * io/fcntl.h: Move include of <bits/types.h> to the top and
38643 include it unconditionally.
38645 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
38647 * wcsmbs/Makefile (tests-ifunc): New variable.
38648 (tests): Add $(tests-ifunc).
38649 * wcsmbs/test-wcschr-ifunc.c: New file.
38650 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
38651 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
38652 * wcsmbs/test-wcslen-ifunc.c: Likewise.
38653 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
38654 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
38656 * string/Makefile (tests-ifunc): New variable.
38657 (tests): Add $(tests-ifunc).
38658 * string/test-memccpy.c (TEST_NAME): New macro.
38659 * string/test-memchr.c (TEST_NAME): Likewise.
38660 * string/test-memcmp.c (TEST_NAME): Likewise.
38661 * string/test-memcpy.c (TEST_NAME): Likewise.
38662 * string/test-memmem.c (TEST_NAME): Likewise.
38663 * string/test-memmove.c (TEST_NAME): Likewise.
38664 * string/test-memset.c (TEST_NAME): Likewise.
38665 * string/test-rawmemchr.c (TEST_NAME): Likewise.
38666 * string/test-stpcpy.c (TEST_NAME): Likewise.
38667 * string/test-stpncpy.c (TEST_NAME): Likewise.
38668 * string/test-strcasecmp.c (TEST_NAME): Likewise.
38669 * string/test-strcasestr.c (TEST_NAME): Likewise.
38670 * string/test-strcat.c (TEST_NAME): Likewise.
38671 * string/test-strchr.c (TEST_NAME): Likewise.
38672 * string/test-strcmp.c(TEST_NAME): Likewise.
38673 * string/test-strcpy.c (TEST_NAME): Likewise.
38674 * string/test-strcspn.c (TEST_NAME): Likewise.
38675 * string/test-strlen.c (TEST_NAME): Likewise.
38676 * string/test-strncasecmp.c (TEST_NAME): Likewise.
38677 * string/test-strncmp.c (TEST_NAME): Likewise.
38678 * string/test-strncpy.c (TEST_NAME): Likewise.
38679 * string/test-strnlen.c (TEST_NAME): Likewise.
38680 * string/test-strpbrk.c (TEST_NAME): Likewise.
38681 * string/test-strrchr.c (TEST_NAME): Likewise.
38682 * string/test-strspn.c (TEST_NAME): Likewise.
38683 * string/test-strstr.c (TEST_NAME): Likewise.
38684 * string/test-bcopy-ifunc.c: New file.
38685 * string/test-bzero-ifunc.c: Likewise.
38686 * string/test-memccpy-ifunc.c: Likewise.
38687 * string/test-memchr-ifunc.c: Likewise.
38688 * string/test-memcmp-ifunc.c: Likewise.
38689 * string/test-memcpy-ifunc.c: Likewise.
38690 * string/test-memmem-ifunc.c: Likewise.
38691 * string/test-memmove-ifunc.c: Likewise.
38692 * string/test-mempcpy-ifunc.c: Likewise.
38693 * string/test-memset-ifunc.c: Likewise.
38694 * string/test-rawmemchr-ifunc.c: Likewise.
38695 * string/test-stpcpy-ifunc.c: Likewise.
38696 * string/test-stpncpy-ifunc.c: Likewise.
38697 * string/test-strcasecmp-ifunc.c: Likewise.
38698 * string/test-strcasestr-ifunc.c: Likewise.
38699 * string/test-strcat-ifunc.c: Likewise.
38700 * string/test-strchr-ifunc.c: Likewise.
38701 * string/test-strchrnul-ifunc.c: Likewise.
38702 * string/test-strcmp-ifunc.c: Likewise.
38703 * string/test-strcpy-ifunc.c: Likewise.
38704 * string/test-strcspn-ifunc.c: Likewise.
38705 * string/test-strlen-ifunc.c: Likewise.
38706 * string/test-strncasecmp-ifunc.c: Likewise.
38707 * string/test-strncat-ifunc.c: Likewise.
38708 * string/test-strncmp-ifunc.c: Likewise.
38709 * string/test-strncpy-ifunc.c: Likewise.
38710 * string/test-strnlen-ifunc.c: Likewise.
38711 * string/test-strpbrk-ifunc.c: Likewise.
38712 * string/test-strrchr-ifunc.c: Likewise.
38713 * string/test-strspn-ifunc.c: Likewise.
38714 * string/test-strstr-ifunc.c: Likewise.
38716 * debug/Makefile (tests-ifunc): New variable.
38717 (tests): Add $(tests-ifunc).
38718 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
38719 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
38720 * debug/test-stpcpy_chk-ifunc.c: New file.
38721 * debug/test-strcpy_chk-ifunc.c: Likewise.
38723 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
38726 * elf/dl-load.c (open_verify): Retry read if the entire ELF
38727 header is not read in.
38729 2012-10-19 Joseph Myers <joseph@codesourcery.com>
38731 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
38732 script to $(SHELL) as $<. Pass $(common-objpfx) to script
38733 directly. Pass built executable to script as
38734 $(built-program-cmd).
38735 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
38736 $testprogram without using LD_LIBRARY_PATH and $ldso.
38738 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
38739 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
38740 $(rtld-installed-name).
38741 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
38742 (rtld_installed_name): Likewise.
38743 (library_path): Likewise.
38744 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
38745 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
38746 $(run-program-prefix) to tst-tables.sh.
38747 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
38748 it to run tst-table-from and tst-table-to.
38749 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
38750 Pass it to tst-table.sh.
38751 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
38752 $(run-program-prefix) to tst-gettext.sh.
38753 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
38755 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
38757 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
38758 to run tst-gettext.
38759 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
38760 to run tst-gettext2.
38761 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
38762 to run tst-translit.
38763 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
38764 $(run-program-prefix) to tst-mtrace.sh.
38765 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
38767 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
38768 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
38769 $(rtld-installed-name).
38770 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
38771 (rtld_installed_name): Likewise.
38772 (run_program_prefix): New variable. Use it to run wordexp-test.
38774 * Makeconfig (ARCH): Remove all definitions.
38775 (machine): Likewise.
38776 [ARCH]: Remove conditional code.
38777 [!objdir]: Give error.
38778 [!objdir] (objpfx): Remove.
38779 [!objdir] (common-objpfx): Likewise.
38780 [!objdir] (common-objdir): Likewise.
38781 * configure.in (config_makefile): Remove. Hardcode Makefile in
38782 AC_CONFIG_FILES call.
38783 * configure: Regenerated.
38786 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
38788 (testout): Likewise.
38790 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
38791 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
38792 $(rtld-installed-name).
38793 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
38794 (rtld_installed_name): Likwise.
38795 (runit): Remove function.
38796 (run_getconf): New variable, Use it for running getconf binary.
38798 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
38801 * string/test-memmem.c (check_result): New function.
38802 (do_one_test): Use it.
38803 (check1): New function.
38804 (test_main): Use it.
38806 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
38808 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
38810 2012-10-18 Joseph Myers <joseph@codesourcery.com>
38812 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
38813 (_G_LSEEK64): Likewise.
38814 (_G_MMAP64): Likewise.
38815 (_G_FSTAT64): Likewise.
38816 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
38817 (_G_LSEEK64): Likewise.
38818 (_G_MMAP64): Likewise.
38819 (_G_FSTAT64): Likewise.
38820 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
38821 unconditional. Call __mmap64 directly.
38822 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
38823 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
38824 __lseek64 directly.
38825 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
38826 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
38828 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
38829 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
38830 __lseek64 directly.
38831 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
38832 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
38833 __lseek64 directly.
38834 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
38835 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
38836 __lseek64 directly.
38837 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
38838 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
38839 __fxstat64 directly.
38840 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
38841 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
38843 (freopen64) [!_G_OPEN64]: Remove conditional code.
38844 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
38846 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
38847 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
38849 (ftello64) [!_G_LSEEK64]: Remove conditional code.
38850 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
38852 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
38853 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
38855 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
38856 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
38858 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
38859 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
38861 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
38862 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
38864 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
38866 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
38869 * manual/memory.texi (Malloc Tunable Parameters): Add note
38870 about free list pointers overwriting some perturb bytes.
38871 Wording suggested by Roland McGrath.
38873 2012-10-17 Joseph Myers <joseph@codesourcery.com>
38875 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
38876 (lgamma_test): Likewise.
38877 (tgamma_test): Likewise.
38879 2012-10-16 Florian Weimer <fweimer@redhat.com>
38882 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
38883 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
38885 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
38887 * NEWS: Mention BZ #14716.
38888 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
38889 when removing AVAILABLE1_USES_J macro.
38891 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
38893 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
38894 (__bswap_64): __uint64_t for unsigned 64-bit int.
38896 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
38898 * include/string.h (memmem): Declare libc hidden alias.
38899 * string/memmem.c (memmem): Define libc hidden alias.
38900 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
38901 __read, __close instead of open, read, close.
38903 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
38905 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
38906 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
38908 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
38909 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
38910 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
38912 (__rawmemchr_sse2): Likewise.
38913 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
38914 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
38915 (__strchr_sse2): Likewise.
38916 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
38917 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
38918 (__strcasecmp_sse2): Likewise.
38919 (__strncasecmp_sse2): Likewise.
38920 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
38921 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
38922 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
38923 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
38924 (__strrchr_sse2): Likewise.
38925 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
38927 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
38928 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
38929 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
38930 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38931 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
38932 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
38933 * sysdeps/x86_64/multiarch/memset.S: Likewise.
38934 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38935 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
38936 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
38937 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
38938 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
38939 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
38940 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
38941 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
38942 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
38943 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
38944 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
38945 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
38946 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
38947 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
38948 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
38949 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
38950 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38951 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
38952 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38953 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
38954 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38955 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
38956 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
38958 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
38960 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
38961 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
38962 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
38963 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
38965 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
38967 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
38968 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
38969 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
38970 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
38972 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38973 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38974 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38975 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38976 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38977 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38978 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38979 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38980 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38981 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38982 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38983 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38984 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38985 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
38986 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
38987 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38988 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
38989 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
38990 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38991 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38992 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38993 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38994 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38995 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38996 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38997 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
38998 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
38999 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
39000 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
39001 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39002 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
39003 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39004 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39005 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
39006 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39007 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39008 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39009 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39010 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39011 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39012 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
39014 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
39015 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
39016 * include/ifunc-impl-list.h: New file.
39017 * misc/ifunc-impl-list.c: Likewise.
39018 * misc/Makefile (routines): Add ifunc-impl-list.
39019 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
39020 * string/test-string.h: Include <ifunc-impl-list.h>.
39021 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
39022 TEST_NAME]: New variables.
39023 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
39025 (test_init): Call __libc_ifunc_impl_list to initialize
39026 func_list if TEST_IFUNC and TEST_NAME are defined.
39028 * string/Makefile (strop-tests): Add bcopy and bzero.
39029 * string/test-bcopy.c: New file.
39030 * string/test-bzero.c: Likewise.
39031 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
39033 * string/test-memset.c: Support bzero test if TEST_BZERO is
39035 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
39037 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
39039 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
39042 2012-10-10 Joseph Myers <joseph@codesourcery.com>
39044 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
39045 * configure: Regenerated.
39047 * Makeconfig (+link-static-before-libc): Don't include
39048 $(link-static-libc).
39050 * libio/libio.h (_IO_pos_t): Remove.
39052 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
39054 * NEWS: Add note about FIPS mode. Wording suggested by Roland
39057 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
39059 * crypt/crypt-entry.c: Include fips-private.h.
39060 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
39061 * crypt/md5c-test.c (main): Tolerate disabled MD5.
39062 * sysdeps/unix/sysv/linux/fips-private.h: New file.
39063 * sysdeps/generic/fips-private.h: New file, dummy fallback.
39065 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
39067 * crypt/crypt-private.h: Include stdbool.h.
39068 (_ufc_setup_salt_r): Return bool.
39069 * crypt/crypt-entry.c: Include errno.h.
39070 (__crypt_r): Return NULL with EINVAL for bad salt.
39071 * crypt/crypt_util.c (bad_for_salt): New.
39072 (_ufc_setup_salt_r): Check that salt is long enough and within
39073 the specified alphabet.
39074 * crypt/badsalttest.c: New file.
39075 * crypt/Makefile (tests): Add it.
39076 ($(objpfx)badsalttest): New.
39078 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
39080 * NEWS: Add entry for BZ #14602.
39082 2012-10-09 Joseph Myers <joseph@codesourcery.com>
39084 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
39086 * math/libm-test.inc: Update comment listing what functions and
39088 (isgreater_test): New function.
39089 (isgreaterequal_test): Likewise.
39090 (isless_test): Likewise.
39091 (islessequal_test): Likewise.
39092 (islessgreater_test): Likewise.
39093 (isunordered_test): Likewise.
39094 (main): Call the new functions.
39096 2012-10-09 Roland McGrath <roland@hack.frob.com>
39098 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
39099 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
39100 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
39101 * sysdeps/i386/configure: Regenerated.
39102 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
39103 * sysdeps/mach/configure: Regenerated.
39104 * sysdeps/mach/hurd/configure: Regenerated.
39105 * sysdeps/powerpc/configure: Regenerated.
39106 * sysdeps/powerpc/powerpc32/configure: Regenerated.
39107 * sysdeps/powerpc/powerpc64/configure: Regenerated.
39108 * sysdeps/s390/s390-32/configure: Regenerated.
39109 * sysdeps/s390/s390-64/configure: Regenerated.
39110 * sysdeps/sh/configure: Regenerated.
39111 * sysdeps/sparc/configure: Regenerated.
39112 * sysdeps/unix/sysv/linux/configure: Regenerated.
39113 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
39114 * sysdeps/x86_64/configure: Regenerated.
39116 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
39117 defined. Don't check if MAP is NULL.
39119 2012-10-09 Joseph Myers <joseph@codesourcery.com>
39121 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
39122 (_G_stat64): Likewise.
39123 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
39124 (_G_stat64): Likewise.
39125 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
39126 instead of struct _G_stat64.
39127 * libio/fileops.c (mmap_remap_check): Likewise.
39128 (decide_maybe_mmap): Likewise.
39129 (_IO_new_file_seekoff): Likewise.
39130 (_IO_file_stat): Likewise.
39131 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
39133 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
39134 instead of struct _G_stat64.
39135 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
39137 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
39140 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
39142 (CHECK_EOL): New macro.
39143 (two_way_short_needle): Check beginning of haystack for EOL. Use
39145 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
39146 Replace with CHECK_EOL.
39147 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
39148 Replace with CHECK_EOL.
39150 2012-10-08 Joseph Myers <joseph@codesourcery.com>
39152 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
39154 * math/libm-test.inc: Update comment listing what functions and
39156 (finite_test): New function.
39157 (isinf_test): Likewise.
39158 (isnan_test): Likewise.
39159 (fpclassify_test): Test subnormal input.
39160 (isfinite_test): Likewise.
39161 (isnormal_test): Likewise.
39162 (main): Call the new functions.
39164 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
39167 * Makerules (%.dynsym): Force C locale when running
39168 $(OBJDUMP) --dynamic-syms.
39170 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
39172 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
39175 2012-10-06 David S. Miller <davem@davemloft.net>
39177 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
39178 upper 32-bits of the length value in %o2 since we use branch-on-register
39179 tests which consider the entire 64-bit register.
39181 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
39183 * string/test-strstr.c (check2): Add a test for page boundary.
39185 2012-10-05 David S. Miller <davem@davemloft.net>
39187 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
39188 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
39190 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
39192 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
39193 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
39194 and bzero when HWCAP_SPARC_CRYPTO is present.
39196 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
39199 * string/test-strstr.c (check2): New function.
39200 (test_main): Call check2.
39202 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
39204 * string/bug-strcasestr1.c (do_test): Moved to ...
39205 * string/test-strcasestr.c (check1): Here. New function.
39206 (do_one_test): Break out result checking code into ...
39207 (check_result): This. New function.
39208 (do_one_test): Call check_result.
39209 (test_main): Call check1.
39210 * string/bug-strchr1.c (do_test): Moved to ...
39211 * string/test-strchr.c (check1): Here. New function.
39212 (do_one_test): Break out result checking code into ...
39213 (check_result): This. New function.
39214 (do_one_test): Call check_result.
39215 (test_main): Call check1.
39216 * string/bug-strstr1.c (main): Moved to ...
39217 * string/test-strstr.c (check1): Here. New function.
39218 (do_one_test): Break out result checking code into ...
39219 (check_result): This. New function.
39220 (do_one_test): Call check_result.
39221 (test_main): Call check1.
39222 * string/bug-strcasestr1.c: Removed.
39223 * string/bug-strchr1.c: Likewise.
39224 * string/bug-strstr1.c: Likewise.
39226 * elf/Makefile (dl-routines): Add hwcaps.
39227 * elf/dl-support.c (_dl_important_hwcaps): Removed.
39228 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
39229 (_dl_important_hwcaps): Moved to ...
39230 * elf/dl-hwcaps.c: Here. New file.
39231 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
39234 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
39235 if IS_IN_rtld isn't defined.
39237 * elf/dl-support.c (_dl_sysinfo_map): New.
39238 Include "get-dynamic-info.h" and "setup-vdso.h".
39239 (_dl_non_dynamic_init): Call setup_vdso.
39240 * elf/dynamic-link.h: Don't include <assert.h>.
39241 (elf_get_dynamic_info): Moved to ...
39242 * elf/get-dynamic-info.h: Here. New file.
39243 * elf/dynamic-link.h: Include "get-dynamic-info.h".
39244 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
39245 * elf/setup-vdso.h: Here. New file.
39246 * elf/rtld.c: Include "setup-vdso.h".
39247 (dl_main): Call setup_vdso.
39249 2012-10-05 Joseph Myers <joseph@codesourcery.com>
39251 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
39252 creal in comment listing functions tested. List finite, isinf,
39253 isnan, isless, islessequal, isgreater, isgreaterequal,
39254 islessgreater, isunordered, lgamma_r and pow10 as functions and
39255 macros not tested. Mention which functions not tested are aliases
39256 for other functions. Fix typo. Note that signs of NaNs are not
39259 * scripts/config.guess: Update from config.git.
39260 * scripts/config.sub: Likewise.
39262 2012-10-04 Roland McGrath <roland@hack.frob.com>
39264 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
39265 * misc/madvise.c (madvise): Renamed to __madvise.
39266 Make madvise a weak alias.
39267 * include/sys/mman.h: Declare __madvise.
39268 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
39269 * sysdeps/unix/syscalls.list
39270 (madvise): Make __madvise the strong name, and madvise a weak alias.
39271 * sysdeps/unix/sysv/linux/syscalls.list
39272 (madvise, mmap): Remove redundant entries.
39273 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
39274 * malloc/malloc.c (mtrim): Likewise.
39275 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
39277 2012-10-03 Roland McGrath <roland@hack.frob.com>
39279 * sysdeps/mach/hurd/dl-cache.c: File removed.
39280 * config.h.in (USE_LDCONFIG): New #undef.
39281 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
39282 * configure: Regenerated.
39283 * elf/Makefile (dl-routines): Add dl-cache only under
39284 [$(use-ldconfig) = yes].
39285 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
39286 cache on [USE_LDCONFIG].
39287 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
39289 * elf/rtld.c (dl_main): Likewise.
39291 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
39293 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
39294 _SC_LEVEL4_CACHE_LINESIZE.
39296 2012-10-03 Roland McGrath <roland@hack.frob.com>
39298 * sysdeps/unix/bsd/confstr.h: File removed.
39300 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
39302 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
39305 2012-10-02 Roland McGrath <roland@hack.frob.com>
39307 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
39308 Make 'mapoff' field ElfW(Off) rather than off_t.
39310 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
39312 * nscd/Makefile: Remove nscd-cflags and all its users.
39313 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
39314 (CFLAGS-nonlib): Add compiler flags for nscd modules.
39317 * malloc.c (malloc_printerr): Clarify error message.
39319 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
39322 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39323 Set bit_FMA_Usable if FMA is supported.
39324 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
39326 (bit_FMA4_Usable): Updated.
39327 (index_FMA_Usable): New macro.
39328 (CPUID_FMA): Likewise
39329 (HAS_FMA): Defined with bit_FMA_Usable.
39331 2012-10-01 Roland McGrath <roland@hack.frob.com>
39333 * bits/types.h (__swblk_t): Type removed.
39334 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
39335 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
39336 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39337 (__SWBLK_T_TYPE): Likewise.
39338 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39339 (__SWBLK_T_TYPE): Likewise.
39340 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39341 (__SWBLK_T_TYPE): Likewise.
39342 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39343 (__SWBLK_T_TYPE): Likewise.
39345 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
39346 Honza Horak <hhorak@redhat.com>
39348 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
39349 (xdr_mapname): Use YPMAXMAP as maxsize.
39350 (xdr_peername): Use YPMAXPEER as maxsize.
39351 (xdr_keydat): Use YPAXRECORD as maxsize.
39352 (xdr_valdat): Use YPMAXRECORD as maxsize.
39354 2012-10-01 Roland McGrath <roland@hack.frob.com>
39356 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
39358 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
39359 * csu/init-first.c: ... here.
39360 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
39361 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
39362 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
39363 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
39364 * sysdeps/i386/init-first.c: File removed.
39365 * sysdeps/sh/init-first.c: File removed.
39367 2012-10-01 Joseph Myers <joseph@codesourcery.com>
39370 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
39371 if x * y might underflow to zero and z is zero.
39372 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39373 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39374 * math/libm-test.inc (min_subnorm_value): New variable.
39375 (fma_test): Add more tests.
39376 (fma_test_towardzero): Likewise.
39377 (fma_test_downward): Likewise
39378 (fma_test_upward): Likewise.
39379 (initialize): Set min_subnorm_value.
39381 2012-09-29 Joseph Myers <joseph@codesourcery.com>
39384 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
39386 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
39387 mode for addition resulting in exact zero.
39388 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
39389 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
39391 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39392 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39393 * math/libm-test.inc (fma_test): Add more tests.
39394 (fma_test_towardzero): New function.
39395 (fma_test_downward): Likewise.
39396 (fma_test_upward): Likewise.
39397 (main): Call the new functions.
39399 2012-09-28 David S. Miller <davem@davemloft.net>
39401 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
39403 2012-09-28 Roland McGrath <roland@hack.frob.com>
39405 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
39406 instead of SIGALRM.
39408 * sysdeps/gnu/_G_config.h: Moved to ...
39409 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
39410 * sysdeps/mach/hurd/_G_config.h: Moved to ...
39411 * sysdeps/generic/_G_config.h: ... here.
39413 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
39415 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
39417 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
39418 Conditionalize target on [libnss_test1.so-version].
39420 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
39422 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
39423 (elfobjdir): Move out of conditionals.
39425 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
39426 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
39427 (__nss_lookup_function): Conditionalize label remove_from_tree on
39428 [!DO_STATIC_NSS || SHARED], matching its only use.
39430 2012-09-28 David S. Miller <davem@davemloft.net>
39432 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
39433 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
39435 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
39437 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
39438 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
39439 when HWCAP_SPARC_CRYPTO is present.
39441 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
39443 * io/tst-mknodat.c: Create a FIFO instead of a socket.
39445 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
39448 * stdio-common/vfprintf.c (process_string_arg): Revert
39451 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
39453 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
39455 * stdio-common/tst-sprintf.c: Include <locale.h>
39456 (main): Test sprintf's handling of incomplete multibyte
39459 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
39461 * elf/dl-runtime.c (VERSYMIDX): Removed.
39462 * elf/dl-version.c (VERSYMIDX): Likewise.
39463 * elf/do-rel.h (VERSYMIDX): Likewise.
39464 (VALIDX): Likewise.
39465 * elf/dynamic-link.h (VERSYMIDX): Likewise.
39466 * elf/rtld.c (VALIDX): Likewise.
39467 (ADDRIDX): Likewise.
39468 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
39469 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
39470 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
39471 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
39472 (VALIDX): Likewise.
39473 (ADDRIDX): Likewise.
39475 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
39477 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
39479 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
39482 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
39484 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
39485 addresses are in the same scope as 192.0.2/24.
39486 * posix/gai.conf: Document new scope table defaults.
39488 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39491 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
39492 for ftell. Compute offsets from write pointers instead.
39493 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
39495 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39498 * libio/Makefile (tests): New test case tst-fseek.
39499 * libio/tst-fseek.c: New test case to verify that fseek/ftell
39500 combination works in wide mode.
39501 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
39502 state when the external buffer state changes.
39504 2012-09-27 David S. Miller <davem@davemloft.net>
39507 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
39508 pass reloc->r_addend in as the 'high' argument to
39509 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
39511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39513 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
39515 * rt/tst-aio2.c: Include <pthread.h>.
39516 * rt/tst-aio3.c: Likewise.
39518 2012-09-27 Steve Ellcey <sellcey@mips.com>
39520 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
39522 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
39524 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
39525 contents on [SHARED].
39527 2012-09-26 Marek Polacek <polacek@redhat.com>
39531 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
39532 for C++ and GCC <4.3 as well as for non GCC compilers.
39534 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
39536 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39538 2012-09-25 Roland McGrath <roland@hack.frob.com>
39540 * Makefile.in (all, install): Declare with .PHONY.
39541 Reported by Michael Hope <michael.hope@linaro.org>.
39543 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39545 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
39546 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
39548 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
39550 (sydep_routines): Add the new and the internal functions.
39551 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
39552 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
39553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
39554 (GLIBC_2.17): Add the new function.
39555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39556 (GLIBC_2.17): Likewise.
39557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
39558 (GLIBC_2.17): Likewise.
39559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
39560 (GLIBC_2.17): Likewise.
39561 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
39563 2012-09-25 Alan Modra <amodra@gmail.com>
39565 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
39566 Add release barrier before setting once_control to say
39567 initialisation is done. Add hints on lwarx. Use macro in
39569 (clear_once_control): Add release barrier.
39571 2012-09-25 Joseph Myers <joseph@codesourcery.com>
39574 * math/s_clog.c (__clog): Handle more values close to |z| = 1
39576 * math/s_clog10.c (__clog10): Likewise.
39577 * math/s_clog10f.c (__clog10f): Likewise.
39578 * math/s_clog10l.c (__clog10l): Likewise.
39579 * math/s_clogf.c (__clogf): Likewise.
39580 * math/s_clogl.c (__clogl): Likewise.
39581 * math/Makefile (libm-calls): Add x2y2m1.
39582 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
39583 (__x2y2m1): Likewise.
39584 (__x2y2m1l): Likewise.
39585 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
39586 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
39587 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
39588 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
39589 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
39590 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
39591 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
39592 * sysdeps/i386/fpu/libm-test-ulps: Update.
39593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39596 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
39597 int as type of variable DEPTH.
39598 (glob): Use size_t instead of int as type of variables NEWCOUNT
39601 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39603 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39604 Add s_sincosf-sse2.
39605 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
39606 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
39607 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
39608 macros for using routine as __sincosf_ia32.
39609 Use macro for function declaration and weak_alias.
39610 * sysdeps/i386/fpu/libm-test-ulps: Update.
39612 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
39613 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39615 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
39616 subnormal argument.
39617 * math/s_cexpf.c (__cexpf): Likewise.
39618 * math/s_csinf.c (__csinf): Likewise.
39619 * math/s_csinhf.c (__csinhf): Likewise.
39620 * math/s_ctanf.c (__ctanf): Likewise.
39621 * math/s_ctanhf.c (__ctanhf): Likewise.
39622 * math/s_ccosh.c (__ccoshf): Likewise.
39623 * math/s_cexp.c (__cexpl): Likewise.
39624 * math/s_csin.c (__csin): Likewise.
39625 * math/s_csinh.c (__csinh): Likewise.
39626 * math/s_ctan.c (__ctan): Likewise.
39627 * math/s_ctanh.c (ctanh): Likewise.
39628 * math/s_ccoshl.c (__ccoshl): Likewise.
39629 * math/s_cexpl.c (__cexpl): Likewise.
39630 * math/s_csinl.c (__csinl): Likewise.
39631 * math/s_csinhl.c (__csinhl): Likewise.
39632 * math/s_ctanl.c (__ctanl): Likewise.
39633 * math/s_ctanhl.c (__ctanhl): Likewise.
39635 2012-09-25 Joseph Myers <joseph@codesourcery.com>
39637 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
39638 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
39639 (_IO_off_t): Define to __off_t, not _G_off_t.
39640 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
39641 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
39642 (_IO_wint_t): Define to wint_t, not _G_wint_t.
39643 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
39644 type of __dummy and __dummy2 fields.
39645 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
39646 (_G_ssize_t): Likewise.
39647 (_G_off_t): Likewise.
39648 (_G_pid_t): Likewise.
39649 (_G_uid_t): Likewise.
39650 (_G_wchar_t): Likewise.
39651 (_G_wint_t): Likewise.
39652 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
39653 (_G_ssize_t): Likewise.
39654 (_G_off_t): Likewise.
39655 (_G_pid_t): Likewise.
39656 (_G_uid_t): Likewise.
39657 (_G_wchar_t): Likewise.
39658 (_G_wint_t): Likewise.
39659 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
39660 (_G_ssize_t): Likewise.
39661 (_G_off_t): Likewise.
39662 (_G_pid_t): Likewise.
39663 (_G_uid_t): Likewise.
39664 (_G_wchar_t): Likewise.
39665 (_G_wint_t): Likewise.
39667 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39669 * malloc/arena.c: Include malloc-sysdep.h.
39670 (shrink_heap): Use check_may_shrink_heap to decide if madvise
39671 is sufficient to shrink the heap or an unmap is needed.
39672 * sysdeps/generic/malloc-sysdep.h: New file. Define
39673 new function check_may_shrink_heap.
39674 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
39675 new function check_may_shrink_heap.
39677 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39679 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
39682 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
39684 * catgets/test-gencat.sh: Add "set -e".
39685 * elf/tst-pathopt.sh: Likewise.
39686 * grp/tst_fgetgrent.sh: Likewise.
39687 * iconvdata/run-iconv-test.sh: Likewise.
39688 * intl/tst-gettext.sh: Likewise.
39689 * intl/tst-gettext2.sh: Likewise.
39690 * intl/tst-gettext4.sh: Likewise.
39691 * intl/tst-gettext6.sh: Likewise.
39692 * intl/tst-translit.sh: Likewise.
39693 * io/ftwtest-sh: Likewise.
39694 * libio/test-freopen.sh: Likewise.
39695 * malloc/tst-mtrace.sh: Likewise.
39696 * posix/globtest.sh: Likewise.
39697 * posix/tst-getconf.sh: Likewise.
39698 * posix/wordexp-tst.sh: Likewise.
39699 * stdio-common/tst-printf.sh: Likewise.
39700 * stdio-common/tst-unbputc.sh: Likewise.
39701 * stdlib/tst-fmtmsg.sh: Likewise.
39702 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
39703 * catgets/Makefile: Do not specify -e option when running
39704 testsuite shell scripts.
39705 * elf/Makefile: Likewise.
39706 * grp/Makefile: Likewise.
39707 * iconvdata/Makefile: Likewise.
39708 * intl/Makefile: Likewise.
39709 * io/Makefile: Likewise.
39710 * libio/Makefile: Likewise.
39711 * malloc/Makefile: Likewise.
39712 * posix/Makefile: Likewise.
39713 * stdio-common/Makefile: Likewise.
39714 * stdlib/Makefile: Likewise.
39715 * sysdeps/x86_64/Makefile: Likewise.
39717 * io/ftwtest-sh: Add copyright header.
39718 * posix/globtest.sh: Likewise.
39719 * posix/tst-getconf.sh: Likewise.
39720 * posix/wordexp-tst.sh: Likewise.
39721 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
39723 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
39726 * Makeconfig (+link): Defined as $(+link-static) if
39727 $(build-shared) isn't yes.
39728 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
39730 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
39732 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
39735 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
39736 new chunk size with MALLOC_ALIGN_MASK.
39738 2012-09-24 Joseph Myers <joseph@codesourcery.com>
39741 * stdio-common/printf_fphex.c: Include <stdbool.h> and
39743 (__printf_fphex): Determine rounding using get_rounding_mode and
39745 * stdio-common/tst-printf-round.c (struct hex_test): New
39747 (hex_tests): New variable.
39748 (test_hex_in_one_mode): New function.
39749 (do_test): Also run tests for hex float output.
39751 2012-09-21 Joseph Myers <joseph@codesourcery.com>
39753 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
39754 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
39755 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
39756 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
39757 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
39758 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
39759 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
39760 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
39762 2012-09-20 Joseph Myers <joseph@codesourcery.com>
39764 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
39765 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
39766 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
39767 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
39769 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
39772 * elf/rtld.c (dl_main): Limit the check for self loading to normal
39774 * elf/tst-rtld-load-self.sh: New test.
39775 * elf/Makefile: Run it.
39777 2012-09-18 Joseph Myers <joseph@codesourcery.com>
39779 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
39780 (tst-writev-ENV): Remove.
39781 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
39783 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
39785 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
39787 2012-09-17 Joseph Myers <joseph@codesourcery.com>
39789 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
39791 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
39793 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
39794 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
39795 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
39798 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
39801 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
39802 * config.make.in (have-cpp-asm-debuginfo): Removed.
39803 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
39804 * configure: Regenerated.
39806 2012-09-14 Joseph Myers <joseph@codesourcery.com>
39809 * stdio-common/printf_fp.c: Include <stdbool.h> and
39811 (___printf_fp): Determine rounding using get_rounding_mode and
39813 * stdio-common/tst-printf-round.c: New file.
39814 * stdio-common/Makefile (tests): Add tst-printf-round.
39815 (link-libm): New variable.
39816 ($(objpfx)tst-printf-round): Depend in $(link-libm).
39818 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
39821 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
39822 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
39824 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
39827 2012-09-13 Joseph Myers <joseph@codesourcery.com>
39829 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
39830 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39831 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39832 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39834 2012-09-12 Joseph Myers <joseph@codesourcery.com>
39837 * include/rounding-mode.h: New file.
39838 * sysdeps/generic/get-rounding-mode.h: Likewise.
39839 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
39840 * stdlib/strtod_l.c: Include <rounding-mode.h>.
39841 (MAX_VALUE): New macro.
39842 (MIN_VALUE): Likewise.
39843 (overflow_value): New function.
39844 (underflow_value): Likewise.
39845 (round_and_return): Use overflow_value and underflow_value to
39846 determine return values in overflow and underflow cases. Use
39847 round_away to determine rounding depending on rounding mode.
39848 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
39849 determine return values in overflow and underflow cases.
39850 * stdlib/tst-strtod-round.c: Include <fenv.h>.
39851 (struct test_results): New structure.
39852 (struct test): Use struct test_results to store expected results
39853 for all rounding modes.
39854 (TEST): Include expected results for all rounding modes.
39855 (test_in_one_mode): New function.
39856 (do_test): Use test_in_one_mode to compute and check results.
39857 Check results for all rounding modes.
39858 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
39861 2012-12-09 Allan McRae <allan@archlinux.org>
39863 * sysdeps/i386/fpu/libm-test-ulps: Update
39865 2012-09-11 Joseph Myers <joseph@codesourcery.com>
39867 * sysdeps/generic/_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.
39875 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
39876 (_G_int32_t): Likewise.
39877 (_G_uint16_t): Likewise.
39878 (_G_uint32_t): Likewise.
39879 (_G_HAVE_BOOL): Likewise.
39880 (_G_HAVE_ATEXIT): Likewise.
39881 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39882 (_G_HAVE_IO_FILE_OPEN): Likewise.
39883 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
39884 (_G_int32_t): Likewise.
39885 (_G_uint16_t): Likewise.
39886 (_G_uint32_t): Likewise.
39887 (_G_HAVE_BOOL): Likewise.
39888 (_G_HAVE_ATEXIT): Likewise.
39889 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39890 (_G_HAVE_IO_FILE_OPEN): Likewise.
39892 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
39894 * csu/libc-tls.c: Update copyright years.
39896 2012-09-10 Joseph Myers <joseph@codesourcery.com>
39898 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
39899 [!_G_USING_THUNKS]: Remove conditional code.
39900 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
39901 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
39903 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
39904 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
39905 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39906 (_G_VTABLE_LABEL_PREFIX): Likewise.
39907 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39908 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39909 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39910 (_G_VTABLE_LABEL_PREFIX): Likewise.
39911 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
39912 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39913 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39914 (_G_VTABLE_LABEL_PREFIX): Likewise.
39915 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
39917 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
39919 * libio/Makefile: Include ../Makeconfig before tests.
39920 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
39921 only if $(build-shared) is yes.
39923 * iconv/gconv_db.c: Update copyright years.
39925 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39927 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
39928 unwind info if defined PIC. Fix special cases description.
39929 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
39931 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
39933 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
39935 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
39937 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
39939 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
39942 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
39943 (LDLIBS-tst-chk4): This.
39944 (LDFLAGS-tst-chk5): Renamed to ...
39945 (LDLIBS-tst-chk5): This.
39946 (LDFLAGS-tst-chk6): Renamed to ...
39947 (LDLIBS-tst-chk6): This.
39948 (LDFLAGS-tst-lfschk4): Renamed to ...
39949 (LDLIBS-tst-lfschk4): This.
39950 (LDFLAGS-tst-lfschk5): Renamed to ...
39951 (LDLIBS-tst-lfschk5): This.
39952 (LDFLAGS-tst-lfschk6): Renamed to ...
39953 (LDLIBS-tst-lfschk6): This.
39955 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
39956 on $(common-objpfx)soversions.mk.
39958 2012-09-07 Joseph Myers <joseph@codesourcery.com>
39961 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
39964 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
39966 * malloc/arena.c (arena_get_retry): New function that gets
39967 another arena for the caller to try its request on.
39968 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
39969 current arena cannot fulfill the request.
39970 (__libc_memalign): Likewise.
39971 (__libc_memalign): Likewise.
39972 (__libc_pvalloc): Likewise.
39973 (__libc_calloc): Likewise.
39975 2012-09-05 John Tobey <john.tobey@gmail.com>
39978 * manual/arith.texi (Operations on Complex): Fix description
39979 of carg branch cut.
39981 2012-09-06 Joseph Myers <joseph@codesourcery.com>
39984 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
39988 * manual/memory.texi (Memory): Make order of menu items match
39991 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39993 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
39994 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
39995 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
39997 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39999 * csu/libc-tls.c (static_dtv): Renamed to ...
40000 (_dl_static_dtv): This. Make it global.
40001 (_dl_initial_dtv): Removed.
40002 (__libc_setup_tls): Updated.
40003 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
40004 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
40007 2012-09-06 Petr Machata <pmachata@redhat.com>
40009 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
40010 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
40011 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
40012 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
40014 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
40017 * csu/libc-tls.c (_dl_initial_dtv): New variable.
40018 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
40021 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
40024 * Makeconfig (link-static-before-libc): Replace $(+prector)
40026 (link-static-after-libc): Replace $(+postctor) with
40028 (link-bounded): Replace $(+prector)/$(+postctor) with
40029 $(+prectorT)/$(+postctorT).
40030 (+prectorT): New macro.
40031 (+postctorT): Likewise.
40033 2012-09-06 Joseph Myers <joseph@codesourcery.com>
40035 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
40036 (round_str): Handle values above the maximum for IBM long double
40038 * stdlib/tst-strtod-round.c (tests): Regenerated.
40040 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40042 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
40044 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
40045 zarch_nohighgprs around the zarch optimized routines.
40046 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
40047 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
40048 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
40051 2012-09-05 David S. Miller <davem@davemloft.net>
40053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40055 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
40056 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
40057 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
40058 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40061 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
40063 * malloc/arena.c: Fold copyright years.
40064 * malloc/mcheck.c, malloc/memusage.c: Likewise.
40066 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
40068 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
40070 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
40072 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
40074 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
40076 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
40077 change internal state upon failure.
40079 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
40081 * malloc/mcheck.c (mcheck_check_all): Fix typo.
40082 * malloc/memusage.c (mmap): Likewise.
40083 (mmap64, mremap): Likewise. Adjust name in comment.
40085 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
40087 * libio/fileops.c: Fix typos in comments.
40088 * libio/oldfileops.c: Likewise.
40089 * libio/wfileops.c: Likewise.
40091 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
40094 * malloc/Makefile (tests): Add tst-malloc-usable test case.
40095 (tst-malloc-usable-ENV): Set environment for test case.
40096 * malloc/hooks.c (malloc_check_get_size): New function to get
40098 * malloc/malloc.c (musable): Use malloc_check_get_size.
40099 * malloc/tst-malloc-usable.c: New test case.
40101 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
40103 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
40105 2012-09-05 Allan McRae <allan@archlinux.org>
40108 * configure.in (CXX_SYSINCLUDES): Use compiler output to
40109 determine header location.
40110 * configure: Regenerated.
40112 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
40114 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
40116 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
40117 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
40119 (test): Regenerate.
40121 2012-09-04 David S. Miller <davem@davemloft.net>
40123 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
40124 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
40125 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
40127 2012-09-04 Florian Weimer <fweimer@redhat.com>
40129 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
40132 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
40134 2012-09-04 Joseph Myers <joseph@codesourcery.com>
40137 * libio/iogetdelim.c: Include <limits.h>.
40138 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
40139 + len + 1 would overflow.
40141 2012-09-03 Andreas Jaeger <aj@suse.de>
40143 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40144 * sysdeps/i386/fpu/libm-test-ulps: Update.
40146 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40148 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
40149 Add s_sinf-sse2, s_conf-sse2.
40151 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
40152 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
40153 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
40154 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
40156 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
40157 for using routine as __sinf_ia32.
40158 Use macro for function declaration and weak_alias.
40159 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
40160 for using routine as __cosf_ia32.
40161 Use macro for function declaration and weak_alias.
40163 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
40164 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
40166 * sysdeps/x86_64/fpu/s_sinf.S: New file.
40167 * sysdeps/x86_64/fpu/s_cosf.S: New file.
40168 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40170 * math/libm-test.inc (cos_test): Add more test cases.
40171 (sin_test): Likewise.
40172 (sincos_test): Likewise.
40174 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40176 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
40177 (IFUNC_RESOLVE): Make pointers to the specialized implementations
40179 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
40181 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
40184 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
40185 first element of the GOT.
40186 (elf_machine_load_address): Return the difference between
40187 the runtime address of _DYNAMIC and elf_machine_dynamic ().
40189 2012-09-01 Allan McRae <allan@archlinux.org>
40192 * configure.in (AWK): Require gawk version 3.0 or later.
40193 * configure: Regenerated.
40195 2012-09-01 Joseph Myers <joseph@codesourcery.com>
40197 * sysdeps/unix/sysv/linux/kernel-features.h
40198 (__ASSUME_POSIX_CPU_TIMERS): Remove.
40199 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40200 [__NR_clock_getres]: Make code unconditional.
40201 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
40202 (clock_getcpuclockid): Remove code left unreachable by removal of
40204 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
40205 code unconditional.
40206 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
40207 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
40208 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
40209 Make code unconditional.
40210 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
40211 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
40212 * sysdeps/unix/sysv/linux/clock_settime.c
40213 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
40215 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
40216 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
40218 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
40221 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
40222 scripts/test-installation.pl.
40224 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
40225 and $ld_so_version if it is set.
40227 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
40230 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
40231 failure if reading from procfs failed.
40232 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
40234 2012-08-27 Joseph Myers <joseph@codesourcery.com>
40236 * sysdeps/unix/sysv/linux/kernel-features.h
40237 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
40238 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
40239 Remove conditional code.
40240 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40241 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
40242 Remove conditional code.
40243 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40244 * sysdeps/unix/sysv/linux/i386/fxstat.c
40245 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
40246 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40247 * sysdeps/unix/sysv/linux/i386/fxstatat.c
40248 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
40249 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40250 * sysdeps/unix/sysv/linux/i386/lxstat.c
40251 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
40252 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40253 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
40254 Remove conditional code.
40255 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40256 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
40257 Remove conditional code.
40258 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40259 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
40260 <kernel-features.h>.
40261 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
40263 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
40264 Remove conditional code.
40265 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40266 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
40267 Remove conditional.
40269 2012-08-27 Mike Frysinger <vapier@gentoo.org>
40272 * NEWS: Add fixed bug number.
40274 2012-08-27 Joseph Myers <joseph@codesourcery.com>
40277 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
40278 underflowing exponent in case of negative sign.
40279 * stdlib/tst-strtod-round-data: Add more tests.
40280 * stdlib/tst-strtod-round.c (tests): Regenerated.
40283 * stdlib/strtod_l.c (NDIG): Remove.
40284 (HEXNDIG): Likewise.
40285 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
40286 smallest representable value.
40287 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
40288 lie within an exact representation of 1/2 ulp of the result.
40289 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
40291 (TENS_P9_IDX): Define unconditionally.
40292 (TENS_P9_SIZE): Likewise.
40293 (TENS_P10_IDX): Likewise.
40294 (TENS_P10_SIZE): Likewise.
40295 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
40296 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
40297 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
40298 entries for 10^2^13 and 10^2^14.
40299 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
40300 (TENS_P13_IDX): Define.
40301 (TENS_P13_SIZE): Likewise.
40302 (TENS_P14_IDX): Likewise.
40303 (TENS_P14_SIZE): Likewise.
40304 (_fpioconst_pow10): Change array size to
40305 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
40307 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
40308 1024]: Add entries for 10^2^13 and 10^2^14.
40309 [LAST_POW10 > _LAST_POW10]: Remove #error.
40310 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
40311 (_fpioconst_pow10): Change array size to
40312 FPIOCONST_POW10_ARRAY_SIZE.
40313 * stdlib/gen-fpioconst.c: New file.
40314 * stdlib/gen-tst-strtod-round.c: Likewise.
40315 * stdlib/tst-strtod-round-data: Likewise.
40316 * stdlib/tst-strtod-round.c: Likewise.
40317 * stdlib/Makefile (tests): Add tst-strtod-round.
40320 * stdlib/strtod_l.c: Include <stdint.h>.
40321 (NDEBUG): Do not define.
40322 (round_and_return): Change EXPONENT parameter to type intmax_t.
40323 Rearrange calculations to avoid internal overflow possibilities.
40324 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
40325 Rearrange calculations to avoid internal overflow possibilities.
40326 Assert that number fits inside MPNSIZE limbs.
40327 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
40328 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
40329 calculations and add assertions to avoid internal overflow
40330 possibilities. Add casts to avoid signed/unsigned operations.
40331 * stdlib/tst-strtod-overflow.c: New file.
40332 * stdlib/Makefile (tests): Add tst-strtod-overflow.
40334 2012-08-25 Marek Polacek <polacek@redhat.com>
40336 * time/time.h: Fix some typos in comments.
40338 2012-08-23 Roland McGrath <roland@hack.frob.com>
40340 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
40341 * posix/tst-rfc3484-2.c: Likewise.
40342 * posix/tst-rfc3484-3.c: Likewise.
40344 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
40346 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
40347 (EF_ARM_ABI_FLOAT_HARD): Likewise.
40349 2012-08-23 Joseph Myers <joseph@codesourcery.com>
40351 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
40352 #include of fxstatat64.c.
40354 2012-08-22 Roland McGrath <roland@hack.frob.com>
40356 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
40357 * shadow/getspent_r.c: Likewise.
40358 * shadow/getspnam.c: Likewise.
40359 * shadow/getspnam_r.c: Likewise.
40360 * gshadow/getsgent.c: Likewise.
40361 * gshadow/getsgent_r.c: Likewise.
40362 * gshadow/getsgnam.c: Likewise.
40363 * gshadow/getsgnam_r.c: Likewise.
40364 * inet/getnetbyad.c: Likewise.
40365 * inet/getnetbyad_r.c: Likewise.
40366 * inet/getnetbynm.c: Likewise.
40367 * inet/getnetbynm_r.c: Likewise.
40368 * inet/getnetent.c: Likewise.
40369 * inet/getnetent_r.c: Likewise.
40370 * inet/getproto.c: Likewise.
40371 * inet/getproto_r.c: Likewise.
40372 * inet/getprtent.c: Likewise.
40373 * inet/getprtent_r.c: Likewise.
40374 * inet/getprtname.c: Likewise.
40375 * inet/getprtname_r.c: Likewise.
40376 * inet/getrpcbyname.c: Likewise.
40377 * inet/getrpcbyname_r.c: Likewise.
40378 * inet/getrpcbynumber.c: Likewise.
40379 * inet/getrpcbynumber_r.c: Likewise.
40380 * inet/getrpcent.c: Likewise.
40381 * inet/getrpcent_r.c: Likewise.
40382 * inet/getaliasent.c: Likewise.
40383 * inet/getaliasent_r.c: Likewise.
40384 * inet/getaliasname.c: Likewise.
40385 * inet/getaliasname_r.c: Likewise.
40386 * nscd/getgrgid_r.c: Likewise.
40387 * nscd/getgrnam_r.c: Likewise.
40388 * nscd/gethstbyad_r.c: Likewise.
40389 * nscd/gethstbynm3_r.c: Likewise.
40390 * nscd/getpwnam_r.c: Likewise.
40391 * nscd/getpwuid_r.c: Likewise.
40392 * nscd/getsrvbynm_r.c: Likewise.
40393 * nscd/getsrvbypt_r.c: Likewise.
40394 * nscd/gai.c: Likewise.
40396 * configure.in (build_nscd): New substituted variable, set
40397 by --disable-build-nscd and defaults to $use_nscd.
40398 * configure: Regenerated.
40399 * config.make.in (build-nscd): New substituted variable.
40400 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
40401 Change conditional to require [$(build-nscd) = yes] as well.
40402 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
40405 * configure.in (use_nscd): New substituted variable, set by
40406 --disable-nscd. If enabled, define USE_NSCD.
40407 * configure: Regenerated.
40408 * config.h.in: Add USE_NSCD.
40409 * config.make.in (use-nscd): New substituted variable.
40410 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
40411 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
40412 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
40413 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
40414 (CFLAGS-getgrnam_r.c): Likewise.
40415 (CFLAGS-initgroups.c): Likewise.
40416 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
40417 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
40419 * inet/getnetgrent_r.c
40420 (nscd_setnetgrent): New function, broken out of ...
40421 (setnetgrent): ... here. Call it.
40422 (innetgr): Conditionalize nscd bits on [USE_NSCD].
40423 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
40424 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
40425 * nscd/Makefile (routines, aux): Move definitions after include of
40426 Makeconfig. Conditionalize on [$(use-nscd) != no].
40427 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
40428 Conditionalize on [USE_NSCD].
40429 (is_nscd, nscd_init_cb): Likewise.
40430 (nss_load_library): Conditionalize init callback on [USE_NSCD].
40431 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
40432 * nss/nss_db/db-init.c: Likewise.
40433 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
40435 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
40436 (make_request): Use it.
40437 (cache_valid_p): New function.
40438 (__check_pf): Use it.
40439 * NEWS: Add item for --disable-nscd.
40441 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
40443 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
40444 to support sed >= 4.2.1-20-ga9bf076.
40445 * configure: Regenerated.
40447 2012-08-22 Roland McGrath <roland@hack.frob.com>
40449 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
40450 Conditionalize whole body on [IREL].
40452 2012-08-22 Jeff Law <law@redhat.com>
40455 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
40456 if the family is PF_UNSPEC.
40458 2012-08-22 Mike Frysinger <vapier@gentoo.org>
40460 * Makerules (lib-version): Rename from V.
40461 (install-lib-nosubdir): Change V to lib-version.
40463 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
40466 * powerpc32/power6/wcschr.c: New file.
40467 * powerpc32/power6/wcscpy.c: New file.
40468 * powerpc32/power6/wcsrchr.c: New file.
40469 * powerpc64/power6/wcschr.c: New file.
40470 * powerpc64/power6/wcscpy.c: New file.
40471 * powerpc64/power6/wcsrchr.c: New file.
40473 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
40475 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
40476 (two_way_short_needle): Use it.
40477 * string/strstr.c (AVAILABLE1_USES_J): Define.
40478 * string/strcasestr.c: Likewise.
40480 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
40482 * string/strcasestr.c (TOLOWER): Make side-effect safe.
40485 * NEWS: Add an entry.
40486 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
40487 define their defaults.
40488 (two_way_short_needle): Detect end-of-string on-the-fly.
40489 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
40490 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
40491 * string/bug-strcasestr1.c: New test.
40492 * string/Makefile: Run it.
40494 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
40497 * string/str-two-way.h (two_way_short_needle): Optimize matching of
40498 the first character.
40500 2012-08-21 Roland McGrath <roland@hack.frob.com>
40502 * csu/elf-init.c (__libc_csu_irel): Function removed.
40503 * csu/libc-start.c (apply_irel): New function.
40504 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
40506 2012-08-21 Joseph Myers <joseph@codesourcery.com>
40508 * sysdeps/unix/sysv/linux/kernel-features.h
40509 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
40510 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
40511 <kernel-features.h>.
40512 [__NR_fadvise64_64]: Make code unconditional.
40513 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
40514 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
40515 !__NR_fadvise64_64)]: Likewise.
40516 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
40517 !__NR_fadvise64_64))]: Likewise.
40518 [__NR_fadvise64]: Make code unconditional.
40519 [!__NR_fadvise64]: Remove conditional code.
40520 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
40521 <kernel-features.h>.
40522 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
40524 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
40526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
40527 not include <kernel-features.h>.
40528 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
40530 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
40532 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
40533 include <kernel-features.h>.
40534 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
40536 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
40539 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
40541 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
40542 slight instruction rearrangements per scrollpipe analysis.
40543 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
40545 2012-08-20 Roland McGrath <roland@hack.frob.com>
40547 * manual/syslog.texi (syslog; vsyslog, closelog):
40548 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
40549 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
40551 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
40552 DSOCAPS to match condition on defining it.
40554 2012-08-20 Joseph Myers <joseph@codesourcery.com>
40556 * sysdeps/unix/sysv/linux/kernel-features.h
40557 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
40558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
40559 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
40560 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
40561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
40562 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
40563 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
40564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
40565 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
40566 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
40568 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
40569 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
40571 * sysdeps/unix/sysv/linux/kernel-features.h
40572 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
40573 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
40575 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40576 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
40577 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
40578 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40579 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
40580 Make code unconditional.
40581 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40582 (__mmap64) [!__NR_mmap2]: Likewise.
40583 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
40584 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
40585 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40586 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
40587 [__NR_mmap2]: Make code unconditional.
40588 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40589 (__mmap64) [!__NR_mmap2]: Likewise.
40591 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40593 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
40595 2012-08-18 Andreas Jaeger <aj@suse.de>
40597 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
40599 2012-08-18 Mike Frysinger <vapier@gentoo.org>
40601 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
40602 * include/unistd.h (__have_sock_cloexec): Likewise.
40603 (__have_pipe2): Likewise.
40604 (__have_dup3): Likewise.
40606 2012-08-18 Mike Frysinger <vapier@gentoo.org>
40609 * include/unistd.h (__have_pipe2): Change define into an extern int.
40610 (__have_dup3): Likewise.
40611 * socket/have_sock_cloexec.c: Include fcntl.h.
40612 (__have_pipe2): New variable.
40613 (__have_dup3): Likewise.
40615 2012-08-17 Mike Frysinger <vapier@gentoo.org>
40617 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
40619 2012-08-17 Marek Polacek <polacek@redhat.com>
40621 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
40622 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
40624 2012-08-17 Roland McGrath <roland@hack.frob.com>
40626 * configure.in: Add AC_SUBST for sysheaders.
40627 * configure: Regenerated.
40628 * config.make.in (sysheaders): New substituted variable.
40630 * sysdeps/unix/mkfifo.c: Moved ...
40631 * sysdeps/posix/mkfifo.c: ... here.
40632 * sysdeps/unix/mkfifoat.c: Moved ...
40633 * sysdeps/posix/mkfifoat.c: ... here.
40635 * sysdeps/unix/utime.c: Moved ...
40636 * sysdeps/posix/utime.c: ... here.
40638 * sysdeps/unix/time.c: Moved ...
40639 * sysdeps/posix/time.c: ... here.
40640 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
40641 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
40643 * sysdeps/unix/nice.c: Moved ...
40644 * sysdeps/posix/nice.c: ... here.
40646 * sysdeps/unix/alarm.c: Moved ...
40647 * sysdeps/posix/alarm.c: ... here.
40649 * intl/Makefile ($(codeset_mo)): Depend on the input file.
40651 2012-08-17 Jeff Law <law@redhat.com>
40653 * intl/Makefile (codeset_mo): New variable.
40654 ($(codeset_mo)): New target.
40655 (tst-codeset.out): Depend on that. Remove explicit rule.
40656 (tst-gettext3.out, tst-gettext5.out): Likewise.
40657 (LOCPATH-ENV, tst-codeset-ENV): New variables.
40658 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
40659 * intl/tst-codeset.sh: Remove.
40660 * intl/tst-gettext3.sh: Likewise.
40661 * intl/tst-gettext5.sh: Likewise.
40663 2012-08-17 Roland McGrath <roland@hack.frob.com>
40665 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
40666 * sysdeps/unix/syscalls.list: ... here.
40668 * sysdeps/posix/getaddrinfo.c
40669 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
40670 (gaiconf_init, gaiconf_reload): Use them.
40671 [!_STATBUF_ST_NSEC]
40672 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
40673 Define using time_t rather than struct timespec.
40675 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
40676 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
40678 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
40680 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
40681 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
40684 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
40685 __libc_cleanup_push argument.
40687 * bits/param.h: New file.
40688 * misc/sys/param.h: New file.
40689 * include/sys/param.h: New file.
40690 * misc/Makefile (headers): Add bits/param.h.
40691 * sysdeps/generic/sys/param.h: File removed.
40692 * sysdeps/unix/sysv/linux/bits/param.h: New file.
40693 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
40694 * sysdeps/mach/hurd/bits/param.h: New file.
40695 * sysdeps/mach/hurd/sys/param.h: File removed.
40697 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
40700 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
40702 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
40703 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
40706 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
40707 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
40708 rather than -D_IO_MTSAFE_IO conditionally.
40709 * stdio-common/Makefile (CPPFLAGS): Likewise.
40710 * wcsmbs/Makefile (CPPFLAGS): Likewise.
40711 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
40712 Use $(libio-mtsafe).
40713 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
40714 of -D_IO_MTSAFE_IO.
40715 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
40716 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
40717 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
40718 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
40719 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
40720 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
40721 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
40722 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
40723 (CFLAGS-fread_u_chk.c): Likewise.
40724 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
40725 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
40726 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
40727 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
40728 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
40729 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
40730 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
40731 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
40732 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
40734 * libio/Makefile: Test [$(libc-reentrant) = yes]
40735 instead of [$(filter %REENTRANT, $(defines)) nonempty].
40738 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
40739 * sysdeps/pthread/configure: File removed.
40740 * sysdeps/pthread/Makeconfig: New file.
40741 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
40742 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
40744 2012-08-16 Gary Benson <gbenson@redhat.com>
40746 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
40747 unmapping the first object in a namespace.
40749 2012-08-16 Roland McGrath <roland@hack.frob.com>
40751 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
40752 (__internal_setnetgrent): ... this. Add internal_function to
40753 definition. Add libc_hidden_def.
40754 (setnetgrent): Update caller.
40755 (internal_endnetgrent): Renamed to ...
40756 (__internal_endnetgrent): ... this. Add internal_function to
40757 definition. Add libc_hidden_def.
40758 (endnetgrent): Update caller.
40759 (internal_getnetgrent_r): Renamed to ...
40760 (__internal_getnetgrent_r): ... this. Add internal_function to
40761 definition. Add libc_hidden_def.
40762 (__getnetgrent_r): Update caller.
40763 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
40765 2012-08-16 Joseph Myers <joseph@codesourcery.com>
40767 * stdlib/longlong.h: Update from GCC.
40769 2012-08-16 Roland McGrath <roland@hack.frob.com>
40771 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
40772 on _QL, which is set by umul_ppmm but never used.
40773 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
40774 variables, which are set by GMP macros but never used.
40775 * stdio-common/_itowa.c (_itowa): Likewise.
40776 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
40777 * stdlib/mod_1.c (mpn_mod_1): Likewise.
40779 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
40781 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
40782 struct La_sh_regs is not constant.
40783 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
40784 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
40785 and struct La_sparc64_regs are not constant.
40787 2012-08-16 Joseph Myers <joseph@codesourcery.com>
40789 * sysdeps/unix/sysv/linux/kernel-features.h
40790 (__ASSUME_POSIX_TIMERS): Remove.
40791 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40792 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40793 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
40794 Make code unconditional.
40795 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40796 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
40797 Make code unconditional.
40798 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40799 * sysdeps/unix/sysv/linux/clock_nanosleep.c
40800 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
40801 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40802 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
40803 Make code unconditional.
40804 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40805 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
40806 (__libc_missing_posix_timers): Remove.
40808 2012-08-15 Roland McGrath <roland@hack.frob.com>
40810 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
40811 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
40813 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
40815 * elf/dl-sym.c: Include <stdlib.h>.
40817 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
40818 constants, which avoids warnings in 32-bit builds.
40820 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
40821 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
40823 * misc/lseek.c: File moved to ...
40824 * io/lseek.c: ... here.
40826 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
40828 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
40829 shifting LEN more than 31 bits at once.
40831 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40834 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
40835 segmentation fault for a case of two empty input strings.
40836 * string/test-strncasecmp.c (check1): Renamed to...
40837 (bz12205): ...this.
40838 (bz14195): Add new testcase for two empty input strings and N > 0.
40839 (test_main): Call new testcase, adapt for renamed function.
40841 2012-08-15 Andreas Jaeger <aj@suse.de>
40844 * crypt/md5test2.c: New test, based on test supplied by Serge
40845 Belyshev <belyshev@depni.sinp.msu.ru>.
40846 * crypt/Makefile (xtests): Add md5test-giant..
40847 * crypt/Makefile ($(objpfx)md5test-giant): Add.
40849 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
40852 * crypt/md5.c (md5_process_block): Don't assume the buffer
40853 length is less than 2**32.
40854 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
40855 length is less than 2**64.
40857 2012-08-15 Roland McGrath <roland@hack.frob.com>
40859 * string/str-two-way.h: Include <sys/param.h>.
40860 (MAX): Macro removed.
40862 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
40863 Move #define and #undef of memmove to just before and after
40864 including <string.h>.
40866 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
40867 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
40868 and after including <string.h>. Move declarations of
40869 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
40870 to before #include "string/memmove.c".
40872 * include/dirent.h: Declare __getdirentries.
40874 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
40875 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
40877 2012-08-14 Mike Frysinger <vapier@gentoo.org>
40879 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
40880 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
40881 * sysdeps/i386/configure: Regenerated.
40882 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
40883 STABS_CURRENT_FILE, and STABS_FUN.
40884 (END): Remove call to STABS_FUN_END.
40885 (STABS_CURRENT_FILE1): Delete.
40886 (STABS_CURRENT_FILE): Likewise.
40887 (STABS_FUN): Likewise.
40888 (STABS_FUN_END): Likewise.
40889 (STABS_FUN2): Likewise.
40890 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
40891 * sysdeps/x86_64/configure: Regenerated.
40893 2012-08-14 Roland McGrath <roland@hack.frob.com>
40895 * elf/dl-open.c: Include <atomic.h>.
40896 * elf/dl-lookup.c: Likewise.
40898 2012-08-14 Joseph Myers <joseph@codesourcery.com>
40900 * sysdeps/unix/sysv/linux/kernel-features.h
40901 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
40902 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
40904 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
40906 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
40907 condition on __ASSUME_CLONE_THREAD_FLAGS.
40909 2012-08-14 Andreas Jaeger <aj@suse.de>
40911 * sysdeps/i386/fpu/libm-test-ulps: Update.
40913 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
40915 * include/atomic.h (atomic_exchange_and_add): Split into ...
40916 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
40919 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
40921 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40923 2012-08-13 Jeff Law <law@redhat.com>
40925 * manual/stdio.texi (snprintf): Clarify handling of the trailing
40926 null byte in the output string.
40928 2012-08-10 Joseph Myers <joseph@codesourcery.com>
40930 * sysdeps/unix/sysv/linux/kernel-features.h
40931 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
40932 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
40933 (__ASSUME_ARG_MAX_STACK_BASED): Define.
40934 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
40935 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
40936 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
40937 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
40939 2012-08-09 Jeff Law <law@redhat.com>
40942 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
40943 When avoid_arena is set, don't retry in the that arena. Pick the
40944 next one, whatever it might be.
40945 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
40946 (arena_lock): Pass in new parameter to arena_get2.
40947 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
40949 (__libc_malloc): Unify retrying after main arena failure with
40950 __libc_memalign version.
40951 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
40953 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
40956 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
40957 to __redirect_strstr.
40958 (__strstr_sse42): Use typeof __redirect_strstr.
40959 (__strstr_ia32): Likewise.
40960 (__libc_strstr): New prototype.
40961 (strstr): Renamed to ...
40962 (__libc_strstr): This.
40963 (strstr): New strong alias of __libc_strstr.
40964 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40965 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
40968 (__libc_time): New prototype.
40969 (time_ifunc): Replace time with __libc_time.
40970 (time): New strong alias and hidden definition of __libc_time.
40971 (__GI_time): Remove strong alias.
40972 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
40973 Include <stddef.h>.
40974 (memmove): Redefined to __redirect_memmove.
40975 (__memmove_sse2): Use typeof __redirect_memmove.
40976 (__memmove_ssse3): Likewise.
40977 (__memmove_ssse3_back): Likewise.
40978 (__libc_memmove): New prototype.
40979 (memmove): Renamed to ...
40980 (__libc_memmove): This.
40981 (memmove): New strong alias of __libc_memmove.
40983 2012-08-08 Mark Salter <msalter@redhat.com>
40986 (R_MN10300_TLS_GD): Define.
40987 (R_MN10300_TLS_LD): Likewise.
40988 (R_MN10300_TLS_LDO): Likewise.
40989 (R_MN10300_TLS_GOTIE): Likewise.
40990 (R_MN10300_TLS_IE): Likewise.
40991 (R_MN10300_TLS_LE): Likewise.
40992 (R_MN10300_TLS_DTPMOD): Likewise.
40993 (R_MN10300_TLS_DTPOFF): Likewise.
40994 (R_MN10300_TLS_TPOFF): Likewise.
40995 (R_MN10300_SYM_DIFF): Likewise.
40996 (R_MN10300_ALIGN): Likewise.
40997 (R_MN10300_NUM): Update.
40999 2012-08-08 Joseph Myers <joseph@codesourcery.com>
41001 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
41004 2012-08-08 Roland McGrath <roland@hack.frob.com>
41006 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
41008 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
41009 sysdeps/unix -> sysdeps/posix move.
41010 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
41012 2012-08-07 Allan McRae <allan@archlinux.org>
41015 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
41016 (SUNOS_CPP): Likewise.
41017 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
41019 (open_input): Call CPP using execvp.
41021 2012-08-07 Joseph Myers <joseph@codesourcery.com>
41023 * sysdeps/unix/sysv/linux/kernel-features.h
41024 (__ASSUME_PROT_GROWSUPDOWN): Remove.
41025 (__ASSUME_NO_CLONE_DETACHED): Likewise.
41026 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
41027 (__ASSUME_WAITID_SYSCALL): Likewise.
41028 * sysdeps/unix/sysv/linux/dl-execstack.c
41029 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
41030 code unconditional.
41031 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
41033 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
41034 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
41035 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
41037 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
41039 [__ASSUME_WAITID_SYSCALL]: Likewise.
41040 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
41042 2012-08-07 Roland McGrath <roland@hack.frob.com>
41044 * sysdeps/unix/closedir.c: Renamed to ...
41045 * sysdeps/posix/closedir.c: ... here.
41046 * sysdeps/unix/dirfd.c: Renamed to ...
41047 * sysdeps/posix/dirfd.c: ... here.
41048 * sysdeps/unix/dirstream.h: Renamed to ...
41049 * sysdeps/posix/dirstream.h: ... here.
41050 * sysdeps/unix/fdopendir.c: Renamed to ...
41051 * sysdeps/posix/fdopendir.c: ... here.
41052 * sysdeps/unix/opendir.c: Renamed to ...
41053 * sysdeps/posix/opendir.c: ... here.
41054 * sysdeps/unix/readdir.c: Renamed to ...
41055 * sysdeps/posix/readdir.c: ... here.
41056 * sysdeps/unix/readdir_r.c: Renamed to ...
41057 * sysdeps/posix/readdir_r.c: ... here.
41058 * sysdeps/unix/rewinddir.c: Renamed to ...
41059 * sysdeps/posix/rewinddir.c: ... here.
41060 * sysdeps/unix/seekdir.c: Renamed to ...
41061 * sysdeps/posix/seekdir.c: ... here.
41062 * sysdeps/unix/telldir.c: Renamed to ...
41063 * sysdeps/posix/telldir.c: ... here.
41064 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
41065 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
41066 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
41067 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
41069 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
41070 * bits/fcntl.h: ... here.
41072 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
41074 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
41075 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
41076 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
41077 (struct flock): Move l_start, l_len to the beginning.
41078 Use __pid_t for l_pid.
41079 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
41080 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
41081 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
41082 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
41083 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
41084 [__USE_LARGEFILE64] (struct flock64): New type.
41085 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
41087 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
41088 * bits/dirent.h: ... here.
41090 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
41091 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
41093 2012-08-07 Joseph Myers <joseph@codesourcery.com>
41095 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41096 Change from 2.6.0 to 2.6.16.
41097 * sysdeps/unix/sysv/linux/configure: Regenerated.
41098 * sysdeps/unix/sysv/linux/kernel-features.h
41099 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
41100 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
41102 (__ASSUME_UTIMES): Likewise.
41103 (__ASSUME_CLONE_STOPPED): Remove.
41104 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
41105 architectures, not kernel version.
41106 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
41107 (__ASSUME_NO_CLONE_DETACHED): Likewise.
41108 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
41109 (__ASSUME_WAITID_SYSCALL): Likewise.
41110 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
41111 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
41112 * README: State 2.6.16 as minimum Linux kernel version. Do not
41113 refer to older versions.
41115 2012-08-06 Roland McGrath <roland@hack.frob.com>
41117 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
41118 Define alphasort64 as an alias.
41119 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
41120 Define versionsort64 as an alias.
41121 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
41122 Define scandir64 as an alias.
41123 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
41124 Define scandirat64 as an alias.
41125 * dirent/alphasort64.c (alphasort64):
41126 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
41127 * dirent/versionsort64.c: Likewise.
41128 * dirent/scandir64.c: Likewise.
41129 * dirent/scandirat64.c: Likewise.
41130 * sysdeps/wordsize-64/alphasort.c: File removed.
41131 * sysdeps/wordsize-64/alphasort64.c: File removed.
41132 * sysdeps/wordsize-64/scandir.c: File removed.
41133 * sysdeps/wordsize-64/scandir64.c: File removed.
41134 * sysdeps/wordsize-64/scandirat.c: File removed.
41135 * sysdeps/wordsize-64/scandirat64.c: File removed.
41136 * sysdeps/wordsize-64/versionsort.c: File removed.
41137 * sysdeps/wordsize-64/versionsort64.c: File removed.
41138 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
41139 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
41140 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
41141 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
41142 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
41143 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
41144 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
41145 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
41147 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
41148 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
41149 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
41150 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41151 [defined __arch64__ || defined __sparcv9]
41152 (__INO_T_MATCHES_INO64_T): New macro.
41153 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41154 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
41155 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
41156 * sysdeps/unix/sysv/linux/bits/dirent.h
41157 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
41158 (_DIRENT_MATCHES_DIRENT64): New macro.
41160 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
41161 Define lockf64 as an alias.
41162 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
41163 Define fseeko64 as an alias.
41164 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
41165 Define ftello64 as an alias.
41166 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
41167 Define _IO_fgetpos64 and fgetpos64 as aliases.
41168 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
41169 Define _IO_fsetpos64 and fsetpos64 as aliases.
41170 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
41171 Conditionalize body on this.
41172 * libio/fseeko64.c: Likewise.
41173 * libio/ftello64.c: Likewise.
41174 * libio/iofgetpos64.c: Likewise.
41175 * libio/iofsetpos64.c: Likewise.
41176 * sysdeps/wordsize-64/lockf.c: File removed.
41177 * sysdeps/wordsize-64/lockf64.c: File removed.
41178 * sysdeps/wordsize-64/fseeko.c: File removed.
41179 * sysdeps/wordsize-64/fseeko64.c: File removed.
41180 * sysdeps/wordsize-64/ftello.c: File removed.
41181 * sysdeps/wordsize-64/ftello64.c: File removed.
41182 * sysdeps/wordsize-64/iofgetpos.c: File removed.
41183 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
41184 * sysdeps/wordsize-64/iofsetpos.c: File removed.
41185 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
41186 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
41187 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
41188 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
41189 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
41190 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
41191 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
41192 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
41193 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
41194 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
41195 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
41197 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
41198 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
41199 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
41200 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41201 [defined __arch64__ || defined __sparcv9]
41202 (__OFF_T_MATCHES_OFF64_T): New macro.
41203 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41204 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
41205 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41206 (__OFF_T_MATCHES_OFF64_T): New macro.
41208 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
41210 * stdlib/secure-getenv.c (__secure_getenv): Replace
41211 GLIBC_2_16 with GLIBC_2_17.
41213 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
41215 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
41216 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41218 2012-08-03 David S. Miller <davem@davemloft.net>
41220 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41222 2012-08-03 Joseph Myers <joseph@codesourcery.com>
41224 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
41226 (__ASSUME_CORRECT_SI_PID): Likewise.
41227 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
41228 (__ASSUME_TMPFS_NAME): Likewise.
41229 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
41230 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
41231 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
41232 (HAVE_AUX_SECURE): Make definition unconditional.
41233 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
41234 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
41236 2012-08-03 Roland McGrath <roland@hack.frob.com>
41238 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
41239 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
41240 * sysdeps/mach/hurd/eloop-threshold.h: New file.
41241 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41242 __eloop_threshold instead of SYMLOOP_MAX.
41244 * sysdeps/generic/eloop-threshold.h: New file.
41245 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
41247 * elf/chroot_canon.c (chroot_canon): Likewise.
41249 2012-08-03 Joseph Myers <joseph@codesourcery.com>
41252 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41253 Change to 2.6.0 everywhere.
41254 * sysdeps/unix/sysv/linux/configure: Regenerated.
41255 * sysdeps/unix/sysv/linux/kernel-features.h
41256 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
41257 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
41259 (__ASSUME_POSIX_TIMERS): Define unconditionally.
41260 (__ASSUME_FUTEX_REQUEUE): Remove.
41261 (__ASSUME_STATFS64): Define unconditionally.
41262 (__ASSUME_AT_SECURE): Likewise.
41263 (__ASSUME_CORRECT_SI_PID): Likewise.
41264 (__ASSUME_TGKILL): Define without depending on kernel version for
41266 (__ASSUME_UTIMES): Likewise.
41267 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
41269 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
41270 (__ASSUME_TMPFS_NAME): Likewise.
41271 * README: Update reference to Linux kernel versions.
41273 2012-08-02 Marek Polacek <polacek@redhat.com>
41276 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
41277 libc_cv_asm_type_prefix with %.
41278 * configure: Regenerated.
41279 * include/libc-symbols.h: Remove comment about
41280 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
41281 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
41282 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
41283 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
41284 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
41285 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
41286 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
41287 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
41288 * elf/tst-unique2mod1.c: Likewise.
41289 * elf/tst-unique1mod2.c: Likewise.
41290 * elf/tst-unique1mod1.c: Likewise.
41291 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
41292 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
41293 Replace ASM_TYPE_DIRECTIVE with .type.
41294 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41295 * sysdeps/i386/sysdep.h: Likewise.
41296 * sysdeps/x86_64/sysdep.h: Likewise.
41297 * sysdeps/sh/sysdep.h: Likewise.
41298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41299 Do not define ASM_TYPE_DIRECTIVE.
41300 * sysdeps/powerpc/sysdep.h: Likewise.
41301 * sysdeps/powerpc/powerpc32/sysdep.h:
41302 Replace ASM_TYPE_DIRECTIVE with .type.
41303 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41304 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41305 * sysdeps/i386/fpu/e_powf.S: Likewise.
41306 * sysdeps/i386/fpu/e_expl.S: Likewise.
41307 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41308 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41309 * sysdeps/i386/fpu/e_pow.S: Likewise.
41310 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41311 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41312 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41313 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41314 * sysdeps/i386/fpu/e_log2.S: Likewise.
41315 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41316 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41317 * sysdeps/i386/fpu/e_powl.S: Likewise.
41318 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41319 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41320 * sysdeps/i386/fpu/e_logl.S: Likewise.
41321 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41322 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41323 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41324 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41325 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41326 * sysdeps/i386/fpu/e_log.S: Likewise.
41327 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41328 * sysdeps/i386/fpu/e_logf.S: Likewise.
41329 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41330 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41331 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41332 * sysdeps/i386/fpu/e_log10.S: Likewise.
41333 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41334 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41335 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41336 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41337 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41338 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
41339 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41340 * sysdeps/i386/i686/strtok.S: Likewise.
41341 * sysdeps/i386/i386-mcount.S: Likewise.
41342 * sysdeps/i386/strtok.S: Likewise.
41343 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
41344 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41345 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41346 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41347 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
41348 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41349 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41350 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41351 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41352 * sysdeps/x86_64/_mcount.S: Likewise.
41353 * sysdeps/x86_64/strtok.S: Likewise.
41354 * sysdeps/sh/_mcount.S: Likewise.
41356 2012-08-01 Roland McGrath <roland@hack.frob.com>
41358 * libio/iofopen.c: Include <fcntl.h>.
41359 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
41360 (_IO_fopen64, fopen64): Define as aliases.
41361 * libio/iofopen64.c: Include <fcntl.h>.
41362 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
41363 Conditionalize body on this.
41364 * sysdeps/wordsize-64/iofopen.c: File removed.
41365 * sysdeps/wordsize-64/iofopen64.c: File removed.
41367 2012-08-01 Marek Polacek <polacek@redhat.com>
41369 * libc/Makeconfig: Use elf in place of binfmt-subdir.
41370 Use dlfcn directly instead of a variable.
41371 (binfmt-subdir): Do not define.
41374 2012-08-01 Joseph Myers <joseph@codesourcery.com>
41376 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
41377 Remove all definitions.
41378 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
41379 <kernel-features.h>.
41380 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
41381 (miss_F_GETOWN_EX): Remove all definitions.
41382 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
41384 [!__ASSUME_FCNTL64]: Remove conditional code.
41385 [__ASSUME_FCNTL64]: Make code unconditional.
41386 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
41387 <kernel-features.h>.
41388 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
41389 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
41390 (lockf64) [__NR_fcntl64]: Make code unconditional.
41391 (lockf64) [__ASSUME_FCNTL64]: Likewise.
41393 * sysdeps/unix/sysv/linux/kernel-features.h
41394 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
41395 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
41396 Make code unconditional.
41397 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
41398 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
41399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
41400 [__NR_vfork]: Make code unconditional.
41401 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
41402 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
41403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
41404 [__NR_vfork]: Make code unconditional.
41405 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
41406 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
41408 2012-08-01 Roland McGrath <roland@hack.frob.com>
41410 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
41411 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
41413 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41414 Define mkstemp64 as an alias.
41415 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41416 Define mkstemps64 as an alias.
41417 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41418 Define mkostemp64 as an alias.
41419 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41420 Define mkostemps64 as an alias.
41421 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
41422 Conditionalize body on this.
41423 * misc/mkostemp64.c: Likewise.
41424 * misc/mkostemps64.c: Likewise.
41425 * misc/mkstemps64.c: Likewise.
41426 * sysdeps/wordsize-64/mkstemp64.c: File removed.
41427 * sysdeps/wordsize-64/mkostemp64.c: File removed.
41428 * sysdeps/wordsize-64/mkostemp.c: File removed.
41429 * sysdeps/wordsize-64/mkstemp.c: File removed.
41430 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
41431 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
41432 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
41433 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
41436 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
41437 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
41438 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
41439 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
41441 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
41442 compat_symbol macros from <shlib-compat.h> rather than the underlying
41443 default_symbol_version and symbol_version macros, so that DEFAULT
41444 lines in shlib-versions are respected.
41445 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
41447 2012-08-01 Florian Weimer <fweimer@redhat.com>
41449 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
41450 Declare with warn_unused_result.
41451 (setgid, setregid, setegid, setresgid): Likewise.
41452 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
41454 * WUR-REPORT: Remove set*id functions.
41456 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
41458 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
41460 2012-07-31 Roland McGrath <roland@hack.frob.com>
41463 * include/sys/socket.h (__libc_accept, __libc_accept4):
41464 Add attribute_hidden.
41465 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
41467 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
41469 * inet/getnetgrent_r.c (setup): Likewise.
41471 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
41473 2012-07-31 David S. Miller <davem@davemloft.net>
41475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41477 2012-07-31 Joseph Myers <joseph@codesourcery.com>
41480 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
41481 value between 1.0 and 2.0 and smaller part has absolute value less
41483 * math/s_clog10.c (__clog10): Likewise.
41484 * math/s_clog10f.c (__clog10f): Likewise.
41485 * math/s_clog10l.c (__clog10l): Likewise.
41486 * math/s_clogf.c (__clogf): Likewise.
41487 * math/s_clogl.c (__clogl): Likewise.
41488 * math/libm-test.inc (clog_test): Add more tests.
41489 (clog10_test): Likewise.
41490 * sysdeps/i386/fpu/libm-test-ulps: Update.
41491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41493 2012-07-31 Florian Weimer <fweimer@redhat.com>
41495 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
41496 Exit with zero in case no suitable GID is found, and write a
41497 message to standard error.
41499 2012-07-30 Roland McGrath <roland@hack.frob.com>
41501 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
41503 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
41504 (MAXPATHLEN): Removed.
41505 (NOGROUP, NODEV): New macros.
41506 (setbit, clrbit, isset, isclr): New macros.
41507 (howmany, roundup, powerof2): New macros.
41508 (DEV_BSIZE): New macro.
41510 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
41511 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
41513 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
41514 definition on [!__NO_LONG_DOUBLE_MATH].
41516 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
41517 PTR_MANGLE and PTR_DEMANGLE.
41519 * socket/accept4.c (accept4): Rename to __libc_accept4.
41520 Define accept4 as a weak alias.
41522 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
41523 on [_DIRENT_HAVE_D_TYPE].
41524 * io/ftw.c (ftw_dir): Likewise.
41526 * io/xmknod.c (__xmknod): Don't check PATH for being null.
41528 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
41530 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
41531 Use the BSD numbers rather than the arbitrary ones we had.
41532 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
41533 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
41534 (SIGXCPU, SIGXFSZ): New macros.
41537 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
41538 initializer on [_LIBC_REENTRANT].
41540 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
41541 definitions inside [_POSIX_MAPPED_FILES].
41543 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
41545 * dirent/opendir.c: Include <fcntl.h>.
41547 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
41548 (__libc_getspecific): Likewise.
41549 (__libc_key_create): Likewise.
41551 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
41552 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
41553 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
41554 (tmpfile64): Define as alias.
41555 * sysdeps/wordsize-64/tmpfile.c: File removed.
41556 * sysdeps/wordsize-64/tmpfile64.c: File removed.
41557 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
41558 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
41560 * stdio-common/vfscanf.c: Include <stdbool.h>.
41561 * nss/makedb.c: Likewise.
41562 * stdio-common/_i18n_number.h: Likewise.
41563 * argp/argp-help.c: Likewise.
41564 * posix/wordexp.c: Likewise.
41565 * sysdeps/posix/spawni.c: Likewise.
41566 * nss/nss_files/files-initgroups.c: Likewise.
41567 * stdio-common/reg-modifier.c: Include <stdlib.h>.
41568 * nss/nss_files/files-initgroups.c: Likewise.
41569 * nss/nss_db/db-netgrp.c: Likewise.
41570 * nss/nss_db/db-initgroups.c: Likewise.
41571 * io/fchmodat.c: Include <sys/stat.h>.
41573 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
41574 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
41576 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
41579 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
41580 Add multiple inclusion protection.
41582 2012-07-27 David S. Miller <davem@davemloft.net>
41584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41586 2012-07-27 Gary Benson <gbenson@redhat.com>
41589 * elf/rtld.c: Include <stap-probe.h>.
41590 (dl_main): Added static probes "init_start" and "init_complete".
41591 * elf/dl-load.c: Include <stap-probe.h>.
41592 (lose): Take new parameter "nsid".
41593 Added static probe "map_failed".
41594 (_dl_map_object_from_fd): Pass namespace id to lose.
41595 Added static probe "map_start".
41596 (open_verify): Pass namespace id to lose.
41597 * elf/dl-open.c: Include <stap-probe.h>.
41598 (dl_open_worker) Added static probes "map_complete", "reloc_start"
41599 and "reloc_complete".
41600 * elf/dl-close.c: Include <stap-probe.h>.
41601 (_dl_close_worker): Added static probes "unmap_start" and
41603 * elf/rtld-debugger-interface.txt: New file documenting the above.
41605 2012-07-26 Roland McGrath <roland@hack.frob.com>
41607 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
41608 rather than a string variable.
41609 * sunrpc/rpc_main.c (h_output): Likewise.
41610 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
41612 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
41614 * inet/check_native.c: New file.
41616 2012-07-26 Joseph Myers <joseph@codesourcery.com>
41619 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
41620 if larger part has absolute value 1.0.
41621 * math/s_clog10.c (__clog10): Likewise.
41622 * math/s_clog10f.c (__clog10f): Likewise.
41623 * math/s_clog10l.c (__clog10l): Likewise.
41624 * math/s_clogf.c (__clogf): Likewise.
41625 * math/s_clogl.c (__clogl): Likewise.
41626 * math/libm-test.inc (clog_test): Add more tests.
41627 (clog10_test): Likewise.
41628 * sysdeps/i386/fpu/libm-test-ulps: Update.
41629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41631 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
41632 (pltexit): Likewise.
41633 (La_regs): Likewise.
41634 (La_retval): Likewise.
41635 (int_retval): Likewise.
41636 Update #error for removed macros to refer only to definitions in
41638 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
41640 (pltexit): Likewise.
41641 (La_regs): Likewise.
41642 (La_retval): Likewise.
41643 (int_retval): Likewise.
41644 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
41646 (pltexit): Likewise.
41647 (La_regs): Likewise.
41648 (La_retval): Likewise.
41649 (int_retval): Likewise.
41650 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
41652 (pltexit): Likewise.
41653 (La_regs): Likewise.
41654 (La_retval): Likewise.
41655 (int_retval): Likewise.
41656 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
41658 (pltexit): Likewise.
41659 (La_regs): Likewise.
41660 (La_retval): Likewise.
41661 (int_retval): Likewise.
41662 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
41664 (pltexit): Likewise.
41665 (La_regs): Likewise.
41666 (La_retval): Likewise.
41667 (int_retval): Likewise.
41668 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
41670 (pltexit): Likewise.
41671 (La_regs): Likewise.
41672 (La_retval): Likewise.
41673 (int_retval): Likewise.
41674 * sysdeps/generic/tst-audit.h: Update comment to refer only to
41675 macro definitions in tst-audit.h.
41676 * sysdeps/i386/tst-audit.h: New file.
41677 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
41678 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
41679 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
41680 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
41681 * sysdeps/sh/tst-audit.h: Likewise.
41682 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
41683 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
41684 * sysdeps/x86_64/tst-audit.h: Likewise.
41686 2012-07-26 Andreas Jaeger <aj@suse.de>
41688 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
41691 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
41692 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
41693 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
41695 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
41696 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
41697 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
41699 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
41702 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
41704 (si_call_addr, si_syscall, si_arch): Define new macro.
41705 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
41707 (si_call_addr, si_syscall, si_arch): Define new marcro.
41708 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
41710 (si_call_addr, si_syscall, si_arch): Define new macro.
41711 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
41713 (si_call_addr, si_syscall, si_arch): Define new macro.
41715 2012-07-25 Joseph Myers <joseph@codesourcery.com>
41718 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41719 Change to 2.4.21 where previously 2.4.1.
41720 * sysdeps/unix/sysv/linux/configure: Regenerated.
41721 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
41722 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
41723 Linux kernel version.
41724 (__ASSUME_STD_AUXV): Remove.
41725 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
41727 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
41728 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
41729 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
41730 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
41731 (__ASSUME_NETLINK_SUPPORT): Likewise.
41732 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
41733 (__no_netlink_support): Remove conditional definition.
41734 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
41736 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
41737 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
41738 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
41739 (if_nameindex_ioctl): Remove.
41740 (if_nameindex_netlink): Do not handle __no_netlink_support.
41741 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
41743 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
41744 Remove conditional code.
41745 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
41747 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
41749 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
41750 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
41751 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
41753 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
41754 [!__ASSUME_STD_AUXV]: Remove conditional code.
41755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
41756 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
41757 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
41758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
41759 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
41760 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
41762 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
41763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41764 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
41765 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
41767 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
41768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
41769 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
41771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41772 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
41774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
41775 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41776 code unconditional.
41777 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41779 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41781 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41784 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41786 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
41789 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41790 code unconditional.
41791 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41793 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41795 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
41798 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41799 code unconditional.
41800 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41802 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41804 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41807 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
41809 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
41810 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
41811 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
41812 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
41813 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
41814 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
41815 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
41816 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
41817 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
41818 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
41819 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
41820 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
41821 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
41822 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
41823 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
41824 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
41825 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
41826 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
41827 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
41828 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
41829 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
41830 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
41831 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41833 2012-07-25 Florian Weimer <fweimer@redhat.com>
41835 * Versions.def: Add GLIBC_2.17.
41836 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
41837 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
41838 Introduce __libc_secure_getenv.
41839 * stdlib/Versions (2.17): Add secure_getenv
41840 (GLIBC_PRIVATE): Add __libc_secure_getenv.
41841 * stdlib/secure-getenv.c: Rename __secure_getenv to
41842 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
41843 symbol __secure_getenv for GLIBC_2.0.
41844 * stdlib/tst-secure-getenv.c: New.
41845 * stdlib/Makefile (tests): Add testcase.
41846 * manual/startup.texi (Environment Access): Document
41848 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
41849 __libc_secure_getenv.
41850 * inet/ruserpass.c (ruserpass): Likewise.
41851 * malloc/mtrace.c (mtrace): Likewise.
41852 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
41853 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
41854 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
41855 * sysdeps/posix/tempname.c: Likewise. Evaluate
41856 HAVE_SECURE_GETENV.
41857 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
41858 __secure_getenv to __libc_secure_getenv.
41859 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
41860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41865 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41866 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41867 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41868 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41869 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41870 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41872 2012-07-25 Joseph Myers <joseph@codesourcery.com>
41874 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
41875 (struct La_i86_retval): Likewise.
41876 (struct La_x86_64_regs): Likewise.
41877 (struct La_x86_64_retval): Likewise.
41878 (struct La_x32_regs): Likewise.
41879 (struct La_x32_retval): Likewise.
41880 (struct La_ppc32_regs): Likewise.
41881 (struct La_ppc32_retval): Likewise.
41882 (struct La_ppc64_regs): Likewise.
41883 (struct La_ppc64_retval): Likewise.
41884 (struct La_sh_regs): Likewise.
41885 (struct La_sh_retval): Likewise.
41886 (struct La_s390_32_regs): Likewise.
41887 (struct La_s390_32_retval): Likewise.
41888 (struct La_s390_64_regs): Likewise.
41889 (struct La_s390_64_retval): Likewise.
41890 (struct La_sparc32_regs): Likewise.
41891 (struct La_sparc32_retval): Likewise.
41892 (struct La_sparc64_regs): Likewise.
41893 (struct La_sparc64_retval): Likewise.
41894 (struct audit_ifaces): Remove architecture-specific pltenter and
41896 * sysdeps/i386/ldsodefs.h: New file.
41897 * sysdeps/powerpc/ldsodefs.h: Likewise.
41898 * sysdeps/s390/ldsodefs.h: Likewise.
41899 * sysdeps/sh/ldsodefs.h: Likewise.
41900 * sysdeps/sparc/ldsodefs.h: Likewise.
41901 * sysdeps/x86_64/ldsodefs.h: Likewise.
41903 2012-07-25 Marek Polacek <polacek@redhat.com>
41906 * math/libm-test.inc (yn_test): Add another test.
41907 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
41908 to ERANGE when the result is +-Inf.
41909 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41910 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
41911 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
41912 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
41914 2012-07-24 Joseph Myers <joseph@codesourcery.com>
41916 * conform/data/time.h-data (NULL): Use macro-constant. Require
41918 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
41920 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
41922 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
41924 * configure.in <sysdeps resolving>: Correct printing
41926 * configure: Regenerate.
41928 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
41930 * math/w_ilogb.c: Include <limits.h>.
41931 * math/w_ilogbl.c: Likewise.
41933 2012-07-20 Joseph Myers <joseph@codesourcery.com>
41935 * manual/lang.texi (__va_copy): Document primarily as ISO C99
41936 va_copy. Document allowing for unavailable va_copy only as
41937 pre-C99 compatibility.
41938 * manual/string.texi (Copying and Concatenation): Use va_copy
41939 instead of __va_copy in concat example.
41941 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
41943 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
41944 (__sendto): Use create_address_port. Initialize APORT and deallocate
41947 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
41948 with O_NOLINK passed to __file_name_lookup.
41950 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
41951 with O_NOLINK passed to __file_name_lookup.
41953 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
41954 negative N or less than NGIDS.
41956 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
41957 type to string_t. Set ERANGE as errno and return it if NAME is not big
41958 enough. Use memcpy instead of strncpy.
41960 2012-07-20 Joseph Myers <joseph@codesourcery.com>
41962 * elf/Makefile (check-data): Remove.
41963 (localplt.data): New vpath directive.
41964 ($(objpfx)check-localplt.out): Use localplt.data from vpath
41965 instead of $(check-data).
41966 * scripts/data/localplt-generic.data: Move to ...
41967 * sysdeps/generic/localplt.data: ... here.
41968 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
41969 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
41970 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
41971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
41973 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
41974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
41976 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
41977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
41979 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
41980 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
41982 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
41983 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
41985 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
41986 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
41989 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41991 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
41992 PPC32 and PPC64 files.
41993 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
41994 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
41996 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41998 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
41999 __makecontext_ret to ...
42000 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
42001 ... here and call exit if uc_link is NULL. New file.
42002 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
42003 __makecontext_ret.S.
42004 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
42005 __makecontext_ret to ...
42006 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
42007 ... here and call exit if uc_link is NULL. New file.
42008 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
42009 __makecontext_ret.S.
42011 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42013 * elf/elf.h (R_390_IRELATIVE): New definition.
42014 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
42015 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
42016 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
42017 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
42018 (elf_machine_lazy_rel): Likewise.
42019 * sysdeps/s390/dl-irel.h: New file.
42020 * sysdeps/s390/s390-64/memcpy.S: New asm code.
42021 * sysdeps/s390/s390-64/memset.S: New asm code.
42022 * sysdeps/s390/s390-64/memcmp.S: New asm code.
42023 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
42024 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
42025 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
42026 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
42027 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
42028 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
42029 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
42030 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
42031 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
42032 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
42033 * sysdeps/s390/s390-32/memcpy.S: New asm code.
42034 * sysdeps/s390/s390-32/memset.S: New asm code.
42035 * sysdeps/s390/s390-32/memcmp.S: New asm code.
42037 2012-07-17 Marek Polacek <polacek@redhat.com>
42040 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
42041 * sysdeps/s390/s390-64/configure.in: Likewise.
42042 * sysdeps/sparc/configure.in: Likewise.
42043 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
42044 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
42045 * sysdeps/i386/configure.in: Likewise.
42046 * sysdeps/x86_64/configure.in: Likewise.
42047 * sysdeps/sh/configure.in: Likewise.
42048 * sysdeps/s390/s390-32/configure: Regenerated.
42049 * sysdeps/s390/s390-64/configure: Likewise.
42050 * sysdeps/x86_64/configure: Likewise.
42051 * sysdeps/sh/configure: Likewise.
42052 * sysdeps/powerpc/powerpc64/configure: Likewise.
42053 * sysdeps/powerpc/powerpc32/configure: Likewise.
42054 * sysdeps/sparc/configure: Likwise.
42055 * sysdeps/i386/configure: Likewise.
42057 * elf/dl-open.c: Comment fixes.
42059 2012-07-17 Joseph Myers <joseph@codesourcery.com>
42061 * Makefile [CXX] (check-data): Remove.
42062 [CXX] (c++-types.data): New vpath directive.
42063 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
42064 vpath. Do not allow for C++ type data being missing.
42065 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
42066 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
42067 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
42068 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
42069 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
42070 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
42071 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
42072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
42074 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
42075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
42077 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
42078 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
42080 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
42081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
42083 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
42084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
42086 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
42087 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
42089 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
42090 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
42092 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
42093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
42095 * elf/tls-macros.h (TLS_LE): Move architecture-specific
42096 definitions to architecture-specific files.
42097 (TLS_IE): Likewise.
42098 (TLS_LD): Likewise.
42099 (TLS_GD): Likewise.
42100 * sysdeps/i386/tls-macros.h: New file.
42101 * sysdeps/powerpc/tls-macros.h: Likewise.
42102 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
42103 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
42104 * sysdeps/sh/tls-macros.h: Likewise.
42105 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
42106 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
42107 * sysdeps/x86_64/tls-macros.h: Likewise.
42109 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
42111 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
42112 zero value for regular exit case.
42114 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
42115 (__start_context): Preserve zero value for regular exit case.
42117 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
42118 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42120 * manual/setjmp.texi (setcontext): Clarify normal process
42121 termination when uc_link is the null pointer.
42122 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
42125 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
42127 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
42128 preprocessor. Test for each exception mask separately.
42130 2012-07-16 Andreas Jaeger <aj@suse.de>
42132 * po/ru.po: Update from translation team.
42134 2012-07-15 Joseph Myers <joseph@codesourcery.com>
42136 * conform/data/string.h-data (NULL): Use macro-constant. Require
42138 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42139 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42140 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
42141 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
42142 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42144 2012-07-13 Andreas Jaeger <aj@suse.de>
42146 * po/fr.po: Update from translation team.
42148 2012-07-12 Marek Polacek <polacek@redhat.com>
42151 * math/libm-test.inc (yn_test): Add test for BZ #14173.
42152 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
42155 2012-07-12 Joseph Myers <joseph@codesourcery.com>
42158 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42159 Change to 2.4.1 where previously 2.4.0.
42160 * sysdeps/unix/sysv/linux/configure: Regenerated.
42161 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
42162 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
42164 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
42165 (__ASSUME_AT_CLKTCK): Remove.
42166 (__ASSUME_AT_PAGESIZE): Likewise.
42167 (__ASSUME_AT_XID): Likewise.
42168 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
42169 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
42170 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
42172 (HAVE_AUX_PAGESIZE): Likewise.
42173 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
42174 [__ASSUME_AT_CLKTCK]: Make code unconditional.
42175 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
42177 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
42180 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
42181 the temporary buffer used to invoke __gethostbyname2_r,
42182 __gethostbyaddr_r and gethostbyname4_r to make room for struct
42183 host_data / struct gaih_addrtuple.
42184 * resolv/nss_dns/dns-host.c (global scope): Move definition of
42185 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
42186 header file nss/nsswitch.h.
42187 * nss/nsswitch.h (global scope): Add definition of implementation
42188 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
42189 resolv/nss_dns/dns-host.c).
42191 2012-07-11 Andreas Jaeger <aj@suse.de>
42193 * po/fr.po: Update from translation team.
42195 * po/sv.po: Update from translation team
42196 * po/fr.po: Another update from translation team.
42198 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42200 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
42201 for subnormals or multiply small sinh result by itself.
42202 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42205 2012-07-11 David S. Miller <davem@davemloft.net>
42207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42209 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
42212 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
42213 (INTERNAL_MARK): Shift it here.
42215 2012-07-10 Marek Polacek <polacek@redhat.com>
42218 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
42219 libc_cv_asm_global_directive with .globl.
42220 * configure: Regenerated.
42221 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
42223 * sysdeps/i386/configure: Regenerated.
42224 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
42226 * sysdeps/x86_64/configure: Regenerated.
42227 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
42228 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
42229 * elf/tst-unique2mod2.c: Likewise.
42230 * elf/tst-unique2mod1.c: Likewise.
42231 * elf/tst-unique1mod2.c: Likewise.
42232 * elf/tst-unique1mod1.c: Likewise.
42233 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42234 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
42235 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42236 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42237 * sysdeps/mach/sysdep.h: Likewise.
42238 * sysdeps/i386/sysdep.h: Likewise.
42239 * sysdeps/i386/i386-mcount.S: Likewise.
42240 * sysdeps/x86_64/_mcount.S: Likewise.
42241 * sysdeps/x86_64/sysdep.h: Likewise.
42242 * sysdeps/sh/_mcount.S: Likewise.
42243 * sysdeps/sh/sysdep.h: Likewise.
42244 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
42245 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
42246 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
42247 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42248 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
42249 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
42250 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
42251 * locale/localeinfo.h: Likewise.
42252 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
42253 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
42255 2012-07-09 Roland McGrath <roland@hack.frob.com>
42258 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
42260 * manual/message.texi (The Uniforum approach): Likewise.
42261 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
42262 (glibc iconv Implementation): Likewise.
42264 2012-07-09 Joseph Myers <joseph@codesourcery.com>
42267 * math/s_clog.c (__clog): Avoid scaling a value down where that
42268 could result in underflow.
42269 * math/s_clog10.c (__clog10): Likewise.
42270 * math/s_clog10f.c (__clog10f): Likewise.
42271 * math/s_clog10l.c (__clog10l): Likewise.
42272 * math/s_clogf.c (__clogf): Likewise.
42273 * math/s_clogl.c (__clogl): Likewise.
42274 * math/libm-test.inc (clog_test): Add more tests.
42275 (clog10_test): Likewise.
42276 * sysdeps/i386/fpu/libm-test-ulps: Update.
42277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42279 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
42282 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
42283 by 7 not 8 to examine high bit of fractional part.
42286 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
42287 for call to __mcount_internal.
42288 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
42289 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
42290 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
42292 2012-07-06 Joseph Myers <joseph@codesourcery.com>
42295 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
42296 approximation for values within 0x1p-13f of an odd multiple of
42298 * math/libm-test.inc (tan_test): Do not allow spurious underflow
42299 exception. Add more tests.
42300 * sysdeps/i386/fpu/libm-test-ulps: Update.
42303 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
42304 inputs and return -1 for them. Do not check for +Inf in case not
42305 reachable for +Inf.
42306 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
42307 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
42308 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
42309 and return -1 for them. Do not check for +Inf in case not
42310 reachable for +Inf.
42311 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
42313 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
42314 and return -1 for them. Do not check for +Inf in case not
42315 reachable for +Inf.
42316 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
42317 spurious underflow.
42318 * sysdeps/i386/fpu/libm-test-ulps: Update.
42319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42321 2012-07-06 Mike Frysinger <vapier@gentoo.org>
42323 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
42325 2012-07-05 Joseph Myers <joseph@codesourcery.com>
42329 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
42330 could result in spurious underflow. Scale down values above
42331 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
42332 * math/s_csqrtf.c (__csqrtf): Likewise.
42333 * math/s_csqrtl.c (__csqrtl): Likewise.
42334 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
42335 spurious underflow.
42336 * sysdeps/i386/fpu/libm-test-ulps: Update.
42337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42339 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
42341 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
42343 * catgets/xopen-msg.awk: New file.
42344 * catgets/xopen-msg.sed: Removed.
42346 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
42348 * intl/po2test.awk: New file.
42349 * intl/po2test.sed: Removed.
42351 2012-07-04 Joseph Myers <joseph@codesourcery.com>
42354 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
42355 or multiply small sinh result by itself.
42356 * math/s_ctanf.c (__ctanf): Likewise.
42357 * math/s_ctanh.c (__ctanh): Likewise.
42358 * math/s_ctanhf.c (__ctanhf): Likewise.
42359 * math/s_ctanhl.c (__ctanhl): Likewise.
42360 * math/s_ctanl.c (__ctanl): Likewise.
42361 * math/libm-test.inc (ctan_test_tonearest): New function.
42362 (ctan_test_towardzero): Likewise.
42363 (ctan_test_downward): Likewise.
42364 (ctan_test_upward): Likewise.
42365 (ctanh_test_tonearest): Likewise.
42366 (ctanh_test_towardzero): Likewise.
42367 (ctanh_test_downward): Likewise.
42368 (ctanh_test_upward): Likewise.
42369 (main): Call these new functions.
42370 * sysdeps/i386/fpu/libm-test-ulps: Update.
42371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42373 2012-07-03 Mike Frysinger <vapier@gentoo.org>
42375 * .gitignore: Delete /ports entry.
42377 2012-07-03 Andreas Jaeger <aj@suse.de>
42379 * po/bg.po: Update from translation team.
42380 * po/cs.po: Likewise.
42381 * po/de.po: Likewise.
42382 * po/hr.po: Likewise.
42383 * po/nl.pl: Likewise.
42384 * po/pl.po: Likewise.
42385 * po/vi.po: Likewise.
42387 2012-07-03 Joseph Myers <joseph@codesourcery.com>
42389 * Makeconfig [!+link] (+link-before-libc): New variable.
42390 [!+link] (+link-after-libc): Likewise.
42391 [!+link] (+link-tests): Likewise.
42392 [!+link] (+link): Define in terms of $(+link-before-libc) and
42393 $(+link-after-libc).
42394 [!+link-static] (+link-static-before-libc): New variable.
42395 [!+link-static] (+link-static-after-libc): Likewise.
42396 [!+link-static] (+link-static-tests): Likewise.
42397 [!+link-static] (+link-static): Define in terms of
42398 $(+link-static-before-libc) and $(+link-static-after-libc).
42399 [build-shared] (link-libc-before-gnulib): New variable.
42400 [build-shared] (link-libc-tests): Likewise.
42401 [build-shared] (link-libc): Define in terms of
42402 $(link-libc-before-gnulib).
42403 [!build-shared] (link-libc-tests): New variable.
42404 (link-libc-static-tests): New variable.
42405 [!gnulib] (gnulib-arch): New variable.
42406 [!gnulib] (gnulib-tests): Likewise.
42407 [!gnulib] (static-gnulib-arch): Likewise.
42408 [!gnulib] (static-gnulib-tests): Likewise.
42409 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
42410 Define with "=" instead of ":=".
42411 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
42412 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
42413 * Rules (binaries-all-notests): New variable.
42414 (binaries-all-tests): Likewise.
42415 (binaries-static-notests): Likewise.
42416 (binaries-static-tests): Likewise.
42417 (binaries-all): Define using $(binaries-all-notests) and
42418 $(binaries-all-tests).
42419 (binaries-static): Define using $(binaries-static-notests) and
42420 $(binaries-static-tests).
42421 (binaries-shared-tests): New variable.
42422 (binaries-shared-notests): Likewise.
42423 (binaries-shared): Remove variable.
42424 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
42425 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
42426 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
42427 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
42428 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
42429 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
42430 * elf/Makefile (sln-modules): New variable.
42431 (extra-objs): Add $(sln-modules:=.o).
42432 (ldconfig-modules): Add static-stubs.
42433 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
42434 * elf/static-stubs.c: New file.
42437 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
42438 by 7 not 8 to examine high bit of fractional part. Use volatile
42439 variables when splitting into final array of floats if
42440 __FLT_EVAL_METHOD__ != 0.
42441 * math/libm-test.inc (cos_test): Add another test.
42442 (sin_test): Likewise.
42443 * sysdeps/i386/fpu/libm-test-ulps: Update.
42446 * math/libm-test.inc (cosh_test): Add more tests.
42448 * version.h (RELEASE): Set to "development".
42449 (VERSION): Set to "2.16.90".
42451 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
42453 * NEWS: Update copyright. Remove last-updated date.
42454 Mention math library bug fixes and timezone data changes.
42455 * README: Mention GNU/Hurd, x32, and HPPA support status.
42457 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
42459 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
42461 2012-06-27 Andreas Jaeger <aj@suse.de>
42463 * manual/contrib.texi (Contributors): Add Samuel Thibault.
42465 2012-06-25 Andreas Jaeger <aj@suse.de>
42467 * sysdeps/s390/fpu/libm-test-ulps: Update.
42469 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
42470 Thomas Schwinge <thomas@codesourcery.com>
42472 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
42473 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
42474 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
42477 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
42479 * sysdeps/mach/start.c: Remove file.
42480 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
42481 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
42482 * sysdeps/sh/init-first.c: Likewise.
42484 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
42485 registers for frame unwinding purposes, add CFI directives.
42486 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
42487 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
42488 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
42491 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
42492 __fortify_fail returning.
42493 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
42495 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
42496 sysdeps/sh/____longjmp_chk.S.
42497 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
42498 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
42499 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
42500 (gen-as-const-headers): Append sigaltstack-offsets.sym.
42502 * sysdeps/sh/abort-instr.h: New file.
42503 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
42504 process in case exit returns.
42506 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
42507 initialize the GOT register before use.
42509 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
42510 calculation of ARGC > 4.
42512 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
42513 meaningful names to some local labels.
42515 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42516 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42518 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
42519 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
42520 (__arch_compare_and_exchange_val_16_acq): Likewise.
42521 (__arch_compare_and_exchange_val_32_acq): Likewise.
42522 (atomic_exchange_and_add): Fix gUSA sequence.
42523 (atomic_add): Likewise.
42524 (atomic_add_negative): Likewise.
42525 (atomic_add_zero): Likewise.
42526 (atomic_bit_test_set): Likewise.
42528 2012-06-22 Andreas Schwab <schwab@redhat.com>
42531 * include/link.h (struct link_map): Add l_free_initfini.
42532 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
42534 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
42535 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
42536 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
42539 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
42541 * configure.in: Use AC_LANG_SOURCE.
42542 * configure: Regenerate.
42544 2012-06-22 Roland McGrath <roland@hack.frob.com>
42546 * configure.in (libc_cv_localstatedir): New substituted variable.
42547 * configure: Regenerated.
42548 * config.make.in (localstatedir): New variable, substituted from
42549 libc_cv_localstatedir.
42550 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
42551 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
42552 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
42553 * sysdeps/gnu/configure: Regenerated.
42555 2012-06-21 Jeff Law <law@redhat.com>
42558 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
42559 free. Simplify list management for _LIBC case.
42561 2012-06-21 Joseph Myers <joseph@codesourcery.com>
42564 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
42565 Clear sign bit of 64-bit integer value before comparing against
42568 * sysdeps/mach/configure: Regenerated.
42570 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
42573 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
42575 2012-06-21 Jeff Law <law@redhat.com>
42578 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
42579 uint16_t for elements in the "seen" array to avoid char overflows.
42580 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42581 * elf/dl-open.c (dl_open_worker): Likewise.
42583 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
42585 * scripts/list-sources.sh: Scan PORTS for translations.
42586 * po/libc.pot: Regenerated.
42588 2012-06-21 Andreas Jaeger <aj@suse.de>
42591 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
42593 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
42594 * bits/byteswap-16.h (__bswap_16): Likewise.
42595 * bits/byteswap.h (__bswap_constant_16): Likewise.
42597 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
42600 * sysdeps/i386/fpu_control.h: Removed.
42601 * sysdeps/x86_64/fpu_control.h: Moved to ...
42602 * sysdeps/x86/fpu_control.h: Here.
42604 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
42605 (_FPU_SETCW): Likewise.
42607 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
42610 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
42611 * sysdeps/x86/fpu/bits/mathinline.h: This.
42612 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
42616 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
42617 functions if __x86_64__ is defined.
42619 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
42621 * string/endian.h: Add !__ASSEMBLER__ condition for including
42622 conversion interfaces.
42624 2012-06-15 Joseph Myers <joseph@codesourcery.com>
42627 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
42628 of ABS(x) in calculating zero to negative powers other than odd
42630 * math/libm-test.inc (pow_test): Add more tests.
42632 2012-06-15 Andreas Jaeger <aj@suse.de>
42634 * manual/contrib.texi (Contributors): Update entry of Liubov
42635 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
42638 2012-06-15 Cyril Hrubis <metan@ucw.cz>
42640 * string/string.h: Add __wur to GNU version of strerror_r.
42642 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
42645 * string/Makefile (tests): Add tst-strtok_r.
42646 * string/tst-strtok_r.c: New file.
42647 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
42648 RAX_LP/RDX_LP on SAVE_PTR.
42650 2012-06-14 Roland McGrath <roland@hack.frob.com>
42652 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
42654 2012-06-14 Joseph Myers <joseph@codesourcery.com>
42656 * libm_test.inc (csqrt_test): Allow more spurious underflow
42658 (j0_test): Likewise.
42659 (j1_test): Likewise.
42660 (y0_test): Likewise.
42661 (y1_test): Likewise.
42663 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
42665 * po/Makefile (libc.pot): Use UTF-8 charset.
42667 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
42670 Suppress sign-conversion warning from FD_SET.
42671 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
42672 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
42673 not unsigned long int.
42674 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
42676 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
42680 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
42681 __extern_always_inline instead of __extern_inline.
42682 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
42683 (__signbit): Likewise.
42684 (__signbitl): Support C++ namespace.
42685 (lrintf): New inline function.
42687 (llrintf): Likewise.
42688 (llrint): Likewise.
42698 (floorf): Likewise.
42699 (nearbyint): Likewise.
42700 (nearbyintf): Likewise.
42702 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
42704 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
42705 non-default versions.
42707 2012-06-11 Roland McGrath <roland@hack.frob.com>
42710 * manual/argp.texi (Argp): Reword argp_parse description slightly.
42712 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
42714 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
42715 (FE_UPWARD, FE_DOWNWARD): Don't define.
42716 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
42717 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42719 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
42721 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42722 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42724 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42726 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42727 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
42728 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
42729 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
42731 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
42734 * sysdeps/i386/fpu/bits/fenv.h: Removed.
42735 * sysdeps/i386/fpu/Implies: New file.
42736 * sysdeps/x86_64/fpu/Implies: Likewise.
42737 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
42738 * sysdeps/x86/fpu/bits/fenv.h: This.
42740 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
42743 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
42746 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
42747 character 0xffff that matches the last element of the
42750 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42752 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
42755 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42757 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
42758 values higher than 25.6283.
42760 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42762 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
42763 subnormal exponent extraction and add some __builtin_expect.
42764 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
42765 Fix for subnormal mantissa calculation.
42767 2012-06-04 Mike Frysinger <vapier@gentoo.org>
42769 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
42770 cpu2 is -1 and errno is not ENOSYS.
42772 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
42775 * sysdeps/i386/i486/bits/string.h: Renamed to ...
42776 * sysdeps/x86/bits/string.h: This.
42777 * sysdeps/x86_64/bits/string.h: Removed.
42779 * sysdeps/i386/i486/bits/string.h: Define inline functions only
42780 if not compiling for x86-64, but compiling for >= i486.
42782 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
42783 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
42785 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
42786 New macro from Linux kernel 3.4.0.
42787 (FP_XSTATE_MAGIC2): Likewise.
42788 (FP_XSTATE_MAGIC2_SIZE): Likewise.
42789 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
42790 (struct _fpx_sw_bytes): New struct.
42791 (struct _xsave_hdr): Likewise.
42792 (struct _ymmh_state): Likewise.
42793 (struct _xstate): Likewise.
42795 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
42796 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
42797 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
42798 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
42799 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
42800 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
42802 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
42803 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
42804 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
42805 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
42806 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
42807 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
42809 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42812 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
42813 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
42814 (sysdep_headers): Include sys/platform/ppc.h.
42815 * sysdeps/powerpc/test-gettimebase.c: Test for
42816 __ppc_get_timebase() to catch future ISA opcode/insn changes.
42817 * manual/Makefile (appendices): Include platform.texi.
42818 * manual/contrib.texi (Contributors): Update @node pointers.
42819 * manual/maint.texi (Maintenance): Likewise.
42820 (Platform): New node.
42821 * manual/platform.texi: New file. Document the new features.
42823 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42824 Jakub Jelinek <jakub@redhat.com>
42827 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
42828 where __builtin_expect is unavailable.
42830 2012-06-03 David S. Miller <davem@davemloft.net>
42832 * stdlib/longlong.h: Updated from GCC.
42834 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
42837 * sysdeps/powerpc/powerpc32/mcount.c: New file.
42838 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
42840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42841 (GLIBC_2.16): Likewise.
42843 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
42845 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
42847 2012-06-01 Joseph Myers <joseph@codesourcery.com>
42849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
42850 (default-abi): New variable.
42851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
42852 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
42854 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
42856 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
42858 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
42861 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
42862 definition. Document in comment.
42864 2012-06-01 David S. Miller <davem@davemloft.net>
42866 * stdlib/longlong.h: Updated from GCC.
42868 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
42871 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
42872 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
42873 sys/debugreg.h sys/io.h here.
42874 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
42875 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
42877 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
42878 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
42879 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
42880 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
42881 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
42882 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
42884 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
42885 Define only if __x86_64__ is defined.
42887 2012-06-01 Joseph Myers <joseph@codesourcery.com>
42890 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
42891 Use int64_t for variable i.
42892 * math/libm-test.inc (fmod_test): Add more tests.
42894 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
42895 z computation is not scheduled after fetestexcept.
42896 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
42897 Use math_force_eval instead of asm to ensure calculation scheduled
42898 before exception test.
42899 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
42900 Ensure a1 + u.d computation is not scheduled after fetestexcept.
42902 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
42904 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
42905 computation is not scheduled after fetestexcept.
42907 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
42910 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
42911 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
42913 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42915 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
42916 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42918 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
42921 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
42923 (__WCHAR_MIN): Support __WORDSIZE == 64.
42924 (__WCHAR_MAX): Likewise.
42926 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
42927 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
42930 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
42931 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
42934 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
42935 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
42937 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
42938 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
42940 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
42941 Defined to 1 if __x86_64__ isn't defined.
42942 (_STAT_VER_LINUX_OLD): New.
42943 (st_atime): Remove duplicate.
42944 (st_mtime): Likewise.
42945 (st_ctime): Likewise.
42947 2012-05-31 David S. Miller <davem@davemloft.net>
42949 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
42952 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
42954 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
42958 * elf/dl-reloc.c: Include <_itoa.h>.
42959 (_dl_reloc_bad_type): Remove use of INTUSE.
42960 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
42961 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
42962 * stdio-common/psiginfo.c (psiginfo): Likewise.
42963 * stdio-common/psignal.c (psignal): Likewise.
42964 * string/strsignal.c (strsignal): Likewise.
42965 * include/signal.h (_sys_siglist): Declare hidden proto.
42966 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
42967 INTVARDEF with libc_hidden_data_def.
42968 * stdio-common/itoa-udigits.c: Likewise.
42969 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
42970 (_itoa_lower_digits_internal): Remove declaration.
42971 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
42972 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
42973 (_sys_sigabbrev_internal): Remove aliases.
42974 (_sys_siglist): Define hidden alias.
42976 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
42978 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42981 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
42984 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
42985 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
42987 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
42988 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
42989 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
42990 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
42991 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
42992 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
42994 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
42995 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
42996 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
42998 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
43006 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
43007 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
43008 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
43010 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
43011 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
43012 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
43013 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
43014 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
43015 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
43017 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
43018 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
43020 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
43021 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
43023 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
43024 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
43025 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
43027 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
43028 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
43030 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
43032 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
43033 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
43034 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
43036 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
43038 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
43040 2012-05-31 Joseph Myers <joseph@codesourcery.com>
43042 * math/math.h (M_El): Use two more decimal places.
43043 (M_LOG2El): Likewise.
43044 (M_LOG10El): Likewise.
43045 (M_LN2l): Likewise.
43046 (M_LN10l): Likewise.
43048 (M_PI_2l): Likewise.
43049 (M_PI_4l): Likewise.
43050 (M_1_PIl): Likewise.
43051 (M_2_PIl): Likewise.
43052 (M_2_SQRTPIl): Likewise.
43053 (M_SQRT2l): Likewise.
43054 (M_SQRT1_2l): Likewise.
43056 2012-05-31 David S. Miller <davem@davemloft.net>
43058 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
43059 values between float registers.
43060 * sysdeps/sparc/sparc64/memset.S: Likewise.
43061 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43063 2012-05-31 Mike Frysinger <vapier@gentoo.org>
43065 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
43066 -D_FORTIFY_SOURCE=1.
43067 (CPPFLAGS-tst-longjmp_chk.c): Define.
43068 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
43069 (CPPFLAGS-tst-longjmp_chk2.c): Define.
43070 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
43071 CFLAGS-tst-wchar-h.c.
43073 2012-05-31 Marek Polacek <polacek@redhat.com>
43076 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
43077 __endmntent_internal): Remove declaration.
43078 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
43079 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
43080 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
43082 2012-05-30 David S. Miller <davem@davemloft.net>
43084 * sysdeps/sparc/sparc32/soft-fp/q_util.c
43085 (___Q_simulate_exceptions): Use real FP ops rather than writing
43087 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
43090 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
43093 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
43094 * sysdeps/x86/bits/xtitypes.h: This.
43096 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
43097 * sysdeps/x86/bits/wordsize.h: This.
43099 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
43100 * sysdeps/x86/bits/huge_vall.h: This.
43102 * sysdeps/i386/bits/select.h: Removed.
43103 * sysdeps/x86_64/bits/select.h: Renamed to ...
43104 * sysdeps/x86/bits/select.h: This.
43106 * sysdeps/i386/bits/setjmp.h: Removed.
43107 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
43108 * sysdeps/x86/bits/setjmp.h: This.
43110 * sysdeps/i386/bits/mathdef.h: Removed.
43111 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
43112 * sysdeps/x86/bits/mathdef.h: This.
43114 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
43117 * include/sys/socket.h (__connect_internal)
43118 (__libc_sa_len_internal): Remove declaration.
43119 (__connect, __libc_sa_len): Declare hidden_proto.
43120 (SA_LEN): Remove use of INTUSE.
43121 * socket/connect.c: Add libc_hidden_def.
43122 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
43123 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
43124 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
43126 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
43127 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
43128 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
43129 of adding _internal alias.
43131 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
43134 * sysdeps/i386/bits/link.h: Removed.
43135 * sysdeps/i386/bits/linkmap.h: Likewise.
43136 * sysdeps/x86_64/bits/link.h: Renamed to ...
43137 * sysdeps/x86/bits/link.h: This.
43138 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
43139 * sysdeps/x86/bits/linkmap.h: This.
43141 * sysdeps/i386/bits/endian.h: Removed.
43142 * sysdeps/x86_64/bits/endian.h: Renamed to ...
43143 * sysdeps/x86/bits/endian.h: This.
43145 * sysdeps/i386/bits/byteswap.h: Removed.
43146 * sysdeps/i386/bits/byteswap-16.h: Likewise.
43147 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
43148 * sysdeps/x86/bits/byteswap.h: This.
43149 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
43150 * sysdeps/x86/bits/byteswap-16.h: This.
43151 * sysdeps/i386/Implies: Add x86.
43152 * sysdeps/x86_64/Implies: Likewise.
43154 2012-05-30 David S. Miller <davem@davemloft.net>
43156 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
43157 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
43158 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
43159 (FP_TRAPPING_EXCEPTIONS): Define.
43160 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
43161 (FP_TRAPPING_EXCEPTIONS): Define.
43162 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
43163 subnormals only when inexact has been signalled or underflow
43164 exceptions are enabled.
43165 (_FP_PACK_CANONICAL): Likewise.
43167 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
43170 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
43171 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
43173 2012-05-30 Richard Henderson <rth@twiddle.net>
43175 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
43176 with #ifndef NOT_IN_libc.
43178 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
43179 marked to avoid plt entry.
43181 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
43184 * Makeconfig (default-abi): New macro.
43185 (abi-includes): Likewise.
43186 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
43187 $(abi-$(default-abi)-lib-soname) for soname if defined.
43188 ($(common-objpfx)gnu/lib-names.stmp): Generate from
43190 * Makefile (installed-stubs): Likewise.
43191 * include/stubs-biarch.h: Removed.
43192 * scripts/lib-names.awk: Only handle one library at a time.
43193 * scripts/soversions.awk: Remove WORDSIZE support.
43194 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
43196 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
43198 (syscall-list-default-condition): Likewise.
43199 (syscall-list-default-condition): Likewise.
43200 (syscall-list-includes): Likewise.
43201 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
43202 syscall-list-* with abi-*. Handle undefined abi-variants.
43203 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
43204 * sysdeps/unix/sysv/linux/i386/Implies: New file.
43205 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
43206 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
43207 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
43208 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
43210 (syscall-list-32-options): Likewise.
43211 (syscall-list-32-condition): Likewise.
43212 (syscall-list-64-options): Likewise.
43213 (syscall-list-64-condition): Likewise.
43214 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
43216 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
43219 (abi-64-ld-soname): New macro.
43220 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
43221 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
43224 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
43225 * sysdeps/x86_64/x32/shlib-versions: Likewise.
43227 2012-05-30 Joseph Myers <joseph@codesourcery.com>
43229 * sysdeps/unix/sysv/linux/kernel-features.h
43230 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
43231 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
43232 include <kernel-features.h>.
43233 [!__NR_ftruncate64]: Remove conditional code.
43234 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43235 [__NR_ftruncate64]: Make code unconditional.
43236 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43237 * sysdeps/unix/sysv/linux/truncate64.c: Do not
43238 include <kernel-features.h>.
43239 [!__NR_ftruncate64]: Remove conditional code.
43240 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43241 [__NR_ftruncate64]: Make code unconditional.
43242 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
43244 include <kernel-features.h>.
43245 [!__NR_ftruncate64]: Remove conditional code.
43246 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43247 [__NR_ftruncate64]: Make code unconditional.
43248 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
43250 include <kernel-features.h>.
43251 [!__NR_ftruncate64]: Remove conditional code.
43252 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43253 [__NR_ftruncate64]: Make code unconditional.
43254 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43256 * configure.in (libc_cv_fpie): Weaken to a compile test using
43257 LIBC_TRY_CC_OPTION.
43258 * configure: Regenerated.
43260 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
43263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
43264 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
43265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
43268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
43269 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
43270 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
43271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
43272 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43275 2012-05-27 David S. Miller <davem@davemloft.net>
43277 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
43279 (__Q_simulate_exceptions): Return void. Change to simulate
43280 exceptions by writing into the %fsr.
43281 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
43282 (__Qp_handle_exceptions): Likewise.
43284 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
43285 __Qp_handle_exceptions.
43286 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
43287 __Qp_handle_exceptions.
43288 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
43289 as unused and give dummy FP_RND_NEAREST initializer.
43290 (FP_INHIBIT_RESULTS): Define.
43291 (___Q_simulate_exceptions): Update declaration.
43292 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
43294 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
43295 as unused and give dummy FP_RND_NEAREST initializer.
43296 (__Qp_handle_exceptions): Update declaration.
43297 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
43300 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
43302 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
43303 the temporary FPU control word.
43304 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
43305 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
43306 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
43307 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
43308 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
43309 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
43310 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
43311 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
43312 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
43313 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
43314 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43316 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43318 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
43321 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
43323 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
43324 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
43325 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
43326 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
43328 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
43329 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
43332 2012-05-27 Ulrich Drepper <drepper@gmail.com>
43334 * po/h.po: Update from translation team.
43336 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
43338 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
43340 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
43341 handling of denormals.
43342 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43343 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
43344 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43345 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43346 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43347 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
43348 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
43351 2012-05-26 Marek Polacek <polacek@redhat.com>
43354 * math/libm-test.inc (fma_test): Don't always expect underflow
43357 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
43360 * elf/tst-execstack.c: Include stackinfo.h.
43361 (do_test): Adjust test case to ensure that pthread_getattr_np
43362 behaviour remains the same after marking stack executable.
43364 2012-05-25 Joseph Myers <joseph@codesourcery.com>
43366 * sysdeps/unix/sysv/linux/kernel-features.h
43367 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
43368 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
43370 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
43371 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
43372 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
43374 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
43375 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
43377 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
43379 * configure.in: Define the default includes to being none.
43380 * configure: Regenerated.
43382 2012-05-25 Roland McGrath <roland@hack.frob.com>
43384 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
43385 * sysdeps/x86_64/setjmp.S: Likewise.
43386 * sysdeps/i386/bsd-setjmp.S: Likewise.
43387 * sysdeps/i386/bsd-_setjmp.S: Likewise.
43388 * sysdeps/i386/setjmp.S: Likewise.
43389 * sysdeps/i386/__longjmp.S: Likewise.
43390 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43391 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
43393 * include/stap-probe.h: New file.
43394 * configure.in: Handle --enable-systemtap.
43395 * configure: Regenerated.
43396 * config.h.in (USE_STAP_PROBE): New #undef.
43397 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
43398 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
43399 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43401 2012-05-25 Joseph Myers <joseph@codesourcery.com>
43404 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43405 to 2.4.0 where earlier.
43406 * sysdeps/unix/sysv/linux/configure: Regenerated.
43407 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
43408 <kernel-features.h>.
43409 [__ASSUME_32BITUIDS]: Make code unconditional.
43410 [!__ASSUME_32BITUIDS]: Remove conditional code.
43411 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
43412 <kernel-features.h>.
43413 [__ASSUME_32BITUIDS]: Make code unconditional.
43414 [!__ASSUME_32BITUIDS]: Remove conditional code.
43415 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
43416 [__ASSUME_32BITUIDS]: Make code unconditional.
43417 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
43418 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.c: Do not include
43443 <kernel-features.h>.
43444 [__ASSUME_32BITUIDS]: Make code unconditional.
43445 [!__ASSUME_32BITUIDS]: Remove conditional code.
43446 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
43447 <kernel-features.h>.
43448 [__ASSUME_32BITUIDS]: Make code unconditional.
43449 [!__ASSUME_32BITUIDS]: Remove conditional code.
43450 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
43451 <kernel-features.h>.
43452 [__ASSUME_32BITUIDS]: Make code unconditional.
43453 [!__ASSUME_32BITUIDS]: Remove conditional code.
43454 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
43455 <kernel-features.h>.
43456 [__ASSUME_32BITUIDS]: Make code unconditional.
43457 [!__ASSUME_32BITUIDS]: Remove conditional code.
43458 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
43459 <kernel-features.h>.
43460 [__NR_setresgid] (__setresgid): Do not declare.
43461 [__ASSUME_32BITUIDS]: Make code unconditional.
43462 [!__ASSUME_32BITUIDS]: Remove conditional code.
43463 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
43464 <kernel-features.h>.
43465 [__NR_setresuid] (__setresuid): Do not declare.
43466 [__ASSUME_32BITUIDS]: Make code unconditional.
43467 [!__ASSUME_32BITUIDS]: Remove conditional code.
43468 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/i386/setresuid.c: Do not include
43493 <kernel-features.h>.
43494 [__ASSUME_32BITUIDS]: Make code unconditional.
43495 [!__ASSUME_32BITUIDS]: Remove conditional code.
43496 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
43497 <kernel-features.h>.
43498 [__ASSUME_32BITUIDS]: Make code unconditional.
43499 [!__ASSUME_32BITUIDS]: Remove conditional code.
43500 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
43501 <kernel-features.h>.
43502 [__ASSUME_32BITUIDS]: Make code unconditional.
43503 [!__ASSUME_32BITUIDS]: Remove conditional code.
43504 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
43505 <kernel-features.h>.
43506 [__ASSUME_32BITUIDS]: Make code unconditional.
43507 [!__ASSUME_32BITUIDS]: Remove conditional code.
43508 * sysdeps/unix/sysv/linux/kernel-features.h
43509 (__ASSUME_SETRESUID_SYSCALL): Remove.
43510 (__ASSUME_SETRESGID_SYSCALL): Likewise.
43511 (__ASSUME_32BITUIDS): Likewise.
43512 (__ASSUME_LDT_WORKS): Likewise.
43513 (__ASSUME_O_DIRECTORY): Likewise.
43514 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
43515 architecture but not kernel version.
43516 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
43517 (__ASSUME_MMAP2_SYSCALL): Likewise.
43518 (__ASSUME_STAT64_SYSCALL): Likewise.
43519 (__ASSUME_IPC64): Likewise.
43520 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
43521 <kernel-features.h>.
43522 [__ASSUME_32BITUIDS]: Make code unconditional.
43523 [!__ASSUME_32BITUIDS]: Remove conditional code.
43524 * sysdeps/unix/sysv/linux/opendir.c: Do not include
43525 <kernel-features.h>.
43526 [__ASSUME_O_DIRECTORY]: Make code unconditional.
43527 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
43528 132096]: Remove conditional code.
43529 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
43530 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
43531 <kernel-features.h>.
43532 [__ASSUME_32BITUIDS]: Make code unconditional.
43533 [!__ASSUME_32BITUIDS]: Remove conditional code.
43534 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
43535 <kernel-features.h>.
43536 [__ASSUME_32BITUIDS]: Make code unconditional.
43537 [!__ASSUME_32BITUIDS]: Remove conditional code.
43538 * sysdeps/unix/sysv/linux/setegid.c: Do not include
43539 <kernel-features.h>.
43540 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
43542 (__setresgid): Do not declare.
43543 [__ASSUME_32BITUIDS]: Make code unconditional.
43544 [!__ASSUME_32BITUIDS]: Remove conditional code.
43545 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
43546 <kernel-features.h>.
43547 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
43549 (__setresuid): Do not declare.
43550 [__ASSUME_32BITUIDS]: Make code unconditional.
43551 [!__ASSUME_32BITUIDS]: Remove conditional code.
43552 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
43553 <kernel-features.h>.
43554 [__ASSUME_32BITUIDS]: Make code unconditional.
43555 [!__ASSUME_32BITUIDS]: Remove conditional code.
43556 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
43557 <kernel-features.h>.
43558 [__ASSUME_32BITUIDS]: Make code unconditional.
43559 [!__ASSUME_32BITUIDS]: Remove conditional code.
43561 2012-05-25 Richard Henderson <rth@twiddle.net>
43563 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
43564 dl_hwcap to ifunc resolver.
43565 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
43567 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
43568 dl_hwcap to ifunc resolver.
43569 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
43571 2012-05-24 Joseph Myers <joseph@codesourcery.com>
43574 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
43575 for |x| <= 2**-26, not 2**-57.
43576 * math/libm-test.inc (acos_test): Do not allow spurious underflow
43579 2012-05-24 Jeff Law <law@redhat.com>
43581 * stdio-common/Makefile (tests): Add bug25.
43582 * stdio-common/bug25.c: New test.
43584 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
43587 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
43588 multiple of MALLOC_ALIGNMENT in size.
43589 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
43591 2012-05-24 Joseph Myers <joseph@codesourcery.com>
43593 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
43595 (FILENAME_MAX): Use macro-int-constant.
43596 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
43597 (_IOFBF): Use macro-int-constant.
43598 (_IOLBF): Likewise.
43599 (_IONBF): Likewise.
43600 (SEEK_CUR): Likewise.
43601 (SEEK_END): Likewise.
43602 (SEEK_SET): Likewise.
43603 (TMP_MAX): Likewise.
43604 (EOF): Use macro-int-constant. Require < 0.
43605 (NULL): Use macro-constant. Require == 0.
43606 (stdin): Require type to be FILE *.
43607 (stdout): Likewise.
43608 (stderr): Likewise.
43609 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
43610 macro-int-constant.
43611 (EXIT_SUCCESS): Likewise.
43612 (NULL): Use macro-constant. Require == 0.
43613 (RAND_MAX): Use macro-int-constant.
43614 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
43615 [C99-based standards] (strtof): Require function.
43616 [C99-based standards] (strtold): Likewise.
43617 [C99-based standards] (strtoll): Likewise.
43618 [C99-based standards] (strtoull): Likewise.
43619 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
43620 [ISO || ISO99 || ISO11] (limits.h): Likewise.
43621 [ISO || ISO99 || ISO11] (math.h): Likewise.
43622 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
43623 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
43624 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43626 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
43629 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
43630 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
43631 * intl/dgettext.c (DCGETTEXT): Likewise.
43632 * intl/gettext.c (DCGETTEXT): Likewise.
43633 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
43634 * posix/regex_internal.h (gettext): Likewise.
43635 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
43636 Remove declaration.
43637 * include/argz.h (__argz_count_internal)
43638 (__argz_stringify_internal): Remove declaration.
43639 (__argz_count, __argz_stringify): Declare hidden proto.
43640 * intl/dcgettext.c: Remove use of INTDEF.
43641 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
43642 * string/argz-stringify.c: Likewise.
43643 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
43644 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
43645 Declare hidden proto.
43646 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
43647 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
43648 Declare hidden proto.
43649 * include/stdio.h (__asprintf_internal): Don't declare.
43650 (__asprintf): Don't define as macro. Declare hidden proto.
43651 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
43652 (__fsetlocking): Declare hidden proto.
43653 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
43654 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
43656 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
43657 (_IO_setlinebuf): Remove use of INTUSE.
43658 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
43659 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
43660 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
43661 Remove declaration.
43662 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
43663 (_IO_do_flush): Remove use of INTUSE.
43664 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
43665 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
43666 (_IO_adjust_column, _IO_least_wmarker)
43667 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
43668 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
43669 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
43670 (_IO_default_doallocate, _IO_wdefault_doallocate)
43671 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
43672 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
43673 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
43674 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
43675 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
43676 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
43677 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
43678 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
43679 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
43680 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
43681 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
43682 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
43683 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
43685 (_IO_flush_all_internal, _IO_adjust_column_internal)
43686 (_IO_default_uflow_internal, _IO_default_finish_internal)
43687 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
43688 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
43689 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
43690 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
43691 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
43692 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
43693 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
43694 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
43695 (_IO_file_close_internal, _IO_file_close_it_internal)
43696 (_IO_file_underflow_internal, _IO_file_overflow_internal)
43697 (_IO_file_init_internal, _IO_file_attach_internal)
43698 (_IO_file_fopen_internal, _IO_file_read_internal)
43699 (_IO_file_sync_internal, _IO_file_seek_internal)
43700 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
43701 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
43702 (_IO_str_underflow_internal, _IO_str_overflow_internal)
43703 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
43704 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
43705 (_IO_list_all_internal, _IO_link_in_internal)
43706 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
43707 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
43708 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
43709 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
43710 (_IO_do_write_internal, _IO_padn_internal)
43711 (_IO_getline_info_internal, _IO_getline_internal)
43712 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
43713 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
43714 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
43715 (_IO_vfscanf_internal, _IO_vfprintf_internal)
43716 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
43717 (_IO_init_internal, _IO_un_link_internal): Don't declare.
43718 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
43719 with libc_hidden_ver, remove use of INTUSE.
43720 * libio/genops.c: Likewise.
43721 * libio/freopen.c: Likewise.
43722 * libio/freopen64.c: Likewise.
43723 * libio/iofclose.c: Likewise.
43724 * libio/iofdopen.c: Likewise.
43725 * libio/iofflush.c: Likewise.
43726 * libio/iofflush_u.c: Likewise.
43727 * libio/iofgets.c: Likewise.
43728 * libio/iofgets_u.c: Likewise.
43729 * libio/iofopen.c: Likewise.
43730 * libio/iofopncook.c: Likewise.
43731 * libio/iofread.c: Likewise.
43732 * libio/iofread_u.c: Likewise.
43733 * libio/ioftell.c: Likewise.
43734 * libio/iofwrite.c: Likewise.
43735 * libio/iogetline.c: Likewise.
43736 * libio/iogets.c: Likewise.
43737 * libio/iogetwline.c: Likewise.
43738 * libio/iopadn.c: Likewise.
43739 * libio/iopopen.c: Likewise.
43740 * libio/ioseekoff.c: Likewise.
43741 * libio/ioseekpos.c: Likewise.
43742 * libio/iosetbuffer.c: Likewise.
43743 * libio/iosetvbuf.c: Likewise.
43744 * libio/ioungetc.c: Likewise.
43745 * libio/ioungetwc.c: Likewise.
43746 * libio/iovdprintf.c: Likewise.
43747 * libio/iovsprintf.c: Likewise.
43748 * libio/iovsscanf.c: Likewise.
43749 * libio/memstream.c: Likewise.
43750 * libio/obprintf.c: Likewise.
43751 * libio/oldfileops.c: Likewise.
43752 * libio/oldiofclose.c: Likewise.
43753 * libio/oldiofdopen.c: Likewise.
43754 * libio/oldiofopen.c: Likewise.
43755 * libio/oldiopopen.c: Likewise.
43756 * libio/oldstdfiles.c: Likewise.
43757 * libio/putc.c: Likewise.
43758 * libio/setbuf.c: Likewise.
43759 * libio/setlinebuf.c: Likewise.
43760 * libio/stdfiles.c: Likewise.
43761 * libio/strops.c: Likewise.
43762 * libio/vasprintf.c: Likewise.
43763 * libio/vscanf.c: Likewise.
43764 * libio/vsnprintf.c: Likewise.
43765 * libio/vswprintf.c: Likewise.
43766 * libio/wfiledoalloc.c: Likewise.
43767 * libio/wfileops.c: Likewise.
43768 * libio/wgenops.c: Likewise.
43769 * libio/wmemstream.c: Likewise.
43770 * libio/wstrops.c: Likewise.
43771 * libio/__fpurge.c: Likewise.
43772 * libio/__fsetlocking.c: Likewise.
43773 * assert/assert.c: Likewise.
43774 * debug/fgets_chk.c: Likewise.
43775 * debug/fgets_u_chk.c: Likewise.
43776 * debug/fread_chk.c: Likewise.
43777 * debug/fread_u_chk.c: Likewise.
43778 * debug/gets_chk.c: Likewise.
43779 * debug/obprintf_chk.c: Likewise.
43780 * debug/vasprintf_chk.c: Likewise.
43781 * debug/vdprintf_chk.c: Likewise.
43782 * debug/vsnprintf_chk.c: Likewise.
43783 * debug/vsprintf_chk.c: Likewise.
43784 * malloc/mtrace.c: Likewise.
43785 * misc/error.c: Likewise.
43786 * misc/syslog.c: Likewise.
43787 * stdio-common/asprintf.c: Likewise.
43788 * stdio-common/fxprintf.c: Likewise.
43789 * stdio-common/getw.c: Likewise.
43790 * stdio-common/isoc99_fscanf.c: Likewise.
43791 * stdio-common/isoc99_scanf.c: Likewise.
43792 * stdio-common/isoc99_vfscanf.c: Likewise.
43793 * stdio-common/isoc99_vscanf.c: Likewise.
43794 * stdio-common/isoc99_vsscanf.c: Likewise.
43795 * stdio-common/printf-prs.c: Likewise.
43796 * stdio-common/printf_fp.c: Likewise.
43797 * stdio-common/printf_fphex.c: Likewise.
43798 * stdio-common/printf_size.c: Likewise.
43799 * stdio-common/putw.c: Likewise.
43800 * stdio-common/scanf.c: Likewise.
43801 * stdio-common/sprintf.c: Likewise.
43802 * stdio-common/tmpfile.c: Likewise.
43803 * stdio-common/vfprintf.c: Likewise.
43804 * stdio-common/vfscanf.c: Likewise.
43805 * stdlib/strfmon_l.c: Likewise.
43806 * sunrpc/openchild.c: Likewise.
43807 * sunrpc/xdr_stdio.c: Likewise.
43808 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
43809 * sysdeps/mach/hurd/tmpfile.c: Likewise.
43811 2012-05-24 Roland McGrath <roland@hack.frob.com>
43813 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43815 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
43816 in the third column, to generate for the shared library an IFUNC
43817 that uses _dl_vdso_vsym.
43818 * Makerules (COMPILE.c, compile-stdin.c): New variables.
43819 * Makeconfig (object-suffixes-noshared): New variable.
43821 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
43822 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
43823 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
43824 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
43827 * include/sys/time.h (__gettimeofday): Remove macro.
43828 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
43829 * time/gettimeofday.c (__gettimeofday): Remove #undef.
43831 (__gettimeofday): Add libc_hidden_def.
43832 (gettimeofday): Add libc_hidden_weak.
43833 * sysdeps/mach/gettimeofday.c: Likewise.
43834 * sysdeps/posix/gettimeofday.c: Likewise.
43835 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
43836 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
43837 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
43838 (__gettimeofday_internal): Remove strong_alias.
43839 (__gettimeofday): Add libc_hidden_def.
43840 (gettimeofday): Add libc_hidden_weak.
43841 * sysdeps/unix/syscalls.list (gettimeofday):
43842 Remove __gettimeofday_internal alias.
43844 2012-05-24 Daniel Jacobowitz <drow@false.org>
43845 H.J. Lu <hongjiu.lu@intel.com>
43848 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
43849 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
43850 (largebin_index_32_big): New.
43851 (largebin_index): Use it for 16-byte alignment.
43852 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
43853 correction with front_misalign.
43855 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
43857 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
43858 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
43860 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
43862 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
43864 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
43866 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
43868 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
43870 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
43872 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
43874 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
43876 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
43878 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
43880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
43883 * scripts/data/c++-types-x32-linux-gnu.data: New file.
43884 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
43886 2012-05-24 Joseph Myers <joseph@codesourcery.com>
43890 * math/libm-test.inc (exp_test): Add test from bug 14036.
43891 (pow_test): Add test from bug 10846.
43893 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
43895 (special_function): Do not include flags in test name.
43896 (parse_args): Likewise.
43897 * sysdeps/i386/fpu/libm-test-ulps: Update.
43898 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43899 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43900 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43903 * math/gen-libm-test.pl (%beautify): Add entries for underflow
43905 * math/libm-test.inc ("Philosophy"): Update comment about
43907 (UNDERFLOW_EXCEPTION): New macro.
43908 (UNDERFLOW_EXCEPTION_OK): Likewise.
43909 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
43910 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
43911 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
43912 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
43913 (INVALID_EXCEPTION_OK): Update value.
43914 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43915 (OVERFLOW_EXCEPTION_OK): Likewise.
43916 (IGNORE_ZERO_INF_SIGN): Likewise.
43917 (test_exceptions): Handle underflow exceptions.
43918 (acos_test): Update for underflow exception expectations.
43919 (cexp_test): Likewise.
43920 (clog_test): Likewise.
43921 (clog10_test): Likewise.
43922 (csqrt_test): Likewise.
43923 (ctan_test): Likewise.
43924 (ctanh_test): Likewise.
43925 (exp_test): Likewise.
43926 (exp10_test): Likewise.
43927 (exp2_test): Likewise.
43928 (expm1_test): Likewise.
43929 (fma_test): Likewise.
43930 (j0_test): Likewise.
43931 (jn_test): Likewise.
43932 (nexttoward_test): Likewise.
43933 (pow_test): Likewise.
43934 (scalbn_test): Likewise.
43935 (scalbln_test): Likewise.
43936 (tan_test): Likewise.
43937 (y1_test): Likewise.
43938 * sysdeps/i386/fpu/libm-test-ulps: Update.
43939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43941 2012-05-23 David S. Miller <davem@davemloft.net>
43943 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43944 (__libc_sigaction): Remove unused local variables.
43946 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43948 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
43950 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
43952 mktime: avoid signed integer overflow
43953 * time/mktime.c (__mktime_internal): Do not mishandle the case
43954 where diff == INT_MIN.
43956 mktime: simplify computation of average
43957 * time/mktime.c (ranged_convert): Use new time_t_avg function
43958 instead of rolling our own (probably-slower) code.
43960 mktime: do not assume signed right shift propagates sign bit
43961 * time/mktime.c (isdst_differ): New static function.
43962 (__mktime_internal): No need to normalize tm_isdst now.
43963 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
43966 mktime: merge another wrapv change from gnulib
43967 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
43968 from some compilers.
43970 mktime: remove incorrect attempt at unusual arithmetics
43971 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
43972 The code didn't really work on such machines anyway.
43973 (TYPE_MINIMUM): Assume two's complement.
43974 (twos_complement_arithmetic): Verify that long_int and time_t
43975 are two's complement (or unsigned, in the latter case).
43977 mktime: check signed shifts on long_int and time_t, too
43978 * time/mktime.c (SHR): Check that shifts work as desired
43979 on the types long_int and time_t too, as SHR is used on
43982 mktime: do not assume 'long' is wide enough
43983 * time/mktime.c (verify): Move decl up.
43984 (long_int): New type.
43985 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
43986 to remove assumption in the code that 'long' is wide enough to
43987 store year values. This assumption is not true on x32 and on
43988 some non-glibc platforms.
43990 mktime: merge wrapv change from gnulib
43991 * time/mktime.c (WRAPV): New macro.
43992 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
43993 (guess_time_tm, __mktime_internal): Do not assume that signed
43994 integer overflow wraps around; modern compilers generate code
43995 where this assumption is no longer valid.
43997 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43999 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
44000 Replace "jmp L(pseudo_end)" with "ret".
44001 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
44004 2012-05-23 Andreas Jaeger <aj@suse.de>
44006 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
44007 * sysdeps/unix/sysv/linux/poll.c: Remove file.
44009 2012-05-23 Andreas Jaeger <aj@suse.de>
44010 Maximilian Attems <max@stro.at>
44012 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
44015 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
44017 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
44018 code so that pseudo_end is just ret and the stack pointer is
44019 correct also for static library in error case.
44021 2012-05-23 Joseph Myers <joseph@codesourcery.com>
44023 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
44024 move to syscalls.list.
44025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
44026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
44027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
44028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
44030 * manual/install.texi (Running make install): Do not mention Linux
44031 kernel version for which pt_chown is not needed.
44032 (Linux): Do not mention problems with nscd with 2.0 kernels.
44033 * INSTALL: Regenerated.
44035 2012-05-23 Andreas Jaeger <aj@suse.de>
44037 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
44038 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
44040 * sysdeps/unix/sysv/linux/s390/bits/mman.h
44041 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44042 * sysdeps/unix/sysv/linux/sh/bits/mman.h
44043 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44044 * sysdeps/unix/sysv/linux/i386/bits/mman.h
44045 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44046 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
44047 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44048 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
44049 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44050 * sysdeps/unix/sysv/linux/bits/in.h
44051 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
44053 2012-05-22 Roland McGrath <roland@hack.frob.com>
44055 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
44056 (PREPARE_VERSION): Just use assert instead, it will be elided
44057 under [NDEBUG] anyway.
44059 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
44061 * sysdeps/unix/sysv/linux/Makefile: Include
44062 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
44063 (sysdep_routines): Remove sysctl.
44064 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
44065 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
44066 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
44067 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
44068 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
44070 2012-05-22 Andreas Jaeger <aj@suse.de>
44072 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
44073 that pseudo_end is just ret and the stack pointer is correct also
44074 for static library in error case.
44076 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
44079 * nss/nsswitch.c (defconfig_entries): New variable.
44080 (__nss_database_lookup): Don't leak defconfig entries.
44081 (nss_parse_service_list): Don't leak on error paths.
44082 (free_database_entries): New function.
44083 (free_defconfig): New function.
44084 (free_mem): Move common code to free_database_entries.
44086 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
44088 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
44090 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
44092 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
44093 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
44094 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
44096 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
44097 (INTERNAL_SYSCALL_TYPES): Likewise.
44098 (LOAD_ARGS_TYPES_[1-6]): Likewise.
44099 (LOAD_REGS_TYPES_[1-6]): Likewise.
44100 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
44101 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
44103 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44105 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
44106 copysignl for GLIBC_2_0.
44107 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
44108 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
44109 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
44110 logbl for GLIBC_2_0.
44111 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
44112 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
44114 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
44116 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
44117 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
44119 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
44122 * time/mktime.c: Update copyright years.
44124 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
44126 mktime: merge comment-quoting-style change from gnulib
44127 * time/mktime.c: Quote 'like this' in comments.
44128 The GNU coding standards suggest that we no longer quote `like this',
44129 as "`" and "'" are typically rendered asymmetrically nowadays.
44130 The typical gnulib style is to quote 'like this' when quoting
44131 code, and "like this" when quoting English.
44133 * time/mktime.c (compile-command): Add "-I.".
44135 mktime: merge mktime-internal.h change from gnulib
44136 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
44138 mktime: merge time_r change from gnulib
44139 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
44141 mktime: merge DEBUG change from gnulib
44142 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
44143 case system <time.h> has a #define.
44145 mktime: merge <sys/types.h> change from gnulib
44146 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
44147 since <time.t> is now guaranteed to define time_t.
44149 mktime: merge HAVE_CONFIG_H change from gnulib
44150 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
44152 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
44154 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
44157 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
44159 (struct rusage): Use anonymous union to pad each field to
44162 2012-05-21 David S. Miller <davem@davemloft.net>
44164 * Makefules (o-iterator): Remove .s cases.
44165 (compile-command.s): Delete.
44166 (COMPILE.s): Delete.
44167 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
44169 2012-05-21 Joseph Myers <joseph@codesourcery.com>
44171 * configure.in (libc_cv_predef_stack_protector): Only consider
44172 "foobar" and "__stack_chk_fail" lines in libc_undefs.
44173 * configure: Regenerated.
44175 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
44177 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
44178 New macro. Use R*LP on int and pointer.
44179 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
44180 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
44181 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
44182 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
44184 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
44185 [__WORDSIZE_TIME64_COMPAT32] instead of
44186 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
44187 (struct utmp): Likewise.
44188 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
44189 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
44191 (__WORDSIZE_TIME64_COMPAT32): This.
44192 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
44193 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
44194 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
44195 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
44196 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
44197 (__WORDSIZE_TIME64_COMPAT32): New macro.
44199 2012-05-21 Andreas Jaeger <aj@suse.de>
44201 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
44202 only if [SHARED]. Add prototype for __wcschr_ia32.
44204 2012-05-21 Roland McGrath <roland@hack.frob.com>
44206 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
44207 of %rbp unmolested in the jmp_buf while mangling the low bits.
44208 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
44209 unmolested high bits of %rbp while demangling the low bits.
44210 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
44212 2012-05-21 Andreas Jaeger <aj@suse.de>
44214 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
44215 * sunrpc/svc_simple.c: Use it for registerrpc.
44216 * sunrpc/xcrypt.c: Use it for passwd2des.
44218 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
44220 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
44222 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
44223 Don't define if [__SYSCALL_WORDSIZE != 32].
44224 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
44227 2012-05-21 Bruno Haible <bruno@clisp.org>
44228 Andreas Jaeger <aj@suse.de>
44230 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
44231 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
44232 inptr and inend for must_buffer_ch.
44233 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
44234 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
44235 * stdio-common/Makefile (tests): Remove bug15.
44236 (bug15-ENV): Remove macro.
44237 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
44240 2012-05-19 Andreas Jaeger <aj@suse.de>
44241 Roland McGrath <roland@hack.frob.com>
44243 * manual/contrib.texi: Completely rewritten. It contains now an
44244 alphabetical list of contributors and their contributions.
44246 2012-05-21 Richard Henderson <rth@twiddle.net>
44248 * misc/getauxval.c (__getauxval): Use unsigned long int.
44249 * misc/sys/auxv.h: Include <sys/cdefs.h>.
44250 (getauxval): Use unsigned long int.
44252 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
44254 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
44256 2012-05-21 Roland McGrath <roland@hack.frob.com>
44258 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
44259 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
44260 __alignof__ (long double).
44262 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44266 2012-05-20 Richard Henderson <rth@twiddle.net>
44268 * misc/getauxval.c: New file.
44269 * misc/sys/auxv.h: New file.
44270 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
44271 (routines): Add getauxval.
44272 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
44273 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
44274 * elf/dl-sysdep.c (_dl_auxv): Remove.
44275 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
44276 * elf/dl-support.c (_dl_auxv): New variable.
44277 (_dl_aux_init): Initialize it.
44278 * manual/startup.texi (Auxiliary Vector): New node.
44279 * sysdeps/generic/bits/hwcap.h: New file.
44280 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
44281 * sysdeps/powerpc/sysdep.h: ... here. Include it.
44282 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
44283 * sysdeps/sparc/sysdep.h: ... here. Include it.
44284 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
44285 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
44286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
44289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
44290 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
44291 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
44292 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
44293 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
44294 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
44295 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
44297 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44301 2012-05-19 David S. Miller <davem@davemloft.net>
44303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44305 2012-05-19 Joseph Myers <joseph@codesourcery.com>
44308 * math/s_ccosh.c: Include <float.h>
44309 (__ccosh): Avoid internal overflow calculating sinh and cosh
44310 values before multiplying by sin and cos values.
44311 * math/s_ccoshf.c: Likewise.
44312 * math/s_ccoshl.c: Likewise.
44313 * math/s_csin.c: Likewise.
44314 * math/s_csinf.c: Likewise.
44315 * math/s_csinl.c: Likewise.
44316 * math/s_csinh.c: Likewise.
44317 * math/s_csinhf.c: Likewise.
44318 * math/s_csinhl.c: Likewise.
44319 * math/libm-test.inc (ccos_test): Add more tests.
44320 (ccosh_test): Likewise.
44321 (csin_test): Likewise.
44322 (csinh_test): Likewise.
44323 * sysdeps/i386/fpu/libm-test-ulps: Update.
44324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44326 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
44328 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
44329 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
44331 * sysdeps/x86_64/x32/_itoa.h: Add comment.
44333 2012-05-19 Joseph Myers <joseph@codesourcery.com>
44335 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
44336 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
44337 * sysdeps/powerpc/soft-fp/Versions: Likewise.
44338 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
44339 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
44340 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
44341 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
44342 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
44343 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
44344 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
44345 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
44346 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
44347 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
44348 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
44349 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
44350 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
44351 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
44352 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
44353 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
44354 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
44355 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
44356 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
44357 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
44358 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
44359 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
44360 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
44361 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
44362 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
44363 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
44364 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
44365 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
44367 2012-05-18 Andreas Jaeger <aj@suse.de>
44369 * csu/.gitignore: Delete.
44371 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
44373 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
44374 (timex): Use __syscall_slong_t.
44376 2012-05-18 Andreas Jaeger <aj@suse.de>
44377 Carlos O'Donell <carlos_odonell@mentor.com>
44379 * manual/install.texi (Configuring and compiling): Update
44380 description about files modified in the source directory.
44381 * INSTALL: Regenerated.
44383 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
44385 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
44386 value. Use "or" to set return value to -1.
44387 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
44388 negate return value.
44390 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44392 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
44393 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
44394 failure if the compiler has Graphite support disabled.
44395 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
44397 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
44398 (CFLAGS-memmove.c): Likewise.
44399 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
44402 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
44404 * sysdeps/x86_64/x32/_itoa.h: New file.
44406 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
44407 getdents system call only if kernel and user dirents have the
44408 same d_ino and d_off.
44410 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44411 LLONG_MAX != LONG_MAX.
44412 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44413 (_fitoa_word): Likewise.
44415 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
44417 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
44418 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
44419 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
44421 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
44422 include <bits/wordsize.h>. Check __x86_64__ instead of
44424 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
44425 if __x86_64__ is defined. Use anonymous union on fpstate.
44427 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
44430 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
44432 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
44433 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
44434 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
44435 Refer to _rtld_local_ro instead of _rtld_global_ro.
44436 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
44438 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
44440 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
44442 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
44443 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
44444 of _rtld_global, and rtld_progname instead of _dl_argv[0].
44446 * sysdeps/powerpc/powerpc32/dl-machine.c
44447 (__elf_machine_runtime_setup) [PROF]: Don't reference
44450 2012-05-18 Andreas Jaeger <aj@suse.de>
44452 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
44453 function only available for GCCs before 3.4 since GCC 3.4
44454 introduced a builtin.
44456 (llrintf): Likewise.
44457 (llrint): Likewise.
44464 (nearbyint): Likewise.
44465 (nearbyintf): Likewise.
44469 (floorf): Likewise.
44471 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
44473 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
44474 on both fields and cast pointer to __syscall_ulong_t.
44476 * bits/types.h (__fsword_t): New type.
44477 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
44478 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
44479 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44480 (__FSWORD_T_TYPE): Likewise.
44481 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44482 (__FSWORD_T_TYPE): Likewise.
44483 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44484 (__FSWORD_T_TYPE): Likewise.
44485 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
44486 (__FSWORD_T_TYPE): Likewise.
44487 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
44488 __SWORD_TYPE with __fsword_t.
44489 (statfs64): Likewise.
44491 2012-05-17 David S. Miller <davem@davemloft.net>
44493 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
44495 2012-05-17 Andreas Jaeger <aj@suse.de>
44497 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
44500 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
44502 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
44504 2012-05-17 Andreas Jaeger <aj@suse.de>
44506 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
44509 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
44511 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
44513 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
44515 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
44516 * sysdeps/x86_64/tst-mallocalign1.c: New file.
44518 2012-05-17 Andreas Jaeger <aj@suse.de>
44519 Carlos O'Donell <carlos_odonell@mentor.com>
44522 * sysdeps/x86_64/multiarch/init-arch.h
44523 (bit_YMM_Usable): Rename to...
44524 (bit_AVX_Usable): ... this.
44525 (bit_FMA4_Usable): New macro.
44526 (bit_XMM_state): New macro.
44527 (bit_YMM_state): New macro.
44528 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
44529 [__ASSEMBLER__] (index_AVX_Usable): ... this.
44530 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
44531 (CPUID_OSXSAVE): New macro.
44532 (CPUID_AVX): New macro.
44533 (CPUID_FMA4): New macro.
44534 (index_YMM_Usable): Rename to...
44535 (index_AVX_Usable): ... this.
44536 (HAS_AVX): Use HAS_ARCH_FEATURE.
44537 (HAS_FMA4): Likewise.
44538 (HAS_YMM_USABLE): Remove.
44539 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44540 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
44542 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
44543 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
44544 * sysdeps/x86_64/multiarch/Makefile: Likewise.
44545 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
44546 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
44548 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
44550 * math/libm-test.c: Support platforms without multiple rounding modes.
44551 * math/bug-nextafter.c: Support platforms without FP exceptions.
44552 * math/bug-nexttoward.c: Likewise.
44553 * math/test-fenv.c: Likewise.
44554 * math/test-misc.c: Likewise.
44555 * stdlib/bug-getcontext.c: Likewise.
44557 2012-05-17 Andreas Jaeger <aj@suse.de>
44559 * manual/examples/search.c (critter_cmp): Change signature to
44561 * manual/string.texi (Collation Functions): Likewise.
44563 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44565 * bits/types.h: Fold copyright years.
44566 * bits/typesizes.h: Likewise.
44567 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
44568 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
44569 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
44570 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
44571 * time/time.h: Likewise.
44573 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
44576 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
44577 in instead of returning them. Return void.
44578 (__libc_mallinfo): Accumulate over all arenas.
44579 (__malloc_stats): Adjust for change in int_mallinfo interface.
44581 2012-05-16 Roland McGrath <roland@hack.frob.com>
44584 * configure.in (NM): Add AC_CHECK_TOOL for it.
44585 (libc_extra_cflags): New substituted variable.
44586 Check for -fstack-protector being used implicitly.
44587 * configure: Regenerated.
44588 * config.make.in (config-extra-cflags): New variable,
44589 gets @libc_extra_cflags@.
44590 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
44593 * configure.in: Check for _FORTIFY_SOURCE being predefined.
44594 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
44595 * configure: Regenerated.
44596 * config.make.in (CPPUNDEFS): New substituted variable.
44597 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
44598 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
44599 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
44601 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44603 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
44604 (mq_attr): Use __syscall_slong_t.
44606 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44608 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
44609 Check __x86_64__ instead of __WORDSIZE.
44610 (_STAT_VER_LINUX): Likewise.
44611 (stat): Check __x86_64__ instead of __WORDSIZE. Use
44612 __syscall_ulong_t and __syscall_slong_t.
44613 (stat64): Likewise.
44615 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44617 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
44619 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44621 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
44623 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44625 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
44628 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
44629 include <bits/wordsize.h>. Check __x86_64__ instead of
44631 (greg_t): Use "__extension__ long long int" if __x86_64__ is
44633 (mcontext_t): Replace "unsigned long" with "unsigned long long".
44635 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
44636 include <bits/wordsize.h>. Check __x86_64__ instead of
44638 (user_regs_struct): Use "__extension__ unsigned long long"
44639 instead of "unsigned long" if __x86_64__ is defined.
44640 (user): Likewise. Pad after pointer field if __ILP32__ is
44643 2012-05-16 Joseph Myers <joseph@codesourcery.com>
44645 * configure.in (makeinfo): Require version 4.5 or later. Allow
44647 * configure: Regenerated.
44648 * manual/install.texi (texinfo): Increase version requirement to
44650 * INSTALL: Regenerated.
44652 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
44654 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44656 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
44658 * sysdeps/x86_64/x32/ffs.c: New file.
44660 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
44662 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
44663 defined. Use __syscall_ulong_t.
44664 (shminfo): Use __syscall_ulong_t.
44665 (shm_info): Likewise.
44667 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
44670 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
44672 (msgqnum_t): Use __syscall_ulong_t.
44673 (msglen_t): Likewise.
44674 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
44677 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
44678 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
44680 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
44682 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
44683 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
44685 * sysvipc/sys/msg.h (msgbuf): Replace long int with
44688 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
44689 include <bits/wordsize.h>. Check __x86_64__ instead of
44692 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
44693 "unsigned long long int" if __x86_64__ is defined.
44694 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
44696 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
44697 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
44698 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
44700 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
44702 (GET_PC): Cast to uintptr_t first.
44703 (GET_FRAME): Likewise.
44704 (GET_STACK): Likewise.
44706 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
44707 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
44708 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
44709 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
44710 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
44711 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
44712 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
44713 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
44714 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
44715 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
44716 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
44717 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
44718 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44719 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
44720 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
44721 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
44722 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
44723 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
44724 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
44725 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
44726 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
44727 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
44728 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
44729 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
44730 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
44731 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
44732 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
44733 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
44734 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
44736 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
44738 * Makerules (+depfiles): Also collect depfiles from .oS in
44740 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
44741 .oS, $(libnldbl-routines)).
44743 * Makerules (native-compile-mkdep-flags): Define.
44744 * sunrpc/Makefile (extra-objs): Add $(addprefix
44745 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
44746 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
44747 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
44748 calling $(make-target-directory).
44750 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44752 * bits/types.h (__snseconds_t): Removed.
44753 * time/time.h (struct timespec): Replace __snseconds_t with
44755 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
44756 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
44758 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44759 (__SNSECONDS_T_TYPE): Likewise.
44760 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44761 (__SNSECONDS_T_TYPE): Likewise.
44762 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44763 (__SNSECONDS_T_TYPE): Likewise.
44765 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44767 * sysdeps/mach/hurd/bits/typesizes.h
44768 (__SYSCALL_SLONG_TYPE): New macro.
44769 (__SYSCALL_ULONG_TYPE): Likewise.
44771 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44773 * bits/types.h (__syscall_slong_t): New type.
44774 (__syscall_ulong_t): Likewise.
44776 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
44777 (__SYSCALL_ULONG_TYPE): Likewise.
44778 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44779 (__SYSCALL_SLONG_TYPE): Likewise.
44780 (__SYSCALL_ULONG_TYPE): Likewise.
44781 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44782 (__SYSCALL_SLONG_TYPE): Likewise.
44783 (__SYSCALL_ULONG_TYPE): Likewise.
44784 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44785 (__SYSCALL_SLONG_TYPE): Likewise.
44786 (__SYSCALL_ULONG_TYPE): Likewise.
44788 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44790 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
44791 Add sigaltstack-offsets.sym.
44792 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
44793 <sigaltstack-offsets.h>.
44794 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
44795 longjmp_msg pointer.
44796 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
44797 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
44799 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
44801 2012-05-15 Joseph Myers <joseph@codesourcery.com>
44803 * elf/stackguard-macros.h: Remove file.
44804 * sysdeps/generic/stackguard-macros.h: New file.
44805 * sysdeps/i386/stackguard-macros.h: Likewise.
44806 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
44807 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
44808 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
44809 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
44810 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
44811 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
44812 * sysdeps/x86_64/stackguard-macros.h: Likewise.
44813 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
44814 <elf/stackguard-macros.h>.
44817 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
44818 __aligned__ in attribute.
44819 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
44820 (gregset_t): Likewise.
44822 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44824 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
44825 * sysdeps/x86_64/64/Implies-after: Here. New file.
44826 * sysdeps/x86_64/x32/Implies-after: New file.
44828 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44830 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
44831 and access return value for _dl_profile_fixup. Use R10_LP to
44834 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44836 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
44838 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44840 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
44841 * sysdeps/x86_64/x32/sysdep.h: New file.
44843 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44845 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
44846 * sysdeps/x86_64/setjmp.S: Likewise.
44848 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44850 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
44851 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
44852 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
44853 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
44854 remove unused global constant.
44856 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
44858 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
44859 include of <not-cancel.h>.
44861 2012-05-15 Roland McGrath <roland@hack.frob.com>
44863 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
44865 2012-05-15 Jeff Law <law@redhat.com>
44866 Andreas Jaeger <aj@suse.de>
44869 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
44871 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
44872 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
44873 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
44874 code changing __hst_map_handle.map.
44876 2012-05-15 Roland McGrath <roland@hack.frob.com>
44878 * configure.in (sysnames): Look for Implies-before and Implies-after
44880 * configure: Regenerated.
44882 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44884 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
44885 8-byte data alignment with LP_SIZE alignment.
44887 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44889 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
44892 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44894 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
44896 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44898 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
44899 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
44900 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
44902 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44904 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44906 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
44907 (stackinfo_sub_sp): Likewise.
44909 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44911 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
44914 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44916 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
44919 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44921 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
44924 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44926 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
44928 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44930 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
44931 into R11_LP and load __x86_64_shared_cache_size_half into
44934 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44936 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
44939 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44941 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
44943 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
44945 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
44947 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
44948 powerpc32/power7/fpu/s_logb.c via #include.
44949 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
44950 powerpc32/power7/fpu/s_logbf.c via #include.
44951 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
44952 powerpc32/power7/fpu/s_logbl.c via #include.
44954 2012-05-15 Joseph Myers <joseph@codesourcery.com>
44956 * README.libm: Remove file.
44958 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44960 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
44961 count for x32. Use R*_LP and omit operand-size suffix.
44963 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44965 * shlib-versions: Move x86_64-.*-linux.* entries to ...
44966 * sysdeps/x86_64/64/shlib-versions: Here. New file.
44967 * sysdeps/x86_64/x32/shlib-versions: New file.
44969 2012-05-14 Roland McGrath <roland@hack.frob.com>
44971 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
44972 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
44973 Use _dl_fatal_printf instead.
44975 2012-05-14 Joseph Myers <joseph@codesourcery.com>
44977 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
44978 set if not set by the user. Do not allow for being unset.
44979 * sysdeps/unix/sysv/linux/configure: Regenerated.
44981 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44983 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
44984 the `q' suffix from lea and replace .quad with ASM_ADDR.
44986 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44988 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
44989 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
44991 (PTR_DEMANGLE): Likewise.
44993 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44995 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
44997 (ASM_ADDR): Likewise.
44998 (RAX_LP): Likewise.
44999 (RBP_LP): Likewise.
45000 (RBX_LP): Likewise.
45001 (RCX_LP): Likewise.
45002 (RDI_LP): Likewise.
45003 (RSI_LP): Likewise.
45004 (RSP_LP): Likewise.
45007 (R10_LP): Likewise.
45008 (R10_LP): Likewise.
45009 (R11_LP): Likewise.
45010 (R12_LP): Likewise.
45011 (R13_LP): Likewise.
45012 (R14_LP): Likewise.
45013 (R15_LP): Likewise.
45015 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45017 * sysdeps/x86_64/x32/dl-machine.h: New file.
45019 2012-05-14 Andreas Jaeger <aj@suse.de>
45021 * manual/Makefile (subdir): Remove export of subdir.
45022 (all): Remove target.
45023 (.PHONY): Remove all from list.
45024 (mkinstalldirs): Remove.
45025 (.PHONY): Remove installdirs from list.
45026 ($(inst_infodir)/libc.info): Use make-target-directory.
45027 (installdirs): Remove.
45028 (subdir_%): Remove.
45029 (glibc-targets): Remove.
45032 ($(objpfx)stubs ../po/manual.pot): Remove.
45033 ($(objpfx)stamp%): Remove.
45034 (make-target-directory): Remove.
45035 (subdir_install): Remove.
45036 (routines): Remove.
45043 * manual/.gitignore: Remove, it's not needed anymore.
45044 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
45046 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
45048 (texis): Renamed to $(objpfx)texis.
45049 (texis-path): New, contains path to generated files.
45050 (chapters.%): Use texis-path for complete path, add extra argument
45052 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
45053 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
45054 (summary,texi, stamp-summary): Use complete path of
45055 files. Generate files in build dir.
45056 (dir-add.texi): Build in build dir.
45057 (libm-err.texi,stamp-libm-err): Likewise.
45058 (version.texi, stamp-version): Likewise.
45059 (.%c.texi): Likewise.
45060 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
45061 (mostlyclean): Remove target.
45062 (realclean): Remove target.
45063 (generated): Add new variable with contents from mostlyclean and
45064 realclean, remove entries duplicated in common-mostlyclean, add
45065 stamp-libm-err and stamp-version.
45066 (generated-dirs): Add libc directory.
45067 ($(inst_infodir)/libc.info): Install files from build dir.
45069 * manual/install.texi (Configuring and compiling): Adjust since
45070 the info files are not part of the tar ball anymore.
45072 2012-05-14 Andreas Jaeger <aj@suse.de>
45074 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
45077 2012-05-14 Joseph Myers <joseph@codesourcery.com>
45080 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
45081 to 2.2.0 where earlier.
45082 * sysdeps/unix/sysv/linux/configure: Regenerated.
45083 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
45084 Remove conditional code.
45085 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
45086 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
45087 Remove conditional code.
45088 [!__NR_lchown]: Likewise.
45089 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
45090 [__NR_lchown]: Likewise.
45091 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
45092 comment referencing __ASSUME_LCHOWN_SYSCALL.
45093 * sysdeps/unix/sysv/linux/i386/sigaction.c
45094 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45095 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45096 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
45097 Remove conditional code.
45098 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
45099 (__protocol_available): Remove #if 0 code.
45100 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
45102 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
45103 * sysdeps/unix/sysv/linux/kernel-features.h
45104 (__ASSUME_GETCWD_SYSCALL): Don't define.
45105 (__ASSUME_REALTIME_SIGNALS): Likewise.
45106 (__ASSUME_PREAD_SYSCALL): Likewise.
45107 (__ASSUME_PWRITE_SYSCALL): Likewise.
45108 (__ASSUME_POLL_SYSCALL): Likewise.
45109 (__ASSUME_LCHOWN_SYSCALL): Likewise.
45110 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
45112 (__ASSUME_SIOCGIFNAME): Don't define.
45113 (__ASSUME_MSG_NOSIGNAL): Likewise.
45114 (__ASSUME_SENDFILE): Define unconditionally.
45115 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
45116 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
45118 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
45119 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
45120 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
45121 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
45122 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
45123 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
45124 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
45125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
45126 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45127 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
45129 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45130 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
45132 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45133 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
45135 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45136 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
45138 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45139 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
45141 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45142 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
45144 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45145 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
45147 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45148 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45149 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
45150 Remove conditional code.
45151 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45152 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
45153 Remove conditional code.
45154 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45155 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
45156 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
45157 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
45158 Remove conditional code.
45159 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45160 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
45161 Remove conditional code.
45162 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45163 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
45164 Remove conditional code.
45165 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45166 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
45167 Remove conditional code.
45168 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45169 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
45170 Remove conditional code.
45171 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45172 * sysdeps/unix/sysv/linux/sh/pwrite64.c
45173 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45174 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45175 * sysdeps/unix/sysv/linux/sigaction.c
45176 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45177 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45178 * sysdeps/unix/sysv/linux/sigpending.c
45179 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45180 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45181 * sysdeps/unix/sysv/linux/sigprocmask.c
45182 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45183 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45184 * sysdeps/unix/sysv/linux/sigsuspend.c
45185 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45186 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45187 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
45188 (__libc_missing_rt_sigs): Remove.
45189 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
45190 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
45191 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
45192 Remove conditional code.
45193 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
45194 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
45196 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
45197 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
45198 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
45199 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
45201 2012-05-14 Andreas Jaeger <aj@suse.de>
45203 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
45204 it's not used in glibc.
45205 (__coshm1): Likewise.
45206 (__acosh1p): Likewise.
45209 * manual/string.texi (Copying and Concatenation): Add missing
45210 variable in concat example.
45211 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
45213 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45216 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
45217 __builtin_clzl with __builtin_clzll.
45219 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45222 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
45225 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45227 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
45228 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
45229 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
45230 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
45232 2012-05-14 Mike Frysinger <vapier@gentoo.org>
45234 * NEWS: Update ia64 info.
45236 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
45238 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
45241 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
45243 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
45244 * sysdeps/unix/syscalls.list (dup3): Likewise.
45245 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
45246 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
45248 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
45250 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
45251 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
45253 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
45255 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
45257 (TLS_IE): Use mov/add instead of movq/addq to load thread
45259 (TLS_GD_PREFIX): New.
45262 2012-05-11 David S. Miller <davem@davemloft.net>
45264 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
45265 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
45266 (_FPU_SETCW): Likewise.
45268 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
45270 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
45271 is 32-byte aligned.
45273 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
45276 * iconvdata/gb18030.c: Update tables.
45277 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
45278 characters specially.
45279 (BODY for TO_LOOP): Add encoding of missing ranges.
45281 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
45284 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
45285 * sysdeps/mach/hurd/dup3.c: Likewise.
45286 * sysdeps/mach/hurd/readlinkat.c: Likewise.
45287 * sysdeps/powerpc/memmove.c:: Likewise.
45289 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
45291 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
45292 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
45294 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
45296 * elf/elf.h (R_X86_64_RELATIVE64): New.
45297 (R_X86_64_NUM): Updated.
45298 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
45299 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
45300 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
45301 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
45302 tst-quad1pie tst-quad2pie
45303 (modules-names): Add tst-quadmod1 tst-quadmod2.
45304 ($(objpfx)tst-quad1): New dependency.
45305 ($(objpfx)tst-quad2): Likewise.
45306 ($(objpfx)tst-quad1pie): Likewise.
45307 ($(objpfx)tst-quad2pie): Likewise.
45308 * sysdeps/x86_64/tst-quad1.c: New file.
45309 * sysdeps/x86_64/tst-quad1pie.c: New file.
45310 * sysdeps/x86_64/tst-quad2.c: Likewise.
45311 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
45312 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
45313 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
45314 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
45315 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
45317 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45319 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
45320 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
45321 * streams/stropts.h (t_scalar_t): Define type.
45323 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
45324 (_PATH_PRESERVE): Set to "/var/lib".
45325 (_PATH_RWHODIR): Set to "/var/spool/rwho".
45327 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
45330 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
45331 if __dir_mkfile succeeded.
45333 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
45334 checking for _hurd_dtablesize. Unlock it right after having
45335 finished _hurd_dtable allocation.
45337 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
45339 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
45340 * sysdeps/mach/hurd/configure: Regenerated.
45341 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
45342 special-casing to...
45343 * sysdeps/gnu/configure.in: ... this new file.
45344 * sysdeps/unix/sysv/linux/configure: Regenerated.
45345 * sysdeps/gnu/configure: New generated file.
45347 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
45348 for Linux: use nsec instead of usec, as well as:
45349 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
45350 members of type struct timespec.
45351 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
45353 (struct stat64): Likewise.
45354 (_STATBUF_ST_NSEC): New macro.
45355 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
45357 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
45358 __strtoul_internal rather than strtoul.
45360 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
45362 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
45365 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45367 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
45368 which preserves existing values.
45369 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
45371 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
45373 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
45374 TIMEOUT values. Return EINVAL for NFDS values either negative or
45375 greater than FD_SETSIZE.
45377 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45379 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
45380 allocated, call __vm_protect to finish enabling the existing space, and
45381 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
45382 allocate the remainder.
45384 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
45386 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
45387 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
45389 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45391 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
45392 sysdeps/mach/hurd/readlink.c.
45394 * posix/tst-sysconf.c (posix_options): Only use
45395 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
45396 _POSIX_SYNCHRONIZED_IO when they are defined
45397 * sysdeps/mach/hurd/bits/posix_opt.h:
45398 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
45399 (_XOPEN_REALTIME): Undefine macro.
45400 (_XOPEN_REALTIME_THREADS): Undefine macro.
45401 (_XOPEN_SHM): Undefine macro.
45402 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
45404 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
45406 (_POSIX_ASYNC_IO): Undefine macro.
45407 (_POSIX_PRIORITIZED_IO): Undefine macro.
45408 (_POSIX_SPIN_LOCKS): Define macro to -1.
45410 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
45411 SA_NODEFER, SA_RESETHAND.
45412 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
45413 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
45416 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
45418 * elf/Makefile (pldd-modules): Define unconditionally.
45420 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
45422 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
45424 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45426 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
45427 Return ENOENT when name is empty.
45428 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
45430 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
45432 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
45434 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
45436 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45438 Fix mlock in all cases except non-readable pages.
45439 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
45440 instead of VM_PROT_ALL as parameter to __vm_wire function.
45442 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
45443 (__mkdir): When path is `/', just fail with EEXIST.
45444 * sysdeps/mach/hurd/mkdirat.c: Likewise.
45446 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
45448 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
45449 <sys/uio.h> (for writev).
45450 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
45451 and <sys/param.h> (for MIN).
45453 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
45455 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
45456 REQUESTED_TIME. Properly set the remaining time and return EINTR
45459 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
45461 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
45462 Depend on against $(link-rpcuserlibs).
45464 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45466 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
45467 (__libc_stack_end): Do not use attribute_relro.
45468 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
45469 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
45470 to libthread-provided value.
45471 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
45474 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
45477 * bits/libc-lock.h (__libc_once_get): New macro.
45478 * sysdeps/mach/bits/libc-lock.h: Likewise.
45479 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
45480 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
45481 instead of using implementation details.
45483 * libio/fileops.c: Unconditionally include <kernel-features.h>.
45484 * libio/freopen.c: Likewise.
45485 * libio/freopen64.c: Likewise.
45486 * misc/syslog.c: Likewise.
45487 * nscd/connections.c: Likewise.
45488 * nscd/netgroupcache.c: Likewise.
45489 * sysdeps/posix/getcwd.c: Likewise.
45491 2012-05-10 Roland McGrath <roland@hack.frob.com>
45493 * math/w_ilogbf.c: Add #include <limits.h>.
45495 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45497 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
45498 path instead of returning without unlocking.
45500 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
45501 immediate-write ioctls.
45502 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
45504 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
45506 * sysdeps/mach/hurd/i386/init-first.c (init): Use
45507 __builtin_frame_address instead of making assumptions about the
45508 location of the return address relative to DATA. Force early load of
45509 the return address.
45510 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
45511 __builtin_frame_address.
45514 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
45515 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
45516 implement dup3 and do some further code clean-ups.
45517 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
45518 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
45520 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45522 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
45524 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
45525 HURD_CRITICAL_END around holding _hurd_dtable_lock.
45526 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
45527 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
45528 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
45531 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
45532 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
45533 when handler == SIG_ERR, not when handler != SIG_ERR.
45535 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
45537 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
45538 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
45541 accept4 for GNU Hurd.
45542 * include/sys/socket.h (__libc_accept4): New prototype.
45543 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
45544 to implement __libc_accept4.
45545 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
45547 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
45549 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
45550 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
45551 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
45552 signal-defines.sym.
45554 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45556 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
45558 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
45560 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
45561 assertion on O_CLOEXEC flag.
45562 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
45563 * hurd/intern-fd.c: Likewise.
45564 * hurd/port2fd.c: Likewise.
45566 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45569 * bits/in.h (IPV6_PKTINFO): Define new macro.
45570 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
45572 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45577 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
45578 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
45579 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
45580 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
45581 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45582 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
45583 * math/libm-test.inc (logb_test) : Additional logb tests.
45585 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
45586 Andreas Jaeger <aj@suse.de>
45588 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
45589 * configure: Regenerated.
45590 * config.h.in (LINK_OBSOLETE_RPC): New macro.
45591 * config.make.in (link-obsolete-rpc): New substituted variable.
45592 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
45593 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
45594 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
45595 (shared-only-routines): Don't set it under [link-obsolete-rpc],
45596 so that libc.a contains the symbols.
45597 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
45598 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
45599 * sunrpc/auth_none.c: Likewise.
45600 * sunrpc/auth_unix.c: Likewise.
45601 * sunrpc/authdes_prot.c: Likewise.
45602 * sunrpc/authuxprot.c: Likewise.
45603 * sunrpc/clnt_gen.c: Likewise.
45604 * sunrpc/clnt_perr.c: Likewise.
45605 * sunrpc/clnt_raw.c: Likewise.
45606 * sunrpc/clnt_simp.c: Likewise.
45607 * sunrpc/clnt_tcp.c: Likewise.
45608 * sunrpc/clnt_udp.c: Likewise.
45609 * sunrpc/clnt_unix.c: Likewise.
45610 * sunrpc/des_crypt.c: Likewise.
45611 * sunrpc/des_soft.c: Likewise.
45612 * sunrpc/get_myaddr.c: Likewise.
45613 * sunrpc/key_call.c: Likewise.
45614 * sunrpc/key_prot.c: Likewise.
45615 * sunrpc/netname.c: Likewise.
45616 * sunrpc/pm_getmaps.c: Likewise.
45617 * sunrpc/pm_getport.c: Likewise.
45618 * sunrpc/pmap_clnt.c: Likewise.
45619 * sunrpc/pmap_prot.c: Likewise.
45620 * sunrpc/pmap_prot2.c: Likewise.
45621 * sunrpc/pmap_rmt.c: Likewise.
45622 * sunrpc/publickey.c: Likewise.
45623 * sunrpc/rpc_cmsg.c: Likewise.
45624 * sunrpc/rpc_common.c: Likewise.
45625 * sunrpc/rpc_dtable.c: Likewise.
45626 * sunrpc/rpc_prot.c: Likewise.
45627 * sunrpc/rpc_thread.c: Likewise.
45628 * sunrpc/rtime.c: Likewise.
45629 * sunrpc/svc.c: Likewise.
45630 * sunrpc/svc_auth.c: Likewise.
45631 * sunrpc/svc_raw.c: Likewise.
45632 * sunrpc/svc_run.c: Likewise.
45633 * sunrpc/svc_tcp.c: Likewise.
45634 * sunrpc/svc_udp.c: Likewise.
45635 * sunrpc/svc_unix.c: Likewise.
45636 * sunrpc/svcauth_des.c: Likewise.
45637 * sunrpc/xcrypt.c: Likewise.
45638 * sunrpc/xdr.c: Likewise.
45639 * sunrpc/xdr_array.c: Likewise.
45640 * sunrpc/xdr_float.c: Likewise.
45641 * sunrpc/xdr_intXX_t.c: Likewise.
45642 * sunrpc/xdr_mem.c: Likewise.
45643 * sunrpc/xdr_rec.c: Likewise.
45644 * sunrpc/xdr_ref.c: Likewise.
45645 * sunrpc/xdr_sizeof.c: Likewise.
45646 * sunrpc/xdr_stdio.c: Likewise.
45648 2012-05-10 Roland McGrath <roland@hack.frob.com>
45650 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
45651 change. Update copyright years.
45653 2012-05-10 Joseph Myers <joseph@codesourcery.com>
45655 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
45657 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
45658 Joseph Myers <joseph@codesourcery.com>
45659 Paul Pluzhnikov <ppluzhnikov@google.com>
45662 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
45664 [cross-compiling] (extra-libs): Likewise.
45665 [cross-compiling] (extra-libs-others): Likewise.
45666 [cross-compiling] (librpcsvc-routines): Likewise.
45667 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
45668 [cross-compiling] (omit-deps): Likewise.
45669 (sunrpc-CPPFLAGS): New variable.
45670 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
45671 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
45672 (cross-rpcgen-objs): New variable.
45673 (extra-objs): Append $(cross-rpcgen-objs).
45674 ($(cross-rpcgen-objs)): New rule.
45675 ($(objpfx)cross-rpcgen): Likewise.
45676 (rpcgen-cmd): Define to use $(built-program-file). Expand
45678 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
45679 ($(objpfx)x%.stmp): Likewise.
45680 * sunrpc/proto.h [IS_IN_build] (_): Define.
45681 [IS_IN_build] (_libc_intl_domainname): Likewise.
45683 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
45685 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
45686 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
45687 and R_X86_64_TPOFF64.
45689 2012-05-10 Joseph Myers <joseph@codesourcery.com>
45691 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
45692 sysdeps/unix/sysv/syscalls.list.
45695 * sysdeps/unix/sysv/syscalls.list: Remove file.
45697 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
45700 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
45701 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
45702 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
45703 (__LC_IDENTIFICATION): Make these macros useful in #if
45704 expressions, as required by C99.
45706 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
45708 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
45709 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
45712 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
45714 * stdlib/longlong.h: Updated from GCC.
45716 2012-05-09 Andreas Jaeger <aj@suse.de>
45718 * nscd/nscd.c (run_modes): Make named enum, reorder so that
45719 default is first entry.
45720 (run_mode): Set type.
45721 (main): Remove informal message about syslog.
45722 (options): Fix typo.
45725 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
45728 (llrintf): Likewise.
45729 (llrint): Likewise.
45732 (nearbyint): Likewise.
45733 (nearbyintf): Likewise.
45735 2012-05-09 Andreas Jaeger <aj@suse.de>
45736 Pedro Alves <palves@redhat.com>
45738 * nscd/nscd.c (run_mode): Use enum.
45739 (main): Cleanup coding style issue.
45741 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
45742 Andreas Jaeger <aj@suse.de>
45744 * nscd/nscd.c (go_background): Replaced with...
45745 (run_mode): ... this.
45746 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
45747 (options): Add -F --foreground.
45748 (main): Implement it.
45749 (parse_opt): Parse it.
45751 2012-05-09 Andreas Jaeger <aj@suse.de>
45754 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
45755 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
45756 -Wconversion warning.
45757 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
45760 2012-05-09 Joseph Myers <joseph@codesourcery.com>
45762 * conform/data/locale.h-data (NULL): Use macro-constant. Require
45764 (LC_ALL): Use macro-int-constant.
45765 (LC_COLLATE): Likewise.
45766 (LC_CTYPE): Likewise.
45767 (LC_MESSAGES): Likewise.
45768 (LC_MONETARY): Likewise.
45769 (LC_NUMERIC): Likewise.
45770 (LC_TIME): Likewise.
45771 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
45772 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
45773 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45774 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
45776 [C99-based standards] (float_t): Expect type.
45777 [C99-based standards] (double_t): Expect type.
45778 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
45780 [C99-based standards] (HUGE_VALL): Likewise.
45781 [C99-based standards] (INFINITY): Likewise.
45782 [C99-based standards] (NAN): Likewise.
45783 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
45784 [C99-based standards] (FP_NAN): Likewise.
45785 [C99-based standards] (FP_NORMAL): Likewise.
45786 [C99-based standards] (FP_SUBNORMAL): Likewise.
45787 [C99-based standards] (FP_ZERO): Likewise.
45788 [C99-based standards] (FP_FAST_FMA): Use
45789 optional-macro-int-constant. Specify type. Require == 1.
45790 [C99-based standards] (FP_FAST_FMAF): Likewise.
45791 [C99-based standards] (FP_FAST_FMAL): Likewise.
45792 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
45793 [C99-based standards] (FP_ILOGBNAN): Likewise.
45794 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
45796 [C99-based standards] (MATH_ERREXCEPT): Likewise.
45797 [C99-based standards] (math_errhandling): Specify type.
45798 [ISO99 || ISO11] (signgam): Do not allow.
45799 [non-C99-based standards] (copysignf): Do not allow.
45800 [non-C99-based standards] (exp2f): Likewise.
45801 [non-C99-based standards] (log2f): Likewise.
45802 [non-C99-based standards] (modff): Allow.
45803 [non-C99-based standards] (erff): Do not allow.
45804 [non-C99-based standards] (erfcf): Likewise.
45805 [non-C99-based standards] (gammaf): Likewise.
45806 [non-C99-based standards] (hypotf): Likewise.
45807 [non-C99-based standards] (j0f): Likewise.
45808 [non-C99-based standards] (j1f): Likewise.
45809 [non-C99-based standards] (jnf): Likewise.
45810 [non-C99-based standards] (lgammaf): Likewise.
45811 [non-C99-based standards] (tgammaf): Likewise.
45812 [non-C99-based standards] (y0f): Likewise.
45813 [non-C99-based standards] (y1f): Likewise.
45814 [non-C99-based standards] (ynf): Likewise.
45815 [non-C99-based standards] (isnanf): Likewise.
45816 [non-C99-based standards] (acoshf): Likewise.
45817 [non-C99-based standards] (asinhf): Likewise.
45818 [non-C99-based standards] (atanhf): Likewise.
45819 [non-C99-based standards] (cbrtf): Likewise.
45820 [non-C99-based standards] (expm1f): Likewise.
45821 [non-C99-based standards] (ilogbf): Likewise.
45822 [non-C99-based standards] (log1pf): Likewise.
45823 [non-C99-based standards] (logbf): Likewise.
45824 [non-C99-based standards] (nextafterf): Likewise.
45825 [non-C99-based standards] (remainderf): Likewise.
45826 [non-C99-based standards] (rintf): Likewise.
45827 [non-C99-based standards] (scalbf): Likewise.
45828 [non-C99-based standards] (copysignl): Likewise.
45829 [non-C99-based standards] (exp2l): Likewise.
45830 [non-C99-based standards] (log2l): Likewise.
45831 [non-C99-based standards] (modfl): Allow.
45832 [non-C99-based standards] (erfl): Do not allow.
45833 [non-C99-based standards] (erfcl): Likewise.
45834 [non-C99-based standards] (gammal): Likewise.
45835 [non-C99-based standards] (hypotl): Likewise.
45836 [non-C99-based standards] (j0l): Likewise.
45837 [non-C99-based standards] (j1l): Likewise.
45838 [non-C99-based standards] (jnl): Likewise.
45839 [non-C99-based standards] (lgammal): Likewise.
45840 [non-C99-based standards] (tgammal): Likewise.
45841 [non-C99-based standards] (y0l): Likewise.
45842 [non-C99-based standards] (y1l): Likewise.
45843 [non-C99-based standards] (ynl): Likewise.
45844 [non-C99-based standards] (isnanl): Likewise.
45845 [non-C99-based standards] (acoshl): Likewise.
45846 [non-C99-based standards] (asinhl): Likewise.
45847 [non-C99-based standards] (atanhl): Likewise.
45848 [non-C99-based standards] (cbrtl): Likewise.
45849 [non-C99-based standards] (expm1l): Likewise.
45850 [non-C99-based standards] (ilogbl): Likewise.
45851 [non-C99-based standards] (log1pl): Likewise.
45852 [non-C99-based standards] (logbl): Likewise.
45853 [non-C99-based standards] (nextafterl): Likewise.
45854 [non-C99-based standards] (remainderl): Likewise.
45855 [non-C99-based standards] (rintl): Likewise.
45856 [non-C99-based standards] (scalbl): Likewise.
45857 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45858 [non-C99-based standards] (FP_*): Do not allow.
45859 [C99-based standards] (FP_*): Change to
45860 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
45861 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45863 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
45864 (SIG_ERR): Likewise.
45865 [X/Open-based standards] (SIG_HOLD): Likewise.
45866 (SIG_IGN): Likewise.
45867 (SIGABRT): Use macro-int-constant. Specify type. Require
45869 (SIGFPE): Likewise.
45870 (SIGILL): Likewise.
45871 (SIGINT): Likewise.
45872 (SIGSEGV): Likewise.
45873 (SIGTER): Likewise.
45874 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
45875 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
45876 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
45877 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
45878 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
45879 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
45880 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
45881 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
45882 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
45883 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
45884 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
45885 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
45886 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
45887 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
45888 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
45889 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
45890 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
45891 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
45892 [X/Open-based standards] (SIGTRAP): Likewise.
45893 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
45894 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
45895 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
45896 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
45897 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45900 2012-05-08 Ian Wienand <ianw@vmware.com>
45903 * time/tzset.c (__tzset_parse_tz): Update default rules for
45904 daylight time changes in the Energy Policy Act of 2005.
45906 2012-05-09 Andreas Jaeger <aj@suse.de>
45909 * elf/ldconfig.c (parse_conf): Change string to make clear that
45910 ldconfig only issued a warning if ld.so.conf does not exist.
45912 2012-05-08 David S. Miller <davem@davemloft.net>
45914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
45915 movxtod instead of popping the value on the stack.
45917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45919 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
45921 * config.h.in: Add HAVE_ARM_PCS_VFP.
45923 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
45926 * include/features.h: Warn if user requests __FORTIFY_SOURCE
45927 checking but the checks are disabled for any reason.
45929 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
45931 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
45932 and ELF64_R_TYPE with ELFW(R_TYPE).
45934 2012-05-08 Joseph Myers <joseph@codesourcery.com>
45936 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
45937 (ulimit): Likewise.
45939 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
45940 (settimeofday): Likewise.
45942 2012-05-08 Mike Frysinger <vapier@gentoo.org>
45944 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
45945 a struct th_u2 inside the union, and move tu_block/tu_code into
45946 a new th_u3 union of tu_block/tu_code inside of that. Move
45947 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
45948 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
45949 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
45950 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
45951 (th_stuff): Change to th_u1.tu_stuff.
45953 (th_msg): Change to th_u1.th_u2.tu_data.
45955 2012-05-07 David S. Miller <davem@davemloft.net>
45957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45960 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
45961 (SETUP_PIC_REG): Use it.
45962 (SETUP_PIC_REG_LEAF): Use it.
45964 2012-05-07 Joseph Myers <joseph@codesourcery.com>
45968 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45970 (EXPL_FINITE): Likewise.
45971 (FLDLOG): Likewise.
45972 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45973 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45975 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45977 (EXPL_FINITE): Likewise.
45978 (FLDLOG): Likewise.
45979 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45980 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45982 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
45983 test of -max_value argument for long double.
45984 * sysdeps/i386/fpu/libm-test-ulps: Update.
45985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45987 2012-05-06 David S. Miller <davem@davemloft.net>
45989 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
45990 quad soft-float symbols whose references which are compiler
45992 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45994 2012-05-06 Joseph Myers <joseph@codesourcery.com>
45998 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46000 (EXPL_FINITE): Likewise.
46001 (FLDLOG): Likewise.
46004 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
46005 Adjust comments for base varying.
46006 (__expl_finite): Change alias to EXPL_FINITE.
46007 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
46009 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
46010 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
46011 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
46012 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
46013 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46015 (EXPL_FINITE): Likewise.
46016 (FLDLOG): Likewise.
46019 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
46020 Adjust comments for base varying.
46021 (__expl_finite): Change alias to EXPL_FINITE.
46022 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
46024 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46027 * math/libm-test.inc (check_float_internal): Correct ulp
46028 calculation for subnormal expected results.
46030 2012-05-06 Andreas Jaeger <aj@suse.de>
46032 * Makeconfig (+math-flags): New, set to -frounding-math.
46033 (+cflags): Add +math-flags so that all of glibc gets compiled with
46036 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
46038 2012-05-05 Joseph Myers <joseph@codesourcery.com>
46040 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
46046 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
46047 (__ieee754_expl): Allow for and saturate large arguments.
46048 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
46049 (u_threshold): Likewise.
46050 (__exp): Call __ieee754_exp before checking for overflow and
46052 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
46053 (u_threshold): Likewise.
46054 (__expf): Call __ieee754_expf before checking for overflow and
46056 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
46057 (u_threshold): Likewise.
46058 (__expl): Call __ieee754_expl before checking for overflow and
46060 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
46061 (__ieee754_expl): Allow for and saturate large arguments.
46062 * math/libm-test.inc (exp_test): Add another test. Do not allow
46063 missing overflow exception on overflow.
46064 (expm1_test): Do not allow missing overflow exception on overflow.
46066 * sysdeps/i386/fpu/e_expl.c: Move to ...
46067 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
46068 rather than using inline asm.
46069 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
46070 * sysdeps/x86_64/fpu/e_expl.S: Copy from
46071 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
46073 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
46076 (signal): Likewise.
46080 2012-05-04 Joseph Myers <joseph@codesourcery.com>
46082 * sysdeps/unix/syscalls.list (adjtime): Add entry from
46083 sysdeps/unix/common/syscalls.list.
46084 (fchmod): Likewise.
46085 (fchown): Likewise.
46086 (ftruncate): Likewise.
46087 (getrusage): Likewise.
46088 (gettimeofday): Likewise.
46089 (setpgid): Likewise.
46090 (setregid): Likewise.
46091 (setreuid): Likewise.
46092 (sigaction): Likewise.
46093 (truncate): Likewise.
46094 (vhangup): Likewise.
46095 * sysdeps/unix/common/syscalls.list: Remove file.
46096 * sysdeps/unix/bsd/Implies: Don't include unix/common.
46097 * sysdeps/unix/sysv/linux/Implies: Likewise.
46099 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
46101 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
46102 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
46103 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
46105 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
46107 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
46109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
46110 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
46112 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
46113 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
46115 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
46116 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
46118 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
46119 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
46121 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
46122 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
46124 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
46125 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
46127 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
46129 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
46131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
46133 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
46135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
46136 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
46138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
46140 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
46142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
46144 2012-05-04 Joseph Myers <joseph@codesourcery.com>
46146 * sysdeps/unix/common/bits/dirent.h: Remove file.
46147 * sysdeps/unix/common/bits/fcntl.h: Likewise.
46149 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
46150 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
46151 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
46152 * sysdeps/unix/bsd/isatty.c: Likewise.
46153 * sysdeps/unix/bsd/tcdrain.c: Likewise.
46154 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
46155 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
46157 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46160 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
46161 long double comparison inaccuracies.
46162 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
46163 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46165 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
46167 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
46168 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
46170 2012-05-04 Joseph Myers <joseph@codesourcery.com>
46173 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
46174 nonzero digits before rounding a hex value.
46175 * stdlib/tst-strtod.c (tests): Add another test.
46177 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46179 * sysdeps/s390/fpu/libm-test-ulps: Update.
46181 2012-05-03 Andreas Jaeger <aj@suse.de>
46183 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
46184 does not get optimized out.
46185 (malloc_opt_barrier): New.
46187 2012-05-03 Andreas Jaeger <aj@suse.de>
46188 Roland McGrath <roland@hack.frob.com>
46190 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
46191 intermediate file deletion.
46192 (generated): Add .symlist files.
46194 2012-05-03 Joseph Myers <joseph@codesourcery.com>
46197 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
46198 Redirect under this condition.
46199 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
46200 [__USE_GNU] (__dprintf_chk): Not under this condition.
46201 [__USE_GNU] (__vdprintf_chk): Likewise.
46202 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
46203 under this condition.
46204 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
46205 [__USE_XOPEN2K8] (dprintf): Define under this condition.
46206 [__USE_XOPEN2K8] (vdprintf): Likewise.
46207 [__USE_GNU] (__dprintf_chk): Not under this condition.
46208 [__USE_GNU] (__vdprintf_chk): Likewise.
46209 [__USE_GNU] (dprintf): Likewise.
46210 [__USE_GNU] (vdprintf): Likewise.
46212 2012-05-03 Roland McGrath <roland@hack.frob.com>
46214 * elf/Makefile (common-generated): Set this instead of generated for
46215 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
46216 $(all-built-dso)-derived lists.
46218 2012-05-03 Andreas Jaeger <aj@suse.de>
46220 * sysdeps/i386/fpu/libm-test-ulps: Update.
46223 * FAQ.in: Likewise.
46224 * scripts/gen-FAQ.pl: Likewise.
46225 * manual/install.texi (Installation): Point to online location of
46227 * Makefile (files-for-dist): Remove FAQ.
46230 2012-05-02 Allan McRae <allan@archlinux.org>
46232 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
46233 (LDFLAGS-reldepmod5.so): Likewise.
46234 (LDFLAGS-reldep6mod1.so): Likewise.
46235 (LDFLAGS-reldep6mod4.so): Likewise.
46236 (LDFLAGS-reldep8mod3.so): Likewise.
46237 (LDFLAGS-unload4mod1.so): Likewise.
46238 (LDFLAGS-unload4mod2.so): Likewise.
46239 (LDFLAGS-tst-initorder): Likewise.
46240 (LDFLAGS-tst-initordera2.so): Likewise.
46241 (LDFLAGS-tst-initordera3.so): Likewise.
46242 (LDFLAGS-tst-initordera4.so): Likewise.
46243 (LDFLAGS-tst-initorderb2.so): Likewise.
46244 (LDFLAGS-noload): Likewise.
46245 (LDFLAGS-next): Likewise.
46246 (LDFLAGS-order2mod1.so): Likewise.
46247 (LDFLAGS-order2mod2.so): Likewise.
46248 (LDFLAGS-tst-initorder2): Likewise.
46249 (LDFLAGS-tst-initorder2a.so): Likewise.
46250 (LDFLAGS-tst-initorder2b.so): Likewise.
46251 (LDFLAGS-tst-initorder2c.so): Likewise.
46252 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
46254 2012-05-02 David S. Miller <davem@davemloft.net>
46256 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46258 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
46261 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
46263 2012-05-02 Andreas Jaeger <aj@suse.de>
46265 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
46266 since we manipulate rounding mode.
46267 (CPPFLAGS-test-idouble.c): Likewise.
46268 (CPPFLAGS-test-ifloat.c): Likewise.
46269 (CFLAGS-test-ldouble.c): Likewise.
46270 (CFLAGS-test-double.c): Likewise.
46271 (CFLAGS-test-float.c): Likewise.
46272 (CFLAGS-test-misc.c): Likewise.
46273 (CFLAGS-test-test-fenv.c): Likewise.
46275 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46279 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
46280 comparisons to determine direction to adjust input.
46282 2012-05-01 Roland McGrath <roland@hack.frob.com>
46284 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
46285 output to the target.
46287 * scripts/localplt.awk: New file.
46288 * elf/Makefile ($(objpfx)check-localplt): Target removed.
46289 (check-localplt-CFLAGS): Variable removed.
46290 ($(all-built-dso:=.jmprel)): New static pattern rule.
46291 (generated): Add those targets.
46292 (localplt-built-dso): New variable.
46293 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
46295 * elf/check-localplt.c: File removed.
46297 * scripts/check-execstack.awk: New file.
46298 * elf/Makefile ($(objpfx)check-execstack): Target removed.
46299 (check-execstack-CFLAGS): Variable removed.
46300 ($(objpfx)check-execstack.h): Target removed.
46301 ($(objpfx)execstack-default): New target.
46302 (generated): Add that instead of check-execstack.h.
46303 ($(all-built-dso:=.phdr)): New static pattern rule.
46304 (generated): Add those targets.
46305 * elf/check-execstack.c: File removed.
46307 * scripts/check-textrel.awk: New file.
46308 * elf/Makefile ($(objpfx)check-textrel): Target removed.
46309 (check-textrel-CFLAGS): Variable removed.
46310 (all-built-dso): Use := to define.o
46311 ($(all-built-dso:=.dyn)): New static pattern rule.
46312 (generated): Add those targets.
46313 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
46314 * config.make.in (READELF): New substituted variable.
46315 * elf/check-textrel.c: File removed.
46317 2012-05-01 Joseph Myers <joseph@codesourcery.com>
46319 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46321 * conform/data/ctype.h-data [C99-based standards] (isblank):
46323 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
46324 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
46325 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46326 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
46327 Specify type. Require positive value.
46328 (EILSEQ): Likewise.
46329 (ERANGE): Likewise.
46330 [ISO || POSIX] (EILSEQ): Do not expect.
46331 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
46332 Specify type. Require positive value.
46333 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
46334 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
46335 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
46336 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
46337 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
46338 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
46339 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
46340 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
46341 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
46342 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
46343 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
46344 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
46345 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
46346 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
46347 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
46348 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
46349 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
46350 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
46351 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
46352 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
46353 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
46354 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
46355 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
46356 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
46357 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
46358 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
46359 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
46360 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
46361 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
46362 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
46363 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
46364 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
46365 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
46366 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
46367 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
46368 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
46369 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
46370 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
46371 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
46372 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
46373 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
46374 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
46375 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
46376 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
46377 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
46378 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
46379 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
46380 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
46381 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
46382 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
46383 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
46384 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
46385 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
46386 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
46387 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
46388 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
46389 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
46390 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
46391 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
46392 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
46393 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
46394 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
46395 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
46396 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
46397 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
46398 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
46399 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
46400 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
46401 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
46402 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
46403 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
46404 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
46405 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
46406 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
46407 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
46408 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
46409 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
46411 (FLT_ROUNDS): Expect as macro, not constant.
46412 (FLT_MANT_DIG): Use macro-int-constant.
46413 (DBL_MANT_DIG): Likewise.
46414 (LDBL_MANT_DIG): Likewise.
46415 (FLT_DIG): Likewise.
46416 (DBL_DIG): Likewise.
46417 (LDBL_DIG): Likewise.
46418 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
46419 (DBL_MIN_EXP): Likewise.
46420 (LDBL_MIN_EXP): Likewise.
46421 (FLT_MAX_EXP): Use macro-int-constant.
46422 (DBL_MAX_EXP): Likewise.
46423 (LDBL_MAX_EXP): Likewise.
46424 (FLT_MAX_10_EXP): Likewise.
46425 (DBL_MAX_10_EXP): Likewise.
46426 (LDBL_MAX_10_EXP): Likewise.
46427 (FLT_MAX): Use macro-constant.
46428 (DBL_MAX): Likewise.
46429 (LDBL_MAX): Likewise.
46430 (FLT_EPSILON): Use macro-constant. Give upper bound.
46431 (DBL_EPSILON): Likewise.
46432 (LDBL_EPSILON): Likewise.
46433 (FLT_MIN): Likewise.
46434 (DBL_MIN): Likewise.
46435 (LDBL_MIN): Likewise.
46436 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
46437 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
46438 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
46439 [ISO11] (FLT_HAS_SUBNORM): Likewise.
46440 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
46441 [ISO11] (DBL_DECIMAL_DIG): Likewise.
46442 [ISO11] (FLT_DECIMAL_DIG): Likewise.
46443 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
46444 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
46445 [ISO11] (FLT_TRUE_MIN): Likewise.
46446 [ISO11] (LDBL_TRUE_MIN): Likewise.
46447 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46448 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
46449 (SCHAR_MIN): Use macro-int-constant. Specify type.
46450 (SCHAR_MAX): Likewise.
46451 (UCHAR_MAX): Likewise.
46452 (CHAR_MIN): Likewise.
46453 (CHAR_MAX): Likewise.
46454 (MB_LEN_MAX): Use macro-int-constant.
46455 (SHRT_MIN): Use macro-int-constant. Specify type.
46456 (SHRT_MAX): Likewise.
46457 (USHRT_MAX): Likewise.
46458 (INT_MAX): Likewise.
46459 (INT_MIN): Use macro-int-constant. Specify type. Make upper
46461 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
46463 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
46465 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
46466 bound negative. Suffix upper bound with "L".
46467 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
46469 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
46471 [C99-based standards] (LLONG_MAX): Likewise.
46472 [C99-based standards] (ULLONG_MAX): Likewise.
46473 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
46475 [ISO11] (max_align_t): Require type.
46476 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46478 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
46479 from $CFLAGS, without defining away __attribute__ calls.
46480 (checknamespace): Use $CFLAGS_namespace.
46482 * conform/conformtest.pl (@keywords): Only include C99 keywords
46483 for standards based on C99 or C11.
46485 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
46487 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
46490 * conform/conformtest.pl: Handle "macro-int-constant" and test for
46491 usability of symbols in #if.
46493 * conform/conformtest.pl: If macro or constant types start
46494 "promoted:", expect the symbol to be of the following type
46495 promoted by the integer promotions.
46497 * conform/conformtest.pl: Parse all "constant" and "macro" lines
46498 in one place. Also handle "macro-constant".
46500 * conform/conformtest.pl: Only accept expected macro values with
46501 "==". Parse all "macro" lines in one place.
46502 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
46504 * conform/conformtest.pl: Handle braced types on "constant" lines
46505 instead of handling "typed-constant".
46506 * conform/data/signal.h-data: Use "constant" instead of
46509 * conform/conformtest.pl: Handle "optional-" at start of lines in
46510 one place rather than duplicating several cases. Handle each
46511 format of "macro" line with initial "optional-".
46513 * conform/conformtest.pl: Only accept expected constant or
46514 optional-constant values with "==". Parse all "constant" lines in
46515 one place. Parse all "optional-constant" lines in one place.
46516 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
46517 * conform/data/fmtmsg.h-data: Likewise.
46518 * conform/data/netinet/in.h-data: Likewise.
46519 * conform/data/tar.h-data: Likewise.
46520 * conform/data/limits.h-data: Use "==" form on "constant" and
46521 "optional-constant" lines.
46523 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
46524 Use -std=c99 for XOPEN2K.
46525 (@knownproblems): Remove.
46526 (newtoken): Don't check %isknown.
46528 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
46529 Do not expect macro.
46530 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
46531 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
46532 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
46533 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
46534 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
46535 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
46536 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
46537 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
46538 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
46539 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
46540 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
46541 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
46542 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
46543 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
46544 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
46545 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
46546 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
46547 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
46548 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
46549 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
46550 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
46551 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
46552 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
46553 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
46554 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
46555 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
46556 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
46557 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
46558 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
46559 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
46560 [XPG3] (acosh): Likewise.
46561 [XPG3] (asinh): Likewise.
46562 [XPG3] (atanh): Likewise.
46563 [XPG3] (cbrt): Likewise.
46564 [XPG3] (expm1): Likewise.
46565 [XPG3] (ilogb): Likewise.
46566 [XPG3] (log1p): Likewise.
46567 [XPG3] (logb): Likewise.
46568 [XPG3] (nextafter): Likewise.
46569 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
46570 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
46571 [XPG3] (remainder): Likewise.
46572 [XPG3] (rint): Likewise.
46573 [XPG3 || XPG4 || UNIX98] (round): Likewise.
46574 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
46575 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
46576 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
46577 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
46578 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
46579 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
46580 [UNIX98 || XOPEN2K] (scalb): Expect.
46581 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
46582 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
46583 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
46584 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
46585 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
46586 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
46587 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
46588 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
46589 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
46590 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
46591 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
46592 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
46593 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
46594 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
46595 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
46596 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
46597 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
46598 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
46599 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
46600 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
46601 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
46602 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
46603 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
46604 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
46605 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
46606 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
46607 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
46608 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
46609 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
46610 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
46611 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
46612 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
46613 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
46614 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
46615 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
46616 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
46617 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
46618 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
46619 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
46620 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
46621 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
46622 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
46623 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
46624 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
46625 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
46626 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
46627 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
46628 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
46629 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
46630 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
46631 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
46632 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
46633 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
46634 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
46635 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
46636 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
46637 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
46638 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
46639 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
46640 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
46641 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
46642 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
46643 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
46644 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
46645 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
46646 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
46647 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
46648 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
46649 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
46650 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
46651 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
46652 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
46653 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
46654 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
46655 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
46656 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
46657 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
46658 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
46659 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
46660 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
46661 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
46662 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
46663 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
46664 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
46665 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
46666 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
46667 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
46668 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
46669 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
46670 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
46671 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
46672 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
46673 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
46674 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
46675 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
46676 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
46677 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
46678 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
46679 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
46680 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
46681 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
46682 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
46683 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
46684 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
46685 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
46686 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
46687 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
46688 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
46689 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
46690 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
46691 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
46692 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
46693 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
46694 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
46695 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
46696 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
46697 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
46698 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
46699 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
46700 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
46701 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
46702 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
46703 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
46704 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
46705 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
46706 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
46707 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
46708 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
46709 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
46710 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
46711 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
46712 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
46713 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
46714 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
46715 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
46716 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
46717 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
46719 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
46720 _XOPEN_SOURCE_EXTENDED for XPG4.
46722 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
46724 * Makeconfig (localtime): Remove variable.
46725 (inst_localtime-file): Likewise.
46727 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
46729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
46731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
46735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
46737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
46739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
46741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
46745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46748 2012-05-01 Joseph Myers <joseph@codesourcery.com>
46752 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
46753 comparisons to determine direction to adjust input.
46754 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
46755 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
46756 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
46758 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
46760 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
46762 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
46763 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
46765 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
46767 * math/libm-test.inc (nexttoward_test): Add more tests.
46769 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
46772 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
46773 in version GLIBC_2.1, not GLIBC_2.0.
46774 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
46777 2012-04-30 Joseph Myers <joseph@codesourcery.com>
46780 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
46782 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
46783 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
46784 * math/libm-test.inc (acos_test): Add more tests.
46785 (asin_test): Likewise.
46786 * sysdeps/i386/fpu/libm-test-ulps: Update.
46787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46790 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
46792 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
46793 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
46794 * math/libm-test.inc (acos_test_tonearest): New function.
46795 (acos_test_towardzero): Likewise.
46796 (acos_test_downward): Likewise.
46797 (acos_test_upward): Likewise.
46798 (asin_test_tonearest): Likewise.
46799 (asin_test_towardzero): Likewise.
46800 (asin_test_downward): Likewise.
46801 (asin_test_upward): Likewise.
46802 (main): Call the new functions.
46803 * sysdeps/i386/fpu/libm-test-ulps: Update.
46804 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46808 * math/e_exp10.c: Include <float.h>.
46809 (__ieee754_exp10): Handle underflow here rather than multiplying
46810 large negative argument by M_LN10.
46811 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
46813 * math/e_exp10l.c: Include <float.h>.
46814 (__ieee754_exp10l): Handle underflow here rather than multiplying
46815 large negative argument by M_LN10l.
46816 * math/libm-test.inc (exp10_test): Add another test. Do not allow
46817 spurious overflow exception on underflow.
46819 2012-04-29 Marek Polacek <polacek@redhat.com>
46821 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
46822 (__fortify_function): New macro.
46823 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
46824 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
46825 __extern_always_inline.
46826 * libio/bits/stdio2.h: Likewise.
46827 * libio/bits/stdio.h: Likewise.
46828 * string/string.h: Likewise.
46829 * string/bits/string3.h: Likewise.
46830 * include/stdio.h: Likewise.
46831 * stdlib/bits/stdlib.h: Likewise.
46832 * stdlib/stdlib.h: Likewise.
46833 * rt/bits/mqueue2.h: Likewise.
46834 * rt/mqueue.h: Likewise.
46835 * posix/bits/unistd.h: Likewise.
46836 * posix/unistd.h: Likewise.
46837 * io/bits/poll2.h: Likewise.
46838 * io/bits/fcntl2.h: Likewise.
46839 * io/fcntl.h: Likewise.
46840 * io/sys/poll.h: Likewise.
46841 * misc/bits/syslog.h: Likewise.
46842 * misc/bits/syslog-ldbl.h: Likewise.
46843 * misc/sys/syslog.h: Likewise.
46844 * socket/bits/socket2.h: Likewise.
46845 * socket/sys/socket.h: Likewise.
46846 * debug/tst-chk1.c: Likewise.
46847 * wcsmbs/bits/wchar2.h: Likewise.
46848 * wcsmbs/bits/wchar-ldbl.h: Likewise.
46849 * wcsmbs/wchar.h: Likewise.
46851 2012-04-29 Andreas Jaeger <aj@suse.de>
46853 * Makerules (tests): Remove enable-check-abi protection.
46854 (check-abi-warn): Remove.
46855 (check-abi-%): Remove check-abi-warn usage.
46857 * configure.in: Remove check-abi configure option.
46858 * configure: Regenerated.
46859 * config.make.in (enable-check-abi): Remove.
46861 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
46864 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
46865 double functions to double *_finite functions.
46868 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
46869 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
46871 * stdio-common/Makefile (tests): Add tst-sprintf3.
46872 * stdio-common/tst-sprintf3.c: New file.
46874 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
46875 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
46877 2012-04-28 Joseph Myers <joseph@codesourcery.com>
46879 * conform/conformtest.pl: Remove duplicate typed-constant
46882 2012-04-28 David S. Miller <davem@davemloft.net>
46884 * Makerules (%.abilist): Add vpath on sysdep_dirs.
46885 (check-abi-%): Remove AWK script prerequisite and explicit
46887 (check-abi): Rewrite to just diff the symlist with the abilist.
46888 (config-tls, config-abi-config): Delete, no longer used.
46889 (update-abi-%): Remove AWK script and explicit abilist directory.
46890 (update-abi): Rewrite to simply compare and conditionally copy the
46891 symlist and the sysdep abilist file. Remove update-abi-config
46893 * abilist/ld.abilist: Remove.
46894 * abilist/libBrokenLocale.abilist: Remove.
46895 * abilist/libanl.abilist: Remove.
46896 * abilist/libcrypt.abilist: Remove.
46897 * abilist/libdl.abilist: Remove.
46898 * abilist/librt.abilist: Remove.
46899 * abilist/libthread_db.abilist: Remove.
46900 * abilist/libutil.abilist: Remove.
46901 * scripts/extract-abilist.awk: Remove.
46902 * scripts/merge-abilist.awk: Remove.
46903 * sysdeps/generic/libcidn.abilist: New file.
46904 * sysdeps/generic/libnss_compat.abilist: New file.
46905 * sysdeps/generic/libnss_db.abilist: New file.
46906 * sysdeps/generic/libnss_dns.abilist: New file.
46907 * sysdeps/generic/libnss_files.abilist: New file.
46908 * sysdeps/generic/libnss_hesiod.abilist: New file.
46909 * sysdeps/generic/libnss_nis.abilist: New file.
46910 * sysdeps/generic/libnss_nisplus.abilist: New file.
46911 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
46912 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
46913 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
46915 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
46916 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
46917 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
46918 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
46919 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
46920 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
46921 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
46922 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
46923 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
46925 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
46926 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
46927 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
46928 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
46930 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
46931 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
46932 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
46933 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
46934 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
46935 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
46937 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
46938 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
46939 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
46941 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
46942 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
46944 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
46946 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
46948 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
46950 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
46952 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
46954 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
46956 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
46958 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
46960 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
46962 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
46964 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
46966 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
46968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
46970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
46972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
46974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
46976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
46978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
46980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
46982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
46984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
46988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
46990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
46992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
46994 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
46995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
46997 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
46999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
47001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
47003 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
47005 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
47007 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
47009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
47013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
47015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
47017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
47019 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
47020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
47022 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
47024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
47026 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
47028 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
47030 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
47032 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
47034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
47038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
47040 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
47042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
47044 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47045 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
47046 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
47048 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
47049 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
47050 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
47051 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
47052 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
47053 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
47054 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
47055 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
47056 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
47057 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
47058 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
47059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
47061 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
47063 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
47065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
47067 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
47069 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
47071 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
47073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
47075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
47077 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
47079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
47081 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
47083 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
47084 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
47086 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
47088 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
47090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
47092 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
47094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
47096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
47098 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
47100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
47102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
47104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
47106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
47109 2012-04-28 Joseph Myers <joseph@codesourcery.com>
47111 * conform/conformtest.pl: Fix typo in handling typed-constant from
47114 2012-04-27 Joseph Myers <joseph@codesourcery.com>
47116 * README: Cut down references to pre-2.6 Linux kernels and
47117 Linuxthreads. Update lists of configurations in libc and ports
47118 and sort alphabetically. Say "or newer" with Linux kernel version
47121 * config.h.in [IS_IN_build]: Allow compiling without optimization.
47123 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
47126 * math/libm-test.inc (logb_test_downward): New test to expose
47127 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
47130 2012-04-27 Joseph Myers <joseph@codesourcery.com>
47133 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
47135 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
47136 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
47138 2012-04-26 Joseph Myers <joseph@codesourcery.com>
47140 * sysdeps/unix/i386/brk.S: Remove file.
47141 * sysdeps/unix/i386/dl-brk.S: Likewise.
47142 * sysdeps/unix/i386/pipe.S: Likewise.
47143 * sysdeps/unix/i386/sigreturn.S: Likewise.
47144 * sysdeps/unix/i386/syscall.S: Likewise.
47145 * sysdeps/unix/i386/vfork.S: Likewise.
47146 * sysdeps/unix/i386/wait.S: Likewise.
47148 * sysdeps/unix/common/tcsendbrk.c: Move to ...
47149 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
47151 * configure.in (arm*-none*): Do not allow without
47152 --enable-hacker-mode.
47153 (netbsd*): Remove case setting base_os.
47154 (386bsd*): Likewise.
47155 (freebsd*): Likewise.
47158 (sunos*): Likewise.
47159 (ultrix*): Likewise.
47160 (newsos*): Likewise.
47161 (dynix*): Likewise.
47167 (minix*): Likewise.
47168 (irix4*): Likewise.
47169 (irix6*): Likewise.
47170 (solaris[2-9]*): Likewise.
47172 * configure: Regenerated.
47174 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47177 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
47178 overflow or cancellation in calculating denominator.
47179 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
47180 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
47181 down expression to avoid unexpected rounding in newer GCCs.
47182 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
47184 2012-04-26 David S. Miller <davem@davemloft.net>
47186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
47187 long-double compat symbols.
47188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
47192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
47194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
47195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
47196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
47197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
47198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
47199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
47200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47202 2012-04-25 David S. Miller <davem@davemloft.net>
47204 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
47205 HWCAP_* values only after the memory barriers have been defined.
47206 (atomic_full_barrier): Define.
47207 (atomic_read_barrier): Define.
47208 (atomic_write_barrier): Define.
47210 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
47212 * shlib-versions: Add libgcc_s version information.
47213 * sysdeps/generic/libgcc_s.h: Remove.
47214 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
47216 * sysdeps/gnu/unwind-resume.c: Likewise.
47217 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
47219 2012-04-25 David S. Miller <davem@davemloft.net>
47221 * sysdeps/unix/sparc/brk.S: Delete.
47222 * sysdeps/unix/sparc/dl-brk.S: Delete.
47223 * sysdeps/unix/sparc/pipe.S: Delete.
47224 * sysdeps/unix/sparc/sysdep.S: Delete.
47225 * sysdeps/unix/sparc/sysdep.h: Delete.
47226 * sysdeps/unix/sparc/vfork.S: Delete.
47227 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
47228 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
47229 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
47230 (ret_ERRVAL, r0, r1, MOVE): Define.
47231 (JUMPTARGET): Remove.
47232 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
47233 sysdeps/unix/sparc/sysdep.h
47234 (ENTRY, END): Remove.
47235 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47237 2012-04-25 Joseph Myers <joseph@codesourcery.com>
47239 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
47240 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
47243 * timezone/README: Update upstream location and email address for
47245 * timezone/zdump.c: Update from tzcode 2012b.
47246 * timezone/zic.c: Likewise.
47248 * configure.in (libc_cv_as_needed): Remove test.
47249 * configure: Regenerated.
47250 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
47251 conditional definition.
47252 [$(have-as-needed) != yes] (no-as-needed): Likewise.
47253 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
47254 * config.make.in (have-as-needed): Remove variable.
47256 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
47257 Paul Pluzhnikov <ppluzhnikov@google.com>
47259 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
47262 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
47264 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
47265 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
47266 * sysdeps/sh/strlen.S: Likewise.
47268 2012-04-24 Joseph Myers <joseph@codesourcery.com>
47270 * sysdeps/unix/fork.S: Remove file.
47271 * sysdeps/unix/i386/fork.S: Likewise.
47272 * sysdeps/unix/sparc/fork.S: Likewise.
47274 * sysdeps/unix/system.c: Remove file.
47275 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
47277 * sysdeps/unix/getegid.S: Remove file.
47278 * sysdeps/unix/geteuid.S: Likewise.
47280 2012-04-24 Roland McGrath <roland@hack.frob.com>
47282 * scripts/check-localplt.awk: New file.
47283 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
47285 * scripts/data/localplt-generic.data: Add a comment.
47287 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
47288 NODE when __dir_mkfile failed.
47289 * sysdeps/mach/hurd/symlinkat.c: Likewise.
47290 Reported by Ludovic Courtès <ludo@gnu.org>.
47292 2012-04-24 Andreas Jaeger <aj@suse.de>
47294 * Makerules (common-clean): Also remove gen-as-const-headers
47297 2012-04-24 Joseph Myers <joseph@codesourcery.com>
47299 * Makerules (native-compile): Do not change working directory for
47300 build. Use $(OUTPUT_OPTION) in command.
47301 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
47303 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47306 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
47307 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
47308 * math/libm-test.inc (floor_test): Add more tests.
47309 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
47311 2012-04-24 Joseph Myers <joseph@codesourcery.com>
47313 * sysdeps/unix/getdents.c: Remove file.
47314 * sysdeps/unix/sysv/getdents.c: Likewise.
47315 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
47317 * sysdeps/unix/syscalls.list (madvise): Add syscall from
47318 sysdeps/unix/mman/syscalls.list.
47320 (mprotect): Likewise.
47322 (munmap): Likewise.
47323 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
47324 * sysdeps/unix/mman/syscalls.list: Remove.
47325 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
47327 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
47328 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
47329 * configure: Regenerated.
47330 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
47331 $(libgcc_s_suffix).
47332 * config.make.in (libgcc_s_suffix): Remove variable.
47334 2012-04-23 Joseph Myers <joseph@codesourcery.com>
47336 * sysdeps/unix/sysv/gethostname.c: Move to ...
47337 * sysdeps/posix/gethostname.c: ... here.
47339 * sysdeps/unix/execve.S: Remove file.
47341 * sysdeps/unix/_exit.S: Remove file.
47343 2012-04-23 Andreas Jaeger <aj@suse.de>
47346 * manual/Makefile: Remove make dist support, there's no
47347 need for a stand-alone documentation tar ball.
47348 (TEXI2DVI): Define always, it's not in Makeconfig.
47351 (edition): Removed.
47352 (glibc-doc-$(edition).tar): Removed
47356 (ETAGS): Remove, it's in Makeconfig.
47357 (move-if-change): Remove, it's in Makeconfig.
47359 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
47362 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
47363 (strtod, strtof, strtold, strtol, strtoul, strtoq)
47364 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
47365 (strtod_l, strtof_l, strtold_l): Remove __wur.
47366 It is not necessarily an error to ignore strtol's return value.
47367 One can reliably look at the stored endptr to decide whether
47368 the number had valid syntax.
47370 2012-04-21 Andreas Jaeger <aj@suse.de>
47373 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
47375 2012-04-21 Joseph Myers <joseph@codesourcery.com>
47377 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
47378 * sysdeps/unix/sysv/Versions: Remove file.
47380 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
47383 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47385 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
47388 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
47389 version from __vm86.
47391 2012-04-20 Joseph Myers <joseph@codesourcery.com>
47393 * sysdeps/unix/common/lxstat.c: Remove file.
47394 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
47396 * sysdeps/unix/sysv/Makefile: Remove file.
47398 * sysdeps/unix/sysv/direct.h: Remove file.
47400 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
47401 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
47402 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
47403 * sysdeps/unix/sysv/bits/signum.h: Likewise.
47404 * sysdeps/unix/sysv/bits/stat.h: Likewise.
47405 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
47406 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
47408 * sysdeps/unix/sysv/setrlimit.c: Remove file.
47410 * sysdeps/unix/xmknod.c: Remove file.
47411 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
47413 * sysdeps/unix/sysv/settimeofday.c: Remove file.
47415 * sysdeps/unix/sysv/i386/time.S: Remove file.
47417 * sysdeps/unix/fxstat.c: Remove file.
47418 * sysdeps/unix/xstat.c: Likewise.
47419 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
47421 * sysdeps/unix/sysv/sigaction.c: Remove file.
47423 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
47424 (sysdep_headers): Remove variable.
47425 [termio.h not in sysdep_headers] (generated): Likewise.
47426 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
47427 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
47428 * sysdeps/unix/sysv/tcdrain.c: Likewise.
47429 * sysdeps/unix/sysv/tcflow.c: Likewise.
47430 * sysdeps/unix/sysv/tcflush.c: Likewise.
47431 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
47432 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
47433 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
47434 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
47435 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
47437 * sysdeps/unix/siglist.c: Remove file.
47439 * sysdeps/unix/getppid.S: Remove file.
47441 * sysdeps/unix/mkdir.c: Remove file.
47442 * sysdeps/unix/rmdir.c: Likewise.
47444 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
47446 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
47448 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
47449 errlist-compat value.
47451 2012-04-18 David S. Miller <davem@davemloft.net>
47453 * sysdeps/generic/memcopy.h (reg_char): Delete.
47454 * debug/strcat_chk.c: Use char, not reg_char.
47455 * debug/strcpy_chk.c: Likewise.
47456 * debug/strncat_chk.c: Likewise.
47457 * debug/strncpy_chk.c: Likewise.
47458 * string/memchr.c: Likewise.
47459 * string/memrchr.c: Likewise.
47460 * string/rawmemchr.c: Likewise.
47461 * string/strcat.c: Likewise.
47462 * string/strchr.c: Likewise.
47463 * string/strchrnul.c: Likewise.
47464 * string/strcmp.c: Likewise.
47465 * string/strcpy.c: Likewise.
47466 * string/strncat.c: Likewise.
47467 * string/strncmp.c: Likewise.
47468 * string/strncpy.c: Likewise.
47470 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
47472 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
47473 __builtin_memcopy is called when src and dest ranges are known to not
47476 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
47478 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
47479 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
47480 fwd_align_merge macro call.
47481 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
47482 bwd_align_merge macro call.
47483 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47485 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
47487 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
47488 bwd_align_merge macros.
47489 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
47490 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
47491 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47493 2012-04-18 David S. Miller <davem@davemloft.net>
47495 * sysdeps/sparc/sparc64/memcopy.h: Delete.
47497 2012-04-18 Andreas Jaeger <aj@suse.de>
47500 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
47501 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
47502 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
47504 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
47505 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
47506 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
47508 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
47509 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
47510 Adjust for changed ldbl-128 files.
47512 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
47513 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
47514 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
47516 2012-04-17 David S. Miller <davem@davemloft.net>
47518 * sysdeps/sparc/sparc32/memcopy.h: Delete.
47520 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
47522 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
47523 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
47524 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
47525 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
47526 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
47527 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
47529 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47532 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
47533 * math/libm-test.inc: Add ilogb errno and exception tests.
47534 * math/w_ilogb.c: New file: ilogb wrapper.
47535 * math/w_ilogbf.c: New file: ilogbf wrapper.
47536 * math/w_ilogbl.c: New file: ilogbl wrapper.
47537 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
47538 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
47539 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
47540 exception being thrown with 0.0 as argument.
47541 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
47542 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
47543 exception being thrown with 0.0 as argument.
47544 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
47545 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
47546 exception being thrown with 0.0 as argument.
47547 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
47548 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
47549 exception being thrown with 0.0 as argument.
47550 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
47551 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
47552 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
47553 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
47554 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
47555 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
47556 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
47557 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
47558 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
47560 2012-04-17 Petr Baudis <pasky@ucw.cz>
47562 * include/sys/uio.h: Change __vector to __iovec to avoid clash
47565 2012-04-16 Marek Polacek <polacek@redhat.com>
47567 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
47569 2012-04-16 Marek Polacek <polacek@redhat.com>
47571 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
47572 operands of fdivp instruction.
47574 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
47576 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
47577 * elf/tst-auditmod3b.c: Likewise.
47578 * elf/tst-auditmod4b.c: Likewise.
47579 * elf/tst-auditmod5b.c: Likewise.
47580 * elf/tst-auditmod6b.c: Likewise.
47581 * elf/tst-auditmod6c.c: Likewise.
47582 * elf/tst-auditmod7b.c: Likewise.
47583 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
47584 * sysdeps/x86_64/preconfigure.in: Likewise.
47585 * sysdeps/x86_64/preconfigure: Regenerated.
47587 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
47589 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
47592 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
47594 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47595 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
47597 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
47600 * locale/iso-639.def: Fix gl language name. Spotted by
47603 2012-04-12 Roland McGrath <roland@hack.frob.com>
47606 * libio/libio.h (__io_write_fn): Update comment.
47608 2012-04-12 Petr Baudis <pasky@ucw.cz>
47611 * stdio.texi (Hook Functions): The user provided writer function
47612 is not allowed to return -1.
47614 2012-04-11 David S. Miller <davem@davemloft.net>
47616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47618 2012-04-11 Mike Frysinger <vapier@gentoo.org>
47620 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
47621 Add a leading slash to rtkaio.
47623 2012-04-11 Jim Meyering <meyering@redhat.com>
47626 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
47627 It is not necessarily an error to ignore fwrite's return
47628 value. One can reliably use ferror to test for errors after
47631 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
47633 * bits/types.h (__snseconds_t): New type.
47634 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
47636 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
47637 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47638 (__SNSECONDS_T_TYPE): Likewise.
47639 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47640 (__SNSECONDS_T_TYPE): Likewise.
47641 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47642 (__SNSECONDS_T_TYPE): Likewise.
47644 2012-04-10 Andreas Jaeger <aj@suse.de>
47647 * manual/time.texi (Processor Time): Return type of times is
47648 elapsed real time since an arbitrary point in the past.
47649 (CPU Time): Move CLK_TCK from here...
47650 (Processor Time): ...to here. Correct description.
47651 * manual/conf.texi (Constants for Sysconf): Correct description of
47654 2012-04-10 David S. Miller <davem@davemloft.net>
47657 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
47658 where the is a gap between DT_REL(A) and DT_JMPREL.
47660 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
47662 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
47663 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
47664 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
47666 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
47668 * elf/dl-support.c (_dl_inhibit_cache): New variable.
47669 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
47670 (dl_main): Handle --inhibit-cache.
47671 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
47673 * elf/dl-load.c (_dl_map_object): Use it.
47674 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
47676 2012-04-09 Joseph Myers <joseph@codesourcery.com>
47679 * sysdeps/i386/fpu/e_powl.S (p78): New object.
47680 (__ieee754_powl): Saturate large exponents rather than testing for
47681 overflow of y*log2(x).
47682 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47683 * math/libm-test.inc (pow_test): Do not permit spurious overflow
47687 * math/s_ctan.c: Include <float.h>.
47688 (__ctan): Avoid internal overflow or cancellation in calculating
47690 * math/s_ctanf.c: Likewise.
47691 * math/s_ctanl.c: Likewise.
47692 * math/s_ctanh.c: Likewise.
47693 * math/s_ctanhf.c: Likewise.
47694 * math/s_ctanhl.c: Likewise.
47695 * math/libm-test.inc (ctan_test): Add more tests.
47696 (ctanh_test): Likewise.
47697 * sysdeps/i386/fpu/libm-test-ulps: Update.
47698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47700 2012-04-09 Andreas Jaeger <aj@suse.de>
47703 * manual/filesys.texi (Directory Entries): Mention that d_namlen
47704 is an optional BSD extension.
47707 * manual/stdio.texi (Opening Streams): Document additional fopen
47710 2012-04-09 Roland McGrath <roland@hack.frob.com>
47712 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
47713 %eax without telling the compiler.
47715 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
47718 * manual/install.texi: Use sourceware.org.
47720 2012-04-09 Joseph Myers <joseph@codesourcery.com>
47723 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
47724 (__ieee754_pow): Generate overflow and underflow using huge*huge
47725 and tiny*tiny rather than just returning constant infinity or zero
47726 for large exponents.
47727 * math/libm-test.inc (pow_test): Require overflow exceptions for
47728 applicable cases of large exponents.
47731 * sysdeps/i386/fpu/e_pow.S (p10): New object.
47732 (__ieee754_pow): Use iterative multiplication algorithm only for
47733 integer exponents with absolute value below 1024. Check for odd
47734 integer exponents when using algorithm for real exponents.
47735 * math/libm-test.inc (pow_test): Add more tests.
47736 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47738 2012-04-08 Joseph Myers <joseph@codesourcery.com>
47741 * math/libm-test.inc (exp_test): Do not allow overflow exception
47744 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
47747 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
47748 instead of __kernel_standard_f.
47750 2012-04-08 Mike Frysinger <vapier@gentoo.org>
47752 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
47753 * sysdeps/x86_64/memset_chk.S: Likewise.
47755 2012-04-08 Andreas Jaeger <aj@suse.de>
47758 * manual/startup.texi (Environment Access): Describe return value
47759 for putenv and setenv.
47762 * manual/filesys.texi (Directory Entries): Add description for
47766 * manual/filesys.texi (Directory Entries): Clarify that it's file
47767 system not operating system in the description of DT_UNKNOWN.
47770 * manual/syslog.texi (closelog): Fix reference, it's openlog.
47772 2012-04-08 Stephen Compall <s11@member.fsf.org>
47775 * manual/llio.texi (Opening and Closing Files): Add cross
47776 reference to explain mode argument.
47778 2012-04-07 Mike Frysinger <vapier@gentoo.org>
47780 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
47781 * sysdeps/x86_64/memset_chk.S: Likewise.
47783 2012-04-07 David S. Miller <davem@davemloft.net>
47785 * elf/elf.h (R_SPARC_WDISP10): Define.
47786 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
47788 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
47789 R_SPARC_SIZE64 and R_SPARC_H34.
47791 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
47793 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
47794 conditions and remove no longer applicable assertion.
47796 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
47798 * bits/byteswap.h: Include <features.h>.
47799 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
47800 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
47802 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
47804 * bits/byteswap.h (__bswap_16): Removed.
47805 Include <bits/byteswap-16.h> to get __bswap_16.
47806 * sysdeps/i386/bits/byteswap.h: Likewise.
47807 * sysdeps/s390/bits/byteswap.h: Likewise.
47808 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47809 * bits/byteswap-16.h: New file.
47810 * sysdeps/i386/bits/byteswap-16.h: Likewise.
47811 * sysdeps/s390/bits/byteswap-16.h: Likewise.
47812 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
47813 * string/Makefile (headers): Add bits/byteswap-16.h.
47815 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47818 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
47820 * nss/Makefile (tests-static, tests): Add tst-nss-static.
47821 * nss/tst-nss-static.c: New.
47823 2012-04-06 Robert Millan <rmh@gnu.org>
47826 * manual/llio.texi (File Position Primitive): lseek
47827 refers to WHENCE when it really means OFFSET.
47829 2012-04-06 Andreas Jaeger <aj@suse.de>
47831 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
47832 strncmp declarations.
47834 * abilist/libc.abilist: Add __poll and __ppoll.
47836 2012-04-05 David S. Miller <davem@davemloft.net>
47838 * scripts/check-local-headers.sh: Accept a host triplet in the
47839 path matched by the exclude regexp.
47841 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
47843 * sysdeps/powerpc/powerpc32/dl-machine.h
47844 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
47845 * sysdeps/s390/s390-32/dl-machine.h
47846 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47847 * sysdeps/sparc/sparc32/dl-machine.h
47848 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47849 * sysdeps/sparc/sparc64/dl-machine.h
47850 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47852 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
47854 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
47855 undefined symbol errors.
47857 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
47860 2012-04-05 Michael Matz <matz@suse.de>
47863 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
47865 2012-04-05 Andreas Jaeger <aj@suse.de>
47868 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
47871 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47873 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
47874 which ROUND is no valid rounding mode.
47876 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47878 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
47880 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
47882 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47884 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
47885 an exception using FPU order intentionally.
47887 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47889 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
47890 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
47891 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
47892 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
47894 2012-04-05 Simon Josefsson <simon@josefsson.org>
47897 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
47898 EINVAL when BUFLEN is too smal.
47900 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
47903 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
47904 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
47906 2012-04-03 Andreas Jaeger <aj@suse.de>
47909 * manual/setjmp.texi (System V contexts): Fix sentence.
47912 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
47913 New macro for this case.
47914 [!__GNUC__] (__bswap_64): New inline function for this case.
47915 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47916 * bits/byteswap.h: Likewise.
47917 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
47918 ull, guard with __GLIBC_HAVE_LONG_LONG.
47920 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
47921 __GLIBC_HAVE_LONG_LONG.
47923 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
47924 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
47926 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47929 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
47930 inptr and inend, rather than using last_ch.
47932 2012-04-02 David S. Miller <davem@davemloft.net>
47934 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
47935 * stdio-common/printf-parse.h (read_int): Change return type to
47936 'int', return -1 on INT_MAX overflow.
47937 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
47938 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
47939 overflows INT_MAX. Check for overflow of in-format-string precision
47940 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
47941 SIZE_MAX not INT_MAX for integer overflow test.
47942 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
47943 skip the construct in the format string but do not record anything.
47944 * stdio-common/bug22.c: Adjust to test both width/prevision
47945 INT_MAX overflow as well as total length INT_MAX overflow. Check
47946 explicitly for proper errno values.
47948 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
47950 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
47952 * string/test-strcmp.c [! WIDE]: Likewise.
47953 * time/tst-mktime2.c: Likewise for INT_MAX.
47954 * string/test-string.h: #include <sys/param.h> for MIN.
47956 * csu/init-first.c (__libc_init_first): Call __ctype_init.
47957 * sysdeps/i386/init-first.c (init): Likewise.
47958 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
47959 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
47960 * sysdeps/sh/init-first.c (init): Likewise.
47962 2012-04-01 Ulrich Drepper <drepper@gmail.com>
47964 * po/ru.po: Update from translation team.
47965 * po/vi.po: Likewise.
47967 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
47969 * resolv/nss_dns/dns-host.c: Merge copyright years.
47971 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47973 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47974 Optimize memcpy with prefetch if
47975 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
47976 src, dst pointers have unequal 16 byte alignments.
47978 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
47981 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
47982 from a CNAME entry and return the minimum ttl for the query.
47983 (gaih_getanswer_slice): Likewise.
47985 2012-03-30 Jeff Law <law@redhat.com>
47987 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
47989 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
47990 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
47992 * resolv/nss_dns/dns-host.c: Update copyright year.
47994 2012-03-30 Ulrich Drepper <drepper@gmail.com>
47996 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
47997 requests to save a system call. Fix check that all bytes are sent.
47999 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
48000 comments for sendmmsg.
48002 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
48005 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
48006 with only 1 character between 0x0041 and 0x01b0.
48007 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
48008 * wcsmbs/tst-mbsnrtowcs.c: New file.
48010 2012-03-29 David S. Miller <davem@davemloft.net>
48012 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
48013 small copies by hand.
48015 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
48018 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
48019 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
48022 2012-03-28 David S. Miller <davem@davemloft.net>
48024 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
48025 that branches into memcpy.
48026 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
48027 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
48028 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
48029 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
48030 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
48032 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
48033 implementation too.
48034 * sysdeps/sparc/mempcpy.S: New file.
48036 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
48037 the IFUNC routine in the libc case.
48038 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48040 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
48041 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
48042 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
48043 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
48044 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
48045 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
48046 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
48047 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
48049 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
48050 loop to 256 bytes instead of 64 bytes and fix test signedness.
48052 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
48053 * sysdeps/sparc/sparc32/Makefile: rather than here...
48054 * sysdeps/sparc/sparc64/Makefile: and here.
48056 2012-03-28 Ulrich Drepper <drepper@gmail.com>
48058 * malloc/mallocbug.c: Avoid warnings about unused variables.
48060 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
48063 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
48064 in the right place. Discard and retry query if response is
48065 larger than input buffer size.
48067 2012-03-28 Joseph Myers <joseph@codesourcery.com>
48072 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
48073 x for large integer exponent.
48074 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
48075 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
48076 sign of result as needed afterwards.
48077 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
48078 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
48079 result for underflowing pow the same as for overflow.
48080 (__kernel_standard_l): Handle powl overflow and underflow here
48081 rather than calling __kernel_standard.
48082 * math/libm-test.inc (pow_test): Add more tests.
48097 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
48098 * sysdeps/ieee754/k_standard.c: Include <float.h>.
48099 (__kernel_standard_l): New function.
48100 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
48102 * math/w_acosl.c (__acosl): Likewise.
48103 * math/w_asinl.c (__asinl): Likewise.
48104 * math/w_atan2l.c (__atan2l): Likewise.
48105 * math/w_atanhl.c (__atanhl): Likewise.
48106 * math/w_coshl.c (__coshl): Likewise.
48107 * math/w_exp10l.c (__exp10l): Likewise.
48108 * math/w_exp2l.c (__exp2l): Likewise.
48109 * math/w_fmodl.c (__fmodl): Likewise.
48110 * math/w_hypotl.c (__hypotl): Likewise.
48111 * math/w_j0l.c (__j0l, __y0l): Likewise.
48112 * math/w_j1l.c (__j1l, __y1l): Likewise.
48113 * math/w_jnl.c (__jnl, __ynl): Likewise.
48114 * math/w_lgammal.c (__lgammal): Likewise.
48115 * math/w_log10l.c (__log10l): Likewise.
48116 * math/w_log2l.c (__log2l): Likewise.
48117 * math/w_logl.c (__logl): Likewise.
48118 * math/w_powl.c (__powl): Likewise.
48119 * math/w_remainderl.c (__remainderl): Likewise.
48120 * math/w_scalbl.c (sysv_scalbl): Likewise.
48121 * math/w_sinhl.c (__sinhl): Likewise.
48122 * math/w_sqrtl.c (__sqrtl): Likewise.
48123 * math/w_tgammal.c (__tgammal): Likewise.
48124 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
48125 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
48126 * math/libm-test.inc (acos_test): Add more tests.
48127 (acosh_test): Likewise.
48128 (asin_test): Likewise.
48129 (atanh_test): Likewise.
48130 (exp_test): Likewise.
48131 (exp10_test): Likewise.
48132 (exp2_test): Likewise.
48133 (expm1_test): Likewise.
48134 (lgamma_test): Likewise.
48135 (log_test): Likewise.
48136 (log10_test): Likewise.
48137 (log1p_test): Likewise.
48138 (log2_test): Likewise.
48139 (pow_test): Do not allow some spurious overflow exceptions.
48140 (sqrt_test): Add more tests.
48141 (tgamma_test): Likewise.
48142 (y0_test): Likewise.
48143 (y1_test): Likewise.
48144 (yn_test): Likewise.
48146 2012-03-27 Anton Blanchard <anton@samba.org>
48148 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
48150 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48151 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48152 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48154 2012-03-27 David S. Miller <davem@davemloft.net>
48156 * conform/Makefile: Run run-conformtest.sh using $(BASH).
48158 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
48159 have-as-vis3 check.
48161 2012-03-27 Andreas Jaeger <aj@suse.de>
48163 * sysdeps/x86_64/elf/configure.in: Moved to ...
48164 * sysdeps/x86_64/configure.in: ... here.
48165 * sysdeps/x86_64/elf/start.S: Moved to ...
48166 * sysdeps/x86_64/start.S: ... here.
48167 * sysdeps/x86_64/elf/configure: Delete.
48169 * sysdeps/x86_64/configure.in: Merge contents from
48170 sysdeps/i386/configure.in (without i686 check).
48172 * sysdeps/i386/elf/Versions: Merge into ...
48173 * sysdeps/i386/Versions: ... this.
48174 * sysdeps/i386/elf/Versions: Delete file.
48175 * sysdeps/i386/elf/start.S: Moved to ...
48176 * sysdeps/i386/start.S: ...here.
48177 * sysdeps/i386/elf/configure.in: Merge into...
48178 * sysdeps/i386/configure.in: ...here.
48179 * sysdeps/i386/elf/configure.in: Delete file.
48180 * sysdeps/i386/elf/configure: Delete file.
48182 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
48183 * debug/backtracesyms.c: ... here.
48184 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
48185 * debug/backtracesymsfd.c: ... here.
48186 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
48187 * sysdeps/generic/ifunc-sel.h: ... here.
48189 * sysdeps/unix/i386/start.c: Delete file.
48190 * sysdeps/unix/sparc/start.c: Delete file.
48191 * sysdeps/unix/start.c: Delete file.
48193 * sysdeps/sh/elf/configure.in: Moved to ...
48194 * sysdeps/sh/configure.in: ... here.
48195 * sysdeps/sh/elf/start.S: Moved to ...
48196 * sysdeps/sh/start.S: ... here.
48197 * sysdeps/sh/elf/configure: Delete file.
48199 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
48200 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
48201 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
48202 * sysdeps/powerpc/powerpc64/entry.h: ... here.
48203 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
48204 * sysdeps/powerpc/powerpc64/start.S: here.
48205 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
48206 * sysdeps/powerpc/powerpc64/Makefile: ... this.
48207 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
48208 * sysdeps/powerpc/powerpc64/configure.in: ... this.
48209 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
48211 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
48212 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
48213 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
48214 * sysdeps/powerpc/powerpc32/start.S: ... here.
48215 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
48216 * sysdeps/powerpc/powerpc32/configure.in: ... this.
48217 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
48219 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
48220 * sysdeps/powerpc/ifunc-sel.h: ... here.
48221 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
48222 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
48224 * sysdeps/sparc/elf/configure.in: Moved to ...
48225 * sysdeps/sparc/configure.in: ... here.
48226 * sysdeps/sparc/elf/configure: Delete file.
48227 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
48228 * sysdeps/sparc/sparc32/start.S: ... here.
48229 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
48230 * sysdeps/sparc/sparc64/start.S: ... here.
48231 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
48232 * sysdeps/sparc/sparc32/Makefile: ... this.
48233 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
48234 * sysdeps/sparc/sparc64/Makefile: ... this.
48236 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
48237 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
48238 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
48239 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
48240 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
48241 * sysdeps/s390/s390-32/setjmp.S: ... here.
48242 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
48243 * sysdeps/s390/s390-32/configure.in: ... here.
48244 * sysdeps/s390/s390-32/elf/configure: Delete file.
48245 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
48246 * sysdeps/s390/s390-32/start.S: ... here.
48248 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
48249 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
48250 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
48251 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
48252 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
48253 * sysdeps/s390/s390-64/setjmp.S: ... here.
48254 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
48255 * sysdeps/s390/s390-64/configure.in: ... here
48256 * sysdeps/s390/s390-64/elf/configure: Delete file.
48257 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
48258 * sysdeps/s390/s390-64/start.S: ... here.
48259 * sysdeps/s390/s390-64/elf/configure: Delete.
48261 * configure.in: Remove support for elf directories in sysdeps.
48263 * configure: Regenerated.
48264 * sysdeps/i386/configure: Regenerated.
48265 * sysdeps/powerpc/powerpc32/configure: Regenerated.
48266 * sysdeps/powerpc/powerpc64/configure: Regenerated.
48267 * sysdeps/s390/s390-32/configure: Regenerated.
48268 * sysdeps/s390/s390-64/configure: Regenerated.
48269 * sysdeps/sh/configure: Regenerated.
48270 * sysdeps/sparc/configure: Regenerated.
48271 * sysdeps/x86_64/configure: Regenerated.
48273 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
48275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48277 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
48278 denormal result into account.
48280 2012-03-25 Roland McGrath <roland@hack.frob.com>
48282 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
48283 Reported by Allan McRae <allan@archlinux.org>.
48285 2012-03-23 Jeff Law <law@redhat.com>
48287 * nss/getnssent.c (__nss_getent): Fix typo.
48289 2012-03-23 David S. Miller <davem@davemloft.net>
48291 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48293 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
48295 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
48296 to pad to uint64_t for each field.
48297 (dl_tls_index): Replace unsigned long with uint64_t.
48299 2012-03-23 Daniel Jacobowitz <dmj@google.com>
48300 Paul Pluzhnikov <ppluzhnikov@google.com>
48303 * grp/Makefile (otherlibs): Don't set it.
48304 * inet/Makefile (otherlibs): Likewise.
48305 * login/Makefile (otherlibs): Likewise.
48306 * nscd/Makefile (otherlibs): Likewise.
48307 * posix/Makefile (otherlibs): Likewise.
48308 * pwd/Makefile (otherlibs): Likewise.
48309 * rt/Makefile (otherlibs): Likewise.
48310 * sunrpc/Makefile (otherlibs): Likewise.
48311 * nss/Makefile (otherlibs): Likewise.
48312 Add libnss_files to routines and static-only-routines.
48313 ($(objpfx)getent): Remove rule.
48314 * resolv/Makefile: Add libnss_dns and libresolv to routines and
48315 static-only-routines.
48317 2012-03-22 Joseph Myers <joseph@codesourcery.com>
48320 * math/s_cexp.c: Include <float.h>.
48321 (__cexp): Handle exp result overflowing not necessarily
48322 overflowing both real and imaginary parts of result.
48323 * math/s_cexpf.c: Likewise.
48324 * math/s_cexpl.c: Likewise.
48325 * math/libm-test.inc (cexp_test): Add more tests.
48326 * sysdeps/i386/fpu/libm-test-ulps: Update.
48327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48329 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
48331 * include/link.h (ELFW): New macro.
48332 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
48333 Replace ELF64_R_TYPE with ELFW(R_TYPE).
48335 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
48337 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
48340 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
48342 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
48344 (struct La_x32_retval): Likewise.
48346 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
48348 * sysdeps/x86_64/preconfigure.in: New file.
48349 * sysdeps/x86_64/preconfigure: New generated file.
48351 2012-03-22 Joseph Myers <joseph@codesourcery.com>
48354 * math/e_exp2l.c: Include <float.h>.
48355 (__ieee754_exp2l): Handle overflow and underflow cases
48356 separately. Only pass fractional part of argument to
48358 * math/libm-test.inc (exp2_test): Add more tests.
48360 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
48361 negating x to take absolute value.
48362 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
48364 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
48365 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
48367 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
48368 computing low part if x was negated.
48369 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
48371 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
48373 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
48374 la_x32_gnu_pltexit.
48375 (pltexit): Cast int_retval to ptrdiff_t.
48376 * elf/tst-auditmod3b.c: Likewise.
48377 * elf/tst-auditmod4b.c: Likewise.
48378 * elf/tst-auditmod5b.c: Likewise.
48379 * elf/tst-auditmod6b.c: Likewise.
48380 * elf/tst-auditmod6c.c: Likewise.
48381 * elf/tst-auditmod7b.c: Likewise.
48383 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
48384 and x32_gnu_pltexit.
48386 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
48387 __ELF_NATIVE_CLASS.
48388 (La_x32_regs): New macro.
48389 (La_x32_retval): Likewise.
48390 (la_x32_gnu_pltenter): New function prototype.
48391 (la_x32_gnu_pltexit): Likewise.
48393 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
48395 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
48398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48400 * configure.in (libc_cv_cc_nofma): Check for option to disable
48401 generation of FMA instructions.
48402 * configure: Regenerate.
48403 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
48404 * sysdeps/ieee754/dbl-64/Makefile: New file.
48405 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
48406 Remove brandred-fma4.
48407 (CFLAGS-brandred-fma4.c): Remove.
48408 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
48409 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
48411 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
48414 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
48416 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
48417 LLONG_MAX != LONG_MAX.
48418 (_itoa_word): Use _ITOA_WORD_TYPE on value.
48419 (_fitoa_word): Likewise.
48420 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
48421 LLONG_MAX != LONG_MAX.
48422 * stdio-common/_itowa.h: Include <_itoa.h>.
48423 (_itowa_word): Use _ITOA_WORD_TYPE on value.
48424 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
48425 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
48426 only if not defined.
48427 (_ITOA_WORD_TYPE): Likewise.
48428 (_itoa_word): Use _ITOA_WORD_TYPE on value.
48429 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
48431 2012-03-21 David S. Miller <davem@davemloft.net>
48433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48435 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
48437 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
48438 of x86_64 when setting libc_cv_slibdir, libdir and
48440 * sysdeps/unix/sysv/linux/configure: Regenerated.
48442 2012-03-21 Joseph Myers <joseph@codesourcery.com>
48444 * manual/lang.texi (Old Varargs): Remove section.
48445 (How Variadic): Update menu.
48446 (va_start): Do not mention varargs.h.
48448 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
48449 Joseph Myers <joseph@codesourcery.com>
48451 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
48453 * configure: Regenerated.
48455 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
48457 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
48458 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
48461 2012-03-21 Joseph Myers <joseph@codesourcery.com>
48464 * Makefile (files-for-dist): Remove NOTES.
48465 (NOTES): Remove rule.
48466 * README: Don't refer to NOTES.
48467 * manual/creature.texi: Don't include macros.texi.
48468 * manual/intro.texi (creature.texi): Remove comment referring to
48471 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
48472 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
48473 * configure: Regenerated.
48474 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
48475 LIBC_TRY_CC_OPTION.
48476 (libc_cv_as_i686): Likewise.
48477 (libc_cv_cc_avx): Likewise.
48478 (libc_cv_cc_sse2avx): Likewise.
48479 (libc_cv_cc_fma4): Likewise.
48480 (libc_cv_cc_novzeroupper): Likewise.
48481 * sysdeps/i386/configure: Regenerated.
48484 * sysdeps/i386/fpu/s_cexp.S: Remove.
48485 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48486 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48487 * math/libm-test.inc (cexp_test): Add more tests.
48488 * sysdeps/i386/fpu/libm-test-ulps: Update.
48489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48491 2012-03-21 Allan McRae <allan@archlinux.org>
48493 * timezone/Makefile: Do not install iso3166.tab and zone.tab
48495 2012-03-21 Joseph Myers <joseph@codesourcery.com>
48498 * math/w_exp2.c: Do not include <float.h>.
48499 (o_threshold, u_threshold): Remove.
48500 (__exp2): Calculate result before checking finiteness and calling
48502 * math/w_exp2f.c: Likewise.
48503 * math/w_exp2l.c: Likewise.
48504 * math/libm-test.inc (exp2_test): Require overflow exception for
48508 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
48509 range of signed 64-bit integers before using fistpll. Remove
48510 checks for whether integers fit in mantissa bits.
48511 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
48512 the range of signed 32-bit integers before using fistpl. Remove
48513 checks for whether integers fit in mantissa bits.
48514 * sysdeps/i386/fpu/e_powl.S (p64): New object.
48515 (__ieee754_powl): Test for y outside the range of signed 64-bit
48516 integers before using fistpll. Reduce 64-bit values to 63-bit
48518 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
48519 divide-by-zero is raised for zero to large negative powers.
48520 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
48521 (__ieee754_powl): Test for y outside the range of signed 64-bit
48522 integers before using fistpll. Reduce 64-bit values to 63-bit
48524 * math/libm-test.inc (pow_test): Add more tests.
48526 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
48528 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
48529 <stdio-common/_itoa.h>.
48530 * debug/segfault.c: Likewise.
48531 * elf/dl-cache.c: Likewise.
48532 * elf/dl-minimal.c: Likewise.
48533 * elf/dl-misc.c: Likewise.
48534 * elf/dl-sysdep.c: Likewise.
48535 * elf/dl-version.c: Likewise.
48536 * elf/rtld.c: Likewise.
48537 * hurd/hurdsock.c: Likewise.
48538 * hurd/lookup-retry.c: Likewise.
48539 * malloc/malloc.c: Likewise.
48540 * malloc/mtrace.c: Likewise.
48541 * nscd/nscd_getgr_r.c: Likewise.
48542 * nscd/nscd_getpw_r.c: Likewise.
48543 * nscd/nscd_getserv_r.c: Likewise.
48544 * posix/getopt_init.c: Likewise.
48545 * posix/wordexp.c: Likewise.
48546 * stdio-common/_itoa.c: Likewise.
48547 * stdio-common/printf_fphex.c: Likewise.
48548 * stdio-common/vfprintf.c: Likewise.
48549 * string/_strerror.c: Likewise.
48550 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
48551 * sysdeps/i386/i686/hp-timing.h: Likewise.
48552 * sysdeps/mach/_strerror.c: Likewise.
48553 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
48554 * sysdeps/mach/hurd/sethostid.c: Likewise.
48555 * sysdeps/mach/hurd/xmknodat.c: Likewise.
48556 * sysdeps/mach/xpg-strerror.c: Likewise.
48557 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
48558 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
48559 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
48560 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
48561 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
48562 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
48563 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
48564 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
48565 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
48566 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
48567 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
48568 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
48569 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
48570 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
48571 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
48572 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
48573 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
48574 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
48575 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
48576 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
48577 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
48579 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
48581 * stdio-common/_itoa.h: Moved to ...
48582 * sysdeps/generic/_itoa.h: Here.
48584 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
48586 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
48587 instead of "_itoa.h" and "_itowa.h".
48588 * stdio-common/vfprintf.: Likewise.
48590 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
48592 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
48594 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
48595 (__signbit): Likwise.
48596 (llrintf): Likwise.
48599 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
48601 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
48604 2012-03-20 Joseph Myers <joseph@codesourcery.com>
48606 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
48607 OVERFLOW_EXCEPTION_OK.
48608 * math/libm-test.inc ("Philosophy"): Update comment about
48610 (OVERFLOW_EXCEPTION): Define.
48611 (OVERFLOW_EXCEPTION_OK): Likewise.
48612 (INVALID_EXCEPTION_OK): Renumber.
48613 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48614 (IGNORE_ZERO_INF_SIGN): Likewise.
48615 (test_exceptions): Handle FE_OVERFLOW.
48616 (exp10_test): Expect overflow exceptions.
48617 (exp2_test): Likewise.
48618 (expm1_test): Likewise.
48619 (nextafter_test): Likewise.
48620 (pow_test): Likewise.
48621 (scalbn_test): Likewise.
48622 (scalbln_test): Likewise.
48624 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48626 * sysdeps/x86_64/bits/atomic.h
48627 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
48629 (atomic_exchange_acq): Likewise.
48630 (__arch_exchange_and_add_body): Likewise.
48631 (__arch_add_body): Likewise.
48632 (atomic_add_negative): Likewise.
48633 (atomic_add_zero): Likewise.
48635 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48637 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
48638 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
48640 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48642 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
48643 Check __x86_64__ instead of __WORDSIZE.
48645 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48647 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
48649 2012-03-19 David S. Miller <davem@davemloft.net>
48651 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48653 * sysdeps/sparc/fpu/fenv_private.h: New file.
48654 * sysdeps/sparc/fpu/math_private.h: Use it.
48655 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
48657 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
48658 (libc_feholdexcept_setroundl): Remove.
48659 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
48661 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
48662 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
48664 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48666 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
48667 int64_t instead of long int.
48668 (INSERT_WORDS64): Likwise.
48670 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48672 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
48673 _Unwind_GetCFA return to _Unwind_Ptr first.
48675 2012-03-19 Joseph Myers <joseph@codesourcery.com>
48678 * math/s_clog.c: Include <float.h>.
48679 (__clog): Scale large or subnormal inputs.
48680 * math/s_clogf.c: Likewise.
48681 * math/s_clogl.c: Likewise.
48682 * math/s_clog10.c: Include <float.h>.
48683 (M_LOG10_2): Define.
48684 (__clog10): Scale large or subnormal inputs.
48685 * math/s_clog10f.c: Likewise.
48686 * math/s_clog10l.c: Likewise.
48687 * math/libm-test.inc (clog_test): Add more tests.
48688 (clog10_test): Likewise.
48689 * sysdeps/i386/fpu/libm-test-ulps: Update.
48690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48693 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
48695 * math/libm-test.inc (atan2_test): Add another test.
48697 * Makerules (common-objdir-compile): Remove.
48698 * sysdeps/unix/Makefile (config-generated): Do not add
48699 $(unix-generated) to variable.
48700 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
48701 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
48703 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
48705 [generic bits/local_lim.h] (before-compile): Do not append to
48707 [generic bits/local_lim.h] (common-generated): Likewise.
48708 [generic sys/param.h] (before-compile): Do not append to variable.
48709 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
48710 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
48711 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
48712 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
48714 [generic sys/param.h] (sys/param.h-includes): Remove variable.
48715 [generic sys/param.h] (sys/param.h-includes): Remove rule.
48716 [generic sys/param.h] ($(addprefix
48717 $(common-objpfx),$(sys/param.h-includes))): Likewise.
48718 [generic sys/param.h] (common-generated): Do not append to
48720 [generic sys/param.h] (sysdep_headers): Likewise.
48721 [generic bits/errno.h] (before-compile): Do not append to
48723 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
48725 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
48726 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
48727 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
48728 [generic bits/errno.h] (common-generated): Do not append to
48730 [generic bits/ioctls.h] (before-compile): Do not append to
48732 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
48734 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
48735 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
48736 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
48738 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
48739 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
48740 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
48741 [generic bits/ioctls.h] (common-generated): Do not append to
48743 [generic sys/syscall.h] (syscall.h): Remove variable.
48744 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
48746 [generic sys/syscall.h] (before-compile): Do not append to
48748 [generic sys/syscall.h] (common-generated): Likewise.
48749 * sysdeps/unix/errnos-tmpl.c: Remove file.
48750 * sysdeps/unix/errnos.awk: Likewise.
48751 * sysdeps/unix/ioctls-tmpl.c: Likewise.
48752 * sysdeps/unix/ioctls.awk: Likewise.
48753 * sysdeps/unix/mk-local_lim.c: Likewise.
48754 * sysdeps/unix/snarf-ioctls: Likewise.
48756 2012-03-19 Richard Henderson <rth@twiddle.net>
48758 * sysdeps/i386/fpu/fenv_private.h: New file.
48759 * sysdeps/i386/fpu/math_private.h: Use it.
48760 (math_opt_barrier, math_force_eval): Remove.
48761 (libc_feholdexcept_setround_53bit): Remove.
48762 (libc_feupdateenv_53bit): Remove.
48763 * sysdeps/x86_64/fpu/math_private.h: Likewise.
48764 (math_opt_barrier, math_force_eval): Remove.
48765 (libc_feholdexcept): Remove.
48766 (libc_feholdexcept_setround): Remove.
48767 (libc_fetestexcept, libc_fesetenv): Remove.
48768 (libc_feupdateenv_test): Remove.
48769 (libc_feupdateenv, libc_feholdsetround): Remove.
48770 (libc_feresetround): Remove.
48772 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
48773 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
48775 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
48776 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
48777 (libc_feupdateenv_testl): New.
48778 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
48779 (libc_feupdateenv_testf): New.
48780 (libc_feupdateenv): Use libc_feupdateenv_test.
48781 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
48782 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
48784 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
48785 (libc_feholdsetroundf, libc_feholdsetroundl): New.
48786 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
48787 (libc_feresetround_noex): New.
48788 (libc_feresetround_noexf): New.
48789 (libc_feresetround_noexl): New.
48790 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
48791 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
48792 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
48793 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
48795 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
48796 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
48798 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
48799 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
48800 SET_RESTORE_ROUND_NOEX.
48801 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
48802 SET_RESTORE_ROUND_NOEXF.
48803 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
48804 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
48805 (libc_feholdsetroundf): New.
48806 (libc_feresetround, libc_feresetroundf): New.
48808 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
48809 (libc_feholdexcept_setround_53bit): Convert from macro to function.
48810 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
48812 * sysdeps/generic/math_private.h: Include <fenv.h>.
48813 (default_libc_feholdexcept): New.
48814 (default_libc_feholdexcept_setround): New.
48815 (default_libc_fesetenv, default_libc_feupdateenv): New.
48816 (libc_feholdexcept): Only define if undefined.
48817 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
48818 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
48819 (libc_feholdexcept_setroundl): Likewise.
48820 (libc_feholdexcept_setround_53bit): Likewise.
48821 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
48822 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
48823 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
48824 (libc_feupdateenv_53bit): Likewise.
48825 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
48826 (libc_feholdexcept): Convert from macro to inline function.
48827 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
48828 (libc_fesetenv, libc_feupdateenv): Likewise.
48830 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
48831 not previously defined.
48832 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
48833 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
48834 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
48835 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
48836 * sysdeps/ieee754/flt-32/math_private.h: New file.
48837 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
48838 math_private.h below SET_FLOAT_WORD.
48839 (__isnan, __isinf_ns, __finite): Remove.
48840 (__isnanf, __isinf_nsf, __finitef): Remove.
48842 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
48844 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48846 2012-03-17 David S. Miller <davem@davemloft.net>
48849 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
48852 2012-03-16 David S. Miller <davem@davemloft.net>
48854 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
48858 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
48860 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
48861 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
48862 sysdep_routines when subdir is sysvipc.
48863 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
48864 __getshmlba helper.
48866 * sysdeps/sparc/fpu/libm-test/ulps: Update.
48868 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48870 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
48873 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48875 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
48876 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
48877 (__lround): Renamed to ...
48878 (__llround): This. Replace long int with long long int.
48879 Define lround functions as aliases of llround functions.
48880 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
48882 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48884 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
48885 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
48886 adresses to uintptr_t. Replace "long int" and "unsigned long
48887 int" with "greg_t" on va_arg.
48889 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48891 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
48892 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
48894 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
48895 Move e_machine check before EI_CLASS check. Handle x32
48896 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
48897 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
48898 SKIP_EM_IA_64 and include
48899 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
48901 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
48902 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
48903 (add_system_dir): New macro.
48905 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
48906 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
48908 2012-03-16 Joseph Myers <joseph@codesourcery.com>
48919 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
48921 * math/w_j0f.c (j0f): Likewise.
48923 * math/w_j0l.c (__j0l): Likewise.
48925 * math/w_j1.c (j1): Likewise.
48927 * math/w_j1f.c (j1f): Likewise.
48929 * math/w_j1l.c (__j1l): Likewise.
48931 * math/w_jn.c (jn): Likewise.
48933 * math/w_jnf.c (jnf): Likewise.
48935 * math/w_jnl.c (__jnl): Likewise.
48937 * math/libm-test.inc (j0_test): Add more tests.
48938 (j1_test): Likewise.
48939 (jn_test): Likewise. Add trailing semicolon to existing test.
48940 (y0_test): Likewise.
48941 (y1_test): Likewise.
48942 * sysdeps/i386/fpu/libm-test-ulps: Update.
48943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48947 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
48948 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
48949 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
48950 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
48951 (__tanl): Set errno for infinite argument.
48952 * sysdeps/i386/fpu/mptan.c: Remove.
48953 * sysdeps/i386/fpu/s_tan.S: Likewise.
48954 * sysdeps/i386/fpu/s_tanl.S: Likewise.
48955 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
48956 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
48957 * math/libm-test.inc (tan_test): Add more tests and enable more
48958 tests for double and long double.
48959 * sysdeps/i386/fpu/libm-test-ulps: Update.
48960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48962 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
48964 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
48965 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
48967 2012-03-16 Roland McGrath <roland@hack.frob.com>
48969 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
48970 * configure.in: Use it for both main tree and add-ons.
48971 * configure: Regenerated.
48973 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48975 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
48977 2012-03-16 Joseph Myers <joseph@codesourcery.com>
48979 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
48983 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
48984 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
48985 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
48986 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
48987 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
48989 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
48990 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
48991 != 0 for prec == 2.
48992 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
48993 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
48994 * sysdeps/i386/fpu/s_cosl.S: Likewise.
48995 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
48996 * sysdeps/i386/fpu/s_sinl.S: Likewise.
48997 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
48998 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
48999 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
49000 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
49001 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
49002 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
49003 * math/libm-test.inc (cos_test): Add more tests and enable more
49004 tests for long double.
49005 (sin_test): Likewise.
49006 (sincos_test): Likewise.
49007 * sysdeps/i386/fpu/libm-test-ulps: Update.
49008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49010 2012-03-16 David S. Miller <davem@davemloft.net>
49012 * sysdeps/sparc/fpu/math_private.h: New file.
49014 2012-03-15 David S. Miller <davem@davemloft.net>
49016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
49018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
49019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
49021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
49022 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
49023 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
49024 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
49025 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
49026 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
49028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
49030 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
49031 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
49033 * sysdeps/sparc/sparc-ifunc.h: New file.
49034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
49036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
49037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
49039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
49041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
49042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
49043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
49046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
49047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
49048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
49050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
49052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
49054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
49055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
49056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
49057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
49058 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
49059 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
49060 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
49061 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
49062 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
49063 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
49064 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
49065 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
49066 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
49067 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
49068 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
49069 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
49070 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
49071 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
49072 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
49073 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
49074 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
49075 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
49076 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
49077 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
49079 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
49081 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
49083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49085 2012-03-15 Andreas Jaeger <aj@suse.de>
49088 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
49089 ieee754/flt-32 implementation for sin, cos and sincos.
49090 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
49091 * sysdeps/i386/fpu/s_cosf.S: Likewise.
49092 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
49093 * sysdeps/i386/fpu/s_sinf.S: Likewise.
49094 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
49095 ieee754/flt-32 implementation for tan.
49097 * math/libm-test.inc (cos_test): Enable some large input tests for
49099 (sin_test): Likewise.
49100 (sincos_test): Likewise.
49101 (tan_test): Add tests for large input.
49103 * sysdeps/i386/fpu/libm-test-ulps: Update.
49105 2012-03-15 Andreas Jaeger <aj@suse.de>
49108 * math/libm-test.inc (cos_test): Add more test cases.
49109 (sin_test): Likewise.
49110 (sincos_test): Likewise.
49112 2012-03-15 Andreas Jaeger <aj@suse.de>
49115 * math/libm-test.inc (cos_test): Add a test case for large input
49117 (sin_test): Likewise.
49118 (sincos_test): Likewise.
49120 2012-03-15 Andreas Jaeger <aj@suse.de>
49121 Joseph Myers <joseph@codesourcery.com>
49124 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
49125 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
49126 * sysdeps/i386/fpu/branred.c: Likewise.
49127 * sysdeps/i386/fpu/dosincos.c: Likewise.
49128 * sysdeps/i386/fpu/mpa.c: Likewise.
49129 * sysdeps/i386/fpu/s_cos.S: Likewise.
49130 * sysdeps/i386/fpu/s_sin.S: Likewise.
49131 * sysdeps/i386/fpu/s_sincos.S: Likewise.
49132 * sysdeps/i386/fpu/sincos32.c: Likewise.
49134 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
49136 (libc_feupdateenv_53bit): Define.
49137 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
49139 (libc_feupdateenv_53bit): Define.
49141 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
49142 53 bit (without extend i386 double precision).
49144 * math/libm-test.inc (sincos_test): Add tests for large input.
49148 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
49150 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
49152 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49154 2012-03-15 David S. Miller <davem@davemloft.net>
49156 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
49157 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
49158 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
49159 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
49160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
49161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
49162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
49163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
49164 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
49165 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
49166 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
49167 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
49168 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
49169 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
49170 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
49171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
49173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
49174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
49176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
49177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
49179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
49180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
49182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
49183 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
49184 fmin/fmax sysdep routines.
49185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
49187 2012-03-14 David S. Miller <davem@davemloft.net>
49189 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
49190 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
49191 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
49192 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
49193 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
49194 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
49195 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
49196 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
49197 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
49198 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
49199 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
49200 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
49201 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
49202 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
49203 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
49204 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
49205 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
49206 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
49207 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
49208 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
49209 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
49210 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
49211 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
49212 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
49213 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
49214 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
49215 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
49216 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
49217 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
49219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
49221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
49222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
49224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
49225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
49227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
49228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
49230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
49231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
49233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
49234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
49236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
49238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
49240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
49242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
49244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
49246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
49248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
49249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
49251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
49252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
49254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
49255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
49257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
49258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
49261 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
49264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49266 * sysdeps/sparc/configure.in: New file.
49267 * sysdeps/sparc/configure: Generate.
49268 * configure.in (libc_cv_sparc_as_vis3): Substitute.
49269 * configure: Regenerate.
49270 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
49271 * config.make.in (have-as-vis3): New.
49272 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
49273 available use -Av9d instead of -Av9a.
49274 * sysdeps/sparc/sparc64/Makefile: Likewise.
49275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
49276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
49278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
49280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
49282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
49284 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
49285 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
49286 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
49287 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
49288 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
49290 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
49291 fzeros/fnegs to load 0x80000000 into a float register instead of
49293 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
49295 2012-03-14 Joseph Myers <joseph@codesourcery.com>
49297 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49299 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
49300 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
49301 ($(inst_includedir)/bits/syscall.h): Remove rule.
49302 ($(objpfx)bits/syscall.d): Include instead of
49303 $(objpfx)syscall-list.d.
49304 (generated): Change syscall-list.h and syscall-list.d to
49305 bits/syscall.h and bits/syscall.d.
49307 2012-03-14 Roland McGrath <roland@hack.frob.com>
49310 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
49312 2012-03-14 Joseph Myers <joseph@codesourcery.com>
49315 * math/s_csqrt.c: Include <float.h>.
49316 (__csqrt): Scale large or subnormal inputs.
49317 * math/s_csqrtf.c: Likewise.
49318 * math/s_csqrtl.c: Likewise.
49319 * math/libm-test.inc (csqrt_test): Add more tests.
49320 * sysdeps/i386/fpu/libm-test-ulps: Update.
49321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49324 * math/libm-test.inc (hypot_test): Add more tests.
49326 2012-03-13 David S. Miller <davem@davemloft.net>
49329 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
49330 double-precision for the calculation instead of scaling.
49332 2012-03-13 Joseph Myers <joseph@codesourcery.com>
49334 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
49335 manipulate bits before adding and subtracting TWO52[sx].
49336 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
49337 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
49339 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
49341 2012-03-13 David S. Miller <davem@davemloft.net>
49343 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
49344 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
49345 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
49346 rtld-global-offsets.h
49347 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49349 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
49352 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
49354 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
49355 'err' in the ifdef scope in which it is actually used.
49357 * nss/nss_db/db-init.c: Include string.h
49359 2012-03-12 David S. Miller <davem@davemloft.net>
49361 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49362 masking out of the most significant byte of random value used.
49363 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49364 Fix coding style in previous change.
49366 * sysdeps/unix/sysv/linux/kernel-features.h
49367 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
49368 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
49370 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
49373 2012-03-11 David S. Miller <davem@davemloft.net>
49375 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
49376 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
49377 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
49378 for 'resultvar' otherwise things get truncated on 64-bit.
49380 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49381 Fix masking out of the most significant byte of random value used.
49383 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49385 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
49387 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49389 2012-03-09 David S. Miller <davem@davemloft.net>
49391 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
49392 variables with appropriate CPP guards.
49393 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
49394 from the frame pointer, not the stack pointer. Correct layout
49395 comments. Fix test on resulting framesize and the management of
49396 the outregs buffer for pltexit. Preserve floating point return
49397 values across _dl_call_pltexit call.
49398 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
49399 framesize and the management of the outregs buffer for pltexit.
49400 Preserve floating point return values across _dl_call_pltexit
49402 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
49403 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
49404 (la_sparc64_gnu_pltexit): New functions.
49405 (print_exit): Fix format string for return register value.
49407 2012-03-10 Joseph Myers <joseph@codesourcery.com>
49409 * sunrpc/Makefile (others): Add rpcgen.
49410 ($(objpfx)rpcgen): Remove special build rule and dependency on
49412 * sunrpc/rpcgen.c: New file.
49414 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
49417 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
49418 * stdio-common/bug-vfprintf-nargs.c: Likewise.
49419 * sysdeps/i386/crti.S: Likewise.
49420 * sysdeps/i386/crtn.S: Likewise.
49421 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
49422 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
49423 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
49424 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
49425 * sysdeps/sh/crti.S: Likewise.
49426 * sysdeps/sh/crtn.S: Likewise.
49427 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
49430 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
49432 * locale/programs/locfile-kw.gperf: Likewise.
49433 * locale/programs/charmap-kw.h: Regenerated.
49434 * locale/programs/locfile-kw.h: Likewise.
49437 * intl/plural.y: Replace FSF snail mail address with URL.
49438 * intl/plural.c: Regenerated.
49440 2012-03-09 Richard Henderson <rth@twiddle.net>
49442 * include/math_private.h: Remove file.
49443 * math/math_private.h: Move file ...
49444 * sysdeps/generic/math_private.h: ... here.
49446 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
49447 * sysdeps/powerpc/fpu/math_private.h: Likewise.
49448 * sysdeps/x86_64/fpu/math_private.h: Likewise.
49450 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
49451 and <math_private.h>.
49452 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49453 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49454 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49455 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49456 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49457 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
49458 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49459 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49460 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49461 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49462 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49463 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49464 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49465 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49466 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49467 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49468 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49469 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49470 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49471 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49472 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49473 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49474 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49475 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49476 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
49477 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49478 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49479 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49480 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49481 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49482 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49483 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49484 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
49485 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49486 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49487 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49488 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49489 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49490 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49491 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49492 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
49493 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49494 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49495 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
49496 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
49497 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49498 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
49499 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
49500 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49501 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49502 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
49503 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
49504 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
49505 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49506 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
49507 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49508 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49509 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
49510 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
49511 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
49512 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49513 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
49514 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49515 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49516 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
49517 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49518 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49519 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49520 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
49521 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
49522 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
49523 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49524 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
49525 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49526 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
49527 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
49528 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
49529 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49530 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
49531 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
49532 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
49533 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
49534 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
49535 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49536 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49537 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
49538 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
49539 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
49540 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49541 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49542 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49543 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
49544 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49545 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
49546 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
49547 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
49548 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49549 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
49550 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49551 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
49552 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
49553 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49554 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49555 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49556 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49557 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49558 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49559 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49560 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49561 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49562 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49563 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49564 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
49565 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49566 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
49567 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49568 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49569 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49570 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49571 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49572 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49573 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49574 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49575 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
49576 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49577 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49578 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49579 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
49580 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49581 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
49582 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
49583 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49584 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49585 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
49586 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
49587 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49588 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49589 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49590 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
49591 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49592 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49593 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49594 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49595 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
49596 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
49597 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49598 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49599 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49600 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
49601 * sysdeps/ieee754/k_standard.c: Likewise.
49602 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49603 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49604 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49605 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49606 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49607 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49608 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49609 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49610 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49611 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49612 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49613 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49614 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49615 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49616 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49617 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49618 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
49619 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49620 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49621 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
49622 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
49623 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
49624 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49625 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49626 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
49627 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
49628 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49629 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49630 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49631 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49632 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
49633 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49634 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49635 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49636 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
49637 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49638 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49639 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
49640 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
49641 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49642 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
49643 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
49644 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
49645 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49646 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
49647 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
49648 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49649 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49650 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49651 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49652 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49653 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
49654 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49655 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
49656 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49657 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49658 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
49659 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
49660 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49661 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49662 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49663 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
49664 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49665 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49666 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49667 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49668 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49669 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49670 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49671 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49672 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49673 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49674 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49675 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49676 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49677 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49678 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
49679 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49680 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49681 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
49682 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
49683 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
49684 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49685 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49686 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
49687 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49688 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49689 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
49690 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
49691 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49692 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
49693 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49694 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
49695 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
49696 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49697 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49698 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
49699 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
49700 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
49701 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
49702 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49703 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49704 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49705 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49706 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
49707 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49708 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49709 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
49710 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
49711 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49712 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49713 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49714 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49715 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49716 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49717 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49718 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49719 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49720 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49721 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49722 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49723 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49724 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49725 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49726 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49727 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
49728 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49729 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49730 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49731 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49732 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49733 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49734 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49735 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
49736 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49737 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49738 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
49739 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
49740 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49741 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
49742 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
49743 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49744 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
49745 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
49746 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49747 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49748 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49749 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49750 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49751 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
49752 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49753 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49754 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49755 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49756 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
49757 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
49758 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49759 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49760 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49761 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
49762 * sysdeps/ieee754/s_lib_version.c: Likewise.
49763 * sysdeps/ieee754/s_matherr.c: Likewise.
49764 * sysdeps/ieee754/s_signgam.c: Likewise.
49765 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49766 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49767 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
49768 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
49769 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
49770 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
49771 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
49772 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
49773 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
49774 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
49775 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
49776 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
49777 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49778 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49779 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
49780 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
49781 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49782 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
49783 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49784 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49785 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49787 2012-03-09 Joseph Myers <joseph@codesourcery.com>
49789 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
49790 * sunrpc/rpc_main.c: Likewise.
49791 * sunrpc/rpc_svcout.c: Likewise.
49793 2012-03-09 David S. Miller <davem@davemloft.net>
49795 * include/math_private.h: New file.
49797 2012-03-09 Joseph Myers <joseph@codesourcery.com>
49799 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
49800 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
49801 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
49802 from <bits/socket_type.h>.
49803 (enum __socket_type): Don't define here.
49804 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
49805 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49806 bits/socket_type.h.
49809 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
49810 checking __USE_GNU.
49812 * Makerules ($(inst_includedir)/%.h): New rule.
49813 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
49814 (install-others): Remove variable setting.
49815 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
49817 2012-03-08 Richard Henderson <rth@twiddle.net>
49819 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
49820 from macro to inline function; merge with the
49821 !__LIBC_INTERNAL_MATH_INLINES version.
49822 (__ieee754_sqrtf): Likewise.
49824 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
49825 to inline function.
49826 (__rintf, __floor, __floorf): Likewise.
49828 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
49829 macro to inline function.
49830 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
49832 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
49833 not <math/math_private.h>.
49835 2012-03-08 David S. Miller <davem@davemloft.net>
49837 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
49839 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
49841 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
49843 * resolv/gai_misc.c (handle_requests): Fix struct timespec
49845 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
49846 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
49848 2012-03-08 Ulrich Drepper <drepper@gmail.com>
49850 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
49851 be defined individually, they must be defined as a block. Define
49852 S for printing a string instead of hidint the different by using a
49853 macro for adding the 'l'.
49854 * stdio-common/tst-fphex-wide.c: Adjust.
49856 2012-03-07 Marek Polacek <polacek@redhat.com>
49858 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
49860 2012-03-08 Marek Polacek <polacek@redhat.com>
49863 * stdio-common/Makefile (tests): Add tst-fphex-wide.
49864 * stdio-common/tst-fphex.c: Define a few macros to make the
49865 test reusable. Use them.
49866 * stdio-common/tst-fphex-wide.c: New file.
49868 2012-03-08 Joseph Myers <joseph@codesourcery.com>
49871 * manual/macros.texi (gnusystems): New macro.
49872 (nongnusystems): Likewise.
49873 (gnulinuxhurdsystems): Likewise.
49874 (gnuhurdsystems): Likewise..
49875 (gnulinuxsystems): Likewise.
49876 * manual/charset.texi: Use new macros or @theglibc{} to refer to
49877 variants of the GNU system, not "GNU system".
49878 * manual/conf.texi: Likewise.
49879 * manual/errno.texi: Likewise. Update example of errno macro
49881 * manual/filesys.texi: Likewise.
49882 (getumask): Document as specific to GNU/Hurd.
49883 * manual/install.texi: Likewise. Reword some references to
49885 * manual/intro.texi: Likewise.
49886 * manual/io.texi: Likewise.
49887 (File Name Portability): Detail which constraints are inapplicable
49888 to all GNU systems and which are only inapplicable to GNU/Hurd.
49889 * manual/job.texi: Likewise.
49890 * manual/llio.texi: Likewise.
49891 (O_NOCTTY): Document as present on GNU/Linux.
49892 * manual/maint.texi: Likewise.
49893 * manual/memory.texi: Likewise.
49894 * manual/pattern.texi: Likewise.
49895 * manual/pipe.texi: Likewise.
49896 * manual/process.texi: Likewise.
49897 * manual/resource.texi: Likewise.
49898 (RUSAGE_CHILDREN): Remove statement about specifying a particular
49900 * manual/setjmp.texi: Likewise.
49901 * manual/signal.texi: Likewise.
49902 * manual/startup.texi: Likewise.
49903 * manual/stdio.texi: Likewise.
49904 * manual/terminal.texi: Likewise.
49905 (ONLCR): Document as POSIX.
49906 (OXTABS): Document availability on GNU/Linux as XTABS.
49907 (ONOEOT): Document availability separately from other bits.
49908 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
49909 * manual/time.texi: Likewise.
49910 * manual/users.texi: Likewise.
49911 * INSTALL: Regenerated.
49912 * sysdeps/gnu/errlist.c: Regenerated.
49914 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
49915 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
49916 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
49918 * configure: Regenerated.
49920 2012-03-07 Joseph Myers <joseph@codesourcery.com>
49922 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
49923 default includes instead of AC_HEADER_CHECK.
49924 * sysdeps/i386/configure: Regenerated.
49927 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
49928 * math/s_cacoshf.c (__cacoshf): Likewise.
49929 * math/s_cacoshl.c (__cacoshl): Likewise.
49930 * math/s_casinh.c (__casinh): Set signs of result from argument.
49931 * math/s_casinhf.c (__casinhf): Likewise.
49932 * math/s_casinhl.c (__casinhl): Likewise.
49933 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
49934 (casinh_test): Add more tests.
49935 * sysdeps/i386/fpu/libm-test-ulps: Update.
49936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49938 2012-03-07 Ulrich Drepper <drepper@gmail.com>
49940 * po/zh_TW.po: Update from translation team.
49942 * login/Makefile (distribute): Remove variable.
49943 * catgets/Makefile: Likewise.
49944 * mach/Makefile: Likewise.
49945 * malloc/Makefile: Likewise.
49946 * misc/Makefile: Likewise.
49947 * iconv/Makefile: Likewise.
49948 * nscd/Makefile: Likewise.
49949 * hurd/Makefile: Likewise.
49950 * manual/Makefile: Likewise.
49951 * locale/Makefile: Likewise.
49952 * intl/Makefile: Likewise.
49953 * conform/Makefile: Likewise.
49954 * nss/Makefile: Likewise.
49955 * time/Makefile: Likewise.
49956 * soft-fp/Makefile: Likewise.
49957 * dirent/Makefile: Likewise.
49958 * gmon/Makefile: Likewise.
49959 * po/Makefile: Likewise.
49960 * rt/Makefile: Likewise.
49961 * socket/Makefile: Likewise.
49962 * math/Makefile: Likewise.
49963 * signal/Makefile: Likewise.
49964 * debug/Makefile: Likewise.
49965 * elf/Makefile: Likewise.
49966 * timezone/Makefile: Likewise.
49967 * stdlib/Makefile: Likewise.
49968 * iconvdata/Makefile: Likewise.
49969 * sunrpc/Makefile: Likewise.
49970 * io/Makefile: Likewise.
49971 * argp/Makefile: Likewise.
49972 * inet/Makefile: Likewise.
49973 * hesiod/Makefile: Likewise.
49974 * grp/Makefile: Likewise.
49975 * csu/Makefile: Likewise.
49976 * wctype/Makefile: Likewise.
49977 * crypt/Makefile: Likewise.
49978 * libio/Makefile: Likewise.
49979 * string/Makefile: Likewise.
49980 * nis/Makefile: Likewise.
49981 * resolv/Makefile: Likewise.
49982 * stdio-common/Makefile: Likewise.
49983 * wcsmbs/Makefile: Likewise.
49984 * dlfcn/Makefile: Likewise.
49985 * posix/Makefile: Likewise.
49988 * timezone/Makefile: Don't install timezone files, just the programs
49991 2012-03-06 Ulrich Drepper <drepper@gmail.com>
49993 * nss/databases.def: Add missing gshadow entry.
49995 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
49997 2012-03-06 Marek Polacek <polacek@redhat.com>
50000 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
50001 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
50002 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
50003 * stdio-common/tst-long-dbl-fphex.c: New file.
50005 2012-03-06 David S. Miller <davem@davemloft.net>
50007 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50008 (set_obp_int): New function.
50009 (get_obp_int): New function.
50010 (__get_clockfreq_via_dev_openprom): Likewise.
50011 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
50012 Avoid unused variable warnings on 'val' and use builtin_expect.
50013 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
50015 (INLINE_CLONE_SYSCALL): Likewise.
50017 2012-03-05 David S. Miller <davem@davemloft.net>
50019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50021 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
50023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50025 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
50026 only for |x| >= 40.
50027 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50029 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
50031 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
50032 Replace gettimeofday with __vdso_gettimeofday.
50034 * sysdeps/unix/sysv/linux/x86_64/init-first.c
50035 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
50036 __vdso_clock_gettime and __vdso_getcpu.
50038 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
50039 time with __vdso_time.
50041 2012-03-05 Joseph Myers <joseph@codesourcery.com>
50043 * manual/lang.texi (size_t): Note types to which size_t may be
50044 equivalent with the GNU C Library, but do not describe when
50045 differences between them are significant.
50047 2012-03-05 Andreas Jaeger <aj@suse.de>
50049 * sysdeps/i386/fpu/libm-test-ulps: Update.
50051 2012-03-05 Joseph Myers <joseph@codesourcery.com>
50054 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
50055 (__ieee754_pow): Save and restore rounding mode and use
50056 round-to-nearest for main computations.
50057 * math/libm-test.inc (pow_test_tonearest): New function.
50058 (pow_test_towardzero): Likewise.
50059 (pow_test_downward): Likewise.
50060 (pow_test_upward): Likewise.
50061 (main): Call the new functions.
50062 * sysdeps/i386/fpu/libm-test-ulps: Update.
50063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50066 * math/libm-test.inc (cosh_test_tonearest): New function.
50067 (cosh_test_towardzero): Likewise.
50068 (cosh_test_downward): Likewise.
50069 (cosh_test_upward): Likewise.
50070 (sinh_test_tonearest): Likewise.
50071 (sinh_test_towardzero): Likewise.
50072 (sinh_test_downward): Likewise.
50073 (sinh_test_upward): Likewise.
50074 (main): Call the new functions.
50075 * sysdeps/i386/fpu/libm-test-ulps: Update.
50076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50078 2012-03-05 Tom de Vries <tom@codesourcery.com>
50080 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
50081 default stack guard is set in last bytes.
50082 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
50084 2012-03-05 Kees Cook <keescook@chromium.org>
50086 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
50089 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
50090 possibly allocate from heap instead of stack.
50091 * stdio-common/bug-vfprintf-nargs.c: New file.
50092 * stdio-common/Makefile (tests): Add nargs overflow test.
50094 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
50096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50098 2012-03-03 Marek Polacek <polacek@redhat.com>
50100 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
50101 * math/math_private.h: Likewise.
50102 * stdlib/tst-strtod.c: Likewise.
50103 * sysdeps/i386/i486/bits/atomic.h: Likewise.
50104 * sysdeps/x86_64/bits/atomic.h: Likewise.
50106 2012-03-02 David S. Miller <davem@davemloft.net>
50108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
50109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
50110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
50111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
50112 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
50113 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
50114 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
50115 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
50117 2012-03-02 Roland McGrath <roland@hack.frob.com>
50120 * manual/examples/README: New file, says the example source files
50121 can be used under GPL>=2.
50122 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
50123 line containing just "*/".
50124 * manual/examples/add.c: Add copyright header (GPL>=2).
50125 * manual/examples/argp-ex1.c: Likewise.
50126 * manual/examples/argp-ex2.c: Likewise.
50127 * manual/examples/argp-ex3.c: Likewise.
50128 * manual/examples/argp-ex4.c: Likewise.
50129 * manual/examples/atexit.c: Likewise.
50130 * manual/examples/db.c: Likewise.
50131 * manual/examples/dir.c: Likewise.
50132 * manual/examples/dir2.c: Likewise.
50133 * manual/examples/execinfo.c: Likewise.
50134 * manual/examples/filecli.c: Likewise.
50135 * manual/examples/filesrv.c: Likewise.
50136 * manual/examples/fmtmsgexpl.c: Likewise.
50137 * manual/examples/genpass.c: Likewise.
50138 * manual/examples/inetcli.c: Likewise.
50139 * manual/examples/inetsrv.c: Likewise.
50140 * manual/examples/isockad.c: Likewise.
50141 * manual/examples/longopt.c: Likewise.
50142 * manual/examples/memopen.c: Likewise.
50143 * manual/examples/memstrm.c: Likewise.
50144 * manual/examples/mkfsock.c: Likewise.
50145 * manual/examples/mkisock.c: Likewise.
50146 * manual/examples/mygetpass.c: Likewise.
50147 * manual/examples/pipe.c: Likewise.
50148 * manual/examples/popen.c: Likewise.
50149 * manual/examples/rprintf.c: Likewise.
50150 * manual/examples/search.c: Likewise.
50151 * manual/examples/select.c: Likewise.
50152 * manual/examples/setjmp.c: Likewise.
50153 * manual/examples/sigh1.c: Likewise.
50154 * manual/examples/sigusr.c: Likewise.
50155 * manual/examples/stpcpy.c: Likewise.
50156 * manual/examples/strdupa.c: Likewise.
50157 * manual/examples/strftim.c: Likewise.
50158 * manual/examples/strncat.c: Likewise.
50159 * manual/examples/subopt.c: Likewise.
50160 * manual/examples/swapcontext.c: Likewise.
50161 * manual/examples/termios.c: Likewise.
50162 * manual/examples/testopt.c: Likewise.
50163 * manual/examples/testpass.c: Likewise.
50164 * manual/examples/timeval_subtract.c: Likewise.
50167 * manual/time.texi (Elapsed Time): Move timeval_subtract example
50169 * manual/timeval_subtract.c.texi: ... here, new file.
50171 2012-03-02 David S. Miller <davem@davemloft.net>
50173 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
50175 2012-03-02 Joseph Myers <joseph@codesourcery.com>
50178 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
50179 (__sin): Save and restore rounding mode and use round-to-nearest
50180 for all computations.
50181 (__cos): Save and restore rounding mode and use round-to-nearest
50182 for all computations.
50183 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
50185 (tan): Save and restore rounding mode and use round-to-nearest for
50187 * math/libm-test.inc (cos_test_tonearest): New function.
50188 (cos_test_towardzero): Likewise.
50189 (cos_test_downward): Likewise.
50190 (cos_test_upward): Likewise.
50191 (sin_test_tonearest): Likewise.
50192 (sin_test_towardzero): Likewise.
50193 (sin_test_downward): Likewise.
50194 (sin_test_upward): Likewise.
50195 (tan_test_tonearest): Likewise.
50196 (tan_test_towardzero): Likewise.
50197 (tan_test_downward): Likewise.
50198 (tan_test_upward): Likewise.
50199 (main): Call the new functions.
50200 * sysdeps/i386/fpu/libm-test-ulps: Update.
50201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50204 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
50205 small n, then large n, before computing and testing k+n.
50206 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
50207 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
50209 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
50211 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
50212 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
50213 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
50214 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
50215 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
50216 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
50217 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
50218 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
50219 * math/libm-test.inc (scalbn_test): Add more tests.
50220 (scalbln_test): Likewise.
50222 * manual/filesys.texi (mode_t): Describe constraints on size and
50223 signedness, not exact equivalence to a particular type.
50225 (ino64_t): Likewise.
50227 (nlink_t): Likewise.
50228 (blkcnt_t): Likewise.
50229 (blkcnt64_t): Likewise.
50230 * manual/llio.texi (off_t): Likewise.
50233 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
50234 (__ieee754_exp): Save and restore rounding mode and use
50235 round-to-nearest for all computations.
50236 * math/libm-test.inc (exp_test_tonearest): New function.
50237 (exp_test_towardzero): Likewise.
50238 (exp_test_downward): Likewise.
50239 (exp_test_upward): Likewise.
50240 (main): Call the new functions.
50241 * sysdeps/i386/fpu/libm-test-ulps: Update.
50242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50244 2012-03-01 Chris Demetriou <cgd@google.com>
50246 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
50247 have predictable order.
50249 2012-03-01 David S. Miller <davem@davemloft.net>
50251 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
50253 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
50254 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
50255 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
50256 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
50258 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
50259 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
50260 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
50261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
50262 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
50263 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
50264 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
50265 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
50266 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
50268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50270 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
50271 * sysdeps/sparc/fpu/libm-test-ulps: to here.
50272 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
50274 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
50275 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50276 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
50277 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
50278 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
50279 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
50280 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
50281 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50282 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
50283 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
50284 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
50285 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50286 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50287 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
50288 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50289 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50290 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
50291 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
50292 * sysdeps/sparc/elf/configure: Regenerated.
50294 2012-03-01 Joseph Myers <joseph@codesourcery.com>
50296 * configure.in (AS, LD): Require binutils 2.20 or later.
50297 * configure: Regenerated.
50298 * manual/install.texi (Tools for Compilation): Give binutils 2.20
50299 as required minimum version.
50300 * INSTALL: Regenerated.
50304 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
50305 before squaring exponent.
50306 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
50307 bottom long double and 27 bits of top long double before squaring
50309 * math/libm-test.inc (erfc_test): Add more tests.
50310 * sysdeps/i386/fpu/libm-test-ulps: Update.
50311 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50314 2012-03-01 Kai Tietz <ktietz@redhat.com>
50316 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
50317 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
50318 containing bit-fields.
50319 * soft-fp/extended.h (_FP_UNION_E): Likewise.
50320 * soft-fp/single.h (_FP_UNION_S): Likewise.
50321 * soft-fp/double.h (_FP_UNION_D): Likewise.
50323 2012-02-29 Joseph Myers <joseph@codesourcery.com>
50326 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
50327 not include ../strcmp.S.
50328 [USE_AS_STRNCASECMP_L]: Likewise.
50329 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
50330 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
50331 * sysdeps/i386/i686/multiarch/strncase_l-c.c
50332 (__strncasecmp_l_ia32): Define as alias to
50333 __strncasecmp_l_nonascii.
50336 * math/libm-test.inc (expm1_test): Add test for bug 5794.
50337 * sysdeps/i386/fpu/libm-test-ulps: Update.
50338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50340 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
50341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50343 2012-02-29 Jeff Law <law@redhat.com>
50345 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
50346 out of bounds read.
50348 2012-02-29 Marek Polacek <polacek@redhat.com>
50351 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
50352 * elf/Makefile: Add rules to run tst-unused-dep.out.
50354 2012-02-28 David S. Miller <davem@davemloft.net>
50356 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
50357 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
50358 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
50359 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
50360 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
50361 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
50363 2012-02-29 Joseph Myers <joseph@codesourcery.com>
50365 * math/libm-test.inc (llround_test): Move one test from
50366 lround_test. Use TEST_f_L in moved test.
50367 (lround_test): Move misplaced test to llround_test. Add testcase
50370 2012-02-28 Ulrich Drepper <drepper@gmail.com>
50372 * sysdeps/x86_64/fpu/e_expf.S: New file.
50373 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
50375 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
50378 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
50379 of remain_len that may cause incomplete multi-byte character and
50381 * posix/bug-regex33.c: New file.
50382 * posix/Makefile (tests): Add bug-regex33.
50384 2012-02-28 Joseph Myers <joseph@codesourcery.com>
50386 * manual/macros.texi: New file.
50387 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
50388 * manual/libc.texinfo: Include macros.texi.
50389 * manual/creatute.texi: Likewise.
50390 * manual/install.texi: Likewise.
50391 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
50392 @glibcadj{} in references to the GNU C Library.
50393 * manual/charset.texi: Likewise.
50394 * manual/conf.texi: Likewise.
50395 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
50396 when not using those macros.
50397 * manual/creature.texi: Likewise.
50398 * manual/crypt.texi: Likewise.
50399 * manual/errno.texi: Likewise.
50400 * manual/filesys.texi: Likewise.
50401 * manual/header.texi: Likewise.
50402 * manual/install.texi: Likewise.
50403 * manual/intro.texi: Likewise.
50404 * manual/io.texi: Likewise.
50405 * manual/job.texi: Likewise.
50406 * manual/lang.texi: Likewise.
50407 * manual/libc.texiinfo: Likewise.
50408 * manual/llio.texi: Likewise.
50409 * manual/locale.texi: Likewise.
50410 * manual/maint.texi: Likewise.
50411 * manual/math.texi: Likewise.
50412 * manual/memory.texi: Likewise.
50413 * manual/message.texi: Likewise.
50414 * manual/nss.texi: Likewise.
50415 * manual/pattern.texi: Likewise.
50416 * manual/process.texi: Likewise.
50417 * manual/resource.texi: Likewise.
50418 * manual/search.texi: Likewise.
50419 * manual/setjmp.texi: Likewise.
50420 * manual/signal.texi: Likewise.
50421 * manual/socket.texi: Likewise.
50422 * manual/startup.texi: Likewise.
50423 * manual/stdio.texi: Likewise.
50424 * manual/string.texi: Likewise.
50425 * manual/sysinfo.texi: Likewise.
50426 * manual/syslog.texi: Likewise.
50427 * manual/terminal.texi: Likewise.
50428 * manual/time.texi: Likewise.
50429 * manual/users.texi: Likewise.
50430 * INSTALL: Regenerated.
50431 * NOTES: Regenerated.
50432 * sysdeps/gnu/errlist.c: Regenerated.
50434 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
50436 * include/dirent.h: Include <dirstream.h> before
50439 2012-02-28 David S. Miller <davem@davemloft.net>
50441 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
50442 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
50443 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
50444 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
50446 2012-02-27 David S. Miller <davem@davemloft.net>
50448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
50449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
50450 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
50451 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
50453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
50454 frame pointer instead of stack pointer relative arg slot.
50455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
50456 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
50457 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
50459 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
50462 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
50464 2012-02-27 David S. Miller <davem@davemloft.net>
50466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
50467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
50468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
50470 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
50471 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
50472 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
50473 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
50475 2012-02-27 Joseph Myers <joseph@codesourcery.com>
50477 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
50478 later. Allow versions 5-9.
50479 * configure: Regenerated.
50480 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
50481 required minimum version and 4.6 as recommended version. Do not
50482 mention bugs in GCC 2.7 and 2.8.
50483 * INSTALL: Regenerated.
50485 2012-02-27 David S. Miller <davem@davemloft.net>
50487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
50488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
50489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
50490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
50491 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
50492 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
50493 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
50494 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
50496 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
50497 manipulate bits before adding and subtracting TWO112[sx].
50498 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
50500 2012-02-27 Roland McGrath <roland@hack.frob.com>
50503 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
50504 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
50505 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
50506 being in POSIX, because they are in 1003.1-2008.
50508 * rt/tst-aio.c: Include <fcntl.h>.
50509 * rt/tst-aio7.c: Likewise.
50510 * rt/tst-aio64.c: Likewise.
50512 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
50514 2012-02-27 Joseph Myers <joseph@codesourcery.com>
50516 * manual/install.texi (--with-headers): Describe headers as
50517 interface headers, not private headers.
50518 (Specific advice for GNU/Linux systems): Describe use of headers
50519 from "make headers_install", not private headers from older
50521 * INSTALL: Regenerated.
50522 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
50524 * sysdeps/unix/sysv/linux/configure: Regenerated.
50526 * manual/llio.texi (fclean): Remove documentation.
50528 * manual/Makefile (libc-texi-generated): New variable. Include
50530 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
50531 $(libc-texi-generated), not duplicated list of files.
50532 (version.texi, stamp-version): New rules.
50533 (realclean): Remove $(libc-texi-generated), not individual files
50534 from that list. Do not remove dir-add.texinfo.
50535 * manual/libc.texinfo: Comment out uses of edition numbers and
50536 references to printed manual. Remove last-updated dates.
50537 (EDITION): Comment out.
50539 (VERSION, UPDATED): Remove.
50540 (version.texi): Include.
50542 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
50544 * sysdeps/posix/spawni.c: Include <signal.h>.
50545 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
50546 * sysdeps/pthread/aio_fsync.c: Likewise.
50548 2012-02-26 Ulrich Drepper <drepper@gmail.com>
50550 * conform/Makefile (tests): Run only when not cross-compiling and
50551 when fast-check is not defined.
50553 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
50554 * conform/data/limits.h-data: Fixes for POSIX2008.
50555 * conform/run-conformtest.sh: Run all tests.
50556 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
50558 * include/bits/dlfcn.h: Likewise.
50559 * include/langinfo.h: Likewise.
50560 * include/monetary.h: Likewise.
50561 * include/sys/poll.h: Likewise.
50563 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
50565 * posix/spawn.h: Define __need_sigset_t.
50566 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
50567 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
50568 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
50569 to get sigevent_t only.
50570 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
50571 only for __USE_GNU.
50572 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50573 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50574 process_vm_writev only for __USE_GNU.
50575 * termios/termios.h: Declare tcgetsid also for POSIX2008.
50577 * conform/Makefile: For now ignore errors from run-conformtest.
50578 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
50579 POSIX to avoid namespace pollution. Don't prepend headers.
50580 * conform/data/aio.h-data: Fixes for POSIX testing.
50581 * conform/data/fcntl.h-data: Likewise.
50582 * conform/data/glob.h-data: Likewise.
50583 * conform/data/grp.h-data: Likewise.
50584 * conform/data/pthread.h-data: Likewise.
50585 * conform/data/pwd.h-data: Likewise.
50586 * conform/data/signal.h-data: Likewise.
50587 * conform/data/spawn.h-data: Likewise.
50588 * conform/data/stdio.h-data: Likewise.
50589 * conform/data/stdlib.h-data: Likewise.
50590 * conform/data/stropts.h-data: Likewise.
50591 * conform/data/sys/mman.h-data: Likewise.
50592 * conform/data/sys/stat.h-data: Likewise.
50593 * conform/data/sys/types.h-data: Likewise.
50594 * conform/data/sys/wait.h-data: Likewise.
50595 * conform/data/time.h-data: Likewise.
50596 * conform/data/unistd.h-data: Likewise.
50597 * conform/data/utime.h-data: Likewise.
50599 * io/sys/stat.h: fchmod was always in POSIX.
50600 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
50601 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
50602 * rt/aio.h: Define __need_timespec before including <time.h>.
50603 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
50604 struct. Add forward declaration of pthread_attr_t and use it in
50606 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
50607 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50608 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
50609 always remove CLK_TCK definition.
50611 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
50613 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
50615 2012-02-25 Ulrich Drepper <drepper@gmail.com>
50617 * conform/run-conformtest.sh: New file.
50618 * conform/Makefile: Run run-conformtest for tests.
50619 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
50622 * conform/data/uchar.h-data: New file.
50623 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
50624 * conform/data/arpa/inet.h-data: Likewise.
50625 * conform/data/assert.h-data: Likewise.
50626 * conform/data/complex.h-data: Likewise.
50627 * conform/data/cpio.h-data: Likewise.
50628 * conform/data/ctype.h-data: Likewise.
50629 * conform/data/dirent.h-data: Likewise.
50630 * conform/data/dlfcn.h-data: Likewise.
50631 * conform/data/errno.h-data: Likewise.
50632 * conform/data/fcntl.h-data: Likewise.
50633 * conform/data/float.h-data: Likewise.
50634 * conform/data/fmtmsg.h-data: Likewise.
50635 * conform/data/fnmatch.h-data: Likewise.
50636 * conform/data/ftw.h-data: Likewise.
50637 * conform/data/glob.h-data: Likewise.
50638 * conform/data/grp.h-data: Likewise.
50639 * conform/data/iconv.h-data: Likewise.
50640 * conform/data/inttypes.h-data: Likewise.
50641 * conform/data/langinfo.h-data: Likewise.
50642 * conform/data/libgen.h-data: Likewise.
50643 * conform/data/limits.h-data: Likewise.
50644 * conform/data/locale.h-data: Likewise.
50645 * conform/data/math.h-data: Likewise.
50646 * conform/data/monetary.h-data: Likewise.
50647 * conform/data/mqueue.h-data: Likewise.
50648 * conform/data/ndbm.h-data: Likewise.
50649 * conform/data/net/if.h-data: Likewise.
50650 * conform/data/netdb.h-data: Likewise.
50651 * conform/data/netinet/in.h-data: Likewise.
50652 * conform/data/nl_types.h-data: Likewise.
50653 * conform/data/poll.h-data: Likewise.
50654 * conform/data/pthread.h-data: Likewise.
50655 * conform/data/pwd.h-data: Likewise.
50656 * conform/data/regex.h-data: Likewise.
50657 * conform/data/sched.h-data: Likewise.
50658 * conform/data/search.h-data: Likewise.
50659 * conform/data/semaphore.h-data: Likewise.
50660 * conform/data/setjmp.h-data: Likewise.
50661 * conform/data/signal.h-data: Likewise.
50662 * conform/data/spawn.h-data: Likewise.
50663 * conform/data/stdarg.h-data: Likewise.
50664 * conform/data/stdio.h-data: Likewise.
50665 * conform/data/stdlib.h-data: Likewise.
50666 * conform/data/string.h-data: Likewise.
50667 * conform/data/strings.h-data: Likewise.
50668 * conform/data/stropts.h-data: Likewise.
50669 * conform/data/sys/ipc.h-data: Likewise.
50670 * conform/data/sys/mman.h-data: Likewise.
50671 * conform/data/sys/msg.h-data: Likewise.
50672 * conform/data/sys/resource.h-data: Likewise.
50673 * conform/data/sys/select.h-data: Likewise.
50674 * conform/data/sys/sem.h-data: Likewise.
50675 * conform/data/sys/shm.h-data: Likewise.
50676 * conform/data/sys/socket.h-data: Likewise.
50677 * conform/data/sys/stat.h-data: Likewise.
50678 * conform/data/sys/statvfs.h-data: Likewise.
50679 * conform/data/sys/time.h-data: Likewise.
50680 * conform/data/sys/timeb.h-data: Likewise.
50681 * conform/data/sys/times.h-data: Likewise.
50682 * conform/data/sys/types.h-data: Likewise.
50683 * conform/data/sys/uio.h-data: Likewise.
50684 * conform/data/sys/un.h-data: Likewise.
50685 * conform/data/sys/utsname.h-data: Likewise.
50686 * conform/data/sys/wait.h-data: Likewise.
50687 * conform/data/syslog.h-data: Likewise.
50688 * conform/data/tar.h-data: Likewise.
50689 * conform/data/termios.h-data: Likewise.
50690 * conform/data/utime.h-data: Likewise.
50691 * conform/data/utmpx.h-data: Likewise.
50692 * conform/data/varargs.h-data: Likewise.
50693 * conform/data/wchar.h-data: Likewise.
50694 * conform/data/wctype.h-data: Likewise.
50695 * conform/data/wordexp.h-data: Likewise.
50697 * include/stropts.h: New file.
50698 * include/uchar.h: New file.
50699 * include/aio.h: Changes to allow conformtest.pl to use the headers.
50700 * include/assert.h: Likewise.
50701 * include/ctype.h: Likewise.
50702 * include/dirent.h: Likewise.
50703 * include/dlfcn.h: Likewise.
50704 * include/fcntl.h: Likewise.
50705 * include/fnmatch.h: Likewise.
50706 * include/glob.h: Likewise.
50707 * include/grp.h: Likewise.
50708 * include/libio.h: Likewise.
50709 * include/locale.h: Likewise.
50710 * include/math.h: Likewise.
50711 * include/net/if.h: Likewise.
50712 * include/netdb.h: Likewise.
50713 * include/netinet/in.h: Likewise.
50714 * include/pthread.h: Likewise.
50715 * include/pwd.h: Likewise.
50716 * include/regex.h: Likewise.
50717 * include/sched.h: Likewise.
50718 * include/search.h: Likewise.
50719 * include/setjmp.h: Likewise.
50720 * include/signal.h: Likewise.
50721 * include/stdio.h: Likewise.
50722 * include/stdlib.h: Likewise.
50723 * include/string.h: Likewise.
50724 * include/sys/cdefs.h: Likewise.
50725 * include/sys/mman.h: Likewise.
50726 * include/sys/msg.h: Likewise.
50727 * include/sys/resource.h: Likewise.
50728 * include/sys/select.h: Likewise.
50729 * include/sys/socket.h: Likewise.
50730 * include/sys/stat.h: Likewise.
50731 * include/sys/statvfs.h: Likewise.
50732 * include/sys/time.h: Likewise.
50733 * include/sys/times.h: Likewise.
50734 * include/sys/uio.h: Likewise.
50735 * include/sys/utsname.h: Likewise.
50736 * include/sys/wait.h: Likewise.
50737 * include/termios.h: Likewise.
50738 * include/time.h: Likewise.
50739 * include/ulimit.h: Likewise.
50740 * include/unistd.h: Likewise.
50741 * include/utime.h: Likewise.
50742 * include/wchar.h: Likewise.
50743 * include/wctype.h: Likewise.
50744 * include/wordexp.h: Likewise.
50746 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
50748 * time/time.h: TIME_UTC must be a macro.
50749 Make timespec_get available for ISO C11 only as well.
50751 2012-02-24 Ulrich Drepper <drepper@gmail.com>
50753 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
50754 Reported by Peng Haitao <penght@cn.fujitsu.com>.
50756 2012-02-24 Joseph Myers <joseph@codesourcery.com>
50758 * configure.in: Use -o not -a in test for unsupported multi-arch.
50760 2012-02-24 Joseph Myers <joseph@codesourcery.com>
50762 * manual/texinfo.tex: Update to version 2012-01-19.16.
50764 2012-02-24 Joseph Myers <joseph@codesourcery.com>
50766 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
50768 2012-02-24 Roland McGrath <roland@hack.frob.com>
50771 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
50772 * manual/fdl-1.3.texi: New file.
50773 * manual/fdl-1.1.texi: File removed.
50776 * manual/libc.texinfo (FDL_VERSION): New @set.
50777 Use it for mention of FDL in cover text.
50778 (Documentation License): Use it in @include file name.
50780 2012-02-22 Joseph Myers <joseph@codesourcery.com>
50781 Roland McGrath <roland@hack.frob.com>
50784 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
50785 (not LONG_LONG_MAX and LONG_LONG_MIN.
50786 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
50787 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
50789 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
50791 2012-02-22 Joseph Myers <joseph@codesourcery.com>
50795 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
50796 manipulate bits before adding and subtracting TWO23[sx].
50797 * math/libm-test.inc (nearbyint_test): Add more tests.
50799 2012-02-22 Joseph Myers <joseph@codesourcery.com>
50802 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
50803 bits before adding and subtracting TWO23[sx].
50804 * math/libm-test.inc (rint_test): Add more tests.
50805 (rint_test_tonearest): Likewise.
50806 (rint_test_towardzero): Likewise.
50807 (rint_test_downward): Likewise.
50808 (rint_test_upward: Likewise.
50810 2012-02-22 Joseph Myers <joseph@codesourcery.com>
50813 * include/stdc-predef.h: New file. Extracted from features.h.
50814 * include/features.h: Include stdc-predef.h.
50815 * Makefile (headers): Add stdc-predef.h.
50816 * CONFORMANCE (Compiler limitations): Update.
50818 2012-02-22 Joseph Myers <joseph@codesourcery.com>
50820 * manual/libc.texinfo (VERSION, UPDATED): Revert.
50822 2012-02-21 David S. Miller <davem@davemloft.net>
50824 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
50825 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
50827 2012-02-20 David S. Miller <davem@davemloft.net>
50829 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
50830 using a normal save/restore sequence, rather than allocating a
50831 dummy stack frame just to store a frame pointer and restore.
50832 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50834 2012-02-21 Joseph Myers <joseph@codesourcery.com>
50836 * manual/install.texi: Fix stray word in line-wrapped comment.
50838 2012-02-20 David S. Miller <davem@davemloft.net>
50840 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
50841 both binutils and gcc support GOTDATA.
50843 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
50844 "rd %pc" in the PIC register setup sequences.
50846 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
50847 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
50848 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
50849 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
50850 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
50851 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50852 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50853 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50854 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
50855 (SYSCALL_ERROR_HANDLER): Likewise.
50856 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
50857 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50858 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
50859 (SYSCALL_ERROR_HANDLER): Likewise.
50861 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
50862 (HAVE_GCC_GOTDATA): New.
50863 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
50864 relocation support in both binutils and gcc.
50865 * sysdeps/sparc/elf/configure: Regenerate.
50867 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
50868 * sysdeps/sparc/sparc32/elf/configure: Delete.
50869 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
50870 * sysdeps/sparc/sparc64/elf/configure: Delete.
50871 * sysdeps/sparc/elf/configure.in: New file.
50872 * sysdeps/sparc/elf/configure: Generate.
50874 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
50875 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
50876 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50877 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
50878 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
50880 2012-02-21 Joseph Myers <joseph@codesourcery.com>
50882 * manual/install.texi: Do not mention specific glibc version
50884 * manual/libc.texinfo (VERSION, UPDATED): Update.
50885 (@copying): Use @copyright{} and range of years.
50887 2012-02-21 Joseph Myers <joseph@codesourcery.com>
50890 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
50891 [crti.S not in sysdirs] (generated): Do not append.
50892 [crti.S not in sysdirs] (omit-deps): Likewise.
50893 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
50894 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
50895 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
50896 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
50897 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
50899 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
50900 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
50901 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
50902 * csu/defs.awk: Remove file.
50903 * sysdeps/generic/initfini.c: Likewise.
50904 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
50906 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
50909 2012-02-20 Joseph Myers <joseph@codesourcery.com>
50911 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
50912 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
50913 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
50914 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
50915 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50916 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
50918 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
50919 (__EPOLL_PACKED): Define to empty if not defined by
50921 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
50922 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50925 2012-02-20 Joseph Myers <joseph@codesourcery.com>
50927 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
50928 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
50929 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
50930 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
50932 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
50933 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50936 2012-02-20 Joseph Myers <joseph@codesourcery.com>
50938 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
50940 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50941 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50942 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
50943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50945 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
50947 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50948 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
50950 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
50952 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
50953 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
50955 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
50957 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
50960 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
50962 * math/w_acos.c: Use non-signaling floating-point comparisons.
50963 * math/w_acosf.c: Likewise.
50964 * math/w_acosh.c: Likewise.
50965 * math/w_acoshf.c: Likewise.
50966 * math/w_acoshl.c: Likewise.
50967 * math/w_acosl.c: Likewise.
50968 * math/w_asin.c: Likewise.
50969 * math/w_asinf.c: Likewise.
50970 * math/w_asinl.c: Likewise.
50971 * math/w_atanh.c: Likewise.
50972 * math/w_atanhf.c: Likewise.
50973 * math/w_atanhl.c: Likewise.
50974 * math/w_exp2.c: Likewise.
50975 * math/w_exp2f.c: Likewise.
50976 * math/w_exp2l.c: Likewise.
50977 * math/w_j0.c: Likewise.
50978 * math/w_j0f.c: Likewise.
50979 * math/w_j0l.c: Likewise.
50980 * math/w_j1.c: Likewise.
50981 * math/w_j1f.c: Likewise.
50982 * math/w_j1l.c: Likewise.
50983 * math/w_jn.c: Likewise.
50984 * math/w_jnf.c: Likewise.
50985 * math/w_log.c: Likewise.
50986 * math/w_log10.c: Likewise.
50987 * math/w_log10f.c: Likewise.
50988 * math/w_log10l.c: Likewise.
50989 * math/w_log2.c: Likewise.
50990 * math/w_log2f.c: Likewise.
50991 * math/w_log2l.c: Likewise.
50992 * math/w_logf.c: Likewise.
50993 * math/w_logl.c: Likewise.
50994 * math/w_sqrt.c: Likewise.
50995 * math/w_sqrtf.c: Likewise.
50996 * math/w_sqrtl.c: Likewise.
50997 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50998 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
50999 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51000 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51001 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51003 2012-02-19 Joseph Myers <joseph@codesourcery.com>
51006 * manual/string.texi (strnlen): Use correct parameter name in
51007 equivalent expression.
51009 2012-02-19 Joseph Myers <joseph@codesourcery.com>
51012 * manual/users.texi (seteuid): Consistently use neweuid for
51015 2012-02-19 Joseph Myers <joseph@codesourcery.com>
51018 * manual/nss.texi (Services in the NSS configuration): Correct
51019 list of services in example configuration file.
51021 2012-02-19 Nick Bowler <nbowler@draconx.ca>
51024 * manual/arith.texi: Remove statements about negative zero
51025 behaving identically to zero.
51027 2012-02-18 Joseph Myers <joseph@codesourcery.com>
51030 * manual/install.texi: Do not document upgrading from libc5.
51032 2012-02-18 Joseph Myers <joseph@codesourcery.com>
51035 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
51037 2012-02-18 David S. Miller <davem@davemloft.net>
51039 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
51040 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
51041 %o7 across the call.
51042 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
51044 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
51045 SETUP_PIC_REG_LEAF.
51046 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51047 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
51048 * sysdeps/sparc/crtn.S: Likewise.
51050 2012-02-17 Ulrich Drepper <drepper@gmail.com>
51052 * aout/Makefile: Remove.
51054 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
51057 * manual/examples/argp-ex1.c (main): Format definition in GNU
51059 * manual/examples/argp-ex2.c (main): Likewise.
51060 * manual/examples/argp-ex3.c (main): Likewise.
51061 * manual/examples/argp-ex4.c (main): Likewise.
51062 * manual/examples/longopt.c (main): Use new-style prototype
51064 * manual/examples/strncat.c (main): Specify return type and use
51065 (void) for arguments.
51066 * manual/examples/subopt.c (main): Use char **argv argument.
51068 2012-02-17 Joseph Myers <joseph@codesourcery.com>
51071 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
51074 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
51077 * manual/string.texi (strchr): Change when strchrnul is
51080 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
51083 * manual/locale.texi (setlocale): Document LOCPATH.
51085 2012-02-17 Joseph Myers <joseph@codesourcery.com>
51088 * manual/process.texi (execle): Move @dots{} before last argument.
51090 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
51093 * manual/charset.texi (Generic Charset Conversion): Fix typo
51094 (LC_TYPE -> LC_CTYPE).
51096 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
51099 * manual/arith.texi (scalbn): Use @var{} on parameter names.
51100 (scalbnf): Likewise.
51101 (scalbnl): Likewise.
51102 (scalbln): Likewise.
51103 (scalblnf): Likewise.
51104 (scalblnl): Likewise.
51105 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
51106 (vwarnx): Likewise.
51109 * manual/filesys.texi (telldir): Use braces around return type.
51110 * manual/llio.texi (mmap): Add space after comma.
51111 (mmap64): Likewise.
51112 * manual/math.texi (jn): Use @var{} on parameter names.
51118 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
51120 * manual/resource.texi (ulimit): Use @dots{} instead of literal
51122 (sched_get_priority_min): Remove semicolon on @deftypefun line.
51123 (sched_get_priority_max): Likewise.
51124 * manual/signal.texi (sigvec): Add space after comma.
51125 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
51127 (if_indextoname): Likewise.
51128 (if_freenameindex): Likewise.
51129 (sendto): Use ',' instead of '.' in prototype.
51130 * manual/startup.texi (syscall): Use @dots{} instead of literal
51132 * manual/stdio.texi (__fpending): Separate initial words of
51133 paragraph from @deftypefun line.
51134 * manual/syslog.texi (syslog): Use @dots{} instead of literal
51136 (vsyslog): Use @var{} on parameter names.
51137 * manual/terminal.texi (stty): Use @var{} on parameter names.
51138 * manual/users.texi (getutmp): Use @var{} on parameter names.
51139 (getutmpx): Likewise.
51141 2012-02-17 Joseph Myers <joseph@codesourcery.com>
51144 * manual/stdio.texi (fopen): Fix typos in description of
51147 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
51150 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
51151 get clock_id definition.
51153 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
51156 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
51157 (madvise): Cast every argument to void on its own.
51159 2012-02-17 Joseph Myers <joseph@codesourcery.com>
51162 * manual/startup.texi (Exit Status): Fix typo.
51164 2012-02-17 Joseph Myers <joseph@codesourcery.com>
51167 * manual/examples/argp-ex1.c: Include <stdlib.h>.
51168 * manual/examples/argp-ex2.c: Likewise.
51169 * manual/examples/argp-ex3.c: Likewise.
51171 2012-02-16 Richard Henderson <rth@redhat.com>
51173 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
51174 * sysdeps/s390/s390-32/initfini.c: Remove.
51175 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
51176 * sysdeps/s390/s390-64/initfini.c: Remove.
51178 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
51180 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
51181 compiler output for sysdeps/generic/initfini.c.
51182 * sysdeps/sh/elf/initfini.c: Remove file.
51184 2012-02-16 David S. Miller <davem@davemloft.net>
51187 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
51189 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
51190 * sysdeps/sparc/crti.S: New file.
51191 * sysdeps/sparc/crtn.S: New file.
51192 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
51193 * sysdeps/sparc/sparc64/Makefile: Likewise.
51195 2012-02-15 Mike Frysinger <vapier@gentoo.org>
51198 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
51200 2012-02-15 Roland McGrath <roland@hack.frob.com>
51203 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
51205 * mach/devstream.c (cookie_io_functions_t): Macro removed.
51206 (write, read, close): Likewise.
51207 Patch by Aurelien Jarno <aurelien@aurel32.net>.
51209 2012-02-15 Joseph Myers <joseph@codesourcery.com>
51211 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
51212 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
51213 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
51214 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
51216 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
51217 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51220 2012-02-14 Marek Polacek <polacek@redhat.com>
51222 * sysdeps/x86_64/crti.S: New file.
51223 * sysdeps/x86_64/crtn.S: New file.
51224 * sysdeps/x86_64/elf/initfini.c: Remove file.
51226 2012-02-13 Joseph Myers <joseph@codesourcery.com>
51228 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
51229 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
51230 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
51231 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
51233 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
51234 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51237 2012-02-13 Joseph Myers <joseph@codesourcery.com>
51239 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
51240 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
51241 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
51242 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
51244 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
51245 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51248 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
51250 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
51251 __feraiseexcept instead of feraiseexcept.
51253 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
51254 nanosleep invocations.
51255 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
51256 strings, and add error checking for a nanosleep invocations.
51258 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
51260 Replace FSF snail mail address with URLs, as per GNU coding standards.
51261 Most of the snail mail addresses were wrong anyway, and omitting
51262 them makes the source code easier to maintain. Almost all of the
51263 changes are to license notices and to locale LC_IDENTIFICATION
51264 addresses, except for this one:
51265 * manual/libc.texinfo: In "Published by", give the FSF's URL,
51266 not its snail mail address.
51268 2012-02-09 Richard Henderson <rth@twiddle.net>
51270 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
51271 of kernel-features.h.
51273 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
51275 2012-02-08 Marek Polacek <polacek@redhat.com>
51277 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
51278 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
51279 * sysdeps/gnu/_G_config.h: Likewise.
51280 * sysdeps/generic/_G_config.h: Likewise.
51282 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
51284 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
51286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51288 * sysdeps/powerpc/powerpc32/crti.S: New file.
51289 * sysdeps/powerpc/powerpc32/crtn.S: New file.
51290 * sysdeps/powerpc/powerpc64/crti.S: New file.
51291 * sysdeps/powerpc/powerpc64/crtn.S: New file.
51293 * Makeconfig (have-initfini): Don't set.
51294 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
51295 * configure.in (nopic_initfini): Don't substitute.
51296 * config.h.in (HAVE_INITFINI): Don't #undef.
51297 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
51298 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
51300 2012-02-08 Joseph Myers <joseph@codesourcery.com>
51302 Support crti.S and crtn.S provided directly by architectures.
51303 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
51304 [crti.S in sysdirs] (omit-deps): Likewise.
51305 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
51306 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
51307 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
51308 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
51309 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
51310 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
51311 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
51312 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
51313 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
51314 compiler output for sysdeps/generic/initfini.c.
51315 * sysdeps/i386/elf/Makefile: Remove file.
51316 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
51318 2012-02-07 Marek Polacek <polacek@redhat.com>
51320 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
51321 * sysdeps/gnu/_G_config.h: Likewise.
51322 * sysdeps/mach/hurd/_G_config.h: Likewise.
51324 2012-02-07 Marek Polacek <polacek@redhat.com>
51326 * math/Makefile (tests): Add tst-CMPLX2.
51327 * math/tst-CMPLX2.c: New file.
51329 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
51331 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51333 * math/libm-test.inc (jn_test): Add missing L suffix.
51335 2012-02-06 Marek Polacek <polacek@redhat.com>
51337 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
51338 * sysdeps/i386/fpu/e_powf.S: Likewise.
51339 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51340 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
51341 * sysdeps/i386/fpu/e_acosh.S: Likewise.
51342 * sysdeps/i386/fpu/e_pow.S: Likewise.
51343 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
51344 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51345 * sysdeps/i386/fpu/s_expm1.S: Likewise.
51346 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
51347 * sysdeps/i386/fpu/e_log2.S: Likewise.
51348 * sysdeps/i386/fpu/e_log2l.S: Likewise.
51349 * sysdeps/i386/fpu/e_scalb.S: Likewise.
51350 * sysdeps/i386/fpu/e_powl.S: Likewise.
51351 * sysdeps/i386/fpu/s_log1p.S: Likewise.
51352 * sysdeps/i386/fpu/e_log10f.S: Likewise.
51353 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
51354 * sysdeps/i386/fpu/e_logl.S: Likewise.
51355 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
51356 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
51357 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
51358 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
51359 * sysdeps/i386/fpu/e_log2f.S: Likewise.
51360 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51361 * sysdeps/i386/fpu/e_log.S: Likewise.
51362 * sysdeps/i386/fpu/s_cexp.S: Likewise.
51363 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51364 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
51365 * sysdeps/i386/fpu/e_logf.S: Likewise.
51366 * sysdeps/i386/fpu/e_log10l.S: Likewise.
51367 * sysdeps/i386/fpu/e_atanh.S: Likewise.
51368 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
51369 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
51370 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51371 * sysdeps/i386/fpu/e_log10.S: Likewise.
51372 * sysdeps/i386/fpu/s_frexp.S: Likewise.
51373 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51374 * sysdeps/i386/fpu/s_asinh.S: Likewise.
51375 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
51376 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51377 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
51378 * sysdeps/i386/asm-syntax.h: Likewise.
51379 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51380 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51381 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51382 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
51383 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
51384 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51385 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
51386 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
51387 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51388 * sysdeps/powerpc/sysdep.h: Likewise.
51389 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
51390 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
51392 2012-02-06 Joseph Myers <joseph@codesourcery.com>
51395 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
51397 2012-02-06 Joseph Myers <joseph@codesourcery.com>
51399 * sysdeps/i386/sysdep.h: Include <features.h>.
51400 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
51403 2012-02-05 Joseph Myers <joseph@codesourcery.com>
51405 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
51407 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
51410 2012-02-03 Joseph Myers <joseph@codesourcery.com>
51412 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
51413 (SETUP_PIC_REG): Use GET_PC_THUNK.
51414 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
51417 2012-02-03 Joseph Myers <joseph@codesourcery.com>
51419 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
51420 for non-PIC compilation.
51421 (SETUP_PIC_REG): Add .p2align directive.
51422 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
51423 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
51424 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
51425 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
51426 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
51427 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
51428 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
51429 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51430 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
51431 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
51432 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
51433 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
51434 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
51435 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
51436 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
51437 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
51438 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
51439 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
51440 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
51441 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
51442 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51443 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
51444 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
51445 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
51446 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
51447 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
51448 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51449 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
51450 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
51451 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
51452 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
51453 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51454 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
51455 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
51456 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
51457 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
51458 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
51459 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
51460 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
51461 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
51462 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
51464 2012-02-03 Joseph Myers <joseph@codesourcery.com>
51466 * math/tst-CMPLX.c: Include <stdio.h>.
51468 2012-01-31 Joseph Myers <joseph@codesourcery.com>
51470 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
51472 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
51473 * sysdeps/sparc/bits/mathdef.h: Likewise.
51475 2012-01-31 Marek Polacek <polacek@redhat.com>
51477 * libio/libio.h: Don't define _PARAMS.
51478 * locale/programs/config.h: Don't define PARAMS.
51479 * stdlib/strtol_l.c: Likewise.
51480 (__strtol_l): Remove PARAMS from the prototype.
51482 2012-01-31 Ulrich Drepper <drepper@gmail.com>
51484 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
51485 names. Just use the correct names. Remove unnecessary wrapper
51487 * malloc/arena.c: Likewise.
51488 * malloc/hooks.c: Likewise.
51490 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
51491 ARENA_TEST says not to. Simplify test for creation of a new arena.
51492 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
51494 2012-01-30 Ulrich Drepper <drepper@gmail.com>
51496 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
51498 (update_get_addr): New function.
51499 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
51500 GET_ADDR_MODULE parameter.
51502 2012-01-30 Joseph Myers <joseph@codesourcery.com>
51504 * crypt/cert.c: Remove __STDC__ conditionals.
51505 * crypt/crypt-entry.c: Likewise.
51506 * crypt/crypt_util.c: Likewise.
51507 * libio/filedoalloc.c: Likewise.
51508 * libio/fileops.c: Likewise.
51509 * libio/genops.c: Likewise.
51510 * libio/iofclose.c: Likewise.
51511 * libio/iofdopen.c: Likewise.
51512 * libio/iofopen.c: Likewise.
51513 * libio/iofopen64.c: Likewise.
51514 * libio/iogetdelim.c: Likewise.
51515 * libio/iopopen.c: Likewise.
51516 * libio/obprintf.c: Likewise.
51517 * libio/oldfileops.c: Likewise.
51518 * libio/oldiofclose.c: Likewise.
51519 * libio/oldiofdopen.c: Likewise.
51520 * libio/oldiofopen.c: Likewise.
51521 * libio/oldiopopen.c: Likewise.
51522 * libio/wfiledoalloc.c: Likewise.
51523 * libio/wgenops.c: Likewise.
51524 * locale/programs/xmalloc.c: Likewise.
51525 * misc/syslog.c: Likewise.
51526 * stdio-common/xbug.c: Likewise.
51527 * string/memchr.c: Likewise.
51528 * string/memcmp.c: Likewise.
51529 * string/memrchr.c: Likewise.
51530 * string/rawmemchr.c: Likewise.
51531 * sysdeps/posix/getcwd.c: Likewise.
51532 * time/strftime_l.c: Likewise.
51534 2012-01-30 Joseph Myers <joseph@codesourcery.com>
51536 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
51537 * config.make.in (config-cflags-sse2avx): Define.
51538 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
51541 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
51543 * scripts/config.guess: Update from upstream config git repository.
51544 * scripts/config.sub: Likewise.
51546 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
51548 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
51550 (R_TILEPRO_*, R_TILEGX_*): New macros.
51552 * scripts/firstversions.awk: Fix bug in version range handling.
51554 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
51556 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
51558 * include/sys/epoll.h: New file.
51559 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
51562 2012-01-28 Ulrich Drepper <drepper@gmail.com>
51564 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
51565 Avoid unnecessary __WORDSIZE == 64 test.
51566 (fmaxf): Use VEX format if possible.
51571 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
51572 * math/math_private.h: Remove libc_fegetround* and
51574 * sysdeps/i386/configure.in: Check for -msse2avx.
51575 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
51576 also if SSE2AVX is defined.
51577 Remove libc_fegetround* and libc_fesetround*.
51578 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
51579 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
51580 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
51582 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51583 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51584 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51585 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51586 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51588 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
51590 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51592 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
51594 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51596 2012-01-27 Ulrich Drepper <drepper@gmail.com>
51599 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
51601 * Makeconfig (libm): Define.
51602 * elf/Makefile: Add rules to build and run tst-relsort1.
51603 * elf/tst-relsort1.c: New file.
51604 * elf/tst-relsort1mod1.c: New file.
51605 * elf/tst-relsort1mod2.c: New file.
51607 2012-01-27 Joseph Myers <joseph@codesourcery.com>
51609 * math/s_ldexp.c: Remove __STDC__ conditionals.
51610 * math/s_ldexpf.c: Likewise.
51611 * math/s_ldexpl.c: Likewise.
51612 * math/s_nextafter.c: Likewise.
51613 * math/s_nexttowardf.c: Likewise.
51614 * math/s_significand.c: Likewise.
51615 * math/s_significandf.c: Likewise.
51616 * math/s_significandl.c: Likewise.
51617 * math/w_jnl.c: Likewise.
51618 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
51619 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
51620 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
51621 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
51622 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
51623 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51624 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
51625 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51626 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51627 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51628 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51629 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51630 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51631 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
51632 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51633 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51634 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51635 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51636 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51637 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51638 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51639 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
51640 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
51641 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51642 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
51643 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
51644 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
51645 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
51646 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
51647 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
51648 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
51649 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
51650 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
51651 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
51652 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
51653 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
51654 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
51655 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
51656 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
51657 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
51658 * sysdeps/ieee754/k_standard.c: Likewise.
51659 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51660 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
51661 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
51662 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
51663 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
51664 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
51665 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
51666 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
51667 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
51668 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
51669 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
51670 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
51671 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
51672 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
51673 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
51674 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
51675 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
51676 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
51677 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
51678 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
51679 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
51680 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
51681 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
51682 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
51683 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
51684 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
51685 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51686 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51687 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51688 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
51689 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
51690 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
51691 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
51692 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
51693 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
51694 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
51695 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
51696 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
51697 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
51698 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
51699 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
51700 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
51701 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
51702 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
51703 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
51704 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
51705 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
51706 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
51707 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
51708 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
51709 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
51710 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
51711 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
51712 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
51713 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
51714 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
51715 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
51716 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51717 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51718 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51719 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
51720 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
51721 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
51722 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51723 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
51724 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
51725 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
51726 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
51727 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
51728 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
51729 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
51730 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
51731 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
51732 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
51733 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
51734 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
51735 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
51736 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
51737 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
51738 * sysdeps/ieee754/s_matherr.c: Likewise.
51739 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
51740 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51741 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51742 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51744 2012-01-26 Joseph Myers <joseph@codesourcery.com>
51746 * crypt/md5.h: Remove __STDC__ conditionals.
51747 * libio/libioP.h: Likewise.
51748 * locale/programs/config.h: Likewise.
51749 * sysdeps/generic/sysdep.h: Likewise.
51750 * sysdeps/i386/asm-syntax.h: Likewise.
51751 * sysdeps/s390/asm-syntax.h: Likewise.
51752 * sysdeps/unix/sysdep.h: Likewise.
51753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
51754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
51756 2012-01-26 Joseph Myers <joseph@codesourcery.com>
51758 * libio/libio.h: Remove __STDC__ conditionals.
51759 * malloc/obstack.h: Likewise.
51760 * math/complex.h: Likewise.
51761 * math/math.h: Likewise.
51762 * sysdeps/generic/_G_config.h: Likewise.
51763 * sysdeps/gnu/_G_config.h: Likewise.
51764 * sysdeps/mach/hurd/_G_config.h: Likewise.
51765 * sysdeps/powerpc/bits/mathdef.h: Likewise.
51766 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
51767 * sysdeps/sparc/bits/mathdef.h: Likewise.
51769 2012-01-26 Ulrich Drepper <drepper@gmail.com>
51772 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
51773 Clean up HAS_* macros.
51774 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
51775 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
51777 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
51779 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51780 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51781 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51782 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51783 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51785 2012-01-25 Joseph Myers <joseph@codesourcery.com>
51787 * elf/tst-unique3.cc (gets): Remove declaration.
51788 * elf/tst-unique3lib.cc (gets): Likewise.
51789 * elf/tst-unique3lib2.cc (gets): Likewise.
51790 * elf/tst-unique4.cc (gets): Likewise.
51792 2012-01-24 Ulrich Drepper <drepper@gmail.com>
51794 * include/stdio.h: Add C++ protection. Add gets declarations and
51796 * debug/tst-chk1.c: Don't declare gets here.
51797 * stdio-common/tst-gets.c: Likewise.
51799 2012-01-24 Joseph Myers <joseph@codesourcery.com>
51801 * posix/glob: Remove directory.
51803 2012-01-24 Joseph Myers <joseph@codesourcery.com>
51805 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
51807 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
51809 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
51810 of the non-standard EPFNOSUPPORT.
51812 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
51814 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
51815 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
51816 ANYWHERE set to 1 only on KERN_NO_SPACE error.
51818 2012-01-21 Ulrich Drepper <drepper@gmail.com>
51820 * wcsmbs/uchar.h: Test __STDC_VERSION__.
51822 2012-01-20 Ulrich Drepper <drepper@gmail.com>
51824 * nscd/aicache.c (addhstaiX): Do not cache negative results of
51826 * nscd/grpcache.c (cache_addgr): Likewise.
51827 * nscd/hstcache.c (cache_addhst): Likewise.
51828 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51829 * nscd/pwdcache.c (cache_addpw): Likewise.
51830 * nscd/servicescache.c (cache_addserv): Likewise.
51832 2012-01-16 Ulrich Drepper <drepper@gmail.com>
51834 * malloc/malloc.c: Various cleanups.
51835 * malloc/hooks.c: Likewise.
51837 * stdlib/Makefile (tests): Add bug-fmtmsg1.
51838 * stdlib/bug-fmtmsg1.c: New file.
51840 * stdlib/fmtmsg.c (init): Add missing unlock.
51841 Patch by Peng Haitao <penght@cn.fujitsu.com>.
51843 2012-01-12 Marek Polacek <polacek@redhat.com>
51845 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
51848 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
51850 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
51851 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
51852 macro to ensure uniqueness of label name.
51853 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51854 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51856 2012-01-11 Ulrich Drepper <drepper@gmail.com>
51858 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
51860 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
51861 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
51862 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
51863 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
51865 2012-01-10 Ulrich Drepper <drepper@gmail.com>
51867 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
51869 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
51870 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
51871 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
51873 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
51875 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
51876 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
51877 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
51878 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
51880 * math/bits/math-finite.h: Add ldexp support.
51882 2012-01-10 Marek Polacek <polacek@redhat.com>
51884 * locale/programs/localedef.h (show_archive_content): Add noreturn
51887 2012-01-09 Ulrich Drepper <drepper@gmail.com>
51889 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
51891 2012-01-08 Ulrich Drepper <drepper@gmail.com>
51893 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
51895 * io/Makefile (headers): Add bits/poll2.h.
51897 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
51899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
51900 typo #include statement.
51902 2012-01-08 Ulrich Drepper <drepper@gmail.com>
51904 * include/sys/cdefs.h: Define __attribute_alloc_size.
51905 * catgets/gencat.c: Add alloc_size attribute and apply consistently
51906 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
51907 * elf/pldd.c: Likewise.
51908 * iconv/iconv_charmap.c: Likewise.
51909 * iconv/iconvconfig.c: Likewise.
51910 * iconv/strtab.c: Likewise.
51911 * locale/programs/locale.c: Likewise.
51912 * locale/programs/localedef.h: Likewise.
51913 * locale/programs/simple-hash.c: Likewise.
51914 * nscd/nscd.h: Likewise.
51915 * nss/makedb.c: Likewise.
51916 * sysdeps/generic/ldconfig.h: Likewise.
51917 * locale/programs/localedef.c: Remove xmalloc prototype.
51918 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
51920 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
51922 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
51925 2012-01-08 Ulrich Drepper <drepper@gmail.com>
51927 * math/Makefile (tests): Add tst-CMPLX.
51928 * math/tst-CMPLX.c: New file.
51930 * math/complex.h (CMPLXL): Fix typo.
51932 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
51933 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
51935 * debug/tst-chk1.c: Add poll and ppoll tests.
51936 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
51937 * include/sys/poll.h: Add hidden proto for ppoll.
51938 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
51939 * sysdeps/mach/hurd/ppoll.c: Likewise.
51940 * io/ppoll.c: Likewise.
51941 * debug/poll_chk.c: New file.
51942 * debug/ppoll_chk.c: New file.
51943 * include/bits/poll2.h: New file.
51944 * io/bits/poll2.h: New file.
51947 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
51949 * configure.in: static is always set to yes. Remove.
51950 * config.make.in: Don't set build-static.
51951 * Makeconfig: Remove use of build-static.
51952 * dlfcn/Makefile: Likewise.
51953 * elf/Makefile: Likewise.
51954 * math/Makefile: Likewise.
51955 * misc/Makefile: Likewise.
51956 * nptl/Makefile: Likewise.
51957 * sysdeps/mach/hurd/Makefile: Likewise.
51959 * configure.in: PWD_P is not used anymore.
51960 * config.make.in: Remove PWD_P entry.
51962 * configure.in: Remove last remnants of RANLIB.
51963 No need to check for signed size_t anymore.
51964 Don't set libc_commonpagesize and libc_relro_required here for Alpha
51966 Remove __builtin_expect test because we require at least gcc 3.4.
51967 * aclocal.m4: Likewise.
51969 * wcsmbs/mbrtoc16.c: Implement using towc function.
51970 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
51971 * wcsmbs/wcsmbsload.c: Likewise.
51972 * iconv/gconv_simple.c: Likewise.
51973 * iconv/gconv_int.h: Likewise.
51974 * iconv/gconv_builtin.h: Likewise.
51975 * iconv/iconv_prog.c: Remove CHAR16 handling.
51977 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
51979 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
51981 * configure.in: Remove --with-elf and --enable-bounded options.
51982 Dont set base_machine for ia64. More non-ELF conditions removed.
51983 Remove testing and setting of leading underscore information.
51984 * config.make.in (build-bounded): Set to no.
51985 * config.h.in: Remove NO_UNDERSCORES entry.
51986 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
51988 * csu/start.c: Remove !NO_UNDERSCORE code.
51989 * locale/localeinfo.h: Likewise.
51990 * sysdeps/generic/machine-gmon.h: Likewise.
51991 * sysdeps/generic/sysdep.h: Likewise.
51992 * sysdeps/i386/sysdep.h: Likewise.
51993 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51994 * sysdeps/mach/sysdep.h: Likewise.
51995 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51996 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51997 * sysdeps/sh/sysdep.h: Likewise.
51998 * sysdeps/sparc/sparc32/alloca.S: Likewise.
51999 * sysdeps/unix/i386/sysdep.S: Likewise.
52000 * sysdeps/unix/sparc/start.c: Likewise.
52001 * sysdeps/unix/sparc/sysdep.S: Likewise.
52002 * sysdeps/unix/sparc/sysdep.h: Likewise.
52003 * sysdeps/unix/start.c: Likewise.
52004 * sysdeps/unix/x86_64/sysdep.S: Likewise.
52005 * sysdeps/x86_64/sysdep.h: Likewise.
52007 2012-01-07 Ulrich Drepper <drepper@gmail.com>
52010 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
52012 * argp/argp-fmtstream.h: Use const instead __const.
52013 * argp/argp.h: Likewise.
52014 * assert/assert.h: Likewise.
52015 * bits/fenv.h: Likewise.
52016 * bits/sched.h: Likewise.
52017 * bits/sigset.h: Likewise.
52018 * bits/sigthread.h: Likewise.
52019 * catgets/nl_types.h: Likewise.
52020 * conform/data/pthread.h-data: Likewise.
52021 * crypt/crypt-private.h: Likewise.
52022 * crypt/crypt.h: Likewise.
52023 * crypt/crypt_util.c: Likewise.
52024 * ctype/ctype.h: Likewise.
52025 * debug/execinfo.h: Likewise.
52026 * debug/mbsnrtowcs_chk.c: Likewise.
52027 * debug/mbsrtowcs_chk.c: Likewise.
52028 * debug/wcsnrtombs_chk.c: Likewise.
52029 * debug/wcsrtombs_chk.c: Likewise.
52030 * debug/wcstombs_chk.c: Likewise.
52031 * dirent/dirent.h: Likewise.
52032 * dlfcn/dlfcn.h: Likewise.
52033 * elf/neededtest4.c: Likewise.
52034 * grp/grp.h: Likewise.
52035 * gshadow/gshadow.h: Likewise.
52036 * iconv/gconv.h: Likewise.
52037 * iconv/gconv_int.h: Likewise.
52038 * iconv/gconv_simple.c: Likewise.
52039 * iconv/iconv.h: Likewise.
52040 * iconv/loop.c: Likewise.
52041 * iconv/skeleton.c: Likewise.
52042 * include/aio.h: Likewise.
52043 * include/aliases.h: Likewise.
52044 * include/argz.h: Likewise.
52045 * include/arpa/inet.h: Likewise.
52046 * include/assert.h: Likewise.
52047 * include/dirent.h: Likewise.
52048 * include/dlfcn.h: Likewise.
52049 * include/execinfo.h: Likewise.
52050 * include/fcntl.h: Likewise.
52051 * include/fenv.h: Likewise.
52052 * include/glob.h: Likewise.
52053 * include/grp.h: Likewise.
52054 * include/libintl.h: Likewise.
52055 * include/mntent.h: Likewise.
52056 * include/netdb.h: Likewise.
52057 * include/pwd.h: Likewise.
52058 * include/rpc/netdb.h: Likewise.
52059 * include/sched.h: Likewise.
52060 * include/search.h: Likewise.
52061 * include/shadow.h: Likewise.
52062 * include/signal.h: Likewise.
52063 * include/stdio.h: Likewise.
52064 * include/stdlib.h: Likewise.
52065 * include/string.h: Likewise.
52066 * include/sys/socket.h: Likewise.
52067 * include/sys/stat.h: Likewise.
52068 * include/sys/statfs.h: Likewise.
52069 * include/sys/statvfs.h: Likewise.
52070 * include/sys/syslog.h: Likewise.
52071 * include/sys/time.h: Likewise.
52072 * include/sys/uio.h: Likewise.
52073 * include/time.h: Likewise.
52074 * include/unistd.h: Likewise.
52075 * include/utmp.h: Likewise.
52076 * include/wchar.h: Likewise.
52077 * include/wctype.h: Likewise.
52078 * inet/aliases.h: Likewise.
52079 * inet/arpa/inet.h: Likewise.
52080 * inet/netinet/ether.h: Likewise.
52081 * inet/netinet/in.h: Likewise.
52082 * intl/libintl.h: Likewise.
52083 * io/bits/fcntl2.h: Likewise.
52084 * io/fcntl.h: Likewise.
52085 * io/ftw.h: Likewise.
52086 * io/sys/poll.h: Likewise.
52087 * io/sys/stat.h: Likewise.
52088 * io/sys/statfs.h: Likewise.
52089 * io/sys/statvfs.h: Likewise.
52090 * io/utime.h: Likewise.
52091 * libio/bits/stdio.h: Likewise.
52092 * libio/bits/stdio2.h: Likewise.
52093 * libio/libio.h: Likewise.
52094 * libio/libioP.h: Likewise.
52095 * libio/stdio.h: Likewise.
52096 * locale/lc-ctype.c: Likewise.
52097 * locale/locale.h: Likewise.
52098 * login/utmp.h: Likewise.
52099 * malloc/arena.c: Likewise.
52100 * malloc/malloc.c: Likewise.
52101 * malloc/malloc.h: Likewise.
52102 * malloc/mcheck.c: Likewise.
52103 * malloc/mtrace.c: Likewise.
52104 * math/bits/mathcalls.h: Likewise.
52105 * math/fenv.h: Likewise.
52106 * math/math_private.h: Likewise.
52107 * misc/bits/error.h: Likewise.
52108 * misc/bits/syslog.h: Likewise.
52109 * misc/err.h: Likewise.
52110 * misc/error.h: Likewise.
52111 * misc/fstab.h: Likewise.
52112 * misc/mntent.h: Likewise.
52113 * misc/regexp.h: Likewise.
52114 * misc/search.h: Likewise.
52115 * misc/sgtty.h: Likewise.
52116 * misc/sys/mman.h: Likewise.
52117 * misc/sys/syslog.h: Likewise.
52118 * misc/sys/uio.h: Likewise.
52119 * misc/sys/xattr.h: Likewise.
52120 * misc/ttyent.h: Likewise.
52121 * nis/rpcsvc/ypclnt.h: Likewise.
52122 * nss/nss.h: Likewise.
52123 * posix/bits/unistd.h: Likewise.
52124 * posix/fnmatch.h: Likewise.
52125 * posix/glob.h: Likewise.
52126 * posix/sched.h: Likewise.
52127 * posix/spawn.h: Likewise.
52128 * posix/sys/wait.h: Likewise.
52129 * posix/unistd.h: Likewise.
52130 * posix/wordexp.h: Likewise.
52131 * pwd/pwd.h: Likewise.
52132 * resolv/netdb.h: Likewise.
52133 * resource/sys/resource.h: Likewise.
52134 * rt/aio.h: Likewise.
52135 * rt/bits/mqueue2.h: Likewise.
52136 * rt/mqueue.h: Likewise.
52137 * shadow/shadow.h: Likewise.
52138 * signal/signal.h: Likewise.
52139 * socket/send.c: Likewise.
52140 * socket/sendto.c: Likewise.
52141 * socket/sys/socket.h: Likewise.
52142 * stdio-common/printf.h: Likewise.
52143 * stdlib/bits/stdlib.h: Likewise.
52144 * stdlib/fmtmsg.h: Likewise.
52145 * stdlib/monetary.h: Likewise.
52146 * stdlib/stdlib.h: Likewise.
52147 * stdlib/ucontext.h: Likewise.
52148 * streams/stropts.h: Likewise.
52149 * string/argz.h: Likewise.
52150 * string/bits/string2.h: Likewise.
52151 * string/string.h: Likewise.
52152 * string/strings.h: Likewise.
52153 * sunrpc/rpc/auth.h: Likewise.
52154 * sunrpc/rpc/auth_des.h: Likewise.
52155 * sunrpc/rpc/clnt.h: Likewise.
52156 * sunrpc/rpc/netdb.h: Likewise.
52157 * sunrpc/rpc/pmap_clnt.h: Likewise.
52158 * sunrpc/rpc/xdr.h: Likewise.
52159 * sysdeps/generic/inttypes.h: Likewise.
52160 * sysdeps/generic/net/if.h: Likewise.
52161 * sysdeps/generic/sys/swap.h: Likewise.
52162 * sysdeps/gnu/net/if.h: Likewise.
52163 * sysdeps/gnu/utmpx.h: Likewise.
52164 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
52165 * sysdeps/i386/i486/bits/string.h: Likewise.
52166 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
52167 * sysdeps/s390/bits/string.h: Likewise.
52168 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
52169 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
52170 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
52171 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
52172 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
52173 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
52174 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
52175 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
52176 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
52177 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
52178 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
52179 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
52180 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
52181 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
52182 * sysdeps/unix/sysv/linux/readv.c: Likewise.
52183 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
52184 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
52185 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52186 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
52187 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
52188 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
52189 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
52190 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
52191 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
52192 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
52193 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
52194 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
52195 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52196 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
52197 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
52198 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
52199 * sysvipc/sys/ipc.h: Likewise.
52200 * sysvipc/sys/msg.h: Likewise.
52201 * sysvipc/sys/sem.h: Likewise.
52202 * sysvipc/sys/shm.h: Likewise.
52203 * termios/termios.h: Likewise.
52204 * time/sys/time.h: Likewise.
52205 * time/time.h: Likewise.
52206 * wcsmbs/bits/wchar2.h: Likewise.
52207 * wcsmbs/uchar.h: Likewise.
52208 * wcsmbs/wchar.h: Likewise.
52209 * wctype/wctype.h: Likewise.
52212 * Makeconfig: Remove all but ELF support including AIX support.
52213 * Makerules: Likewise.
52214 * config.h.in: Likewise.
52215 * config.make.in: Likewise.
52216 * configure: Likewise.
52217 * configure.in: Likewise.
52218 * csu/Makefile: Likewise.
52219 * csu/version.c: Likewise.
52220 * debug/Makefile: Likewise.
52221 * dlfcn/Makefile: Likewise.
52222 * elf/Makefile: Likewise.
52223 * extra-lib.mk: Likewise.
52224 * iconv/Makefile: Likewise.
52225 * include/libc-symbols.h: Likewise.
52226 * include/shlib-compat.h: Likewise.
52227 * resolv/Makefile: Likewise.
52228 * resolv/res_libc.c: Likewise.
52229 * rt/Makefile: Likewise.
52230 * sysdeps/i386/asm-syntax.h: Likewise.
52231 * sysdeps/i386/sysdep.h: Likewise.
52232 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
52233 * sysdeps/mach/sysdep.h: Likewise.
52234 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
52235 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
52236 * sysdeps/s390/asm-syntax.h: Likewise.
52237 * sysdeps/s390/s390-32/sysdep.h: Likewise.
52238 * sysdeps/s390/s390-64/sysdep.h: Likewise.
52239 * sysdeps/sh/sysdep.h: Likewise.
52240 * sysdeps/unix/sparc/sysdep.h: Likewise.
52241 * sysdeps/wordsize-32/divdi3.c: Likewise.
52242 * sysdeps/x86_64/sysdep.h: Likewise.
52244 * argp/Versions: Remove _argp_unlock_xxx.
52247 * abilist/ld.abilist: Update. Adjust for removal of tls option.
52248 * abilist/libBrokenLocale.abilist: Likewise.
52249 * abilist/libanl.abilist: Likewise.
52250 * abilist/libc.abilist: Likewise.
52251 * abilist/libcrypt.abilist: Likewise.
52252 * abilist/libdl.abilist: Likewise.
52253 * abilist/libm.abilist: Likewise.
52254 * abilist/libnsl.abilist: Likewise.
52255 * abilist/libpthread.abilist: Likewise.
52256 * abilist/libresolv.abilist: Likewise.
52257 * abilist/librt.abilist: Likewise.
52258 * abilist/libthread_db.abilist: Likewise.
52259 * abilist/libutil.abilist: Likewise.
52260 * abilist/libnss_db.abilist: New file.
52262 * scripts/abilist.awk: Add support for indirect functions.
52264 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
52266 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
52268 * shlib-versions: Remove entries for ports architectures.
52270 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
52272 * elf/stackguard-macros.h: Remove support for IA-64.
52273 * elf/tst-auditmod1.c: Likewise.
52274 * sysdeps/generic/ldsodefs.h: Likewise.
52276 * sysdeps/unix/sysv/linux/configure.in: Ports should define
52277 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
52281 * configure.in: Remove --enable-omitfp support.
52283 * config.make.in: Likewise.
52284 * Makeconfig: Likewise.
52285 * manual/install.texi: Likewise.
52287 In case anyone cares, the IA-64 architecture could move to ports.
52288 * sysdeps/ia64/*: Removed.
52289 * sysdeps/unix/sysv/linux/ia64/*: Removed.
52290 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
52293 * configure.in: Remove entries for unsupported architectures.
52296 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
52297 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
52299 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
52300 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
52301 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
52302 fall back to using wcrtomb.
52303 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
52304 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
52306 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
52307 * wcsmbs/tst-c16c32-1.c: New file.
52309 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
52312 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
52314 * elf/tst-unique3.cc: Add explicit declaration of gets.
52315 * elf/tst-unique3lib.cc: Likewise.
52316 * elf/tst-unique3lib2.cc: Likewise.
52317 * elf/tst-unique4.cc: Likewise.
52319 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
52321 2012-01-06 Joseph Myers <joseph@codesourcery.com>
52324 * assert/assert.h (static_assert): Don't define for C++.
52325 * libio/stdio.h (gets): Do declare for C++ <= C++11.
52326 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
52328 2012-01-03 Ulrich Drepper <drepper@gmail.com>
52330 * iconv/loop.c (single loop): Fix assertion in storing of
52333 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
52335 2012-01-01 Ulrich Drepper <drepper@gmail.com>
52337 * posix/getconf.c: Update copyright year.
52338 * nss/getent.c: Likewise.
52339 * nss/makedb.c: Likewise.
52340 * iconv/iconvconfig.c: Likewise.
52341 * iconv/iconv_prog.c: Likewise.
52342 * elf/ldconfig.c: Likewise.
52343 * elf/pldd.c: Likewise.
52344 * elf/sotruss.ksh: Likewise.
52345 * catgets/gencat.c: Likewise.
52346 * csu/version.c: Likewise.
52347 * elf/ldd.bash.in: Likewise.
52348 * elf/sprof.c (print_version): Likewise.
52349 * locale/programs/locale.c: Likewise.
52350 * locale/programs/localedef.c: Likewise.
52351 * login/programs/pt_chown.c: Likewise.
52352 * nscd/nscd.c (print_version): Likewise.
52353 * debug/xtrace.sh: Likewise.
52354 * malloc/memusage.sh: Likewise.
52355 * malloc/mtrace.pl: Likewise.
52356 * debug/catchsegv.sh: Likewise.
52358 2011-12-30 Jakub Jelinek <jakub@redhat.com>
52360 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
52363 2011-12-24 Ulrich Drepper <drepper@gmail.com>
52366 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
52367 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
52369 * iconv/gconv_int.h: Likewise.
52370 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
52371 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
52372 from libc for GLIBC_2.16.
52373 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
52374 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
52375 * wcsmbs/uchar.h: Really define mbstate_t.
52376 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
52377 * wcsmbs/c16rtomb.c: New file.
52378 * wcsmbs/mbrtoc16.c: New file.
52379 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
52380 for C/POSIX locale.
52381 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
52382 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
52384 * wcsmbs/wchar.h: Add missing __restrict.
52386 2011-12-23 Ulrich Drepper <drepper@gmail.com>
52389 * time/Makefile (routines): Add timespec_get.
52390 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
52391 * time/time.h: Define TIME_UTC and declare timespec_get. Define
52392 timespec for ISO C11.
52393 * time/timespec_get.c: New file.
52394 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
52395 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
52398 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
52399 * stdlib/stdlib.h: Declare aligned_alloc.
52400 * Versions.def: Add GLIBC_2.16 for libc.
52401 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
52404 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
52407 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
52411 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
52414 * assert/assert.h (static_assert): Define.
52416 * version.h: Update for 2.16 development version.
52419 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
52422 * version.h (RELEASE): Bump for 2.15 release.
52423 * include/features.h (__GLIBC_MINOR__): Bump to 15.
52425 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
52426 Patch by Marek Polacek <mpolacek@redhat.com>.
52428 * bits/byteswap.h: Protect long long constants with __extension__.
52429 * sysdeps/i386/bits/byteswap.h: Likewise.
52430 * sysdeps/ia64/bits/byteswap.h: Likewise.
52431 * sysdeps/s390/bits/byteswap.h: Likewise.
52432 * sysdeps/x86_64/bits/byteswap.h: Likewise.
52434 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52437 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
52438 destination buffer.
52439 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
52441 2011-12-23 Marek Polacek <polacek@redhat.com>
52443 * elf/dl-addr.c (determine_info): Add inline keyword.
52444 * elf/tst-auditmod4b.c (check_avx): Likewise.
52445 * elf/tst-auditmod6b.c (check_avx): Likewise.
52446 * elf/tst-auditmod6c.c (check_avx): Likewise.
52447 * elf/tst-auditmod7b.c (check_avx): Likewise.
52449 2011-12-23 Ulrich Drepper <drepper@gmail.com>
52451 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
52454 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52457 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
52458 processing for last bytes.
52460 2011-08-06 Bruno Haible <bruno@clisp.org>
52463 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
52464 U+0385, not to U+1FEE.
52467 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
52468 entry for U+00A5 U+0301.
52470 2011-12-22 Ulrich Drepper <drepper@gmail.com>
52473 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
52474 buffer for the output is too small.
52476 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
52480 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
52481 SSE flags if possible.
52483 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52486 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
52487 processing for last bytes.
52489 2011-12-22 Joseph Myers <joseph@codesourcery.com>
52491 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
52492 (syscall-list-default-options, syscall-list-default-condition)
52493 (syscall-list-includes): Define.
52494 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
52495 list of ABIs and options and #if conditions for each ABI. Do not
52496 handle common syscalls between ABIs specially.
52497 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
52499 (syscall-list-variants, syscall-list-32bit-options)
52500 (syscall-list-32bit-condition, syscall-list-64bit-options)
52501 (syscall-list-64bit-condition): Define.
52502 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
52503 (syscall-list-variants, syscall-list-32bit-options)
52504 (syscall-list-32bit-condition, syscall-list-64bit-options)
52505 (syscall-list-64bit-condition): Define.
52506 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
52508 (syscall-list-variants, syscall-list-32bit-options)
52509 (syscall-list-32bit-condition, syscall-list-64bit-options)
52510 (syscall-list-64bit-condition): Define.
52511 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
52513 (syscall-list-variants, syscall-list-32bit-options)
52514 (syscall-list-32bit-condition, syscall-list-64bit-options)
52515 (syscall-list-64bit-condition): Define.
52517 2011-12-22 Ulrich Drepper <drepper@gmail.com>
52519 * locale/iso-639.def: Add brx entry.
52522 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
52523 Proposed by Mariusz_Cukr <marcukr@op.pl>.
52525 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
52526 __feraiseexcept_renamed.
52528 2011-12-21 Ulrich Drepper <drepper@gmail.com>
52531 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
52532 EPOLLET with unsigned values.
52533 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52534 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
52536 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
52537 to large cancellation.
52538 * math/s_cacoshf.c: Likewise.
52539 * math/s_cacoshl.c: Likewise.
52541 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
52545 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
52546 * math/s_cacoshf.c: Likewise.
52547 * math/s_cacoshl.c: Likewise.
52549 2011-12-21 Ulrich Drepper <drepper@gmail.com>
52552 * iconv/gconv.h: Define __GCONV_SWAP.
52553 * iconvdata/unicode.c: The swap bit must be stored in __flags.
52554 * iconvdata/utf-16.c: Likewise.
52555 * iconvdata/utf-32.c: Likewise.
52557 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
52560 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
52561 numerator after shifting it by one limb.
52563 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
52565 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
52566 under [__USE_EXTERN_INLINES].
52568 2011-12-17 Ulrich Drepper <drepper@gmail.com>
52571 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
52573 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52575 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
52576 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
52578 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
52579 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
52580 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
52581 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
52582 for strncasecmp/strncasecmp_l compilation.
52583 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
52584 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
52586 2011-12-08 Marek Polacek <mpolacek@redhat.com>
52589 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
52592 2011-12-17 Ulrich Drepper <drepper@gmail.com>
52595 * time/tzfile.c (__tzfile_read): Check values from file header.
52597 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
52599 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
52600 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
52601 * powerpc/powerpc32/dl-start.S: Likewise.
52602 * powerpc/powerpc32/elf/start.S: Likewise.
52603 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
52604 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
52605 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
52606 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
52607 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
52608 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
52609 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
52610 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
52611 * powerpc/powerpc32/fpu/s_round.S: Likewise.
52612 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
52613 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
52614 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
52615 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
52616 * powerpc/powerpc32/memset.S: Likewise.
52617 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
52618 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
52619 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
52620 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
52621 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
52622 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
52623 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
52624 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
52625 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
52626 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
52627 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
52628 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
52629 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
52631 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52633 * math/libm-test.inc: Added more nearbyint tests.
52634 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
52635 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
52636 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
52637 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
52639 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
52641 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
52644 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52646 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
52647 Add wcscpy-ssse3 wcscpy-c.
52648 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
52649 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
52650 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
52651 * sysdeps/x86_64/wcschr.S: New file.
52652 * sysdeps/x86_64/wcsrchr.S: New file.
52653 * string/test-strcmp.c: Remove checking of wcscmp function for
52655 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
52656 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
52657 wcsrchr-sse2 wcsrchr-c.
52658 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
52659 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
52660 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
52661 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
52662 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
52663 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
52664 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
52665 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
52666 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
52667 * wcsmbc/wcschr.c (WCSCHR): New macro.
52669 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52671 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
52672 * wcsmbs/test-wcsrchr.c: New file.
52673 * string/test-strrchr.c: Add wcsrchr support.
52675 * wcsmbs/test-wcscpy.c: New file.
52676 * string/test-strcpy.c: Add wcscpy support.
52679 2011-12-10 Ulrich Drepper <drepper@gmail.com>
52681 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
52684 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
52687 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
52689 2011-12-04 Ulrich Drepper <drepper@gmail.com>
52691 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52692 Minor optimizations.
52694 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
52695 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
52696 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
52698 2011-12-03 Ulrich Drepper <drepper@gmail.com>
52700 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
52701 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
52702 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
52703 for gcc to avoid warnings.
52704 * inet/Makefile (tests): Add tst-checks.
52705 * inet/tst-checks.c: New file.
52707 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
52710 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
52713 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
52714 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
52716 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
52718 2011-12-02 Ulrich Drepper <drepper@gmail.com>
52720 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
52723 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
52725 2011-11-29 Joseph Myers <joseph@codesourcery.com>
52727 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
52728 conditional on GCC version.
52729 (__arch_compare_and_exchange_val_8_acq)
52730 (__arch_compare_and_exchange_val_16_acq)
52731 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
52732 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
52733 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
52735 2011-12-02 Joseph Myers <joseph@codesourcery.com>
52737 * sysdeps/sh/backtrace.c: New file.
52739 2011-12-02 Andreas Schwab <schwab@redhat.com>
52741 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
52744 2011-12-01 Andreas Schwab <schwab@redhat.com>
52746 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
52747 falling back to utime.
52749 2011-11-30 Andreas Schwab <schwab@redhat.com>
52751 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
52752 expectations for float.
52754 2011-11-29 Andreas Schwab <schwab@redhat.com>
52756 * locale/weight.h (findidx): Add parameter len.
52757 * locale/weightwc.h (findidx): Likewise.
52758 * posix/fnmatch_loop.c (FCT): Adjust caller.
52759 * posix/regcomp.c (build_equiv_class): Likewise.
52760 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
52761 * posix/regexec.c (check_node_accept_bytes): Likewise.
52762 * string/strcoll_l.c (STRCOLL): Likewise.
52763 * string/strxfrm_l.c (STRXFRM): Likewise.
52765 2011-11-17 Ulrich Drepper <drepper@gmail.com>
52767 * Makefile.in: Remove CVSOPT handling.
52768 * configure.in: Remove use of AC_REVISION.
52769 * iconvdata/Makefile (distribute): No need to filter out CVS.
52770 * scripts/list-sources.sh: Remove CVS, subversion and monotone
52773 2011-11-16 Andreas Schwab <schwab@redhat.com>
52775 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
52776 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
52777 [USE_AS_STRNCASECMP_L]: Likewise.
52778 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
52779 NO_TLS_DIRECT_SEG_REFS.
52780 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
52781 Fix argument offsets for non-PIC.
52782 [USE_AS_STRNCASECMP_L]: Likewise.
52783 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
52784 NO_TLS_DIRECT_SEG_REFS.
52786 2011-11-15 Ulrich Drepper <drepper@gmail.com>
52788 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
52790 * locale/loadlocale.c (_nl_load_locale): Likewise.
52792 2011-11-15 Andreas Schwab <schwab@redhat.com>
52794 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
52795 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
52796 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
52797 (SYSCALL_GETTIME): Set errno on error.
52799 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
52800 count references to noai6ai_cached.
52802 2011-11-15 Ulrich Drepper <drepper@gmail.com>
52804 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
52806 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
52807 FD_CLOEXEC for /proc/self/maps.
52809 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
52810 FD_CLOEXEC for /proc/meminfo.
52812 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
52815 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
52816 FD_CLOEXEC for given file.
52818 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
52820 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
52821 FD_CLOEXEC for /etc/hosts.
52822 (_gethtent): Likewise.
52824 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
52826 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
52827 cancellation and set FD_CLOEXEC for /etc/netgroup.
52829 * nss/nss_files/files-key.c (search): Don't allow cancellation when
52830 reading /etc/publickey.
52832 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
52833 allow cancellation when reading /etc/group.
52835 * nss/nss_files/files-alias.c (internal_setent): Don't allow
52837 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
52839 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
52840 when using data file.
52842 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
52844 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
52845 (write_nis_obj): Use "c" and "e" in fopen.
52847 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
52849 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
52851 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
52853 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
52855 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
52858 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
52860 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
52862 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
52864 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
52865 file parsing and set FD_CLOEXEC.
52867 2011-11-14 Ulrich Drepper <drepper@gmail.com>
52869 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
52871 2011-11-14 Andreas Schwab <schwab@redhat.com>
52873 * malloc/arena.c (arena_get2): Don't call reused_arena when
52874 _int_new_arena failed.
52876 2011-11-14 Ulrich Drepper <drepper@gmail.com>
52878 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
52879 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
52880 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
52881 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52882 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52883 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
52884 to compile strcasecmp and strncasecmp.
52885 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
52886 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
52888 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
52890 2011-11-13 Ulrich Drepper <drepper@gmail.com>
52892 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
52893 locale-defines.sym to gen-as-const-headers.
52894 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
52895 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
52896 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
52897 to compile strcasecmp and strncasecmp.
52898 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
52899 strcasecmp_l and strncasecmp_l.
52900 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
52901 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
52902 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
52903 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
52904 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
52905 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
52906 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
52907 * sysdeps/i386/i686/multiarch/strncase.S: New file.
52908 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
52909 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
52910 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
52912 2011-11-12 Ulrich Drepper <drepper@gmail.com>
52914 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
52915 result of SYSDEP_GETTIME_CPU to retval.
52916 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
52917 parameter list to macro. Remove trailing semicolon. Adjust users.
52919 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
52922 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
52924 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
52926 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
52927 from unused variable.
52929 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
52931 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
52934 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
52937 * sunrpc/rpc_prot.c (rejected): Fix case value.
52939 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
52940 unsigned long long int to avoid warnings in shift.
52942 * posix/regex_internal.c (re_string_reconstruct): Actually use result
52944 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
52947 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
52948 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
52949 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
52951 * nis/nis_table.c (nis_list): Use variable of correct type for
52952 result of __follow_path call.
52954 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52956 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
52957 of math functions ceil, trunc, floor, round, and sqrt, when
52958 avaliable on the platform.
52959 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
52961 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52962 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52963 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52965 2011-10-30 Marek Polacek <mpolacek@redhat.com>
52967 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
52968 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52970 2011-11-11 Roland McGrath <roland@hack.frob.com>
52972 * include/unistd.h: Fix __readlink return type.
52973 Reported by Chris Metcalf <cmetcalf@tilera.com>.
52975 2011-11-11 Ulrich Drepper <drepper@gmail.com>
52977 * stdlib/ucontext.h: Undo last change for makecontext.
52979 2011-11-11 Andreas Schwab <schwab@redhat.com>
52981 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
52983 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
52984 * setjmp/setjmp.h: Mark functions as non-leaf.
52985 * setjmp/bits/setjmp2.h: Likewise.
52986 * stdlib/ucontext.h: Likewise.
52988 2011-11-10 Andreas Schwab <schwab@redhat.com>
52990 * malloc/arena.c (_int_new_arena): Don't increment narenas.
52991 (reused_arena): Don't check arena limit.
52992 (arena_get2): Atomically check arena limit.
52994 2011-11-08 Ulrich Drepper <drepper@gmail.com>
52996 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
52997 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
52999 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
53002 2011-11-07 Andreas Schwab <schwab@redhat.com>
53004 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
53005 handler when locking.
53007 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53008 Fix size of allocated buffer.
53010 2011-11-04 Andreas Schwab <schwab@redhat.com>
53013 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
53014 declarations for long double functions.
53015 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
53017 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
53019 2011-11-03 Andreas Schwab <schwab@redhat.com>
53021 * nscd/nscd.c (main): Don't start AVC thread until credentials are
53024 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
53027 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
53029 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
53031 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
53033 * include/alloca.h (stackinfo_alloca_round): Define.
53034 (extend_alloca): Use it.
53035 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
53036 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
53039 * scripts/check-local-headers.sh: Ignore libaudit.h.
53041 * nscd/Makefile (extra-objs): Make recursively expanded.
53043 2011-11-01 Ulrich Drepper <drepper@gmail.com>
53045 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
53046 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
53048 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
53049 * posix/tst-rfc3484-2.c: Likewise.
53050 * posix/tst-rfc3484-3.c: Likewise.
53052 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53054 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
53056 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
53057 process_vm_writev from libc using GLIBC_2.15 version.
53059 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
53061 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
53063 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
53066 2011-10-31 Ulrich Drepper <drepper@gmail.com>
53069 * nss/getent.c (initgroups_keys): Show error message in case no group
53072 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
53073 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
53074 __bump_nl_timestamp.
53075 * nscd/connections (nscd_init): When host database is served open
53076 netlink socket and request notification about configuration changes.
53077 (main_loop_poll): Track netlink file descriptor and bump timestamp
53078 in case data becomes available.
53079 (main_loop_epoll): Likewise.
53080 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
53081 (database_pers_head): Add extra_data fileds.
53082 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
53083 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
53084 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
53086 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
53087 in6ai data, call __free_in6ai.
53088 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
53089 Add -DHAVE_NETLINK.
53090 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
53091 interface information. Reuse previous data if netlink timestamp
53093 (__bump_nl_timestamp): New function.
53094 (__free_in6ai): New function.
53096 2011-10-30 Ulrich Drepper <drepper@gmail.com>
53098 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
53099 close_not_cancel_no_status here.
53100 (__check_pf): Reorganize code a bit to not call close twice if OOM.
53102 2011-10-29 Ulrich Drepper <drepper@gmail.com>
53105 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
53108 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
53109 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
53110 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
53112 2011-07-03 Andreas Jaeger <aj@suse.de>
53115 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
53116 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
53117 * math/libm-test.inc (sin_test): Add test case.
53119 2011-10-29 Ulrich Drepper <drepper@gmail.com>
53122 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
53123 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
53125 * elf/chroot_canon.c (chroot_canon): Cleanups.
53127 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
53130 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
53131 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
53133 * string/test-strchr.c: Make usable for strchrnul testing.
53134 * string/test-strchrnul.c: New file.
53135 * string/Makefile (strop-tests): Add strchrnul.
53137 * po/it.po: Update from translation team.
53138 * po/es.po: Likewise.
53140 2011-10-28 Ulrich Drepper <drepper@gmail.com>
53142 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
53143 the three constants needed as parameters. Drop the others.
53144 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
53145 __m128i_strloadu_tolower.
53146 Create and initialize variable zero and use it in all the places
53147 where _mm_setzero_si128 was used.
53149 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
53150 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
53151 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
53152 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
53154 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
53155 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
53156 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
53157 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
53158 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
53159 __mpranred, __mptan.
53160 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
53161 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
53162 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
53163 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
53164 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
53165 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
53166 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
53167 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
53168 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
53170 2011-10-28 Andreas Schwab <schwab@redhat.com>
53172 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
53173 redefine if SHARED.
53174 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
53176 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
53177 wide char related routines to wcsmbs subdir.
53179 2011-10-27 Andreas Schwab <schwab@redhat.com>
53182 * misc/sys/cdefs.h (__THROWNL): Define.
53183 * posix/unistd.h: Use __THREADNL instead of __THREAD
53184 for memory synchronization functions.
53186 2011-10-26 Roland McGrath <roland@hack.frob.com>
53189 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
53191 * manual/stdio.texi (Obstack Streams): Node removed.
53193 2011-10-26 Andreas Schwab <schwab@redhat.com>
53195 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
53196 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53197 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53199 * math/math_private.h (math_force_eval): Allow non-addressable
53201 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
53203 2011-10-25 Ulrich Drepper <drepper@gmail.com>
53205 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
53206 file is not needed.
53208 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
53209 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
53210 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53211 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53212 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53213 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53214 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53215 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
53217 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
53218 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
53219 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
53220 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
53221 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
53222 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
53223 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
53224 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
53225 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
53226 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
53227 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
53228 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
53229 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
53230 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
53231 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
53232 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
53233 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
53234 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
53235 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
53237 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
53238 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
53240 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
53241 place. Use VEX encoding when compiling for AVX.
53243 2011-10-25 Andreas Schwab <schwab@redhat.com>
53245 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
53246 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
53248 * string/test-strchr.c (do_test): Don't generate NUL bytes.
53250 2011-10-25 Ulrich Drepper <drepper@gmail.com>
53252 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
53253 useless if() expression.
53254 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53255 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53256 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53257 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53258 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53259 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53260 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53261 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53262 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53263 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53264 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53265 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53266 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
53267 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53268 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
53269 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53270 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53271 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53272 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
53274 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
53276 2011-10-25 Andreas Schwab <schwab@redhat.com>
53278 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
53280 * elf/dl-fini.c (_dl_sort_fini): Likewise.
53282 2011-10-25 Ulrich Drepper <drepper@gmail.com>
53284 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
53285 .text section. Avoid duplicate constants.
53286 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53287 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53288 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53289 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53290 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53291 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53292 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53293 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53294 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
53295 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
53296 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
53297 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
53298 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
53299 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
53300 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
53301 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
53302 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
53303 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
53304 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53305 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53306 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53307 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53308 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53309 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
53310 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
53311 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
53312 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
53313 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
53314 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
53315 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
53316 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
53317 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
53318 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
53319 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
53320 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
53321 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
53322 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
53323 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
53324 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
53325 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
53326 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
53327 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
53328 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
53329 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
53330 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
53332 2011-10-24 Ulrich Drepper <drepper@gmail.com>
53334 * sysdeps/x86_64/dla.h: Move to ...
53335 * sysdeps/x86_64/fpu/dla.h: ...here.
53336 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
53337 situations. Use __builtin_fma only for gcc 4.6 and up.
53339 * config.make.in: Add have-mfma4 entry.
53340 * configure.in: Substitute libc_cv_cc_fma4.
53341 * math/Makefile (dbl-only-routines): Add sincostab.
53342 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
53343 Use __sincostab not sincos.
53344 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
53346 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53347 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53348 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53349 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
53351 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
53352 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
53353 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
53354 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
53356 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
53357 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
53359 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
53360 define aliases when function name is a macro.
53361 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
53362 sysdeps/ieee754/dbl-64/sincos.tbl.
53363 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
53364 fma4-enabled routines.
53365 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
53366 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
53367 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
53368 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
53369 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
53370 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
53371 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
53372 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
53373 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
53374 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
53375 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
53376 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
53377 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
53378 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
53379 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
53380 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
53381 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
53382 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
53383 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
53384 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
53385 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
53386 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
53387 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
53388 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
53389 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
53390 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
53391 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
53392 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
53393 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
53394 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
53396 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
53398 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53399 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53400 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53401 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53402 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53403 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53404 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53405 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53407 2011-10-24 Andreas Schwab <schwab@redhat.com>
53409 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
53411 2011-10-23 Ulrich Drepper <drepper@gmail.com>
53413 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
53415 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
53417 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
53419 * string/strnlen.c: Don't define STRNLEN, reverse logic.
53420 Remove unused variable magic_bits.
53421 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
53423 * string/strnlen.c: Define and use STRNLEN macro.
53424 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
53425 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
53426 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
53427 * wcsmbs/wcslen.c: Define and use WCSLEN.
53428 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
53429 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
53430 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
53431 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
53432 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
53433 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
53434 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53436 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53438 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53439 strnlen-sse2-no-bsf.
53440 Rename strlen-no-bsf to strlen-sse2-no-bsf.
53441 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
53442 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
53443 Add strnlen support.
53444 (USE_AS_STRNLEN): New macro.
53445 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
53446 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
53447 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
53448 * sysdeps/x86_64/wcslen.S: New file.
53450 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
53452 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
53453 XMM-moves are used for copying on small sizes.
53455 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53457 * wcsmbs/Makefile (strop-tests): Add wcschr.
53458 * wcsmbs/test-wcschr.c: New file.
53459 * string/test-strchr.c: Update.
53460 Add wcschr support.
53463 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53465 * wcsmbs/Makefile (strop-tests): Add wcslen.
53466 * wcsmbs/test-wcslen.c: New file.
53467 * string/test-strlen.c: Update.
53468 Add wcslen support.
53471 2011-10-23 Ulrich Drepper <drepper@gmail.com>
53473 * po/it.po: Update from translation team.
53475 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53477 * sysdeps/x86_64/wcscmp.S: Update.
53478 Fix wrong comparison semantics.
53479 wcscmp shall use signed comparison not unsigned.
53480 Don't use substraction to avoid overflow bug.
53481 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
53482 * wcsmbc/wcscmp.c: Likewise.
53483 * string/test-strcmp.c: Likewise.
53484 Add new tests to check cases with negative values.
53486 2011-10-23 Ulrich Drepper <drepper@gmail.com>
53488 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
53489 * sysdeps/x86_64/dla.h: ...here. New file.
53490 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
53491 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53492 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53493 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53494 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53495 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53496 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53497 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53498 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53500 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
53502 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
53503 __ynl_finite aliases.
53505 2011-10-22 Ulrich Drepper <drepper@gmail.com>
53507 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53509 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
53511 [DLA_FMA] (EMULV): Use DLA_FMA.
53512 [DLA_FMA] (MUL12): Use EMULV.
53513 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
53514 that are not needed.
53515 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53516 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53517 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53518 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53519 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53520 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53521 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53523 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
53525 * math/s_nan.c: Undef __nan.
53526 * math/s_nanf.c: Undef __nanf.
53527 * math/s_nanl.c: Undef __nanl.
53528 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
53531 2011-10-22 Ulrich Drepper <drepper@gmail.com>
53533 * math/s_catan.c: Add branch predictions.
53534 * math/s_catanf.c: Likewise.
53535 * math/s_catanh.c: Likewise.
53536 * math/s_catanhf.c: Likewise.
53537 * math/s_catanhl.c: Likewise.
53538 * math/s_catanl.c: Likewise.
53539 * math/s_cexp.c: Likewise.
53540 * math/s_cexpf.c: Likewise.
53541 * math/s_cexpl.c: Likewise.
53542 * math/s_clog.c: Likewise.
53543 * math/s_clog10.c: Likewise.
53544 * math/s_clog10f.c: Likewise.
53545 * math/s_clog10l.c: Likewise.
53546 * math/s_clogf.c: Likewise.
53547 * math/s_clogl.c: Likewise.
53548 * math/s_csqrt.c: Likewise.
53549 * math/s_csqrtf.c: Likewise.
53550 * math/s_csqrtl.c: Likewise.
53551 * math/s_ctanf.c: Likewise.
53552 * math/s_ctanh.c: Likewise.
53553 * math/s_ctanhf.c: Likewise.
53554 * math/s_ctanhl.c: Likewise.
53555 * math/s_ctanl.c: Likewise.
53557 * math/math_private.h: Define __nan, __nanf, __nanl.
53558 * math/s_cacosh.c: Include <math_private.h>.
53559 * math/s_cacoshl.c: Likewise.
53560 * math/s_casinh.c: Likewise.
53561 * math/s_casinhf.c: Likewise.
53562 * math/s_casinhl.c: Likewise.
53563 * math/s_ccos.c: Rely entire on ccosh.
53564 * math/s_ccosf.c: Rely entire on ccoshf.
53565 * math/s_ccosl.c: Rely entirely on ccoshl.
53566 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
53567 Remove tests for FE_INVALID.
53568 * math/s_ccoshf.c: Likewise.
53569 * math/s_ccoshl.c: Likewise.
53570 * math/s_csin.c: Likewise.
53571 * math/s_csinf.c: Likewise.
53572 * math/s_csinh.c Likewise.
53573 * math/s_csinhf.c: Likewise.
53574 * math/s_csinhl.c: Likewise.
53575 * math/s_csinl.c: Likewise.
53576 * math/s_ctan.c: Likewise.
53577 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
53578 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
53579 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
53581 2011-10-21 Ulrich Drepper <drepper@gmail.com>
53583 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
53584 compilation problems.
53586 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
53589 2011-10-20 Ulrich Drepper <drepper@gmail.com>
53591 * sysdeps/i386/configure.in: Test for -mfma4 option.
53592 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
53593 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
53594 COMMON_CPUID_INDEX_80000001.
53595 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
53596 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
53597 use it if FMA3 is not supported.
53598 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
53600 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
53601 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53603 2011-10-20 Andreas Schwab <schwab@redhat.com>
53606 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
53607 it would create a cycle with a link time dependency.
53609 2011-10-19 Ulrich Drepper <drepper@gmail.com>
53611 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
53613 * string/Makefile (strop-tests): Add rawmemchr.
53614 * string/test-rawmemchr.c: New file.
53616 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
53617 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
53618 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
53619 when compiling str{,n}casecmp and when AVX is available. Hook up
53620 new optimized code in initializers.
53622 2011-10-19 Andreas Schwab <schwab@redhat.com>
53624 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
53625 __feraiseexcept instead of feraiseexcept.
53627 2011-10-18 Ulrich Drepper <drepper@gmail.com>
53629 * math/math_private.h: Define defaults for libc_fetestexcept and
53631 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
53632 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
53633 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
53634 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
53635 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
53636 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
53637 libc_fetestexcept and libc_feupdateenv.
53639 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
53640 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
53641 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
53642 * sysdeps/x86_64/fpu/math_private.h: Define special version of
53643 libc_feholdexcept_setround.
53645 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
53646 Add s_nearbyint-c and s_nearbyintf-c.
53647 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
53648 nearbyintf inlines.
53649 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
53650 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
53651 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
53652 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
53654 * math/math_private.h: Define defaults for libc_fegetround,
53655 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
53656 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
53657 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
53658 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
53659 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
53660 standard functions.
53661 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53662 Remove comments and hacks for old compiler versions.
53663 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
53664 libc_fegetround, libc_fesetround, libc_feholdexcept, and
53665 libc_feholdexceptl.
53667 2011-10-18 Andreas Schwab <schwab@redhat.com>
53669 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
53670 (__feraiseexcept_renamed): Add __NTH.
53671 (feraiseexcept): Add __NTH. Rename local variables to fix
53672 namespace violations.
53674 2011-10-17 Ulrich Drepper <drepper@gmail.com>
53676 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
53678 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
53680 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
53681 recently added interfaces.
53682 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
53684 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
53685 about macro parameter expansion.
53687 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
53688 __NO_MATH_INLINES is defined. Cleanups.
53690 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
53691 and __floorf is target has SSE4.1.
53692 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
53693 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
53694 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
53695 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
53697 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
53699 (floorf): Likewise.
53701 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
53703 2011-10-17 Andreas Schwab <schwab@redhat.com>
53705 * misc/sys/cdefs.h: Fix last change.
53707 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
53710 2011-10-16 Ulrich Drepper <drepper@gmail.com>
53712 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
53714 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
53715 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53716 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53717 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53718 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53719 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
53720 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53721 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53722 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
53723 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
53724 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
53725 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
53726 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
53727 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
53728 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
53729 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
53730 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
53731 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
53732 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
53733 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
53734 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
53735 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
53737 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
53738 ceil, ceilf, floor, floorf.
53740 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
53741 Perform IRELATIVE relocations last.
53743 * elf/do-rel.h: Add another parameter nrelative, replacing the
53744 local variable with the same name. Change name of the function
53745 to end in Rel or Rela (uppercase).
53746 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
53747 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
53748 elf_dynamic_do_##reloc function.
53750 2011-10-15 Ulrich Drepper <drepper@gmail.com>
53752 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
53753 is sufficient, at least on modern CPUs.
53755 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
53757 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
53758 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
53760 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
53762 * math/bits/math-finite.h: Add entries for exp.
53763 * math/e_expl.c: Add __*_finite alias.
53764 * sysdeps/i386/fpu/e_exp.S: Likewise.
53765 * sysdeps/i386/fpu/e_expf.S: Likewise.
53766 * sysdeps/i386/fpu/e_expl.c: Likewise.
53767 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53768 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
53769 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
53770 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
53771 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
53772 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
53773 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
53775 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
53776 is sufficient, at least on modern CPUs.
53778 * ctype/ctype-info.c (__ctype_init): Define.
53779 * include/ctype.h (__ctype_init): Declare.
53780 (__ctype_b_loc): The variable is always initialized.
53781 (__ctype_toupper_loc): Likewise.
53782 (__ctype_tolower_loc): Likewise.
53783 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
53784 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
53786 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
53788 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
53790 * configure.in: Also look in $cxxmachine/include for C++ system
53793 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53795 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
53796 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
53797 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
53798 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
53799 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
53800 (USE_AS_WMEMCMP): New macro.
53802 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
53803 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
53804 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
53805 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
53806 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53807 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
53808 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
53809 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
53810 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
53811 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
53812 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
53813 (USE_AS_WMEMCMP): New macro.
53814 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
53815 * sysdeps/string/test-memcmp.c: Update.
53816 Fix simple_wmemcmp.
53818 * wcsmbs/wmemcmp.c: Update.
53819 (WMEMCMP): New macro.
53822 2011-10-12 Andreas Jaeger <aj@suse.de>
53825 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
53827 2011-10-15 Ulrich Drepper <drepper@gmail.com>
53829 * libio/iofwide.c (do_length): Avoid warning.
53831 * ctype/ctype.h (__isctype_f): Add missing __THROW.
53833 2011-10-14 Ulrich Drepper <drepper@gmail.com>
53835 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
53837 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
53838 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
53839 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
53840 * sysdeps/i386/i686/fpu/e_log.S: New file.
53841 * sysdeps/i386/i686/fpu/e_logf.S: New file.
53842 * sysdeps/i386/i686/fpu/e_logl.S: New file.
53844 * ctype/ctype.h: Add support for inlined isXXX functions when
53845 compiling C++ code.
53847 2011-10-14 Andreas Schwab <schwab@redhat.com>
53849 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53851 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
53853 2011-10-13 Roland McGrath <roland@hack.frob.com>
53856 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
53858 2011-10-13 Andreas Schwab <schwab@redhat.com>
53860 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
53861 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
53864 * sysdeps/x86_64/memrchr.S: Check for zero size.
53866 * string/stratcliff.c: Add memrchr tests.
53868 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53870 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53871 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
53872 rawmemchr-sse2 rawmemchr-sse2-bsf.
53873 * sysdeps/i386/i686/multiarch/memchr.S: New file.
53874 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
53875 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
53876 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
53877 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
53878 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
53879 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
53880 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
53881 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
53882 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
53883 * string/memrchr.c (MEMRCHR): New macro.
53885 2011-10-12 Ulrich Drepper <drepper@gmail.com>
53887 Add integration with gcc's -ffinite-math-only and optimize wrapper
53889 * Versions.def: Define GLIBC_2.15 version for libm.
53890 * math/Makefile (headers): Add bits/math-finite.h.
53891 * math/bits/math-finite.h: New file.
53892 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
53893 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
53894 * math/e_acoshl.c: Add __*_finite alias.
53895 * math/e_acosl.c: Likewise.
53896 * math/e_asinl.c: Likewise.
53897 * math/e_atan2l.c: Likewise.
53898 * math/e_atanhl.c: Likewise.
53899 * math/e_coshl.c: Likewise.
53900 * math/e_exp10.c: Likewise.
53901 * math/e_exp10f.c: Likewise.
53902 * math/e_exp10l.c: Likewise.
53903 * math/e_exp2l.c: Likewise.
53904 * math/e_fmodl.c: Likewise.
53905 * math/e_gammal_r.c: Likewise.
53906 * math/e_hypotl.c: Likewise.
53907 * math/e_j0l.c: Likewise.
53908 * math/e_j1l.c: Likewise.
53909 * math/e_jnl.c: Likewise.
53910 * math/e_lgammal_r.c: Likewise.
53911 * math/e_log10l.c: Likewise.
53912 * math/e_log2l.c: Likewise.
53913 * math/e_logl.c: Likewise.
53914 * math/e_powl.c: Likewise.
53915 * math/e_sinhl.c: Likewise.
53916 * math/e_sqrtl.c: Likewise.
53917 * math/e_scalb.c: Completely rewritten and optimized.
53918 * math/e_scalbf.c: Likewise.
53919 * math/e_scalbl.c: Likewise.
53920 * math/w_acos.c: Likewise.
53921 * math/w_acosf.c: Likewise.
53922 * math/w_acosl.c: Likewise.
53923 * math/w_acosh.c: Likewise.
53924 * math/w_acoshf.c: Likewise.
53925 * math/w_acoshl.c: Likewise.
53926 * math/w_asin.c: Likewise.
53927 * math/w_asinf.c: Likewise.
53928 * math/w_asinl.c: Likewise.
53929 * math/w_atan2.c: Likewise.
53930 * math/w_atan2f.c: Likewise.
53931 * math/w_atan2l.c: Likewise.
53932 * math/w_atanh.c: Likewise.
53933 * math/w_atanhf.c: Likewise.
53934 * math/w_atanhl.c: Likewise.
53935 * math/w_exp10.c: Likewise.
53936 * math/w_exp10f.c: Likewise.
53937 * math/w_exp10l.c: Likewise.
53938 * math/w_fmod.c: Likewise.
53939 * math/w_fmodf.c: Likewise.
53940 * math/w_fmodl.c: Likewise.
53941 * math/w_j0.c: Likewise.
53942 * math/w_j0f.c: Likewise.
53943 * math/w_j0l.c: Likewise.
53944 * math/w_j1.c: Likewise.
53945 * math/w_j1f.c: Likewise.
53946 * math/w_j1l.c: Likewise.
53947 * math/w_jn.c: Likewise.
53948 * math/w_jnf.c: Likewise.
53949 * math/w_log.c: Likewise.
53950 * math/w_logf.c: Likewise.
53951 * math/w_logl.c: Likewise.
53952 * math/w_log10.c: Likewise.
53953 * math/w_log10f.c: Likewise.
53954 * math/w_log10l.c: Likewise.
53955 * math/w_log2.c: Likewise.
53956 * math/w_log2f.c: Likewise.
53957 * math/w_log2l.c: Likewise.
53958 * math/w_pow.c: Likewise.
53959 * math/w_powf.c: Likewise.
53960 * math/w_powl.c: Likewise.
53961 * math/w_remainder.c: Likewise.
53962 * math/w_remainderf.c: Likewise.
53963 * math/w_remainderl.c: Likewise.
53964 * math/w_scalb.c: Likewise.
53965 * math/w_scalbf.c: Likewise.
53966 * math/w_scalbl.c: Likewise.
53967 * math/w_sqrt.c: Likewise.
53968 * math/w_sqrtf.c: Likewise.
53969 * math/w_sqrtl.c: Likewise.
53970 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
53971 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
53973 * math/math_private.h: Declare __kernel_standard_f.
53974 * math/w_cosh.c: Remove cruft and optimize a bit.
53975 * math/w_coshf.c: Likewise.
53976 * math/w_coshl.c: Likewise.
53977 * math/w_exp2.c: Likewise.
53978 * math/w_exp2f.c: Likewise.
53979 * math/w_exp2l.c: Likewise.
53980 * math/w_hypot.c: Likewise.
53981 * math/w_hypotf.c: Likewise.
53982 * math/w_hypotl.c: Likewise.
53983 * math/w_lgamma.c: Likewise.
53984 * math/w_lgamma_r.c: Likewise.
53985 * math/w_lgammaf.c: Likewise.
53986 * math/w_lgammaf_r.c: Likewise.
53987 * math/w_lgammal.c: Likewise.
53988 * math/w_lgammal_r.c: Likewise.
53989 * math/w_sinh.c: Likewise.
53990 * math/w_sinhf.c: Likewise.
53991 * math/w_sinhl.c: Likewise.
53992 * math/w_tgamma.c: Likewise.
53993 * math/w_tgammaf.c: Likewise.
53994 * math/w_tgammal.c: Likewise.
53995 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53996 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53997 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
53998 Minor optimizations. Pretty printing. Remove cruft.
53999 * sysdeps/i386/fpu/e_acosf.S: Likewise.
54000 * sysdeps/i386/fpu/e_acosh.S: Likewise.
54001 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54002 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54003 * sysdeps/i386/fpu/e_acosl.c: Likewise.
54004 * sysdeps/i386/fpu/e_asin.S: Likewise.
54005 * sysdeps/i386/fpu/e_asinf.S: Likewise.
54006 * sysdeps/i386/fpu/e_atan2.S: Likewise.
54007 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
54008 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
54009 * sysdeps/i386/fpu/e_atanh.S: Likewise.
54010 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54011 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54012 * sysdeps/i386/fpu/e_exp10.S: Likewise.
54013 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
54014 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
54015 * sysdeps/i386/fpu/e_exp2.S: Likewise.
54016 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
54017 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
54018 * sysdeps/i386/fpu/e_fmod.S: Likewise.
54019 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
54020 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
54021 * sysdeps/i386/fpu/e_hypot.S: Likewise.
54022 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
54023 * sysdeps/i386/fpu/e_log.S: Likewise.
54024 * sysdeps/i386/fpu/e_log10.S: Likewise.
54025 * sysdeps/i386/fpu/e_log10f.S: Likewise.
54026 * sysdeps/i386/fpu/e_log10l.S: Likewise.
54027 * sysdeps/i386/fpu/e_log2.S: Likewise.
54028 * sysdeps/i386/fpu/e_log2f.S: Likewise.
54029 * sysdeps/i386/fpu/e_log2l.S: Likewise.
54030 * sysdeps/i386/fpu/e_logf.S: Likewise.
54031 * sysdeps/i386/fpu/e_logl.S: Likewise.
54032 * sysdeps/i386/fpu/e_pow.S: Likewise.
54033 * sysdeps/i386/fpu/e_powf.S: Likewise.
54034 * sysdeps/i386/fpu/e_powl.S: Likewise.
54035 * sysdeps/i386/fpu/e_remainder.S: Likewise.
54036 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
54037 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
54038 * sysdeps/i386/fpu/e_scalb.S: Likewise.
54039 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54040 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54041 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
54042 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
54043 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
54044 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54045 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54046 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54047 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54048 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54049 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54050 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
54051 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54052 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54053 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54054 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54055 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54056 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54057 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54058 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54059 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54060 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54061 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54062 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54063 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54064 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54065 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54066 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54067 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54068 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54069 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54070 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
54071 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54072 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
54073 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54074 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54075 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54076 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54077 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54078 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54079 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54080 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54081 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54082 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54083 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54084 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54085 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54086 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54087 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54088 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54089 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54090 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54091 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54092 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54093 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
54094 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54095 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54096 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54097 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54098 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54099 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
54100 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
54101 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
54102 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
54103 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
54104 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
54105 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
54106 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54107 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54108 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
54109 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
54110 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
54111 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
54112 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
54113 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
54114 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
54115 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
54116 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
54117 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54118 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54119 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54120 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
54121 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
54122 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54123 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
54124 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54125 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
54126 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
54127 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54128 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54129 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
54130 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54131 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
54132 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54133 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
54134 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54135 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54136 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54137 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
54138 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54139 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
54140 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
54141 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
54142 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
54143 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
54144 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
54145 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
54146 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
54147 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
54148 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54149 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54150 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54151 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54152 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
54153 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54154 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
54155 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
54156 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
54157 (__isnanf): Likewise.
54158 (__isinf_ns): Likewise.
54159 (__isinf_nsf): Likewise.
54160 (__finite): Likewise.
54161 (__finitef): Likewise.
54162 (__ieee754_sqrt): Define as macro.
54163 (__ieee754_sqrtf): Define as macro.
54164 (__ieee754_sqrtl): Define as macro.
54165 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
54167 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
54168 __FINITE_MATH_ONLY__ consistent.
54169 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
54171 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
54173 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
54176 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
54178 2011-10-09 Ulrich Drepper <drepper@gmail.com>
54180 * po/ja.po: Update from translation team.
54182 2011-10-08 Roland McGrath <roland@hack.frob.com>
54184 * locale/programs/locarchive.c (prepare_address_space): New function.
54185 (create_archive, enlarge_archive, open_archive): Use it.
54187 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
54188 inside [SHARED], where it is used.
54190 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
54192 * nss/getent.c (netgroup_keys): Remove unused variable.
54193 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54195 2011-10-08 Ulrich Drepper <drepper@gmail.com>
54197 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
54198 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
54199 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
54200 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
54201 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
54202 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
54203 * math/Makefile (libm-calls): Add s_isinf_ns.
54204 * math/divtc3.c: Use __isinf_nsl instead of isinf.
54205 * math/multc3.c: Likewise.
54206 * math/s_casin.c: Likewise.
54207 * math/s_casinf.c: Likewise.
54208 * math/s_casinl.c: Likewise.
54209 * math/s_ccos.c: Likewise.
54210 * math/s_ccosf.c: Likewise.
54211 * math/s_ccosl.c: Likewise.
54212 * math/s_ctan.c: Likewise.
54213 * math/s_ctanf.c: Likewise.
54214 * math/s_ctanh.c: Likewise.
54215 * math/s_ctanhf.c: Likewise.
54216 * math/s_ctanhl.c: Likewise.
54217 * math/s_ctanl.c: Likewise.
54218 * math/w_fmod.c: Likewise.
54219 * math/w_fmodf.c: Likewise.
54220 * math/w_fmodl.c: Likewise.
54221 * math/w_remainder.c: Likewise.
54222 * math/w_remainderf.c: Likewise.
54223 * math/w_remainderl.c: Likewise.
54224 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
54225 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
54226 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
54227 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
54228 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
54229 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
54230 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
54231 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
54233 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
54235 * stdio-common/printf_fphex.c: Likewise.
54236 * stdio-common/printf_size.c: Likewise.
54238 * math/e_exp10.c: Include math_private.h using <...> not "...".
54239 * math/e_exp10f.c: Likewise.
54240 * math/e_exp10l.c: Likewise.
54241 * math/e_exp2l.c: Likewise.
54242 * math/e_j0l.c: Likewise.
54243 * math/e_j1l.c: Likewise.
54244 * math/e_jnl.c: Likewise.
54245 * math/e_lgammal_r.c: Likewise.
54246 * math/e_rem_pio2l.c: Likewise.
54247 * math/e_scalb.c: Likewise.
54248 * math/e_scalbf.c: Likewise.
54249 * math/e_scalbl.c: Likewise.
54250 * math/k_cosl.c: Likewise.
54251 * math/k_sinl.c: Likewise.
54252 * math/k_tanl.c: Likewise.
54253 * math/s_cacoshf.c: Likewise.
54254 * math/s_catan.c: Likewise.
54255 * math/s_catanf.c: Likewise.
54256 * math/s_catanh.c: Likewise.
54257 * math/s_catanhf.c: Likewise.
54258 * math/s_catanhl.c: Likewise.
54259 * math/s_catanl.c: Likewise.
54260 * math/s_ccosh.c: Likewise.
54261 * math/s_ccoshf.c: Likewise.
54262 * math/s_ccoshl.c: Likewise.
54263 * math/s_cexp.c: Likewise.
54264 * math/s_cexpf.c: Likewise.
54265 * math/s_cexpl.c: Likewise.
54266 * math/s_clog.c: Likewise.
54267 * math/s_clog10.c: Likewise.
54268 * math/s_clog10f.c: Likewise.
54269 * math/s_clog10l.c: Likewise.
54270 * math/s_clogf.c: Likewise.
54271 * math/s_clogl.c: Likewise.
54272 * math/s_csin.c: Likewise.
54273 * math/s_csinf.c: Likewise.
54274 * math/s_csinh.c: Likewise.
54275 * math/s_csinhf.c: Likewise.
54276 * math/s_csinhl.c: Likewise.
54277 * math/s_csinl.c: Likewise.
54278 * math/s_csqrt.c: Likewise.
54279 * math/s_csqrtf.c: Likewise.
54280 * math/s_csqrtl.c: Likewise.
54281 * math/s_ctan.c: Likewise.
54282 * math/s_ctanf.c: Likewise.
54283 * math/s_ctanh.c: Likewise.
54284 * math/s_ctanhf.c: Likewise.
54285 * math/s_ctanhl.c: Likewise.
54286 * math/s_ctanl.c: Likewise.
54287 * math/s_ldexp.c: Likewise.
54288 * math/s_ldexpf.c: Likewise.
54289 * math/s_ldexpl.c: Likewise.
54290 * math/s_significand.c: Likewise.
54291 * math/s_significandf.c: Likewise.
54292 * math/s_significandl.c: Likewise.
54293 * math/w_acos.c: Likewise.
54294 * math/w_acosf.c: Likewise.
54295 * math/w_acosh.c: Likewise.
54296 * math/w_acoshf.c: Likewise.
54297 * math/w_acoshl.c: Likewise.
54298 * math/w_acosl.c: Likewise.
54299 * math/w_asin.c: Likewise.
54300 * math/w_asinf.c: Likewise.
54301 * math/w_asinl.c: Likewise.
54302 * math/w_atan2.c: Likewise.
54303 * math/w_atan2f.c: Likewise.
54304 * math/w_atan2l.c: Likewise.
54305 * math/w_atanh.c: Likewise.
54306 * math/w_atanhf.c: Likewise.
54307 * math/w_atanhl.c: Likewise.
54308 * math/w_cosh.c: Likewise.
54309 * math/w_coshf.c: Likewise.
54310 * math/w_coshl.c: Likewise.
54311 * math/w_dremf.c: Likewise.
54312 * math/w_exp10.c: Likewise.
54313 * math/w_exp10f.c: Likewise.
54314 * math/w_exp10l.c: Likewise.
54315 * math/w_exp2.c: Likewise.
54316 * math/w_exp2f.c: Likewise.
54317 * math/w_fmod.c: Likewise.
54318 * math/w_fmodf.c: Likewise.
54319 * math/w_fmodl.c: Likewise.
54320 * math/w_hypot.c: Likewise.
54321 * math/w_hypotf.c: Likewise.
54322 * math/w_hypotl.c: Likewise.
54323 * math/w_j0.c: Likewise.
54324 * math/w_j0f.c: Likewise.
54325 * math/w_j0l.c: Likewise.
54326 * math/w_j1.c: Likewise.
54327 * math/w_j1f.c: Likewise.
54328 * math/w_j1l.c: Likewise.
54329 * math/w_jn.c: Likewise.
54330 * math/w_jnf.c: Likewise.
54331 * math/w_jnl.c: Likewise.
54332 * math/w_lgamma.c: Likewise.
54333 * math/w_lgamma_r.c: Likewise.
54334 * math/w_lgammaf.c: Likewise.
54335 * math/w_lgammaf_r.c: Likewise.
54336 * math/w_lgammal.c: Likewise.
54337 * math/w_lgammal_r.c: Likewise.
54338 * math/w_log.c: Likewise.
54339 * math/w_log10.c: Likewise.
54340 * math/w_log10f.c: Likewise.
54341 * math/w_log10l.c: Likewise.
54342 * math/w_log2.c: Likewise.
54343 * math/w_log2f.c: Likewise.
54344 * math/w_log2l.c: Likewise.
54345 * math/w_logf.c: Likewise.
54346 * math/w_logl.c: Likewise.
54347 * math/w_pow.c: Likewise.
54348 * math/w_powf.c: Likewise.
54349 * math/w_powl.c: Likewise.
54350 * math/w_remainder.c: Likewise.
54351 * math/w_remainderf.c: Likewise.
54352 * math/w_remainderl.c: Likewise.
54353 * math/w_scalb.c: Likewise.
54354 * math/w_scalbf.c: Likewise.
54355 * math/w_scalbl.c: Likewise.
54356 * math/w_sinh.c: Likewise.
54357 * math/w_sinhf.c: Likewise.
54358 * math/w_sinhl.c: Likewise.
54359 * math/w_sqrt.c: Likewise.
54360 * math/w_sqrtf.c: Likewise.
54361 * math/w_sqrtl.c: Likewise.
54362 * math/w_tgamma.c: Likewise.
54363 * math/w_tgammaf.c: Likewise.
54364 * math/w_tgammal.c: Likewise.
54366 * po/ja.po: Update from translation team.
54368 2011-09-29 Andreas Jaeger <aj@suse.de>
54371 * sunrpc/netname.c (netname2host): Fix logic.
54375 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
54377 * math/w_remainder.c (__remainder): Likewise.
54378 * math/w_remainderf.c (__remainderf): Likewise.
54379 * math/libm-test.inc (remainder_test): Add test cases.
54381 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54383 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
54386 2011-10-07 Ulrich Drepper <drepper@gmail.com>
54388 * string/test-memcmp.c: Avoid unncessary #defines.
54389 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
54391 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54393 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
54394 Use new sse2 version for core i3 - i7 as it's faster
54395 than sse42 version.
54396 (bit_Prefer_PMINUB_for_stringop): New.
54397 * sysdeps/x86_64/rawmemchr.S: Update.
54398 Replace with faster SSE2 version.
54399 * sysdeps/x86_64/memrchr.S: New file.
54400 * sysdeps/x86_64/memchr.S: Update.
54401 Replace with faster SSE2 version.
54403 2011-09-12 Marek Polacek <mpolacek@redhat.com>
54405 * elf/dl-load.c (lose): Add cast to avoid warning.
54407 2011-10-07 Ulrich Drepper <drepper@gmail.com>
54409 * po/ca.po: Update from translation team.
54411 * inet/getnetgrent_r.c: Hook up nscd.
54412 * nscd/Makefile (routines): Add nscd_netgroup.
54413 (nscd-modules): Add netgroupcache.
54414 (CFLAGS-netgroupcache.c): Define.
54415 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
54416 (cache_search): Add const to second parameter.
54417 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
54419 (dbs): Add netgrdb entry.
54420 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
54421 (verify_persistent_db): Handle netgrdb.
54422 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
54423 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
54425 (netgroup_response_header): Define.
54426 (innetgroup_response_header): Define.
54427 (datahead): Add netgroup_response_header and innetgroup_response_header
54429 * nscd/nscd.conf: Add entries for netgroup cache.
54430 * nscd/nscd.h (dbtype): Add netgrdb.
54431 (_PATH_NSCD_NETGROUP_DB): Define.
54432 (netgroup_iov_disabled): Declare.
54433 (xmalloc, xcalloc, xrealloc): Move declarations here.
54434 (cache_search): Adjust prototype.
54435 Add netgroup-related prototypes.
54436 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
54437 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
54438 (__nscd_innetgr): Declare.
54439 * nscd/selinux.c (perms): Use access_vector_t as element type and
54440 add netgroup-related initializers.
54441 * nscd/netgroupcache.c: New file.
54442 * nscd/nscd_netgroup.c: New file.
54443 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
54444 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
54445 For four parameters use innetgr.
54446 * nss/nss_files/files-init.c: Add definition and callback for netgr.
54447 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
54448 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
54449 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
54451 * nscd/connections.c (register_traced_file): Don't register file
54452 for disabled databases.
54454 2011-10-06 Ulrich Drepper <drepper@gmail.com>
54456 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
54458 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
54459 from tree and freeing node.
54461 2011-09-25 Jiri Olsa <jolsa@redhat.com>
54463 * nss/nsswitch.c (__nss_database_lookup): Handle
54464 nss_parse_service_list out of memory case.
54466 2011-09-15 Jiri Olsa <jolsa@redhat.com>
54468 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
54469 out of memory case.
54471 2011-10-04 Andreas Schwab <schwab@redhat.com>
54473 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
54474 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
54476 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
54477 elf_machine_rela, elf_machine_lazy_rel.
54478 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
54479 (ELF_DYNAMIC_DO_REL): Likewise.
54480 (ELF_DYNAMIC_DO_RELA): Likewise.
54481 (ELF_DYNAMIC_RELOCATE): Likewise.
54482 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
54483 to ELF_DYNAMIC_DO_REL.
54484 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
54485 (dl_main): In trace mode always set __RTLD_NOIFUNC.
54486 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
54488 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
54489 skip_ifunc, don't call ifunc function if non-zero.
54490 (elf_machine_rela): Likewise.
54491 (elf_machine_lazy_rel): Likewise.
54492 (elf_machine_lazy_rela): Likewise.
54493 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
54494 (elf_machine_lazy_rel): Likewise.
54495 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
54497 (elf_machine_lazy_rel): Likewise.
54498 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54500 (elf_machine_lazy_rel): Likewise.
54501 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
54502 (elf_machine_lazy_rel): Likewise.
54503 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
54504 (elf_machine_lazy_rel): Likewise.
54505 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
54506 (elf_machine_lazy_rel): Likewise.
54507 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
54508 (elf_machine_lazy_rel): Likewise.
54509 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
54510 (elf_machine_lazy_rel): Likewise.
54511 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
54512 (elf_machine_lazy_rel): Likewise.
54514 2011-09-28 Ulrich Drepper <drepper@gmail.com>
54516 * nss/nss_files/files-init.c (_nss_files_init): Use static
54517 initialization for all the *_traced_file variables.
54519 2011-09-28 Andreas Schwab <schwab@redhat.com>
54521 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54523 2011-09-27 Roland McGrath <roland@hack.frob.com>
54526 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
54528 2011-09-27 Andreas Schwab <schwab@redhat.com>
54530 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
54531 Reread the line before reparsing it.
54533 2011-09-26 Andreas Schwab <schwab@redhat.com>
54535 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
54537 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
54538 Maxim Kuvyrkov <maxim@codesourcery.com>
54539 Joseph Myers <joseph@codesourcery.com>
54541 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
54542 if needed for __stack_chk_guard.
54544 2011-09-19 Roland McGrath <roland@hack.frob.com>
54546 * sysdeps/posix/spawni.c (script_execute): Always define it.
54547 It will be optimized away if unused.
54548 (maybe_script_execute): New function.
54549 (__spawni): Call it.
54551 * Makerules: Don't include tls.make.
54552 (config-tls): Always set to thread.
54553 * tls.make.c: File removed.
54555 2011-09-19 Mike Frysinger <vapier@gentoo.org>
54557 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
54558 * config.make.in (CPPFLAGS-config): New substituted variable.
54560 2011-09-15 Ulrich Drepper <drepper@gmail.com>
54562 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
54565 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
54566 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
54568 2011-09-15 Roland McGrath <roland@hack.frob.com>
54570 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
54571 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
54572 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54573 (CALL_FAIL): Likewise.
54574 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
54575 (CALL_FAIL): Macro removed.
54576 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
54578 2011-09-15 Ulrich Drepper <drepper@gmail.com>
54580 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
54581 for __FINITE_MATH_ONLY__ == 1.
54583 2011-09-15 Andreas Schwab <schwab@redhat.com>
54585 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
54586 __ieee754_sqrt instead of sqrt.
54587 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
54588 __ieee754_sqrtf instead of sqrtf.
54589 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
54590 __floorf instead of floorf.
54591 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
54592 __floorf, __truncf instead of floorf, truncf.
54594 2011-09-14 Ulrich Drepper <drepper@gmail.com>
54596 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
54598 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
54599 __extern_always_inline.
54600 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
54603 2011-09-14 Andreas Schwab <schwab@redhat.com>
54605 * elf/rtld.c (dl_main): Also relocate in dependency order when
54606 doing symbol dependency testing.
54608 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
54610 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54611 Always define `refsym'.
54613 2011-09-13 Andreas Schwab <schwab@redhat.com>
54615 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
54616 (__FD_ELT): Renamed from __FDELT.
54617 * misc/bits/select2.h (__FD_ELT): Likewise.
54618 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
54619 __FD_MASK instead of __FDELT, __FDMASK.
54620 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
54622 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
54625 * elf/Makefile (gen-ldd): Fix pattern.
54627 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
54628 (init_tls): Likewise.
54630 2011-09-12 Ulrich Drepper <drepper@gmail.com>
54632 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
54634 2011-09-12 Andreas Schwab <schwab@redhat.com>
54636 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
54637 `struct cmsghdr *' instead of `void *'.
54638 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
54641 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
54643 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
54645 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
54646 ldd_rewrite_script.
54648 2011-09-11 Ulrich Drepper <drepper@gmail.com>
54650 * configure.in: Remove --with-tls option.
54651 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
54652 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
54653 out in case it is missing.
54654 * sysdeps/ia64/elf/configure.in: Likewise.
54655 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
54656 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
54657 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
54658 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
54659 * sysdeps/sh/elf/configure.in: Likewise.
54660 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
54661 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
54662 * sysdeps/x86_64/elf/configure.in: Likewise.
54663 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
54664 * sysdeps/mach/hurd/tls.h: Likewise.
54667 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
54670 * configure.in: Fix use of AC_INIT.
54672 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
54674 2011-09-10 Ulrich Drepper <drepper@gmail.com>
54676 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
54678 * malloc/hooks.c: Likewise.
54681 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
54682 variables statically.
54683 (narenas): Initialize.
54684 (list_lock): Initialize.
54685 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
54686 initializtion of main_arena and list_lock. Small cleanups.
54687 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
54688 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
54689 Add initializers to main_arena and mp_.
54690 (malloc_state): Remove pagesize member. Change all users to use
54693 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
54694 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
54695 is always initialized.
54697 * malloc/malloc.c: Removed unused configurations and dead code.
54698 * malloc/arena.c: Likewise.
54699 * malloc/hooks.c: Likewise.
54700 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
54702 * include/tls.h: Removed. USE___THREAD must always be defined.
54703 * bits/libc-tsd.h: Don't handle !USE___THREAD.
54704 * elf/dl-libc.c: Likewise.
54705 * elf/dl-tsd.c: Likewise.
54706 * include/errno.h: Likewise.
54707 * include/netdb.h: Likewise.
54708 * include/resolv.h: Likewise.
54709 * inet/herrno-loc.c: Likewise.
54710 * inet/herrno.c: Likewise.
54711 * malloc/arena.c: Likewise.
54712 * malloc/hooks.c: Likewise.
54713 * malloc/malloc.c: Likewise.
54714 * resolv/res-state.c: Likewise.
54715 * resolv/res_libc.c: Likewise.
54716 * sysdeps/i386/dl-machine.h: Likewise.
54717 * sysdeps/ia64/dl-machine.h: Likewise.
54718 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
54719 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
54720 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
54721 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
54722 * sysdeps/sh/dl-machine.h: Likewise.
54723 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
54724 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
54725 * sysdeps/unix/i386/sysdep.S: Likewise.
54726 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
54727 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
54728 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
54729 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
54730 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
54731 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
54732 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
54733 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
54734 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54735 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
54736 * sysdeps/unix/x86_64/sysdep.S: Likewise.
54737 * sysdeps/x86_64/dl-machine.h: Likewise.
54738 * tls.make.c: Likewise.
54740 * configure.in: Remove --with-__thread option. Make tests for
54741 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
54742 tls_model attribute fail if no support is available. Remove
54744 * Makeconfig: Adjust for dropped configure option. All features are
54746 * Makerules: Likewise.
54747 * Versions.def: Likewise.
54748 * argp/argp-fmtstream.c: Likewise.
54749 * argp/argp-fmtstream.h: Likewise.
54750 * argp/argp-help.c: Likewise.
54751 * assert/assert.c: Likewise.
54752 * config.h.in: Likewise.
54753 * config.make.in: Likewise.
54754 * configure: Likewise.
54755 * configure.in: Likewise.
54756 * csu/Versions: Likewise.
54757 * csu/init.c: Likewise.
54758 * elf/tst-audit2.c: Likewise.
54759 * elf/tst-tls10.c: Likewise.
54760 * elf/tst-tls10.h: Likewise.
54761 * elf/tst-tls11.c: Likewise.
54762 * elf/tst-tls12.c: Likewise.
54763 * elf/tst-tls14.c: Likewise.
54764 * elf/tst-tlsmod11.c: Likewise.
54765 * elf/tst-tlsmod12.c: Likewise.
54766 * elf/tst-tlsmod13.c: Likewise.
54767 * elf/tst-tlsmod13a.c: Likewise.
54768 * elf/tst-tlsmod14a.c: Likewise.
54769 * elf/tst-tlsmod15b.c: Likewise.
54770 * elf/tst-tlsmod16a.c: Likewise.
54771 * elf/tst-tlsmod16b.c: Likewise.
54772 * elf/tst-tlsmod7.c: Likewise.
54773 * elf/tst-tlsmod8.c: Likewise.
54774 * elf/tst-tlsmod9.c: Likewise.
54775 * gmon/gmon.c: Likewise.
54776 * grp/fgetgrent_r.c: Likewise.
54777 * grp/putgrent.c: Likewise.
54778 * hurd/fopenport.c: Likewise.
54779 * include/libc-symbols.h: Likewise.
54780 * include/tls.h: Likewise.
54781 * intl/gettextP.h: Likewise.
54782 * intl/loadinfo.h: Likewise.
54783 * locale/global-locale.c: Likewise.
54784 * locale/localeinfo.h: Likewise.
54785 * mach/devstream.c: Likewise.
54786 * malloc/arena.c: Likewise.
54787 * malloc/set-freeres.c: Likewise.
54788 * misc/err.c: Likewise.
54789 * misc/getttyent.c: Likewise.
54790 * misc/mntent_r.c: Likewise.
54791 * posix/getopt.c: Likewise.
54792 * posix/wordexp.c: Likewise.
54793 * pwd/fgetpwent_r.c: Likewise.
54794 * resolv/Versions: Likewise.
54795 * resolv/res_hconf.c: Likewise.
54796 * shadow/fgetspent_r.c: Likewise.
54797 * shadow/putspent.c: Likewise.
54798 * stdio-common/printf_fphex.c: Likewise.
54799 * stdio-common/tmpfile.c: Likewise.
54800 * stdlib/abort.c: Likewise.
54801 * stdlib/fmtmsg.c: Likewise.
54802 * sunrpc/auth_unix.c: Likewise.
54803 * sunrpc/clnt_perr.c: Likewise.
54804 * sunrpc/clnt_tcp.c: Likewise.
54805 * sunrpc/clnt_udp.c: Likewise.
54806 * sunrpc/clnt_unix.c: Likewise.
54807 * sunrpc/openchild.c: Likewise.
54808 * sunrpc/svc_simple.c: Likewise.
54809 * sunrpc/svc_tcp.c: Likewise.
54810 * sunrpc/svc_udp.c: Likewise.
54811 * sunrpc/svc_unix.c: Likewise.
54812 * sunrpc/xdr.c: Likewise.
54813 * sunrpc/xdr_array.c: Likewise.
54814 * sunrpc/xdr_rec.c: Likewise.
54815 * sunrpc/xdr_ref.c: Likewise.
54816 * sunrpc/xdr_stdio.c: Likewise.
54818 2011-09-09 Ulrich Drepper <drepper@gmail.com>
54820 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54822 2011-07-03 Andreas Jaeger <aj@suse.de>
54824 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
54825 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
54826 regenerate with gen-libm-tests.pl.
54828 2010-05-12 Petr Baudis <pasky@suse.cz>
54831 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
54832 around j0() zero points by switching to j1().
54833 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54834 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54835 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54836 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54838 2011-09-09 Ulrich Drepper <drepper@gmail.com>
54840 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
54842 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
54844 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54845 Patch in part by Pavel Roskin <proski@gnu.org>.
54848 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
54850 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
54851 Free memory block if necessary.
54854 * libio/genops.c (INTDEF): For string streams the _lock pointer can
54855 be NULL. Don't lock in this case.
54857 2011-09-09 Roland McGrath <roland@hack.frob.com>
54859 * elf/elf.h (ELFOSABI_GNU): New macro.
54860 (ELFOSABI_LINUX): Define to that.
54862 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
54864 * string/strncat.c (strncat): Undef the symbol in case it has been
54865 defined in bits/string.h.
54867 2011-09-09 Ulrich Drepper <drepper@gmail.com>
54869 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
54871 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
54874 2011-08-17 Andreas Jaeger <aj@suse.de>
54876 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
54878 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
54879 Ian Lance Taylor <iant@google.com>
54881 * math/libm-test.inc (lround_test): New testcase.
54882 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
54884 2011-09-08 Ulrich Drepper <drepper@gmail.com>
54886 * Makefile: Remove support for automatic cvs check-ins.
54887 * Makerules: Likewise.
54888 * config.make.in: Likewise.
54889 * configure.in: Likewise.
54890 * intl/Makefile: Likewise.
54891 * locale/Makefile: Likewise.
54892 * po/Makefile: Likewise.
54893 * posix/Makefile: Likewise.
54894 * sysdeps/gnu/Makefile: Likewise.
54895 * sysdeps/mach/hurd/Makefile: Likewise.
54896 * sysdeps/sparc/sparc32/Makefile: Likewise.
54899 * posix/Makefile (bug-regex32-ENV): Define.
54900 Patch by John Stanley <jpsinthemix@verizon.net>.
54902 * misc/Makefile (headers): Add bits/select2.h.
54903 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
54904 * misc/bits/select2.h: New file.
54905 * include/bits/select2.h: New file.
54906 * debug/Makefile (routines): Add fdelt_chk.
54907 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
54908 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
54910 * debug/fdelt_chk.c: New file.
54912 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
54913 * wcsmbs/test-wmemcmp.c: Likewise.
54914 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
54915 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
54917 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54919 * string/Makefile (strop-tests): Add memcmp.
54920 * string/test-wmemcmp.c: New file.
54921 * string/test-memcmp.c: Add wmemcmp support.
54923 2011-09-08 Roland McGrath <roland@hack.frob.com>
54926 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
54929 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
54930 garbage value in a __mach_port_mod_refs call in the cases of the
54931 task-self and thread-self ports.
54933 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
54935 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
54937 2011-09-08 Andreas Schwab <schwab@redhat.com>
54939 * elf/dl-load.c (lose): Check for non-null L.
54941 2011-09-07 Ulrich Drepper <drepper@gmail.com>
54943 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
54945 * elf/dl-libc.c (dlerror_run): Pass back error code from
54949 * elf/dl-load.c (lose): Free l_origin if it is valid.
54951 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
54953 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
54954 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54955 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54956 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54957 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
54958 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
54960 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54962 * sysdeps/powerpc/fpu/e_hypot.c: New file.
54963 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
54964 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
54965 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
54966 * sysdeps/powerpc/fpu/k_cosf.c: New file.
54967 * sysdeps/powerpc/fpu/k_sinf.c: New file.
54968 * sysdeps/powerpc/fpu/s_cosf.c: New file.
54969 * sysdeps/powerpc/fpu/s_sinf.c: New file.
54970 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
54971 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
54973 2011-08-15 Alan Modra <amodra@gmail.com>
54976 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
54977 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
54978 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
54979 ppc_mcount to static-only-routines.
54980 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
54982 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
54983 __mcount_internal with usual JUMPTARGET. Remove useless nop.
54985 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
54987 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
54988 for finite and infinity parameters.
54990 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
54992 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
54993 and add nop instructions for throughput optimization.
54994 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54996 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
54998 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
54999 aligned copy for power7 with vector-scalar instructions.
55000 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
55002 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
55004 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
55007 2011-09-07 Andreas Schwab <schwab@redhat.com>
55010 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
55013 2011-09-07 Ulrich Drepper <drepper@gmail.com>
55015 * sysdeps/unix/sysv/linux/x86_64/init-first.c
55016 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
55017 syscall wrapper around clock_gettime in __vdso_clock_gettime.
55018 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
55021 2011-09-06 Ulrich Drepper <drepper@gmail.com>
55023 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
55024 Forgot to demangle the pointer.
55026 * sysdeps/i386/sysdep.h: Define atom_text_section.
55027 * sysdeps/x86_64/sysdep.h: Likewise.
55028 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
55029 section with atom_text_section.
55030 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
55031 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
55032 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
55033 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
55034 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
55036 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
55037 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
55038 already be defined. Change to take two parameters and don't assign
55039 result to variable. Adjust all users.
55040 Define INTERNAL_GETTIME if not already defined.
55041 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
55043 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
55044 HAVE_CLOCK_GETTIME_VSYSCALL.
55045 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
55047 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
55048 gettimeofday vsyscall, just use time.
55050 2011-09-06 Andreas Schwab <schwab@redhat.com>
55052 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
55055 2011-09-06 Ulrich Drepper <drepper@gmail.com>
55057 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
55059 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
55061 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
55062 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
55063 syscall if possible.
55065 2011-09-05 Ulrich Drepper <drepper@gmail.com>
55067 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
55068 e_ident. Don't pass to find_mapsXX.
55069 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
55071 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55073 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55074 strchr-sse2-no-bsf strrchr-sse2-no-bsf
55075 * sysdeps/x86_64/multiarch/strchr.S: Update.
55076 Check bit_slow_BSF bit.
55077 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55078 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
55079 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
55081 2011-09-05 Ulrich Drepper <drepper@gmail.com>
55084 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
55086 (tryshell): Define.
55087 (__spawni): Change last parameter to be flag. Test
55088 SPAWN_XFLAGS_USE_PATH flag to use path or not.
55089 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
55090 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
55091 * posix/spawni.c: Likewise.
55092 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
55093 * posix/spawnp.c: Likewise. Change normal version to use
55094 SPAWN_XFLAGS_USE_PATH.
55095 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
55096 SPAWN_XFLAGS_TRY_SHELL.
55099 * posix/glob.h: Remove gcc 1.x support.
55102 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
55104 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55106 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55107 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
55109 * sysdeps/i386/i686/multiarch/strchr.S: New file.
55110 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
55111 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
55112 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
55113 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
55114 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
55116 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55118 * sysdeps/x86_64/wcscmp.S: New file.
55120 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
55121 wcscmp-c wcscmp-sse2
55122 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
55123 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
55124 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
55125 * wcsmbs/wcscmp.c: Allow renaming.
55127 2011-09-05 David S. Miller <davem@davemloft.net>
55129 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
55130 stack slot, rather than the struct return pointer slot.
55131 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
55132 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
55133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
55134 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
55136 2011-09-05 Ulrich Drepper <drepper@gmail.com>
55138 * po/ja.po: Update from translation team.
55141 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
55142 kernel in 64-bit binaries.
55144 2011-09-01 David S. Miller <davem@davemloft.net>
55146 * elf/elf.h (HWCAP_SPARC_*): Move to..
55147 * sysdeps/sparc/sysdep.h: this new file and add new values.
55148 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
55149 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
55150 _DL_HWCAP_COUNT to 24.
55151 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
55153 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
55154 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
55155 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
55156 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
55157 instead of magic constants.
55158 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55160 2011-08-31 David S. Miller <davem@davemloft.net>
55162 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
55163 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
55164 Reimplement to do errno handling inline.
55165 (SYSCALL_ERROR_HANDLER): New macro.
55166 (__SYSCALL_STRING): Do not do errno handling in asm.
55167 (__CLONE_SYSCALL_STRING): Delete.
55168 (__INTERNAL_SYSCALL_STRING): Delete.
55169 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
55170 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
55171 (PSEUDO): Reimplement to do errno handling inline.
55172 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
55173 (SYSCALL_ERROR_HANDLER): New macro.
55174 (__SYSCALL_STRING): Do not do errno handling in asm.
55175 (__CLONE_SYSCALL_STRING): Delete.
55176 (__INTERNAL_SYSCALL_STRING): Delete.
55177 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
55178 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
55180 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
55181 (inline_syscall*): Add 'err' argument.
55182 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
55183 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
55184 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
55185 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
55187 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
55188 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
55190 2011-08-30 Andreas Schwab <schwab@redhat.com>
55192 * elf/rtld.c (dl_main): Relocate objects in dependency order.
55194 2011-08-29 Jiri Olsa <jolsa@redhat.com>
55196 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
55199 2011-08-24 David S. Miller <davem@davemloft.net>
55201 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
55203 2011-08-24 Andreas Schwab <schwab@redhat.com>
55205 * elf/Makefile: Add rules to build and run unload8 test.
55206 * elf/unload8.c: New file.
55207 * elf/unload8mod1.c: New file.
55208 * elf/unload8mod1x.c: New file.
55209 * elf/unload8mod2.c: New file.
55210 * elf/unload8mod3.c: New file.
55212 * elf/dl-close.c (_dl_close_worker): Reset private search list if
55215 2011-08-23 David S. Miller <davem@davemloft.net>
55217 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
55218 subtract stack bias.
55219 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
55220 %sp not %fp in calculations.
55221 (_JMPBUF_UNWINDS_ADJ): Likewise.
55223 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
55224 (aio_suspend): Call it to force an exception region around the
55225 AIO_MISC_WAIT() invocation.
55227 2011-08-23 Andreas Schwab <schwab@redhat.com>
55229 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
55232 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
55234 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
55236 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
55237 and <dl-machine.h>.
55238 (Elf64_FuncDesc): Remove.
55240 2011-08-22 David S. Miller <davem@davemloft.net>
55242 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
55243 sigaltstack check, add missing cfi directives.
55244 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
55245 missing cfi directives, and sigaltstack handling.
55247 2011-08-16 Andreas Schwab <schwab@redhat.com>
55250 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
55251 object is seen twice.
55252 * elf/dl-fini.c (_dl_sort_fini): Likewise.
55254 * elf/Makefile (distribute): Add tst-initorder2.c.
55255 (tests): Add tst-initorder2.
55256 (modules-names): Add tst-initorder2a tst-initorder2b
55257 tst-initorder2c tst-initorder2d. Add rules to build them.
55258 ($(objpfx)tst-initorder2.out): New rule.
55259 * elf/tst-initorder2.c: New file.
55260 * elf/tst-initorder2.exp: New file.
55262 2011-08-22 Andreas Schwab <schwab@redhat.com>
55264 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
55266 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
55267 dependencies back to end of function.
55269 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55270 $(elfobjdir)/ld.so.
55272 2011-08-21 Ulrich Drepper <drepper@gmail.com>
55274 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
55275 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
55276 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
55277 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
55278 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
55279 of __vdso_gettimeofday.
55280 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
55281 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
55283 (_libc_vdso_platform_setup): Remove initialization of
55284 __vdso_gettimeofday and __vdso_time.
55286 2011-08-20 Ulrich Drepper <drepper@gmail.com>
55288 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
55289 and fgetc_unlocked.
55290 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
55293 * elf/dl-open.c (add_to_global): Report additions to the global scope
55294 for LD_DEBUG=scopes.
55295 (dl_open_worker): Also print scope of newly loaded dependencies.
55296 (_dl_show_scope): Indicate if there is no scope.
55299 * stdio-common/Makefile (tests): Add bug24.
55300 * stdio-common/bug24.c: New file.
55302 2011-08-19 Andreas Jaeger <aj@suse.de>
55305 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
55306 non-existant file when using close-on-exec mode.
55308 2011-08-20 Ulrich Drepper <drepper@gmail.com>
55310 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
55311 the very first instruction.
55313 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
55314 the CFI state in the end.
55315 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
55316 inclusion of dl-trampoline.h.
55317 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
55319 2011-08-19 Andreas Schwab <schwab@redhat.com>
55321 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
55322 expectations for long double.
55324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
55325 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
55327 2011-08-14 David S. Miller <davem@davemloft.net>
55329 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
55330 artificual limit depends upon the system page size.
55332 2011-08-17 Ulrich Drepper <drepper@gmail.com>
55334 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
55335 * resolv/Makefile: Define CFLAGS-libresolv.
55337 2011-08-17 Andreas Schwab <schwab@redhat.com>
55339 * nss/makedb.c (compute_tables): Make variables used in nested
55342 2011-08-17 Ulrich Drepper <drepper@gmail.com>
55344 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
55345 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
55346 if buffer was too small.
55348 * elf/pldd.c (main): Attach to all threads in the process.
55349 Rewrite /proc handling to use *at functions.
55351 2011-08-16 Ulrich Drepper <drepper@gmail.com>
55353 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
55354 specifies first scope to show.
55355 (dl_open_worker): Update callers. Move printing scope of new
55356 object to before the relocation.
55357 * elf/rtld.c (dl_main): Update _dl_show_scope call.
55358 * sysdeps/generic/ldsodefs.h: Update declaration.
55360 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
55361 string for the scope number.
55363 2011-08-14 Ulrich Drepper <drepper@gmail.com>
55365 * nscd/servicescache.c (cache_addserv): Make sure written is always
55368 2011-08-14 Roland McGrath <roland@hack.frob.com>
55370 * sysdeps/i386/i486/bits/atomic.h
55371 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
55372 statement expression, so as to suppress "set but not used" warning.
55373 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
55375 * string/strncat.c (STRNCAT): Use prototype definition.
55377 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
55378 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
55380 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
55381 (localedef-modules): Add localedef.
55382 (locale-modules): Add locale.
55384 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
55385 * elf/rtld.c (dl_main): Invert order of assignment in last change,
55386 to avoid a warning.
55388 2011-08-14 David S. Miller <davem@davemloft.net>
55390 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
55391 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
55393 2011-08-13 Ulrich Drepper <drepper@gmail.com>
55395 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
55396 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
55397 * elf/rtld.c (dl_main): Set l_name of vDSO.
55398 Call _dl_show_scope when DL_DEBUG_SCOPES.
55399 (process_dl_debug): Recognize scopes flag and also set it for all.
55400 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
55401 Declare _dl_show_scope.
55403 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
55404 (do_dlopen): Pass caller_dlopen to dl_open.
55405 (__libc_dlopen_mode): Initialize caller_dlopen.
55407 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
55408 of libc. Make tolower call locale-independent. Optimize a bit by
55409 using isdigit instead of isalnum.
55410 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
55412 2011-08-12 Ulrich Drepper <drepper@gmail.com>
55414 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
55415 was a dependency or dynamically loaded.
55417 2011-08-11 Ulrich Drepper <drepper@gmail.com>
55419 * intl/l10nflist.c: Allow architecture-specific pop function.
55420 * sysdeps/x86_64/l10nflist.c: New file.
55422 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
55425 2011-08-10 Andreas Schwab <schwab@redhat.com>
55427 * include/dirent.h: Add libc_hidden_proto for scandirat and
55428 scandirat64. Don't declare __scandirat64.
55429 * dirent/scandirat.c: Add libc_hidden_def.
55430 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
55431 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
55433 2011-08-10 David S. Miller <davem@davemloft.net>
55435 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
55437 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55438 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55439 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55441 2011-08-09 Ulrich Drepper <drepper@gmail.com>
55443 * Versions.def [libc]: Add GLIBC_2.15.
55444 * dirent/Makefile (routines): Add scandirat and scandirat64.
55445 * dirent/Versions [libc]: Export scandirat and scandirat64 for
55447 * dirent/dirent.h: Declare scandirat and scandirat64.
55448 * dirent/scandirat.c: New file.
55449 * dirent/scandirat64.c: New file.
55450 * sysdeps/wordsize-64/scandirat.c: New file.
55451 * sysdeps/wordsize-64/scandirat64.c: New file.
55452 * dirent/opendir.c: Define opendirat.
55453 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
55455 * dirent/scandir64.c: Adjust for scandir.c change.
55456 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
55457 __scandirat64, and __scandir_cancel_handler.
55458 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
55459 additional parameter and use openat instead of open (outside of ld.so).
55460 Add new __opendir as wrapper around __opendirat.
55461 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
55462 here without requiring old scandirat implementation.
55464 2011-08-08 Ulrich Drepper <drepper@gmail.com>
55466 * dirent/scandir.c (cancel_handler): Renamed to
55467 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
55468 defined. Adjust users.
55469 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
55470 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
55472 2011-08-04 Ulrich Drepper <drepper@gmail.com>
55474 * string/test-string.h (IMPL): Use __STRING to expand name and then
55477 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
55480 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55482 * string/Makefile: Update.
55483 (strop-tests): Append strncat.
55484 * string/test-wcscmp.c: New file.
55485 New comprehensive test for wcscmp.
55486 * string/test-strcmp.c: Update.
55487 (WIDE): New define.
55489 2011-07-22 Andreas Schwab <schwab@redhat.com>
55491 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
55494 2011-07-26 Andreas Schwab <schwab@redhat.com>
55496 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55497 encoding to ACE if AI_IDN.
55499 2011-08-01 Jakub Jelinek <jakub@redhat.com>
55501 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
55502 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
55504 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55506 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
55507 Fix overflow bug in strncat.
55508 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
55510 * string/test-strncat.c: Update.
55511 Add new tests for checking overflow bugs.
55513 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55515 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55516 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
55517 * sysdeps/i386/i686/multiarch/strcat.S: New file.
55518 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
55519 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
55520 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
55521 * sysdeps/i386/i686/multiarch/strncat.S: New file.
55522 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
55523 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
55525 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
55526 (USE_AS_STRCAT): Define.
55527 Add strcat and strncat support.
55528 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
55530 2011-07-25 Andreas Schwab <schwab@redhat.com>
55532 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
55533 __n bigger than INT_MAX+1.
55534 (__strncmp_g): Likewise.
55536 2011-07-23 Ulrich Drepper <drepper@gmail.com>
55538 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
55539 * libio/stido.h: Likewise.
55541 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
55543 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
55546 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
55547 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55548 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55549 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
55550 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55553 * scripts/test-installation.pl: Don't expect libnss_test1 to be
55556 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
55558 (_dl_x86_64_save_sse): Likewise.
55560 2011-07-22 Ulrich Drepper <drepper@gmail.com>
55562 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
55564 (_dl_x86_64_save_sse): Likewise.
55566 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
55568 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
55570 2011-07-21 Andreas Schwab <schwab@redhat.com>
55572 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
55574 (_dl_x86_64_save_sse): Use correct AVX check.
55576 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55578 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
55579 bug in strncpy/strncat.
55580 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
55582 2011-07-21 Ulrich Drepper <drepper@gmail.com>
55584 * string/tester.c (test_strcat): Add tests for different alignments
55585 of source and destination.
55586 (test_strncat): Likewise.
55588 2011-07-20 Ulrich Drepper <drepper@gmail.com>
55591 * posix/glob.c (glob): Check passed in values before using them in
55592 expressions to avoid some overflows.
55593 (glob_in_dir): Likewise.
55596 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
55597 check for AVX enablement so that we don't crash with old kernels and
55599 * elf/tst-audit4.c: Add same checks here.
55600 * elf/tst-audit6.c: Likewise.
55602 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
55604 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
55606 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
55608 2011-07-20 Ulrich Drepper <drepper@gmail.com>
55610 * po/cs.po: Update from translation team.
55611 * po/bg.po: Likewise.
55613 2011-07-12 Marek Polacek <mpolacek@redhat.com>
55615 * misc/sys/cdefs.h: Add support for const attribute.
55616 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
55617 to gnu_dev_{major,minor,makedev} functions.
55619 2011-07-20 Marek Polacek <mpolacek@redhat.com>
55621 * intl/dcigettext.c (get_output_charset): Add missing bracket.
55623 2011-07-20 Andreas Schwab <schwab@redhat.com>
55625 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
55628 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55630 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
55631 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
55632 register in order to avoid conflicts with the soft frame pointer
55633 being held in r11 when necessary.
55634 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
55635 (INTERNAL_VSYSCALL_NCS): Likewise.
55637 2011-07-14 Marek Polacek <mpolacek@redhat.com>
55639 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
55640 * elf/dl-fini.c (_dl_fini): Adjust caller.
55641 * elf/dl-close.c (_dl_close_worker): Likewise.
55642 * sysdeps/generic/ldsodefs.h: Adjust declaration.
55644 2011-07-15 Marek Polacek <mpolacek@redhat.com>
55646 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
55647 "aux_cache->nlibs < 0".
55649 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
55650 in the reload-count case.
55652 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55654 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55655 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
55656 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
55657 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
55658 * sysdeps/x86_64/multiarch/strcat.S: New file.
55659 * sysdeps/x86_64/multiarch/strncat.S: New file.
55660 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
55661 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
55662 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
55663 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
55664 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
55665 (USE_AS_STRCAT): Define.
55666 Add strcat and strncat support.
55667 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
55668 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
55669 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
55670 * string/strncat.c: Update.
55671 (USE_AS_STRNCAT): Define.
55672 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55673 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
55675 * sysdeps/x86_64/multiarch/init-arch.h
55676 (bit_Prefer_PMINUB_for_stringop): New.
55677 (index_Prefer_PMINUB_for_stringop): Likewise.
55678 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
55679 bit_Prefer_PMINUB_for_stringop.
55681 2011-07-19 Ulrich Drepper <drepper@gmail.com>
55683 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
55685 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
55686 of casting of buffer.
55687 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
55688 buffer32 and buffer64.
55689 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
55690 writes instead of casting of buffer.
55691 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
55693 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
55696 2011-07-19 Andreas Schwab <schwab@redhat.com>
55698 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
55700 2011-07-19 Ulrich Drepper <drepper@gmail.com>
55702 * nscd/nscd.c (termination_handler): Don't do anything for a database
55703 if it has not yet been initialized.
55705 2011-07-18 Ulrich Drepper <drepper@gmail.com>
55707 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
55709 2011-07-15 Marek Polacek <mpolacek@redhat.com>
55711 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
55713 2011-07-18 Ulrich Drepper <drepper@gmail.com>
55715 * po/nl.po: Update from translation team.
55716 * po/sv.po: Likewise.
55718 2011-07-16 Roland McGrath <roland@hack.frob.com>
55720 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
55721 now disallowed by GCC.
55723 * configure.in (use-default-link): Default to yes if a test -shared
55724 link meets our qualifications.
55725 * configure: Regenerated.
55727 * config.make.in (output-format): New variable.
55728 * configure.in: Check for ld --print-output-format support.
55729 * configure: Regenerated.
55730 * Makerules ($(common-objpfx)format.lds)
55731 [$(output-format) != unknown]: Just use $(output-format),
55732 instead of the linker-script munging.
55734 2011-07-14 Roland McGrath <roland@hack.frob.com>
55736 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
55737 of $(common-objpfx)shlib.lds.
55738 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
55740 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
55741 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
55743 * configure.in (-z relro check): Adjust test code to add a large
55744 writable data section after it.
55745 * configure: Regenerated.
55747 2011-07-11 Roland McGrath <roland@hack.frob.com>
55749 * configure.in (-z relro check): Fix test code to make the variable
55751 * configure: Regenerated.
55753 2011-07-11 Ulrich Drepper <drepper@gmail.com>
55755 * nscd/nscd.h (struct traced_file): Define.
55756 (struct database_dyn): Remove inotify_descr, reset_res, and filename
55757 elements. Add traced_files.
55758 (inotify_fd): Declare.
55759 (register_traced_file): Declare.
55760 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
55761 (inotify_fd): Export.
55762 (resolv_conf_descr): Remove.
55763 (nscd_init): Move inotify descriptor creation to main.
55764 Don't register files for notification here.
55765 (register_traced_file): New function.
55766 (invalidate_cache): Don't use reset_res to determine whether to call
55767 res_init, go through the list of registered files.
55768 (main_loop_poll): The inotify descriptors are now stored in the
55769 structures for the traced files.
55770 (main_loop_epoll): Likewise
55771 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
55772 to __nss_disable_nscd.
55773 * nscd/cache.c (prune_cache): There is no single inotify descriptor
55774 for a database anymore. Check the records for all the registered
55776 * nss/Makefile (libnss_files-routines): Add files-init.
55777 (libnss_db-routines): Add db-init.
55778 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
55779 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
55780 * nss/nss_db/db-init.c: New file.
55781 * nss/nss_files/files-init.c: New file.
55782 * nss/nsswitch.c (nss_load_library): New function. Broken out of
55783 __nss_lookup_function.
55784 (__nss_lookup_function): Call nss_load_library.
55785 (nss_load_all_libraries): New function.
55786 (__nss_disable_nscd): Take parameter with callback function for files
55787 to register. Set is_nscd. Load all the DSOs for the NSS modules
55788 used for the cached services.
55789 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
55790 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
55791 options for features to all the files in nscd.
55793 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
55795 2011-07-10 Roland McGrath <roland@hack.frob.com>
55797 * csu/elf-init.c (__libc_csu_init): Comment typo.
55799 2011-07-09 Ulrich Drepper <drepper@gmail.com>
55801 * po/pl.po: Update from translation team.
55802 * po/ja.po: Likewise.
55803 * po/ru.po: Likewise.
55804 * po/ko.po: Likewise.
55805 * po/fr.po: Likewise.
55807 2011-07-09 Roland McGrath <roland@hack.frob.com>
55809 * configure.in (.ctors/.dtors header and trailer check):
55810 Use an empirical test on a built program.
55811 * configure: Regenerated.
55813 * configure.in (-z relro check): Use an empirical test on a built DSO.
55814 Detect, but do not require, on ia64.
55815 * configure: Regenerated.
55817 * configure.in (READELF): Find it with AC_CHECK_TOOL.
55818 Update tests that use readelf to use $READELF instead.
55819 * configure: Regenerated.
55821 2011-07-08 Ulrich Drepper <drepper@gmail.com>
55823 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
55824 if the result is not used.
55826 2011-07-05 Andreas Jaeger <aj@suse.de>
55829 * stdlib/tst-strtod.c: Add testcase.
55831 2011-07-07 Ulrich Drepper <drepper@gmail.com>
55833 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
55834 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
55835 The latter has a higher limit. Take additional parameter to pass to
55837 (__pathconf): Pass file to __statfs_link_max.
55838 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
55840 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
55844 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
55845 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55847 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
55848 (__statfs_filesize_max): Likewise.
55849 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
55851 2011-07-05 Andreas Jaeger <aj@suse.de>
55853 * resolv/res_comp.c (dn_skipname): Remove unused variable.
55855 2011-07-06 Marek Polacek <mpolacek@redhat.com>
55857 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
55859 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
55862 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
55864 * Makefile (strop-tests): Add strncat.
55865 * string/test-strncat.c: New file.
55867 2011-06-30 Marek Polacek <mpolacek@redhat.com>
55869 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
55871 2011-06-21 Andreas Jaeger <aj@suse.de>
55873 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
55874 Copy rule from iconvdata/Makefile.
55876 2011-07-06 Ulrich Drepper <drepper@gmail.com>
55879 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
55880 but no long options are defined, just return 'W'.
55882 2011-06-22 Marek Polacek <mpolacek@redhat.com>
55885 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
55887 2011-07-06 Ulrich Drepper <drepper@gmail.com>
55889 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
55891 (innetgr): Likewise.
55893 2011-07-05 Roland McGrath <roland@hack.frob.com>
55895 * config.make.in (install_root): Default to $(DESTDIR).
55897 2011-07-05 Ulrich Drepper <drepper@gmail.com>
55899 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
55901 2011-07-02 Roland McGrath <roland@hack.frob.com>
55903 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
55905 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
55906 containing directory rather than embedding absolute directory names.
55908 * scripts/check-local-headers.sh: Rewritten using awk.
55909 Match by word, not by line. Print error messages for matches.
55910 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
55912 * Makerules [shlib-lds-flags empty]:
55913 ($(common-objpfx)libc_pic.opts): New target.
55914 ($(common-objpfx)libc_pic.os.clean): New target.
55915 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
55917 * config.make.in (OBJCOPY): New variable.
55918 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
55919 * configure: Regenerated.
55921 * config.make.in (use-default-link): New variable.
55922 * configure.in (use_default_link): Grok --with-default-link to set it.
55923 * configure: Regenerated.
55924 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
55925 (shlib-lds, shlib-lds-flags): Define to empty.
55927 * Makerules (shlib-lds): New variable.
55928 (shlib-lds-flags): New variable.
55929 (build-shlib, build-moduile, build-module-asneeded): Use it.
55930 ($(common-objpfx)libc.so): Use $(shlib-lds).
55931 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
55932 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
55934 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
55935 DT_FLAGS/DT_FLAGS_1 with zero flags.
55937 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
55938 linker script munging.
55940 2011-07-02 Ulrich Drepper <drepper@gmail.com>
55942 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
55944 * crypt/sha512.c (sha512_process_block): Perform total addition using
55945 128-bit if possible.
55946 (__sha512_finish_ctx): Likewise.
55947 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
55949 * crypt/sha256.c (SWAP64): Define.
55950 (sha256_process_block): Perform total addition using 64-bit if
55952 (__sha256_finish_ctx): Likewise.
55954 2011-07-01 Ulrich Drepper <drepper@gmail.com>
55956 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
55957 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55958 * nscd/hstcache.c (cache_addhst): Likewise.
55959 * nscd/grpcache.c (cache_addgr): Likewise.
55960 * nscd/aicache.c (addhstaiX): Likewise
55961 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
55963 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
55965 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
55966 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55967 * nscd/hstcache.c (cache_addhst): Likewise.
55968 * nscd/grpcache.c (cache_addgr): Likewise.
55969 * nscd/aicache.c (addhstaiX): Likewise
55971 2011-07-01 Andreas Schwab <schwab@redhat.com>
55973 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
55974 domain only when needed.
55976 2011-06-30 Andreas Schwab <schwab@redhat.com>
55978 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
55979 is always restored.
55981 2011-06-29 Ulrich Drepper <drepper@gmail.com>
55983 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
55984 are re-adding the entry.
55985 * nscd/servicescache.c (cache_addserv): Likewise.
55987 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
55989 * sysdeps/generic/dl-irel.h: fix protection against multiple
55991 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
55993 2011-06-28 Ulrich Drepper <drepper@gmail.com>
55996 * malloc/memusage.sh: Fix quoting in message.
55997 * debug/xtrace.sh: Likewise.
55999 * configure.in: Remove support for --experimental-malloc option, make
56001 * config.make.in: Likewise.
56002 * malloc/Makefile: Likewise.
56004 2011-06-27 Andreas Schwab <schwab@redhat.com>
56006 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
56007 two-byte characters.
56009 2011-06-27 Roland McGrath <roland@hack.frob.com>
56011 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
56012 AC_CACHE_CHECK invocation.
56013 * configure: Regenerated.
56015 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
56017 2011-06-27 Ulrich Drepper <drepper@gmail.com>
56020 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
56021 bit from old_res_options.
56023 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
56025 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
56026 value type for setfct.
56028 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
56030 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
56031 __gettimeofday instead of gettimeofday.
56033 2011-06-26 Ulrich Drepper <drepper@gmail.com>
56035 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
56037 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
56039 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
56041 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
56044 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
56046 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56047 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
56048 strcpy-sse2-unaligned strncpy-sse2-unaligned
56049 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
56050 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
56051 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
56052 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
56053 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
56054 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
56055 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
56056 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
56057 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
56058 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
56059 (STRCPY): Support SSE2 and SSSE3 versions.
56061 2011-06-24 Ulrich Drepper <drepper@gmail.com>
56064 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
56065 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
56066 kernels which artificially limit size of requests.
56068 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
56070 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56071 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
56072 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
56073 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
56074 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
56075 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
56076 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
56077 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
56078 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
56079 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
56080 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
56081 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
56082 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
56083 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
56084 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
56085 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56086 Enable unaligned load optimization for Intel Core i3, i5 and i7
56088 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
56090 (index_Fast_Unaligned_Load): Define.
56091 (HAS_FAST_UNALIGNED_LOAD): Define.
56093 2011-06-23 Marek Polacek <mpolacek@redhat.com>
56095 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
56097 2011-06-22 Ulrich Drepper <drepper@gmail.com>
56100 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
56101 until it is clear that the information is realy needed.
56102 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
56104 2011-06-22 Andreas Schwab <schwab@redhat.com>
56106 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
56108 2011-06-22 Ulrich Drepper <drepper@gmail.com>
56110 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
56111 /sys/devices/system/cpu/online if it is usable.
56113 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
56114 reading the information from the /proc filesystem to once a second.
56116 2011-06-21 Andreas Jaeger <aj@suse.de>
56118 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
56119 NULL after inclusion of kernel headers.
56121 2011-06-21 Ulrich Drepper <drepper@gmail.com>
56123 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
56124 calls to internal_setent.
56127 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
56128 addresses using gethostbyname4_r ignore IPv4 addresses.
56130 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
56131 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
56133 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
56135 2011-06-20 David S. Miller <davem@davemloft.net>
56137 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
56139 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
56141 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
56142 (elf_irel): Use it.
56143 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
56144 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
56145 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
56146 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
56147 * sysdeps/x86_64/dl-irel.h: Likewise.
56149 * elf/dl-runtime.c: Use elf_ifunc_invoke.
56150 * elf/dl-sym.c: Likewise.
56152 2011-06-15 Ulrich Drepper <drepper@gmail.com>
56154 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
56155 need to dereference resplen2.
56157 2011-06-14 Andreas Schwab <schwab@redhat.com>
56159 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
56161 2011-06-15 Ulrich Drepper <drepper@gmail.com>
56163 * Makeconfig: Define vardbdir and inst_vardbdir.
56164 * nss/Makefile: Add rules to install db-Makefile.
56166 * nss/nss_db/db-XXX.c: Cleanup.
56168 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
56169 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
56171 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
56172 * nss/makedb.c: Implement -g option to specify that value strings
56173 are generated and should not be added to table iterated over for
56175 * nss/nss_db/db-initgroups.c: New file.
56177 * nss/getent.c: Add support for initgroups lookups through getgrouplist
56180 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
56181 (internal_getgrouplist): Adjust to name change.
56182 Update use_initgroups_entry if this is not the first call.
56183 * nss/databases.def: Add initgroups entry.
56185 * nss/makedb.c (compute_tables): Check result of multiple hash table
56186 sizes to minimize maximum chain length.
56188 2011-06-14 Ulrich Drepper <drepper@gmail.com>
56190 * Versions.def: Add entry for libnss_db.
56191 * shlib-versions: Likewise.
56192 * nss/Makefile: Add rules to build libnss_db.
56193 * nss/Versions: Add libnss_db information. Organize libnss_files
56195 * nss/db-Makefile: Add gshadow support. Change rules for the new
56196 makedb progra. Some minor improvements to generate smaller files.
56197 * nss/nss_db/nss_db.h: Move NSS database header data structures to
56199 * nss/makedb.c: ...here.
56200 Improve database format to be smaller and require less memory at
56202 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
56204 * nss/nss_db/db-netgrp.c: Likewise.
56205 * nss/nss_db/db-open.c: Likewise.
56206 * nss/nss_files/flies-XXX.x: Adjust comments.
56207 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
56208 * nss/nss_files/files-grp.c: Likewise.
56209 * nss/nss_files/files-hosts.c: Likewise.
56210 * nss/nss_files/files-network.c: Likewise.
56211 * nss/nss_files/files-proto.c: Likewise.
56212 * nss/nss_files/files-pwd.c: Likewise.
56213 * nss/nss_files/files-rpc.c: Likewise.
56214 * nss/nss_files/files-service.c: Likewise.
56215 * nss/nss_files/files-sgrp.c: Likewise.
56216 * nss/nss_files/files-spwd.c: Likewise.
56217 * nss/nss_db/db-alias.c: Removed.
56218 * nss/nss_db/dummy-db.h: Removed.
56220 2011-06-02 Ulrich Drepper <drepper@gmail.com>
56222 * nss/makedb.c: Rewritten to not use database library.
56223 * nss/Makefile: Update to build new makedb program.
56225 2011-06-14 Andreas Jaeger <aj@suse.de>
56227 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
56228 memset declaration.
56230 2011-06-10 Andreas Schwab <schwab@redhat.com>
56232 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
56235 2011-06-10 Roland McGrath <roland@hack.frob.com>
56237 * Makerules (shlib.lds): Fail if the linker script comes out empty.
56238 * elf/Makefile ($(objpfx)ld.so): Likewise.
56240 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
56241 Don't list ld.so twice in dependencies.
56243 * posix/bug-regex31.c: Include <stdlib.h>.
56245 * nscd/hstcache.c (cache_addhst): Remove unused variable.
56247 * nis/nss_compat/compat-spwd.c
56248 (getspent_next_nss_netgr): Remove unused variable.
56249 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
56251 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
56252 nonmembers" output to use the right array.
56254 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
56256 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
56258 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
56259 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
56260 * catgets/gencat.c (read_input_file): Likewise.
56261 * locale/programs/locarchive.c (enlarge_archive): Likewise.
56263 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
56264 variable definition inside #if's controlling its use.
56266 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
56268 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
56270 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
56272 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
56275 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
56277 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
56278 * configure: Regenerated.
56280 * Makerules: Revert last change.
56281 * elf/Makefile: Likewise.
56283 2011-06-09 Roland McGrath <roland@hack.frob.com>
56285 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
56286 * elf/Makefile ($(objpfx)librtld.os): Likewise.
56287 (reloc-link): Likewise.
56289 2011-06-09 Ulrich Drepper <drepper@gmail.com>
56291 * elf/Makefile: Add rules to build pldd.
56292 * elf/pldd.c: New file.
56293 * elf/pldd-xx.c: New file.
56295 2011-06-07 Ulrich Drepper <drepper@gmail.com>
56297 * version.h: Update for 2.15 development version.
56299 2011-06-07 David S. Miller <davem@davemloft.net>
56301 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
56303 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
56304 elf_machine_lazy_rel): Likewise.
56305 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
56306 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
56307 elf_machine_lazy_rel): Likewise.
56308 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
56309 dl_hwcap via passed in argument.
56310 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
56313 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56315 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
56317 2011-06-06 Roland McGrath <roland@hack.frob.com>
56320 * manual/fdl-1.1.texi: New file, verbatim from:
56321 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
56322 * manual/lgpl-2.1.texi: New file, verbatim from:
56323 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
56324 * manual/Makefile (licenses): New variable, list those new file names.
56326 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
56328 * manual/fdl.texi: File removed.
56329 * manual/lesser.texi: File removed.
56330 * manual/libc.texinfo (Copying, Documentation License):
56331 Use new @include file names, put @appendix directive before @include.
56333 2011-06-04 Jakub Jelinek <jakub@redhat.com>
56336 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
56337 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
56338 (mq_open): Add __NTH.
56340 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
56342 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56343 Assume Intel Core i3/i5/i7 processor if AVX is available.
56345 2011-05-31 Ulrich Drepper <drepper@gmail.com>
56347 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
56350 2011-05-31 Andreas Schwab <schwab@redhat.com>
56352 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
56353 memory. Use alloca_account. Fix memory leak when retrying.
56355 2011-05-31 Ulrich Drepper <drepper@gmail.com>
56357 * version.h (RELEASE): Bump for 2.14 release.
56358 * include/features.h (__GLIBC_MINOR__): Bump to 14.
56360 * config.make.in (RANLIB): Remove entry.
56362 2011-05-30 Ulrich Drepper <drepper@gmail.com>
56364 * po/Makefile (po-sed-cmd): Add ksh to extensions.
56365 (libc.pot): Work around missing support for .ksh extension in xgettext.
56368 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
56369 if both request failed.
56370 (send_dg): In case of server errors clear resplen or *resplen2.
56373 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
56374 when there are multiple maps.
56375 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
56376 (_dl_fini): Remove test here.
56378 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
56380 2011-05-29 Ulrich Drepper <drepper@gmail.com>
56383 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
56384 bit from old_res_options.
56385 (gaih_inet): Likewise.
56388 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
56391 * resolv/res_init.c (res_setoptions): Make the code more compact.
56394 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
56398 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
56400 * malloc/malloc.h: Mark malloc hook variables as deprecated.
56403 * malloc/malloc.h: Declare malloc hook variables as volatile.
56405 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
56409 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
56410 raise in the comment.
56411 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
56412 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56413 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
56415 2011-05-28 Ulrich Drepper <drepper@gmail.com>
56418 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
56419 grow the buffers more if it already has to be sufficient.
56420 (build_wcs_upper_buffer): Likewise.
56421 * posix/regexec.c (check_matching): Likewise.
56422 (clean_state_log_if_needed): Likewise.
56423 (extend_buffers): Don't enlarge buffers beyond size of the input
56425 Patches mostly by Emil Wojak <emil@wojak.eu>.
56426 * posix/bug-regex32.c: New file.
56427 * posix/Makefile (tests): Add bug-regex32.
56429 * locale/findlocale.c (_nl_find_locale): Return right away if
56430 _nl_explode_name failed.
56431 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
56433 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
56435 * debug/xtrace.sh: Unify messages.
56436 * malloc/memusage.sh: Likewise.
56439 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
56440 time symbol from vDSO. Substitute with vsyscall if not available.
56441 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
56444 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
56445 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
56446 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
56447 Add sendmmsg and internal_sendmmsg.
56448 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
56449 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
56450 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
56452 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
56453 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
56454 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
56456 2011-05-27 Ulrich Drepper <drepper@gmail.com>
56459 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
56460 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
56462 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
56466 * iconvdata/Makefile (tests): Add bug-iconv9.
56467 * iconvdata/bug-iconv9.c: New file.
56469 2011-05-27 Andreas Schwab <schwab@redhat.com>
56472 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
56474 2011-05-25 Jakub Jelinek <jakub@redhat.com>
56476 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
56477 (struct user_regs_struct): Change intcs field back to cs.
56479 2011-05-25 Ulrich Drepper <drepper@gmail.com>
56481 * po/ja.po: Update from translation team.
56483 2011-05-23 Ulrich Drepper <drepper@gmail.com>
56486 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
56487 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
56489 2011-05-20 Andreas Schwab <schwab@redhat.com>
56491 * stdlib/longlong.h: Update from GCC.
56493 2011-05-23 Andreas Schwab <schwab@redhat.com>
56495 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
56497 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
56498 Add parameter name.
56499 (__sysconf): Pass it down.
56501 2011-05-22 Ulrich Drepper <drepper@gmail.com>
56504 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
56506 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
56507 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
56508 add in in __libc_use_alloca calls. Adjust callers.
56509 (glob): Use malloc in some situations.
56511 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
56512 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
56515 2011-05-21 Ulrich Drepper <drepper@gmail.com>
56517 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
56518 and CLOCK_BOOTTIME_ALARM.
56521 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
56524 * string/_strerror.c (__strerror_r): Print negative errors as signed
56528 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
56529 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
56530 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
56532 * configure.in: Fix typo in redirection and correct removal of test
56533 files in two cases.
56536 * locale/setlocale.c (new_composite_name): Fix test to check for
56537 identical name of all categories.
56540 * libio/filedoalloc.c (local_isatty): New function.
56541 (_IO_file_doallocate): Use local_isatty.
56542 * stdio-common/perror.c (perror): In case a new stream is used
56543 forward the stream error.
56544 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
56547 2011-05-20 Ulrich Drepper <drepper@gmail.com>
56550 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
56552 * include/alloca.h (extend_alloca_account): Define.
56555 * posix/regex.h: Fix comments with documentation of user-accessible
56556 fields after compilation and describe correct free'ing of pattern
56557 after re_compile_pattern.
56558 Patch by Reuben Thomas <rrt@sc3d.org>.
56560 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
56562 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
56563 and -mno-altivec to prevent the compiler from using Altivec and/or
56564 VSX instructions when the corresponding registers are not available.
56566 2011-05-19 Andreas Schwab <schwab@redhat.com>
56568 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
56570 2011-05-19 Ulrich Drepper <drepper@gmail.com>
56572 * libio/freopen.c (freopen): Use __dup2, not dup2.
56573 * libio/freopen64.c (freopen64): Likewise.
56575 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
56578 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
56579 * math/Makefile (tests): Add test-powl.
56580 (CFLAGS-test-powl.c): Define.
56581 * math/test-powl.c: New file.
56583 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
56585 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
56587 2011-05-17 Ulrich Drepper <drepper@gmail.com>
56590 * iconvdata/gb18030.c: Update to GB18020-2005.
56592 2011-05-16 Ulrich Drepper <drepper@gmail.com>
56594 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
56595 RE_SYNTAX_POSIX_AWK): Update to match recent development.
56596 Patch by Aharon Robbins <arnold@skeeve.com>.
56599 * stdlib/putenv.c (putenv): Don't always create copy of the variable
56603 * misc/pselect.c (__pselect): Handle timeout value errors hidden
56604 through underflows.
56607 * misc/error.c (error_at_line): Ensure file_name and old_file_name
56608 point to strings before performing equality test for error_one_per_line
56612 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
56615 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
56616 (struct user_fpregs_struct): Avoid __uint*_t types.
56619 * malloc/mtrace.c (tr_where): Add additional parameter to point to
56620 symbol info. Use it instead of calling _dl_addr locally.
56621 (lock_and_info): New function.
56622 (tr_freehook): Call lock_and_info and pass symbol info as additional
56623 parameter to tr_where.
56624 (tr_mallochook): Likewise.
56625 (tr_reallochook): Likewise.
56626 (tr_memalignhook): Likewise.
56628 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
56629 used and couldn't be at all thread-safe.
56631 2011-05-15 Ulrich Drepper <drepper@gmail.com>
56633 * libio/freopen.c (freopen): Don't close old file descriptor
56634 before the new one is opened. Instead dup the new file descriptor
56635 to the old one after the new stream is created.
56636 * libio/freopen64.c (freopen64): Likewise.
56637 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
56638 * libio/fileops.c (_IO_new_file_close_it): Handle new
56639 _IO_FLAGS2_NOCLOSE flag.
56640 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
56641 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
56642 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
56643 _IO_FLAGS2_NOCLOSE flag.
56644 * include/unistd.h: Add hidden_proto for dup3.
56645 Define __have_dup3.
56646 * io/dup3.c: Define hidden symbol.
56647 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
56650 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
56651 when an incomplete long option is used.
56652 * posix/tst-getopt_long1.c: New file.
56653 * posix/Makefile (tests): Add tst-getopt_long1.
56656 * scripts/config.guess: Update from autoconf-2.68.
56657 * scripts/config.sub: Likewise.
56660 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
56662 (has_cpuclock): ...this. New function.
56663 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
56664 macro here based on has_cpuclock code.
56667 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56668 First byte (not low byte) is now always NUL.
56669 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
56671 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56672 Use non-cancelable interfaces.
56675 * locale/iso-639.def: Add entry for Sorani.
56678 * include/stdlib.h: Move include protection to the right place.
56679 Define abort_msg_s. Declare __abort_msg with it.
56680 * stdlib/abort.c (__abort_msg): Adjust type.
56681 * assert/assert.c (__assert_fail_base): New function. Majority
56682 of code from __assert_fail. Allocate memory for __abort_msg with
56684 (__assert_fail): Now call __assert_fail_base.
56685 * assert/assert-perr.c: Remove bulk of implementation. Use
56686 __assert_fail_base.
56687 * include/assert.hL Declare __assert_fail_base.
56688 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
56690 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
56692 2011-05-14 Ulrich Drepper <drepper@gmail.com>
56696 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
56697 until all modules are registered in the DTV.
56698 * elf/Makefile: Add rules to build and run tst-tls19.
56699 * elf/tst-tls19.c: New file.
56700 * elf/tst-tls19mod1.c: New file.
56701 * elf/tst-tls19mod2.c: New file.
56702 * elf/tst-tls19mod3.c: New file.
56703 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
56706 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
56710 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
56711 two-byte sequence errors.
56712 * iconvdata/Makefile (tests): Add bug-iconv8.
56713 * iconvdata/bug-iconv8.c: New file.
56716 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
56719 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
56722 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
56723 (dummy_getcfa): New function.
56724 (init): Get _Unwind_GetCFA address, use dummy if not found.
56725 (backtrace_helper): In recursion check, also check whether CFA changes.
56726 (__backtrace): Completely initialize arg.
56728 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
56729 storing incomplete byte sequence in state object. Avoid testing for
56730 guaranteed too small input if we know there is enough data available.
56732 2011-05-11 Andreas Schwab <schwab@redhat.com>
56734 * Makeconfig (+link-pie): Indent.
56735 * Rules (binaries-pie): Define if $(have-fpie) and
56737 (binaries-shared): Also filter out $(binaries-pie).
56738 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
56739 * nscd/Makefile (others-pie): Add nscd.
56740 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
56741 ($(objpfx)nscd): Remove command override.
56742 * login/Makefile (others-pie): Add pt_chown.
56743 ($(objpfx)pt_chown): Remove command override.
56744 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
56745 remove command overrides.
56747 2011-05-13 Ulrich Drepper <drepper@gmail.com>
56749 * libio/tst_putwc.c: Fix error messages.
56752 * libio/fileops.c (_IO_new_file_close_it): Always flush when
56753 currently writing and seek to current position when not.
56754 * libio/Makefile (tests): Add bug-fclose1.
56755 * libio/bug-fclose1.c: New file.
56757 2011-05-12 Ulrich Drepper <drepper@gmail.com>
56760 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
56761 don't set DF_1_NODELETE here.
56762 (do_lookup_x): When entering new entry test for copy relocation
56763 and if necessary set DF_1_NODELETE flag.
56764 * elf/tst-unique4.cc: New file.
56765 * elf/tst-unique4.h: New file.
56766 * elf/tst-unique4lib.cc: New file.
56767 * elf/Makefile: Add rules to build and run tst-unique4.
56768 Patch by Piotr Bury <pbury@goahead.com>.
56770 2011-05-11 Ulrich Drepper <drepper@gmail.com>
56773 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
56776 * misc/mntent_r.c (addmntent): Flush the stream after the output
56779 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
56780 (is_trusted_path_normalize): Skip initial colon. Append slash
56781 to empty buffer. Duplicate is_trusted_path code but allow
56782 constructed patch to be prefix.
56783 (is_dst): Allow $ORIGIN followed by /.
56784 (_dl_dst_substitute): Correct clearing of check_for_trusted.
56785 Correct testing of result of is_trusted_path_normalize
56786 (decompose_rpath): Fix warning.
56788 2011-05-10 Ulrich Drepper <drepper@gmail.com>
56791 * grp/initgroups.c (internal_getgrouplist): When we found the service
56792 list through the initgroups entry in nsswitch.conf do not always
56793 continue on a successful lookup. Don't always use the
56794 __nss_group_database value if it is set.
56795 * nss/nsswitch.conf (initgroups): Change action for successful db
56796 lookup to continue for compatibility.
56798 2011-05-09 Ulrich Drepper <drepper@gmail.com>
56801 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
56803 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
56805 * iconvdata/tst-tables.sh: Likewise.
56806 * iconvdata/cp770.c: New file.
56807 * iconvdata/cp771.c: New file.
56808 * iconvdata/cp772.c: New file.
56809 * iconvdata/cp773.c: New file.
56810 * iconvdata/cp774.c: New file.
56811 * iconvdata/testdata/CP770: New file.
56812 * iconvdata/testdata/CP770..UTF8: New file.
56813 * iconvdata/testdata/CP771: New file.
56814 * iconvdata/testdata/CP771..UTF8: New file.
56815 * iconvdata/testdata/CP772: New file.
56816 * iconvdata/testdata/CP772..UTF8: New file.
56817 * iconvdata/testdata/CP773: New file.
56818 * iconvdata/testdata/CP773..UTF8: New file.
56819 * iconvdata/testdata/CP774: New file.
56820 * iconvdata/testdata/CP774..UTF8: New file.
56822 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
56824 * iconvdata/gen-8bit-gap.sh: Likewise.
56825 * iconvdata/gen-8bit.sh: Likewise.
56827 * locale/iso-639.def: Add ary entry.
56830 * locale/C-translit.h.in: Add U20A1 transliteration.
56833 * locale/iso-639.def: Add wae entry.
56834 Patch by Kevin Bortis <bortis@translate-wae.ch>.
56837 * locale/programs/localedef.c (construct_output_path): Use ssize_t
56841 * locale/C-translit.h.in: Add entry for U20B9.
56842 Patch by pravin.d.s@gmail.com.
56844 2011-05-08 Ulrich Drepper <drepper@gmail.com>
56847 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
56848 ENAMETOOLONG use generic getcwd.
56849 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
56850 in rtld. Use *stat64.
56851 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
56852 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
56853 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
56854 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
56855 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
56856 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
56857 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
56858 __fstatat64 macros.
56859 * include/dirent.h: Add libc_hidden_proto for rewinddir.
56860 * dirent/rewinddir.c: Add libc_hidden_def.
56861 * sysdeps/mach/hurd/rewinddir.c: Likewise.
56862 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
56864 * include/dirent.h (__alloc_dir): Add flags parameter.
56865 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
56866 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
56868 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
56869 from fdopendir if O_CLOEXEC is already set.
56871 2011-03-15 Alan Modra <amodra@gmail.com>
56873 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
56874 l_tls_firstbyte_offset non-zero. Save padding offset in
56875 l_tls_firstbyte_offset for later use.
56876 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
56877 freeing static tls block.
56879 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
56881 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
56882 where #ifdef was intended. The intent is to prevent ARG_MAX from
56883 being defined by the kernel headers.
56885 2011-05-07 Ulrich Drepper <drepper@gmail.com>
56888 * resolv/resolv.h: Define RES_NOTLDQUERY.
56889 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
56890 no-tld-query and set RES_NOTLDQUERY.
56891 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
56892 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
56893 modern BIND to search name as TLD unless forbidden.
56895 2011-05-07 Petr Baudis <pasky@suse.cz>
56896 Ulrich Drepper <drepper@gmail.com>
56899 * elf/dl-load.c (fillin_rpath): Move trusted path check...
56900 (is_trusted_path): ...to here.
56901 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
56902 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
56903 using is_trusted_path_normalize() in setuid scripts.
56905 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
56907 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
56908 __BEGIN/__END_DECLS.
56910 2011-05-06 Ulrich Drepper <drepper@gmail.com>
56912 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
56913 NSS_STATUS_NOTFOUND if no record was found.
56915 2011-05-05 Andreas Schwab <schwab@redhat.com>
56917 * sunrpc/Makefile (headers): Add rpc/netdb.h.
56918 (headers-not-in-tirpc): Remove rpc/netdb.h
56919 * resolv/netdb.h: Revert last change.
56921 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
56923 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
56924 circular dependency between libgcc.a and libc.a.
56926 2011-05-05 Andreas Schwab <schwab@redhat.com>
56928 * resolv/netdb.h: Don't include <rpc/netdb.h>.
56929 * nis/Makefile: Don't install rpcsvc/*.
56930 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
56931 instead of <rpc/types.h>.
56932 (MAXHOSTNAMELEN): Define.
56934 2011-05-03 Andreas Schwab <schwab@redhat.com>
56936 * elf/ldconfig.c (add_dir): Don't crash on empty path.
56938 2011-04-28 Maciej Babinski <mbabinski@google.com>
56941 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
56942 gethostbyname4_r when IPv6 results are possible.
56944 2011-05-02 Ulrich Drepper <drepper@gmail.com>
56947 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
56948 _PC_PIPE_BUF handling.
56950 2011-04-30 Bruno Haible <bruno@clisp.org>
56953 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
56954 * resolv/netdb.h (getnameinfo): Change type of flags parameter
56956 * inet/getnameinfo.c (getnameinfo): Likewise.
56958 2011-04-29 Ulrich Drepper <drepper@gmail.com>
56960 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
56961 to groups setting in database lookup.
56962 * nss/nsswitch.conf: Add initgroups entry.
56964 2011-04-22 Ulrich Drepper <drepper@gmail.com>
56967 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
56969 Patch by Eric Blake <eblake@redhat.com>.
56971 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
56973 * sunrpc/Makefile (need-export-routines): Add svc_run.
56974 (routines): Remove svc_run.
56975 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
56976 * sunrpc/clnt_perr.c (clnt_perrno): Export.
56977 * sunrpc/svc_run.c (svc_run): Likewise.
56978 * sunrpc/svc_udp.c (svcudp_create): Likewise.
56980 2011-04-21 Ulrich Drepper <drepper@gmail.com>
56982 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
56983 problem in reallocation in last patch.
56985 2011-04-20 Ulrich Drepper <drepper@gmail.com>
56987 * sunrpc/Makefile: Move inclusion of Rules.
56989 2011-04-19 Ulrich Drepper <drepper@gmail.com>
56991 * nss/nss_files/files-initgroups.c: New file.
56992 * nss/Makefile (libnss_files-routines): Add files-initgroups.
56993 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
56994 _nss_files_initgroups_dyn.
56996 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
56998 * elf/elf.h (R_ARM_IRELATIVE): Define.
57000 2011-04-19 Ulrich Drepper <drepper@gmail.com>
57002 * po/ru.po: Update from translation team.
57004 2011-04-17 Ulrich Drepper <drepper@gmail.com>
57006 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
57009 2011-02-06 Mike Frysinger <vapier@gentoo.org>
57012 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
57013 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
57014 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
57015 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
57016 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
57018 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
57020 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
57022 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
57023 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
57024 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57026 2011-04-17 Ulrich Drepper <drepper@gmail.com>
57029 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
57031 * stdlib/bug-getcontext.c: New file.
57032 * stdlib/Makefile: Add rules to build and run bug-getcontext.
57034 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57036 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
57037 instructions into .machine "z9-109".
57038 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
57039 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
57041 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57043 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
57044 between environment variables and auxiliary vector.
57046 2011-04-16 Ulrich Drepper <drepper@gmail.com>
57048 * Makefile: Add rules to build linkobj/libc.so.
57049 * include/libc-symbols.h: Define libc_hidden_nolink.
57050 * include/rpc/auth.h: Mark functions which are to be hidden.
57051 * include/rpc/auth_des.h: Likewise.
57052 * include/rpc/auth_unix.h: Likewise.
57053 * include/rpc/clnt.h: Likewise.
57054 * include/rpc/des_crypt.h: Likewise.
57055 * include/rpc/key_prot.h: Likewise.
57056 * include/rpc/pmap_clnt.h: Likewise.
57057 * include/rpc/pmap_prot.h: Likewise.
57058 * include/rpc/pmap_rmt.h: Likewise.
57059 * include/rpc/rpc_msg.h: Likewise.
57060 * include/rpc/svc.h: Likewise.
57061 * include/rpc/svc_auth.h: Likewise.
57062 * include/rpc/xdr.h: Likewise.
57063 * nis/Makefile: Link all DSOs against linkobj/libc.so.
57064 * nss/Makefile: Likewise.
57065 * sunrpc/Makefile: Don't install headers. Build library with normal
57066 entry points. Don't build rpcinfo. Link RPC tests appropriately.
57067 * sunrpc/auth_des.c: Hide exported symbols by default, export some
57068 for the compat linking library. Remove use of INTDEF/INTUSE.
57069 * sunrpc/auth_none.c: Likewise.
57070 * sunrpc/auth_unix.c: Likewise.
57071 * sunrpc/authdes_prot.c: Likewise.
57072 * sunrpc/authuxprot.c: Likewise.
57073 * sunrpc/clnt_gen.c: Likewise.
57074 * sunrpc/clnt_perr.c: Likewise.
57075 * sunrpc/clnt_raw.c: Likewise.
57076 * sunrpc/clnt_simp.c: Likewise.
57077 * sunrpc/clnt_tcp.c: Likewise.
57078 * sunrpc/clnt_udp.c: Likewise.
57079 * sunrpc/clnt_unix.c: Likewise.
57080 * sunrpc/des_crypt.c: Likewise.
57081 * sunrpc/des_soft.c: Likewise.
57082 * sunrpc/get_myaddr.c: Likewise.
57083 * sunrpc/key_call.c: Likewise.
57084 * sunrpc/key_prot.c: Likewise.
57085 * sunrpc/netname.c: Likewise.
57086 * sunrpc/pm_getmaps.c: Likewise.
57087 * sunrpc/pm_getport.c: Likewise.
57088 * sunrpc/pmap_clnt.c: Likewise.
57089 * sunrpc/pmap_prot.c: Likewise.
57090 * sunrpc/pmap_prot2.c: Likewise.
57091 * sunrpc/pmap_rmt.c: Likewise.
57092 * sunrpc/publickey.c: Likewise.
57093 * sunrpc/rpc_cmsg.c: Likewise.
57094 * sunrpc/rpc_common.c: Likewise.
57095 * sunrpc/rpc_dtable.c: Likewise.
57096 * sunrpc/rpc_prot.c: Likewise.
57097 * sunrpc/rpc_thread.c: Likewise.
57098 * sunrpc/rtime.c: Likewise.
57099 * sunrpc/svc.c: Likewise.
57100 * sunrpc/svc_auth.c: Likewise.
57101 * sunrpc/svc_authux.c: Likewise.
57102 * sunrpc/svc_raw.c: Likewise.
57103 * sunrpc/svc_run.c: Likewise.
57104 * sunrpc/svc_simple.c: Likewise.
57105 * sunrpc/svc_tcp.c: Likewise.
57106 * sunrpc/svc_udp.c: Likewise.
57107 * sunrpc/svc_unix.c: Likewise.
57108 * sunrpc/svcauth_des.c: Likewise.
57109 * sunrpc/xcrypt.c: Likewise.
57110 * sunrpc/xdr.c: Likewise.
57111 * sunrpc/xdr_array.c: Likewise.
57112 * sunrpc/xdr_float.c: Likewise.
57113 * sunrpc/xdr_intXX_t.c: Likewise.
57114 * sunrpc/xdr_mem.c: Likewise.
57115 * sunrpc/xdr_rec.c: Likewise.
57116 * sunrpc/xdr_ref.c: Likewise.
57117 * sunrpc/xdr_sizeof.c: Likewise.
57118 * sunrpc/xdr_stdio.c: Likewise.
57120 2011-04-10 Ulrich Drepper <drepper@gmail.com>
57123 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
57124 * sysdeps/ia64/dl-tls.h: Likewise.
57125 * sysdeps/powerpc/dl-tls.h: Likewise.
57126 * sysdeps/s390/dl-tls.h: Likewise.
57127 * sysdeps/sh/dl-tls.h: Likewise.
57128 * sysdeps/sparc/dl-tls.h: Likewise.
57129 * sysdeps/x86_64/dl-tls.h: Likewise.
57130 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
57132 2011-03-14 Andreas Schwab <schwab@redhat.com>
57134 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
57135 rpath element also skip the following colon.
57136 (expand_dynamic_string_token): Add is_path parameter and pass
57137 down to DL_DST_REQUIRED and _dl_dst_substitute.
57138 (decompose_rpath): Call expand_dynamic_string_token with
57139 non-zero is_path. Ignore empty rpaths.
57140 (_dl_map_object_from_fd): Call expand_dynamic_string_token
57143 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
57145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
57148 2011-04-09 Ulrich Drepper <drepper@gmail.com>
57151 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
57152 Patch by Filipe David Manana <fdmanana@apache.org>.
57154 2011-04-07 Andreas Schwab <schwab@redhat.com>
57156 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
57157 Maintain aligned stack.
57158 (CHECK_RSP): Remove unused macro.
57160 2011-04-03 Ulrich Drepper <drepper@gmail.com>
57162 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
57163 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
57165 2011-04-02 Ulrich Drepper <drepper@gmail.com>
57167 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
57169 * include/features.h: Mention __USE_XOPEN2K8 in comment.
57171 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
57174 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
57175 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
57176 * sysdeps/x86_64/memmove.c: New file.
57177 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
57178 (memcpy): Renamed to ...
57179 (__new_memcpy): This.
57180 (memcpy): Provide GLIBC_2_14 memcpy.
57181 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
57182 (memcpy): Provide GLIBC_2_2_5 memcpy.
57184 2011-04-01 Ulrich Drepper <drepper@gmail.com>
57187 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
57189 2011-03-30 Andreas Schwab <schwab@redhat.com>
57191 * misc/syncfs.c: New file.
57192 * misc/Makefile (routines): Add syncfs.
57193 * posix/unistd.h: Declare syncfs.
57194 * sysdeps/unix/syscalls.list: Add syncfs.
57196 2011-04-01 Andreas Schwab <schwab@redhat.com>
57198 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
57200 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57201 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
57202 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57203 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57204 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57205 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
57206 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57208 2011-04-01 Ulrich Drepper <drepper@gmail.com>
57210 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
57211 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
57212 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
57213 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57214 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57215 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57216 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57218 * io/Makefile: Compile fallocate.c, fallocate64.c, and
57219 sync_file_range.c with -fexceptions.
57220 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
57221 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
57222 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
57223 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
57224 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
57225 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
57226 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
57227 sync_file_range as cancellation point
57228 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
57229 now a wrapper around __call_sync_file_range with cancellation handling.
57230 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
57231 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
57232 function name to __call_sync_file_range.
57233 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
57234 Add call_sync_file_range.
57236 2011-04-01 Andreas Schwab <schwab@redhat.com>
57238 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57241 2011-04-01 Ulrich Drepper <drepper@gmail.com>
57243 * iconv/iconv.h: Fix typo in comment.
57244 * io/fcntl.h: Likewise.
57245 * libio/stdio.h: Likewise.
57246 * posix/spawn.h: Likewise.
57247 * posix/unistd.h: Likewise.
57248 * stdlib/stdlib.h: Likewise.
57249 * time/time.h: Likewise.
57250 * wcsmbs/wchar.h: Likewise.
57252 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
57253 open_by_handle): Add.
57254 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
57255 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
57256 Augment a few comments.
57257 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
57258 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57259 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57260 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57261 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57262 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
57265 * io/fcntl.h (AT_EMPTY_PATH): Define.
57267 2011-03-30 Ulrich Drepper <drepper@gmail.com>
57269 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
57270 * sysdeps/unix/sysv/linux/bits/time.h: New file.
57271 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
57273 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
57274 * Versions.def: Add GLIBC_2.14.
57275 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
57278 2011-03-22 Ulrich Drepper <drepper@gmail.com>
57280 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
57282 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
57284 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
57287 * string/test-strncmp.c (do_page_test): New function.
57288 (check2): Likewise.
57289 (test_main): Call check2.
57290 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
57292 2011-03-20 Ulrich Drepper <drepper@gmail.com>
57295 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
57296 Handle cache information in CPU leaf 4.
57297 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
57299 2011-03-18 Ulrich Drepper <drepper@gmail.com>
57302 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
57303 character representation.
57304 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
57306 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
57308 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
57309 END(__isnan) to END(__isnanf) to match function entry point/label
57310 EALIGN(__isnanf,...).
57312 2011-03-10 Jakub Jelinek <jakub@redhat.com>
57314 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
57316 2011-03-10 Ulrich Drepper <drepper@gmail.com>
57319 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
57320 copy from the symbol referenced in the relocation to initialize the
57322 Patch by Piotr Bury <pbury@goahead.com>.
57323 * elf/Makefile: Add rules to build and tst-unique3.
57324 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
57325 * elf/tst-unique3.cc: New file.
57326 * elf/tst-unique3.h: New file.
57327 * elf/tst-unique3lib.cc: New file.
57328 * elf/tst-unique3lib2.cc: New file.
57330 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
57332 2011-03-10 Mike Frysinger <vapier@gentoo.org>
57334 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
57335 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
57338 2011-03-06 Ulrich Drepper <drepper@gmail.com>
57340 * elf/dl-load.c (_dl_map_object): If we are looking for the first
57341 to-be-loaded object along a path to loader is ld.so.
57343 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
57344 Ulrich Drepper <drepper@gmail.com>
57346 * sysdeps/x86_64/memset.S: After aligning destination, code
57347 branches to different locations depending on the value of
57348 misalignment, when multiarch is enabled. Fix this.
57350 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
57352 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
57353 Set _x86_64_preferred_memory_instruction for AMD processsors.
57354 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57355 Set bit_Prefer_SSE_for_memop for AMD processors.
57357 2011-03-04 Ulrich Drepper <drepper@gmail.com>
57359 * libio/fmemopen.c (fmemopen): Optimize a bit.
57361 2011-03-03 Andreas Schwab <schwab@redhat.com>
57363 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
57365 2011-03-03 Roland McGrath <roland@redhat.com>
57367 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
57369 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
57371 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
57372 __bzero_ultra1 instead of __memset_ultra1.
57374 2011-02-23 Andreas Schwab <schwab@redhat.com>
57375 Ulrich Drepper <drepper@gmail.com>
57378 * include/link.h (struct link_map): Add l_orig_initfini.
57379 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
57380 returning unsuccessfully.
57381 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
57382 close of a file loaded at startup, restore the original l_initfini
57384 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
57385 list, store the pointer.
57386 * elf/Makefile ($(objpfx)noload-mem): New rule.
57387 (noload-ENV): Define.
57388 (tests): Add $(objpfx)noload-mem.
57389 * elf/noload.c: Include <memcheck.h>.
57390 (main): Call mtrace. Close all opened handles.
57392 2011-02-17 Andreas Schwab <schwab@redhat.com>
57395 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
57396 dependencies are missing.
57398 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
57400 Fix __if_freereq crash: Unlike the generic version which uses free,
57402 * sysdeps/mach/hurd/ifreq.h: New file.
57404 2011-01-27 Petr Baudis <pasky@suse.cz>
57405 Ulrich Drepper <drepper@gmail.com>
57408 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
57409 to extend_alloca().
57410 * stdio-common/bug23.c: New file.
57411 * stdio-common/Makefile (tests): Add bug23.
57413 2010-09-28 Andreas Schwab <schwab@redhat.com>
57414 Ulrich Drepper <drepper@gmail.com>
57417 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
57418 before performing relro protection. At old place add assertion
57419 to make sure nothing changed.
57421 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
57422 Glauber de Oliveira Costa <glommer@gmail.com>
57424 * elf/elf.h: Add new ARM TLS relocs.
57426 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
57428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
57429 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
57431 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
57433 * sysdeps/wordsize-64/tst-writev.c: New file.
57435 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
57437 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
57438 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
57439 insns in _dl_start to prevent a TOC reference before relocs are
57442 2011-02-15 Ulrich Drepper <drepper@gmail.com>
57445 * Makeconfig: Remove RANLIB definition.
57446 * Makerules: Don't use RANLIB.
57447 * aclocal.m4: Remove ranlib test.
57448 * configure.in: No need to check for ranlib.
57449 * elf/rtld-Rules: Don't use RANLIB.
57451 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
57453 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
57455 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
57456 inclusion protection macro.
57458 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
57459 SIGRTMIN and SIGRTMAX and print information in that case only when
57460 SIGRTMIN is defined.
57462 2011-02-11 Jakub Jelinek <jakub@redhat.com>
57464 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
57465 arginfo fn returning -1.
57467 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
57468 and thousands string is zero terminated.
57470 2011-02-03 Andreas Schwab <schwab@redhat.com>
57472 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
57473 sysdeps/unix/sysv/linux/bits/socket.h.
57475 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
57477 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
57478 (__CPU_COUNT): Remove old macros.
57479 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
57480 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
57481 (__CPU_ALLOC, __CPU_FREE): Add macros.
57482 (__sched_cpualloc, __sched_cpufree): Add declarations.
57484 2011-02-05 Ulrich Drepper <drepper@gmail.com>
57486 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
57487 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
57488 * nscd/aicache.c (addhstaiX): Return timeout of added value.
57489 (readdhstai): Return value of addhstaiX call.
57490 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
57491 (addgrbyX): Return value returned by cache_addgr.
57492 (readdgrbyname): Return value returned by addgrbyX.
57493 (readdgrbygid): Likewise.
57494 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
57495 (addpwbyX): Return value returned by cache_addpw.
57496 (readdpwbyname): Return value returned by addhstbyX.
57497 (readdpwbyuid): Likewise.
57498 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
57499 (addservbyX): Return value returned by cache_addserv.
57500 (readdservbyname): Return value returned by addservbyX:
57501 (readdservbyport): Likewise.
57502 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
57503 (addhstbyX): Return value returned by cache_addhst.
57504 (readdhstbyname): Return value returned by addhstbyX.
57505 (readdhstbyaddr): Likewise.
57506 (readdhstbynamev6): Likewise.
57507 (readdhstbyaddrv6): Likewise.
57508 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
57509 (readdinitgroups): Return value returned by addinitgroupsX.
57510 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
57511 (prune_cache): Keep track of timeout value of re-added entries.
57512 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
57513 * nscd/nscd.h: Adjust prototypes of readd* functions.
57515 2011-02-04 Roland McGrath <roland@redhat.com>
57517 * nis/nis_server.c (nis_servstate): Use the right name for 0.
57518 (nis_stats): Likewise.
57519 * nis/nis_modify.c (nis_modify): Likewise.
57520 * nis/nis_remove.c (nis_remove): Likewise.
57521 * nis/nis_add.c (nis_add): Likewise.
57523 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
57525 * posix/fnmatch_loop.c: Add some consts.
57527 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
57529 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
57532 * config.make.in (config-cflags-novzeroupper): Define.
57533 * configure.in: Substitute libc_cv_cc_novzeroupper.
57534 * elf/Makefile (AVX-CFLAGS): Define.
57535 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
57536 (CFLAGS-tst-auditmod4a.c): Likewise.
57537 (CFLAGS-tst-auditmod4b.c): Likewise.
57538 (CFLAGS-tst-auditmod6b.c): Likewise.
57539 (CFLAGS-tst-auditmod6c.c): Likewise.
57540 (CFLAGS-tst-auditmod7b.c): Likewise.
57541 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
57543 2011-02-02 Ulrich Drepper <drepper@gmail.com>
57545 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
57546 function to the callback.
57547 Patch partly by Jiri Olsa <jolsa@redhat.com>.
57549 2011-02-02 Andreas Schwab <schwab@redhat.com>
57551 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
57554 2011-01-19 Ulrich Drepper <drepper@gmail.com>
57557 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
57559 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
57561 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
57564 * elf/Makefile: Add rules to build and run new test.
57565 * elf/tst-initorder.c: New file.
57566 * elf/tst-initorder.exp: New file.
57567 * elf/tst-initordera1.c: New file.
57568 * elf/tst-initordera2.c: New file.
57569 * elf/tst-initordera3.c: New file.
57570 * elf/tst-initordera4.c: New file.
57571 * elf/tst-initorderb1.c: New file.
57572 * elf/tst-initorderb2.c: New file.
57573 * elf/tst-order-a1.c: New file.
57574 * elf/tst-order-a2.c: New file.
57575 * elf/tst-order-a3.c: New file.
57576 * elf/tst-order-a4.c: New file.
57577 * elf/tst-order-b1.c: New file.
57578 * elf/tst-order-b2.c: New file.
57579 * elf/tst-order-main.c: New file.
57580 New test case by George Gensure <werkt0@gmail.com>.
57582 2010-10-01 Andreas Schwab <schwab@redhat.com>
57584 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
57585 decoding ACE if AI_CANONIDN.
57587 2011-01-18 Ulrich Drepper <drepper@gmail.com>
57589 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
57591 2011-01-17 Ulrich Drepper <drepper@gmail.com>
57593 * version.h (RELEASE): Bump for 2.13 release.
57594 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
57596 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
57598 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
57600 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
57601 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
57602 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
57603 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
57604 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
57605 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
57607 * posix/getconf.c: Update copyright year.
57608 * catgets/gencat.c: Likewise.
57609 * csu/version.c: Likewise.
57610 * debug/catchsegv.sh: Likewise.
57611 * debug/xtrace.sh: Likewise.
57612 * elf/ldconfig.c: Likewise.
57613 * elf/ldd.bash.in: Likewise.
57614 * elf/sprof.c (print_version): Likewise.
57615 * iconv/iconv_prog.c: Likewise.
57616 * iconv/iconvconfig.c: Likewise.
57617 * locale/programs/locale.c: Likewise.
57618 * locale/programs/localedef.c: Likewise.
57619 * malloc/memusage.sh: Likewise.
57620 * malloc/mtrace.pl: Likewise.
57621 * nscd/nscd.c (print_version): Likewise.
57622 * nss/getent.c: Likewise.
57624 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
57625 PF_CAIF, and PF_ALG.
57626 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57628 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
57630 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
57631 (modules-names): Use them.
57632 (ifunc-test-modules, ifunc-pie-tests): Define.
57633 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
57634 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
57635 (test-extras): Likewise.
57636 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
57637 $(compile-command.c).
57638 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
57639 (all-built-dso): Define.
57640 (check-textrel.out, check-execstack.out): Depend on it.
57642 * configure.in: Don't override --enable-multi-arch.
57644 2011-01-15 Ulrich Drepper <drepper@gmail.com>
57647 * nscd/hstcache.c (tryagain): Define.
57648 (cache_addhst): Return tryagain not notfound for temporary errors.
57649 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
57652 2011-01-14 Ulrich Drepper <drepper@gmail.com>
57655 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
57656 to make the syscall.
57657 * sysdeps/unix/sysv/linux/setgroups.c: New file.
57660 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
57661 and fall back to matching as normal character if the string ends before
57662 the matching ']' is found. This is what POSIX requires.
57663 * posix/testfnm.c: Adjust test result.
57664 * posix/globtest.sh: Adjust test result. Add new test.
57665 * posix/tst-fnmatch.input: Likewise.
57666 * posix/tst-fnmatch2.c: Add new test.
57668 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
57670 * elf/Makefile (check-execstack): Revert last change. Depend on
57672 (check-execstack.h): New target.
57673 (generated): Add check-execstack.h.
57674 * elf/check-execstack.c: Include "check-execstack.h".
57675 (main): Revert last change.
57676 (handle_file): Return zero if GNU_STACK is absent and
57677 DEFAULT_STACK_PERMS doesn't include PF_X.
57679 2011-01-13 Ulrich Drepper <drepper@gmail.com>
57681 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
57682 in child fails because the descriptor is already closed.
57683 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
57684 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
57685 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
57688 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
57692 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
57693 temporary buffer used to handle multi lookups locally.
57694 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
57696 2011-01-12 Ulrich Drepper <drepper@gmail.com>
57698 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
57701 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
57703 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
57704 alignment for SSE2.
57706 2011-01-12 Ulrich Drepper <drepper@gmail.com>
57709 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
57710 characters. When rounding increased number of integer digits recompute
57712 * stdio-common/tst-grouping.c: New file.
57713 * stdio-common/Makefile: Add rules to build and run tst-grouping.
57715 2011-01-09 Ulrich Drepper <drepper@gmail.com>
57717 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
57718 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
57720 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
57722 * bits/select.h: Likewise.
57724 2011-01-08 Ulrich Drepper <drepper@gmail.com>
57726 * po/ja.po: Update from translation team.
57728 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
57731 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
57732 implementation just like for lxstat, fxstatat, et al.
57734 2010-12-27 Jim Meyering <meyering@redhat.com>
57737 * posix/regexec.c (build_trtable): Return failure indication upon
57738 calloc failure. Otherwise, re_search_internal could infloop on OOM.
57740 2010-12-25 Ulrich Drepper <drepper@gmail.com>
57743 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
57744 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
57745 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
57746 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
57749 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
57752 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
57753 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
57755 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
57757 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
57758 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
57759 script has SORT_BY_INIT_PRIORITY.
57760 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
57761 NO_CTORS_DTORS_SECTIONS is defined.
57762 * elf/soinit.c: Likewise.
57763 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
57764 NO_CTORS_DTORS_SECTIONS is defined.
57765 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
57766 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
57767 * sysdeps/sh/init-first.c: Likewise.
57768 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
57770 2010-12-24 Ulrich Drepper <drepper@gmail.com>
57772 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
57773 always use the slow path.
57775 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
57777 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
57778 similar rule which adds the sysdep directories to the header search in
57779 order to pick up the correct platform stackinfo.h.
57780 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
57781 perform test if it is, otherwise return successfully without testing.
57782 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
57783 DEFAULT_STACK_PERMS define in stackinfo.h.
57784 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
57785 defined in stackinfo.h.
57786 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
57787 DEFAULT_STACK_PERMS defined in stackinfo.h.
57788 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
57789 * sysdeps/ia64/stackinfo.h: Likewise.
57790 * sysdeps/s390/stackinfo.h: Likewise.
57791 * sysdeps/sh/stackinfo.h: Likewise.
57792 * sysdeps/sparc/stackinfo.h: Likewise.
57793 * sysdeps/x86_64/stackinfo.h: Likewise.
57794 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
57795 PF_X for powerpc64. Retain PF_X for powerpc32.
57797 2010-12-19 Ulrich Drepper <drepper@gmail.com>
57799 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
57801 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
57802 GETDENTS_64BIT_ALIGNED.
57804 2010-12-14 Ulrich Drepper <dreper@gmail.com>
57806 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
57808 2010-12-10 Andreas Schwab <schwab@redhat.com>
57810 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
57813 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
57814 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
57816 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
57817 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
57819 2010-12-09 Ulrich Drepper <drepper@gmail.com>
57822 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
57825 2010-12-09 Jakub Jelinek <jakub@redhat.com>
57827 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
57829 2010-12-03 Ulrich Drepper <drepper@gmail.com>
57831 * po/it.po: Update from translation team.
57833 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
57835 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
57838 2010-11-30 Ulrich Drepper <drepper@gmail.com>
57840 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
57842 2010-11-24 Andreas Schwab <schwab@redhat.com>
57844 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
57846 (gaih_getanswer_slice): Likewise.
57848 2010-10-20 Jakub Jelinek <jakub@redhat.com>
57850 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
57852 2010-05-31 Petr Baudis <pasky@suse.cz>
57855 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
57856 silently even in the chroot mode.
57858 2010-11-22 Ulrich Drepper <drepper@gmail.com>
57860 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
57861 last patch a bit. Pretty printing
57863 2010-05-31 Petr Baudis <pasky@suse.cz>
57866 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
57867 initialization of skip_initgroups_dyn.
57869 2010-11-19 Ulrich Drepper <drepper@gmail.com>
57871 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
57872 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
57874 2010-11-16 Ulrich Drepper <drepper@gmail.com>
57876 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
57878 2010-11-11 Andreas Schwab <schwab@redhat.com>
57880 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
57881 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
57882 (tst-fnmatch-ENV): Set MALLOC_TRACE.
57883 ($(objpfx)tst-fnmatch-mem): New rule.
57884 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
57885 * posix/tst-fnmatch.c (main): Call mtrace.
57887 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
57889 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57890 Support Intel processor model 6 and model 0x2c.
57892 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
57894 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
57897 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
57900 * string/test-strncasecmp.c (check_result): New function.
57901 (do_one_test): Use it.
57902 (check1): New function.
57903 (test_main): Use it.
57904 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
57905 Support strcasecmp and strncasecmp.
57907 2010-11-08 Ulrich Drepper <drepper@gmail.com>
57910 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
57911 * sysdeps/x86_64/bits/byteswap.h: Likewise.
57913 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
57915 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
57917 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57919 * sysdeps/x86_64/multiarch/bzero.S: New file.
57920 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
57921 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
57922 * sysdeps/x86_64/multiarch/memset.S: New file.
57923 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
57924 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57925 Set bit_Prefer_SSE_for_memop for Intel processors.
57926 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
57928 (index_Prefer_SSE_for_memop): Define.
57929 (HAS_PREFER_SSE_FOR_MEMOP): Define.
57931 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
57933 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
57934 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
57936 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
57939 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57940 (__x86_64_raw_data_cache_size_half): Likewise.
57941 (__x86_64_raw_shared_cache_size): Likewise.
57942 (__x86_64_raw_shared_cache_size_half): Likewise.
57944 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57945 (__x86_64_raw_data_cache_size_half): Likewise.
57946 (__x86_64_raw_shared_cache_size): Likewise.
57947 (__x86_64_raw_shared_cache_size_half): Likewise.
57948 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
57949 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
57950 and __x86_64_raw_shared_cache_size_half. Round
57951 __x86_64_data_cache_size_half, __x86_64_data_cache_size
57952 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
57953 to multiple of 256 bytes.
57955 2010-11-03 Ulrich Drepper <drepper@gmail.com>
57958 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
57959 of inacessible symlinks. Verify result of symlink before returning it.
57960 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57961 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
57963 2010-10-28 Erich Ritz <erichritz@gmail.com>
57965 * math/math.h (isinf): Fix typo in comment.
57967 2010-11-01 Ulrich Drepper <drepper@gmail.com>
57969 * po/da.po: Update from translation team.
57971 2010-10-26 Ulrich Drepper <drepper@gmail.com>
57973 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
57974 is added to the list.
57976 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57977 Ulrich Drepper <drepper@gmail.com>
57979 * elf/dl-object.c (_dl_new_object): Don't append the new object to
57980 the global list here. Move code to...
57981 (_dl_add_to_namespace_list): ...here. New function.
57982 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
57983 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
57984 * elf/dl-load.c (lose): Don't remove the element from the list.
57985 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
57986 (_dl_map_object): Likewise.
57988 2010-10-25 Ulrich Drepper <drepper@gmail.com>
57991 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
57992 into all bytes of SSE register.
57993 Patch by Richard Li <richardpku@gmail.com>.
57995 2010-10-24 Ulrich Drepper <drepper@gmail.com>
57998 * malloc/malloc.c (_int_free): Fill correct number of bytes when
58001 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
58003 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
58004 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
58005 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
58006 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
58007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
58009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
58011 2010-10-22 Andreas Schwab <schwab@redhat.com>
58013 * include/dlfcn.h (__RTLD_SECURE): Define.
58014 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
58015 mode & __RTLD_SECURE instead.
58016 (open_path): Rename preloaded parameter to secure.
58017 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
58018 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
58019 * elf/dl-deps.c (openaux): Likewise.
58020 * elf/rtld.c (struct map_args): Remove is_preloaded.
58021 (map_doit): Don't use it.
58022 (dl_main): Likewise.
58023 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
58024 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
58026 2010-09-09 Andreas Schwab <schwab@redhat.com>
58028 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
58029 (sysd-rules-targets): Remove duplicates.
58030 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
58031 rtld-%.$o dependency.
58033 2010-10-18 Andreas Schwab <schwab@redhat.com>
58035 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
58036 _dl_map_object do it.
58038 2010-10-19 Ulrich Drepper <drepper@gmail.com>
58040 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
58041 fast fma builtins, define the macros in the C99 standard.
58042 (FP_FAST_FMAF): Likewise.
58043 (FP_FAST_FMAL): Likewise.
58044 * sysdeps/x86_64/bits/mathdef.h: Likewise.
58046 * bits/mathdef.h: Update copyright year.
58047 * sysdeps/powerpc/bits/mathdef.h: Likewise.
58049 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
58051 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
58052 builtins, define the macros in the C99 standard.
58053 (FP_FAST_FMAF): Likewise.
58054 (FP_FAST_FMAL): Likewise.
58055 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
58057 (FP_FAST_FMAF): Likewise.
58059 2010-10-15 Jakub Jelinek <jakub@redhat.com>
58062 * math/libm-test.inc (fma_test): Some new testcases.
58063 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
58064 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
58065 y and infinite z. Do multiplication by C already in long double.
58066 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
58067 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
58068 y and infinite z. Do bitwise or of inexact bit into u.d.
58069 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
58070 * sysdeps/i386/fpu/s_fmaf.S: Removed.
58071 * sysdeps/i386/fpu/s_fma.S: Removed.
58072 * sysdeps/i386/fpu/s_fmal.S: Removed.
58074 2010-10-16 Jakub Jelinek <jakub@redhat.com>
58077 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
58078 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
58079 computation is not scheduled after fetestexcept. Fix value
58080 of minimum denormal long double.
58082 2010-10-14 Jakub Jelinek <jakub@redhat.com>
58085 * math/libm-test.inc (fma_test): Add some more tests.
58086 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
58089 2010-10-15 Andreas Schwab <schwab@redhat.com>
58091 * scripts/data/localplt-s390-linux-gnu.data: New file.
58092 * scripts/data/localplt-s390x-linux-gnu.data: New file.
58094 2010-10-13 Jakub Jelinek <jakub@redhat.com>
58097 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
58098 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
58100 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
58102 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
58103 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
58104 if one of x and y is very large and the other is subnormal.
58105 * sysdeps/s390/fpu/s_fmaf.c: New file.
58106 * sysdeps/s390/fpu/s_fma.c: New file.
58107 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
58108 * sysdeps/powerpc/fpu/s_fma.S: New file.
58109 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
58110 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
58111 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
58113 2010-10-12 Jakub Jelinek <jakub@redhat.com>
58116 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
58118 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
58119 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
58120 * sysdeps/i386/i686/multiarch/s_fma.c: Include
58121 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
58122 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
58123 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
58124 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
58126 2010-10-12 Ulrich Drepper <drepper@redhat.com>
58129 * posix/regcomp.c (parse_branch): One more memory leak plugged.
58130 * posix/bug-regex31.input: Add test case.
58132 2010-10-11 Ulrich Drepper <drepper@gmail.com>
58134 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
58135 * posix/bug-regex31.input: New file.
58138 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
58139 (parse_sub_exp): Fix last change, use postorder.
58141 * posix/bug-regex31.c: New file.
58142 * posix/Makefile: Add rules to build and run bug-regex31.
58144 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
58147 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
58150 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
58151 to have entries in sys_siglist.
58154 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
58157 2010-10-07 Jakub Jelinek <jakub@redhat.com>
58160 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
58161 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
58162 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
58163 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
58164 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
58165 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
58166 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
58167 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
58168 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
58169 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
58170 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
58171 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
58172 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
58173 * math/ftestexcept.c (fetestexcept): Likewise.
58174 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
58175 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
58176 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
58177 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
58178 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
58179 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
58180 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
58182 2010-10-11 Ulrich Drepper <drepper@gmail.com>
58185 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
58188 2010-10-06 Ulrich Drepper <drepper@gmail.com>
58190 * string/bug-strstr1.c: New file.
58191 * string/Makefile: Add rules to build and run bug-strstr1.
58193 2010-10-05 Eric Blake <eblake@redhat.com>
58196 * string/str-two-way.h (two_way_long_needle): Always clear memory
58197 when skipping input due to the shift table.
58199 2010-10-03 Ulrich Drepper <drepper@gmail.com>
58202 * malloc/mcheck.c: Handle large requests.
58205 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
58206 for strncmp and strncasecmp.
58207 * string/stratcliff.c: Add tests for strcmp and strncmp.
58208 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
58210 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
58212 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
58215 2010-09-30 Andreas Jaeger <aj@suse.de>
58217 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
58218 (CGROUP_SUPER_MAGIC): Define.
58219 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58220 Handle btrfs and cgroup file systems.
58221 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
58224 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
58226 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
58227 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
58229 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58232 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
58233 trying to locate the ELF header.
58235 2010-09-27 Andreas Schwab <schwab@redhat.com>
58238 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
58239 Mask out sign-bit copies when constructing f_fsid.
58241 2010-09-24 Petr Baudis <pasky@suse.cz>
58243 * debug/stack_chk_fail_local.c: Add missing licence exception.
58244 * debug/warning-nop.c: Likewise.
58246 2010-09-15 Joseph Myers <joseph@codesourcery.com>
58248 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
58249 implementing getdents64 using getdents syscall, set d_type if
58250 __ASSUME_GETDENTS32_D_TYPE.
58252 2010-09-16 Andreas Schwab <schwab@redhat.com>
58254 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
58255 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
58257 2010-09-21 Ulrich Drepper <drepper@redhat.com>
58260 * posix/unistd.h: Undo change of feature selection for ftruncate from
58263 2010-09-20 Ulrich Drepper <drepper@redhat.com>
58265 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
58268 2010-09-20 Andreas Schwab <schwab@redhat.com>
58270 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
58272 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
58274 2010-09-14 Andreas Schwab <schwab@redhat.com>
58276 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
58277 variables after CHECK_SP call.
58278 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
58280 2010-09-13 Andreas Schwab <schwab@redhat.com>
58281 Ulrich Drepper <drepper@redhat.com>
58283 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
58284 re-relocationg ld.so.
58285 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
58286 _dl_init_paths call.
58287 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
58290 2010-09-14 Ulrich Drepper <drepper@redhat.com>
58292 * resolv/res_init.c (__res_vinit): Count the default server we added.
58294 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
58295 Ulrich Drepper <drepper@redhat.com>
58298 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
58299 (____longjmp_chk): Use %ebx for saving value across system call.
58302 2010-09-06 Andreas Schwab <schwab@redhat.com>
58304 * manual/Makefile: Don't mix pattern rules with normal rules.
58306 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
58308 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
58310 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
58311 * libio/iofopncook.c (_IO_cookie_init): Likewise.
58312 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
58313 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
58314 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58317 2010-09-04 Ulrich Drepper <drepper@redhat.com>
58320 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
58321 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
58323 2010-09-02 Ulrich Drepper <drepper@redhat.com>
58325 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
58326 * sysdeps/x86_64/addmul_1.S: Likewise.
58327 * sysdeps/x86_64/lshift.S: Likewise.
58328 * sysdeps/x86_64/mul_1.S: Likewise.
58329 * sysdeps/x86_64/rshift.S: Likewise.
58330 * sysdeps/x86_64/sub_n.S: Likewise.
58331 * sysdeps/x86_64/submul_1.S: Likewise.
58333 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
58335 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
58336 Define __sched_param instead of SCHED_* and sched_param when
58337 <bits/sched.h> is included with __need_schedparam defined.
58338 * bits/sched.h [__need_schedparam]
58339 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
58340 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
58341 (__defined_schedparam): Define to 1.
58342 (__sched_param): New structure, identical to sched_param.
58343 (__need_schedparam): Undefine.
58345 2010-08-31 Mike Frysinger <vapier@gentoo.org>
58347 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
58348 (epoll_create1): Declare.
58350 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
58352 2010-08-31 Andreas Schwab <schwab@redhat.com>
58355 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
58356 shifting retval into place.
58358 2010-09-01 Ulrich Drepper <drepper@redhat.com>
58360 * nis/rpcsvc/nis.h: Update copyright notice.
58361 * nis/rpcsvc/nis.x: Likewise.
58362 * nis/rpcsvc/nis_callback.h: Likewise.
58363 * nis/rpcsvc/nis_callback.x: Likewise.
58364 * nis/rpcsvc/nis_object.x: Likewise.
58365 * nis/rpcsvc/nis_tags.h: Likewise.
58366 * nis/rpcsvc/yp.h: Likewise.
58367 * nis/rpcsvc/yp.x: Likewise.
58368 * nis/rpcsvc/ypupd.h: Likewise.
58369 * nis/yp_xdr.c: Likewise.
58370 * nis/ypupdate_xdr.c: Likewise.
58372 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
58373 mainly the body of pmap_getport. Add parameters to specify timeouts.
58374 (pmap_getport): Use __libc_rpc_getport.
58375 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
58376 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
58377 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
58379 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
58381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
58384 2010-08-27 Roland McGrath <roland@redhat.com>
58386 * sysdeps/i386/i686/multiarch/Makefile
58387 (CFLAGS-varshift.c): New variable.
58389 2010-08-27 Ulrich Drepper <drepper@redhat.com>
58391 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
58392 * sysdeps/i386/i686/multiarch/varshift.c: New file.
58394 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
58396 * sysdeps/x86_64/strlen.S: Minimal code improvement.
58398 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
58400 * sysdeps/x86_64/strlen.S: Unroll the loop.
58401 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58402 strlen-sse2 strlen-sse2-bsf.
58403 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
58404 __strlen_no_bsf if bit_Slow_BSF is set.
58405 (__strlen_sse42): Removed.
58406 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
58407 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
58409 2010-08-25 Roland McGrath <roland@redhat.com>
58411 * sysdeps/x86_64/multiarch/varshift.S: File removed.
58412 * sysdeps/x86_64/multiarch/varshift.c: New file.
58413 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
58414 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
58415 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
58416 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
58418 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
58420 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58421 strlen-sse2 strlen-sse2-bsf.
58422 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
58423 __strlen_sse2_bsf if bit_Slow_BSF is unset.
58424 (__strlen_sse2): Removed.
58425 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
58426 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
58427 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
58428 bit_Slow_BSF for Atom.
58429 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
58430 (index_Slow_BSF): Define.
58431 (HAS_SLOW_BSF): Define.
58433 2010-08-25 Ulrich Drepper <drepper@redhat.com>
58436 * resolv/res_init.c (__res_vinit): When no server address at all
58437 is given default to loopback.
58439 2010-08-24 Roland McGrath <roland@redhat.com>
58441 * configure.in: Remove config-name.h generation.
58442 * configure: Regenerated.
58443 * config-name.in: File removed.
58444 * scripts/config-uname.sh: New file.
58445 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
58446 ($(objdir)config-name.h): New target.
58448 * sunrpc/rpc_parse.h: Avoid nested comment.
58450 2010-08-24 Richard Henderson <rth@redhat.com>
58451 Ulrich Drepper <drepper@redhat.com>
58452 H.J. Lu <hongjiu.lu@intel.com>
58454 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
58455 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
58456 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
58457 Replace _mm_srli_si128 with __m128i_shift_right. Replace
58458 _mm_alignr_epi8 with _mm_loadu_si128.
58459 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
58460 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
58461 (__m128i_shift_right): Removed.
58462 * sysdeps/i386/i686/multiarch/varshift.h: New file.
58463 * sysdeps/i386/i686/multiarch/varshift.S: New file.
58464 * sysdeps/x86_64/multiarch/varshift.h: New file.
58465 * sysdeps/x86_64/multiarch/varshift.S: New file.
58467 2010-08-21 Mike Frysinger <vapier@gentoo.org>
58469 * configure.in: Move assembler checks to before sysdep dir checking.
58471 2010-08-20 Petr Baudis <pasky@suse.cz>
58473 * LICENSES: Sync the sunrpc license.
58475 2010-08-19 Ulrich Drepper <drepper@redhat.com>
58477 * sunrpc/auth_des.c: Update copyright notice once again.
58478 * sunrpc/auth_none.c: Likewise.
58479 * sunrpc/auth_unix.c: Likewise.
58480 * sunrpc/authdes_prot.c: Likewise.
58481 * sunrpc/authuxprot.c: Likewise.
58482 * sunrpc/bindrsvprt.c: Likewise.
58483 * sunrpc/clnt_gen.c: Likewise.
58484 * sunrpc/clnt_perr.c: Likewise.
58485 * sunrpc/clnt_raw.c: Likewise.
58486 * sunrpc/clnt_simp.c: Likewise.
58487 * sunrpc/clnt_tcp.c: Likewise.
58488 * sunrpc/clnt_udp.c: Likewise.
58489 * sunrpc/clnt_unix.c: Likewise.
58490 * sunrpc/des_crypt.c: Likewise.
58491 * sunrpc/des_soft.c: Likewise.
58492 * sunrpc/get_myaddr.c: Likewise.
58493 * sunrpc/getrpcport.c: Likewise.
58494 * sunrpc/key_call.c: Likewise.
58495 * sunrpc/key_prot.c: Likewise.
58496 * sunrpc/openchild.c: Likewise.
58497 * sunrpc/pm_getmaps.c: Likewise.
58498 * sunrpc/pm_getport.c: Likewise.
58499 * sunrpc/pmap_clnt.c: Likewise.
58500 * sunrpc/pmap_prot.c: Likewise.
58501 * sunrpc/pmap_prot2.c: Likewise.
58502 * sunrpc/pmap_rmt.c: Likewise.
58503 * sunrpc/rpc/auth.h: Likewise.
58504 * sunrpc/rpc/auth_unix.h: Likewise.
58505 * sunrpc/rpc/clnt.h: Likewise.
58506 * sunrpc/rpc/des_crypt.h: Likewise.
58507 * sunrpc/rpc/key_prot.h: Likewise.
58508 * sunrpc/rpc/netdb.h: Likewise.
58509 * sunrpc/rpc/pmap_clnt.h: Likewise.
58510 * sunrpc/rpc/pmap_prot.h: Likewise.
58511 * sunrpc/rpc/pmap_rmt.h: Likewise.
58512 * sunrpc/rpc/rpc.h: Likewise.
58513 * sunrpc/rpc/rpc_des.h: Likewise.
58514 * sunrpc/rpc/rpc_msg.h: Likewise.
58515 * sunrpc/rpc/svc.h: Likewise.
58516 * sunrpc/rpc/svc_auth.h: Likewise.
58517 * sunrpc/rpc/types.h: Likewise.
58518 * sunrpc/rpc/xdr.h: Likewise.
58519 * sunrpc/rpc_clntout.c: Likewise.
58520 * sunrpc/rpc_cmsg.c: Likewise.
58521 * sunrpc/rpc_common.c: Likewise.
58522 * sunrpc/rpc_cout.c: Likewise.
58523 * sunrpc/rpc_dtable.c: Likewise.
58524 * sunrpc/rpc_hout.c: Likewise.
58525 * sunrpc/rpc_main.c: Likewise.
58526 * sunrpc/rpc_parse.c: Likewise.
58527 * sunrpc/rpc_parse.h: Likewise.
58528 * sunrpc/rpc_prot.c: Likewise.
58529 * sunrpc/rpc_sample.c: Likewise.
58530 * sunrpc/rpc_scan.c: Likewise.
58531 * sunrpc/rpc_scan.h: Likewise.
58532 * sunrpc/rpc_svcout.c: Likewise.
58533 * sunrpc/rpc_tblout.c: Likewise.
58534 * sunrpc/rpc_util.c: Likewise.
58535 * sunrpc/rpc_util.h: Likewise.
58536 * sunrpc/rpcinfo.c: Likewise.
58537 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
58538 * sunrpc/rpcsvc/key_prot.x: Likewise.
58539 * sunrpc/rpcsvc/klm_prot.x: Likewise.
58540 * sunrpc/rpcsvc/mount.x: Likewise.
58541 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
58542 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
58543 * sunrpc/rpcsvc/rex.x: Likewise.
58544 * sunrpc/rpcsvc/rstat.x: Likewise.
58545 * sunrpc/rpcsvc/rusers.x: Likewise.
58546 * sunrpc/rpcsvc/sm_inter.x: Likewise.
58547 * sunrpc/rpcsvc/spray.x: Likewise.
58548 * sunrpc/rpcsvc/yppasswd.x: Likewise.
58549 * sunrpc/rtime.c: Likewise.
58550 * sunrpc/svc.c: Likewise.
58551 * sunrpc/svc_auth.c: Likewise.
58552 * sunrpc/svc_authux.c: Likewise.
58553 * sunrpc/svc_raw.c: Likewise.
58554 * sunrpc/svc_run.c: Likewise.
58555 * sunrpc/svc_simple.c: Likewise.
58556 * sunrpc/svc_tcp.c: Likewise.
58557 * sunrpc/svc_udp.c: Likewise.
58558 * sunrpc/svc_unix.c: Likewise.
58559 * sunrpc/svcauth_des.c: Likewise.
58560 * sunrpc/xcrypt.c: Likewise.
58561 * sunrpc/xdr.c: Likewise.
58562 * sunrpc/xdr_array.c: Likewise.
58563 * sunrpc/xdr_float.c: Likewise.
58564 * sunrpc/xdr_mem.c: Likewise.
58565 * sunrpc/xdr_rec.c: Likewise.
58566 * sunrpc/xdr_ref.c: Likewise.
58567 * sunrpc/xdr_sizeof.c: Likewise.
58568 * sunrpc/xdr_stdio.c: Likewise.
58570 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
58573 2010-08-19 Andreas Schwab <schwab@redhat.com>
58575 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
58577 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
58579 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
58580 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
58581 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
58582 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
58583 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
58584 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
58585 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
58586 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
58587 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
58588 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
58589 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
58590 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
58591 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
58592 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
58594 2010-07-26 Anton Blanchard <anton@samba.org>
58596 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
58597 * malloc/arena.c (heap_trim): Likewise.
58599 2010-08-16 Ulrich Drepper <drepper@redhat.com>
58601 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
58603 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
58604 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
58606 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
58608 * sysdeps/i386/elf/Makefile: New file.
58610 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
58612 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
58613 from fanotify_init.
58614 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
58615 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
58617 2010-08-15 Ulrich Drepper <drepper@redhat.com>
58619 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
58621 * sysdeps/multiarch/strcmp.S: Likewise.
58623 2010-08-14 Ulrich Drepper <drepper@redhat.com>
58625 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
58626 strncase_l-nonascii.
58627 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
58628 Add strncase_l-ssse3.
58629 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
58630 * sysdeps/x86_64/strcmp.S: Likewise.
58631 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
58632 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
58633 * sysdeps/x86_64/strncase.S: New file.
58634 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
58635 * sysdeps/x86_64/strncase_l.S: New file.
58636 * string/Makefile (strop-tests): Add strncasecmp.
58637 * string/test-strncasecmp.c: New file.
58639 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
58642 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
58643 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
58645 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
58647 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
58649 2010-08-12 Ulrich Drepper <drepper@redhat.com>
58651 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
58652 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
58653 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
58655 2010-05-01 Alan Modra <amodra@gmail.com>
58657 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
58658 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
58659 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
58660 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
58661 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
58662 tidying. Don't tail-call __sigjmp_save for static lib.
58663 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
58665 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
58666 (CALL_MCOUNT): Add eh info, and nop after bl.
58667 (TAIL_CALL_SYSCALL_ERROR): New macro.
58668 (PSEUDO_RET): Use it.
58669 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
58670 Correct save location of integer regs and cr.
58671 (_dl_profile_resolve): Correct cr save location. Delete nops
58672 after bl when SHARED. Reduce cfi size a little by better
58673 placement of cfi directives.
58674 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
58675 make a stack frame. Instead use parm save area as a temp.
58676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
58677 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
58678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
58679 Don't make a stack frame for parent, use parm save area.
58680 Increase child stack frame to 112 bytes. Don't save unused reg,
58681 and adjust reg usage. Set up cfi on error recovery and
58682 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
58683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58684 (__makecontext): Add dummy nop after jump to exit.
58685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
58686 Use correct parm save area and cr save, reduce stack frame.
58687 Correct cfi for possible PSEUDO_RET frame setup.
58688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
58689 Branch to local label emitted by PSEUDO_RET rather than
58692 2010-08-12 Andreas Schwab <schwab@redhat.com>
58695 * locale/programs/locale.c (print_assignment): New function.
58696 (show_locale_vars): Use it.
58698 2010-08-11 Ulrich Drepper <drepper@redhat.com>
58700 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
58702 (struct statfs64): Likewise.
58703 (_STATFS_F_FLAGS): Define.
58704 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
58705 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58706 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
58707 (ST_VALID): Define locally.
58708 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
58709 __statvfs_getflags, use the provided value.
58710 * sysdeps/unix/sysv/linux/kernel-features.h: Define
58711 __ASSUME_STATFS_F_FLAGS.
58713 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
58715 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
58716 Add sys/fanotify.h.
58717 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
58718 fanotify_mask for GLIBC_2.13.
58719 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
58720 fanotify_init and fanotify_mark.
58721 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
58722 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
58724 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
58726 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
58727 prlimit64 for GLIBC_2.13.
58728 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
58730 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
58732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
58733 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
58734 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
58735 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
58736 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
58738 * sysdeps/unix/sysv/linux/prlimit.c: New file.
58741 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
58742 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
58744 * nss/Makefile: Add rules to build and run tst-nss-test1.
58745 * shlib-versions: Add entry for libnss_test1.
58746 * nss/nss_test1.c: New file.
58747 * nss/tst-nss-test1.c: New file.
58749 * nss/nsswitch.c (__nss_database_custom): Define new variable.
58750 (__nss_configure_lookup): Set appropriate entry in
58751 __nss_configure_lookup to true.
58752 * nss/nsswitch.h: Define enum with indeces of databases in
58753 databases and __nss_database_custom arrays. Declare
58754 __nss_database_custom.
58755 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
58756 to avoid using nscd when custom rules are installed.
58757 * nss/getXXbyYY_r.c: Likewise.
58758 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
58760 * nss/nss_files/files-parse.c: Whitespace fixes.
58762 2010-08-09 Ulrich Drepper <drepper@redhat.com>
58765 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
58766 * posix/fnmatch_loop.c: Likewise.
58768 2010-07-17 Andi Kleen <ak@linux.intel.com>
58770 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
58771 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
58772 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
58773 * Versions.def [GLIBC_2.13]: Add.
58775 2010-08-06 Ulrich Drepper <drepper@redhat.com>
58777 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
58778 Also fail if tpwd after pwuid call is NULL.
58780 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
58782 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
58783 when converting to ms.
58785 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
58787 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
58788 EOPNOTSUPP errors with ENOTTY.
58789 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
58790 EOPNOTSUPP errors with ENOTTY.
58792 2010-07-31 Ulrich Drepper <drepper@redhat.com>
58794 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
58795 Add strcasecmp_l-ssse3.
58796 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
58798 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
58799 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
58800 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
58802 2010-07-30 Ulrich Drepper <drepper@redhat.com>
58804 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
58806 * string/Makefile (strop-tests): Add strcasecmp.
58807 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
58808 strcasecmp_l-nonascii.
58809 (gen-as-const-headers): Add locale-defines.sym.
58810 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
58811 * sysdeps/x86_64/strcasecmp.S: New file.
58812 * sysdeps/x86_64/strcasecmp_l.S: New file.
58813 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
58814 * sysdeps/x86_64/locale-defines.sym: New file.
58815 * string/test-strcasecmp.c: New file.
58817 * string/test-strcasestr.c: Test both ends of the range of characters.
58818 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
58820 2010-07-29 Roland McGrath <roland@redhat.com>
58823 * manual/locale.texi (Yes-or-No Questions): Fix example code.
58825 2010-07-27 Ulrich Drepper <drepper@redhat.com>
58827 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
58830 2010-07-27 Andreas Schwab <schwab@redhat.com>
58832 * manual/memory.texi (Malloc Tunable Parameters): Document
58835 2010-07-26 Roland McGrath <roland@redhat.com>
58838 * configure.in (-fgnu89-inline check): Set and substitute
58839 gnu89_inline, not libc_cv_gnu89_inline.
58840 * configure: Regenerated.
58841 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
58843 2010-07-26 Ulrich Drepper <drepper@redhat.com>
58845 * string/test-strnlen.c: New file.
58846 * string/Makefile (strop-tests): Add strnlen.
58847 * string/tester.c (test_strnlen): Add a few more test cases.
58848 * string/tst-strlen.c: Better error reporting.
58850 * sysdeps/x86_64/strnlen.S: New file.
58852 2010-07-24 Ulrich Drepper <drepper@redhat.com>
58854 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
58855 lower-latency instructions.
58857 2010-07-23 Ulrich Drepper <drepper@redhat.com>
58859 * string/test-strcasestr.c: New file.
58860 * string/test-strstr.c: New file.
58861 * string/Makefile (strop-tests): Add strstr and strcasestr.
58862 * string/str-two-way.h: Don't undefine MAX.
58863 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
58865 2010-07-21 Andreas Schwab <schwab@redhat.com>
58867 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58868 strcasestr-nonascii.
58869 (CFLAGS-strcasestr-nonascii.c): Define.
58870 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
58871 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
58872 Remove unused attribute.
58874 2010-07-20 Roland McGrath <roland@redhat.com>
58876 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
58877 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
58878 ld.so.cache was broken. With it, there is no way to disable dsocaps
58879 like LD_HWCAP_MASK can disable hwcaps.
58881 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
58883 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
58885 2010-07-16 Ulrich Drepper <drepper@redhat.com>
58887 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
58888 call in strcasestr.
58889 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
58890 __strcasestr_sse42_nonascii.
58891 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
58892 strcasestr-nonascii.c.
58893 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
58895 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
58897 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
58898 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
58899 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
58900 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
58902 2010-07-09 Ulrich Drepper <drepper@redhat.com>
58904 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
58907 2010-07-06 Andreas Schwab <schwab@redhat.com>
58910 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
58913 2010-07-06 Ulrich Drepper <drepper@redhat.com>
58915 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
58916 _PC_PIPE_BUF using F_GETPIPE_SZ.
58918 2010-07-05 Roland McGrath <roland@redhat.com>
58920 * manual/arith.texi (Rounding Functions): Fix rint description
58921 implicit in round description.
58923 2010-07-02 Ulrich Drepper <drepper@redhat.com>
58925 * elf/Makefile: Fix linking for a few tests to make recent linker
58928 2010-06-30 Andreas Schwab <schwab@redhat.com>
58930 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58931 $(common-objpfx)libc_nonshared.a.
58933 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
58935 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
58936 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
58937 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58938 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58939 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
58940 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
58941 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58942 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
58944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
58945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
58946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
58948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
58950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
58951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
58952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
58953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
58955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
58957 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
58958 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
58959 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
58960 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
58961 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
58962 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
58963 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
58964 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
58965 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
58966 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
58967 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
58968 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
58969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
58970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
58971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
58972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
58973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
58974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
58975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
58976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
58977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
58978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
58979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
58980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
58981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
58982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
58984 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
58986 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
58987 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
58988 * string/memmove.c (memmove): Renamed to ...
58989 (MEMMOVE): ...this. Default to memmove.
58990 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
58991 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
58993 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58994 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
58995 mempcpy-ssse3-back memmove-ssse3-back.
58996 * sysdeps/x86_64/multiarch/bcopy.S: New file .
58997 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
58998 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
58999 * sysdeps/x86_64/multiarch/memcpy.S: New file.
59000 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
59001 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
59002 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
59003 * sysdeps/x86_64/multiarch/memmove.c: New file.
59004 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
59005 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
59006 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
59007 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
59008 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
59009 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
59011 (index_Fast_Copy_Backward): Define.
59012 (HAS_ARCH_FEATURE): Define.
59013 (HAS_FAST_REP_STRING): Define.
59014 (HAS_FAST_COPY_BACKWARD): Define.
59016 2010-06-21 Andreas Schwab <schwab@redhat.com>
59018 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
59019 Restore proper fallback handling.
59021 2010-06-19 Ulrich Drepper <drepper@redhat.com>
59024 * posix/group_member.c (__group_member): Correct checking loop.
59026 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
59027 OOM in getpwuid_r correctly. Return error number when the caller
59028 should return, otherwise -1.
59029 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
59030 call returning > 0 value.
59031 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
59033 2010-06-07 Andreas Schwab <schwab@redhat.com>
59035 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
59036 libc_nonshared.a from targets in modules-names.
59038 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
59040 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
59043 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
59045 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
59046 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
59047 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
59048 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
59050 2010-06-02 Andreas Schwab <schwab@redhat.com>
59052 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
59054 2010-06-14 Ulrich Drepper <drepper@redhat.com>
59056 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
59058 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
59059 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59060 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59061 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59062 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59063 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
59065 2010-06-14 Roland McGrath <roland@redhat.com>
59067 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
59069 2010-06-07 Jakub Jelinek <jakub@redhat.com>
59071 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
59072 __REDIRECT followed by __THROW.
59073 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
59074 * posix/getopt.h (getopt): Likewise.
59076 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
59078 * hurd/lookup-at.c (__file_name_lookup_at): Accept
59079 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
59080 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
59082 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
59083 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
59085 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
59087 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
59089 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
59092 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59093 Properly check family and model.
59095 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
59097 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
59099 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
59101 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
59103 2010-05-21 Ulrich Drepper <drepper@redhat.com>
59105 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
59108 2010-05-19 Andreas Schwab <schwab@redhat.com>
59110 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
59113 2010-05-21 Andreas Schwab <schwab@redhat.com>
59115 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
59116 and internal_recvmmsg.
59117 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
59118 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
59119 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
59120 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
59122 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
59123 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
59124 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
59126 2010-05-20 Andreas Schwab <schwab@redhat.com>
59128 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
59130 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
59132 POWER7 optimizations.
59133 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
59134 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
59136 2010-05-19 Ulrich Drepper <drepper@redhat.com>
59138 * version.h: Update for 2.13 development version.
59140 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
59142 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
59143 exceptions. Return 0.
59145 2010-05-07 Roland McGrath <roland@redhat.com>
59147 * elf/ldconfig.c (main): Add a const.
59149 2010-05-06 Ulrich Drepper <drepper@redhat.com>
59151 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
59152 (args_options): Add no-idn option.
59153 (ahosts_keys_int): Add idn_flags to ai_flags.
59154 (parse_option): Handle 'i' option to clear idn_flags.
59156 * malloc/malloc.c (_int_free): Possible race in the most recently
59157 added check. Only act on the data if no current modification
59160 See ChangeLog.17 for earlier changes.