1 2015-03-04 Roland McGrath <roland@hack.frob.com>
3 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
4 (setdb): Don't call __nss_configure_lookup for "rpc".
5 (do_test): Don't call test_rpc.
6 (output_rpcent, test_rpc): Functions moved ...
7 * sunrpc/test-rpcent.c: ... to this new file.
8 * sunrpc/Makefile (tests): Add it.
10 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
12 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
13 * nptl/tst-signal6.c: Likewise.
14 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
15 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
17 * configure.ac (libc_cv_cxx_link_ok): New check.
18 Reset CXX to empty if it fails to link.
19 * configure: Regenerated.
20 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
21 bug-atexit3-lib only if $(CXX) is nonempty.
22 * nptl/Makefile (tests): Likewise for tst-cancel24.
23 (tests, tests-static): Likewise for tst-cancel24-static.
24 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
25 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
26 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
27 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
29 2015-03-04 Andreas Schwab <schwab@suse.de>
32 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
33 for non-GCC compilers.
34 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
37 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
40 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
41 integer before bitwise and assembly operations.
42 (feclearexcept): Likewise.
43 * math/test-fenvinline.c: New file.
44 * math/Makefile: Add test-fenvinline test.
46 2015-03-03 Alan Modra <amodra@gmail.com>
49 * scripts/localplt.awk: Strip off symbol version.
50 * NEWS: Mention bug fix.
52 2015-03-02 Roland McGrath <roland@hack.frob.com>
54 * sysdeps/pthread/timer_routines.c
55 (timer_free_list, thread_free_list, thread_active_list): Make static.
57 2015-03-02 Joseph Myers <joseph@codesourcery.com>
60 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
61 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
63 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
64 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
66 * sysdeps/unix/sysv/linux/sh/kernel-features.h
67 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
70 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
73 * posix/fnmatch_loop.c (END): Detect invalid pattern.
74 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
76 2015-03-02 Andreas Schwab <schwab@suse.de>
78 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
81 2015-03-02 Florian Weimer <fweimer@redhat.com>
83 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
86 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
89 * locale/findlocale.c (_nl_find_locale): Introduce const
90 version of loc_name and drop unsafe type casts.
92 2015-02-27 Roland McGrath <roland@hack.frob.com>
94 * dlfcn/tststatic2.c (main): Converted to ...
96 (TEST_FUNCTION): New macro.
97 Include test-skeleton.c.
99 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
102 * elf/Makefile (tests): Add vismain only if PIE is enabled.
103 (tests-pie): Add vismain.
104 (CFLAGS-vismain.c): New.
105 * elf/vismain.c: Add comments for PIE requirement.
107 2015-02-27 Joseph Myers <joseph@codesourcery.com>
111 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
112 0x1p-56L as threshold for just returning the argument.
113 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
114 0x1p-32L as threshold for just returning the argument.
115 * math/auto-libm-test-in: Add more tests of atanh.
116 * math/auto-libm-test-out: Regenerated.
117 * sysdeps/i386/fpu/libm-test-ulps: Update.
118 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
120 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
122 * string/bcopy.c (bcopy): Call memmove for performance.
124 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
126 * string/bzero.c (__bzero): Call memset for performance.
128 2015-02-27 John David Anglin <dave.anglin@bell.net>
130 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
133 2015-02-27 Joseph Myers <joseph@codesourcery.com>
135 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
137 2015-02-26 Joseph Myers <joseph@codesourcery.com>
139 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
140 (__kernel_standard): Use CSTR macro when setting exc.name.
141 * sysdeps/ieee754/Makefile [$(subdir) = math]
142 (CFLAGS-k_standard.c): Remove variable.
144 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
145 setting p and q from "else if" to "else".
147 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
149 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
151 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
153 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
155 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
160 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
161 return pi/2 for arguments below 0x1p-113L.
162 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
163 return pi/2 for arguments below 0x1p-106L.
164 * math/auto-libm-test-in: Add more tests of acos.
165 * math/auto-libm-test-out: Regenerated.
168 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
170 (__ieee754_asin): Force underflow exception for results with small
172 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
174 (__ieee754_asinf): Force underflow exception for results with
175 small absolute value.
176 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
177 (__ieee754_asin): Force underflow exception for results with small
179 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
180 (__ieee754_asinf): Force underflow exception for results with
181 small absolute value.
182 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
183 (__ieee754_asinl): Force underflow exception for results with
184 small absolute value.
185 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
186 (__ieee754_asinl): Force underflow exception for results with
187 small absolute value.
188 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
189 (__ieee754_asinl): Force underflow exception for results with
190 small absolute value.
191 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
193 * math/auto-libm-test-in: Do not mark underflow exceptions as
194 possibly missing for bug 16351.
195 * math/auto-libm-test-out: Regenerated.
198 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
199 of power of 2 down when low part has opposite sign.
200 * math/libm-test.inc (logb_test_data): Add more tests.
202 2015-02-26 Andreas Schwab <schwab@suse.de>
205 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
206 over collating symbol inside a bracket expression. Minor cleanup.
207 * posix/tst-fnmatch3.c (do_test): Add test case.
209 2015-02-26 Joseph Myers <joseph@codesourcery.com>
212 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
213 Adjust exponent of power of 2 down when low part has opposite
215 * math/libm-test.inc (ilogb_test_data): Add more tests.
217 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
220 * locale/findlocale.c (_nl_find_locale): Fix constness error in
224 * locale/findlocale.c (_nl_find_locale): Retry archive search
225 after alias expansion.
227 2015-02-25 Roland McGrath <roland@hack.frob.com>
229 * iconv/tst-iconv3.c (main): Converted to ...
231 (TEST_FUNCTION): New macro.
232 Include test-skeleton.c.
234 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
235 (convert): Make function static.
236 (test_unalign): Likewise. Add const to argument pointee types.
237 (main): Replace with static function do_test.
238 Print "Succeeded." only if RET is zero.
239 (TEST_FUNCTION): New macro.
240 Include test-skeleton.c.
242 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
243 returns a null pointer.
245 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
247 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
248 to __memcpy_ppc only for static builds.
250 2015-02-25 Joseph Myers <joseph@codesourcery.com>
253 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
254 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
255 * math/auto-libm-test-in: Add more tests of asinh.
256 * math/auto-libm-test-out: Regenerated.
257 * sysdeps/i386/fpu/libm-test-ulps: Update.
258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
260 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
263 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
264 and ip6_mtuinfo definitions here.
265 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
266 in this define too. Update comment.
268 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
270 * elf/sprof.c (load_shobj): Tweak error message to match others.
272 2015-02-24 Kevin Easton <kevin@guarana.org>
274 [BZ #16145] (partial fix)
275 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
276 to reduce lock contention.
278 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
280 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
281 (struct timex): Update time comment.
282 (ADJ_SETOFFSET): Define.
284 2015-02-24 Joseph Myers <joseph@codesourcery.com>
287 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
288 2**56 not 2**28 as threshold for log (2x) formula.
289 * math/auto-libm-test-in: Add more tests of acosh.
290 * math/auto-libm-test-out: Regenerated.
291 * sysdeps/i386/fpu/libm-test-ulps: Update.
292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
294 2015-02-24 Mike Frysinger <vapier@gentoo.org>
296 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
297 parenthesis around the buf assignment.
298 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
300 2015-02-24 Joseph Myers <joseph@codesourcery.com>
303 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
304 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
305 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
306 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
307 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
308 * math/libm-test.inc (scalb_test_data): Add more tests.
310 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
313 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
314 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
316 2015-02-24 Eric Rannaud <e@nanocritical.com>
319 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
320 * io/bits/fcntl2.h (open): Use it.
322 * io/open.c (__libc_open): Likewise.
323 * io/open64.c (__libc_open64): Likewise.
324 * io/open64_2.c (__open64_2): Likewise.
325 * io/open_2.c (__open_2): Likewise.
326 * io/openat.c (__openat): Likewise.
327 * io/openat64.c (__openat64): Likewise.
328 * io/openat64_2.c (__openat64_2): Likewise.
329 * io/openat_2.c (__openat_2): Likewise.
330 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
331 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
332 * sysdeps/posix/open64.c (__libc_open64): Likewise.
333 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
334 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
335 (__open_nocancel): Likewise.
336 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
337 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
338 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
340 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
343 * resolv/gethnamaddr.c (getanswer): Skip logging if
344 RES_USE_DNSSEC is set.
345 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
347 2015-02-24 Mike Frysinger <vapier@gentoo.org>
349 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
351 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
353 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
354 201304L, for Unicode 7.
356 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
359 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
360 shared library. Add gmon-start.os otherwise.
361 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
362 $(objpfx)gmon-start.os if builing shared library.
363 ($(objpfx)g$(static-start-installed-name)): Likewise.
365 2015-02-23 Andreas Schwab <schwab@suse.de>
367 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
369 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
372 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
373 (enlarge_userbuf): Likewise.
375 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
377 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
378 * math/atest-exp.c (TIMEOUT): Adjust to 200.
379 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
380 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
382 2015-02-20 Joseph Myers <joseph@codesourcery.com>
384 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
385 expression inside statement expression.
387 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
389 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
390 <sysdeps/nptl/lowlevellock.h> and remove macros and
391 functions that are now defined there.
393 (lll_compare_and_swap): Remove.
394 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
396 2015-02-19 Joseph Myers <joseph@codesourcery.com>
399 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
400 instead of scandirat.
401 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
402 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
403 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
405 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
406 (__scandirat): Declare. Use libc_hidden_proto.
407 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
409 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
411 2015-02-18 Joseph Myers <joseph@codesourcery.com>
414 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
416 (__ieee754_atan2): For results with small absolute value, force
417 underflow exception and remove excess range and precision from
419 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
421 (__ieee754_atan2f): For results with small absolute value, force
422 underflow exception and remove excess range and precision from
424 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
426 (__atan): For results with small absolute value, force underflow
427 exception and remove excess range and precision from return value.
428 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
430 (__atanf): For results with small absolute value, force underflow
431 exception and remove excess range and precision from return value.
432 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
434 (__ieee754_atan2): Force underflow exception for results with
435 small absolute value.
436 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
438 (atan): Force underflow exception for results with small absolute
440 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
441 (__atanf): Force underflow exception for results with small
443 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
445 (__atanl): Force underflow exception for results with small
447 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
448 (__atanl): Force underflow exception for results with small
450 * sysdeps/x86/fpu/bits/mathinline.h
451 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
452 (__ieee754_atan2): Only define inline for long double.
453 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
454 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
455 * math/auto-libm-test-in: Do not mark underflow exceptions as
456 possibly missing for bug 15319. Add more tests of atan2.
457 * math/auto-libm-test-out: Regenerated.
458 * math/libm-test.inc (casin_test_data): Do not mark underflow
459 exceptions as possibly missing for bug 15319.
460 (casinh_test_data): Likewise.
461 * sysdeps/i386/fpu/libm-test-ulps: Update.
463 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
465 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
466 * sysdeps/mips/bits/endian.h: Fix comments.
468 2015-02-18 Joseph Myers <joseph@codesourcery.com>
471 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
472 (hdestroy_r): Likewise.
473 (hsearch_r): Likewise.
474 (__hcreate_r): Declare and use libc_hidden_proto.
475 (__hdestroy_r): Likewise.
476 (__hsearch_r): Likewise.
477 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
478 (hcreate): Call __hcreate_r instead of hcreate_r.
479 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
480 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
481 as weak alias of __hcreate_r.
482 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
484 (hsearch_r): Rename to __hsearch_r and define as weak alias of
486 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
488 (test-xfail-XPG4/search.h/linknamespace): Likewise.
489 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
490 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
491 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
493 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
495 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
496 arena_lock into a single arena_get.
498 2015-02-17 Carlos O'Donell <carlos@redhat.com>
500 * dl-reloc.c: Inlucde libc-internal.h.
501 (_dl_try_allocate_static_tls): Call ALIGN_UP.
502 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
503 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
504 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
505 (grow_heap): Likewise.
506 * malloc/malloc.c: Include libc-internal.h.
507 (do_check_malloc): Call powerof2.
508 (sysmalloc): Use pagesize. Call ALIGN_UP.
509 (systrim): Use pagesize.
510 (mremap_chunk): Use pagesize. Call ALIGN_UP.
511 (__libc_valloc): Use pagesize.
512 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
514 2015-02-17 Joseph Myers <joseph@codesourcery.com>
517 * include/sys/resource.h (__getrlimit64): Declare. Use
519 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
520 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
521 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
523 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
525 [!getrlimit64] (getrlimit64): Define as weak alias of
526 __getrlimit64. Use libc_hidden_weak.
527 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
528 using __getrlimit64 not __new_getrlimit64.
529 (__GI_getrlimit64): Likewise.
530 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
532 (__GI_getrlimit64): Likewise.
533 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
535 (getrlimit): Add __getrlimit64 alias.
536 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
538 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
540 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
541 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
543 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
545 * libio/fileops.c: Add missing sys/mman.h
546 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
548 2015-02-17 Joseph Myers <joseph@codesourcery.com>
550 * manual/math.texi (Errors in Math Functions): Clarify goals
551 regarding inexact and underflow exceptions.
553 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
555 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
556 * sysdeps/mips/memset.S: Ditto.
558 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
560 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
562 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
564 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
565 (__v1longjmp): Remove versioned symbol.
566 (__v1siglongjmp): Remove alias and versioned symbol.
567 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
568 (__v2siglongjmp): Likewise.
570 2015-02-16 Torvald Riegel <triegel@redhat.com>
572 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
574 2015-02-16 Mike Frysinger <vapier@gentoo.org>
576 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
578 2015-02-16 Joseph Myers <joseph@codesourcery.com>
581 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
582 zero result does not depend on the sign resulting from
584 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
586 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
587 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
588 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
589 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
590 * math/libm-test.inc (remquo_test_data): Add more tests.
592 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
594 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
595 Problem reported by J William Piggott.
597 2015-02-16 Joseph Myers <joseph@codesourcery.com>
600 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
601 products 4 * y and 2 * y where those would overflow.
602 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
604 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
605 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
606 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
607 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
608 * math/libm-test.inc (remquo_test_data): Add more tests.
610 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
612 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
613 [defined _COMPILING_NEWLIB].
614 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
615 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
617 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
618 [!defined __mips_isa_rev || __mips_isa_rev < 6].
620 2015-02-16 Torvald Riegel <triegel@redhat.com>
622 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
625 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
628 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
629 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
630 HOST_STACK_END_ADDR): Likewise.
632 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
634 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
635 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
636 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
638 2015-02-13 Roland McGrath <roland@hack.frob.com>
640 * sysdeps/generic/c++-types.data: New file.
641 * sysdeps/generic/ld.abilist: New file.
642 * sysdeps/generic/libBrokenLocale.abilist: New file.
643 * sysdeps/generic/libanl.abilist: New file.
644 * sysdeps/generic/libc.abilist: New file.
645 * sysdeps/generic/libcrypt.abilist: New file.
646 * sysdeps/generic/libdl.abilist: New file.
647 * sysdeps/generic/libm.abilist: New file.
648 * sysdeps/generic/libpthread.abilist: New file.
649 * sysdeps/generic/libresolv.abilist: New file.
650 * sysdeps/generic/librt.abilist: New file.
652 2015-02-13 Joseph Myers <joseph@codesourcery.com>
655 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
656 Compute absolute value of x as modified by fmod, not original
658 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
659 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
660 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
661 RUN_TEST_ffI_f1_mod8.
662 (remquo_test_data): Add more tests.
664 2015-02-13 Roland McGrath <roland@hack.frob.com>
666 * sysdeps/init_array/pt-crti.S: New file.
668 2015-02-13 Joseph Myers <joseph@codesourcery.com>
671 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
672 __builtin_fmaf instead of relying on contraction of a * b + c.
674 2015-02-12 J William Piggott <elseifthen@gmx.com>
677 * manual/time.texi: correct the zoneinfo path in the TZ Variable
680 2015-02-12 Joseph Myers <joseph@codesourcery.com>
683 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
684 __builtin_fma instead of relying on contraction of a * b + c.
686 2015-02-12 Roland McGrath <roland@hack.frob.com>
688 * Makeconfig (ASFLAGS): Add -Werror=undef.
689 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
690 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
691 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
693 * Makeconfig (after-link): New variable.
694 (+link-pie, +link-pie-tests): Use it.
695 (+link-static, +link-static-tests): Likewise.
696 (+link, +link-tests): Likewise.
697 * Makerules (build-module, build-module-asneeded): Likewise.
698 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
700 * elf/Makefile ($(objpfx)ld.so): Likewise.
702 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
705 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
706 both struct timeval and struct timespec.
708 2015-02-12 Joseph Myers <joseph@codesourcery.com>
711 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
713 (__ieee754_exp2l): Do not multiply small fractional parts by
715 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
717 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
718 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
719 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
720 * math/auto-libm-test-in: Add more tests of exp2.
721 * math/auto-libm-test-out: Regenerated.
723 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
725 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
728 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
730 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
733 2015-02-12 Andreas Schwab <schwab@suse.de>
736 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
737 Filter out elision flags from value returned in kind.
738 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
739 * nptl/tst-pthread-mutexattr.c: New file.
741 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
743 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
744 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
745 into gnu-gnu, and update comment to refer to abi-tags.
747 2015-02-11 Joseph Myers <joseph@codesourcery.com>
750 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
751 (__sincos): Set errno to EDOM for infinite argument.
752 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
753 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
754 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
755 (__sincosl): Set errno to EDOM for infinite argument.
756 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
757 (__sincosl): Set errno to EDOM for infinite argument.
758 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
759 (__sincosl): Set errno to EDOM for infinite argument.
760 * math/libm-test.inc (sincos_test_data): Test errno setting.
762 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
764 * string/strxfrm_l.c: Remove #define STRCMP.
765 * string/strcoll_l.c: Remove #define STRLEN.
766 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
767 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
769 2015-02-10 Joseph Myers <joseph@codesourcery.com>
771 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
772 * sysdeps/mips/mips32/sfp-machine.h: ... here.
773 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
774 * sysdeps/mips/mips64/Makefile: ... here.
775 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
776 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
777 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
778 * sysdeps/mips/mips64/sfp-machine.h: ... here.
779 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
780 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
781 * sysdeps/mips/mips64/n64/Implies: Likewise.
783 2015-02-10 Roland McGrath <roland@hack.frob.com>
785 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
786 <sys/time.h>, <string.h>, and <errno.h>.
787 (dest_offset, dest_address, value, zero): Remove unused variables.
788 (ldouble): Remove typedef.
789 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
790 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
792 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
793 (check): Function removed.
795 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
796 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
797 Don't call set_sigaction_FP and remove_sigaction_FP here.
798 (ldouble_test): Just use 'long double' as macro argument, no need for
799 the 'ldouble' typedef.
800 (do_test): Set up SIGFPE handler at start, using plain signal rather
801 than sigaction. Fix code style.
803 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
806 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
809 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
811 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
812 * sysdeps/powerpc/powerpc32/configure: Regenerated.
814 * sysdeps/powerpc/configure.ac: Remove file.
815 * sysdeps/powerpc/configure: Likewise.
817 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
818 [sysdep_routines]: Remove wordcopy-power6 object.
819 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
820 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
821 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
822 (__memmove_ppc32): Likewise.
823 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
825 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
826 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
829 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
830 [sysdep_routines]: Remove wide chars objects.
831 [wcsmbs]: New rule for wide char objects.
833 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
834 Remove wordcopy-power6 obejct.
835 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
836 Use local call for wordcopy and memcpy symbols.
837 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
838 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
839 implementation for loader.
840 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
842 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
843 Remove wordcopy-power7 object.
844 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
845 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
846 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
847 (_wordcopy_fwd_dest_aligned): Likewise.
848 (_wordcopy_bwd_aligned): Likewise.
849 (_wordcopy_bwd_dest_aligned): Likewise.
851 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
852 Rewrite to call __memmove_ppc instead of include default
855 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
856 Remove wide chars objects.
857 [wcsmbs]: New rule for wide char objects.
859 2015-02-09 Andreas Schwab <schwab@suse.de>
862 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
863 in terms of __O_DIRECTORY.
865 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
867 * time/getdate.c: Include <stdbool.h>.
868 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
870 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
873 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
875 Add ersatz _Static_assert on older C hosts
876 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
877 pre-C11 C platform that is not known to support _Static_assert.
879 2015-02-07 Richard Braun <rbraun@sceen.net>
881 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
883 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
885 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
887 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
888 priority against unexistent AIO_PRIO_DELTA_MAX.
889 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
891 * misc/fchflags.c (fchflags): Likewise.
892 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
893 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
894 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
895 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
896 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
898 [__USE_MISC] (chflags, fchflags): Declare functions.
899 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
900 EINVAL when nfds is greater than FD_SETSIZE.
901 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
902 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
904 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
905 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
906 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
908 * hurd/hurd/signal.h (_hurd_self_sigstate,
909 _hurd_critical_section_lock, _hurd_critical_section_unlock):
910 Explicit casts from void *.
911 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
912 * abi-tags: Rename gnu-gnu os into gnu.
915 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
916 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
917 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
918 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
919 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
920 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
923 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
924 duplicates ADDR->sun_path with sockaddr LEN limitation.
925 * sysdeps/mach/hurd/connect.c: Include <string.h>
926 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
927 * sysdeps/mach/hurd/sendmsg.c: Likewise.
928 * sysdeps/mach/hurd/sendto.c: Likewise.
929 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
930 implementing it by hand.
932 2015-02-06 Roland McGrath <roland@hack.frob.com>
934 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
936 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
939 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
941 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
942 Test SIGSETXID only if it's defined.
944 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
946 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
947 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
949 * nptl/tst-align2.c: Moved ...
950 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
951 * nptl/Makefile (tests): Remove tst-align2.
952 * sysdeps/unix/sysv/linux/Makefile
953 [$(subdir) = nptl] (tests): Add tst-align-clone.
954 * nptl/tst-getpid1.c: Moved ...
955 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
956 * nptl/tst-getpid2.c: Moved ...
957 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
958 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
959 * sysdeps/unix/sysv/linux/Makefile
960 [$(subdir) = nptl] (tests): ... here.
961 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
962 * sysdeps/unix/sysv/linux/Makefile
963 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
965 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
966 Drop trailing \n from perror argument. Use return rather than exit.
968 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
970 * nptl/tst-cancel21.c (do_test): Likewise.
971 * debug/tst-backtrace6.c: Include <signal.h> first thing.
972 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
973 [!SA_SIGINFO]: Make it a stub test.
975 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
976 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
978 * posix/tst-getlogin.c: Move to ...
979 * login/tst-getlogin.c: ... here.
980 * posix/Makefile (tests): Move tst-getlogin to ...
981 * login/Makefile (tests): ... here.
983 * libio/tst-atime.c (do_test): Move local variables SV and E
984 inside [ST_NOATIME] conditional.
986 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
988 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
990 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
991 (wait_code): New function replaces macro.
992 Call nanosleep rather than syscall.
994 * nptl/pt-system.c: Rewritten. Put everything under
995 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
996 Use IFUNC to redirect when possible.
998 * nptl/pt-longjmp.c: Rewritten. Put everything under
999 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1000 Use IFUNC to redirect when possible.
1002 * nptl/pt-fork.c: Rewritten. Put everything under
1003 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1004 Use IFUNC to redirect when possible.
1005 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1007 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1008 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1009 unconditionally nowadays. This included the only reference to
1010 __vdso_clock_gettime that appears outside libc proper.
1011 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1012 Remove version set (containing only __vdso_clock_gettime).
1013 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1014 Add attribute_hidden.
1015 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1016 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
1017 libc_hidden_data_def.
1018 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1019 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1021 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
1022 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
1023 setrpcent, and getrpcport to ...
1024 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
1025 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
1026 getrpcbynumber_r, and getrpcent_r to ...
1027 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
1028 * inet/getrpcbyname.c: Moved ...
1029 * sunrpc/getrpcbyname.c: ... here.
1030 * inet/getrpcbyname_r.c: Moved ...
1031 * sunrpc/getrpcbyname_r.c: ... here.
1032 * inet/getrpcbynumber.c: Moved ...
1033 * sunrpc/getrpcbynumber.c: ... here.
1034 * inet/getrpcbynumber_r.c: Moved ...
1035 * sunrpc/getrpcbynumber_r.c: ... here.
1036 * inet/getrpcent.c: Moved ...
1037 * sunrpc/getrpcent.c: ... here.
1038 * inet/getrpcent_r.c: Moved ...
1039 * sunrpc/getrpcent_r.c: ... here.
1040 * inet/Makefile (routines): Move those to ...
1041 * sunrpc/Makefile (routines): ... here.
1042 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
1043 the $(subdirs) list.
1044 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
1045 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1046 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1047 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1049 * elf/Makefile (routines): Include $(all-dl-routines), not just
1051 (rtld-routines): Likewise. Use = rather than :=.
1052 * sysdeps/aarch64/Makefile [$(subdir) = elf]
1053 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1054 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1055 * sysdeps/arm/Makefile: Likewise.
1056 * sysdeps/i386/Makefile: Likewise.
1057 * sysdeps/x86_64/Makefile: Likewise.
1058 * sysdeps/hppa/Makefile [$(subdir) = elf]
1059 (sysdep_routines, sysdep-rtld-routines): Don't add
1060 $(sysdep-dl-routines) to these.
1061 * sysdeps/ia64/Makefile: Likewise.
1062 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1063 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1064 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1065 Don't add dl-static to these; sysdep-dl-routines alone is enough.
1066 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1067 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1068 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1069 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1070 * sysdeps/powerpc/Makefile [$(subdir) = elf]
1071 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1072 these; sysdep-dl-routines alone is enough.
1074 2015-02-06 Joseph Myers <joseph@codesourcery.com>
1077 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
1078 where multiplication results in zero and third argument is finite
1080 * math/auto-libm-test-in: Add more tests of fma.
1081 * math/auto-libm-test-out: Regenerated.
1083 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1084 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1085 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1086 (_FP_CMP_EQ): Likewise.
1087 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1089 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1090 extra argument CHECK_NAN. Redefine as wrapper around
1093 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
1095 * version.h (RELEASE): Set to "stable".
1096 (VERSION): Set to "2.21"
1097 * include/features.h (__GLIBC_MINOR__): Set to 21.
1099 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1101 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1102 Paul Eggert <eggert@cs.ucla.edu>
1105 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1106 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1107 size in bytes. Store needed elements in wpmax. Use needed size
1108 in bytes for extend_alloca.
1110 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
1112 * manual/install.texi: Latest tested versions are GCC 4.9.2,
1113 binutls 2.25, and texinfo 5.2.
1114 * INSTALL: Regenerate.
1115 * sysdeps/nios2/configure: Regenerate.
1116 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1117 * manual/contrib.texi: Update.
1141 * po/pt_BR.po: Update.
1150 * po/zh_CN.po: Update.
1151 * po/zh_TW.po: Update.
1153 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1154 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1155 * sysdeps/hppa/dl-irel.h: Remove #warning.
1156 * sysdeps/hppa/entry.h: Provide prototype for
1157 __canonicalize_funcptr_for_compare and cast argument.
1158 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1159 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1160 * sysdeps/hppa/sotruss-lib.c: New file.
1161 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1162 (atomic_compare_and_exchange_val_acq): Use __typeof__.
1163 (atomic_compare_and_exchange_bool_acq): Likewise.
1164 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1165 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1167 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1168 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1169 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1171 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1173 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1174 called function in non-PIC case.
1176 2015-01-31 David S. Miller <davem@davemloft.net>
1178 * sysdeps/sparc/sparc32/bits/atomic.h
1179 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1180 unlock not after it.
1181 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1182 volatile register usage warnings from the compiler.
1184 * sysdeps/sparc/nptl/sem_init.c: Delete.
1185 * sysdeps/sparc/nptl/sem_post.c: Delete.
1186 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1187 * sysdeps/sparc/nptl/sem_wait.c: Delete.
1188 * sysdeps/sparc/sparc32/sem_init.c: New file.
1189 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1190 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1191 padding explicitly initialized.
1192 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1193 padding for in-semaphore spinlock.
1194 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1195 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1196 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1197 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1198 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1199 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1200 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1201 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1203 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1204 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1206 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
1209 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1210 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1211 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1213 (index_AVX_Fast_Unaligned_Load): Likewise.
1214 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1215 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1216 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1217 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1218 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1219 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1220 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1221 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1222 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1224 2015-01-29 Andreas Schwab <schwab@suse.de>
1226 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1228 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1231 * nscd/nscd_stat.c (send_stats): Initialize DATA.
1233 2015-01-28 Martin Sebor <msebor@redhat.com>
1235 * math/README.libm-test: Clarify. Add "How to read the test output."
1237 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
1239 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1242 2015-01-28 Joseph Myers <joseph@codesourcery.com>
1244 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1245 (__HAVE_64B_ATOMICS): Define to 0.
1247 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1250 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1251 value to set as new flag.
1254 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1255 and use _ARCH_PPCSQ instead.
1256 (__ieee754_sqrt): Likewise.
1257 (__ieee754_sqrtf): Likewise.
1258 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
1259 _ARCH_PPCSQ is defined.
1260 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
1262 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
1263 _ARCH_PPCSQ is defined.
1264 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
1266 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
1268 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1270 * iconv/loop.c: Suppress array out of bound warning caused by GCC
1271 bug (GCC BZ #64739).
1273 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
1275 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
1276 Mark _retval as used.
1277 (lll_futex_wake_unlock): Likewise.
1278 (lll_futex_timed_wait_requeue_pi): Likewise.
1280 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1281 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
1284 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
1287 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
1288 (__bswap_64): Mark as __always_inline.
1290 2015-01-25 Bram <bug_rh@spam.wizbit.be>
1293 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
1294 when none of the search directories exist.
1296 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1299 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
1300 power8 in .machine directive.
1303 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
1304 set dependency from opd value.
1306 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1308 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1309 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
1312 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1315 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
1317 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
1319 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
1320 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
1321 Replace 1UL with (uint64_t) 1.
1322 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
1325 2015-01-23 Roland McGrath <roland@hack.frob.com>
1327 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
1328 (if_freenameindex): Likewise.
1330 * resource/getrlimit64.c: Add missing libc_hidden_def.
1332 2015-01-22 Joseph Myers <joseph@codesourcery.com>
1334 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
1336 (_FP_FMA): Likewise.
1337 (_FP_TO_INT_ROUND): Likewise.
1338 (_FP_FROM_INT): Likewise.
1340 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1343 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1344 Make code racy and cancel safe.
1346 2015-01-21 Carlos O'Donell <carlos@redhat.com>
1348 * sysdeps/arm/unwind-resume.h: Fix copyright year.
1349 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
1352 * pwd/tst-getpw.c: Rewrite.
1355 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
1356 (modules-names): Add moddummy1 and moddummy2.
1357 ($(objpfx)tst-rec-dlopen): Define.
1358 * dlfcn/moddummy1.c: New file.
1359 * dlfcn/moddummy2.c: New file.
1360 * dlfcn/tst-rec-dlopen.c: New file.
1361 * elf/dl-cache.c (_dl_load_cache_lookup):
1362 Return char*. Copy result with alloca/strcpy/strdup.
1363 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
1364 returns char*. Free cached. If not saving realname
1366 * elf/dl-open.c (dl_open_worker): Do not assert that
1367 _r_debug->r_state is RT_CONSISTENT.
1368 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
1371 2015-01-21 Torvald Riegel <triegel@redhat.com>
1372 Carlos O'Donell <carlos@redhat.com>
1375 * nptl/sem_waitcommon.c: New file.
1376 * nptl/sem_wait.c: Include sem_waitcommon.c.
1377 (__sem_wait_cleanup, do_futex_wait): Remove.
1378 (__new_sem_wait): Adapt.
1379 (__new_sem_trywait): New function.
1380 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
1381 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
1382 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
1383 (sem_timedwait): Adapt.
1384 * nptl/sem_post.c (__new_sem_post): Adapt.
1385 (futex_wake): New function.
1386 (__old_sem_post): Add release MO fence.
1387 * nptl/sem_open.c (sem_open): Adapt.
1388 * nptl/sem_init.c (__new_sem_init): Adapt.
1389 (futex_private_if_supported): New function.
1390 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
1391 (__old_sem_getvalue): Add using previous code.
1392 * sysdeps/nptl/internaltypes.h: Adapt.
1393 * nptl/tst-sem13.c (do_test): Adapt.
1394 * nptl/tst-sem11.c (main): Adapt.
1395 * nptl/sem_trywait.c: Remove.
1396 * nptl/DESIGN-sem.txt: Remove.
1397 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
1398 (gen-as-const-headers): Remove structsem.sym.
1399 * nptl/structsem.sym: Remove.
1400 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
1401 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
1402 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
1403 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
1404 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
1405 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
1406 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
1407 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
1408 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
1409 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
1410 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
1411 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
1412 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
1413 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
1414 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
1415 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
1416 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
1417 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
1418 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
1419 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
1420 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
1421 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
1423 2015-01-20 Carlos O'Donell <carlos@redhat.com>
1425 * INSTALL: Regenerated.
1427 * po/libc.pot: Regenerated.
1429 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
1430 Sandra Loosemore <sandra@codesourcery.com>
1431 Andrew Jenner <andrew@codesourcery.com>
1432 Joseph Myers <joseph@codesourcery.com>
1433 Nathan Sidwell <nathan@codesourcery.com>
1435 * NEWS: Mention new Nios II port.
1436 * sysdeps/nios2/Implies: New file.
1437 * sysdeps/nios2/Makefile: New file.
1438 * sysdeps/nios2/Subdirs: New file.
1439 * sysdeps/nios2/Versions: New file.
1440 * sysdeps/nios2/__longjmp.S: New file.
1441 * sysdeps/nios2/abort-instr.h: New file.
1442 * sysdeps/nios2/backtrace.c: New file.
1443 * sysdeps/nios2/bits/endian.h: New file.
1444 * sysdeps/nios2/bits/fenv.h: New file.
1445 * sysdeps/nios2/bits/link.h: New file.
1446 * sysdeps/nios2/bits/setjmp.h: New file.
1447 * sysdeps/nios2/bsd-_setjmp.S: New file.
1448 * sysdeps/nios2/bsd-setjmp.S: New file.
1449 * sysdeps/nios2/configure: New generated file.
1450 * sysdeps/nios2/configure.ac: New file.
1451 * sysdeps/nios2/crti.S: New file.
1452 * sysdeps/nios2/crtn.S: New file.
1453 * sysdeps/nios2/dl-init.c: New file.
1454 * sysdeps/nios2/dl-machine.h: New file.
1455 * sysdeps/nios2/dl-sysdep.h: New file.
1456 * sysdeps/nios2/dl-tls.h: New file.
1457 * sysdeps/nios2/dl-trampoline.S: New file.
1458 * sysdeps/nios2/gccframe.h: New file.
1459 * sysdeps/nios2/gmp-mparam.h: New file.
1460 * sysdeps/nios2/jmpbuf-offsets.h: New file.
1461 * sysdeps/nios2/jmpbuf-unwind.h: New file.
1462 * sysdeps/nios2/ldsodefs.h: New file.
1463 * sysdeps/nios2/libc-tls.c: New file.
1464 * sysdeps/nios2/libm-test-ulps: New file.
1465 * sysdeps/nios2/machine-gmon.h: New file.
1466 * sysdeps/nios2/math-tests.h: New file.
1467 * sysdeps/nios2/math_private.h: New file.
1468 * sysdeps/nios2/memusage.h: New file.
1469 * sysdeps/nios2/nptl/Makefile: New file.
1470 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
1471 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
1472 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
1473 * sysdeps/nios2/nptl/pthreaddef.h: New file.
1474 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
1475 * sysdeps/nios2/nptl/tls.h: New file.
1476 * sysdeps/nios2/preconfigure: New file.
1477 * sysdeps/nios2/s_fma.c: New file.
1478 * sysdeps/nios2/s_fmaf.c: New file.
1479 * sysdeps/nios2/setjmp.S: New file.
1480 * sysdeps/nios2/sfp-machine.h: New file.
1481 * sysdeps/nios2/sotruss-lib.c: New file.
1482 * sysdeps/nios2/stackguard-macros.h: New file.
1483 * sysdeps/nios2/stackinfo.h: New file.
1484 * sysdeps/nios2/start.S: New file.
1485 * sysdeps/nios2/sysdep.h: New file.
1486 * sysdeps/nios2/tls-macros.h: New file.
1487 * sysdeps/nios2/tst-audit.h: New file.
1488 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
1489 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
1490 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
1491 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
1492 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
1493 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
1494 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
1495 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
1496 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
1497 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
1498 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
1499 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
1500 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
1501 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
1502 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
1503 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
1504 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
1505 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
1506 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
1507 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
1508 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
1509 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
1510 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
1511 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
1512 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
1513 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
1514 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
1515 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
1516 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
1517 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
1518 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
1519 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
1520 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
1521 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
1522 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
1523 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
1524 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
1525 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
1526 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
1527 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
1528 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
1529 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
1530 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
1531 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
1533 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1536 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
1537 (getutent): Use weak_alias in non SHARED case
1538 and default_symbol_version in SHARED case.
1539 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
1540 (getutent_r, pututline): Likewise.
1541 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
1542 (getutid): Likewise.
1543 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
1544 (getutid_r): Likewise.
1545 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
1546 (getutline): Likewise.
1547 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
1548 (getutline_r): Likewise.
1549 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
1550 (updwtmp): Likewise.
1552 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1555 * sysdeps/s390/s390-32/memcmp.S
1556 (memcmp_g5): Rename to __memcmp_g5.
1557 * sysdeps/s390/s390-32/memcpy.S
1558 (memcpy_g5): Rename to __memcpy_g5.
1559 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1560 (memcpy_mvcle) Rename to __memcpy_mvcle.
1561 * sysdeps/s390/s390-32/memset.S
1562 (memset_g5): Rename to __memset_g5.
1563 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1564 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1565 and use prefixed functions.
1566 * sysdeps/s390/s390-32/multiarch/memcmp.S
1567 (memcmp_z196): Rename to __memcmp_z196.
1568 (memcmp_z10): Rename to __memcmp_z10.
1569 (memcmp): Set alias to __memcmp_g5.
1570 (bcmp): Set alias to __memcmp_g5.
1571 * sysdeps/s390/s390-32/multiarch/memcpy.S
1572 (memcpy_z196): Rename to __memcpy_z196.
1573 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1574 (memcpy_z10): Rename to __memcpy_z10.
1575 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1576 (memcpy): Set alias to __memcpy_g5.
1577 * sysdeps/s390/s390-32/multiarch/memset.S
1578 (memset_z196): Rename to __memset_z196.
1579 Jump to __memset_mvcle instead of memset_mvcle.
1580 (memset_z10): Rename to __memset_z10.
1581 Jump to __memset_mvcle instead of memset_mvcle.
1582 (memset_mvcle) Rename to __memset_mvcle.
1583 (memset): Set alias to __memset_g5.
1584 * sysdeps/s390/s390-64/memcmp.S
1585 (memcmp_z900): Rename to __memcmp_z900.
1586 * sysdeps/s390/s390-64/memcpy.S
1587 (memcpy_z900): Rename to __memcpy_z900.
1588 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1589 (memcpy_mvcle) Rename to __memcpy_mvcle.
1590 * sysdeps/s390/s390-64/memset.S
1591 (memset_z900): Rename to __memset_z900.
1592 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
1593 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1594 and use prefixed functions.
1595 * sysdeps/s390/s390-64/multiarch/memcmp.S
1596 (memcmp_z196): Rename to __memcmp_z196.
1597 (memcmp_z10): Rename to __memcmp_z10.
1598 (memcmp): Set alias to __memcmp_z900.
1599 (bcmp): Set alias to __memcmp_z900.
1600 * sysdeps/s390/s390-64/multiarch/memcpy.S
1601 (memcpy_z196): Rename to __memcpy_z196.
1602 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1603 (memcpy_z10): Rename to __memcpy_z10.
1604 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1605 (memcpy): Set alias to __memcpy_z900.
1606 * sysdeps/s390/s390-64/multiarch/memset.S
1607 (memset_z196): Rename to __memset_z196.
1608 Jump to __memset_mvcle instead of memset_mvcle.
1609 (memset_z10): Rename to __memset_z10.
1610 Jump to __memset_mvcle instead of memset_mvcle.
1611 (memset_mvcle) Rename to __memset_mvcle.
1612 (memset): Set alias to __memset_z900.
1614 2015-01-14 Joseph Myers <joseph@codesourcery.com>
1617 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
1618 __fesetenv instead of fesetenv.
1620 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1622 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
1625 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1627 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
1630 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
1631 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
1632 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1633 strncmp-power8 object.
1634 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1635 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
1636 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
1639 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1640 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1642 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
1643 trailing byte check.
1645 2015-01-13 David S. Miller <davem@davemloft.net>
1647 * include/signal.h (__sigreturn): Guard with __USE_MISC.
1649 2015-01-13 Roland McGrath <roland@hack.frob.com>
1651 * login/logout.c (logout): Use memset rather than bzero.
1652 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
1653 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
1654 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
1655 (_gethtbyaddr): Likewise.
1656 * locale/programs/simple-hash.c (bcopy): Macro removed.
1658 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1660 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1661 Add strcmp-power8 object.
1662 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1663 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
1664 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
1665 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
1666 __strcmp_power8 implementation.
1667 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
1670 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1671 Add strncpy-power8 and stpncpy-power8 objects.
1672 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1673 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
1675 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
1676 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
1677 __stpncpy_power8 implementation.
1678 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
1679 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
1680 __strncpy_power8 implementation.
1681 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
1682 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
1685 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
1686 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
1687 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
1689 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1690 strncat-power8 object.
1691 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
1692 __strcat_power8 implementation.
1693 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1694 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
1695 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
1696 optimized strcat for power8.
1698 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1699 strcpy-power8 and stpcpy-power8 objects.
1700 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1701 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
1703 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
1704 multiarch stpcpy implementation for POWER8.
1705 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
1706 multiarch strcpy implementation for POWER8.
1707 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
1708 __strcpy_power8 function.
1709 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
1711 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
1715 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
1718 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
1719 weights and rules. Use do_xfrm_cached if data fits in cache,
1720 do_xfrm otherwise. Moved former main loop to...
1721 * (do_xfrm_cached): New function.
1722 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
1723 find_idx, find_position and stack_push.
1724 * (find_idx): New function.
1725 * (find_position): Likewise.
1726 * localedata/sort-test.sh: Added test run for do_xfrm.
1727 * localedata/xfrm-test.c (main): Added command line option
1728 -nocache to run the test with strings that are too large for
1731 2015-01-13 Torvald Riegel <triegel@redhat.com>
1733 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
1734 variable to lll_futex_wake call, not the value itself.
1736 2015-01-12 Joseph Myers <joseph@codesourcery.com>
1739 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
1740 twom64. Adjust value to 0x1p-64L.
1741 (__scalblnl): Only return standard underflowing result for K <=
1742 -64 not K <= -63; adjust exponent for underflowing result by 64
1744 * math/libm-test.inc (scalbn_test_data): Add more tests.
1745 (scalbln_test_data): Likewise.
1748 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
1750 (__scalblnl): Get new exponent of adjusted subnormal value from ES
1752 * math/libm-test.inc (scalbn_test_data): Add more tests.
1753 (scalbln_test_data): Likewise.
1755 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1756 Stefani Seibold <stefani@seibold.net>
1758 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
1759 (sysdep_routines): Add dl-vdso here, ...
1760 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
1761 (sysdep_routines): ... not here.
1762 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
1763 fallback when vDSO is not presented.
1764 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1765 Define with libc_hidden_proto/libc_hidden_data_def definitions.
1766 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
1767 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1768 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1769 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1770 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1771 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1772 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1773 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1774 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
1775 fallback configurable symbol when vDSO is not available.
1776 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1777 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
1778 be able to redefine fallback symbol when vDSO is not available.
1779 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1780 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1782 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1784 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1785 (TLS_INIT_TP): Add tm_capable initialization.
1786 (TLS_DEFINE_INIT_TP): Likewise.
1787 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1789 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1790 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1792 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1793 transactoion is lock elision is built and TCB tm_capable is set.
1794 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1796 (INTERNAL_SYSCALL_NCS): Likewise.
1797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1798 (INTERNAL_SYSCALL_NCS): Likewise.
1799 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1801 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1803 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1804 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1805 and remove it for 32 bits case.
1806 [pthread_rwlock_t] (__rwelision): New field for lock elision.
1807 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1809 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1810 Disable lock elision with rdlocks if elision is not available.
1812 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1813 (sysdep_routines): Add lock elision objects.
1814 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1815 [pthread_mutex_t] (__spins): Rework to add lock elision field.
1816 [pthread_mutex_t] (__elision): Add field.
1817 [__PTHREAD_SPINS]: Adjust to init lock elision field.
1818 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1819 elision definitions for powerpc.
1820 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1821 implementation of lock elision for powerpc.
1822 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1823 implementation of timed lock elision for powerpc.
1824 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1825 implementation of trylock with lock elision for powerpc.
1826 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1827 implementaion of unlock for lock elision for powerpc.
1828 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1829 automatic enable lock elision for mutexes.
1830 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1831 transaction execution definitions for powerpc.
1832 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1834 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1835 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1836 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1837 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1840 2015-01-09 Roland McGrath <roland@hack.frob.com>
1842 * sysdeps/posix/shm-directory.c: Use <> rather than ""
1843 for #include of <shm-directory.h>.
1845 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
1847 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1848 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1850 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
1853 * NEWS: Mention bug fix.
1854 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
1855 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
1856 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
1858 2015-01-09 Torvald Riegel <triegel@redhat.com>
1860 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
1862 2015-01-09 Torvald Riegel <triegel@redhat.com>
1864 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
1866 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1868 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
1869 pointer and cast to uintptr_t.
1871 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1873 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
1875 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
1877 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1879 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
1882 2015-01-08 Roland McGrath <roland@hack.frob.com>
1884 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
1885 <nptl/pthreadP.h> instead.
1886 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
1888 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
1890 [__SIGRTMIN] (init): Function removed.
1891 [__SIGRTMIN] (initialized): Variable removed.
1892 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
1893 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
1894 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
1895 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
1896 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
1897 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
1898 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
1899 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
1900 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
1901 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
1902 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
1903 * sysdeps/nptl/allocrtsig.c: New file.
1904 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
1905 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
1906 * sysdeps/generic/testrtsig.h: File removed.
1908 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
1909 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
1911 * nptl/nptl-init.c (pthread_functions): Conditionalize
1912 .ptr__nptl_setxid initialization on [SIGSETXID].
1914 * sysdeps/nptl/sys/procfs.h: New file.
1915 * nptl_db/Makefile (headers): Add it.
1916 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
1918 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
1919 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
1920 * nptl/pthread_attr_setaffinity.c: Include it.
1921 * nptl/pthread_setattr_default_np.c: Likewise.
1922 * nptl/check-cpuset.h: New file.
1924 2015-01-08 Richard Henderson <rth@redhat.com>
1926 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
1927 (CFLAGS-tst-execstack-prog.c): Likewise.
1928 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
1930 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
1931 Sandra Loosemore <sandra@codesourcery.com>
1932 Andrew Jenner <andrew@codesourcery.com>
1933 Joseph Myers <joseph@codesourcery.com>
1934 Nathan Sidwell <nathan@codesourcery.com>
1936 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1937 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1938 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1939 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1940 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1941 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1942 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
1943 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1944 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1945 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1946 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1947 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1948 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1949 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1950 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1951 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1952 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1954 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1956 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1957 timespec struct member in syscall macro.
1958 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1959 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1960 first timeval struct member in syscall macro.
1961 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1963 2015-01-07 Joseph Myers <joseph@codesourcery.com>
1966 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1967 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1968 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1969 __feupdateenv and define as weak alias of __feupdateenv. Use
1971 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1973 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1974 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
1975 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1976 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1978 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1979 __feupdateenv and define as weak alias of __feupdateenv. Use
1981 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1983 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1984 __feupdateenv and define as weak alias of __feupdateenv. Use
1986 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1988 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1989 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1990 (__feupdateenv): Likewise.
1991 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1992 __feupdateenv and define as weak alias of __feupdateenv. Use
1994 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1995 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1997 * sysdeps/tile/math_private.h (__feupdateenv): New inline
1999 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2001 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2002 __feupdateenv instead of feupdateenv.
2003 (default_libc_feupdateenv_test): Likewise.
2004 (libc_feresetround_ctx): Likewise.
2006 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2008 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2011 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
2013 * posix/regcomp.c (parse_bracket_exp): Initialize type to
2014 COLL_SYM in a couple of places to avoid uninitialized variable
2015 wanings on tilegx gcc 4.8.2.
2017 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
2019 * sysdeps/aarch64/strcpy.S: New file.
2020 * sysdeps/aarch64/stpcpy.S: New file.
2023 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
2025 * sysdeps/aarch64/strrchr.S: New file.
2028 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
2031 * stdlib/setenv.c: Fix memory leak when setting large,
2034 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
2037 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
2038 and tabs from buffer before parsing fstab entry.
2039 * misc/tst-mntent.c (main): Add test for mount entry with
2040 trailing spaces and tabs.
2042 2015-01-06 Joseph Myers <joseph@codesourcery.com>
2045 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
2046 * math/fesetround.c (fesetround): Rename to __fesetround and
2047 define as weak alias of __fesetround. Use libm_hidden_weak.
2048 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2049 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2050 * sysdeps/arm/fesetround.c (fesetround): Likewise.
2051 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2052 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2053 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2054 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2055 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2056 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2057 __fesetround_inline.
2058 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2059 __fesetround_inline instead of __fesetround.
2060 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2061 __fesetround and define as weak alias of __fesetround. Use
2062 libm_hidden_weak. Call __fesetround_inline instead of
2064 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2065 __fesetround and define as weak alias of __fesetround. Use
2067 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2069 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2070 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2071 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2072 * sysdeps/tile/math_private.h (__fesetround): New inline function.
2073 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
2074 __fesetround and define as weak alias of __fesetround. Use
2076 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
2077 __fesetround instead of fesetround.
2078 (default_libc_feholdexcept_setround): Likewise.
2079 (libc_feholdsetround_ctx): Likewise.
2080 (libc_feholdsetround_noex_ctx): Likewise.
2083 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2084 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2085 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2086 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2087 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2088 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2089 define as weak alias of __fesetenv. Use libm_hidden_weak.
2090 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2091 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2092 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2093 define as weak alias of __fesetenv. Use libm_hidden_weak.
2094 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2095 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2096 define as weak alias of __fesetenv. Use libm_hidden_weak.
2097 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2099 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2100 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2102 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2103 define as weak alias of __fesetenv. Use libm_hidden_weak.
2104 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2105 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2106 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2107 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2108 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2109 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2110 __fesetenv instead of fesetenv.
2111 (libc_feresetround_noex_ctx): Likewise.
2112 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2113 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2114 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2115 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2116 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2117 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2118 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2119 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2120 (__feupdateenv): Likewise.
2121 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2122 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2123 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2124 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2126 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2129 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2130 addresses have been freed.
2132 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2134 * resolv/res_init.c (__res_vinit): Improve comments about nserv
2137 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
2139 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2140 Clean up check_pf allocation pattern. addresses
2142 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2144 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2145 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2146 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2147 * nptl/pthread_exit.c (__pthread_exit): Likewise.
2148 * nptl/pthread_join.c (pthread_join): Likewise.
2149 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2150 * sysdeps/posix/waitid.c (__waitid): Likewise.
2151 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2152 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2153 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2154 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2155 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2157 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2158 (__libc_pread64): Likewise.
2159 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2160 (__libc_pwrite): Likewise.
2161 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2162 (__libc_pwrite64): Likewsie.
2163 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2164 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2165 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2166 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2167 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2168 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2169 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2173 (__libc_pread64): Likewise.
2174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2177 (__libc_pwrite64): Likewise.
2178 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2179 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2180 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2181 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2182 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2183 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2184 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2185 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2186 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2187 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2188 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2189 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2190 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2191 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2192 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2193 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2196 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2198 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2199 (CFLAGS-test-double.c): Likewise.
2200 (CFLAGS-test-ldouble.c): Likewise.
2201 (CPPFLAGS-test-ifloat.c): Likewise.
2202 (CPPFLAGS-test-idouble.c): Likewise.
2203 (CPPFLAGS-test-ildoubl.c): Likewise.
2204 (CFLAGS-test-test-fenv.c): Remove variable.
2205 (CFLAGS-test-misc.c): Likewise.
2207 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
2210 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2211 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2212 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2213 CLOCKS_PER_SEC == 1000000.
2214 * time/clocktest.c (main): Replace %ld with %jd and cast to
2217 2015-01-05 Roland McGrath <roland@hack.frob.com>
2219 * sysdeps/generic/unwind-resume.h: New file.
2220 * sysdeps/gnu/unwind-resume.c: Include it.
2221 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2222 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2224 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2225 global rather than static.
2226 (_Unwind_Resume): Update user.
2227 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2228 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
2229 rather than static. Add __attribute__ ((cold)).
2230 (_Unwind_Resume, __gcc_personality_v0): Update callers.
2231 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2232 * sysdeps/arm/arm-unwind-resume.S: New file.
2233 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2234 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2235 * sysdeps/arm/Makefile [$(subdir) = csu]
2236 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2237 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2238 Add rt-arm-unwind-resume.
2240 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2241 Add pt-arm-unwind-resume.
2242 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2243 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2245 2015-01-05 Joseph Myers <joseph@codesourcery.com>
2248 * include/fenv.h (__feholdexcept): Declare. Use
2250 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2251 define as weak alias of __feholdexcept. Use libm_hidden_weak.
2252 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2253 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2254 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2255 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2256 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2257 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2258 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
2259 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
2260 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2261 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
2262 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
2263 (feholdexcept): Likewise.
2264 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2265 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2266 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2267 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2268 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
2269 __feholdexcept instead of feholdexcept.
2270 (default_libc_feholdexcept_setround): Likewise.
2272 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
2274 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
2275 to avoid using stl/str to align destination.
2277 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
2279 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
2281 2015-01-05 Joseph Myers <joseph@codesourcery.com>
2284 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
2285 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
2286 Define as weak alias not strong alias.
2288 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
2290 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
2291 bltzal with addiupc.
2292 (RTLD_START): Ditto.
2294 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
2296 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
2297 for __vdso_* functions in declarations.
2298 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
2300 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
2301 INTERNAL_VSYSCALL): Use struct return types to check for error.
2303 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
2304 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
2305 function with cast from llround().
2306 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
2307 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2310 2015-01-05 Joseph Myers <joseph@codesourcery.com>
2313 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
2314 Define as weak alias not strong alias.
2317 * ctype/ctype-c99.c: New file. isblank implementation moved from
2319 * ctype/ctype-extn.c: ... here.
2320 (__isblank_l): Move to ...
2321 * ctype/ctype-c99_l.c: ... here. New file.
2322 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
2323 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
2325 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2326 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2327 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2328 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2329 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2332 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
2333 (posix_fadvise64): Define as weak alias not strong alias.
2334 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2335 (posix_fallocate64): Likewise.
2336 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
2338 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2339 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2340 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2341 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2342 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2344 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
2347 * NEWS: Mention bug fix.
2348 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
2349 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
2350 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
2351 (HOST_STACK_END_ADDR): Likewise.
2353 2015-01-02 Joseph Myers <joseph@codesourcery.com>
2356 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
2357 * math/fegetround.c (fegetround): Rename to __fegetround and
2358 define as weak alias of __fegetround. Use libm_hidden_weak.
2359 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
2360 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
2361 * sysdeps/arm/fegetround.c (fegetround): Likewise.
2362 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
2363 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2364 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
2365 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
2366 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
2367 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2368 Undefine after rather than before function definition; use
2369 parentheses around function name in definition.
2370 (__fegetround): Also undefine macro after function definition.
2371 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
2372 __fegetround and define as weak alias of __fegetround. Use
2373 libm_hidden_weak. Do not undefine as macro.
2374 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2376 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
2377 __fegetround and define as weak alias of __fegetround. Use
2379 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2380 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2381 * sysdeps/tile/math_private.h (__fegetround): New inline function.
2382 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
2383 __fegetround and define as weak alias of __fegetround. Use
2385 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
2386 __fegetround instead of fegetround.
2389 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
2390 Condition macro definition on [__USE_MISC].
2393 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
2394 (struct sigaction): Change type of sa_flags field to int.
2397 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
2398 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
2401 * nptl/version.c (banner): Use single year in copyright notice.
2403 * NEWS: Update copyright dates.
2404 * catgets/gencat.c (print_version): Likewise.
2405 * csu/version.c (banner): Likewise.
2406 * debug/catchsegv.sh: Likewise.
2407 * debug/pcprofiledump.c (print_version): Likewise.
2408 * debug/xtrace.sh (do_version): Likewise.
2409 * elf/ldconfig.c (print_version): Likewise.
2410 * elf/ldd.bash.in: Likewise.
2411 * elf/pldd.c (print_version): Likewise.
2412 * elf/sotruss.sh: Likewise.
2413 * elf/sprof.c (print_version): Likewise.
2414 * iconv/iconv_prog.c (print_version): Likewise.
2415 * iconv/iconvconfig.c (print_version): Likewise.
2416 * locale/programs/locale.c (print_version): Likewise.
2417 * locale/programs/localedef.c (print_version): Likewise.
2418 * login/programs/pt_chown.c (print_version): Likewise.
2419 * malloc/memusage.sh (do_version): Likewise.
2420 * malloc/memusagestat.c (print_version): Likewise.
2421 * malloc/mtrace.pl: Likewise.
2422 * manual/libc.texinfo: Likewise.
2423 * nptl/version.c (banner): Likewise.
2424 * nscd/nscd.c (print_version): Likewise.
2425 * nss/getent.c (print_version): Likewise.
2426 * nss/makedb.c (print_version): Likewise.
2427 * posix/getconf.c (main): Likewise.
2428 * scripts/test-installation.pl: Likewise.
2429 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2431 2015-01-02 Will Newton <will.newton@linaro.org>
2433 * sysdeps/arm/armv7/configure: Removed.
2434 * sysdeps/arm/armv7/configure.ac: Likewise.
2436 2015-01-02 Joseph Myers <joseph@codesourcery.com>
2438 * All files with FSF copyright notices: Update copyright dates
2439 using scripts/update-copyrights.
2440 * intl/plural.c: Regenerated.
2441 * locale/programs/charmap-kw.h: Likewise.
2442 * locale/programs/locfile-kw.h: Likewise.
2444 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2446 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
2448 2014-12-31 Joseph Myers <joseph@codesourcery.com>
2451 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
2452 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
2453 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2454 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2455 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2456 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
2457 define as weak alias of __fegetenv. Use libm_hidden_weak.
2458 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
2459 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2460 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2461 define as weak alias of __fegetenv. Use libm_hidden_weak.
2462 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2463 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2464 define as weak alias of __fegetenv. Use libm_hidden_weak.
2465 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
2467 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
2468 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
2470 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2471 define as weak alias of __fegetenv. Use libm_hidden_weak.
2472 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2473 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2474 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
2475 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2476 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2477 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
2478 __fegetenv instead of fegetenv.
2479 (libc_feholdsetround_noex_ctx): Likewise.
2481 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
2483 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
2484 (Elf_MIPS_ABIFlags_v0): New structure.
2485 (EF_MIPS_FP64): Define.
2486 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
2487 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
2488 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
2489 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
2490 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
2491 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
2492 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
2493 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
2494 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
2495 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
2496 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
2497 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
2498 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
2499 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
2500 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
2501 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
2502 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
2503 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
2504 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
2505 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
2506 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
2507 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
2509 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
2511 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
2512 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
2513 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
2514 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
2515 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
2516 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
2517 * sysdeps/mips/tst-abi-interlink.c: Likewise.
2518 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
2519 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
2520 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
2521 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
2522 record the current FP ABI extension.
2523 (mips-mode-switch): Define to show if kernel headers support mode
2525 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2526 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
2527 supported SYSV ABI version to 3.
2528 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
2531 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2532 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2534 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
2536 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
2538 2014-12-31 Joseph Myers <joseph@codesourcery.com>
2540 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
2541 __fegetround and redefine to call __fegetround. Remove condition
2542 on [!__NO_MATH_INLINES].
2543 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
2545 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
2546 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2548 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
2549 instead of <fenv_libc.h>.
2550 (__llrintl): Call fegetround instead of __fegetround.
2551 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
2552 instead of <fenv_libc.h>.
2553 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2554 (__lrintl): Call fegetround instead of __fegetround.
2555 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
2556 instead of <fenv_libc.h>.
2557 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2558 (__rintl): Call fegetround instead of __fegetround.
2560 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2562 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
2565 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2568 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
2569 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
2570 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
2572 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2574 * sysdeps/i386/tls-macros.h: Include <features.h>.
2575 (TLS_LE): Use non-PIC version for GCC >= 5.0.
2579 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
2580 define for GCC >= 5.0.
2582 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
2584 * math/test-fenv.c (test_single_exception, set_single_exc,
2585 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
2586 feexcp_mask_test, feenable_test, fe_single_test): Add
2587 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
2588 case where they are not used.
2589 * math/libm-test.inc: Likewise.
2590 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
2591 unused in the absence of FP rounding/exception support.
2592 * stdio-common/tst-printf-round.c: Likewise.
2593 * stdlib/tst-strtod-round.c: Likewise.
2594 * stdlib/tst-strtod-underflow.c: Likewise.
2596 2014-12-30 Joseph Myers <joseph@codesourcery.com>
2599 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
2600 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
2601 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2602 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2604 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
2605 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2606 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
2608 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2609 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2611 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
2613 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
2614 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2615 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2617 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2619 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2620 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
2621 (__feraiseexcept): Likewise.
2622 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2623 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2625 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2626 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2628 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
2629 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
2630 Use libm_hidden_def.
2631 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
2633 (feraiseexcept): Define as weak not strong alias. Use
2635 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
2636 New inline function. Factored out of ...
2637 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
2638 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
2639 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
2641 * math/w_acos.c (__acos): Likewise.
2642 * math/w_asin.c (__asin): Likewise.
2643 * math/w_ilogb.c (__ilogb): Likewise.
2644 * math/w_j0.c (y0): Likewise.
2645 * math/w_j1.c (y1): Likewise.
2646 * math/w_jn.c (yn): Likewise.
2647 * math/w_log.c (__log): Likewise.
2648 * math/w_log10.c (__log10): Likewise.
2649 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
2650 * sysdeps/aarch64/fpu/math_private.h
2651 (libc_feupdateenv_test_aarch64): Likewise.
2652 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2653 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
2654 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
2655 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2656 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2657 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2658 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
2659 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2660 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2661 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2663 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2666 * io/test-utime.c (main): Replace %ld with %jd and cast to
2668 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
2669 * nptl/tst-mutex5.c: Include <stdint.h>.
2670 (do_test): Replace %ld with %jd and cast to intmax_t.
2671 * posix/tst-regex.c (run_test): Likewise.
2672 (run_test_backwards): Likewise.
2673 * rt/tst-clock.c: Include <stdint.h>.
2674 (clock_test): Replace %ld with %jd and cast to intmax_t.
2675 * rt/tst-cpuclock1.c: Include <stdint.h>.
2676 (do_test): Replace %lu with %ju and cast to uintmax_t.
2677 * rt/tst-cpuclock2.c: Include <stdint.h>.
2678 (do_test): Replace %lu with %ju and cast to uintmax_t.
2679 * rt/tst-mqueue1.c: Include <stdint.h>.
2680 (check_attrs): Replace %ld with %jd and cast to intmax_t.
2681 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
2683 * rt/tst-mqueue4.c (do_test): Likewise.
2684 * rt/tst-timer4.c: Include <stdint.h>.
2685 (check_ts): Replace %ld with %jd and cast to intmax_t.
2686 (do_test): Likewise.
2687 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
2688 and cast to intmax_t.
2689 * sysdeps/pthread/tst-timer.c (main): Likewise.
2690 * time/clocktest.c (main): Likewise.
2691 * time/tst-posixtz.c (do_test): Likewise.
2692 * timezone/tst-timezone.c (main): Likewise.
2694 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2695 H.J. Lu <hongjiu.lu@intel.com>
2697 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
2698 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2699 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
2700 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
2701 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
2702 version if bit_Fast_Unaligned_Load is set.
2703 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2704 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2705 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2706 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2707 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2708 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2709 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2710 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
2711 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
2712 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
2714 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
2715 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
2716 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
2717 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
2719 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
2721 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
2722 instead of #if to avoid a Wundef warning.
2723 * stdlib/tst-limits.c (do_test): Likewise.
2725 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
2726 parallel other exception macros.
2727 (fegetenv): Convert from macro to extern inline so that it applies
2728 retroactively to inline functions already seen by the compiler.
2729 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
2731 * posix/Makefile (before-compile): Use $(objpfx) for
2732 posix-conf-vars-def.h.
2734 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2736 * posix/getconf.c (main): Use size_t for type of I.
2737 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
2740 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
2741 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
2742 * posix/posix-envs.def: Likewise.
2743 * sysdeps/posix/sysconf.c: Likewise.
2744 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
2745 (specs): Remove array.
2746 * scripts/gen-posix-conf-vars.awk: Support generation of specs
2749 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
2750 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
2751 (__sysconf): Use CONF_IS_* macros.
2753 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
2754 ($(objpfx)posix-conf-vars-def.h): New target.
2755 * posix/posix-conf-vars.list: New file.
2756 * posix/posix-conf-vars.h: New file.
2757 * posix/confstr.c: Include posix-conf-vars.h.
2758 (confstr): Use CONF_IS_* macros.
2759 * posix/posix-envs.def: Include posix-conf-vars.h. Use
2761 * scripts/gen-posix-conf-vars.awk: New file.
2763 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
2765 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
2766 fegetround): Add no-op macros to avoid linknamespace issues.
2768 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2769 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2771 * sysdeps/unix/sysv/linux/tile/sysdep.h
2772 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2773 assembly-specific section to avoid a redefinition warning.
2775 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2776 long before casting to pointer to avoid a cast warning.
2778 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
2780 * sysdeps/tile/tilegx/Implies: New file.
2782 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
2784 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2786 2014-12-23 Florian Weimer <fweimer@redhat.com>
2788 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2790 2014-12-22 Joseph Myers <joseph@codesourcery.com>
2792 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2794 * sysdeps/unix/sysv/linux/utimes.c: Do not include
2795 <kernel-features.h>.
2796 (__utimes) [__NR_utimes]: Make code unconditional.
2797 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2798 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2799 (__ASSUME_UTIMES): Do not undefine.
2800 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2801 (__ASSUME_UTIMES): Likewise.
2802 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2803 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2804 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2805 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2807 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
2809 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2811 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
2814 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2815 alias to weak alias for j0l, y0l.
2816 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2817 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2820 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2823 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
2825 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2826 to zero if not already defined.
2828 2014-12-22 Joseph Myers <joseph@codesourcery.com>
2831 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2832 (__kernel_standard_f): Remove. Moved to k_standardf.c.
2833 (__kernel_standard_l): Remove. Moved to k_standardl.c with
2834 (char *) casts added.
2835 * sysdeps/ieee754/k_standardf.c: New file.
2836 * sysdeps/ieee754/k_standardl.c: Likewise.
2837 * math/Makefile (libm-support): Remove k_standard.
2838 (libm-calls): Add k_standard.
2840 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2842 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2843 Optimize to avoid an unnecessary FPCR read.
2845 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2847 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2848 Optimize to reduce FPCR/FPSR accesses.
2850 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2852 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
2853 Call libc_fetestexcept_aarch64.
2855 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2857 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
2858 Call libc_fesetround_aarch64.
2860 2014-12-22 Joseph Myers <joseph@codesourcery.com>
2863 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
2864 (__bind): Do not define as weak alias.
2865 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
2867 (__getsockname): Do not define as weak alias.
2869 2014-12-22 Will Newton <will.newton@linaro.org>
2871 * manual/install.texi: Document that we require bison 2.7
2873 * INSTALL: Regenerate.
2874 * configure.ac: Use AC_CHECK_PROG_VER instead of
2875 AC_PATH_PROG when checking for bison and check for
2876 version 2.7 or above.
2877 * configure: Regenerate.
2879 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
2882 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
2883 * sysdeps/tile/ffsll.c (ffsll): To here.
2885 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
2887 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2889 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
2891 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
2893 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2894 hidden ___tls_get_addr.
2895 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2896 hidden __tls_get_addr.
2897 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
2898 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
2901 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
2903 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
2906 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2908 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
2909 from "call _dl_init@PLT".
2910 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
2912 2014-12-21 Anders Kaseorg <andersk@mit.edu>
2914 * manual/search.texi: (Array Sort Function): Clarify stable sorting
2917 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
2919 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
2921 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2924 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
2927 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
2929 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
2931 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2932 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2933 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2934 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2935 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2937 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
2939 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2940 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2941 (PTR_SUBU): Use subu for mips32r6/mips64r6.
2942 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
2943 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2945 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2947 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
2949 * string/strncat.c (STRNCAT): Simplify implementation.
2951 2014-12-19 David S. Miller <davem@davemloft.net>
2953 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2954 access the quad as both a long double and as a series of 4 words.
2956 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2957 link_map->l_info array access.
2959 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2961 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2963 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2964 * math/atest-exp2.c (TIMEOUT): Likewise.
2965 * math/atest-sincos.c (TIMEOUT): Likewise.
2967 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2969 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2970 -Wno-error with -fno-builtin-lround.
2972 2014-12-19 Torvald Riegel <triegel@redhat.com>
2974 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2975 Contains futex constants and functions moved over from ...
2976 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
2977 <lowlevellock-futex.h>.
2978 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2979 (lll_timedwait_tid): Add comments and parentheses around macro
2982 2014-12-19 Torvald Riegel <triegel@redhat.com>
2984 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2985 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
2986 (__lll_private_flag): Remove.
2987 (lll_futex_wait): Likewise.
2988 (lll_futex_timed_wait): Likewise.
2989 (lll_futex_wake): Likewise.
2990 (lll_futex_requeue): Likewise.
2991 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2992 (__lll_timedwait_tid): Spell out argument names.
2993 (lll_timedwait_tid): Add comments and parentheses around macro
2995 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2996 LLL_SHARED and LLL_PRIVATE usable from assembly code.
2998 2014-12-19 Torvald Riegel <triegel@redhat.com>
3000 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3001 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3002 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3003 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3004 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3005 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3006 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3007 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3008 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3009 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3010 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3011 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3012 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3013 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3014 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3015 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
3016 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
3017 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
3018 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
3020 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3022 * sysdeps/x86_64/x32/Makefile: New file.
3024 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3026 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
3027 1L with (mp_limb_t) 1.
3029 2014-12-17 Roland McGrath <roland@hack.frob.com>
3031 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
3032 * nptl/libc_pthread_init.c: ... here.
3033 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
3034 * nptl/register-atfork.c: ... here.
3036 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
3037 Use pthread_sigmask rather than INTERNAL_SYSCALL.
3038 Use assert_perror to check its return value.
3039 (__gai_create_helper_thread): Likewise.
3041 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
3043 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
3045 2014-12-17 Joseph Myers <joseph@codesourcery.com>
3048 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3050 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3052 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3054 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3056 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3057 (profil_counter): Likewise.
3058 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3059 (profil_counter): Likewise.
3060 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3062 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3064 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3065 (profil_counter): Likewise.
3066 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3068 [!__profil_counter] (profil_counter): Define as weak alias of
3070 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
3071 (profil_counter): Rename to __profil_counter.
3072 [!__profil_counter] (profil_counter): Define as weak alias of
3074 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
3075 (profil_counter): Rename to __profil_counter.
3076 [!__profil_counter] (profil_counter): Define as weak alias of
3078 * sysdeps/posix/profil.c: Update comment referring to
3080 (__profil): Use __profil_counter instead of profil_counter.
3081 * sysdeps/posix/sprofil.c (profil_counter): Rename to
3082 __profil_counter. Use __profil_counter_ushort and
3083 __profil_counter_uint in definitions.
3084 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3085 instead of profil_counter_uint and profil_counter_ushort.
3088 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3089 define as weak alias of __inet_makeaddr.
3090 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3091 as weak alias of __inet_addr.
3092 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3093 as weak alias of __inet_pton. Use libc_hidden_weak.
3094 * include/arpa/inet.h (__inet_pton): Declare. Use
3096 (inet_makeaddr): Don't use libc_hidden_proto.
3097 (__inet_makeaddr): Declare. Use libc_hidden_proto.
3098 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3099 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
3100 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3102 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3103 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3105 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
3107 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3109 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3111 * stdio-common/bug-vfprintf-nargs.c (do_test):
3112 Cast value to intptr_t to avoid format warning
3113 for usage with PRIdPTR printing macro.
3115 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3117 * libio/tst-widetext.c (do_test):
3118 Use format type %td instead of %Zd for ptrdiff_t
3119 in order to avoid format warning.
3121 2014-12-17 Andreas Schwab <schwab@suse.de>
3123 * nscd/mem.c (gc): Add size_t cast to match printf format.
3125 2014-12-16 Roland McGrath <roland@hack.frob.com>
3127 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3128 (init): Apply PTR_MANGLE to pointers before storing them.
3129 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3132 2014-12-16 Joseph Myers <joseph@codesourcery.com>
3135 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3136 define as weak alias of __memrchr.
3137 (__memrchr): Do not define as strong alias of memrchr.
3138 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3140 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3141 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3142 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3145 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3146 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
3147 (if_indextoname): Rename to __if_indextoname and define as weak
3148 alias of __if_indextoname. Use libc_hidden_weak.
3149 (if_freenameindex): Rename to __if_freenameindex and define as
3150 weak alias of __if_freenameindex.
3151 (if_nameindex): Rename to __if_nameindex and define as weak alias
3153 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3154 __if_nametoindex and define as weak alias of __if_nametoindex.
3155 Use libc_hidden_weak.
3156 (if_freenameindex): Rename to __if_freenameindex and define as
3157 weak alias of __if_freenameindex.
3158 (if_nameindex): Rename to __if_nameindex and define as weak alias
3160 (if_indextoname): Rename to __if_indextoname and define as weak
3161 alias of __if_indextoname. Use libc_hidden_weak.
3162 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
3163 __if_nametoindex and define as weak alias of __if_nametoindex.
3164 Use libc_hidden_weak.
3165 (if_freenameindex): Rename to __if_freenameindex and define as
3166 weak alias of __if_freenameindex. Use libc_hidden_weak.
3167 (if_nameindex_netlink): Use __if_freenameindex instead of
3169 (if_nameindex): Rename to __if_nameindex and define as weak alias
3170 of __if_nameindex. Use libc_hidden_weak.
3171 (if_indextoname): Rename to __if_indextoname and define as weak
3172 alias of __if_indextoname. Use libc_hidden_weak.
3173 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3175 [!_ISOMAC] (__if_freenameindex): Likewise.
3176 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3178 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3180 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3181 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3182 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3183 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3184 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3185 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3186 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3188 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3190 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3191 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3193 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3195 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3196 subscript above bounds'
3198 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3201 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
3203 * libio/tst-fopenloc.c: Use test-skeleton.c.
3205 * stdlib/tst-bsearch.c: Use test-skeleton.c.
3206 (entry): Rename to ITEM.
3207 (do_test, comp): Adjust.
3209 * stdio-common/tst-fseek.c: Use test-skeleton.c.
3211 2014-12-16 Torvald Riegel <triegel@redhat.com>
3213 * string/tester.c: Include <libc-internal.h>.
3214 (test_memset): Ignore -Wmemset-transposed-args.
3216 2014-12-16 Torvald Riegel <triegel@redhat.com>
3218 * misc/tst-mntent2.c (do_test): Fix warning.
3220 2014-12-16 Torvald Riegel <triegel@redhat.com>
3222 * elf/tst-unique4lib.cc(a): Mark as used.
3224 2014-12-16 Florian Weimer <fweimer@redhat.com>
3227 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3230 2014-12-16 Allan McRae <allan@archlinux.org>
3232 * stdio-common/Makefile (tests): Re-add bug26.
3234 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
3237 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3240 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
3242 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3243 (__lll_lock_wait): Likewise.
3244 (__lll_timedlock_wait): Likewise.
3245 (__lll_timedwait_tid): Likewise.
3246 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3247 (__lll_robust_timedlock_wait): Likewise.
3248 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3249 (lll_cond_trylock): Likewise.
3250 (__lll_lock): Likewise.
3251 (__lll_robust_lock): Likewise.
3252 (__lll_cond_lock): Likewise.
3253 (lll_robust_cond_lock): Likewise.
3254 (__lll_timedlock): Likewise.
3255 (__lll_robust_timedlock): Likewise.
3256 (__lll_unlock): Likewise.
3257 (__lll_robust_unlock): Likewise.
3258 (lll_wait_tid): Likewise.
3259 (lll_timedwait_tid): Likewise.
3261 2014-12-15 Torvald Riegel <triegel@redhat.com>
3263 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
3265 2014-12-15 Torvald Riegel <triegel@redhat.com>
3267 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
3269 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3271 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
3272 * stdio-common/tst-sprintf.c: Likewise.
3274 2014-12-15 Torvald Riegel <triegel@redhat.com>
3276 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
3278 2014-12-15 Jeff Law <law@redhat.com>
3281 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
3282 on the heap. (CVE-2012-3406)
3283 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
3284 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
3285 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
3287 2014-12-15 Will Newton <will.newton@linaro.org>
3289 * manual/install.texi: Bump required version of texinfo
3291 * INSTALL: Regenerated.
3292 * configure.ac: Check for makeinfo version 4.7 and above.
3293 * configure: Regenerated.
3295 2014-12-12 Roland McGrath <roland@hack.frob.com>
3297 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
3298 PREFIX, string constant to insert between directory and name.
3299 * sysdeps/posix/shm_open.c: Update caller.
3300 * sysdeps/posix/shm_unlink.c: Likewise.
3301 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
3302 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
3303 (SEM_SHM_PREFIX): New macro.
3304 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
3305 [$(have-thread-library) = no].
3306 * nptl/Makefile (libpthread-routines): Add shm-directory.
3307 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
3308 * sysdeps/nptl/shm-directory.h: New file.
3309 * sysdeps/posix/shm-directory.c
3310 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
3311 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3312 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
3314 (__where_is_shmfs): Function removed.
3315 (mountpoint, defaultmount, defaultdir, __namedsem_once):
3317 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
3319 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
3321 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
3322 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
3323 unconditional for use inside libpthread.
3324 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
3326 2014-12-12 Roland McGrath <roland@hack.frob.com>
3328 * nptl/pthread_getaffinity.c: New file.
3329 * nptl/pthread_setaffinity.c: New file.
3330 * nptl/pthread_getname.c: New file.
3331 * nptl/pthread_setname.c: New file.
3333 * nptl/pthread_create.c (START_THREAD_DEFN)
3334 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
3336 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3337 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3339 * resolv/res_send.c (send_vc): Disable warning resplen may
3340 be used uninitialized.
3342 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3345 (ATTR_NULL): New define checks ATTR against NULL.
3346 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
3347 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
3349 2014-12-11 James Lemke <jwlemke@codesourcery.com>
3353 (mem2mem_check): Revert my previous change.
3354 (malloc_check_get_size): Revert my previous change.
3355 (mem2chunk_check): Revert my previous change.
3357 2014-12-11 Roland McGrath <roland@hack.frob.com>
3359 * sysdeps/posix/shm-directory.c: New file.
3360 * sysdeps/posix/shm-directory.h: New file.
3361 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
3362 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
3363 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
3364 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
3365 Transmute EPERM to EACCES.
3366 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
3368 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
3369 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
3371 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3373 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
3374 pointer and cast to uintptr_t.
3375 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
3376 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
3377 Add cast to avoid warning.
3378 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
3380 2014-12-11 Joseph Myers <joseph@codesourcery.com>
3382 * nptl/semaphore.h: Move to ...
3383 * sysdeps/pthread/semaphore.h: ... here.
3384 * Makefile (installed-headers): Change nptl/semaphore.h to
3385 sysdeps/pthread/semaphore.h.
3387 2014-12-11 Roland McGrath <roland@hack.frob.com>
3389 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
3390 generated error format strings.
3392 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
3393 -Wformat-extra-args warnings for scanf formats.
3394 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
3395 test of zero-length format (duh).
3396 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
3397 corner-case scanf format test.
3398 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
3399 generated fprintf format string.
3400 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
3401 corner-case sprintf format tests.
3402 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
3403 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
3404 -Wformat-extra-args warnings throughout.
3405 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
3406 (CFLAGS-scanf4.c): Likewise.
3407 (CFLAGS-scanf7.c): Likewise.
3408 (CFLAGS-tst-sprintf.c): Likewise.
3409 (CFLAGS-tst-printf.c): Likewise.
3410 (CFLAGS-tst-printfsz.c): Likewise.
3412 2014-12-11 Joseph Myers <joseph@codesourcery.com>
3414 * include/cpio.h: New file.
3415 * include/fmtmsg.h: Likewise.
3417 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
3418 corresponding format argument to size_t.
3419 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
3421 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
3422 corresponding format argument to size_t.
3423 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
3425 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
3426 corresponding format argument to size_t.
3427 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
3428 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
3429 (CFLAGS-tst-mbswcs2.c): Likewise.
3430 (CFLAGS-tst-mbswcs3.c): Likewise.
3431 (CFLAGS-tst-mbswcs4.c): Likewise.
3432 (CFLAGS-tst-mbswcs5.c): Likewise.
3433 (CFLAGS-tst-trans.c): Likewise
3435 2014-12-11 Roland McGrath <roland@hack.frob.com>
3437 * posix/regexbug1.c (main): Use "%s" format with regerror results,
3438 rather than assuming they won't contain any '%'s.
3440 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
3442 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
3443 inhibit_loop_to_libcall to avoid recursive calls.
3444 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
3445 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
3447 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3449 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
3452 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
3454 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
3455 integer value instead of boolean.
3457 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
3459 * malloc/malloc.c: Fix powerof2 check.
3461 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3463 * locale/programs/locfile.h (maybe_swap_uint32):
3464 Remove inline and add unused attribute.
3466 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3468 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3469 Truncating assembler expression to a .long expression.
3471 2014-12-11 Andreas Schwab <schwab@suse.de>
3473 * elf/rtld.c (struct map_args): Constify str member.
3474 (do_preload): Constify fname argument.
3476 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3478 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
3479 constants definition.
3481 2014-12-11 Andreas Schwab <schwab@suse.de>
3484 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
3485 FORCE_ELISION instead of DO_ELISION.
3486 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
3488 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
3491 * iconvdata/gconv-modules: Remove duplicate entry.
3493 2014-12-11 Will Newton <will.newton@linaro.org>
3495 Merge gettext 0.19.3 into intl/.
3497 This involves a number of cosmetic changes to comments
3498 and ANSI function definitions and prototypes throughout
3499 all the files. The gettext copyright header is used but
3500 with the date ranges taken from the glibc copy.
3502 * NEWS: Add gettext merge to 2.21.
3503 * intl/bindtextdom.c: Switch to gettext copyright.
3504 Use ANSI definitions and prototypes.
3505 Use gl_* locking primitives rather than __libc_* ones.
3506 Use __builtin_expect rather than __glibc_likely/unlikely.
3507 * intl/dcgettext.c: Switch to gettext copyright.
3508 Use ANSI definitions and prototypes.
3509 * intl/dcigettext.c: Switch to gettext copyright.
3510 Use ANSI definitions and prototypes.
3511 (INTDIV0_RAISES_SIGFPE): New define.
3512 Use gl_* locking primitives rather than __libc_* ones.
3513 Include eval-plural.h instead of plural-eval.c.
3514 Use __builtin_expect rather than __glibc_likely/unlikely.
3515 * intl/dcngettext.c: Switch to gettext copyright.
3516 Use ANSI definitions and prototypes.
3517 * intl/dgettext.c: Likewise.
3518 * intl/dngettext.c: Likewise.
3519 * intl/plural-eval.c: Renamed to...
3520 * intl/eval-plural.h: ...this.
3521 * intl/explodename.c: Switch to gettext copyright.
3522 Use ANSI definitions and prototypes.
3523 (_nl_explode_name): Use strchr instead of __rawmemchr.
3524 * intl/finddomain.c: Switch to gettext copyright.
3525 Use ANSI definitions and prototypes.
3526 Use gl_* locking primitives rather than __libc_* ones.
3527 (_nl_find_domain): Use malloc rather than alloca for
3528 allocation of temporary locale name.
3529 * intl/gettext.c: Switch to gettext copyright.
3530 Use ANSI definitions and prototypes.
3531 * intl/gettextP.h: Switch to gettext copyright.
3532 Use ANSI definitions and prototypes.
3533 Use gl_* locking primitives rather than __libc_* ones.
3534 * intl/gmo.h: Switch to gettext copyright.
3535 (struct sysdep_string): Move struct segment_pair outside of
3537 * intl/hash-string.c: Use ANSI definitions and prototypes.
3538 * intl/hash-string.h: Switch to gettext copyright.
3539 Use ANSI definitions and prototypes.
3540 * intl/l10nflist.c: Switch to gettext copyright.
3541 Use ANSI definitions and prototypes.
3542 (_nl_normalize_codeset): Avoid integer overflow.
3543 * intl/loadinfo.h: Switch to gettext copyright.
3544 Use ANSI definitions and prototypes.
3545 (LIBINTL_DLL_EXPORTED): New define.
3546 (PATH_SEPARATOR): New define.
3547 * intl/loadmsgcat.c: Switch to gettext copyright.
3548 * intl/localealias.c: Switch to gettext copyright.
3549 Use ANSI definitions and prototypes.
3550 (_nl_expand_alias): Use PATH_SEPARATOR.
3551 * intl/ngettext.c: Switch to gettext copyright.
3552 Use ANSI definitions and prototypes.
3553 * intl/plural-exp.c: Likewise.
3554 * intl/plural-exp.h: Switch to gettext copyright.
3555 Use ANSI definitions and prototypes.
3556 (struct expression): Move definition of enum operator outside
3557 of struct definition.
3558 * intl/plural.c: Regenerate.
3559 * intl/plural.y: Switch to gettext copyright.
3560 Use ANSI definitions and prototypes.
3562 * intl/textdomain.c: Switch to gettext copyright.
3563 Use ANSI definitions and prototypes.
3564 Use gl_* locking primitives rather than __libc_* ones.
3566 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
3568 * debug/warning-nop.c: Add used atrribute.
3570 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3572 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
3574 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
3575 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
3576 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
3578 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3579 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3582 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
3583 Undefine after defining function. Define as weak alias of
3584 __wcschr. Use libc_hidden_weak.
3585 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
3586 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
3587 (libc_hidden_def): Also define __GI___wcschr alias.
3588 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
3589 __wcschr and define as weak alias of __wcschr.
3590 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
3592 [!WCSCHR] (DEFAULT_WCSCHR): Define.
3593 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
3594 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
3595 libc_hidden_weak. Do not use libc_hidden_def.
3596 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
3597 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
3598 __GI___wcschr alias.
3599 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
3600 [IS_IN (libc)] (wcschr): Define as macro expanding to
3602 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
3603 [IS_IN (libc)] (__wcschr_power6): Likewise.
3604 [IS_IN (libc)] (__wcschr_power7): Likewise.
3605 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
3607 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
3609 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
3610 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
3611 __wcschr and define as weak alias of __wcschr. Use
3612 libc_hidden_builtin_def.
3613 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
3614 as weak alias of __wcschr. Use libc_hidden_weak.
3615 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
3617 * time/era.c (_nl_init_era_entries): Likewise.
3618 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
3620 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3621 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3623 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3625 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
3626 format for long int variable.
3628 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
3631 * manual/search.texi: (Array Sort Function): Remove claim how to make
3634 2014-12-10 Andreas Schwab <schwab@suse.de>
3637 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
3638 user-controlled locks.
3640 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
3642 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
3645 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3647 * configure.ac (--disable-werror): New configure option.
3648 (enable_werror): New AC_SUBST.
3649 * configure: Regenerated.
3650 * config.make.in (enable-werror): New variable.
3651 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
3653 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
3654 * manual/install.texi (Configuring and compiling): Document
3656 * INSTALL: Regenerated.
3657 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
3658 (CFLAGS-tst-chk2.c): Likewise.
3659 (CFLAGS-tst-chk3.c): Likewise.
3660 (CFLAGS-tst-chk4.cc): Likewise.
3661 (CFLAGS-tst-chk5.cc): Likewise.
3662 (CFLAGS-tst-chk6.cc): Likewise.
3663 (CFLAGS-tst-lfschk1.c): Likewise.
3664 (CFLAGS-tst-lfschk2.c): Likewise.
3665 (CFLAGS-tst-lfschk3.c): Likewise.
3666 (CFLAGS-tst-lfschk4.cc): Likewise.
3667 (CFLAGS-tst-lfschk5.cc): Likewise.
3668 (CFLAGS-tst-lfschk6.cc): Likewise.
3670 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
3671 (main): Disable -Wdeprecated-declarations around calls to
3672 register_printf_function.
3674 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
3675 (do_test): Disable -Wdiv-by-zero around some calls to
3676 fwrite_unlocked and fread_unlocked.
3678 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
3679 (DIAG_POP_NEEDS_COMMENT): Likewise.
3680 (_DIAG_STR1): Likewise.
3681 (_DIAG_STR): Likewise.
3682 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
3683 * stdio-common/bug21.c: Include <libc-internal.h>.
3684 (do_test): Disable -Wformat around call to sscanf.
3685 * stdio-common/scanf14.c: Include <libc-internal.h>.
3686 (main): Disable -Wformat around some calls to scanf functions.
3688 2014-12-09 Torvald Riegel <triegel@redhat.com>
3690 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
3692 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3694 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
3695 stack variable alignment.
3697 2014-12-06 Joseph Myers <joseph@codesourcery.com>
3700 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
3701 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
3702 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
3703 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
3704 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
3705 __getrlimit instead of getrlimit.
3706 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
3707 __gettimeofday instead of gettimeofday.
3708 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3710 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3712 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3713 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
3715 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3716 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3718 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3720 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
3721 for wide-character tests.
3723 2014-12-04 Roland McGrath <roland@hack.frob.com>
3725 * io/openat64.c: #include <libc-internal.h>
3726 (__openat64): Prototypify. Use ignore_value on MODE.
3727 * io/openat.c: Likewise.
3728 * misc/reboot.c: #include <libc-internal.h>
3729 (reboot): Prototypify. Use ignore_value on HOWTO.
3730 * misc/ptrace.c: #include <libc-internal.h>
3731 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
3733 2014-12-04 Joseph Myers <joseph@codesourcery.com>
3735 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
3736 XPG4, UNIX98 and XOPEN2K.
3737 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
3739 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3741 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3743 * libio/fileops.c: Use ISO C style for function definitions.
3744 * libio/iofopen.c: Likewise.
3745 * libio/wfileops.c: Likewise.
3748 * libio/fileops.c (_IO_new_file_underflow): Unset cached
3750 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3751 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
3752 (fgets_func): Function pointer to fgets and fgetws.
3753 (do_ftell_test): Add test to verify ftell value after read
3755 (do_test): Set fgets_func.
3757 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
3758 O_TRUNC flag for w and w+ modes.
3759 (do_rewind_test): Likewise.
3760 (do_ftell_test): Likewise.
3761 (do_write_test): Likewise.
3764 * libio/fileops.c (do_ftell): Seek only when there are
3766 * libio/wfileops.c (do_ftell_wide): Likewise.
3767 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3769 (do_one_test): Call it.
3771 2014-12-03 Joseph Myers <joseph@codesourcery.com>
3773 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3774 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3775 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3777 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3778 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3779 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3781 2014-12-02 Joseph Myers <joseph@codesourcery.com>
3783 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3785 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3788 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3789 as weak alias of __getifaddrs. Use libc_hidden_weak.
3790 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3791 __freeifaddrs. Use libc_hidden_weak.
3792 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3793 define as weak alias of __getifaddrs. Use libc_hidden_weak.
3794 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3795 __freeifaddrs. Use libc_hidden_weak.
3796 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3797 __getifaddrs and define as weak alias of __getifaddrs. Use
3799 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3800 __freeifaddrs. Use libc_hidden_weak.
3801 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3803 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3804 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3806 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
3809 * sysdeps/mips/start.S (__start): Use indirect jump to call
3812 2014-12-02 Joseph Myers <joseph@codesourcery.com>
3814 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3816 * nptl/tst-mutex1.c: Include <stdbool.h>.
3817 [!ATTR] (ATTR_NULL): New macro.
3818 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3819 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3820 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3822 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3826 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3827 Change conditional to [__USE_MISC].
3830 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3832 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3834 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3836 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3838 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3839 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3840 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3841 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3842 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3843 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3844 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3845 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3846 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3848 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3850 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3852 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3853 Remove strpbrk objects.
3854 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3855 (__libc_ifunc_impl_list): Remove strpbrk implementation.
3856 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
3857 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
3858 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
3859 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
3861 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3862 Remove strcspn objects.
3863 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3864 (__libc_ifunc_impl_list): Remove strcspn implementation.
3865 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
3866 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
3867 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
3868 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
3870 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3871 Remove strspn objetcs.
3872 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3873 (__libc_ifunc_impl_list): Remove strspn implementation.
3874 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
3875 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3876 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
3877 * sysdeps/powerpc/powerpc64/strspn.S: New file.
3879 2014-12-01 James Lemke <jwlemke@codesourcery.com>
3883 (mem2mem_check): Add a terminator to the chain of checking blocks.
3884 (malloc_check_get_size): Use it here.
3885 (mem2chunk_check): Ditto.
3887 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3889 * sysdeps/powerpc/powerpc64/strtok.S: New file.
3890 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
3892 2014-11-29 Carlos O'Donell <carlos@redhat.com>
3894 * bits/ioctl-types.h: Indent preprocessor directives correctly.
3896 * nptl/nptl-init.c: Include libc-internal.h.
3897 (__pthread_initialize_minimal_internal): Use ROUND_UP.
3899 * elf/ldconfig.c (search_dir): Expand comment.
3901 2014-11-29 Joseph Myers <joseph@codesourcery.com>
3903 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
3905 (linknamespace-symlist-stdlibs-tests): Likewise.
3906 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
3907 instead of $(objpfx)symlist-stdlibs.
3908 (linknamespace-libs-isoc): New variable.
3909 (linknamespace-libs): Use $(linknamespace-libs-isoc).
3910 (linknamespace-libs-ISO): New variable.
3911 (linknamespace-libs-ISO99): Likewise.
3912 (linknamespace-libs-ISO11): Likewise.
3913 (linknamespace-libs-XPG3): Likewise.
3914 (linknamespace-libs-XPG4): Likewise.
3915 (linknamespace-libs-POSIX): Likewise.
3916 (linknamespace-libs-UNIX98): Likewise.
3917 (linknamespace-libs-XOPEN2K): Likewise.
3918 (linknamespace-libs-POSIX2008): Likewise.
3919 (linknamespace-libs-XOPEN2K8): Likewise.
3920 ($(objpfx)symlist-stdlibs): Replace by
3921 $(linknamespace-symlist-stdlibs-tests). Use
3922 $(linknamespace-libs-$*) as set of libraries.
3923 ($(linknamespace-header-tests)): Update dependencies. Use
3924 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
3925 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
3926 * conform/linknamespace.pl: Remove comment about considering
3927 definitions of symbols from irrelevant libraries.
3929 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
3932 * elf/dl-tls.c: Include <atomic.h>.
3933 (oom): Remove #ifdef SHARED/#endif.
3934 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3935 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
3936 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3938 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3939 * nptl/Makefile (tests): Add tst-stack4.
3940 (modules-names): Add tst-stack4mod.
3941 ($(objpfx)tst-stack4): New.
3942 (tst-stack4mod.sos): Likewise.
3943 ($(objpfx)tst-stack4.out): Likewise.
3944 ($(tst-stack4mod.sos)): Likewise.
3946 * nptl/tst-stack4.c: New file.
3947 * nptl/tst-stack4mod.c: Likewise.
3949 2014-11-27 J. Brown <jb999@gmx.de>
3951 * sysdeps/x86/bits/string.h: Add recent CPUs.
3953 2014-11-27 Joseph Myers <joseph@codesourcery.com>
3955 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3958 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3961 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3964 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
3966 * nscd/connections.c: Include libc-internal.h because of macro
3969 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3971 * string/bits/string3.h (__warn_memset_zero_len): Don't
3972 declare for gcc newer than 5.0.
3973 (memset): Don't test for zero-length __LEN for gcc newer than
3976 2014-11-27 Joseph Myers <joseph@codesourcery.com>
3978 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3979 size_t for %zu format.
3981 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3982 difference, not %ju.
3984 2014-11-26 Joseph Myers <joseph@codesourcery.com>
3986 * include/libc-internal.h (ignore_value): New macro.
3987 * nscd/connections.c (restart): Wrap calls to setuid and setgid
3990 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3993 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3994 pthread_cleanup_push to void *.
3996 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4001 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4002 instead of 1L << 52.
4004 * libio/bug-rewind.c (do_test): Check fwscanf return values.
4005 * libio/bug-rewind2.c (do_test): Likewise.
4007 * debug/test-stpcpy_chk-ifunc.c: Remove file.
4008 * debug/test-strcpy_chk-ifunc.c: Likewise.
4009 * wcsmbs/test-wcschr-ifunc.c: Likewise.
4010 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4011 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4012 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4013 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4014 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4015 * Rules [$(multi-arch) = no] (tests): Do not filter out
4017 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
4018 * debug/Makefile (tests-ifunc): Remove variable.
4019 (tests): Do not add $(tests-ifunc).
4020 * wcsmbs/Makefile (tests-ifunc): Remove variable.
4021 (tests): Do not add $(tests-ifunc).
4022 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
4023 [TEST_IFUNC]: Remove conditionals.
4024 * string/test-string.h (TEST_IFUNC): Remove macro.
4025 [TEST_IFUNC]: Remove conditionals.
4027 * string/test-strchr.c [!WIDE] (L): New macro.
4028 [WIDE] (L): Likewise.
4029 (check1): Use CHAR instead of char. Use L on string and character
4032 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
4034 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
4036 * sysdeps/powerpc/bits/atomic.h
4037 (__arch_atomic_exchange_and_add_32_acq): Add definition.
4038 (__arch_atomic_exchange_and_add_32_rel): Likewise.
4039 (atomic_exchange_and_add_acq): Likewise.
4040 (atomic_exchange_and_add_rel): Likewise.
4041 * sysdeps/powerpc/powerpc32/bits/atomic.h
4042 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4043 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4044 * sysdeps/powerpc/powerpc64/bits/atomic.h
4045 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4046 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4048 2014-11-26 Torvald Riegel <triegel@redhat.com>
4050 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4051 Change synchronization of __sched_fifo_min_prio and
4052 __sched_fifo_max_prio.
4053 * nptl/pthread_mutexattr_getprioceiling.c
4054 (pthread_mutexattr_getprioceiling): Likewise.
4055 * nptl/pthread_mutexattr_setprioceiling.c
4056 (pthread_mutexattr_setprioceiling): Likewise.
4057 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4058 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4061 2014-11-26 Joseph Myers <joseph@codesourcery.com>
4063 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4066 2014-11-25 Joseph Myers <joseph@codesourcery.com>
4068 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4069 third argument const.
4071 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
4073 fnmatch: work around GCC compiler warning bug with uninit var
4074 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
4075 This works around a bug with x86-64 GCC 4.9.2 and earlier
4076 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
4077 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
4078 used uninitialized in this function [-Wmaybe-uninitialized]".
4080 2014-11-25 Joseph Myers <joseph@codesourcery.com>
4082 * posix/bug-regex31.c (main): Return RES not 0.
4084 2014-11-25 Anton Blanchard <anton@samba.org>
4086 * sysdeps/powerpc/bits/atomic.h
4087 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4089 2014-11-24 Sterling Augustine <saugustine@google.com>
4091 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4093 2014-11-24 Ryan Cumming <etaoins@gmail.com>
4096 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4098 2014-11-24 Joseph Myers <joseph@codesourcery.com>
4101 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4102 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4104 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4105 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4107 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4109 * string/strncpy.c (strncpy): Improve performance by using memset.
4111 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4113 * string/strcpy.c (strcpy):
4114 Improve performance by using strlen and memcpy.
4116 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
4118 * string/strcoll_l.c (get_next_seq): __always_inline.
4119 * string/strcoll_l.c (do_compare): __always_inline.
4121 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4123 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4125 * include/mqueue.h: Likewise.
4126 * include/stdlib.h: Likewise.
4128 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4129 (get_null_defines): Adjust.
4130 * sunrpc/Makefile: Adjust comment.
4131 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4132 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4133 (CFLAGS-interp.c): Likewise.
4134 (CFLAGS-ldconfig.c): Likewise.
4135 (CPPFLAGS-.os): Likewise.
4136 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4137 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4138 * extra-modules.mk (extra-modules.mk): Likewise.
4139 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4140 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4141 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4142 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4143 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4144 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4145 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4146 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4147 * iconvdata/Makefile (CPPFLAGS): Likewise.
4148 (cpp-srcs-left): Add libof for all iconvdata routines.
4149 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4150 * include/assert.h: Likewise.
4151 * include/ctype.h: Likewise.
4152 * include/errno.h: Likewise.
4153 * include/libc-symbols.h: Likewise.
4154 * include/math.h: Likewise.
4155 * include/netdb.h: Likewise.
4156 * include/resolv.h: Likewise.
4157 * include/stdio.h: Likewise.
4158 * include/stdlib.h: Likewise.
4159 * include/string.h: Likewise.
4160 * include/sys/stat.h: Likewise.
4161 * include/wctype.h: Likewise.
4162 * intl/l10nflist.c: Likewise.
4163 * libidn/idn-stub.c: Likewise.
4164 * libio/libioP.h: Likewise.
4165 * nptl/libc_multiple_threads.c: Likewise.
4166 * nptl/pthreadP.h: Likewise.
4167 * posix/regex_internal.h: Likewise.
4168 * resolv/res_hconf.c: Likewise.
4169 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4170 * sysdeps/arm/memmove.S: Likewise.
4171 * sysdeps/arm/sysdep.h: Likewise.
4172 * sysdeps/generic/_itoa.h: Likewise.
4173 * sysdeps/generic/symbol-hacks.h: Likewise.
4174 * sysdeps/gnu/errlist.awk: Likewise.
4175 * sysdeps/gnu/errlist.c: Likewise.
4176 * sysdeps/i386/i586/memcpy.S: Likewise.
4177 * sysdeps/i386/i586/memset.S: Likewise.
4178 * sysdeps/i386/i686/memcpy.S: Likewise.
4179 * sysdeps/i386/i686/memmove.S: Likewise.
4180 * sysdeps/i386/i686/mempcpy.S: Likewise.
4181 * sysdeps/i386/i686/memset.S: Likewise.
4182 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4183 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4184 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4185 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4186 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4187 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4188 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4189 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4190 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4191 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4192 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4193 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4194 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4195 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4196 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4197 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4198 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4199 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4200 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4201 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4202 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4203 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4204 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4205 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4206 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4207 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4208 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4209 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4210 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4211 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4212 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4213 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4214 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4215 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4216 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4217 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4218 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4219 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4220 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4221 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4222 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4223 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4224 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4225 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4226 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4227 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4228 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4229 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4230 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4231 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4232 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4233 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4234 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4235 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4236 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4237 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4238 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4239 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4240 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4241 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4242 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4243 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4244 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4245 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4246 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4247 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4248 * sysdeps/posix/closedir.c: Likewise.
4249 * sysdeps/posix/opendir.c: Likewise.
4250 * sysdeps/posix/readdir.c: Likewise.
4251 * sysdeps/posix/rewinddir.c: Likewise.
4252 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4253 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4254 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4255 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4256 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4257 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
4258 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
4259 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
4260 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4261 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
4262 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4263 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4264 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4265 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
4266 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
4267 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
4268 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4269 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4270 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
4271 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
4272 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4273 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
4274 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
4275 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4276 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
4277 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
4278 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
4279 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4280 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4281 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
4282 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4283 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
4284 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4285 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
4286 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4287 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
4288 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4289 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4290 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
4291 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
4292 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
4293 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
4294 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4295 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4296 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
4297 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
4298 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
4299 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4300 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
4301 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4302 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
4303 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4304 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
4305 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4306 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4307 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
4308 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
4309 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4310 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4311 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
4312 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4313 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4314 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
4315 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4316 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
4317 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4318 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
4319 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
4320 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
4321 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
4322 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4323 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4324 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
4325 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4326 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4327 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
4328 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
4329 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4330 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4331 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
4332 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4333 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4334 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4335 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
4336 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4337 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
4338 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
4339 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4340 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4341 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4342 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
4343 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
4344 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
4345 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4346 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4347 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
4348 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4349 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4350 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
4351 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
4352 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4353 * sysdeps/unix/alpha/sysdep.S: Likewise.
4354 * sysdeps/unix/alpha/sysdep.h: Likewise.
4355 * sysdeps/unix/make-syscalls.sh: Likewise.
4356 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4357 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4358 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4359 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
4360 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4361 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4362 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
4363 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4364 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4365 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
4366 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4367 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4368 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4369 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4370 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4371 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4372 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4373 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4374 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4375 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4376 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4377 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4378 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4379 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4380 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4381 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4382 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4385 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
4386 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4387 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4388 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4389 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4390 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4391 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4392 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4393 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4394 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4395 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4396 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4397 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4398 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4399 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4400 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4401 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4402 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4403 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4404 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4405 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4406 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4407 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4408 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4409 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4410 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4411 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4412 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4413 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4414 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
4415 * sysdeps/x86_64/memcpy.S: Likewise.
4416 * sysdeps/x86_64/memmove.c: Likewise.
4417 * sysdeps/x86_64/memset.S: Likewise.
4418 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
4419 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4420 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4421 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
4422 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4423 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4424 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4425 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4426 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4427 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4428 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4429 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4430 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
4431 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4432 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4433 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
4434 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4435 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4436 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4437 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4438 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
4439 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4440 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4441 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4442 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4443 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4444 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4445 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
4446 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4447 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4448 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
4449 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4450 * sysdeps/x86_64/strcmp.S: Likewise.
4452 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
4454 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
4455 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
4456 * elf/rtld-Rules: Likewise.
4457 * elf/setup-vdso.h: Likewise.
4458 * include/assert.h: Likewise.
4459 * include/bits/stdlib-float.h: Likewise.
4460 * include/errno.h: Likewise.
4461 * include/sys/stat.h: Likewise.
4462 * include/unistd.h: Likewise.
4463 * sysdeps/aarch64/setjmp.S: Likewise.
4464 * sysdeps/alpha/setjmp.S: Likewise.
4465 * sysdeps/arm/__longjmp.S: Likewise.
4466 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
4467 * sysdeps/arm/setjmp.S: Likewise.
4468 * sysdeps/arm/sysdep.h: Likewise.
4469 * sysdeps/generic/_itoa.h: Likewise.
4470 * sysdeps/generic/dl-sysdep.h: Likewise.
4471 * sysdeps/generic/ldsodefs.h: Likewise.
4472 * sysdeps/i386/dl-tls.h: Likewise.
4473 * sysdeps/i386/setjmp.S: Likewise.
4474 * sysdeps/m68k/setjmp.c: Likewise.
4475 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
4476 * sysdeps/mach/hurd/opendir.c: Likewise.
4477 * sysdeps/posix/getcwd.c: Likewise.
4478 * sysdeps/posix/opendir.c: Likewise.
4479 * sysdeps/posix/profil.c: Likewise.
4480 * sysdeps/powerpc/dl-procinfo.h: Likewise.
4481 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4482 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4483 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4484 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4485 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
4486 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4487 * sysdeps/s390/dl-tls.h: Likewise.
4488 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4489 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4490 * sysdeps/sh/sh3/setjmp.S: Likewise.
4491 * sysdeps/sh/sh4/setjmp.S: Likewise.
4492 * sysdeps/unix/alpha/sysdep.h: Likewise.
4493 * sysdeps/unix/arm/sysdep.S: Likewise.
4494 * sysdeps/unix/i386/sysdep.S: Likewise.
4495 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4496 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4497 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4498 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4499 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4500 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4501 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4502 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4503 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4504 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4505 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4506 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4507 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4510 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4511 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4512 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4513 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4514 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4515 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4516 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4517 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4518 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4519 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4520 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4521 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4522 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4523 * sysdeps/x86_64/setjmp.S: Likewise.
4525 * include/math.h: Use IS_IN instead of IS_IN_libm.
4526 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
4527 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4528 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4529 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4530 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4531 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4532 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4533 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4534 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4535 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4536 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
4537 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
4538 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
4539 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
4540 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
4541 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
4542 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
4543 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
4544 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
4545 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
4546 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
4547 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
4548 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
4549 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
4550 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
4551 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
4552 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
4553 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
4554 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
4555 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
4556 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
4557 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4558 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
4565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
4567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
4569 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4570 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
4571 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4572 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4573 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4574 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
4580 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
4581 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
4582 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4583 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4584 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4585 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4586 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4587 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4588 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4589 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
4590 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
4591 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
4592 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
4593 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
4594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4595 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
4597 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
4598 * nptl/pthreadP.h: Likewise.
4599 * nptl_db/structs.def: Likewise.
4600 * sysdeps/arm/sysdep.h: Likewise.
4601 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4602 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4603 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
4604 * sysdeps/unix/alpha/sysdep.h: Likewise.
4605 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4606 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4607 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4608 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4609 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4610 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4611 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4612 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4613 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4614 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4615 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4616 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4617 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4618 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4621 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4622 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4623 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4624 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4625 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4626 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4627 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4628 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4629 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
4630 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4632 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
4633 * nptl/pthreadP.h: Likewise.
4634 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4635 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4636 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4637 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4638 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4639 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4640 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4641 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4642 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4643 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4644 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4645 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4650 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4651 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4652 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4653 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4654 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4655 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4656 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4657 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4659 * dlfcn/dladdr.c: Use IS_IN.
4660 * dlfcn/dladdr1.c: Likewise.
4661 * dlfcn/dlclose.c: Likewise.
4662 * dlfcn/dlerror.c: Likewise.
4663 * dlfcn/dlinfo.c: Likewise.
4664 * dlfcn/dlmopen.c: Likewise.
4665 * dlfcn/dlopen.c: Likewise.
4666 * dlfcn/dlsym.c: Likewise.
4667 * dlfcn/dlvsym.c: Likewise.
4669 * include/ifaddrs.h: Use IS_IN.
4670 * inet/check_pf.c: Likewise.
4671 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4672 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
4674 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
4676 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
4677 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
4679 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
4680 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
4683 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
4685 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
4686 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4687 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4688 * include/libc-symbols.h (IS_IN_LIB): New macro.
4689 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
4690 * include/netdb.h: Likewise.
4691 * include/stap-probe.h: Remove all uses of IN_LIB.
4693 * Makeconfig (module-cppflags-real): Define MODULE_NAME
4694 instead of IN_MODULE.
4695 * include/libc-symbols.h (IN_MODULE): Define using
4697 (PASTE_NAME, PASTE_NAME1): New macros.
4698 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
4700 (STAP_PROBE_ASM): Likewise.
4702 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
4704 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
4705 __mach_init in dlopened libc.
4707 2014-11-22 Mike Frysinger <vapier@gentoo.org>
4709 * sysdeps/arm/preconfigure.ac: Delete EABI check.
4710 * sysdeps/arm/preconfigure: Regenerate.
4712 2014-11-21 Roland McGrath <roland@hack.frob.com>
4714 * nptl/pthread_create.c (__pthread_create_2_1): Set
4715 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
4716 when copying values from IATTR into PD.
4718 2014-11-21 Will Newton <will.newton@linaro.org>
4719 Andrew Pinski <andrew.pinski@caviumnetworks.com>
4721 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
4722 Refactor inline-asm. Also add comment.
4724 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
4725 ElfW macro instead of hardcoded Elf64 types.
4726 (la_aarch64_gnu_pltenter): Likewise.
4727 * sysdeps/aarch64/dl-machine.h
4728 (elf_machine_runtime_setup): Use ElfW(Addr).
4730 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
4731 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
4732 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
4733 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
4734 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
4735 (R_AARCH64_TLS_DTPMOD64): Rename to ..
4736 (R_AARCH64_TLS_DTPMOD): This.
4737 (R_AARCH64_TLS_DTPREL64): Rename to ...
4738 (R_AARCH64_TLS_DTPREL): This.
4739 (R_AARCH64_TLS_TPREL64): Rename to ...
4740 (R_AARCH64_TLS_TPREL): This.
4741 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
4742 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
4743 R_AARCH64_TLS_TPREL64.
4744 (elf_machine_rela): Likewise.
4746 2014-11-21 Torvald Riegel <triegel@redhat.com>
4748 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
4749 by setting it to 0. 64b atomics are not supported currently.
4751 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4754 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
4755 search domain names.
4757 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4761 * resolv/res_query.c (__libc_res_nquerydomain): Retain
4763 * posix/tst-getaddrinfo5.c: New.
4764 * posix/Makefile (tests): Add it.
4766 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4770 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4771 after parsing line but before break_if_match.
4772 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4773 if there is a protocol mismatch.
4775 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4777 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4778 because the potential race is on the user-supplied stream.
4780 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4782 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4783 string literal if not passed a buffer.
4784 * manual/job.texi (ctermid): Update reasoning, note deviation
4785 from posix, suggest mtasurace when not passed a buffer, for
4786 future non-preliminary safety notes.
4788 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4790 * manual/users.texi (cuserid): Fix MT-Safety note for the case
4791 of not passing it a buffer.
4792 Reported by Peng Haitao.
4794 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4796 * manual/Makefile ($(objpfx)stamp-summary): Require
4797 check-safety.sh to pass.
4798 * manual/check-safety.sh: Wish for verification that every
4799 @deftypefn and @deftypefun is followed by a @safety remark.
4801 2014-11-20 Roland McGrath <roland@hack.frob.com>
4803 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4805 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4806 PTHREAD_CANCEL_ASYNCHRONOUS.
4807 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4810 * nptl/default-sched.h: New file.
4811 * sysdeps/unix/sysv/linux/default-sched.h: New file.
4812 * nptl/pthread_create.c: Include it.
4813 (__pthread_create_2_1): Use collect_default_sched instead of making
4814 Linux syscalls here directly.
4816 2014-11-20 Torvald Riegel <triegel@redhat.com>
4818 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4819 __pthread_once): Use C11 atomics.
4821 2014-11-20 Torvald Riegel <triegel@redhat.com>
4823 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4825 2014-11-20 Torvald Riegel <triegel@redhat.com>
4827 * include/atomic.h (__atomic_link_error, __atomic_check_size,
4828 atomic_thread_fence_acquire, atomic_thread_fence_release,
4829 atomic_thread_fence_seq_cst, atomic_load_relaxed,
4830 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4831 atomic_compare_exchange_weak_relaxed,
4832 atomic_compare_exchange_weak_acquire,
4833 atomic_compare_exchange_weak_release,
4834 atomic_exchange_acquire, atomic_exchange_release,
4835 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4836 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4837 atomic_fetch_and_acquire,
4838 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4840 2014-11-20 Torvald Riegel <triegel@redhat.com>
4842 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4843 USE_ATOMIC_COMPILER_BUILTINS): Define.
4844 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4845 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4846 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4847 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4848 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4849 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4850 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
4851 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4852 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
4853 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4854 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
4855 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4856 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
4857 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4858 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
4859 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4860 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4861 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4862 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4863 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4864 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
4865 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4866 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4867 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4868 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
4869 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4870 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4871 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4872 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
4873 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4874 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
4875 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4876 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
4877 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4878 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4879 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4880 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
4881 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4882 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
4883 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4885 2014-11-19 Roland McGrath <roland@hack.frob.com>
4887 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
4888 the sched_priority value here. It was already checked when the user
4889 called pthread_attr_setschedparam.
4891 * nptl/tst-bad-schedattr.c: New file.
4892 * nptl/Makefile (tests): Add it.
4894 2014-11-19 Carlos O'Donell <carlos@redhat.com>
4895 Florian Weimer <fweimer@redhat.com>
4896 Joseph Myers <joseph@codesourcery.com>
4897 Adam Conrad <adconrad@0c3.net>
4898 Andreas Schwab <schwab@suse.de>
4899 Brooks <bmoses@google.com>
4902 * wordexp-test.c (__dso_handle): Add prototype.
4903 (__register_atfork): Likewise.
4904 (__app_register_atfork): New function.
4905 (registered_forks): New global.
4906 (register_fork): New function.
4907 (test_case): Add 3 new tests for WRDE_CMDSUB.
4908 (main): Call __app_register_atfork.
4909 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
4910 fork count is non-zero fail the test.
4911 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
4913 (parse_dollars): Remove check for WRDE_NOCMD.
4914 (parse_dquote): Likewise.
4916 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4918 * Makeconfig (built-modules): List non-library modules to be
4920 (module-cppflags): Include libc-modules.h for
4921 everything except shlib-versions.v.i.
4923 (before-compile): Add libc-modules.h.
4924 ($(common-objpfx)libc-modules.h,
4925 $(common-objpfx)libc-modules.stmp): New targets.
4926 (common-generated): Add libc-modules.h and libc-modules.stmp.
4927 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
4928 * include/libc-symbols.h: Don't include libc-modules.h.
4929 * include/libc-modules.h: Remove file.
4930 * scripts/gen-libc-modules.awk: New script to generate
4932 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4933 Depend on libc-modules.stmp.
4935 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4937 * Makeconfig (in-module): Get value of libof set for the
4939 (CPPFLAGS): Use $(in-module).
4940 * Makerules: Don't suffix routine names for nonlib.
4941 * include/libc-modules.h: New file.
4942 * include/libc-symbols.h: Include libc-modules.h
4943 (IS_IN): New macro to replace IS_IN_* macros.
4944 * elf/Makefile: Set libof-* for each routine.
4945 * elf/rtld-Rules: Likewise.
4946 * extra-modules.mk: Likewise.
4947 * iconv/Makefile: Likewise.
4948 * iconvdata/Makefile: Likewise.
4949 * locale/Makefile: Likewise.
4950 * malloc/Makefile: Likewise.
4951 * nss/Makefile: Likewise.
4952 * sysdeps/gnu/Makefile: Likewise.
4953 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4954 * sysdeps/unix/sysv/linux/Makefile: Likewise.
4955 * sysdeps/s390/s390-64/Makefile: Likewise.
4956 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
4957 CPPFLAGS for nscd instead of nonlib.
4959 2014-11-18 Roland McGrath <roland@hack.frob.com>
4961 * nptl/createthread.c: New file.
4963 * nptl/createthread.c: Moved ...
4964 * sysdeps/unix/sysv/linux/createthread.c: ... here.
4966 * nptl/createthread.c: Add proper top-line comment.
4967 (do_clone): Folded into ...
4968 (create_thread): ... here. Take new arguments STOPPED_START and
4969 THREAD_RAN. Always set PD->stopped_start to something here. Don't
4970 increment __nptl_threads, do event-reporting logic, do
4971 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4972 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
4973 resource cleanup if sched_setaffinity or sched_setscheduler fails,
4974 just send SIGCANCEL.
4975 * nptl/pthread_create.c: Forward-declare create_thread before
4976 including createthread.c.
4977 (start_thread): Use new macro START_THREAD_DEFN to replace defining
4978 declaration, and new macro START_THREAD_SELF to replace argument.
4979 Remove return statement.
4980 (report_thread_creation): New function.
4981 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
4982 synchronization logic, and __nptl_nthreads increment here, around
4983 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
4984 PD->parent_cancelhandling here, before create_thread. When
4985 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4986 __deallocate_stack, and ENOMEM translation here.
4988 2014-11-18 Joseph Myers <joseph@codesourcery.com>
4991 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4992 (mptwo): Rename to __mptwo.
4993 (__inv): Use __mptwo instead of mptwo.
4994 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4995 (mptwo): Rename to __mptwo.
4996 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4997 of mpone and __mptwo instead of mptwo.
4998 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5000 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5001 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5002 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5003 of mpone and __mptwo instead of mptwo.
5004 (__mpranred): Use __mpone instead of mpone.
5005 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5007 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5008 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5009 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5010 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5011 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5012 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5013 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5014 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5015 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5016 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5017 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5018 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5019 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5020 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5021 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5022 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5023 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5024 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5025 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5027 2014-11-18 Tom de Vries <tom@codesoucery.com>
5029 * manual/signal.texi (Primitives Interrupted by Signals): In section,
5030 replace BSD Handler xref with BSD Signal Handling.
5032 2014-11-17 Richard Henderson <rth@redhat.com>
5034 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
5035 (_FP_PACK_RAW_2): Remove.
5036 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
5037 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
5038 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
5039 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
5040 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
5041 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
5042 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
5043 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
5044 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5045 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5046 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5047 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5048 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5049 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5050 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5051 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5053 2014-11-14 Roland McGrath <roland@hack.frob.com>
5055 * signal/signal.h [__USE_MISC]
5056 (struct sigvec): Remove type.
5057 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5058 (sigvec): Remove declaration.
5059 * sysdeps/posix/sigvec.c: Moved ...
5060 * signal/sigvec.c: ... here, replacing old file.
5061 (struct sigvec): New type, copied from old signal.h definition.
5062 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5063 (__sigvec): Convert definition to prototype.
5064 (sigvec): Replace weak_alias with compat_symbol.
5065 * signal/Versions (libc: GLIBC_2.21): New version set.
5066 * include/signal.h: Remove __sigvec declaration.
5067 * sysdeps/unix/bsd/sigvec.c: Remove file.
5068 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5069 * manual/signal.texi (BSD Handler): Remove subsection.
5070 Move siginterrupt up to ...
5071 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
5072 (Blocking in BSD): Fold subsection into its parent.
5073 * NEWS: Mention sigvec removal.
5075 2014-11-14 Joseph Myers <joseph@codesourcery.com>
5077 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
5078 (DLA_FMS): Make definition conditional only on [__FMA4__].
5079 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5082 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5083 Make definition conditional only on [PROF].
5084 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5086 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5087 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5089 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5091 * include/signal.h (__sigpause): Move declaration above call to
5093 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5095 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5096 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5098 2014-11-14 David S. Miller <davem@davemloft.net>
5100 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5101 Define before including <string/memcpy.c> and <string/mempcpy.c>.
5103 2014-11-14 Joseph Myers <joseph@codesourcery.com>
5105 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5106 * configure: Regenerated.
5107 * manual/install.texi (Tools for Compilation): Document a
5108 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5109 compiler verified to work.
5110 * INSTALL: Regenerated.
5112 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5113 redeclare with asm name.
5114 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5115 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5116 including <string.h>.
5117 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5118 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5119 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5120 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5121 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5122 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5123 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5125 2014-11-13 Joseph Myers <joseph@codesourcery.com>
5127 * stdlib/strtol.c (__strtol): Use prototype definition.
5130 * stdlib/strtol.c (SYM__): New macro.
5132 (__strtol): Likewise.
5133 (strtol): Rename to __strtol and define as weak alias of
5134 __strtol. Use libc_hidden_weak.
5136 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5138 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5139 Use numbered labels in inline assembly.
5141 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5143 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5144 Add setjmp LIBC_PROBE.
5145 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5147 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5148 Add longjmp, longjmp_target LIBC_PROBE.
5149 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5152 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5154 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5155 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5156 to get rid of unused variable warning.
5158 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5160 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5161 Check for unwind_backtrace == NULL only in SHARED case.
5162 (__backchain_backtrace): Compile only in SHARED case.
5163 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5165 (__backchain_backtrace): Declare as static.
5167 2014-11-12 Roland McGrath <roland@hack.frob.com>
5169 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5170 (__libc_multiple_threads_ptr): Variable moved ...
5171 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5173 2014-11-12 Joseph Myers <joseph@codesourcery.com>
5175 * conform/GlibcConform.pm: New file.
5176 * conform/conformtest.pl: Use GlibcConform module.
5177 * conform/linknamespace.pl: New file.
5178 * conform/list-header-symbols.pl: Likewise.
5179 * conform/Makefile (linknamespace-symlists-base): New variable.
5180 (linknamespace-symlists-tests): Likewise.
5181 (linknamespace-header-base): Likewise.
5182 (linknamespace-header-tests): Likewise.
5183 (tests-special): Add new tests.
5184 ($(linknamespace-symlists-tests)): New rule.
5185 (linknamespace-libs): New variable.
5186 ($(objpfx)symlist-stdlibs): New rule.
5187 ($(linknamespace-header-tests)): Likewise.
5188 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5189 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5190 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5191 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5192 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5193 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5194 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5195 (test-xfail-ISO/math.h/linknamespace): Likewise.
5196 (test-xfail-ISO/signal.h/linknamespace): Likewise.
5197 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5198 (test-xfail-ISO/time.h/linknamespace): Likewise.
5199 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5200 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5201 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5202 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5203 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5204 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5205 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5206 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5207 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5208 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5209 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5210 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5211 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5212 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5213 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5214 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5215 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5216 (test-xfail-XPG3/search.h/linknamespace): Likewise.
5217 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5218 (test-xfail-XPG3/time.h/linknamespace): Likewise.
5219 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5220 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5221 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5222 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5223 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5224 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5225 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5226 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5227 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5228 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5229 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5230 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5231 (test-xfail-XPG4/search.h/linknamespace): Likewise.
5232 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5233 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5234 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5235 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5236 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5237 (test-xfail-XPG4/time.h/linknamespace): Likewise.
5238 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5239 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5240 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5241 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5242 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5243 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5244 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5245 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5246 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5247 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5248 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5249 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5250 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5251 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5252 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5253 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5254 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5255 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5256 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5257 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5258 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5259 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5260 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5261 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
5262 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5263 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5264 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5265 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
5266 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5267 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5268 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
5269 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5270 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5271 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5272 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5273 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5274 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5275 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
5276 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
5277 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5278 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
5279 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5280 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
5281 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5282 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5283 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5284 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
5285 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5286 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5287 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5288 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
5289 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
5290 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
5291 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5292 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5293 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5294 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5295 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
5296 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
5297 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5298 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5299 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5300 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5301 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5302 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5303 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5304 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5305 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5306 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5307 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
5308 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5309 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5310 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
5311 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5312 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5313 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5314 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5315 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5316 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5317 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5318 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5319 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5320 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5321 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5322 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5323 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5324 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5325 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
5326 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5327 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5328 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5329 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5330 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5331 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
5332 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5333 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5334 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5335 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5336 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5337 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5338 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5339 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5340 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5341 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5342 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5343 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5344 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5345 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
5346 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5347 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5348 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5351 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
5355 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
5356 (memmem): Rename to __memmem and define as weak alias of
5357 __memmem. Use libc_hidden_weak.
5358 (__memmem): Use libc_hidden_def.
5359 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
5360 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
5364 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
5365 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
5366 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
5367 and define as weak alias of __fgets_unlocked. Use
5369 (__fgets_unlocked): Use libc_hidden_def.
5370 * include/stdio.h (__fgets_unlocked): Declare. Use
5372 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
5373 __fgets_unlocked instead of fgets_unlocked.
5374 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
5375 (GET_NPROCS_CONF_PARSER): Likewise.
5376 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
5377 (GET_NPROCS_CONF_PARSER): Likewise.
5380 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
5381 weak alias of __wmemset. Use libc_hidden_weak.
5382 (__wmemset): Use libc_hidden_def.
5383 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
5384 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
5388 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
5389 with asm name __mempcpy.
5390 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
5393 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
5394 and define as weak alias of __rawmemchr.
5395 (__rawmemchr): Do not define as strong alias of rawmemchr.
5398 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
5400 (qsort): Call __qsort_r instead of qsort_r.
5401 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
5402 (__qsort_r): Declare. Call libc_hidden_proto.
5403 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
5405 * nscd/gai.c (__qsort_r): Define to qsort_r.
5406 * posix/tst-rfc3484.c (__qsort_r): Likewise.
5407 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
5408 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
5411 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
5412 define as weak alias of __malloc_info.
5415 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
5416 as weak alias of __rewinddir. Don't use libc_hidden_def.
5417 (__rewinddir): Use libc_hidden_def.
5418 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
5419 as weak alias of __rewinddir. Don't use libc_hidden_def.
5420 (__rewinddir): Use libc_hidden_def.
5421 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
5422 weak alias of __rewinddir. Don't use libc_hidden_def.
5423 (__rewinddir): Use libc_hidden_def.
5424 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
5425 (__rewinddir): Use libc_hidden_proto.
5426 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
5428 (__getcwd): Use __rewinddir instead of rewinddir.
5431 * libio/fileno.c (fileno): Rename to __fileno and define as weak
5432 alias of __fileno. Use libc_hidden_weak.
5433 (__fileno): Use libc_hidden_def.
5434 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
5435 * libio/ftello.c (ftello): Rename to __ftello and define as weak
5437 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
5439 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
5440 (__fread_unlocked): Define as strong alias of _IO_fread. Use
5442 (fread_unlocked): Don't use libc_hidden_ver.
5443 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
5444 and define as weak alias of __fread_unlocked. Don't use
5446 (__fread_unlocked): Use libc_hidden_def.
5447 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
5448 (ftello): Don't use libc_hidden_proto.
5449 (__ftello): Declare. Use libc_hidden_proto.
5450 (fread_unlocked): Don't use libc_hidden_proto.
5451 (__fread_unlocked): Declare. Use libc_hidden_proto.
5452 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
5453 and __ftello instead of fileno, fread_unlocked and ftello.
5455 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5457 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
5459 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
5461 (_dl_start_user): Likewise.
5462 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
5464 2014-11-12 Carlos O'Donell <carlos@redhat.com>
5465 Siddhesh Poyarekar <siddhesh@redhat.com>
5467 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
5468 Move argv and envp down instead of moving argc up.
5469 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
5471 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
5474 * test-skeleton.c (main): Return successful if one of
5475 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
5476 * string/tst-strcoll-overflow.c: Define expected status.
5478 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
5481 * locale/iso-639.def: Define Bhili and Tulu language codes.
5483 2014-11-11 Alan Hayward <alan.hayward@arm.com>
5485 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
5487 2014-11-10 Renlin Li <Renlin.Li@arm.com>
5490 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
5492 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
5494 * configure.ac: Updated check of minimal required version to
5496 * manual/install.texi (Tools for Compilation): Updated version
5498 * configure: Regenerated.
5499 * INSTALL: Likewise.
5501 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
5503 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
5506 2014-11-07 Joseph Myers <joseph@codesourcery.com>
5508 * include/sys/wait.h (__libc_waitpid): Remove declaration.
5509 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
5510 (__waitpid): Don't define as alias. Use libc_hidden_def not
5512 (waitpid): Define as alias of __waitpid.
5513 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
5515 (__waitpid): Don't define as alias. Use libc_hidden_def not
5517 (waitpid): Define as alias of __waitpid.
5518 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
5519 __libc_waitpid alias.
5520 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
5521 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
5523 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
5524 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
5525 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
5527 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
5529 (__waitpid): Don't define as alias. Use libc_hidden_def not
5531 (waitpid): Define as alias of __waitpid.
5533 2014-11-06 Carlos O'Donell <carlos@redhat.com>
5535 * manual/llio.texi: Add comment that write safety has been
5538 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
5539 (localplt-build-dso): Add elf/ld.so.
5540 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
5541 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
5543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
5544 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
5545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
5547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5549 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
5550 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
5551 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
5552 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
5553 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5554 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
5555 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
5556 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
5557 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5558 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
5559 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5561 2014-11-05 Joseph Myers <joseph@codesourcery.com>
5564 * include/libc-symbols.h (INTUSE): Remove macro.
5566 (INTVARDEF): Likewise.
5567 (_INTVARDEF): Likewise.
5568 (INTDEF2): Likewise.
5569 (INTVARDEF2): Likewise.
5570 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
5571 rtld_hidden_def instead of INTVARDEF.
5572 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
5573 (_dl_starting_up_internal): Remove declaration.
5574 (_dl_starting_up): Use rtld_hidden_proto.
5575 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
5577 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
5578 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
5580 * elf/dl-writev.h (_dl_writev): Likewise.
5581 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
5582 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
5583 _dl_starting_up_internal.
5585 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5587 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
5590 2014-11-05 Will Newton <will.newton@linaro.org>
5592 * benchtests/Makefile: (bench-malloc): Add malloc thread
5593 scalability benchmark.
5594 * benchtests/bench-malloc-threads.c: New file.
5596 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
5598 * sysdeps/aarch64/strchrnul.S: New file.
5600 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5602 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
5604 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5606 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5608 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5610 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5612 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5615 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
5617 * catgets/test-gencat.c: Use test-skeleton.c.
5618 * catgets/tst-catgets.c: Likewise.
5619 * csu/tst-empty.c: Likewise.
5620 * elf/tst-audit2.c: Likewise.
5621 * elf/tst-global1.c: Likewise.
5622 * elf/tst-pathopt.c: Likewise.
5623 * elf/tst-piemod1.c: Likewise.
5624 * elf/tst-tls10.c: Likewise.
5625 * elf/tst-tls11.c: Likewise.
5626 * elf/tst-tls12.c: Likewise.
5627 * gnulib/tst-gcc.c: Likewise.
5628 * iconvdata/tst-e2big.c: Likewise.
5629 * iconvdata/tst-loading.c: Likewise.
5630 * iconv/tst-iconv1.c: Likewise.
5631 * iconv/tst-iconv2.c: Likewise.
5632 * inet/test-inet6_opt.c: Likewise.
5633 * inet/tst-gethnm.c: Likewise.
5634 * inet/tst-network.c: Likewise.
5635 * inet/tst-ntoa.c: Likewise.
5636 * intl/tst-codeset.c: Likewise.
5637 * intl/tst-gettext2.c: Likewise.
5638 * intl/tst-gettext3.c: Likewise.
5639 * intl/tst-ngettext.c: Likewise.
5640 * intl/tst-translit.c: Likewise.
5641 * io/test-stat.c: Likewise.
5642 * libio/test-fmemopen.c: Likewise.
5643 * libio/tst-freopen.c: Likewise.
5644 * libio/tst-sscanf.c: Likewise.
5645 * libio/tst-ungetwc1.c: Likewise.
5646 * libio/tst-ungetwc2.c: Likewise.
5647 * libio/tst-widetext.c: Likewise.
5648 * localedata/tst-ctype.c: Likewise.
5649 * localedata/tst-digits.c: Likewise.
5650 * localedata/tst-leaks.c: Likewise.
5651 * localedata/tst-mbswcs1.c: Likewise.
5652 * localedata/tst-mbswcs2.c: Likewise.
5653 * localedata/tst-mbswcs3.c: Likewise.
5654 * localedata/tst-mbswcs4.c: Likewise.
5655 * localedata/tst-mbswcs5.c: Likewise.
5656 * localedata/tst-setlocale.c: Likewise.
5657 * localedata/tst-trans.c: Likewise.
5658 * localedata/tst-wctype.c: Likewise.
5659 * localedata/tst-xlocale1.c: Likewise.
5660 * login/tst-grantpt.c: Likewise.
5661 * malloc/tst-calloc.c: Likewise.
5662 * malloc/tst-malloc.c: Likewise.
5663 * malloc/tst-mallocstate.c: Likewise.
5664 * malloc/tst-mcheck.c: Likewise.
5665 * malloc/tst-mtrace.c: Likewise.
5666 * malloc/tst-obstack.c: Likewise.
5667 * math/atest-exp2.c: Likewise.
5668 * math/atest-exp.c: Likewise.
5669 * math/atest-sincos.c: Likewise.
5670 * math/test-matherr.c: Likewise.
5671 * math/test-misc.c: Likewise.
5672 * math/test-powl.c: Likewise.
5673 * math/tst-definitions.c: Likewise.
5674 * misc/tst-dirname.c: Likewise.
5675 * misc/tst-efgcvt.c: Likewise.
5676 * misc/tst-fdset.c: Likewise.
5677 * misc/tst-hsearch.c: Likewise.
5678 * misc/tst-mntent2.c: Likewise.
5679 * nptl/tst-sem7.c: Likewise.
5680 * nptl/tst-sem8.c: Likewise.
5681 * nptl/tst-sem9.c: Likewise.
5682 * nss/test-netdb.c: Likewise.
5683 * posix/tst-fnmatch.c: Likewise.
5684 * posix/tst-getlogin.c: Likewise.
5685 * posix/tst-gnuglob.c: Likewise.
5686 * posix/tst-mmap.c: Likewise.
5687 * pwd/tst-getpw.c: Likewise.
5688 * resolv/tst-inet_ntop.c: Likewise.
5689 * rt/tst-timer.c: Likewise.
5690 * stdio-common/test-fseek.c: Likewise.
5691 * stdio-common/test-popen.c: Likewise.
5692 * stdio-common/test-vfprintf.c: Likewise.
5693 * stdio-common/tst-cookie.c: Likewise.
5694 * stdio-common/tst-fileno.c: Likewise.
5695 * stdio-common/tst-gets.c: Likewise.
5696 * stdio-common/tst-obprintf.c: Likewise.
5697 * stdio-common/tst-perror.c: Likewise.
5698 * stdio-common/tst-sprintf2.c: Likewise.
5699 * stdio-common/tst-sprintf3.c: Likewise.
5700 * stdio-common/tst-sprintf.c: Likewise.
5701 * stdio-common/tst-swprintf.c: Likewise.
5702 * stdio-common/tst-tmpnam.c: Likewise.
5703 * stdio-common/tst-unbputc.c: Likewise.
5704 * stdio-common/tst-wc-printf.c: Likewise.
5705 * stdlib/tst-environ.c: Likewise.
5706 * stdlib/tst-fmtmsg.c: Likewise.
5707 * stdlib/tst-limits.c: Likewise.
5708 * stdlib/tst-rand48-2.c: Likewise.
5709 * stdlib/tst-rand48.c: Likewise.
5710 * stdlib/tst-random2.c: Likewise.
5711 * stdlib/tst-random.c: Likewise.
5712 * stdlib/tst-strtol.c: Likewise.
5713 * stdlib/tst-strtoll.c: Likewise.
5714 * stdlib/tst-tls-atexit.c: Likewise.
5715 * stdlib/tst-xpg-basename.c: Likewise.
5716 * string/test-ffs.c: Likewise.
5717 * string/tst-bswap.c: Likewise.
5718 * string/tst-inlcall.c: Likewise.
5719 * string/tst-strtok.c: Likewise.
5720 * string/tst-strxfrm.c: Likewise.
5721 * sysdeps/x86_64/tst-audit10.c: Likewise.
5722 * sysdeps/x86_64/tst-audit3.c: Likewise.
5723 * sysdeps/x86_64/tst-audit4.c: Likewise.
5724 * sysdeps/x86_64/tst-audit5.c: Likewise.
5725 * time/tst-ftime_l.c: Likewise.
5726 * time/tst-getdate.c: Likewise.
5727 * time/tst-mktime3.c: Likewise.
5728 * time/tst-mktime.c: Likewise.
5729 * time/tst-posixtz.c: Likewise.
5730 * time/tst-strptime2.c: Likewise.
5731 * time/tst-strptime3.c: Likewise.
5732 * wcsmbs/tst-btowc.c: Likewise.
5733 * wcsmbs/tst-mbrtowc.c: Likewise.
5734 * wcsmbs/tst-mbsrtowcs.c: Likewise.
5735 * wcsmbs/tst-wchar-h.c: Likewise.
5736 * wcsmbs/tst-wcpncpy.c: Likewise.
5737 * wcsmbs/tst-wcrtomb.c: Likewise.
5738 * wcsmbs/tst-wcsnlen.c: Likewise.
5739 * wcsmbs/tst-wcstof.c: Likewise.
5741 2014-11-04 Joseph Myers <joseph@codesourcery.com>
5744 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
5746 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
5748 (_dl_mcount): Use rtld_hidden_proto.
5749 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
5751 * elf/rtld.c (_rtld_global_ro): Likewise.
5754 * elf/dl-init.c (_dl_init): Don't use INTDEF.
5755 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
5756 of _dl_init_internal.
5757 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
5758 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
5759 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
5760 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
5761 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
5762 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5763 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
5764 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
5765 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
5766 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
5767 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5768 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5769 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5770 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5771 * sysdeps/tile/dl-start.S (_start): Likewise.
5772 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5773 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5776 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5777 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5778 (rtld_progname): Make macro definition unconditional.
5779 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5781 (dlmopen_doit): Do not use INTUSE with _dl_argv.
5782 (dl_main): Likewise.
5783 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5784 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5785 instead of _dl_argv_internal.
5786 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5787 __GI__dl_argv instead of INTUSE(_dl_argv).
5788 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5789 __GI__dl_argv instead of _dl_argv_internal.
5791 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5792 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5794 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5795 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5797 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5798 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5800 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5801 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5803 2014-11-04 Andreas Schwab <schwab@suse.de>
5805 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5807 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5809 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5810 mtvsrd instruction in binary form.
5812 2014-11-03 Andreas Schwab <schwab@suse.de>
5815 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5816 for less than MB_LEN_MAX use a local buffer of that size.
5817 * libio/tst-fputws.c: New file.
5818 * libio/Makefile (tests): Add tst-fputws.
5820 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
5822 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5823 the size of the fpu_fr.fpu_dregs[] array.
5825 2014-11-01 Joseph Myers <joseph@codesourcery.com>
5827 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5828 (__nanosleep): Do not define as alias.
5829 (nanosleep): Define as alias of __nanosleep.
5830 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5831 __libc_nanosleep name.
5833 2014-10-31 Joseph Myers <joseph@codesourcery.com>
5835 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5836 install.texi in comment.
5838 2014-10-31 Torvald Riegel <triegel@redhat.com>
5840 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5841 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5842 ... add here and use lwsync or sync ...
5843 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5844 ... and add here using lwsync.
5846 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
5848 * elf/dl-machine-reject-phdr.h: New file.
5849 * elf/dl-load.c: #include that.
5850 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
5851 if that returned true.
5853 2014-10-31 Roland McGrath <roland@hack.frob.com>
5856 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
5857 gen-as-const-headers chunk. Add a big scare comment after the last
5858 safe place to touch before-compile.
5860 2014-10-31 Joseph Myers <joseph@codesourcery.com>
5862 * manual/install.texi (Tools for Compilation): Update autoconf
5863 version requirements.
5864 * INSTALL: Regenerated.
5866 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
5867 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
5868 (__libc_pselect): Likewise.
5871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
5872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5876 2014-10-31 Torvald Riegel <triegel@redhat.com>
5878 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
5879 correct barrier instruction.
5880 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
5882 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
5885 2014-10-30 Roland McGrath <roland@hack.frob.com>
5887 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
5888 after defining inlines. Instead, just use parens to defeat macro
5889 expansion of __isctype in its declaration.
5891 2014-10-30 Joseph Myers <joseph@codesourcery.com>
5893 * include/sys/uio.h (__libc_readv): Remove declaration.
5894 (__libc_writev): Likewise.
5895 * misc/readv.c (__libc_readv): Rename to __readv.
5896 (__readv): Do not define as alias.
5897 (readv): Define as alias of __readv.
5898 * misc/writev.c (__libc_writev): Rename to __writev.
5899 (__writev): Do not define as alias.
5900 (writev): Define as alias of __writev.
5901 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
5902 (__readv): Do not define as alias.
5903 (readv): Define unconditionally as alias of __readv.
5904 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
5905 (__writev): Do not define as alias.
5906 (writev): Define unconditionally as alias of __writev.
5907 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
5909 (writev): Do not define __libc_writev name.
5911 2014-10-30 Roland McGrath <roland@hack.frob.com>
5913 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
5914 (convert_charseq): New function, broken out of ...
5915 (use_from_charmap): ... here. Call it.
5916 (use_to_charmap): Use convert_charseq and free instead of duplicating
5917 its code with a variable-length stack struct.
5919 2014-10-30 Joseph Myers <joseph@codesourcery.com>
5921 * include/fcntl.h (__libc_creat): Remove declaration.
5922 * io/creat.c (__libc_creat): Rename to creat.
5923 (creat): Do not define as alias.
5924 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
5925 of creat instead of __libc_creat.
5926 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
5928 (creat): Do not define as alias.
5929 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
5931 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5933 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5936 2014-10-29 Carlos O'Donell <carlos@redhat.com>
5938 * manual/llio.texi: Add comments discussing why write() may be
5939 considered MT-unsafe on Linux.
5941 2014-10-28 Carlos O'Donell <carlos@redhat.com>
5943 * dl-load.c (local_strdup): Remove.
5944 (expand_dynamic_string_token): Use __strdup.
5945 (decompose_rpath): Likewise.
5946 (_dl_map_object): Likewise.
5948 2014-10-28 Joseph Myers <joseph@codesourcery.com>
5951 * sysdeps/generic/unwind-dw2-fde.c
5952 (__register_frame_info_bases_internal): Do not declare.
5953 (__register_frame_info_table_bases_internal): Likewise.
5954 (__deregister_frame_info_bases_internal): Likewise.
5955 (__register_frame_info_bases): Declare and use hidden_proto before
5956 definition. Use hidden_def instead of INTDEF.
5957 (__register_frame_info_table_bases): Likewise.
5958 (__deregister_frame_info_bases): Likewise.
5959 (__register_frame_info): Do not use INTUSE.
5960 (__register_frame): Likewise.
5961 (__register_frame_info_table): Likewise.
5962 (__register_frame_table): Likewise.
5963 (__deregister_frame_info): Likewise.
5964 (__deregister_frame): Likewise.
5966 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
5968 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5969 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5971 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5973 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5976 2014-10-27 Joseph Myers <joseph@codesourcery.com>
5979 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5980 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5981 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5982 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5983 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5984 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5985 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5986 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5987 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5988 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5989 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5990 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5991 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5993 (setfsuid): Likewise.
5994 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5995 (setfsuid): Likewise.
5996 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5997 (setfsuid): Likewise.
5998 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6000 (setfsuid): Likewise.
6001 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6002 (setfsuid): Likewise.
6003 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6005 (setfsuid): Likewise.
6007 2014-10-27 Andreas Schwab <schwab@suse.de>
6010 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6011 check for Slow_SSE4_2 feature bit.
6012 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6013 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6014 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6015 Likewise. Fix check for Fast_Unaligned_Load feature bit.
6017 2014-10-24 Roland McGrath <roland@hack.frob.com>
6019 * configure.ac: Validate compiler version with a empirical test of
6020 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
6022 * configure: Regenerated.
6024 * inet/htons.c (htons): Prototypify.
6025 * inet/htonl.c (htonl): Likewise.
6027 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6029 * string/strncat.c (strncat): Improve performance by using strlen.
6031 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6033 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
6035 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6037 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
6038 Call libc_fetestexcept_aarch64.
6040 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6042 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
6043 Call libc_feholdexcept_aarch64.
6045 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6047 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6048 Call get_rounding_mode.
6050 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6052 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6055 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6057 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6060 2014-10-24 Joseph Myers <joseph@codesourcery.com>
6063 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6064 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6065 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6066 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6067 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6068 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6069 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6070 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6071 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6072 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6073 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6074 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6075 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6076 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
6077 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
6078 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
6079 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6080 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6081 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6082 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6083 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6084 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6085 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6086 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6087 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6088 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6089 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6090 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6091 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6092 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6093 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6094 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6095 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6096 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6097 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6098 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6099 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6100 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6101 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6102 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6103 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6105 (geteuid): Likewise.
6108 (getresgid): Likewise.
6109 (getresuid): Likewise.
6110 (getgroups): Likewise.
6111 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6112 (geteuid): Likewise.
6115 (getresgid): Likewise.
6116 (getresuid): Likewise.
6117 (getgroups): Likewise.
6118 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
6119 (geteuid): Likewise.
6122 (getresgid): Likewise.
6123 (getresuid): Likewise.
6124 (getgroups): Likewise.
6125 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6127 (geteuid): Likewise.
6130 (getresgid): Likewise.
6131 (getresuid): Likewise.
6132 (getgroups): Likewise.
6133 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6134 (geteuid): Likewise.
6137 (getresgid): Likewise.
6138 (getresuid): Likewise.
6139 (getgroups): Likewise.
6140 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6142 (geteuid): Likewise.
6145 (getgroups): Likewise.
6148 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6149 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6150 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6151 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6152 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6153 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6154 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6155 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6156 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6157 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6158 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6159 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6160 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6162 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
6165 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6169 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6172 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6177 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6179 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6182 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6184 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6187 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6189 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6190 Remove unused include.
6192 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6194 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6195 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6196 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6197 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6199 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
6200 Helge Deller <deller@gmx.de>
6203 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6204 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6205 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6207 2014-10-23 Joseph Myers <joseph@codesourcery.com>
6210 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6211 Remove macro definition.
6212 (__ashrdi3_v_glibc20): Likewise.
6213 (__lshrdi3_v_glibc20): Likewise.
6214 (__cmpdi2_v_glibc20): Likewise.
6215 (__ucmpdi2_v_glibc20): Likewise.
6216 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6217 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6218 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6219 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6220 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6221 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6223 2014-10-22 Roland McGrath <roland@hack.frob.com>
6225 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6226 old GNU extension [0] syntax.
6227 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6228 alloca rather than an array member with variable length.
6229 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6230 * nscd/nscd.c (invalidate_db): New function, broken out of ...
6231 (parse_opt): ... here. Likewise use alloca there.
6232 Validate the -i argument before checking for rootness.
6233 (send_shutdown): New function, broken out of ...
6234 (parse_opt): ... here.
6236 2014-10-22 Roland McGrath <roland@hack.frob.com>
6238 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6239 macro to get at the _rt_local_ro field.
6240 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6241 ([PIC] case) or _dl_hwcap ([!PIC] case).
6242 * sysdeps/arm/setjmp.S: Likewise.
6244 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6245 * sysdeps/arm/configure.ac: New check to define it.
6246 * sysdeps/arm/configure: Regenerated.
6247 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6248 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6249 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6250 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6251 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6252 Use move/movt pair instead of a load.
6253 (LDST_GLOBAL): Macro removed.
6254 (LDR_GLOBAL): New macro replaces it.
6255 (LDR_HIDDEN): New macro.
6256 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
6257 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
6259 * setjmp/tst-setjmp-static.c: New file.
6260 * setjmp/Makefile (tests): Add it.
6261 (tests-static): New variable.
6263 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
6266 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
6268 2014-10-21 Joseph Myers <joseph@codesourcery.com>
6271 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
6273 2014-10-21 Roland McGrath <roland@hack.frob.com>
6275 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
6277 2014-10-20 Roland McGrath <roland@hack.frob.com>
6279 * io/fts.c (dirent_not_directory): New function.
6280 (fts_build): Call it.
6282 2014-10-20 Roland McGrath <roland@hack.frob.com>
6284 * nptl/version.c (__nptl_main): Use normal __write rather than
6286 (banner): Update copyright years.
6288 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
6290 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6291 * nptl/pthread_cond_timedwait.c: Likewise.
6292 * nptl/pthread_mutex_timedlock.c: Likewise.
6293 * nptl/sem_timedwait.c: Likewise.
6295 * sysdeps/nptl/bits/libc-lock.h
6296 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6297 (__libc_lock_init_recursive): Return void, not 0.
6298 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
6299 (__libc_rwlock_init): Likewise.
6300 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
6302 2014-10-20 Torvald Riegel <triegel@redhat.com>
6305 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
6306 (__pthread_once_slow): ... here.
6307 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
6308 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
6310 2014-10-20 Torvald Riegel <triegel@redhat.com>
6313 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
6314 __PTHREAD_ONCE_FORK_GEN_INCR): New.
6315 * sysdeps/nptl/fork.c (__libc_fork): Use them.
6316 * nptl/pthread_once.c (__pthread_once): Likewise.
6319 2014-10-20 Joseph Myers <joseph@codesourcery.com>
6322 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
6324 (writev): Use __libc_writev as strong name.
6325 * sysdeps/unix/sysv/linux/readv.c: Remove file.
6326 * sysdeps/unix/sysv/linux/writev.c: Likewise.
6328 2014-10-17 Roland McGrath <roland@hack.frob.com>
6330 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
6332 * sysdeps/i386/nptl/tls.h
6333 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
6334 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
6336 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
6337 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
6338 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
6339 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
6340 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
6341 Call CHECK_THREAD_SYSINFO instead of doing an assert.
6343 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6344 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
6346 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
6348 (__pthread_mutex_init): ... here. Call it.
6349 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
6350 Conditionalize PI cases on [__NR_futex].
6351 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6352 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6353 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6355 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
6356 conditional on [SIGSETXID].
6357 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
6358 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
6359 is defined. Likewise for SIGSETXID.
6360 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
6361 Conditionalize definitions on [SIGSETXID].
6362 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
6363 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
6364 unblocking on [SIGCANCEL].
6366 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
6367 [__NR_set_robust_list].
6369 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6371 * string/strcoll_l.c (get_next_seq): Fix up formatting.
6372 (do_compare): Likewise.
6374 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
6377 * string/strcoll_l.c: Don't include stdio.h.
6378 (coll_seq): Remove members idxarr and rulearr.
6379 (get_next_seq_cached): Remove function.
6380 (get_next_seq): Likewise.
6381 (get_next_seq_nocache): Rename to get_next_seq.
6382 (do_compare): Remove function.
6383 (do_compare_nocache): Rename to do_compare.
6384 (STRCOLL): Remove weight and rules cache.
6386 2014-10-16 Roland McGrath <roland@hack.frob.com>
6388 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
6389 * sysdeps/arm/sfp-machine.h: ... to here.
6390 * sysdeps/arm/Implies: Remove arm/soft-fp.
6392 2014-10-14 Joseph Myers <joseph@codesourcery.com>
6394 * conform/data/sys/utsname.h-data (*_t): Allow.
6395 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
6396 [POSIX] (WEXITED): Do not expect constant.
6397 [POSIX] (WSTOPPED): Likewise.
6398 [POSIX] (WNOHANG): Likewise.
6399 [POSIX] (WNOWAIT): Likewise.
6400 [POSIX] (siginfo_t): Do not expect type or elements.
6401 [POSIX] (pid_t): Do not expect type.
6402 [POSIX] (signal.h): Do not allow header.
6403 [POSIX] (sys/resource.h): Likewise.
6404 [POSIX] (si_*): Do not allow pattern.
6405 [POSIX] (W*): Likewise.
6406 [POSIX] (P_*): Likewise.
6407 [POSIX] (BUS_*): Likewise.
6408 [POSIX] (CLD_*): Likewise.
6409 [POSIX] (FPE_*): Likewise.
6410 [POSIX] (ILL_*): Likewise.
6411 [POSIX] (POLL_*): Likewise.
6412 [POSIX] (SEGV_*): Likewise.
6413 [POSIX] (SI_*): Likewise.
6414 [POSIX] (TRAP_*): Likewise.
6415 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
6418 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6421 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
6422 infinite loop when __recvmsg returns 0.
6424 2014-10-10 Joseph Myers <joseph@codesourcery.com>
6426 * CANCEL-FCT-WAIVE: Remove file.
6427 * CANCEL-FILE-WAIVE: Likewise.
6430 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
6431 instead of INTVARDEF.
6432 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6433 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
6434 rtld_hidden_data_def instead of INTVARDEF.
6435 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6436 * elf/dl-deps.c (expand_dst): Likewise.
6437 * elf/dl-load.c (_dl_dst_count): Likewise.
6438 (_dl_dst_substitute): Likewise.
6439 (decompose_rpath): Likewise.
6440 (_dl_init_paths): Likewise.
6441 (open_path): Likewise.
6442 (_dl_map_object): Likewise.
6443 * elf/rtld.c (dl_main): Likewise.
6444 (process_dl_audit): Likewise.
6445 (process_envvars): Likewise.
6446 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
6448 (__libc_enable_secure): Use rtld_hidden_proto.
6450 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6453 (add_path): New function broken out of _dl_rtld_di_serinfo.
6454 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
6456 2014-10-09 Joseph Myers <joseph@codesourcery.com>
6458 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
6459 parentheses around macro arguments.
6460 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
6461 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
6462 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
6463 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
6464 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
6465 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6466 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6467 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
6468 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
6469 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
6470 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
6471 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
6472 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
6473 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
6474 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
6475 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
6476 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
6477 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
6478 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
6479 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
6480 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
6481 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
6482 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
6483 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6484 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6485 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
6486 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
6487 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
6488 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
6489 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
6490 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
6491 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
6492 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
6493 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
6494 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
6495 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
6497 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
6498 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6499 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6500 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
6501 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
6502 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
6503 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
6504 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
6505 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
6506 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
6507 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
6508 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
6509 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
6510 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
6511 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
6512 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6513 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6514 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
6515 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
6516 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
6517 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
6518 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
6519 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
6520 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
6521 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
6522 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
6523 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
6524 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
6525 (_FP_FRAC_SRS_1): Likewise.
6526 (_FP_FRAC_CLZ_1): Likewise.
6527 (_FP_MUL_MEAT_1_imm): Likewise.
6528 (_FP_MUL_MEAT_1_wide): Likewise.
6529 (_FP_MUL_MEAT_1_hard): Likewise.
6530 (_FP_SQRT_MEAT_1): Likewise.
6531 (_FP_FRAC_ASSEMBLE_1): Likewise.
6532 (_FP_FRAC_DISASSEMBLE_1): Likewise.
6533 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
6534 (__FP_CLZ_2): Likewise.
6535 (_FP_MUL_MEAT_2_wide): Likewise.
6536 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6537 (_FP_MUL_MEAT_2_gmp): Likewise.
6538 (_FP_MUL_MEAT_2_120_240_double): Likewise.
6539 (_FP_SQRT_MEAT_2): Likewise.
6540 (_FP_FRAC_ASSEMBLE_2): Likewise.
6541 (_FP_FRAC_DISASSEMBLE_2): Likewise.
6542 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
6543 (_FP_FRAC_CLZ_4): Likewise.
6544 (_FP_MUL_MEAT_4_wide): Likewise.
6545 (_FP_MUL_MEAT_4_gmp): Likewise.
6546 (_FP_SQRT_MEAT_4): Likewise.
6547 (_FP_FRAC_ASSEMBLE_4): Likewise.
6548 (_FP_FRAC_DISASSEMBLE_4): Likewise.
6549 * soft-fp/op-common.h (_FP_CMP): Likewise.
6550 (_FP_CMP_EQ): Likewise.
6551 (_FP_CMP_UNORD): Likewise.
6552 (_FP_TO_INT): Likewise.
6553 (_FP_FROM_INT): Likewise.
6554 [!__FP_CLZ] (__FP_CLZ): Likewise.
6555 (_FP_DIV_HELP_imm): Likewise.
6556 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
6558 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
6559 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
6560 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
6561 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
6562 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
6563 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6564 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6565 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
6566 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
6567 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
6568 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
6569 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
6570 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
6571 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
6572 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
6573 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
6574 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
6575 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
6576 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
6577 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
6578 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
6579 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
6580 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
6581 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6582 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6583 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
6584 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
6585 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
6586 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
6587 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
6588 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
6589 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
6590 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
6591 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
6592 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
6593 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
6594 (FP_UNPACK_RAW_SP): Likewise.
6595 (FP_PACK_RAW_S): Likewise.
6596 (FP_PACK_RAW_SP): Likewise.
6597 (FP_UNPACK_S): Likewise.
6598 (FP_UNPACK_SP): Likewise.
6599 (FP_UNPACK_SEMIRAW_S): Likewise.
6600 (FP_UNPACK_SEMIRAW_SP): Likewise.
6601 (FP_PACK_S): Likewise.
6602 (FP_PACK_SP): Likewise.
6603 (FP_PACK_SEMIRAW_S): Likewise.
6604 (FP_PACK_SEMIRAW_SP): Likewise.
6605 (_FP_SQRT_MEAT_S): Likewise.
6606 (FP_CMP_S): Likewise.
6607 (FP_CMP_EQ_S): Likewise.
6608 (FP_CMP_UNORD_S): Likewise.
6609 (FP_TO_INT_S): Likewise.
6610 (FP_FROM_INT_S): Likewise.
6612 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
6614 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
6615 (FP_EX_INVALID_IMZ): Likewise.
6616 (FP_EX_INVALID_IMZ_FMA): Likewise.
6617 (FP_EX_INVALID_ISI): Likewise.
6618 (FP_EX_INVALID_ZDZ): Likewise.
6619 (FP_EX_INVALID_IDI): Likewise.
6620 (FP_EX_INVALID_SQRT): Likewise.
6621 (FP_EX_INVALID_CVI): Likewise.
6622 (FP_EX_INVALID_VC): Likewise.
6623 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
6624 "invalid" exceptions.
6625 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
6626 (_FP_ADD_INTERNAL): Likewise.
6627 (_FP_MUL): Likewise.
6628 (_FP_FMA): Likewise.
6629 (_FP_DIV): Likewise.
6630 (_FP_CMP_CHECK_NAN): Likewise.
6631 (_FP_SQRT): Likewise.
6632 (_FP_TO_INT): Likewise.
6633 (FP_EXTEND): Likewise.
6635 2014-10-09 Allan McRae <allan@archlinux.org>
6637 * po/fr.po: Update French translation from translation project.
6639 2014-10-09 Joseph Myers <joseph@codesourcery.com>
6642 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
6644 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
6645 (__cxa_atexit): Use libc_hidden_proto.
6646 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
6649 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
6651 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
6652 [!_ISOMAC] (__iswspace_l_internal): Likewise.
6653 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
6654 [!_ISOMAC] (__iswctype_internal): Likewise.
6655 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
6656 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
6658 (fcntl): Remove __fcntl_internal alias.
6659 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
6660 __connect_internal alias.
6661 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
6664 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
6665 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
6667 (_FP_CHECK_FLUSH_ZERO): New macro.
6668 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
6669 (_FP_CMP): Likewise.
6670 (_FP_CMP_EQ): Likewise.
6671 (_FP_TO_INT): Do not set inexact for subnormal arguments if
6673 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
6674 (FP_TRUNC): Likewise.
6676 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
6677 treated as invalid conversion, not as normal exponent.
6679 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
6680 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
6681 (_FP_CMP_EQ): Likewise.
6682 (_FP_CMP_UNORD): Likewise.
6683 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
6684 (FP_CMP_EQ_D): Likewise.
6685 (FP_CMP_UNORD_D): Likewise.
6686 * soft-fp/extended.h (FP_CMP_E): Likewise.
6687 (FP_CMP_EQ_E): Likewise.
6688 (FP_CMP_UNORD_E): Likewise.
6689 * soft-fp/quad.h (FP_CMP_Q): Likewise.
6690 (FP_CMP_EQ_Q): Likewise.
6691 (FP_CMP_UNORD_Q): Likewise.
6692 * soft-fp/single.h (FP_CMP_S): Likewise.
6693 (FP_CMP_EQ_S): Likewise.
6694 (FP_CMP_UNORD_S): Likewise.
6695 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
6696 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
6697 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
6698 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
6699 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
6700 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
6701 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
6702 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
6703 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
6704 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
6705 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
6706 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
6707 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
6709 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
6711 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
6712 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
6714 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
6716 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
6717 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
6718 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
6719 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
6721 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
6723 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
6724 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
6726 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
6728 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
6729 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
6730 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
6731 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
6734 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
6735 a subnormal result, set the underflow exception if trapping on
6736 underflow is enabled.
6737 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
6738 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
6739 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
6741 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
6742 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6743 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6744 * soft-fp/extendxftf2.c (__extendxftf2): Use
6745 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
6747 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
6748 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
6749 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6750 FP_HANDLE_EXCEPTIONS.
6751 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
6752 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6753 FP_HANDLE_EXCEPTIONS.
6754 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
6755 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6756 FP_HANDLE_EXCEPTIONS.
6757 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
6758 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6759 FP_HANDLE_EXCEPTIONS.
6761 2014-10-08 Joseph Myers <joseph@codesourcery.com>
6764 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
6765 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
6767 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6768 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6770 (__adjtimex): Define using libc_hidden_ver.
6771 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6773 (ntp_gettime): Call __adjtimex directly.
6774 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6776 (ntp_gettimex): Call __adjtimex directly.
6777 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6778 __adjtimex_internal alias.
6780 2014-10-08 Roland McGrath <roland@hack.frob.com>
6783 * nscd/nscd.c (more_help): Rewrite list of tables collection
6784 using xstrdup and asprintf.
6786 * nscd/nscd_conf.c: Remove local xstrdup declaration.
6788 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6789 Roland McGrath <roland@hack.frob.com>
6791 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6792 (do_lookup_unique): ... local function 'enter' here; update callers.
6794 2014-10-06 Joseph Myers <joseph@codesourcery.com>
6796 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6797 compat_symbol calls on [SHARED].
6798 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6799 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6801 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6802 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6803 (oldsetrlimit): Remove.
6804 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6806 (lchown): New syscall entry.
6807 (oldsetrlimit): Remove.
6808 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6809 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6810 (oldsetrlimit): Remove.
6811 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6814 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6815 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6816 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6817 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6818 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6819 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6821 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6826 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6828 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6829 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6830 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6831 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6832 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6834 (__old_sem_post): Likewise.
6836 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
6838 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6839 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6840 HAVE_CLOCK_GETTIME_VSYSCALL macros.
6841 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6842 Use INLINE_VSYSCALL macro.
6843 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6844 __vdso_clock_gettime.
6845 * sysdeps/unix/sysv/linux/tile/init-first.c
6846 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6847 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6848 __vdso_clock_gettime.
6850 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
6851 to set up frame more cleanly.
6853 * sysdeps/tile/memcmp.c: New file.
6855 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
6857 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
6858 * sysdeps/tile/tilegx/strcasestr.c: New file.
6859 * sysdeps/tile/tilegx/strnlen.c: New file.
6860 * sysdeps/tile/tilegx/strstr.c: New file.
6862 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
6864 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
6866 * nptl/tst-setuid3.c: Write errors to stdout.
6868 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6871 (preload): New functions broken out of _dl_map_object_deps.
6872 (_dl_map_object_deps): Remove a nested function. Update call sites.
6874 2014-10-01 Joseph Myers <joseph@codesourcery.com>
6877 * sysdeps/unix/sysv/linux/execve.c: Remove file.
6878 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
6880 2014-10-01 Steve Ellcey <sellcey@mips.com>
6882 * sysdeps/mips/strcmp.S: New.
6884 2014-09-30 Joseph Myers <joseph@codesourcery.com>
6887 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
6889 (mkdirat): Likewise.
6890 (readlinkat): Likewise.
6891 (renameat): Likewise.
6892 (symlinkat): Likewise.
6893 (unlinkat): Likewise.
6894 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
6895 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
6896 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
6897 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
6898 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6899 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
6900 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
6902 2014-09-30 Will Newton <will.newton@linaro.org>
6904 * math/math.h: Define long double math functions if
6905 _LIBC_TEST is defined.
6906 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
6908 * localedata/Makefile: Move assignment to tests-special
6909 into an ifdef testing run-built-tests.
6910 * timezone/Makefile: Likewise.
6912 2014-09-29 Joseph Myers <joseph@codesourcery.com>
6914 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
6915 with $(BASH) not $(SHELL).
6917 2014-09-29 Carlos O'Donell <carlos@redhat.com>
6918 Matthew LeGendre <legendre1@llnl.gov>
6921 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
6924 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6926 * stdio-common/printf_fp.c
6927 (hack_digit): New function, broken out of ...
6928 (__printf_fp): ... local function here. Update call sites.
6929 hack_digit now takes an additional parameter that is a pointer
6930 to a struct of the referenced locals. Those locals moved inside
6931 the struct and references updated.
6933 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
6935 * aclocal.m4: Require autoconf 2.69.
6936 * configure: Regenerated.
6937 * sysdeps/aarch64/configure: Likewise.
6938 * sysdeps/alpha/configure: Likewise.
6939 * sysdeps/arm/armv7/configure: Likewise.
6940 * sysdeps/arm/configure: Likewise.
6941 * sysdeps/ia64/configure: Likewise.
6942 * sysdeps/mach/configure: Likewise.
6943 * sysdeps/mips/configure: Likewise.
6944 * sysdeps/s390/configure: Likewise.
6945 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6948 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6950 * sysdeps/ia64/configure.ac: Likewise.
6952 2014-09-26 Joseph Myers <joseph@codesourcery.com>
6954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6955 specify symbol version for ld.so. Do not include entry for
6957 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6958 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6959 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6962 * Makeconfig [$(build-shared) = yes]
6963 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6965 [$(build-shared) = yes && $(soversions.mk-done) = t]
6966 ($(common-objpfx)gnu/lib-names.h): Remove rule.
6967 [$(build-shared) = yes && $(soversions.mk-done) = t]
6968 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
6970 [$(build-shared) = yes && $(soversions.mk-done) = t]
6971 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6973 [$(build-shared) = yes && $(soversions.mk-done) = t]
6974 (common-generated): Don't append gnu/lib-names.h and
6975 gnu/lib-names.stmp here.
6976 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6977 (lib-names-h-abi): New variable.
6978 [$(build-shared) = yes && $(soversions.mk-done) = t]
6979 (lib-names-stmp-abi): Likewise.
6980 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6981 abi-variants] (before-compile): Append
6982 $(common-objpfx)$(lib-names-h-abi).
6983 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6984 abi-variants] (common-generated): Append gnu/lib-names.h.
6985 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6986 abi-variants] (install-others-nosubdir): Depend on
6987 $(inst_includedir)/$(lib-names-h-abi).
6988 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6989 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6990 [$(build-shared) = yes && $(soversions.mk-done) = t]
6991 ($(common-objpfx)$(lib-names-h-abi)): New rule.
6992 [$(build-shared) = yes && $(soversions.mk-done) = t]
6993 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6994 [$(build-shared) = yes && $(soversions.mk-done) = t]
6995 (common-generated): Append $(lib-names-h-abi) and
6996 $(lib-names-stmp-abi).
6997 * scripts/lib-names.awk: Do not handle multi being set.
6998 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7000 (abi-lp64_be-ld-soname): Likewise.
7001 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7003 (abi-hard-ld-soname): Likewise.
7004 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7005 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7007 (abi-o32_hard-ld-soname): Likewise.
7008 (abi-o32_soft_2008-ld-soname): Likewise.
7009 (abi-o32_hard_2008-ld-soname): Likewise.
7010 (abi-n32_soft-ld-soname): Likewise.
7011 (abi-n32_hard-ld-soname): Likewise.
7012 (abi-n32_soft_2008-ld-soname): Likewise.
7013 (abi-n32_hard_2008-ld-soname): Likewise.
7014 (abi-n64_soft-ld-soname): Likewise.
7015 (abi-n64_hard-ld-soname): Likewise.
7016 (abi-n64_soft_2008-ld-soname): Likewise.
7017 (abi-n64_hard_2008-ld-soname): Likewise.
7018 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
7020 (abi-64-v2-ld-soname): Likewise.
7021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
7023 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
7025 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
7027 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
7029 (abi-64-ld-soname): Likewise.
7030 (abi-x32-ld-soname): Likewise.
7031 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
7033 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7035 2014-09-23 Joseph Myers <joseph@codesourcery.com>
7038 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
7039 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7040 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7041 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
7042 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
7043 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
7044 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7045 syscall entry for GLIBC_2.2 symbol version.
7046 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7049 (setrlimit): Likewise.
7050 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7053 2014-09-23 Will Newton <will.newton@linaro.org>
7055 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7056 _LINUX_ARM_SYSDEP_H include guard too.
7057 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7060 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7062 * sysdeps/unix/sysv/linux/eventfd.c:
7063 Make first argument unsigned.
7064 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7065 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7067 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
7069 * socket/recvmmsg.c (recvmmsg): Drop const argument.
7070 * socket/sys/socket.h: Likewise
7071 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7073 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7075 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
7077 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
7079 * time/tst-ftime.c: New test.
7080 * time/Makefile (tests): Add tst-ftime.
7082 2014-09-17 Joseph Myers <joseph@codesourcery.com>
7084 * soft-fp/extended.h: Fix comment formatting.
7085 * soft-fp/op-1.h: Likewise.
7086 * soft-fp/op-2.h: Likewise.
7087 * soft-fp/op-4.h: Likewise.
7088 * soft-fp/op-8.h: Likewise.
7089 * soft-fp/op-common.h: Likewise.
7090 * soft-fp/soft-fp.h: Likewise.
7092 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7094 2014-09-16 Joseph Myers <joseph@codesourcery.com>
7097 * Makeconfig (soversions-default-setname): Remove variable.
7098 ($(common-objpfx)soversions.i): Don't pass default_setname to
7100 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7101 oldest_abi to abi-versions.awk.
7102 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7103 * config.make.in (oldest-abi): Remove variable.
7104 * configure.ac (--enable-oldest-abi): Remove configure option.
7105 * configure: Regenerated.
7106 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7108 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7109 * scripts/soversions.awk: Do not handle default_setname variable.
7110 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7112 * sysdeps/mach/hurd/configure: Regenerated.
7113 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7115 * sysdeps/unix/sysv/linux/configure: Regenerated.
7117 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7119 * elf/Makefile (CFLAGS-interp.c): Remove.
7120 ($(elf-objpfx)runtime-linker.h): Generate header with linker
7122 * elf/interp.c: Include generated runtime-linker.h
7124 * Makerules (lib%.so): Don't include $(+interp) in
7126 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7127 * dlfcn/eval.c: Remove file.
7129 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7133 * misc/sys/cdefs.h: Define __extern_always_inline for clang
7137 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7139 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7140 Jakub Jelinek <jakub@redhat.com>
7143 * libio/stdio.h: Check definition of __fortify_function
7144 instead of __extern_always_inline to include bits/stdio2.h.
7145 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7146 check if __extern_always_inline is defined.
7147 [__USE_MISC || __USE_XOPEN]: Likewise.
7148 [__USE_ISOC99] Likewise.
7149 * misc/sys/cdefs.h (__fortify_function): Define only if
7150 __extern_always_inline is defined.
7151 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7152 __extern_always_inline and __extern_inline only for g++-4.3
7153 and newer or a compatible gcc.
7155 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
7158 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7159 last change to handle zero prefix length.
7161 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7163 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7166 * posix/getconf.c (vars): Add _POSIX_IPV6 and
7169 2014-09-13 Allan McRae <allan@archlinux.org>
7171 * po/ru.po: Update Russian translation from translation project.
7173 2014-09-12 Roland McGrath <roland@hack.frob.com>
7175 * locale/programs/locale.c (show_locale_vars): Inline local function
7176 into its sole call site. Clean up some style nits.
7177 (print_item): New function, broken out of ...
7178 (show_info): ... local function here. Clean up style nits.
7180 * locale/programs/ld-ctype.c (set_one_default): New function, broken
7182 (set_class_defaults): ... local function set_default here.
7183 Define set_default as a macro locally to pass constant parameters.
7184 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7185 rather than a shared local.
7187 * stdlib/rpmatch.c (try): New function, broken out of ...
7188 (rpmatch): ... local function here. Also, prototypify definition.
7190 2014-09-12 Joseph Myers <joseph@codesourcery.com>
7192 * scripts/soversions.awk: Do not handle configuration names.
7193 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7194 vendor and os variables to soversions.awk.
7195 * configure.ac: Do not modify gnu-* host_os.
7196 * configure: Regenerated
7197 * shlib-versions: Remove first column with configuration names.
7198 * nptl/shlib-versions: Likewise.
7199 * nptl_db/shlib-versions: Likewise.
7200 * sysdeps/hppa/shlib-versions: Likewise.
7201 * sysdeps/m68k/shlib-versions: Likewise.
7202 * sysdeps/mach/hurd/shlib-versions: Likewise.
7203 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7204 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7205 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7206 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7207 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7208 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7209 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7210 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7213 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7214 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7215 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7216 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7217 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7218 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7219 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7220 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7223 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7226 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7228 Condition symbol version definitions on [HAVE_ELFV2_ABI].
7230 * shlib-versions: Remove OS-specific entries. Moved to files in
7232 * sysdeps/mach/hurd/shlib-versions: New file.
7233 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7235 * nptl/shlib-versions: Remove architecture-specific entries.
7236 Moved to files in sysdeps.
7237 * shlib-versions: Likewise.
7238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7240 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7241 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7242 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7243 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7245 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7246 (UDP_NO_CHECK6_RX): Likewise.
7248 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7250 * sysdeps/posix/sysconf.c (__sysconf): Spell
7251 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7253 2014-08-12 Florian Weimer <fweimer@redhat.com>
7255 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7257 * iconv/Versions (__gconv_transliterate): Export for use from
7259 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
7260 (struct __gconv_trans_data, __gconv_trans_fct,
7261 __gconv_trans_context_fct, __gconv_trans_query_fct,
7262 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
7264 (struct __gconv_step_data): Remove __trans member.
7265 (__gconv_transliterate): Declaration moved from gconv_int.h. No
7266 longer hidden. Remove unused trans_data argument.
7267 * iconv/gconv_int.h (struct trans_struct): Remove definition.
7268 (__gconv_translit_find): Remove declaration.
7269 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
7271 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
7272 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
7273 trans_data argument. Add hidden definition.
7274 (__gconv_translit_find): Remove.
7275 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
7276 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
7277 * iconv/skeleton.c: Remove transliteration initialization.
7278 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
7279 __gconv_step_data initialization.
7280 * libio/iofwide.c (__libio_translit_): Remove.
7281 (_IO_fwide): Adjust struct __gconv_step_data initialization.
7282 * wcsmbs/btowc.c (__btowc): Likewise.
7283 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7284 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7285 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7286 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7287 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
7288 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7289 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7290 * wcsmbs/wctob.c (wctob): Likewise.
7292 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7295 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
7296 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
7298 * sysdeps/x86/Makefile: Adjust.
7300 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7301 Roland McGrath <roland@hack.frob.com>
7303 * locale/weight.h: Add include guard.
7304 (findidx): Make static rather than auto; take new parameters
7305 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
7306 * locale/weightwc.h: Likewise.
7307 * posix/fnmatch_loop.c
7308 (FCT): Change type of EXTRA from int32_t to wint_t.
7309 Don't include either header inside the function.
7310 Call FINDIDX rather than findidx, and pass new arguments.
7311 #undef FINDIDX at the end of the file.
7312 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
7313 FINDIDX before including fnmatch_loop.c for the non-wide version.
7314 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
7315 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
7316 for the wide version.
7317 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
7318 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
7319 Pass new arguments to findidx.
7320 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
7321 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
7322 Don't #include it inside the function. Pass new arguments to findidx.
7323 * posix/regex_internal.h
7324 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
7325 (re_string_elem_size_at): Don't #include it inside the function.
7326 Pass new arguments to findidx.
7327 * string/strcoll_l.c: #include WEIGHT_H at top level.
7328 (get_next_seq): Don't #include it inside the function.
7329 Pass new arguments to findidx.
7330 (get_next_seq_nocache): Likewise.
7331 * string/strxfrm_l.c: #include WEIGHT_H at top level.
7332 (STRXFRM): Don't #include it inside the function.
7333 Pass new arguments to findidx.
7335 2014-09-11 Florian Weimer <fweimer@redhat.com>
7338 * malloc/malloc.c (unlink): Turn asserts into a call to
7341 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
7344 * libio/wfileops (do_ftell_wide): Free OUT.
7346 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
7348 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
7350 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7353 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
7354 group if the current group is empty.
7356 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7358 * benchtests/bench-memset.c (test_main): Add more test from size
7359 from 32 to 512 bytes.
7360 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7361 Add POWER8 memset object.
7362 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7363 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
7364 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
7366 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
7368 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
7369 multiarch POWER8 memset optimization.
7370 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
7371 POWER8 memset optimization.
7373 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7374 Remove bzero multiarch objects.
7375 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
7376 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
7377 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
7378 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
7380 [__bzero]: Redefine to specific name.
7381 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
7382 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
7383 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
7385 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7386 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
7388 2014-09-10 Florian Weimer <fweimer@redhat.com>
7390 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
7391 warnings into errors.
7393 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
7394 __cxa_thread_atexit_impl prototype.
7396 2014-09-09 Steve Ellcey <sellcey@mips.com>
7398 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
7399 Fix capitalization of error message.
7401 2014-09-09 Steve Ellcey <sellcey@mips.com>
7403 * sysdeps/mips/preconfigure: Modify ABI tests.
7405 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
7407 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
7409 2014-09-07 Roland McGrath <roland@hack.frob.com>
7410 Carlos O'Donell <carlos@systemhalted.org>
7412 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
7413 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
7414 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
7415 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
7416 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
7417 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
7418 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
7419 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
7420 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
7421 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
7422 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
7423 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
7424 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
7425 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
7426 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
7427 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
7428 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
7429 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
7430 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
7431 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
7432 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
7433 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
7434 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
7435 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
7436 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
7437 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
7438 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
7439 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
7440 Deconditionalize the code that was previously under [RESET_PID].
7441 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
7442 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
7443 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
7444 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
7447 2014-09-08 Allan McRae <allan@archlinux.org>
7449 * version.h (RELEASE): Set to "development".
7450 (VERSION): Set to "2.20.90"
7452 2014-09-07 Allan McRae <allan@archlinux.org
7454 * version.h (RELEASE): Set to "stable".
7455 (VERSION): Set to "2.20"
7456 * include/features.h (__GLIBC_MINOR__): Set to 20.
7458 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
7461 * po/ko.po: Update Korean translation from translation project.
7463 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
7466 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
7467 macro for handling signed relocations.
7469 2014-09-03 Florian Weimer <fweimer@redhat.com>
7472 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
7473 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
7475 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
7476 * iconvdata/ibm935.c (BODY): Likewise.
7477 * iconvdata/ibm937.c (BODY): Likewise.
7478 * iconvdata/ibm939.c (BODY): Likewise.
7479 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
7481 * iconvdata/Makefile (iconv-test.out): Pass module list to test
7483 * iconvdata/run-iconv-test.sh: New test loop for checking for
7486 2014-09-02 Khem Raj <raj.khem@gmail.com>
7488 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
7491 2014-09-01 Allan McRae <allan@archlinux.org>
7493 * po/eo.po: Update Esperanto translation from translation project.
7495 * po/ca.po: Update Catalan translation from translation project.
7497 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7499 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
7502 2014-08-27 Mark Wielaard <mjw@redhat.com>
7505 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
7506 to call set_thread_area instead of hand written asm.
7507 (__NR_set_thread_area): Removed define.
7508 (TLS_FLAG_WRITABLE): Likewise.
7509 (__ASSUME_SET_THREAD_AREA): Remove check.
7510 (TLS_EBX_ARG): Remove define.
7511 (TLS_LOAD_EBX): Likewise.
7513 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7515 Simplify atomicity of socket creation in bind.
7517 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
7518 looking up the name after linking the file.
7520 2014-08-27 Allan McRae <allan@archlinux.org>
7522 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7524 2014-08-26 Florian Weimer <fweimer@redhat.com>
7527 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
7528 trans_compare, open_translit, __gconv_translit_find):
7529 Remove module loading code.
7531 2014-08-26 Allan McRae <allan@archlinux.org>
7533 * po/vi.po: Update Vietnamese translation from translation project.
7535 * po/uk.po: Update Ukrainian translation from translation project.
7537 * po/fr.po: Update French translation from translation project.
7539 * po/ru.po: Update Russian translation from translation project.
7541 * po/pl.po: Update Polish translation from translation project.
7543 * po/cs.po: Update Czech translation from translation project.
7545 * po/de.po: Update German translation from translation project.
7547 * po/bg.po: Update Bulgarian translation from translation project.
7549 * po/sv.po: Update Sweedish translation from translation project.
7551 * po/nl.po: Update Dutch translation from translation project.
7553 * po/es.po: Update Spanish translation from translation project.
7555 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7557 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
7559 * catgets/Makefile (CPPFLAGS-gencat): Remove.
7560 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
7561 (CPPFLAGS-iconvconfig): Likewise.
7562 * timezone/Makefile (CPPFLAGS-zic): Likewise.
7564 * include/libc-symbols.h: Remove unnecessary check for
7566 * nptl/pthreadP.h: Likewise.
7567 * sysdeps/aarch64/setjmp.S: Likewise.
7568 * sysdeps/alpha/setjmp.S: Likewise.
7569 * sysdeps/arm/sysdep.h: Likewise.
7570 * sysdeps/i386/setjmp.S: Likewise.
7571 * sysdeps/m68k/setjmp.c: Likewise.
7572 * sysdeps/posix/getcwd.c: Likewise.
7573 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7574 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7575 * sysdeps/s390/s390-32/setjmp.S: Likewise.
7576 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7577 * sysdeps/sh/sh3/setjmp.S: Likewise.
7578 * sysdeps/sh/sh4/setjmp.S: Likewise.
7579 * sysdeps/unix/alpha/sysdep.h: Likewise.
7580 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7581 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7582 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7583 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7586 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7587 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7588 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7589 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7590 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7591 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7592 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7593 * sysdeps/x86_64/setjmp.S: Likewise.
7595 2014-08-13 Joseph Myers <joseph@codesourcery.com>
7598 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
7600 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
7601 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
7603 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7605 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
7608 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
7609 and __x86_64__ when disabling x87 inline functions.
7611 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
7614 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
7615 asm statement with __cpuid_count.
7617 2014-08-12 Mike Frysinger <vapier@gentoo.org>
7619 * configure.ac: Change __ehdr_start code to dereference the struct.
7620 Run readelf on the output to look for relocations.
7621 * configure: Regenerated.
7623 2014-08-12 Joseph Myers <joseph@codesourcery.com>
7626 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
7628 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
7630 2014-08-12 Roland McGrath <roland@hack.frob.com>
7632 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
7634 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
7637 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
7638 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
7640 2014-08-12 Sean Anderson <seanga2@gmail.com>
7642 * malloc/malloc.c: Fix typo in comment.
7644 2014-08-09 Allan McRae <allan@archlinux.org>
7646 * Regenerate libc.po.
7648 2014-08-08 Mike Frysinger <vapier@gentoo.org>
7650 * intl/tst-gettext2.sh: Check every lang file for creation.
7652 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7654 * sysdeps/aarch64/fpu/math_private.h
7655 (libc_feholdsetround_noex_aarch64_ctx): New function.
7657 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7659 * sysdeps/arm/armv6/strcpy.S (strcpy):
7660 Fix performance issue in misaligned cases.
7662 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7664 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
7665 Move definition from termios.h.
7666 (struct termio): Likewise.
7667 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7668 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7669 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7670 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7672 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
7673 Move definition to ioctl-types.h
7674 (struct termio): Likewise.
7675 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7676 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7677 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7678 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7681 2014-08-05 Richard Henderson <rth@redhat.com>
7683 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
7685 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
7687 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7688 Use __feraiseexcept.
7689 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
7690 Protect libm symbols with IS_IN_libm.
7692 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
7694 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
7696 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
7698 2014-08-04 Will Newton <will.newton@linaro.org>
7700 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
7703 2014-08-04 Mike Frysinger <vapier@gentoo.org>
7705 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
7706 variants for each function.
7708 2014-08-04 Roland McGrath <roland@hack.frob.com>
7710 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
7712 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
7713 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
7715 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
7716 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
7717 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
7718 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
7719 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
7720 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
7721 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
7722 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
7723 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
7724 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
7725 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
7726 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
7727 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
7728 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
7729 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
7730 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
7731 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
7732 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
7733 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
7734 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
7735 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
7736 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
7737 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
7738 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
7739 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
7740 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
7741 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
7742 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
7743 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
7744 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
7745 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
7746 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
7747 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
7748 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
7749 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
7750 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
7751 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
7752 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
7753 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
7754 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
7755 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
7756 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
7757 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
7758 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
7759 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
7760 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
7761 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
7762 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
7763 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
7764 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
7765 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
7766 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
7767 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7769 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7770 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7772 2014-08-04 Roland McGrath <roland@hack.frob.com>
7774 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7775 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7776 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7777 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7778 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7779 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7781 2014-08-04 Roland McGrath <roland@hack.frob.com>
7783 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7784 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7785 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7786 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7788 2014-08-04 Roland McGrath <roland@hack.frob.com>
7790 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7791 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7792 (__libc_vfork): Define function under this name.
7793 (__vfork): Define as an alias.
7794 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7795 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7797 2014-08-04 Roland McGrath <roland@hack.frob.com>
7799 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7800 that was previously under [RESET_PID].
7801 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7803 2014-08-04 Andreas Schwab <schwab@suse.de>
7805 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7807 2014-08-03 Mike Frysinger <vapier@gentoo.org>
7809 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7812 2014-08-01 Roland McGrath <roland@hack.frob.com>
7814 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7816 2014-08-01 Richard Henderon <rth@redhat.com>
7818 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7819 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7820 typo in exact zero test.
7821 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7822 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7823 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7825 2014-08-01 Roland McGrath <roland@hack.frob.com>
7827 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7828 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7829 * sysdeps/arm/sysdep.h: ... here.
7830 [!__ASSEMBLER__]: Include <stdint.h>.
7832 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7834 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7835 (HAVE_WCTYPE_H): Likewise.
7836 (HAVE_ISWCTYPE): Likewise.
7837 (ENABLE_NLS): Likewise.
7838 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7839 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7841 * posix/regex_internal.c: Check if DEBUG is defined and is
7844 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7845 (HAVE_MBSRTOWCS): Likewise.
7846 * posix/fnmatch.c: Include string.h unconditionally.
7848 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7850 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
7853 2014-07-31 Roland McGrath <roland@hack.frob.com>
7855 * sysdeps/generic/safe-fatal.h: New file.
7856 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
7857 * nptl/forward.c: Include it.
7858 (__pthread_unwind): Use __safe_fatal as default action, rather
7859 than a bogus use of INTERNAL_SYSCALL that could never work.
7861 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
7862 * configure.ac (libc_cv_builtin_trap): New test.
7863 * configure: Regenerated.
7864 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
7865 (ABORT_INSTRUCTION): Define using __builtin_trap.
7867 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
7868 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
7869 * sysdeps/nptl/nptl-signals.h: New file.
7870 * nptl/pthreadP.h: Include <nptl-signals.h>.
7872 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7874 * sysdeps/s390/s390-64/utf16-utf32-z9.c
7875 (ONE_DIRECTION): Define.
7876 * sysdeps/s390/s390-64/utf8-utf16-z9.c
7877 (ONE_DIRECTION): Define.
7878 * sysdeps/s390/s390-64/utf8-utf32-z9.c
7879 (ONE_DIRECTION): Define.
7881 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7883 * sysdeps/s390/Makefile: Delete file.
7884 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
7885 * sysdeps/s390/__longjmp.c: Delete file.
7886 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
7887 Remove fields __flags and __reserved.
7888 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
7890 * sysdeps/s390/rtld-__longjmp.c: Delete file.
7891 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
7892 * sysdeps/s390/rtld-setjmp.S: Likewise.
7893 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
7894 * sysdeps/s390/s390-32/__longjmp.c: ... here.
7895 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
7896 * sysdeps/s390/s390-32/setjmp.S: ... here.
7898 (__sigsetjmp): Remove setting __flags field.
7899 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
7900 * sysdeps/s390/s390-64/__longjmp.c: ... here.
7901 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
7902 * sysdeps/s390/s390-64/setjmp.S: ... here.
7904 (__sigsetjmp): Remove setting __flags field.
7905 * sysdeps/s390/setjmp.S: Delete file.
7906 * sysdeps/s390/sigjmp.c: Likewise.
7907 * sysdeps/s390/v1-longjmp.c: Likewise.
7908 * sysdeps/s390/v1-setjmp.h: Likewise.
7909 * sysdeps/s390/v1-sigjmp.c: Likewise.
7910 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
7911 Remove v1-longjmp_chk.
7912 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
7913 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
7914 Include debug/longjmp_chk.c and add versioning.
7915 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
7916 Include nptl/pt-longjmp.c and add versioning.
7917 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
7918 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
7919 Include __longjmp.c.
7920 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7922 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
7923 (__getcontext): Remove setting __flags field.
7925 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7926 Don't restore upper high grps.
7927 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
7929 (__swapcontext): Remove setting uc_flags field.
7930 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7932 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7933 Include __longjmp.c.
7934 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7936 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7937 (__getcontext): Remove setting __flags field.
7939 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7940 (__swapcontext): Remove setting uc_flags field.
7941 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7942 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7943 Remove fields uc_high_gprs and __reserved.
7944 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7945 New file with reverted content.
7946 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7947 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7949 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7952 2014-07-31 Andreas Schwab <schwab@suse.de>
7954 * config.h.in (HAVE_IFUNC): Define to 0.
7955 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7958 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
7960 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7961 memmove-avx-unaligned, memcpy-avx-unaligned and
7962 mempcpy-avx-unaligned.
7963 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7964 Add tests for AVX memcpy functions.
7965 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7966 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7968 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7969 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7971 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7972 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7974 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7975 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7976 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7978 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7981 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7984 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
7987 * manual/llio.texi: Add section about open file description locks.
7988 * manual/examples/ofdlocks.c: Example of open file description
7990 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7991 F_OFD_SETLK, and F_OFD_SETLKW.
7993 2014-07-23 Allan McRae <allan@archlinux.org>
7995 * po/es.po: Update Spanish translation from translation project.
7997 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
7999 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8001 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
8004 * sysdeps/arm/dl-machine.h (elf_machine_rela)
8005 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8006 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8008 2014-07-17 Joseph Myers <joseph@codesourcery.com>
8011 * math/fesetenv.c (__fesetenv)
8012 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8013 * math/feupdateenv.c (__feupdateenv)
8014 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
8016 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
8017 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8018 (__ASSUME_SOCKETCALL): Do not define.
8020 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
8021 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
8022 (__ASSUME_SOCKETCALL): Do not define.
8023 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
8024 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8025 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8026 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8027 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8028 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
8029 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8030 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8032 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
8033 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
8034 (__ASSUME_SOCKETCALL): Do not define.
8035 (__ASSUME_IPC64): Define unconditionally.
8036 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8037 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8038 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8039 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8040 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
8041 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8042 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
8045 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8046 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8047 (__ASSUME_SOCKETCALL): Do not define.
8048 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8049 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8050 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8051 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8052 (__ASSUME_REQUEUE_PI): Define unconditionally.
8053 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8054 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8055 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8056 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8057 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8058 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8060 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8061 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8062 (__ASSUME_SOCKETCALL): Do not define.
8063 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8064 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8065 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8066 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8067 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8068 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8070 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8071 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8072 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8073 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
8074 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8075 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
8076 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8077 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
8078 (__ASSUME_GETCPU_SYSCALL): Likewise.
8080 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8081 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
8082 cases for individual architectures.
8083 * sysdeps/gnu/configure: Regenerated.
8084 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8085 LIBC_SLIBDIR_RTLDDIR.
8086 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8087 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8088 LIBC_SLIBDIR_RTLDDIR.
8089 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8091 LIBC_SLIBDIR_RTLDDIR.
8092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8094 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8095 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8097 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8098 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8100 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8101 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8102 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8103 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8105 * sysdeps/aarch64/shlib-versions: Move to ...
8106 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8107 * sysdeps/alpha/shlib-versions: Move to ...
8108 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8109 * sysdeps/arm/shlib-versions: Move to ...
8110 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8111 * sysdeps/hppa/shlib-versions: Move all contents except for
8112 libgcc_s entry to ...
8113 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
8115 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
8116 * sysdeps/ia64/shlib-versions: Move to ...
8117 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
8119 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
8120 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8121 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8122 * sysdeps/microblaze/shlib-versions: Move to ...
8123 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8124 * sysdeps/mips/shlib-versions: Move to ...
8125 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
8127 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
8128 * sysdeps/tile/shlib-versions: Move to ...
8129 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8130 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8132 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
8133 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8135 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
8137 2014-07-17 Will Newton <will.newton@linaro.org>
8139 * sysdeps/arm/bits/atomic.h
8140 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8141 (__arch_compare_and_exchange_bool_16_int): Likewise.
8142 (__arch_compare_and_exchange_bool_64_int): Likewise.
8144 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8145 into an #else block.
8147 2014-07-16 Roland McGrath <roland@hack.frob.com>
8149 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8150 just Linux configurations. Test empirically that the compiler sets
8151 __ARM_EABI__, rather than using the tuple to decide.
8152 * sysdeps/arm/preconfigure: Regenerated.
8153 * sysdeps/unix/sysv/linux/arm/configure: File removed.
8154 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8155 contents appended ...
8156 * sysdeps/arm/configure.ac: ... here.
8157 * sysdeps/arm/configure: Regenerated.
8159 2014-07-15 Roland McGrath <roland@hack.frob.com>
8161 * nptl/pthread_kill.c: New file.
8162 * nptl/pthread_sigmask.c: New file.
8163 * nptl/pthread_sigqueue.c: New file.
8165 * sysdeps/nptl/lowlevellock.h: New file.
8166 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8167 * sysdeps/nptl/lowlevellock-futex.h: New file.
8169 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8170 Remove dead declarations.
8172 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
8174 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8175 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8177 * sysdeps/x86_64/configure.ac: Likewise.
8178 * sysdeps/i386/configure: Regenerated.
8179 * sysdeps/x86_64/configure: Likewise.
8180 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8181 memset-avx2 only if config-cflags-avx2 is yes.
8182 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8183 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8185 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8186 only if HAVE_AVX2_SUPPORT is defined.
8187 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8189 2014-07-14 Alan Modra <amodra@gmail.com>
8192 * elf/elf.h (DT_PPC64_NUM): Correct value.
8193 * NEWS: Add to fixed bug list.
8195 2014-07-13 Jim Meyering <meyering@fb.com>
8198 regex: don't deref NULL upon heap allocation failure
8199 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8200 failure in one more place.
8201 To trigger the segfault, configure grep -with-included-regex,
8202 build it, and run these commands:
8203 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8205 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
8207 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8209 2014-07-11 Richard Henderson <rth@redhat.com>
8211 * sysdeps/aarch64/libm-test-ulps: Update.
8213 2014-07-10 Florian Weimer <fweimer@redhat.com>
8216 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8217 * nptl/allocatestack.c (__nptl_setxid_error): New function.
8218 (__nptl_setxid): Initialize error member. Call
8219 __nptl_setxid_error.
8220 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8221 * nptl/descr.h (struct xid_command): Add error member.
8222 * nptl/tst-setuid3.c: New file.
8223 * nptl/Makefile (tests): Add it.
8225 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8227 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8229 (__lll_trylock): Use __lll_base_trylock.
8230 (__lll_cond_trylock): Likewise.
8232 2014-07-10 Roland McGrath <roland@hack.frob.com>
8234 * nptl/pthread_create.c (start_thread): Use atomic_or and
8235 lll_futex_wake directly rather than lll_robust_dead.
8236 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8237 (lll_robust_dead): Macro removed.
8238 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
8239 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8240 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8241 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8242 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8243 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8244 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8245 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8246 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8247 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8248 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8249 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8250 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8251 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8252 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8254 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8255 Use atomic_compare_and_exchange_val_acq directly rather than
8257 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8258 (__lll_robust_trylock, lll_robust_trylock): Removed.
8259 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8260 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8261 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8262 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8263 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8264 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8265 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8266 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8267 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8268 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8269 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8270 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8271 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8272 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8274 2014-07-02 Florian Weimer <fweimer@redhat.com>
8276 * manual/locale.texi (Locale Names): New section documenting
8277 locale name syntax. Adjust menu and node chaining accordingly.
8278 (Choosing Locale): Reference Locale Names, Locale Categories.
8279 Mention setting LC_ALL=C. Reflect that name syntax is now
8281 (Locale Categories): New section title. Reference Locale Names.
8282 LC_ALL is an environment variable, but not a category.
8283 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
8284 description, now in Locale Name. Reference that section. Locale
8285 name syntax is now documented.
8287 2014-07-02 Florian Weimer <fweimer@redhat.com>
8290 * locale/findlocale.c (name_present, valid_locale_name): New
8292 (_nl_find_locale): Use the loc_name variable to store name
8293 candidates. Call name_present and valid_locale_name to check and
8294 validate locale names. Return an error if the locale is invalid.
8296 2014-07-02 Florian Weimer <fweimer@redhat.com>
8298 * locale/setlocale.c (setlocale): Use strdup for allocating
8299 composite name copy.
8301 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8303 Sync up with gnulib.
8304 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
8305 [!_LIBC && ENABLE_NLS]: Include gettext.h.
8306 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
8307 and _GL_ARG_NONNULL.
8308 [USE_UNLOCKED_IO]: Include unlocked-io.h.
8309 [!_LIBC]: Include code for Windows and Cygwin.
8310 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
8311 Include prototype for int strerror_r.
8312 [!_LIBC] (is_open): New function.
8313 (flush_stdout): New function.
8314 (print_errno_message): Use it.
8316 (error_at_line): Likewise.
8317 (error_tail) Add function attribute macros. Use
8320 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
8322 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
8324 * io/ftw.c: Include sys/param.h unconditionally.
8326 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
8329 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
8331 (freecache): New function to free CACHE on exit.
8333 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
8336 2014-07-09 David S. Miller <davem@davemloft.net>
8338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8340 * sysdeps/sparc/nptl/internaltypes.h: Delete.
8341 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
8342 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
8343 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
8344 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
8345 * sysdeps/sparc/nptl/sem_init.c: Likewise.
8346 * sysdeps/sparc/nptl/sem_post.c: Likewise.
8347 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
8348 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
8349 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
8350 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
8351 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
8352 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
8354 2014-07-09 Andreas Schwab <schwab@suse.de>
8356 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
8358 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
8359 (do_test): Likewise.
8361 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8363 2014-07-09 Will Newton <will.newton@linaro.org>
8365 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
8366 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
8367 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
8368 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
8369 * sysdeps/hppa/start.S (_start): Likewise.
8371 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8373 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
8375 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
8378 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8380 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
8381 after checking that it is non-NULL.
8383 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
8385 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8387 * sysdeps/powerpc/memmove.c: Remove file.
8388 * sysdeps/powerpc/powerpc32/power4/memcopy.h
8389 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
8390 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8391 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
8392 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
8393 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
8394 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
8395 string memmove instead of removed powerpc one.
8397 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8398 [weak_alias]: Fix compiler warning due trailing data.
8399 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
8400 [weak_alias]: Likewise.
8401 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
8402 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
8404 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8405 (__libc_ifunc_impl_list): Add memmove functions.
8407 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8409 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
8411 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
8413 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
8415 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
8417 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
8419 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
8421 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
8423 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
8425 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
8427 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
8429 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
8431 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
8433 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
8435 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
8437 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
8439 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
8441 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
8444 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8446 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
8447 to avoid alignment traps in non-cacheable memory.
8448 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8450 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
8452 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
8453 file: multiarch power7 memmove.
8454 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
8455 multiarch default memmove.
8456 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
8457 multiarch memove for powerpc32/power4.
8459 * string/bcopy.c: Use full path to include memmove.c.
8460 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
8462 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
8463 bcopy for powerpc64.
8464 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
8465 bcopy for powerpc64.
8466 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
8467 and memmove implementations.
8468 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
8469 optimized multiarch memmove for POWER7/powerpc64.
8470 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
8471 default multiarch memmove for powerpc64.
8472 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
8473 multiarch for powerpc64.
8474 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
8475 for POWER7/powerpc64.
8476 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
8477 memmove for POWER7/powerpc64.
8479 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
8482 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
8483 __ELF_NATIVE_CLASS equal to 64.
8485 2014-07-07 Roland McGrath <roland@hack.frob.com>
8487 * sysdeps/nptl/lowlevellock.h: File removed.
8489 * NEWS: NPTL is no longer an add-on!
8490 * nptl/internaltypes.h: Moved ...
8491 * sysdeps/nptl/internaltypes.h: ... here.
8492 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
8493 * sysdeps/nptl/fork.c: Likewise.
8494 * sysdeps/nptl/gai_misc.h: Likewise.
8495 * sysdeps/nptl/librt-cancellation.c: Likewise.
8496 * sysdeps/nptl/jmp-unwind.c: Likewise.
8497 * sysdeps/nptl/setxid.h: Likewise.
8498 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
8499 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
8500 * sysdeps/unix/sysv/linux/arm/Implies: New file.
8501 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
8502 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
8503 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
8504 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
8505 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
8506 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
8507 * sysdeps/unix/sysv/linux/mips/Implies: New file.
8508 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
8509 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
8510 * sysdeps/unix/sysv/linux/sh/Implies: New file.
8511 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
8512 * sysdeps/unix/sysv/linux/tile/Implies: New file.
8513 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
8514 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
8515 * nptl/Makeconfig: Moved ...
8516 * sysdeps/nptl/Makeconfig: ... here.
8517 * nptl/configure: File removed.
8518 * nptl/ANNOUNCE: File removed.
8519 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
8520 * sysdeps/unix/sysv/linux/configure: Regenerated.
8522 * nptl/Makefile (routines): Add libc_pthread_init,
8523 libc_multiple_threads, register-atfork and unregister-atfork.
8524 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
8525 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
8526 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
8527 pthread-pi-defines.sym, structsem.sym.
8528 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
8529 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
8530 [$(subdir) = nptl] (tests): Add tst-setgetname.
8531 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
8532 * sysdeps/unix/sysv/linux/sigaction.c: Just include
8533 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
8534 [!LIBC_SIGACTION]: Remove aliases.
8535 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8536 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8537 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8538 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
8539 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8540 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
8541 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8542 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8543 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8544 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
8545 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
8546 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
8547 __libc_allocate_rtsig_private.
8548 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
8549 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
8550 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
8551 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
8552 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
8553 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
8554 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
8555 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
8556 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
8557 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
8558 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
8559 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
8560 * nptl/internaltypes.h: ... here.
8561 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
8562 * sysdeps/nptl/jmp-unwind.c: ... here.
8563 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
8564 * nptl/libc-lowlevellock.c: ... here.
8565 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
8566 * nptl/libc_multiple_threads.c: ... here.
8567 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
8568 * nptl/libc_pthread_init.c: ... here.
8569 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
8570 * nptl/lowlevelbarrier.sym: ... here.
8571 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
8572 * nptl/lowlevelcond.sym: ... here.
8573 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
8574 * nptl/lowlevellock.c: ... here.
8575 * nptl/lowlevellock.h: Moved ...
8576 * sysdeps/nptl/lowlevellock.h: ... here.
8577 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
8578 * nptl/lowlevelrobustlock.c: ... here.
8579 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
8580 * nptl/lowlevelrobustlock.sym: ... here.
8581 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
8582 * nptl/lowlevelrwlock.sym: ... here.
8583 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
8584 * nptl/pt-fork.c: ... here.
8585 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
8586 * nptl/pthread-pi-defines.sym: ... here.
8587 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
8588 * nptl/pthread_attr_getaffinity.c: ... here.
8589 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
8590 * nptl/pthread_attr_setaffinity.c: ... here.
8591 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
8592 * nptl/pthread_mutex_cond_lock.c: ... here.
8593 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8595 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
8596 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
8597 * nptl/pthread_once.c: ... here, replacing old file.
8598 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
8599 * nptl/pthread_yield.c: ... here.
8600 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
8601 * nptl/register-atfork.c: ... here.
8602 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
8603 * nptl/sem_post.c: ... here.
8604 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
8605 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
8606 * nptl/sem_timedwait.c: ... here.
8607 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
8608 * nptl/sem_trywait.c: ... here.
8609 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
8610 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
8611 * nptl/sem_wait.c: ... here.
8612 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
8613 * nptl/structsem.sym: ... here.
8614 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
8615 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
8616 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
8617 * nptl/unregister-atfork.c: ... here.
8618 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
8619 * nptl/unwindbuf.sym: ... here.
8620 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
8621 * sysdeps/nptl/fork.c: ... here.
8622 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
8623 * sysdeps/nptl/fork.h: ... here.
8624 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
8625 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
8626 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
8627 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
8628 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
8629 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
8630 * sysdeps/unix/sysv/linux/getpid.c: ... here.
8631 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
8632 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
8633 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
8634 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
8635 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
8636 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
8637 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
8638 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
8639 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
8640 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
8641 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
8642 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
8643 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
8644 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
8645 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
8646 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
8647 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
8648 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
8649 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
8650 * sysdeps/unix/sysv/linux/raise.c: ... here.
8651 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
8652 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
8653 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
8654 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
8655 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
8656 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
8657 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
8658 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
8659 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
8660 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
8661 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
8662 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
8663 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
8664 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
8665 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
8667 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8669 * sysdeps/generic/memcopy.h: Add comment for
8670 MEMCPY_OK_FOR_FWD_MEMMOVE.
8672 2014-07-04 Will Newton <will.newton@linaro.org>
8674 * string/memchr.c: Merge from gnulib.
8675 [_LIBC]: Remove conditionals.
8676 (__ptr_t): Remove define.
8677 (LONG_MAX_32_BITS): Likewise.
8678 (LONG_MAX): Likewise.
8679 (MEMCHR): Use ANSI prototype and optimize algorithm.
8681 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
8683 2014-07-03 Roland McGrath <roland@hack.frob.com>
8685 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
8686 (lll_futex_timed_wait_bitset): Fix syscall argument count.
8688 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
8689 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
8690 in a bare environment with no <stdlib.h> installed.
8691 * sysdeps/nptl/configure: Regenerated.
8693 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
8695 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
8696 AC_EGREP_CPP for kernel header checks, so they only succeed if
8697 including <linux/version.h> actually works right.
8698 * sysdeps/unix/sysv/linux/configure: Regenerated.
8700 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
8701 value so it's not diagnosed as unused.
8703 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
8704 thing) with "ifeq ($(subdir),rt)".
8706 2014-07-03 Richard Henderson <rth@redhat.com>
8708 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
8709 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
8710 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
8712 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8713 (math_force_eval): New.
8715 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
8716 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
8718 * sysdeps/alpha/fpu/s_round.c: Remove file.
8719 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
8721 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
8722 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
8723 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
8724 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
8725 (_dl_start, print_statistics): Likewise.
8726 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
8727 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
8729 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8730 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8731 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8732 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8733 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8734 (HP_SMALL_TIMING_AVAIL): Define.
8735 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8736 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8737 (HP_SMALL_TIMING_AVAIL): Define.
8738 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8739 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8741 * sysdeps/aarch64/hp-timing.h: New file.
8743 * sysdeps/generic/hp-timing.h: Remove dead comment.
8744 * sysdeps/generic/hp-timing-common.h: New file.
8745 * sysdeps/alpha/hp-timing.h: Include it.
8746 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
8747 * sysdeps/i386/i686/hp-timing.h: Likewise.
8748 * sysdeps/ia64/hp-timing.h: Likewise.
8749 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8750 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8751 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8752 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8753 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
8754 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
8757 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
8758 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
8759 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
8760 * elf/rtld.c (_dl_start_final): Likewise.
8761 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
8762 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8763 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8764 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8765 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8766 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8767 (HP_TIMING_DIFF_INIT): Remove.
8768 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8769 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8770 (HP_TIMING_DIFF_INIT): Remove.
8771 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8772 * sysdeps/i386/i686/hp-timing.c: Remove file.
8773 * sysdeps/x86_64/hp-timing.c: Remove file.
8774 * sysdeps/ia64/hp-timing.c: Remove file.
8775 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8776 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8777 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8778 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8780 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8781 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8782 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8783 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8784 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8785 (HP_TIMING_ACCUM): Remove.
8786 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8787 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8788 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8790 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8791 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8792 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8793 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8794 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8795 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8796 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8797 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8799 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8801 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
8803 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8805 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8807 Sync up with gettext.
8808 * intl/loadmsgcat.c: Define O_BINARY if not defined.
8809 [_MSC_VER]: Include malloc.h
8810 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8811 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8812 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
8813 TEMP_FAILURE_RETRY. Cast return of alloca.
8814 [!_LIBC] Call gl_rwlock_init.
8815 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8817 2014-07-02 Roland McGrath <roland@hack.frob.com>
8819 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8820 before checking its value.
8822 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8824 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8826 * debug/memcpy_chk.c: Don't include pagecopy.h.
8827 * debug/mempcpy_chk.c: Likewise.
8828 * string/memcpy.c: Likewise.
8829 * string/memmove.c: Likewise.
8830 * sysdeps/powerpc/memmove.c: Likewise.
8831 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
8832 definition of PAGE_COPY_FWD_MAYBE here...
8833 * sysdeps/generic/pagecopy.h: ... from here.
8834 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8836 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8837 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8839 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8840 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8842 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8843 (__libc_ifunc_impl_list): Likewise.
8844 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8845 multiarch strcat for PPC64.
8846 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8847 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8849 2014-07-02 Roland McGrath <roland@hack.frob.com>
8851 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
8853 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8855 * intl/loadmsgcat.c: Remove declaration of
8856 get_sysdep_segment_value.
8857 (get_sysdep_segment_value): Use ISO C style.
8858 (_nl_load_domain): Use ISO C style. Get rid of redundant
8859 semicolon. Fix typo and formatting in comment.
8860 (_nl_unload_domain): Use ISO C style.
8862 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
8864 2014-07-02 Will Newton <will.newton@linaro.org>
8866 * malloc/obstack.c: Merge from gnulib master.
8867 [HAVE_CONFIG_H]: Remove conditional code.
8868 [!_LIBC]: Include config.h.
8869 [!ELIDE_CODE]: Don't include inttypes.h, include
8870 stdint.h unconditionally.
8871 (print_and_abort): Mark as _Noreturn.
8872 (_obstack_allocated_p): Mark as __attribute_pure__.
8873 (obstack_free): Rename to __obstack_free.
8874 [!__attribute__]: Remove conditional code.
8875 * malloc/obstack.h: Merge from gnulib master.
8876 [__cplusplus]: Move conditional down.
8877 [!__attribute_pure__]: Define __attribute_pure__ here
8878 if it is not already defined.
8879 (_obstack_memory_used): Mark as __attribute_pure__.
8880 [!__obstack_free]: Define as obstack_free.
8881 [__GNUC__]: Remove check for ancient NeXT gcc.
8883 2014-07-02 Will Newton <will.newton@linaro.org>
8884 Paul Eggert <eggert@cs.ucla.edu>
8886 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
8888 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8890 * resolv/gethnamaddr.c: Add comment warning that the file is
8893 2014-07-01 Carlos O'Donell <carlos@redhat.com>
8895 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
8898 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
8899 entry for aio_cancel and aio_cancel64.
8900 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
8901 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
8902 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
8903 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
8904 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
8905 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
8906 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
8907 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
8908 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
8909 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
8910 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
8911 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
8912 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
8914 2014-07-01 Roland McGrath <roland@hack.frob.com>
8916 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
8917 * nptl/pthread_mutex_lock.c: Likewise.
8918 * nptl/pthread_mutex_timedlock.c: Likewise.
8919 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
8921 2014-07-01 Richard henderson <rth@redhat.com>
8923 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
8924 (__isnan, __isnanl): Remove.
8925 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
8927 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8929 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8931 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8933 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8935 * resolv/nss_dns/dns-host.c (getanswer_r)
8936 [MULTI_PTRS_ARE_ALIASES]: Remove code.
8938 2014-07-01 Joseph Myers <joseph@codesourcery.com>
8940 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8941 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8943 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8944 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8946 2014-07-01 Roland McGrath <roland@hack.frob.com>
8948 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8949 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8951 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8952 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8954 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8955 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8957 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8958 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8960 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8961 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8962 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8963 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8965 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8966 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8967 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8968 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8969 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8971 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8973 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8974 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8975 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8976 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8977 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8978 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8979 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8980 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8981 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8982 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8983 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8984 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8985 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8986 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8987 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8988 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8989 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8990 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8991 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8992 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8994 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8995 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8996 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8997 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8998 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8999 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9000 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9001 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9003 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
9005 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9006 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9007 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9010 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9014 2014-06-30 Joseph Myers <joseph@codesourcery.com>
9016 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9017 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9019 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9021 * sysdeps/arm/libm-test-ulps: Regenerated.
9023 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9024 Roland McGrath <roland@hack.frob.com>
9026 * test-skeleton.c (signal_handler): Kill the whole process group
9027 before killing the child individually.
9028 (main): Report any failure on `setpgid'.
9030 2014-06-30 Roland McGrath <roland@hack.frob.com>
9032 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
9033 from _TLS_H to _ARM_NPTL_TLS_H.
9034 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
9035 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
9037 2014-06-30 Joseph Myers <joseph@codesourcery.com>
9040 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
9041 (__expm1l): Return argument unchanged when small but not
9044 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9046 (_FP_UNPACK_RAW_1_P): Likewise.
9047 (_FP_PACK_RAW_1): Likewise.
9048 (_FP_PACK_RAW_1_P): Likewise.
9049 (_FP_MUL_MEAT_1_wide): Likewise.
9050 (_FP_MUL_MEAT_DW_1_hard): Likewise.
9051 (_FP_MUL_MEAT_1_hard): Likewise.
9052 (_FP_DIV_MEAT_1_imm): Likewise.
9053 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9054 (_FP_DIV_MEAT_1_udiv): Likewise.
9055 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9056 (_FP_UNPACK_RAW_2): Likewise.
9057 (_FP_UNPACK_RAW_2_P): Likewise.
9058 (_FP_PACK_RAW_2): Likewise.
9059 (_FP_PACK_RAW_2_P): Likewise.
9060 (_FP_MUL_MEAT_DW_2_wide): Likewise.
9061 (_FP_MUL_MEAT_2_wide): Likewise.
9062 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9063 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9064 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9065 (_FP_MUL_MEAT_2_gmp): Likewise.
9066 (_FP_DIV_MEAT_2_udiv): Likewise.
9067 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9068 (_FP_FRAC_SRL_4): Likewise.
9069 (_FP_FRAC_SRST_4): Likewise.
9070 (_FP_FRAC_SRS_4): Likewise.
9071 (_FP_UNPACK_RAW_4): Likewise.
9072 (_FP_UNPACK_RAW_4_P): Likewise.
9073 (_FP_PACK_RAW_4): Likewise.
9074 (_FP_PACK_RAW_4_P): Likewise.
9075 (_FP_MUL_MEAT_DW_4_wide): Likewise.
9076 (_FP_MUL_MEAT_4_wide): Likewise.
9077 (_FP_MUL_MEAT_4_gmp): Likewise.
9078 (umul_ppppmnnn): Likewise.
9079 (_FP_DIV_MEAT_4_udiv): Likewise.
9080 (__FP_FRAC_ADD_4): Likewise.
9081 (__FP_FRAC_SUB_3): Likewise.
9082 (__FP_FRAC_SUB_4): Likewise.
9083 (__FP_FRAC_DEC_3): Likewise.
9084 (__FP_FRAC_DEC_4): Likewise.
9085 (__FP_FRAC_ADDI_4): Likewise.
9086 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9087 (_FP_FRAC_SRL_8): Likewise.
9088 (_FP_FRAC_SRS_8): Likewise.
9090 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9092 (FP_UNPACK_RAW_EP): Likewise.
9093 (FP_PACK_RAW_E): Likewise.
9094 (FP_PACK_RAW_EP): Likewise.
9095 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9096 (_FP_ISSIGNAN): Likewise.
9097 (_FP_ADD_INTERNAL): Likewise.
9098 (_FP_FMA): Likewise.
9099 (_FP_CMP): Likewise.
9100 (_FP_SQRT): Likewise.
9101 (_FP_TO_INT): Likewise.
9102 (_FP_FROM_INT): Likewise.
9103 (FP_EXTEND): Likewise.
9104 (_FP_DIV_MEAT_N_loop): Likewise.
9106 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9108 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9111 2014-06-29 Joseph Myers <joseph@codesourcery.com>
9114 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9115 result with correct sign in case of exponents that produce
9116 overflow except for X very close to 1.
9118 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
9120 mktime: merge #if/#ifdef usage from glibc
9121 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9122 as that works with both Glibc's and Gnulib's style.
9123 See thread starting at Siddhesh Poyarekar's bug report at:
9124 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9126 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9128 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9129 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9130 * sysdeps/tile/tilegx/memmove.c: Remove file.
9132 2014-06-27 Joseph Myers <joseph@codesourcery.com>
9134 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9135 abi-name definition.
9136 * scripts/soversions.awk: Do not handle or generate ABI lines.
9137 * shlib-versions: Remove ABI entries.
9138 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9139 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9141 2014-06-27 Roland McGrath <roland@hack.frob.com>
9143 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9144 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9145 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9146 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9147 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9148 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9149 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9151 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9153 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9154 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9155 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9156 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9157 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9158 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9159 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9160 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9161 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9162 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
9163 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9164 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9165 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9167 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9168 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9169 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9170 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9171 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9172 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9174 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9175 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9177 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9178 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9179 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9180 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9182 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9183 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9184 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9185 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9186 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9187 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9188 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9189 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9191 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9192 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9193 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9194 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9196 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9197 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9199 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9200 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9201 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9202 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9204 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9206 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9207 Identical file removed.
9208 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9210 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9211 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9212 Identical file removed.
9213 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9214 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9215 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9217 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9218 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9219 Identical file removed.
9220 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9221 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9222 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9223 Identical file removed.
9224 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9225 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9226 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9227 Identical file removed.
9228 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9229 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9230 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9231 Identical file removed.
9232 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9234 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9235 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9236 Identical file removed.
9237 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9239 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9240 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9241 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9242 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9243 Identical file removed.
9244 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9246 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9248 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9249 Identical file removed.
9250 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9252 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9253 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9254 Identical file removed.
9255 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9257 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
9258 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
9259 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
9260 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
9261 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
9262 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
9264 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
9265 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
9266 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
9268 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
9269 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
9270 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
9271 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
9272 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
9274 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
9277 * nscd/nscd.c (monitor_child): Return exit status of child
9278 instead of return value from wait syscall.
9280 2014-06-27 Joseph Myers <joseph@codesourcery.com>
9282 * configure.ac (libc_commonpagesize): Remove variable.
9283 (libc_relro_required): Likewise.
9284 (libc_cv_z_relro): Remove configure test.
9285 * configure: Regenerated.
9286 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
9288 (libc_relro_required): Likewise.
9289 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
9290 (libc_relro_required): Likewise.
9291 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
9292 (libc_relro_required): Likewise.
9293 * sysdeps/arm/preconfigure: Regenerated.
9294 * sysdeps/ia64/preconfigure: Remove file.
9295 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
9297 (libc_relro_required): Likewise.
9301 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
9302 (__ieee754_yn): Set FE_TONEAREST mode internally and then
9303 recompute overflowing results in original rounding mode.
9304 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
9305 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
9306 recompute overflowing results in original rounding mode.
9307 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
9308 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9309 recompute overflowing results in original rounding mode.
9310 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
9311 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9312 recompute overflowing results in original rounding mode.
9313 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
9314 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9315 recompute overflowing results in original rounding mode.
9316 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
9317 (libc_feholdsetround_ctx): New macro.
9318 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
9319 * sysdeps/i386/fpu/libm-test-ulps: Update.
9320 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
9322 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9324 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
9325 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
9326 corresponding .cpsetup call.
9328 2014-06-26 Roland McGrath <roland@hack.frob.com>
9330 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
9331 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
9332 * sysdeps/arm/Makefile [$(subdir) = csu]
9333 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
9334 (static-only-routines): Add aeabi_read_tp here.
9335 (shared-only-routines): Add libc-aeabi_read_tp here.
9336 (CFLAGS-libc-start.c): Add -fexceptions here.
9337 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
9338 (sysdep_routines, static-only-routines, shared-only-routines):
9339 Don't add to these here.
9340 (CFLAGS-libc-start.c): Likewise.
9342 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
9343 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9344 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
9345 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9346 * sysdeps/arm/Makefile [$(subdir) = rt]
9347 (librt-sysdep_routines, librt-shared-only-routines):
9348 Append rt-aeabi_unwind_cpp_pr1 here.
9349 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
9350 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
9351 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
9352 (libpthread-sysdep_routines, libpthread-shared-only-routines):
9353 Append nptl-aeabi_unwind_cpp_pr1 here.
9354 (tests): Filter out tst-cleanupx4 here.
9355 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
9356 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
9357 Don't do those here.
9359 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9361 * scripts/list-sources.sh: Do not handle ports specially.
9363 2014-06-26 Roland McGrath <roland@hack.frob.com>
9365 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
9366 * sysdeps/arm/feupdateenv.c: Likewise.
9368 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
9370 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9372 * manual/texinfo.tex: Update to version 2014-05-05.10 with
9373 trailing whitespace removed.
9374 * scripts/config.guess: Update to version 2014-03-23.
9375 * scripts/config.sub: Update to version 2014-05-01
9376 * scripts/install-sh: Update to version 2013-12-25.23.
9377 * scripts/move-if-change: Update from gnulib.
9379 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9381 * debug/memmove_chk.c: Remove pagecopy.h include.
9383 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
9385 * time/mktime.c (leapyear): Remove inline keyword. The code is now
9386 identical to gnulib mktime.
9388 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9390 * configure.ac: Do not test for machine being rs6000. Do not test
9392 * configure: Regenerated.
9394 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
9396 * configure: Regenerated.
9397 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
9398 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
9399 Remove configure test.
9400 * sysdeps/arm/configure: Regenerated.
9401 * sysdeps/nptl/configure.ac: Do not check
9402 libc_cv_asm_cfi_directives.
9403 * sysdeps/nptl/configure: Regenerated.
9404 * sysdeps/x86_64/nptl/configure.ac: Remove file.
9405 * sysdeps/x86_64/nptl/configure: Remove generated file.
9406 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
9408 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
9410 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9412 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
9413 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
9414 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
9417 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
9418 instead of whether it is defined.
9419 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
9420 * sysdeps/hppa/dl-machine.h: Likewise.
9421 * sysdeps/ia64/dl-machine.h: Likewise.
9422 * sysdeps/m68k/dl-machine.h: Likewise.
9423 * sysdeps/microblaze/dl-machine.h: Likewise.
9424 * sysdeps/mips/dl-machine.: Likewise.
9425 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9426 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9427 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9428 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9429 * sysdeps/sh/dl-machine.h: Likewise.
9430 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9431 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9432 * sysdeps/tile/dl-machine.h: Likewise.
9433 * sysdeps/x86_64/dl-machine.h: Likewise.
9435 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
9437 (verify_persistent_db): Likewise.
9439 2014-06-26 Roland McGrath <roland@hack.frob.com>
9441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
9442 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
9443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
9444 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
9445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9447 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
9449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
9450 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
9451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
9452 Identical file removed.
9453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
9454 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
9455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
9456 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
9457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
9458 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
9459 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
9460 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
9461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
9462 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
9463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9465 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
9466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
9467 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
9468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
9469 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
9470 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9472 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
9473 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
9474 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
9475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
9476 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
9477 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9478 Identical file removed.
9479 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
9480 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
9481 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
9482 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
9483 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9485 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
9487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
9488 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
9489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
9490 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
9491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
9492 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
9493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
9494 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
9495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
9496 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
9497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9499 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
9500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
9502 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
9503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
9504 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
9505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9507 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
9508 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
9509 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
9511 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
9513 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
9514 * sysdeps/unix/sysv/linux/s390/Versions
9515 (libpthread: GLIBC_2.19): New version set.
9516 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
9517 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
9518 (librt: GLIBC_2.3.3): New version set.
9519 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
9520 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
9521 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
9522 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
9523 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
9524 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
9525 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
9526 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
9527 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
9528 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
9529 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
9530 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
9531 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
9532 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
9533 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
9534 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
9535 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
9536 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
9537 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
9538 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
9539 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
9540 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
9541 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
9542 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
9543 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
9544 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
9545 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
9546 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
9547 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
9548 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
9549 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
9550 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
9551 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
9552 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
9553 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
9554 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
9555 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
9556 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
9557 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
9558 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
9559 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
9560 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
9561 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
9562 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
9563 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
9565 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
9566 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
9567 (__libc_vfork): Define the function under this name.
9568 [!NOT_IN_libc] (__vfork): Make this an alias.
9569 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9570 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
9571 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
9572 (__libc_vfork): Define the function under this name.
9573 [!NOT_IN_libc] (__vfork): Make this an alias.
9574 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9575 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
9576 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
9577 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
9578 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
9579 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9581 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
9582 code that was previously under [RESET_PID].
9583 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
9584 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
9585 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
9587 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
9588 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
9589 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
9590 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
9591 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
9592 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
9593 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
9594 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
9595 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
9596 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
9597 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
9599 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
9600 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
9601 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
9602 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
9603 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
9604 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
9605 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
9606 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
9607 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
9608 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
9609 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
9610 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
9611 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
9612 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
9613 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
9614 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
9615 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
9616 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
9617 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
9618 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
9619 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
9620 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
9621 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
9622 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
9623 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
9624 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
9625 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
9626 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
9627 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
9629 2014-06-25 Roland McGrath <roland@hack.frob.com>
9631 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
9632 that was previously under [RESET_PID].
9633 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
9635 2014-06-25 Joseph Myers <joseph@codesourcery.com>
9637 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
9638 not undefine and redefine.
9639 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
9640 [O_CLOEXEC]: Make code unconditional.
9641 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
9642 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
9643 <kernel-features.h>.
9644 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
9645 conditional variable definition.
9646 (shm_open) [O_CLOEXEC]: Make code unconditional.
9647 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
9650 * configure.ac (USE_REGPARMS): Don't define here.
9651 * configure: Regenerated.
9652 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
9653 * sysdeps/i386/configure: Regenerated.
9655 * nptl/createthread.c: Don't include kernel-features.h.
9656 * nptl/pthread_cancel.c: Likewise.
9657 * nptl/pthread_condattr_setclock.c: Likewise.
9658 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
9659 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
9660 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
9661 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
9662 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
9663 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
9664 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9665 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
9666 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9667 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
9668 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
9669 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
9670 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
9671 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
9672 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
9673 * nscd/gai.c: Likewise.
9674 * nss/nss_db/db-open.c: Likewise.
9675 * sysdeps/generic/ldsodefs.h: Likewise.
9676 * sysdeps/sh/nptl/tls.h: Likewise.
9677 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9678 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
9679 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
9680 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
9681 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
9682 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9683 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
9684 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9685 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9686 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
9687 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9688 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9689 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
9690 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
9691 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
9692 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
9693 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
9694 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
9695 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
9696 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9697 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9698 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9699 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
9700 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9701 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9702 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9703 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
9704 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9705 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9706 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
9707 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
9708 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9709 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9710 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9711 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9712 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9713 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9714 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9715 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
9716 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9717 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9718 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
9719 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
9720 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9721 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9722 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
9723 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
9724 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
9725 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
9726 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9727 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9728 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9729 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9730 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9731 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
9732 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9733 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9734 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
9735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
9737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
9738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
9740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
9747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
9748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
9749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
9755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
9756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9757 * sysdeps/unix/sysv/linux/pread.c: Likewise.
9758 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9759 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
9760 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9761 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9762 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
9763 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
9764 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9765 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
9766 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9767 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9768 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9769 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9770 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9771 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9772 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9773 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9774 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9775 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9776 * sysdeps/unix/sysv/linux/system.c: Likewise.
9777 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9778 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9779 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9780 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9781 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9782 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9783 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9785 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9786 * configure: Regenerated.
9787 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9789 * configure.ac (base_machine): Do not set specially for particular
9791 * configure: Regenerated.
9792 * sysdeps/powerpc/preconfigure: Move machine and base_machine
9793 settings from configure.ac.
9794 * sysdeps/i386/preconfigure: New file.
9795 * sysdeps/s390/preconfigure: Likewise.
9796 * sysdeps/sh/preconfigure: Likewise.
9797 * sysdeps/sparc/preconfigure: Likewise.
9799 2014-06-25 Roland McGrath <roland@hack.frob.com>
9801 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9802 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9803 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9804 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9805 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9806 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9807 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9808 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9809 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9810 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9811 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9812 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9813 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9814 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9815 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9816 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9817 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9818 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9819 * sysdeps/sparc/sparc64/Makefile: ... appended here.
9821 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9822 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9823 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9824 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9825 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9826 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9827 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9828 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9829 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9830 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9831 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9832 * sysdeps/sparc/sparc32/sem_post.c: ... here.
9833 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9834 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9835 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9836 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9837 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9838 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9839 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9840 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9841 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9842 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9843 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9844 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9845 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9846 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9847 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9848 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9849 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9850 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
9851 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
9852 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
9853 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
9854 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
9855 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
9856 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
9857 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
9858 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
9860 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
9861 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
9862 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
9863 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
9864 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9866 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
9869 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
9870 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
9871 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
9872 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
9874 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
9875 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
9876 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
9877 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
9878 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
9879 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
9880 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
9881 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9883 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
9884 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9886 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
9887 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
9888 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
9889 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9891 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
9892 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
9893 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
9894 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
9895 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
9896 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
9897 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
9898 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
9899 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
9900 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9902 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9904 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
9905 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
9906 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
9907 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
9908 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
9910 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
9911 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
9912 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
9913 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
9914 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
9915 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
9916 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
9917 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9919 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
9920 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9922 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
9923 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
9924 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
9925 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9927 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
9928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
9929 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
9930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9931 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9933 2014-06-25 Joseph Myers <joseph@codesourcery.com>
9935 * timezone/checktab.awk: Update from tzcode 2014e.
9936 * timezone/private.h: Likewise.
9937 * timezone/tzfile.h: Likewise.
9938 * timezone/zdump.c: Likewise.
9939 * timezone/zic.c: Likewise.
9941 * sysdeps/unix/sysv/linux/kernel-features.h
9942 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9943 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9944 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9945 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9946 Remove conditional code.
9948 2014-06-25 Will Newton <will.newton@linaro.org>
9950 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9951 (_dl_arm_cap_flags): Add HWCAP2 values.
9952 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9953 (_DL_HWCAP_COUNT): Increase to 37.
9954 (_DL_HWCAP_LAST): New define.
9955 (_DL_HWCAP2_LAST): New define.
9956 (_dl_procinfo): Add support for printing
9958 (_dl_string_hwcap): Use _dl_hwcap_string.
9960 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9962 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9964 2014-06-25 Joseph Myers <joseph@codesourcery.com>
9966 * README: Do not mention ports directory.
9968 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9970 * sysdeps/unix/sysv/linux/futimes.c: Do not include
9971 <kernel-features.h>.
9972 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9973 conditional variable definition.
9974 (__futimes): Update comment.
9975 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9976 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9979 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9980 arguments close to 0.
9981 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9983 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9985 * math/auto-libm-test-in: Add more tests of exp10.
9986 * math/auto-libm-test-out: Regenerated.
9987 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9989 * sysdeps/unix/sysv/linux/kernel-features.h
9990 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9991 * sysdeps/unix/sysv/linux/readv.c: Do not include
9992 <kernel-features.h>.
9993 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9994 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9995 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9997 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9999 * sysdeps/unix/sysv/linux/writev.c: Do not include
10000 <kernel-features.h>.
10001 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10002 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10003 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10005 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10008 2014-06-25 Will Newton <will.newton@linaro.org>
10010 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10011 comment changes throughout the file. Remove checks
10012 for HAVE_*_H definitions that are not required.
10013 (__gen_tempname): Call abort if an unknown kind value is
10016 2014-06-25 Andreas Schwab <schwab@suse.de>
10019 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
10020 scalbln, scalblnf, scalblnl in libc.
10022 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10025 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
10026 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10027 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10029 2014-06-24 Roland McGrath <roland@hack.frob.com>
10031 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
10032 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
10033 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
10034 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
10036 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
10037 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10039 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
10040 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
10041 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
10042 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
10043 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
10044 * sysdeps/x86/bits/pthreadtypes.h: ... here.
10045 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10046 * sysdeps/x86/bits/semaphore.h: ... here.
10047 * sysdeps/x86/nptl/elide.h: Moved ...
10048 * sysdeps/x86/elide.h: ... here.
10049 * sysdeps/x86_64/nptl/Implies: File removed.
10050 * sysdeps/i386/nptl/Implies: File removed.
10052 2014-06-24 Joseph Myers <joseph@codesourcery.com>
10055 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10056 return the argument for normal arguments with exponent below -64.
10057 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10059 * math/auto-libm-test-in: Add another test of expm1.
10060 * math/auto-libm-test-out: Regenerated.
10063 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10064 calling __erfcl for arguments at least 16.
10065 * math/auto-libm-test-in: Add more tests of erf.
10066 * math/auto-libm-test-out: Regenerated.
10068 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10069 individual architectures.
10070 * sysdeps/unix/sysv/linux/configure: Regenerated.
10071 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10072 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
10073 * sysdeps/unix/sysv/linux/powerpc/configure.ac
10074 (ldd_rewrite_script): Define variable.
10075 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
10078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
10080 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10081 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10082 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10083 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10084 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10085 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10086 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10087 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10089 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10092 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10093 Rename member __data.d to __data.__elision_data.
10095 2014-06-24 Wilco <wdijkstr@arm.com>
10097 * NEWS: Add 16918 to fixed bug list.
10099 2014-06-24 Wilco <wdijkstr@arm.com>
10101 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10103 2014-06-24 Wilco <wdijkstr@arm.com>
10105 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10106 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10107 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10108 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10109 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10110 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10111 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10114 2014-06-24 Wilco <wdijkstr@arm.com>
10116 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10118 2014-06-24 Wilco <wdijkstr@arm.com>
10120 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10121 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10122 * sysdeps/arm/fesetround.c (fesetround): Remove space.
10123 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10125 2014-06-24 Wilco <wdijkstr@arm.com>
10128 * sysdeps/arm/feupdateenv.c (feupdateenv):
10129 Rewrite to reduce FPSCR accesses and fix return value.
10131 2014-06-24 Wilco <wdijkstr@arm.com>
10133 * sysdeps/arm/fclrexcpt.c (feclearexcept):
10134 Optimize to avoid unnecessary FPSCR writes.
10135 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10136 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10137 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10138 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10140 2014-06-24 Wilco <wdijkstr@arm.com>
10142 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10143 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10144 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10145 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10146 Call libc_fetestexcept_vfp.
10147 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10148 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10149 __SOFTFP__ ifdef so that they can be built for softfp.
10151 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10153 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10154 argument type signed char.
10156 * Makerules (check-abi): Dump diff of symlist if the test
10159 2014-06-23 Roland McGrath <roland@hack.frob.com>
10161 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
10164 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10165 Remove unused variable ST.
10167 2014-06-23 Joseph Myers <joseph@codesourcery.com>
10171 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10172 small arguments before calling __expm1.
10173 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10174 small arguments before calling __expm1f.
10175 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10176 small arguments before calling __expm1l.
10177 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10179 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10180 * math/auto-libm-test-in: Add more cosh tests. Do not allow
10181 spurious underflow for some cosh tests.
10182 * math/auto-libm-test-out: Regenerated.
10183 * sysdeps/i386/fpu/libm-test-ulps: Update.
10186 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10187 (__ieee754_y1): Set errno if return value overflows.
10188 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10189 (__ieee754_y1f): Set errno if return value overflows.
10190 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10191 (__ieee754_y1l): Set errno if return value overflows.
10192 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10193 (__ieee754_y1l): Set errno if return value overflows.
10194 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10195 * math/auto-libm-test-out: Regenerated.
10197 * math/gen-auto-libm-tests.c: Document use of
10198 ignore-zero-inf-sign.
10199 (input_flag_type): Add value flag_ignore_zero_inf_sign.
10200 (input_flags): Add ignore-zero-inf-sign.
10201 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10202 * math/gen-libm-test.pl (generate_testfile): Handle
10203 ignore-zero-inf-sign.
10204 * math/auto-libm-test-in: Mark some cpow tests with
10205 ignore-zero-inf-sign and some with xfail-rounding.
10206 * math/auto-libm-test-out: Regenerated.
10207 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10208 * sysdeps/i386/fpu/libm-test-ulps: Update.
10209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10212 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10213 overflowing or underflowing operations take place with sign of
10215 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10216 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10217 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10218 (__ieee754_pow): Recompute overflowing and underflowing results in
10219 original rounding mode.
10220 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10221 (__powl_helper): Allow negative argument X and scale negated value
10222 as needed. Avoid passing value outside [-1, 1] to f2xm1.
10223 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10224 overflowing or underflowing operations take place with sign of
10226 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10228 * math/auto-libm-test-in: Add more tests of pow.
10229 * math/auto-libm-test-out: Regenerated.
10230 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10231 (pow_tonearest_test_data): Remove.
10232 (pow_test_tonearest): Likewise.
10233 (pow_towardzero_test_data): Likewise.
10234 (pow_test_towardzero): Likewise.
10235 (pow_downward_test_data): Likewise.
10236 (pow_test_downward): Likewise.
10237 (pow_upward_test_data): Likewise.
10238 (pow_test_upward): Likewise.
10239 (main): Don't call removed functions.
10240 * sysdeps/i386/fpu/libm-test-ulps: Update.
10241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10243 2014-06-23 Roland McGrath <roland@hack.frob.com>
10245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
10257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
10263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
10265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
10267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
10269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
10271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
10275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
10279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
10281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
10283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
10284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
10286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
10290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
10291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
10293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
10294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
10296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
10297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
10299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
10300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
10302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
10303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
10305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
10306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
10308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
10309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
10310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
10314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
10315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
10321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
10330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
10333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
10334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
10335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
10339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
10343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
10346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
10349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
10352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
10355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
10359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
10362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
10365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
10368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
10371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
10372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
10373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
10376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
10379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
10391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
10394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
10397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
10400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
10404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
10408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
10412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
10415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
10419 2014-06-23 Will Newton <will.newton@linaro.org>
10420 Wilco <wdijkstr@arm.com>
10422 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
10423 implementation. Include get-rounding-mode.h.
10424 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
10425 [!libc_feholdsetround_noex_ctx]: Define
10426 libc_feholdsetround_noex_ctx.
10427 [!libc_feholdsetround_noexf_ctx]: Define
10428 libc_feholdsetround_noexf_ctx.
10429 [!libc_feholdsetround_noexl_ctx]: Define
10430 libc_feholdsetround_noexl_ctx.
10431 (libc_feholdsetround_ctx): New function.
10432 (libc_feresetround_ctx): New function.
10433 (libc_feholdsetround_noex_ctx): New function.
10434 (libc_feresetround_noex_ctx): New function.
10436 2014-06-23 Roland McGrath <roland@hack.frob.com>
10438 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
10439 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
10440 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
10441 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
10442 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
10443 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
10445 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
10446 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
10447 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
10448 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
10449 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
10450 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
10451 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
10452 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
10453 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
10454 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
10455 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
10457 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
10459 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
10460 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
10461 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
10462 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
10463 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
10465 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
10466 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
10467 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
10468 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
10469 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
10470 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
10471 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
10472 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
10474 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
10475 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
10477 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
10478 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
10479 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
10480 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
10482 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
10483 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
10484 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
10485 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
10486 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
10487 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
10488 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
10489 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
10490 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
10491 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
10493 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
10495 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
10496 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
10497 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
10498 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
10499 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
10500 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
10501 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
10502 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
10503 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
10504 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
10505 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
10506 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
10507 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
10509 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
10510 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
10511 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
10512 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
10513 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
10514 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
10516 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
10517 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
10518 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
10519 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
10520 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
10522 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
10523 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
10524 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
10525 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
10526 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
10527 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
10528 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
10529 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
10530 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
10531 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
10532 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
10533 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
10534 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
10535 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
10536 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
10537 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
10538 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
10539 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
10540 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
10541 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
10542 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
10543 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
10544 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
10545 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
10546 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
10547 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
10548 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
10549 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
10551 2014-06-23 Joseph Myers <joseph@codesourcery.com>
10553 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
10554 (FALLOC_FL_COLLAPSE_RANGE): New macro.
10555 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
10556 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
10557 (IPV6_PMTUDISC_INTERFACE): Likewise.
10558 (IPV6_PMTUDISC_OMIT): Likewise.
10560 2014-06-23 Andreas Schwab <schwab@suse.de>
10562 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
10563 Remove unused errout label.
10565 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10567 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
10568 macro: hardware supports Vector Crypto instructions.
10570 2014-06-23 Will Newton <will.newton@linaro.org>
10572 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
10573 rather than __builtin_expect.
10575 * elf/dl-lookup.c (undefined_msg): Remove variable.
10576 (_dl_lookup_symbol_x): Replace undefined_msg with string
10579 * elf/dl-lookup.c (do_lookup_unique): New function.
10580 (do_lookup_x): Move STB_GNU_UNIQUE handling code
10581 to a separate function.
10583 2014-06-23 Andreas Schwab <schwab@suse.de>
10586 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
10587 before reading the next line.
10589 2014-06-23 Will Newton <will.newton@linaro.org>
10591 * test-skeleton.c (signal_handler): Use printf and %m
10592 rather than perror. Use printf rather than fprintf to
10593 stderr. Use puts rather than fputs to stderr.
10596 2014-06-22 Ludovic Courtès <ludo@gnu.org>
10598 * nscd/nscd.c (thread_info_t): Remove typedef.
10599 (thread_info): Remove variable.
10601 2014-06-21 Allan McRae <allan@archlinux.org>
10603 * NEWS: Mention CVE-2014-4043.
10605 2014-06-20 Roland McGrath <roland@hack.frob.com>
10607 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
10608 * nptl/smp.h: ... here.
10610 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
10612 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
10613 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
10614 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
10615 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
10617 * nptl/allocatestack.c: Include <stack-aliasing.h>.
10618 * nptl/stack-aliasing.h: New file.
10619 * sysdeps/i386/i686/stack-aliasing.h: New file.
10620 * sysdeps/i386/i686/nptl/Makefile: File removed.
10621 * sysdeps/x86_64/stack-aliasing.h: New file.
10622 * sysdeps/x86_64/nptl/Makefile
10623 (CFLAGS-pthread_create.c): Variable removed.
10625 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
10626 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
10628 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
10629 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
10632 2014-06-21 Joseph Myers <joseph@codesourcery.com>
10634 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10635 (__ASSUME_SIGFRAME_V2): Remove macro.
10636 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
10637 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
10638 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
10639 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
10640 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
10641 Declare as function. Remove conditional macro definitions.
10642 (__default_rt_sa_restorer): Likewise.
10643 (__default_sa_restorer_v1): Remove declaration.
10644 (__default_sa_restorer_v2): Likewise.
10645 (__default_rt_sa_restorer_v1): Likewise.
10646 (__default_rt_sa_restorer_v2): Likewise.
10647 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
10648 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
10649 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
10651 2014-06-20 Roland McGrath <roland@hack.frob.com>
10653 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
10654 (libpthread-routines): Add sysdep.
10655 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
10656 * sysdeps/unix/sysv/linux/sparc/Versions
10657 (libpthread: GLIBC_2.3.3): New version set.
10658 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
10659 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
10660 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
10661 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
10662 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
10663 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
10665 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
10666 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
10667 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
10668 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
10669 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
10670 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
10671 * sysdeps/sparc/nptl/sem_init.c: ... here.
10672 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
10673 * sysdeps/sparc/nptl/sem_post.c: ... here.
10674 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
10675 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
10676 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
10677 * sysdeps/sparc/nptl/sem_wait.c: ... here.
10678 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
10679 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
10680 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
10681 (libpthread-routines): Add cpu_relax.
10682 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
10684 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
10685 (librt: GLIBC_2.3.3): New version set.
10686 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
10687 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
10688 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
10689 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
10690 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
10691 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
10692 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
10693 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
10695 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
10696 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
10697 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
10698 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
10699 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
10700 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
10701 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
10702 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
10703 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
10704 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
10706 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
10708 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
10710 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
10712 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
10714 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
10716 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
10718 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
10720 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
10722 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
10724 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
10726 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
10728 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
10729 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
10730 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
10731 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
10732 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
10733 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
10734 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
10735 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
10736 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
10737 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
10738 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10740 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
10741 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
10742 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
10743 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
10744 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
10746 2014-06-20 Joseph Myers <joseph@codesourcery.com>
10748 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
10749 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
10750 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10751 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
10752 * nscd/nscd.c: Likewise.
10753 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10754 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10755 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10756 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10758 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
10759 <kernel-features.h>.
10760 (init_mq_netlink): Remove conditional have_sock_cloexec
10761 definitions. Remove code conditional on have_sock_cloexec < 0.
10762 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
10763 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
10764 * sysdeps/unix/sysv/linux/opensock.c: Do not include
10765 <kernel-features.h>.
10766 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
10767 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10769 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10771 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10772 Add tests for memset_chk and memset.
10774 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10777 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10780 * elf/tst-dl-iter-static.c: New file.
10781 * elf/Makefile (tests-static): Add tst-dl-iter-static.
10783 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10786 2014-06-20 Joseph Myers <joseph@codesourcery.com>
10788 * sysdeps/unix/sysv/linux/kernel-features.h
10789 (__ASSUME_F_GETOWN_EX): Remove macro.
10790 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10791 <kernel-features.h>.
10792 (miss_F_GETOWN_EX): Remove variable or macro.
10793 (do_fcntl): Do not check miss_F_GETOWN_EX.
10794 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10796 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10798 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10799 [!__ASSUME_AT_RANDOM]: Remove conditional code.
10800 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10802 * sysdeps/unix/sysv/linux/kernel-features.h
10803 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10804 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10805 [ADJ_OFFSET_SS_READ]: Make code unconditional.
10806 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10808 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10811 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10812 Fix calculation of the symbol's value.
10813 * sysdeps/arm/tst-armtlsdescloc.c: New file.
10814 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10815 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10816 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10817 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10818 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10819 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10820 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10821 (modules-names): Add `tst-armtlsdescmod',
10822 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10823 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10824 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10825 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10826 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10827 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10828 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10829 ($(objpfx)tst-armtlsdescloc): New dependency.
10830 ($(objpfx)tst-armtlsdescextnow): Likewise.
10831 ($(objpfx)tst-armtlsdescextlazy): Likewise.
10832 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10833 TLS scheme support.
10834 * sysdeps/arm/configure: Regenerate.
10836 2014-06-20 Joseph Myers <joseph@codesourcery.com>
10838 * include/fcntl.h (__atfct_seterrno): Remove prototype.
10839 (__atfct_seterrno_2): Likewise.
10840 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10841 <kernel-features.h>.
10842 (__ASSUME_ATFCTS): Do not undefine and redefine.
10843 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10844 (__have_atfcts): Remove conditional definition.
10845 (__fxstatat([__NR_fstatat64]: Make code unconditional.
10846 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10847 unreachable if [__ASSUME_ATFCTS].
10848 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10849 not undefine and redefine.
10850 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
10851 <kernel-features.h>.
10852 (faccessat) [__NR_faccessat]: Make code unconditional.
10853 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
10854 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
10855 <kernel-features.h>.
10856 (fchmodat) [__NR_fchmodat]: Make code unconditional.
10857 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10858 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
10859 <kernel-features.h>.
10860 (fchownat) [__NR_fchownat]: Make code unconditional.
10861 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
10862 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
10863 <kernel-features.h>.
10864 (futimesat) [__NR_futimesat]: Make code unconditional.
10865 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
10866 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10867 <kernel-features.h>.
10868 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10869 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10870 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10871 <kernel-features.h>.
10872 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
10873 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10874 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
10875 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10876 <kernel-features.h>.
10877 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
10878 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10879 * sysdeps/unix/sysv/linux/linkat.c: Do not include
10880 <kernel-features.h>.
10881 (linkat) [__NR_linkat]: Make code unconditional.
10882 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10883 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
10884 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
10885 <kernel-features.h>.
10886 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
10887 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10888 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
10889 <kernel-features.h>.
10890 (mkdirat) [__NR_mkdirat]: Make code unconditional.
10891 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
10892 * sysdeps/unix/sysv/linux/openat.c: Do not include
10893 <kernel-features.h>.
10894 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
10895 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
10896 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
10897 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
10898 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
10899 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
10900 <kernel-features.h>.
10901 (readlinkat) [__NR_readlinkat]: Make code unconditional.
10902 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
10903 result of INLINE_SYSCALL directly, not via int variable.
10904 * sysdeps/unix/sysv/linux/renameat.c: Do not include
10905 <kernel-features.h>.
10906 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
10907 (renameat) [__NR_renameat]: Make code unconditional.
10908 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
10909 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
10910 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
10911 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
10912 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
10913 (__ASSUME_ATFCTS): Do not undefine and redefine.
10914 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
10915 <kernel-features.h>.
10916 (symlinkat) [__NR_symlinkat]: Make code unconditional.
10917 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10918 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
10919 <kernel-features.h>.
10920 (unlinkat) [__NR_unlinkat]: Make code unconditional.
10921 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10922 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
10923 (__ASSUME_ATFCTS): Do not undefine and redefine.
10924 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10925 <kernel-features.h>.
10926 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10927 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10928 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10929 <kernel-features.h>.
10930 (__xmknodat) [__NR_mknodat]: Make code unconditional.
10931 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10933 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10935 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10937 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
10940 * posix/regcomp.c (parse_reg_exp): Deallocate partially
10941 constructed tree before returning error.
10942 * posix/bug-regexp36.c: Expand test case.
10944 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10947 * math/libm-test.inc (scalbln_test_date):
10948 Add errno expectations.
10949 * math/w_scalblnf.c: New File.
10950 Add wrapper which checks for setting errno to ERANGE.
10951 Add weak_alias for corresponding scalbln function.
10952 * math/w_scalbln.c: Likewise.
10953 * math/w_scalblnl.c: Likewise.
10954 * math/Makefile (libm-calls): Add w_scalbln.
10955 * sysdeps/ieee754/flt-32/s_scalblnf.c:
10956 Remove weak_alias for corresponding scalbln function.
10957 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10958 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10959 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10960 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10961 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10962 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10963 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10964 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10965 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10966 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10967 Remove long_double_symbol for scalblnl function in libm, libc.
10968 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
10969 Add wrapper which checks for setting errno to ERANGE.
10970 Add long_double_symbol for scalblnl function in libm, libc.
10971 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10972 Remove long_double_symbol for scalblnl in libm.
10973 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10974 Add wrapper which checks for setting errno to ERANGE.
10975 Add long_double_symbol for scalblnl function in libm.
10976 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10977 Do not use wrapper because of own implementation.
10979 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
10981 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10982 3 bytes for __pad1 for x32.
10983 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10985 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
10986 H.J. Lu <hongjiu.lu@intel.com>
10988 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10989 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10990 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10991 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10992 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10994 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
10997 * posix/regcomp.c (parse_expression): Deallocate partially
10998 constructed tree before returning error.
10999 * posix/Makefile.c (tests): Add bug-regex36.
11000 (generated): Add bug-regex36.mtrace.
11001 (tests-special): Add $(objpfx)bug-regex36-mem.out
11002 (bug-regex36-ENV): New variable.
11003 ($(objpfx)bug-regex36-mem.out): New rule.
11004 * posix/bug-regex36.c: New file.
11006 2014-06-19 Will Newton <will.newton@linaro.org>
11008 * malloc/malloc.c (systrim): If extra is zero then return
11011 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11013 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
11015 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
11017 * sysdeps/aarch64/strchr.S: New file.
11019 2014-06-18 Joseph Myers <joseph@codesourcery.com>
11022 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
11023 from arguments -2 or below.
11024 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11025 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11027 2014-06-18 Andreas Schwab <schwab@suse.de>
11030 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
11031 of a bracket expr not to run off the end of the string.
11032 * posix/Makefile (tests): Add tst-fnmatch3.
11033 * posix/tst-fnmatch3.c: New file.
11035 2014-06-18 Joseph Myers <joseph@codesourcery.com>
11037 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
11038 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11039 [$(cross-compiling) = no]: Likewise.
11040 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11041 [$(cross-compiling) = no]: Likewise.
11043 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11046 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11047 double, adjusted for any remainder from the high double.
11048 * math/libm-test.inc (nearbyint): Add tests.
11051 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11053 * nptl/sysdeps/powerpc/Makefile: Moved ...
11054 * sysdeps/powerpc/nptl/Makefile: ... here.
11055 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11056 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11057 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11058 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11059 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11060 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11061 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11062 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11063 * nptl/sysdeps/powerpc/tls.h: Moved ...
11064 * sysdeps/powerpc/nptl/tls.h: ... here.
11066 2014-06-16 Joseph Myers <joseph@codesourcery.com>
11069 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11070 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11071 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11072 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
11073 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11074 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
11075 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
11076 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11077 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
11079 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
11081 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11083 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
11085 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11088 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11091 2014-06-16 Florian Weimer <fweimer@redhat.com>
11094 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11095 non-executed part of the test.
11097 2014-06-16 Andreas Schwab <schwab@suse.de>
11099 * string/bits/string2.h (strdup, strndup): Update feature guard.
11101 2014-06-14 David S. Miller <davem@davemloft.net>
11103 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11105 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
11107 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11108 that was previously under [RESET_PID].
11109 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11111 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11112 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11113 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11114 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11115 (__libc_vfork): New strong alias.
11116 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11118 2014-06-14 Andi Kleen <ak@linux.intel.com>
11120 * sysdeps/generic/elide.h: New file.
11122 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
11124 * Makefile (installed-headers): Adjust path of pthread.h header.
11126 2014-06-13 Roland McGrath <roland@hack.frob.com>
11128 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11129 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11130 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11131 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11133 * nptl/sysdeps/s390/Makefile: Moved ...
11134 * sysdeps/s390/nptl/Makefile: ... here.
11135 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11136 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11137 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11138 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11139 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11140 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11141 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11142 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11143 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11144 * sysdeps/s390/nptl/pthreaddef.h: ... here.
11145 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11146 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11147 * nptl/sysdeps/s390/tls.h: Moved ...
11148 * sysdeps/s390/nptl/tls.h: ... here.
11150 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11151 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11153 2014-06-13 David S. Miller <davem@davemloft.net>
11155 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11156 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11157 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11158 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11159 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11160 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11161 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
11162 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
11163 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11164 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11165 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11166 Remove RESET_PID cpp guards.
11167 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11168 Remove RESET_PID cpp guards.
11169 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11171 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
11173 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11176 2014-06-13 Andi Kleen <ak@linux.intel.com>
11178 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11179 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11180 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11181 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11182 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11183 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11184 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11185 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11186 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11187 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11188 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11189 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11190 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11191 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11192 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11193 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11194 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11195 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11196 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11197 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
11199 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
11200 (pthread_rwlock_rdlock): Add elision.
11201 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11202 (pthread_rwlock_wrlock): Add elision.
11203 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11204 (pthread_rwlock_trywrlock): Add elision.
11205 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11206 (pthread_rwlock_tryrdlock): Add elision.
11207 * nptl/pthread_rwlock_unlock.c: Include elide.h.
11208 (pthread_rwlock_tryrdlock): Add elision unlock.
11209 * nptl/sysdeps/pthread/pthread.h:
11210 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11211 (PTHREAD_RWLOCK_INITIALIZER,
11212 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11213 Handle new elision field.
11214 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11215 * sysdeps/arm/nptl/bits/pthreadtypes.h
11216 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11217 * sysdeps/sh/nptl/bits/pthreadtypes.h
11218 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11219 * sysdeps/tile/nptl/bits/pthreadtypes.h
11220 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11221 * sysdeps/a/nptl/bits/pthreadtypes.h
11222 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11223 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11224 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11225 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11226 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11227 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11228 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11229 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11230 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11231 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11232 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11233 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11234 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11235 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11236 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11237 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11238 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11239 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11240 (elision_init): Set try_xbegin to zero when no RTM.
11241 * sysdeps/x86/nptl/bits/pthreadtypes.h
11242 (pthread_rwlock_t): Change __pad1 to __rwelision.
11243 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11245 2014-06-13 Andi Kleen <ak@linux.intel.com>
11247 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11248 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11249 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11250 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11252 2014-06-13 Meador Inge <meadori@codesourcery.com>
11255 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
11256 that the cached result has been set before returning it.
11258 2014-06-12 Roland McGrath <roland@hack.frob.com>
11260 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
11261 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
11262 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
11263 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
11264 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
11265 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
11267 * nptl/sysdeps/sparc/Makefile: Moved ...
11268 * sysdeps/sparc/nptl/Makefile: ... here.
11269 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
11270 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
11271 * nptl/sysdeps/sparc/tls.h: Moved ...
11272 * sysdeps/sparc/nptl/tls.h: ... here.
11273 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
11274 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11275 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
11276 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
11277 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
11278 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
11279 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
11280 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
11281 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
11282 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
11283 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
11284 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
11285 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
11286 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
11287 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
11288 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
11289 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
11290 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
11292 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
11293 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
11295 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
11296 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
11298 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
11299 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
11302 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11304 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
11305 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
11307 * sysdeps/pthread/posix-timer.h: Include <list.h>.
11308 (struct list_links): Type removed.
11309 (struct thread_node, struct timer_node): Replace struct list_links
11310 with struct list_head.
11311 (list_unlink_ip): Likewise.
11312 * sysdeps/pthread/timer_routines.c
11313 (timer_free_list, thread_free_list, thread_active_list): Likewise.
11314 (list_append, list_insbefore): Likewise.
11315 (list_init): Function removed.
11316 (thread_init, init_module): Use INIT_LIST_HEAD instead.
11317 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
11318 * sysdeps/pthread/Makefile: ... here, new file.
11320 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
11321 * sysdeps/nptl/Implies: ... here.
11322 * sysdeps/unix/sysv/linux/Implies: Add nptl.
11323 * nptl/sysdeps/pthread/list.h: Moved ...
11324 * include/list.h: ... here.
11325 * nptl/sysdeps/pthread/createthread.c: Moved ...
11326 * nptl/createthread.c: ... here.
11327 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
11328 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
11329 * nptl/pt-longjmp.c: ... here.
11330 * nptl/sysdeps/pthread/Makefile: Moved ...
11331 * sysdeps/nptl/Makefile: ... here.
11332 * nptl/sysdeps/pthread/Subdirs: Moved ...
11333 * sysdeps/nptl/Subdirs: ... here.
11334 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
11335 * sysdeps/nptl/aio_misc.h: ... here.
11336 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
11337 * sysdeps/nptl/bits/libc-lock.h: ... here.
11338 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
11339 * sysdeps/nptl/bits/libc-lockP.h: ... here.
11340 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
11341 * sysdeps/nptl/bits/stdio-lock.h: ... here.
11342 * nptl/sysdeps/pthread/configure: Moved ...
11343 * sysdeps/nptl/configure: ... here.
11344 * nptl/sysdeps/pthread/configure.ac: Moved ...
11345 * sysdeps/nptl/configure.ac: ... here.
11346 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
11347 * sysdeps/nptl/gai_misc.h: ... here.
11348 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
11349 * sysdeps/nptl/librt-cancellation.c: ... here.
11350 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
11351 * sysdeps/nptl/malloc-machine.h: ... here.
11352 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
11353 * sysdeps/nptl/pthread-functions.h: ... here.
11354 * nptl/sysdeps/pthread/pthread.h: Moved ...
11355 * sysdeps/nptl/pthread.h: ... here.
11356 * nptl/sysdeps/pthread/setxid.h: Moved ...
11357 * sysdeps/nptl/setxid.h: ... here.
11358 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
11359 * sysdeps/nptl/sigfillset.c: ... here.
11360 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
11361 * sysdeps/nptl/tcb-offsets.h: ... here.
11362 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
11363 * sysdeps/nptl/tst-mqueue8x.c: ... here.
11364 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
11365 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
11366 * nptl/sysdeps/pthread/allocalim.h: Moved ...
11367 * sysdeps/pthread/allocalim.h: ... here.
11368 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
11369 * sysdeps/pthread/bits/sigthread.h: ... here.
11370 * nptl/sysdeps/pthread/flockfile.c: Moved ...
11371 * sysdeps/pthread/flockfile.c: ... here.
11372 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
11373 * sysdeps/pthread/ftrylockfile.c: ... here.
11374 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
11375 * sysdeps/pthread/funlockfile.c: ... here.
11376 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
11377 * sysdeps/pthread/posix-timer.h: ... here.
11378 * nptl/sysdeps/pthread/timer_create.c: Moved ...
11379 * sysdeps/pthread/timer_create.c: ... here.
11380 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
11381 * sysdeps/pthread/timer_delete.c: ... here.
11382 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
11383 * sysdeps/pthread/timer_getoverr.c: ... here.
11384 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
11385 * sysdeps/pthread/timer_gettime.c: ... here.
11386 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
11387 * sysdeps/pthread/timer_routines.c: ... here.
11388 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
11389 * sysdeps/pthread/timer_settime.c: ... here.
11390 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
11391 * sysdeps/pthread/tst-timer.c: ... here.
11392 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
11393 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
11395 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
11396 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
11398 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
11399 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
11400 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
11401 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
11402 Update #include target.
11403 * nptl/sysdeps/i386/i686/Makefile: Moved ...
11404 * sysdeps/i386/i686/nptl/Makefile: ... here.
11405 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
11406 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
11407 Update #include target.
11408 * nptl/sysdeps/i386/i686/tls.h: Moved ...
11409 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
11410 * nptl/sysdeps/i386/Makefile: Moved ...
11411 * sysdeps/i386/nptl/Makefile: ... here.
11412 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
11413 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
11414 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
11415 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
11416 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
11417 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
11418 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
11419 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
11420 * sysdeps/i386/nptl/pthreaddef.h: ... here.
11421 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
11422 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
11423 * nptl/sysdeps/i386/tls.h: Moved ...
11424 * sysdeps/i386/nptl/tls.h: ... here.
11426 * sysdeps/sh/Makefile [$(subdir) = csu]
11427 (gen-as-const-headers): Add tcb-offsets.sym.
11428 * nptl/sysdeps/sh/Makefile: File removed.
11429 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
11430 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
11431 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
11432 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
11433 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
11434 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
11435 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
11436 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
11437 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
11438 * sysdeps/sh/nptl/pthreaddef.h: ... here.
11439 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
11440 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
11441 * nptl/sysdeps/sh/tls.h: Moved ...
11442 * sysdeps/sh/nptl/tls.h: ... here.
11443 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
11444 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
11445 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
11446 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
11447 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
11448 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
11449 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
11450 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
11451 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
11452 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
11453 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
11454 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
11455 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
11456 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
11457 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
11458 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
11459 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
11460 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
11461 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
11462 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
11463 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
11464 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
11465 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
11466 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
11467 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
11469 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
11470 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
11472 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
11473 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
11474 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
11475 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
11476 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
11477 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
11478 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
11479 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
11480 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
11481 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
11482 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
11483 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
11484 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
11485 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
11486 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
11487 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
11488 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
11489 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
11490 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
11492 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11494 * posix/spawn_faction_addopen.c: Include string.h.
11496 2014-06-11 Roland McGrath <roland@hack.frob.com>
11498 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
11499 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
11500 * nptl/sysdeps/x86_64/Makefile: Moved ...
11501 * sysdeps/x86_64/nptl/Makefile: ... here.
11502 * nptl/sysdeps/x86_64/configure: Moved ...
11503 * sysdeps/x86_64/nptl/configure: ... here.
11504 * nptl/sysdeps/x86_64/configure.ac: Moved ...
11505 * sysdeps/x86_64/nptl/configure.ac: ... here.
11506 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
11507 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
11508 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
11509 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
11510 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
11511 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
11512 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
11513 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
11514 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
11515 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
11516 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
11517 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
11518 * nptl/sysdeps/x86_64/tls.h: Moved ...
11519 * sysdeps/x86_64/nptl/tls.h: ... here.
11520 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
11521 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
11522 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
11523 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
11525 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
11527 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11529 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11531 2014-06-11 Joseph Myers <joseph@codesourcery.com>
11533 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
11535 [POSIX] (off_t): Likewise.
11536 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
11537 [POSIX] (S_ISBLK): Require macro.
11538 [POSIX] (S_ISCHR): Likewise.
11539 [POSIX] (S_ISDIR): Likewise.
11540 [POSIX] (S_ISFIFO): Likewise.
11541 [POSIX] (S_ISREG): Likewise.
11542 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
11544 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
11546 [POSIX] (time_t): Likewise.
11547 [POSIX] (timer_t): Likewise.
11549 2014-06-11 Florian Weimer <fweimer@redhat.com>
11552 * posix/spawn_int.h (struct __spawn_action): Make the path string
11553 non-const to support deallocation.
11554 * posix/spawn_faction_addopen.c
11555 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
11556 * posix/spawn_faction_destroy.c
11557 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
11558 path in all spawn_do_open actions.
11559 * posix/tst-spawn.c (do_test): Exercise the copy operation in
11560 posix_spawn_file_actions_addopen.
11562 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
11564 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
11565 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
11566 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
11567 conditional code always true.
11568 (__libc_vfork): New alias.
11570 2014-06-11 Roland McGrath <roland@hack.frob.com>
11572 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11573 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
11575 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
11577 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11578 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
11580 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11581 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
11583 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11584 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
11586 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11588 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
11589 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
11590 multiarch strcmp for PPC64.
11591 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
11592 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
11593 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
11594 multiarch optimizations.
11595 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11596 (__libc_ifunc_impl_list): Likewise.
11598 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11600 * benchtests/scripts/validate_benchout.py: New script.
11601 * benchtests/Makefile (bench-func): Call it.
11602 * benchtests/scripts/benchout.schema.json: New file.
11604 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
11606 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
11607 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
11608 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
11609 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
11610 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
11611 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
11612 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
11613 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
11614 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
11615 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
11616 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
11617 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
11618 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
11619 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
11620 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
11621 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
11622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
11624 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
11626 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
11628 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
11629 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
11631 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
11633 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
11635 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
11637 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
11639 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
11640 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
11642 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
11644 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
11646 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
11648 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
11650 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
11651 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
11653 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
11655 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
11657 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
11659 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
11661 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
11663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
11665 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
11666 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
11668 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
11670 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
11672 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
11674 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
11676 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
11678 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
11680 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
11681 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
11683 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
11685 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
11687 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
11689 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
11691 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
11692 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
11694 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
11696 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
11698 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
11699 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
11701 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
11702 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
11704 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
11706 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
11708 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
11710 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
11712 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
11714 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
11716 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
11717 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
11719 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
11721 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
11723 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
11725 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
11726 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
11727 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
11728 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
11729 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
11731 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
11733 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
11734 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
11735 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
11736 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
11737 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
11738 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
11739 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
11740 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
11741 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
11742 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
11743 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
11744 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
11745 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
11747 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
11748 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
11750 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
11751 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
11752 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
11753 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
11755 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
11756 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
11757 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
11758 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
11759 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
11760 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
11761 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
11763 2014-06-10 Wilco <wdijkstr@arm.com>
11765 * math/test-fenv-return.c: New file.
11766 * math/Makefile: Add new test test-fenv-return.
11768 2014-06-10 Joseph Myers <joseph@codesourcery.com>
11771 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11772 when x - 1 is zero.
11773 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11774 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11775 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11776 0.0L for an argument of 1.0L.
11777 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11779 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11780 value when x - 1 is zero.
11781 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11782 * sysdeps/i386/fpu/libm-test-ulps: Update.
11783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11785 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
11788 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11790 2014-06-09 Roland McGrath <roland@hack.frob.com>
11792 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11793 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11795 2014-06-09 Roland McGrath <roland@hack.frob.com>
11797 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11798 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11800 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11801 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11803 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11804 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11806 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11807 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11809 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11810 if not already defined.
11811 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11812 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11813 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11814 (TLS_INIT_TP): Use it.
11815 (TLS_DEFINE_INIT_TP): New macro.
11816 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11818 2014-06-09 Joseph Myers <joseph@codesourcery.com>
11820 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11822 [POSIX] (IXANY): Likewise.
11823 [POSIX] (OLCUC): Likewise.
11824 [POSIX || POSIX2008] (CBAUD): Do not allow.
11825 [POSIX || POSIX2008] (DEFECHO): Likewise.
11826 [POSIX || POSIX2008] (ECHOCTL): Likewise.
11827 [POSIX || POSIX2008] (ECHOKE): Likewise.
11828 [POSIX || POSIX2008] (ECHOPRT): Likewise.
11829 [POSIX || POSIX2008] (EXTA): Likewise.
11830 [POSIX || POSIX2008] (EXTB): Likewise.
11831 [POSIX || POSIX2008] (FLUSHO): Likewise.
11832 [POSIX || POSIX2008] (LOBLK): Likewise.
11833 [POSIX || POSIX2008] (PENDIN): Likewise.
11834 [POSIX || POSIX2008] (SWTCH): Likewise.
11835 [POSIX || POSIX2008] (VDISCARD): Likewise.
11836 [POSIX || POSIX2008] (VDSUSP): Likewise.
11837 [POSIX || POSIX2008] (VLNEXT): Likewise.
11838 [POSIX || POSIX2008] (VREPRINT): Likewise.
11839 [POSIX || POSIX2008] (VSTATUS): Likewise.
11840 [POSIX || POSIX2008] (VWERASE): Likewise.
11841 (B*): Change to B[0123456789]*.
11842 * conform/data/time.h-data [POSIX || UNIX98]
11843 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11844 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11845 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11846 [POSIX] (tm_*): Do not allow.
11848 2014-06-07 Joseph Myers <joseph@codesourcery.com>
11850 * Makefile (install): Don't set LANGUAGE.
11851 * Makefile.in (install): Likewise.
11852 * assert/Makefile (test-assert-ENV): Remove variable.
11853 (test-assert-perr-ENV): Likewise.
11854 * elf/Makefile (neededtest4-ENV): Likewise.
11855 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11856 [$(cross-compiling) = no]: Don't set LANGUAGE.
11857 * io/ftwtest-sh (LANG): Remove variable.
11858 * libio/Makefile (tst-widetext-ENV): Likewise.
11859 * manual/install.texi (Running make install): Don't refer to
11860 environment settings for make install.
11861 * INSTALL: Regenerated.
11862 * nptl/tst-tls6.sh: Don't set LANG.
11863 * posix/globtest.sh (LANG): Remove variable.
11864 * string/Makefile (tester-ENV): Likewise.
11865 (inl-tester-ENV): Likewise.
11866 (noinl-tester-ENV): Likewise.
11867 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11868 [$(cross-compiling) = no]: Don't set LANGUAGE.
11869 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
11870 without explicit environment settings.
11872 2014-06-06 Roland McGrath <roland@hack.frob.com>
11874 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
11875 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
11876 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
11877 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
11879 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
11881 * crypt/crypt-private.h [DOS]: Add some includes taken from the
11882 other files in the crypt directory.
11883 * crypt/crypt.c: Remove duplicate includes.
11884 * crypt/crypt-entry.c: Likewise.
11885 * crypt/crypt_util.c: Likewise.
11887 2014-06-06 Joseph Myers <joseph@codesourcery.com>
11889 * Makeconfig (run-program-env): New variable.
11890 (run-program-prefix-before-env): Likewise.
11891 (run-program-prefix-after-env): Likewise.
11892 (run-program-prefix): Define in terms of new variables.
11893 (built-program-cmd-before-env): New variable.
11894 (built-program-cmd-after-env): Likewise.
11895 (built-program-cmd): Define in terms of new variables.
11896 (test-program-prefix-before-env): New variable.
11897 (test-program-prefix-after-env): Likewise.
11898 (test-program-prefix): Define in terms of new variables.
11899 (test-program-cmd-before-env): New variable.
11900 (test-program-cmd-after-env): Likewise.
11901 (test-program-cmd): Define in terms of new variables.
11902 * Rules (make-test-out): Use $(run-program-env).
11903 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
11904 (help): Do not mention environment variables. Mention
11905 --timeoutfactor option.
11906 (timeoutfactor): New variable.
11907 (blacklist_exports): Remove function.
11908 (exports): Remove variable.
11909 (command): Do not include ${exports}.
11910 * manual/install.texi (Configuring and compiling): Do not mention
11911 test wrappers preserving environment variables. Mention that last
11912 assignment to a variable must take precedence.
11913 * INSTALL: Regenerated.
11914 * benchtests/Makefile (run-bench): Use $(run-program-env).
11915 * catgets/Makefile ($(objpfx)test1.cat): Use
11916 $(built-program-cmd-before-env), $(run-program-env) and
11917 $(built-program-cmd-after-env).
11918 ($(objpfx)test2.cat): Do not specify environment variables
11920 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
11921 $(run-program-env) and $(built-program-cmd-after-env).
11922 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
11923 $(run-program-env) and $(test-program-cmd-after-env).
11924 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
11926 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
11927 run_program_env and test_program_cmd_after_env arguments.
11928 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
11929 * elf/tst-pathopt.sh: Use run_program_env argument.
11930 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11931 $(test-wrapper-env) and $(run-program-env).
11932 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11933 run_program_env arguments.
11934 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11935 * intl/Makefile ($(objpfx)tst-gettext.out): Use
11936 $(test-program-prefix-before-env), $(run-program-env) and
11937 $(test-program-prefix-after-env).
11938 ($(objpfx)tst-gettext2.out): Likewise.
11939 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11940 run_program_env and test_program_prefix_after_env arguments.
11941 * intl/tst-gettext2.sh: Likewise.
11942 * intl/tst-gettext4.sh: Do not set environment variables
11944 * intl/tst-gettext6.sh: Likewise.
11945 * intl/tst-translit.sh: Likewise.
11946 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11947 $(test-program-prefix-before-env), $(run-program-env) and
11948 $(test-program-prefix-after-env).
11949 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11950 run_program_env and test_program_prefix_after_env arguments.
11951 * math/Makefile (run-regen-ulps): Use $(run-program-env).
11952 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11953 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
11954 explicitly with each use of ${test_wrapper_env}.
11955 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11956 $(test-program-prefix-before-env), $(run-program-env) and
11957 $(test-program-prefix-after-env).
11958 * posix/tst-getconf.sh: Do not set environment variables
11960 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11961 run_program_env and test_program_prefix_after_env arguments.
11962 * stdio-common/tst-printf.sh: Do not set environment variables
11964 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11965 $(test-program-prefix-before-env), $(run-program-env) and
11966 $(test-program-prefix-after-env).
11967 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11968 run_program_env and test_program_prefix_after_env arguments.
11969 Split $test calls into $test_pre and $test.
11970 * timezone/Makefile (build-testdata): Use
11971 $(built-program-cmd-before-env), $(run-program-env) and
11972 $(built-program-cmd-after-env).
11974 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11976 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11977 strlen for non SHARED builds.
11979 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11981 * nptl/allocatestack.c (check_list): Inlined function...
11982 (__reclaim_stacks): ... here.
11984 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
11987 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11990 2014-06-05 Joseph Myers <joseph@codesourcery.com>
11992 * Rules (make-test-out): Include
11993 LOCPATH=$(common-objpfx)localedata in default environment.
11994 * debug/Makefile (tst-chk1-ENV): Remove variable.
11995 (tst-chk2-ENV): Likewise.
11996 (tst-chk3-ENV): Likewise.
11997 (tst-chk4-ENV): Likewise.
11998 (tst-chk5-ENV): Likewise.
11999 (tst-chk6-ENV): Likewise.
12000 (tst-lfschk1-ENV): Likewise.
12001 (tst-lfschk2-ENV): Likewise.
12002 (tst-lfschk3-ENV): Likewise.
12003 (tst-lfschk4-ENV): Likewise.
12004 (tst-lfschk5-ENV): Likewise.
12005 (tst-lfschk6-ENV): Likewise.
12006 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12007 (tst-iconv7-ENV): Likewise.
12008 * intl/Makefile (LOCPATH-ENV): Likewise.
12009 (tst-codeset-ENV): Likewise.
12010 (tst-gettext3-ENV): Likewise.
12011 (tst-gettext5-ENV): Likewise.
12012 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12013 (tst-fopenloc-ENV): Likewise.
12014 (tst-fgetws-ENV): Remove variable.
12015 (tst-ungetwc1-ENV): Likewise.
12016 (tst-ungetwc2-ENV): Likewise.
12017 (bug-ungetwc2-ENV): Likewise.
12018 (tst-swscanf-ENV): Likewise.
12019 (bug-ftell-ENV): Likewise.
12020 (tst-fgetwc-ENV): Likewise.
12021 (tst-fseek-ENV): Likewise.
12022 (tst-ftell-partial-wide-ENV): Likewise.
12023 (tst-ftell-active-handler-ENV): Likewise.
12024 (tst-ftell-append-ENV): Likewise.
12025 * posix/Makefile (tst-fnmatch-ENV): Likewise.
12026 (tst-regexloc-ENV): Likewise.
12027 (bug-regex1-ENV): Likewise.
12028 (tst-regex-ENV): Likewise.
12029 (tst-regex2-ENV): Likewise.
12030 (bug-regex5-ENV): Likewise.
12031 (bug-regex6-ENV): Likewise.
12032 (bug-regex17-ENV): Likewise.
12033 (bug-regex18-ENV): Likewise.
12034 (bug-regex19-ENV): Likewise.
12035 (bug-regex20-ENV): Likewise.
12036 (bug-regex22-ENV): Likewise.
12037 (bug-regex23-ENV): Likewise.
12038 (bug-regex25-ENV): Likewise.
12039 (bug-regex26-ENV): Likewise.
12040 (bug-regex30-ENV): Likewise.
12041 (bug-regex32-ENV): Likewise.
12042 (bug-regex33-ENV): Likewise.
12043 (bug-regex34-ENV): Likewise.
12044 (bug-regex35-ENV): Likewise.
12045 (tst-rxspencer-ENV): Likewise.
12046 (tst-rxspencer-no-utf8-ENV): Likewise.
12047 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12048 (tst-sscanf-ENV): Likewise.
12049 (tst-swprintf-ENV): Likewise.
12050 (tst-swscanf-ENV): Likewise.
12051 (test-vfprintf-ENV): Likewise.
12052 (scanf13-ENV): Likewise.
12053 (bug14-ENV): Likewise.
12054 (tst-grouping-ENV): Likewise.
12055 * stdlib/Makefile (tst-strtod-ENV): Likewise.
12056 (tst-strtod3-ENV): Likewise.
12057 (tst-strtod4-ENV): Likewise.
12058 (tst-strtod5-ENV): Likewise.
12059 (testmb2-ENV): Likewise./
12060 * string/Makefile (tst-strxfrm-ENV): Likewise.
12061 (tst-strxfrm2-ENV): Likewise.
12062 (bug-strcoll1-ENV): Likewise.
12063 (test-strcasecmp-ENV): Likewise.
12064 (test-strncasecmp-ENV): Likewise.
12065 * time/Makefile (tst-strptime-ENV): Likewise.
12066 (tst-ftime_l-ENV): Likewise.
12067 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12068 (tst-mbrtowc-ENV): Likewise.
12069 (tst-wcrtomb-ENV): Likewise.
12070 (tst-mbrtowc2-ENV): Likewise.
12071 (tst-c16c32-1-ENV): Likewise.
12072 (tst-mbsnrtowcs-ENV): Likewise.
12074 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
12076 * manual/resource.texi (How to get information about the memory
12077 subsystem?): Fix typo.
12078 Reported by Peon de la Parra Ivan <peon@keba.com>
12080 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
12083 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12084 (pthread_spin_lock): Branch out of spin loop to proper location.
12085 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12086 (pthread_spin_lock): Likewise.
12088 * nptl/tst-spin4.c: New test.
12089 * nptl/Makefile (tests): Add tst-spin4.
12091 2014-06-03 Andreas Schwab <schwab@suse.de>
12094 * resolv/res_send.c (send_dg): Reload file descriptor after
12097 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
12099 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12101 2014-06-03 Richard Henderson <rth@redhat.com>
12103 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12104 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12105 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12106 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
12107 in the SAVE_PID block.
12108 (__libc_vfork): New alias.
12109 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
12111 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12112 child in registers, not on the stack. Remove RESET_PID conditionals.
12113 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12115 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
12117 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12119 2014-06-03 Wilco <wdijkstr@arm.com>
12121 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12122 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12123 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12124 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12125 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12128 2014-06-03 Wilco <wdijkstr@arm.com>
12130 * sysdeps/aarch64/fpu/math_private.h
12131 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12132 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12133 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12134 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12137 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12139 * crypt/crypt-private.h: Include ufc-crypt.h.
12140 (__b64_from_24bit): Declare extern.
12141 * crypt/crypt_util.c(__b64_from_24bit): New function.
12142 (b64t): New static const variable.
12143 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12144 (b64t): Remove variable.
12145 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12146 * crypt/sha256-crypt.c: Include crypt-private.h.
12147 (b64t): Remove variable.
12148 (__sha256_crypt_r): Remove b64_from_24bit and replace
12149 with __b64_from_24bit.
12150 * crypt/sha512-crypt.c: Likewise.
12152 2014-06-02 Roland McGrath <roland@hack.frob.com>
12154 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12155 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12156 Label the code __libc_vfork rather than __vfork.
12157 [!NOT_IN_libc] (vfork): Define as weak alias.
12158 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12159 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12160 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12162 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12164 * malloc/malloc.c (malloc_info): Fix format specifier for
12167 2014-06-02 Wilco <wdijkstr@arm.com>
12169 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12172 2014-06-02 Wilco <wdijkstr@arm.com>
12175 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12176 Rewrite to reduce FPCR/FPSR accesses.
12178 2014-06-01 David S. Miller <davem@davemloft.net>
12180 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12182 2014-05-31 David S. Miller <davem@davemloft.net>
12184 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12185 to occur in round to nearest mode when |x| >= 2.0
12187 2014-05-30 Richard Henderson <rth@twiddle.net>
12189 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12190 (PSEUDO_RET_NOERRNO): Remove.
12191 (ret): Don't redefine.
12192 (ret_NOERRNO): Define in terms of ret.
12193 (ret_ERRVAL): Likewise.
12195 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12196 use of PSEUDO_RET; perform the error check directly.
12198 2014-05-30 Marko Myllynen <myllynen@redhat.com>
12200 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12203 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12205 * malloc/malloc (malloc_info): Fix formatting.
12207 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12208 Roland McGrath <roland@hack.frob.com>
12210 * malloc/malloc (malloc_info): Also print mmapped statistics.
12212 2014-05-30 Roland McGrath <roland@hack.frob.com>
12214 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12215 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12217 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
12219 * malloc/malloc.c (malloc_info): Inline mi_arena.
12221 2014-05-29 Richard Henderson <rth@twiddle.net>
12223 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12224 Remove comma before expanding ASM_ARGS_##nr.
12225 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12226 Make _x0 a strict output; make _x8 a strict input; adjust expansion
12228 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12229 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12230 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12231 (ASM_ARGS_1): Add leading comma.
12233 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12234 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12235 to __errno_location.
12236 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12237 Remove the expected plt for __errno_location.
12239 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12240 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
12243 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12244 Always allocate 64 bytes of stack frame. Use ldp/stp to create
12245 it and break it down.
12246 (DOCARGS_0, DOCARGS_1): Do nothing.
12247 (DOCARGS_2): Update to store into the new stack frame.
12248 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12249 (UNDOCARGS_1): Update to restore from the new stack frame.
12250 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12251 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12253 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12254 (SINGLE_THREAD_P): New parameter for result regno.
12255 (PSEUDO): Update to match; use cbz instead of beq.
12257 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12258 Use ENTRY to define the _nocancel entry point. Share the syscall
12259 and syscall error check paths with the cancel path.
12262 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
12263 whitespace; tabs before and after asm mnemonics.
12265 2014-05-29 Eric Wong <normalperson@yhbt.net>
12268 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12269 Call fstat64 or stat64 internally, depending on arguments passed.
12270 Replace stat buffer argument with file descriptor argument.
12271 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
12272 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12273 Pass fd to __internal_statvfs instead of calling fstat64.
12274 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
12275 Pass fd to __internal_statvfs64 instead of calling fstat64.
12276 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
12277 Pass -1 to __internal_statvfs instead of calling stat64.
12278 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
12279 Pass -1 to __internal_statvfs64 instead of calling stat64.
12281 2014-05-28 Roland McGrath <roland@hack.frob.com>
12283 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
12284 that was previously under [RESET_PID].
12285 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
12287 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
12288 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
12290 2014-05-27 Roland McGrath <roland@hack.frob.com>
12292 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
12294 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
12295 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
12297 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
12299 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
12301 2014-05-27 Andreas Schwab <schwab@suse.de>
12303 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
12305 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
12306 * elf/rtld.c (init_tls, dl_main): Likewise.
12307 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
12308 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
12309 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
12310 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
12311 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
12312 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
12313 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
12314 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
12315 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
12316 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
12317 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
12318 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
12319 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
12320 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
12321 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
12322 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
12323 * sysdeps/generic/tls.h: Update description.
12325 2014-05-27 Will Newton <will.newton@linaro.org>
12328 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
12329 and restore r2 rather than just restoring.
12331 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12334 * libio/tst-ftell-append.c: New test case.
12335 * libio/Makefile (tests): Add test case.
12336 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
12338 * libio/wfileops.c (do_ftell_wide): Likewise.
12340 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12342 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12344 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
12346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
12347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12348 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
12349 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
12350 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
12351 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
12352 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
12353 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
12354 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
12357 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
12360 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
12361 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
12362 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
12363 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
12364 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
12366 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
12367 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
12369 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
12371 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
12373 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
12374 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
12375 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
12377 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
12378 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
12379 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
12380 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
12382 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
12384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
12385 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
12387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
12388 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
12390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
12391 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
12395 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
12398 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
12402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
12403 conditional [RESET_PID].
12404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
12405 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
12407 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
12410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
12412 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12413 (__libc_vfork): New strong alias.
12414 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
12416 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
12419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
12421 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
12422 (__libc_vfork): New strong alias.
12423 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
12425 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
12428 2014-05-26 Carlos O'Donell <carlos@redhat.com>
12430 * malloc/malloc.c (mi_arena): New function.
12431 (malloc_info): Remove nested function mi_arena. Call non-nosted
12434 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12436 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
12438 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
12439 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
12440 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
12441 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
12442 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
12443 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
12444 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
12446 2014-05-26 Andreas Schwab <schwab@suse.de>
12449 * locale/programs/repertoire.c (repertoire_read): Add slash
12450 between I18NPATH element and file name.
12451 * locale/programs/locfile.c (locfile_read): Likewise.
12453 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12455 * nptl/pthread_mutexattr_settype.c
12456 (__pthread_mutexattr_settype):
12457 Disable lock elision for PTHREAD_MUTEX_NORMAL.
12459 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12461 * nptl/tst-mutex5 (do_test):
12462 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
12464 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12466 * benchtests/README: Document 'init' directive.
12467 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
12469 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
12470 (parse_file): Recognize 'init' directive.
12472 2014-05-26 Kyle McMartin <kyle@redhat.com>
12475 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
12476 alignment of struct pthread.
12478 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12481 * nscd/netgroupcache.c (addgetnetgrentX): Look for
12482 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12483 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
12484 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12486 2014-05-25 Richard Henderson <rth@twiddle.net>
12488 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12489 (SINGLE_THREAD_P_PIC): Remove.
12490 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
12491 (SINGLE_THREAD_P_PIC): Remove.
12493 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
12494 branch to syscall error ...
12495 (PSEUDO): ... here.
12496 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
12497 from __local_syscall_error to .Lsyscall_error.
12498 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
12499 (SYSCALL_ERROR): Update label name.
12501 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12502 Do not use DOARGS/UNDOARGS.
12503 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
12504 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
12505 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
12506 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
12507 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
12509 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
12512 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
12513 define if !NOT_IN_libc.
12514 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
12515 define with non-default symbol versions.
12517 2014-05-23 Richard Henderson <rth@twiddle.net>
12519 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
12520 (vfork, __vfork): Define via compat_symbol.
12522 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
12523 [!HAVE_IFUNC] (vfork_compat): Remove.
12524 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
12526 2014-05-23 Joseph Myers <joseph@codesourcery.com>
12529 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
12530 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
12533 2014-05-23 Richard Henderson <rth@twiddle.net>
12535 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
12536 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
12537 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
12538 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
12540 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
12541 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
12542 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
12543 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
12544 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
12545 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
12546 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
12547 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
12548 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
12549 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
12550 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
12551 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
12552 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
12553 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
12554 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
12555 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
12556 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
12557 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
12558 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
12559 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
12560 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
12561 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
12562 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
12563 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
12564 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
12565 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
12566 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
12567 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
12568 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
12569 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
12570 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
12571 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
12572 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
12573 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
12574 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
12575 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
12576 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
12577 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
12578 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
12579 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
12580 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
12581 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
12582 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
12583 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
12584 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
12585 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
12586 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
12587 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
12588 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
12589 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
12590 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
12591 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
12592 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
12593 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
12594 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
12595 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
12597 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
12598 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
12599 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
12600 before exiting on error.
12601 (__libc_vfork): New strong alias.
12602 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
12603 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
12605 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
12606 that was previously under [RESET_PID].
12607 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
12609 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
12611 2014-05-23 Joseph Myers <joseph@codesourcery.com>
12614 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
12615 value when x - 1 is zero.
12616 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
12617 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12618 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
12619 0.0L for an argument of 1.0L.
12620 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
12622 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
12623 value when x - 1 is zero.
12624 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
12625 * sysdeps/i386/fpu/libm-test-ulps: Update.
12626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12628 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12630 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
12631 alphasort and versionsort.
12633 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12635 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
12637 [copysignf]: Likewise.
12639 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12641 * crypt/md5-crypt.c: Fix formatting.
12643 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12645 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
12646 (b64_from_24bit): New function.
12648 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12650 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
12651 libc_hidden_builtin_def to ifunc.
12652 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12653 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
12655 2014-05-21 Roland McGrath <roland@hack.frob.com>
12657 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
12658 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
12660 2014-05-21 Joseph Myers <joseph@codesourcery.com>
12662 * nscd/Depend (linuxthreads): Remove.
12664 * resolv/Depend (linuxthreads): Remove.
12665 * rt/Depend (linuxthreads): Remove.
12667 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
12668 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
12669 $(common-objpfx)elf/.
12670 (link-libc-before-gnulib): Likewise.
12671 (elfobjdir): Remove variable.
12672 * Makefile (install): Use $(elf-objpfx) instead of
12673 $(common-objpfx)elf/.
12674 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
12676 (link-libc-deps): Likewise.
12677 ($(common-objpfx)libc.so): Likewise.
12678 ($(common-objpfx)linkobj/libc.so): Likewise.
12679 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
12680 instead of $(common-objpfx)elf/.
12681 (symbolic-link-list): Likewise.
12682 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12683 [$(cross-compiling) = no]: Likewise.
12684 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
12686 (static-gnulib-arch): Likewise.
12687 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12688 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
12689 $(common-objpfx)elf/.
12691 2014-05-21 Richard Henderson <rth@redhat.com>
12693 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12694 (SINGLE_THREAD_P): Use the correct width load. Fold
12695 into the ldr offset.
12697 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
12698 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
12700 2014-05-20 Joseph Myers <joseph@codesourcery.com>
12702 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
12703 (libgcc_s_resume): Use __attribute_used__.
12704 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
12707 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12709 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
12710 optimization when used with float constants.
12712 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12714 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
12717 * locale/nl_langinfo_l.c: Make direct reference to every
12718 _nl_current_CATEGORY symbol.
12719 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
12720 (tests-static): Add tst-langinfo-static.
12721 (tests-special): Add tst-langinfo-static.out.
12722 ($(objpfx)tst-langinfo.out): Redirect output.
12723 ($(objpfx)tst-langinfo-static.out): New.
12724 * localedata/tst-langinfo.sh: Send output to stdout.
12725 * localedata/tst-langinfo-static.c: New file.
12728 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
12729 when the shift amount is modulo the limb size.
12731 2014-05-20 Richard Henderson <rth@redhat.com>
12734 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
12735 Change type of sa_flags from unsigned int to int.
12738 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
12740 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
12742 2014-05-20 Will Newton <will.newton@linaro.org>
12744 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12745 Test the return value of the system call in the nocancel case.
12747 2014-05-20 Will Newton <will.newton@linaro.org>
12748 Yvan Roux <yvan.roux@linaro.org>
12750 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
12751 #include of asm/ptrace.h.
12752 (PTRACE_GET_THREAD_AREA): Remove #undef.
12753 (PTRACE_GETHBPREGS): Likewise.
12754 (PTRACE_SETHBPREGS): Likewise.
12755 (struct user_regs_struct): New structure.
12756 (struct user_fpsimd_struct): New structure.
12757 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
12758 #include of asm/ptrace.h and second #include of sys/user.h.
12759 (PTRACE_GET_THREAD_AREA): Remove #undef.
12760 (PTRACE_GETHBPREGS): Likewise.
12761 (PTRACE_SETHBPREGS): Likewise.
12762 (ELF_NGREG): Use new struct user_regs_struct.
12763 (elf_fpregset_t): Use new struct user_fpsimd_struct.
12765 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12767 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12768 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12770 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12773 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12774 membar to avoid block loads/stores to overlap previous stores.
12776 2014-05-17 Richard Henderson <rth@redhat.com>
12778 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12779 Create the __##syscall_name##_nocancel entry point.
12780 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12781 Remove; let the sysdep-cancel.h code create it.
12783 2014-05-17 David S. Miller <davem@davemloft.net>
12785 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12786 Protect with __USE_GNU.
12787 (TIOCSET_TEMPT): Likewise.
12788 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12789 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12790 these are already provided in bits/ioctl-types.h
12792 2014-05-16 Roland McGrath <roland@hack.frob.com>
12794 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12795 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12797 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12798 Use wait4 regardless of [__NR_waitpid].
12800 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12803 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12804 (_FP_NANSIGN_Q): Set the quiet bit.
12806 2014-05-16 Joseph Myers <joseph@codesourcery.com>
12808 * benchtests/Makefile
12809 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12810 not $(common-objpfx)math/libm.so.
12811 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12812 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12813 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12814 $(common-objpfx)dlfcn/libdl.so.
12815 ($(objpfx)tst-audit8): Depend on $(libm), not
12816 $(common-objpfx)math/libm.so.
12817 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12818 not $(common-objpfx)dlfcn/libdl.so.
12820 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12821 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
12822 [$(build-shared) = yes].
12823 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12824 $(common-objpfx)nptl/libpthread.so.
12825 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12826 $(common-objpfx)math/libm.so$(libm.so-version) or
12827 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12828 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12829 $(common-objpfx)dlfcn/libdl.so.
12830 * setjmp/Makefile (link-libm): Remove variable.
12831 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12832 * stdio-common/Makefile (link-libm): Remove variable.
12833 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12834 * stdlib/Makefile (link-libm): Remove variable.
12835 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12836 ($(objpfx)tst-strtod-round): Likewise.
12837 ($(objpfx)tst-tininess): Likewise.
12838 ($(objpfx)tst-strtod-underflow): Likewise.
12839 ($(objpfx)tst-strtod6): Likewise.
12840 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12841 $(libdl), not $(common-objpfx)nptl/libpthread.so and
12842 $(common-objpfx)dlfcn/libdl.so.
12844 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12846 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12847 BSD terminal modes definitions.
12849 2014-05-16 Roland McGrath <roland@hack.frob.com>
12851 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
12852 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
12854 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
12855 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
12856 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
12857 Don't do #include_next.
12858 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
12859 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
12860 Don't do #include_next.
12861 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
12862 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
12863 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
12864 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
12866 2014-05-16 Allan McRae <allan@archlinux.org>
12868 * po/sv.po: Update Swedish translation from translation project.
12870 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
12873 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
12876 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
12877 errno if the TIOCGPTN ioctl fails with an error different than
12879 * login/tst-ptsname.c: New file.
12880 * login/Makefile (tests): Add tst-ptsname.
12883 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
12886 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12889 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
12890 herrno to return EAI_AGAIN.
12892 2014-05-14 Roland McGrath <roland@hack.frob.com>
12894 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
12895 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
12896 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
12897 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
12898 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
12899 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
12900 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
12901 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
12902 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
12903 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
12904 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
12905 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
12906 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
12907 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
12908 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
12909 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
12910 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
12911 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
12912 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
12913 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
12914 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
12915 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
12916 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
12917 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
12918 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
12919 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
12920 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
12921 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
12922 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
12923 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
12924 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
12925 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
12926 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
12927 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
12928 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12930 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12931 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12932 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12933 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12934 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12935 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12936 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12937 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12938 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12939 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12940 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12941 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12942 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12943 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12944 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12945 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12946 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12947 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12948 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12949 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12950 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12951 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12952 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12954 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12956 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12959 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12960 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12961 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12963 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12965 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12966 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12967 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12968 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12969 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12971 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12973 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12975 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12977 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12978 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12980 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12981 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12982 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12984 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12985 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12986 (libpthread-sysdep_routines): Add elision-related stuff here instead.
12987 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12988 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12989 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12990 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12991 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12992 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12993 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12994 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12995 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12996 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12997 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12998 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12999 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13000 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13001 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13002 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13003 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13004 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13005 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13006 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13007 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13008 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13009 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13010 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13011 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13012 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13013 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13014 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
13016 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
13017 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
13019 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
13020 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
13021 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
13022 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
13023 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
13024 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
13026 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
13027 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13029 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
13030 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13032 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
13033 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
13035 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
13036 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
13037 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
13038 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13040 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
13041 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
13042 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
13043 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
13044 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13045 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13046 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13047 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13049 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13050 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13052 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13054 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13055 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13056 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13057 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13058 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13060 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13062 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13064 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13065 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13066 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13067 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13068 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13069 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13071 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13072 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13074 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
13075 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13077 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
13078 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
13080 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13081 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13082 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13083 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13085 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13086 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13087 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13088 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13089 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13090 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13091 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13092 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13094 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13095 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13097 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13099 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13100 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13101 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13102 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13103 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13105 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13107 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13109 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13110 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13111 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13112 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13113 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13114 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13115 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13116 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13117 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13118 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13120 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13121 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13123 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13124 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13126 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13127 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13129 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13130 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13131 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13132 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13133 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13134 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13136 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13137 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13138 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13139 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13140 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13141 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13142 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13143 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13145 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13146 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13148 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13150 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13151 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13152 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13153 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13154 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13156 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13158 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13160 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13161 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
13162 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
13163 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13164 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13165 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13166 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13167 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13168 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13169 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13170 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13172 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13173 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13175 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13176 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13178 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13179 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13180 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13181 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13182 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13183 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13184 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13185 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13186 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13187 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13188 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13189 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13190 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13191 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13192 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13193 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13194 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13195 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13197 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13198 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13199 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13200 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13202 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13203 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13204 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13205 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13206 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13207 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13208 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13209 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13211 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13212 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13214 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13215 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13216 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13217 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13218 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13219 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13220 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13221 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13222 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13223 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13224 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13225 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13226 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13227 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13228 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13229 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13230 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13232 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13233 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13234 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13235 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13236 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13238 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13239 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13240 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13241 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13242 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13243 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13244 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13245 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13246 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13247 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13249 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13250 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13252 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13253 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
13254 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13255 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
13256 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
13257 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
13258 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
13259 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
13260 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
13261 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
13262 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
13263 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
13264 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
13265 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
13266 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
13268 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
13270 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13272 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13274 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13276 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
13278 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
13280 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13282 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
13284 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
13286 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
13287 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
13288 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
13289 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
13290 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
13291 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
13292 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
13293 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
13294 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
13295 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
13296 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
13297 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
13298 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
13299 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
13300 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
13302 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
13303 that was previously under [RESET_PID].
13304 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13305 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
13306 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
13308 * sysdeps/i386/nptl/Implies: New file.
13309 * sysdeps/x86_64/nptl/Implies: New file.
13310 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
13311 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
13312 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
13313 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
13315 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
13316 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13317 (__libc_vfork): New strong alias.
13318 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
13319 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
13321 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
13322 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13323 (__libc_vfork): New strong alias.
13324 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
13325 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
13327 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
13328 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13329 (__libc_vfork): New strong alias.
13330 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
13331 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
13332 * nptl/pt-vfork.c: New file.
13333 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
13334 (libpthread: GLIBC_2.20): New version set (empty).
13336 2014-05-14 Will Newton <will.newton@linaro.org>
13338 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
13341 2014-05-14 Joseph Myers <joseph@codesourcery.com>
13344 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
13345 arguments with exponent 65 or above.
13346 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
13347 arguments 0x1p113L or above.
13348 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
13349 to arguments 0x1p107L or above.
13350 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
13351 positive arguments with exponent 65 or above.
13352 * math/auto-libm-test-in: Add more tests of log1p.
13353 * math/auto-libm-test-out: Regenerated.
13356 * math/s_cacos.c (__cacos): Ensure zero real part of result from
13357 non-finite arguments is +0.
13358 * math/s_cacosf.c (__cacosf): Likewise.
13359 * math/s_cacosl.c (__cacosl): Likewise.
13360 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
13361 * sysdeps/i386/fpu/libm-test-ulps: Update.
13362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13365 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
13367 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13368 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
13369 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
13370 for explicit high bit of mantissa when testing for argument equal
13372 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
13373 * sysdeps/i386/fpu/libm-test-ulps: Update.
13374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13377 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
13378 (__erf): Scale by 16 instead of 8 in potentially underflowing
13379 case. Ensure exception if result actually underflows.
13380 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
13381 (__erff): Scale by 16 instead of 8 in potentially underflowing
13382 case. Ensure exception if result actually underflows.
13383 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
13384 (efx8): Remove variable.
13385 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13386 case. Ensure exception if result actually underflows.
13387 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
13388 (efx8): Remove variable.
13389 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13390 case. Ensure exception if result actually underflows.
13391 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
13392 (efx8): Remove variable.
13393 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13394 case. Ensure exception if result actually underflows.
13395 * math/auto-libm-test-in: Add more tests of erf.
13396 * math/auto-libm-test-out: Regenerated.
13398 2014-05-14 Andreas Schwab <schwab@suse.de>
13400 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
13401 Remove code conditionalized on USE___THREAD.
13403 * config.h.in (HAVE_PT_CHOWN): Define as 0.
13404 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
13407 2014-05-14 Joseph Myers <joseph@codesourcery.com>
13409 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
13410 Define unconditionally.
13411 (__ASSUME_O_CLOEXEC): Likewise.
13412 (__ASSUME_SOCK_CLOEXEC): Likewise.
13413 (__ASSUME_IN_NONBLOCK): Likewise.
13414 (__ASSUME_PIPE2): Likewise.
13415 (__ASSUME_EVENTFD2): Likewise.
13416 (__ASSUME_SIGNALFD4): Likewise.
13417 (__ASSUME_DUP3): Likewise.
13418 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13419 (__ASSUME_DUP3): Do not define.
13420 (__ASSUME_EVENTFD2): Likewise.
13421 (__ASSUME_IN_NONBLOCK): Likewise.
13422 (__ASSUME_O_CLOEXEC): Likewise.
13423 (__ASSUME_PIPE2): Likewise.
13424 (__ASSUME_SIGNALFD4): Likewise.
13425 (__ASSUME_SOCK_CLOEXEC): Likewise.
13426 (__ASSUME_UTIMES): Undefine.
13427 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13428 (__ASSUME_UTIMES): Do not define.
13429 (__ASSUME_O_CLOEXEC): Likewise.
13430 (__ASSUME_SOCK_CLOEXEC): Likewise.
13431 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
13432 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
13434 (__ASSUME_PIPE2): Likewise.
13435 (__ASSUME_EVENTFD2): Likewise.
13436 (__ASSUME_SIGNALFD4): Likewise.
13437 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
13438 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
13440 (__ASSUME_EVENTFD2): Likewise.
13441 (__ASSUME_SIGNALFD4): Likewise.
13442 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13443 (__ASSUME_32BITUIDS): Likewise.
13444 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13445 (__ASSUME_IPC64): Likewise.
13446 (__ASSUME_ST_INO_64_BIT): Likewise.
13447 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
13448 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
13449 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13450 (__ASSUME_UTIMES): Do not define.
13451 (__ASSUME_PSELECT): Likewise.
13452 (__ASSUME_PPOLL): Likewise.
13453 (__ASSUME_O_CLOEXEC): Likewise.
13454 (__ASSUME_SOCK_CLOEXEC): Likewise.
13455 (__ASSUME_IN_NONBLOCK): Likewise.
13456 (__ASSUME_PIPE2): Likewise.
13457 (__ASSUME_EVENTFD2): Likewise.
13458 (__ASSUME_SIGNALFD4): Likewise.
13459 (__ASSUME_DUP3): Likewise.
13460 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13461 (__ASSUME_UTIMES): Likewise.
13462 (__ASSUME_O_CLOEXEC): Likewise.
13463 (__ASSUME_SOCK_CLOEXEC): Likewise.
13464 (__ASSUME_IN_NONBLOCK): Likewise.
13465 (__ASSUME_PIPE2): Likewise.
13466 (__ASSUME_EVENTFD2): Likewise.
13467 (__ASSUME_SIGNALFD4): Likewise.
13468 (__ASSUME_DUP3): Likewise.
13469 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13470 (__ASSUME_UTIMES): Likewise.
13471 (__ASSUME_O_CLOEXEC): Likewise.
13472 (__ASSUME_SOCK_CLOEXEC): Likewise.
13473 (__ASSUME_IN_NONBLOCK): Likewise.
13474 (__ASSUME_PIPE2): Likewise.
13475 (__ASSUME_EVENTFD2): Likewise.
13476 (__ASSUME_SIGNALFD4): Likewise.
13477 (__ASSUME_DUP3): Likewise.
13478 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
13480 (__ASSUME_UTIMES): Likewise.
13481 (__ASSUME_EVENTFD2): Likewise.
13482 (__ASSUME_SIGNALFD4): Likewise.
13483 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13484 (__ASSUME_O_CLOEXEC): Likewise.
13485 (__ASSUME_SOCK_CLOEXEC): Likewise.
13486 (__ASSUME_IN_NONBLOCK): Likewise.
13487 (__ASSUME_PIPE2): Likewise.
13488 (__ASSUME_EVENTFD2): Likewise.
13489 (__ASSUME_SIGNALFD4): Likewise.
13490 (__ASSUME_DUP3): Likewise.
13491 (__ASSUME_UTIMES): Undefine.
13493 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
13494 feclearexcept. Remove symbol versioning code.
13495 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
13496 symbol versioning code.
13497 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
13498 symbol versioning code.
13499 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
13500 feupdateenv. Remove symbol versioning code.
13501 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
13502 fegetexceptflag. Remove symbol versioning code.
13503 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
13504 fesetexceptflag. Remove symbol versioning code.
13505 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
13506 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
13507 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
13508 (__posix_fadvise64_l32): Remove prototype.
13509 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
13512 2014-05-13 Roland McGrath <roland@hack.frob.com>
13514 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
13515 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
13516 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
13517 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
13519 2014-05-13 Sami Kerola <kerolasa@iki.fi>
13521 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
13522 current working directory
13524 2014-05-13 Roland McGrath <roland@hack.frob.com>
13526 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
13527 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
13528 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
13529 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
13530 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
13531 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
13532 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
13533 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
13534 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
13535 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
13536 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
13537 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
13538 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
13539 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
13540 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
13541 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
13542 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
13543 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
13544 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
13545 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
13546 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
13547 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
13548 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
13549 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
13550 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
13551 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
13552 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
13553 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
13554 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
13555 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
13556 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
13557 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
13558 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
13559 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
13560 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
13561 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
13562 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
13563 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
13564 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
13565 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
13566 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
13567 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
13569 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
13570 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
13572 * sysdeps/unix/sysv/linux/arm/Makefile
13573 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
13574 Add rt-aeabi_unwind_cpp_pr1.
13575 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
13576 Add nptl-aeabi_unwind_cpp_pr1.
13577 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
13578 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
13579 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
13580 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13581 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
13582 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13584 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
13585 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
13586 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
13587 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
13589 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
13590 Deconditionalize the code that was previously under [RESET_PID].
13591 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
13593 * sysdeps/generic/exit-thread.h: New file.
13594 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
13595 * include/unistd.h (__exit_thread): Remove declaration.
13596 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
13597 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
13598 * csu/libc-start.c: Include <exit-thread.h>.
13599 (LIBC_START_MAIN): Pass no argument to __exit_thread.
13600 * nptl/pthread_create.c: Include <exit-thread.h>.
13601 (start_thread): Call __exit_thread in place of __exit_thread_inline.
13602 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
13603 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
13604 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
13605 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
13606 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
13607 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
13608 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
13609 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
13610 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
13611 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
13612 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
13613 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
13614 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
13615 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
13616 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
13617 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
13619 2014-05-13 Andreas Schwab <schwab@suse.de>
13621 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
13623 2014-05-12 Joseph Myers <joseph@codesourcery.com>
13625 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13626 (__ASSUME_UTIMES): Do not condition on kernel version.
13627 (__ASSUME_PSELECT): Define unconditionally.
13628 (__ASSUME_PPOLL): Likewise.
13629 (__ASSUME_ATFCTS): Likewise.
13630 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
13631 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
13632 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
13633 (__ASSUME_UTIMENSAT): Define unconditionally.
13634 (__ASSUME_PRIVATE_FUTEX): Likewise.
13635 (__ASSUME_FALLOCATE): Likewise.
13636 (__ASSUME_O_CLOEXEC): Likewise.
13637 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
13638 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
13639 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
13640 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
13641 (__ASSUME_IN_NONBLOCK): Likewise.
13642 (__ASSUME_PIPE2): Likewise.
13643 (__ASSUME_EVENTFD2): Likewise.
13644 (__ASSUME_SIGNALFD4): Likewise.
13645 (__ASSUME_DUP3): Likewise.
13646 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13647 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
13648 (__ASSUME_AT_RANDOM): Likewise.
13649 (__ASSUME_PREADV): Likewise.
13650 (__ASSUME_PWRITEV): Likewise.
13651 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
13652 (__ASSUME_F_GETOWN_EX): Define unconditionally.
13653 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
13654 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13655 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
13656 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13657 (__ASSUME_O_CLOEXEC): Define unconditionally.
13658 (__ASSUME_PSELECT): Do not undefine conditionally.
13659 (__ASSUME_PPOLL): Likewise.
13660 (__ASSUME_ATFCTS): Likewise.
13661 (__ASSUME_SET_ROBUST_LIST): Likewise.
13662 (__ASSUME_UTIMENSAT): Likewise.
13663 (__ASSUME_FDATASYNC): Define unconditionally.
13664 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13665 (__ASSUME_SIGFRAME_V2): Likewise.
13666 )__ASSUME_EVENTFD2): Likewise.
13667 (__ASSUME_SIGNALFD4): Likewise.
13668 (__ASSUME_PSELECT): Do not undefine conditionally.
13669 (__ASSUME_PPOLL): Likewise.
13670 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13671 (__ASSUME_PSELECT): Define unconditionally.
13672 (__ASSUME_PPOLL): Likewise.
13673 (__ASSUME_O_CLOEXEC): Likewise.
13674 (__ASSUME_SOCK_CLOEXEC): Likewise.
13675 (__ASSUME_IN_NONBLOCK): Likewise.
13676 (__ASSUME_PIPE2): Likewise.
13677 (__ASSUME_EVENTFD2): Likewise.
13678 (__ASSUME_SIGNALFD4): Likewise.
13679 (__ASSUME_DUP3): Likewise.
13680 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13681 (__ASSUME_O_CLOEXEC): Likewise.
13682 (__ASSUME_SOCK_CLOEXEC): Likewise.
13683 (__ASSUME_IN_NONBLOCK): Likewise.
13684 (__ASSUME_PIPE2): Likewise.
13685 (__ASSUME_EVENTFD2): Likewise.
13686 (__ASSUME_SIGNALFD4): Likewise.
13687 (__ASSUME_DUP3): Likewise.
13688 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13689 (__ASSUME_EVENTFD2): Likewise.
13690 (__ASSUME_SIGNALFD4): Likewise.
13691 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13693 2014-05-12 Andreas Schwab <schwab@suse.de>
13696 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
13697 (_nss_nis_gethostbyname4_r): Return error if item length is larger
13698 than maximum RPC packet size.
13699 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
13700 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
13701 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
13702 (_nss_nis_getservbyport_r): Likewise.
13704 2014-05-12 Will Newton <will.newton@linaro.org>
13706 * malloc/Makefile (tests): Add tst-mallopt.
13707 * malloc/tst-mallopt.c: New file.
13709 2014-05-09 Roland McGrath <roland@hack.frob.com>
13711 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
13712 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
13714 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13716 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
13717 (tst-tlsmod6.so): Likewise.
13719 2014-05-09 Roland McGrath <roland@hack.frob.com>
13721 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
13723 2014-05-09 Joseph Myers <joseph@codesourcery.com>
13726 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
13727 and <dl-procinfo.h>.
13728 (__fegetenv): Save SSE state in envp->__eip if supported.
13729 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
13730 envp->__eip if supported.
13731 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
13732 and <dl-procinfo.h>.
13733 (__fesetenv): Always set __eip, __cs_selector, __opcode,
13734 __data_offset and __data_selector in environment to 0. Set SSE
13735 state if supported.
13736 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13738 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
13740 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
13742 2014-05-09 Will Newton <will.newton@linaro.org>
13744 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
13745 and libc_relro_required for ARM.
13746 * sysdeps/arm/preconfigure: Regenerate.
13748 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
13749 Stefan Liebler <stli@linux.vnet.ibm.com>
13751 * config.make.in (enable-lock-elision): New Makefile variable.
13752 * configure.ac: Likewise.
13753 * configure: Regenerate.
13754 * sysdeps/s390/configure.ac:
13755 Add check for gcc transactions support.
13756 * sysdeps/s390/configure: Regenerate.
13757 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
13758 Build elision files if enabled.
13759 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
13760 Add lock elision support for s390.
13761 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
13762 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
13763 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
13764 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13765 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
13766 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
13767 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13769 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13771 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13773 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13775 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13776 (__lll_timedlock_elision, __lll_lock_elision)
13777 (__lll_unlock_elision, __lll_trylock_elision)
13778 (lll_timedlock_elision, lll_lock_elision)
13779 (lll_unlock_elision, lll_trylock_elision): Add.
13780 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13781 (pthread_mutex_t): Add lock elision support for s390.
13783 2014-05-14 Wilco <wdijkstr@arm.com>
13785 * sysdeps/arm/fclrexcpt.c: Cleanup.
13786 * sysdeps/arm/fedisblxcpt.c: Cleanup.
13787 * sysdeps/arm/feenablxcpt.c: Cleanup.
13788 * sysdeps/arm/fegetenv.c: Cleanup.
13789 * sysdeps/arm/fegetexcept.c: Cleanup.
13790 * sysdeps/arm/fegetround.c: Cleanup.
13791 * sysdeps/arm/feholdexcpt.c: Cleanup.
13792 * sysdeps/arm/fesetenv.c: Cleanup.
13793 * sysdeps/arm/fesetround.c: Cleanup.
13794 * sysdeps/arm/feupdateenv.c: Cleanup.
13795 * sysdeps/arm/fgetexcptflg.c: Cleanup.
13796 * sysdeps/arm/fraiseexcpt.c: Cleanup.
13797 * sysdeps/arm/fsetexcptflg.c: Cleanup.
13798 * sysdeps/arm/ftestexcept.c: Cleanup.
13799 * sysdeps/arm/get-rounding-mode.h: Cleanup.
13800 * sysdeps/arm/setfpucw.c: Cleanup.
13802 2014-05-09 Will Newton <will.newton@linaro.org>
13804 * sysdeps/arm/armv7/strcmp.S: New file.
13805 * NEWS: Mention addition of ARMv7 optimized strcmp.
13807 2014-05-08 Roland McGrath <roland@hack.frob.com>
13809 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13810 look for %.ac rather than %.in.
13812 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13813 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13814 * sysdeps/mach/hurd/configure: Regenerated.
13815 * sysdeps/unix/sysv/linux/configure: Regenerated.
13817 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13819 2014-05-07 Steve Ellcey <sellcey@mips.com>
13822 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13826 2014-05-07 Andreas Schwab <schwab@suse.de>
13828 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13829 when skipping over non-matching result from nscd.
13831 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
13834 * nptl/sockperf.c (client): Check socket return value.
13837 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13838 nscd security class.
13840 2014-05-06 Roland McGrath <roland@hack.frob.com>
13842 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13843 * sysdeps/arm/unwind.h: ... here.
13845 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
13848 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13851 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13853 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
13854 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
13855 multiarch strncpy for PPC64.
13856 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
13857 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
13858 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
13859 multiarch optimizations.
13860 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13861 (__libc_ifunc_impl_list): Likewise.
13862 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
13863 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
13864 multiarch stpncpy for PPC64.
13865 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
13866 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
13868 2014-05-06 Andreas Schwab <schwab@suse.de>
13871 * gmon/mcount.c (_MCOUNT_DECL): Use
13872 atomic_compare_and_exchange_bool_acq instead of
13873 catomic_compare_and_exchange_bool_acq.
13875 2014-05-05 Roland McGrath <roland@hack.frob.com>
13877 * elf/Makefile (others, install-bin): Remove pldd.
13878 (pldd-modules): Variable removed.
13879 ($(objpfx)pldd): Target removed.
13880 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
13881 (others, install-bin): Append pldd here.
13882 ($(objpfx)pldd): New target.
13884 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
13885 to 0, so the first #if test emitted later doesn't see it undefined.
13886 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
13887 * sysdeps/gnu/errlist.c: Regenerated.
13889 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13891 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13892 [libc_hidden_builtin_def]: Define to empty value.
13893 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
13894 [libc_hidden_builtin_def]: Likewise.
13895 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
13896 [libc_hidden_builtin_def]: Likewise.
13897 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
13898 [libc_hidden_builtin_def]: Likewise.
13899 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
13900 __redirect_memcpy and define ifunc as default hidden symbol.
13901 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
13902 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
13904 2014-05-04 Adam Conrad <adconrad@0c3.net>
13906 * locale/iso-4217.def: Reintroduce XDR currency.
13908 2014-05-04 Allan McRae <allan@archlinux.org>
13910 * po/eo.po: Update Esperanto translation from translation project.
13912 2014-05-02 Carlos O'Donell <carlos@redhat.com>
13914 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
13915 and FEATURE_INDEX_MAX to 1.
13916 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
13918 2014-05-01 Steve Ellcey <sellcey@mips.com>
13920 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
13921 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
13922 * iconvdata/big5.c (ONE_DIRECTION): Define.
13923 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
13924 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
13925 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
13926 * iconvdata/cp932.c (ONE_DIRECTION): Define.
13927 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
13928 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
13929 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13930 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13931 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13932 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13933 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13934 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13935 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13936 * iconvdata/gbk.c (ONE_DIRECTION): Define.
13937 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13938 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13939 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13940 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13941 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13942 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13943 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13944 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13945 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13946 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13947 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13948 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13949 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13950 * iconvdata/iso646.c (ONE_DIRECTION): Define.
13951 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13952 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13953 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13954 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13955 * iconvdata/johab.c (ONE_DIRECTION): Define.
13956 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13957 * iconvdata/sjis.c (ONE_DIRECTION): Define.
13958 * iconvdata/t.61.c (ONE_DIRECTION): Define.
13959 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13960 * iconvdata/tscii.c (ONE_DIRECTION): Define.
13961 * iconvdata/uhc.c (ONE_DIRECTION): Define.
13962 * iconvdata/unicode.c (ONE_DIRECTION): Define.
13963 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13964 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13965 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13967 2014-05-01 Roland McGrath <roland@hack.frob.com>
13969 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13970 (_IO_JUMPS_OFFSET): Define to 0.
13972 * nptl/sysdeps/pthread/bits/libc-lock.h
13973 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13974 (__libc_lock_define_initialized_recursive): Always define using
13975 initializer. Modern compilers treat uninitialized (implicit zero) and
13976 explicit zero initializers the same (i.e. put the datum in bss).
13978 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13980 * nscd/nscd-client.h: Include <string.h>.
13982 2014-05-01 David S. Miller <davem@davemloft.net>
13985 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13986 multiple zero bytes exist at the end of a string.
13987 Reported by Aurelien Jarno <aurelien@aurel32.net>
13989 * string/test-strcmp.c (check): Add explicit test for situations where
13990 there are multiple zero bytes after the first.
13992 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13995 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13996 when compiling wprintf.
13997 * stdio-common/tstdiomisc.c (t3): New function.
14000 2014-05-01 Steve Ellcey <sellcey@mips.com>
14002 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14003 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14004 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14005 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14007 2014-05-01 Steve Ellcey <sellcey@mips.com>
14009 * stdlib/longlong.h: Updated from GCC.
14011 2014-05-01 Will Newton <will.newton@linaro.org>
14012 Bernard Ogden <bernie.ogden@linaro.org>
14014 * NEWS: Update fixed bug list.
14017 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
14019 2014-04-30 David S. Miller <davem@davemloft.net>
14021 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
14022 (libc_feholdexcept_setround_sparc_ctx): New function.
14023 (libc_fesetenv_sparc_ctx): Likewise.
14024 (libc_feupdateenv_sparc_ctx): Likewise.
14025 (libc_feholdsetround_sparc_ctx): Likewise.
14026 (libc_feholdexcept_setround_ctx): Define.
14027 (libc_feholdexcept_setroundf_ctx): Likewise.
14028 (libc_feholdexcept_setroundl_ctx): Likewise.
14029 (libc_fesetenv_ctx): Likewise.
14030 (libc_fesetenvf_ctx): Likewise.
14031 (libc_fesetenvl_ctx): Likewise.
14032 (libc_feupdateenv_ctx): Likewise.
14033 (libc_feupdateenvf_ctx): Likewise.
14034 (libc_feupdateenvl_ctx): Likewise.
14035 (libc_feresetround_ctx): Likewise.
14036 (libc_feresetroundf_ctx): Likewise.
14037 (libc_feresetroundl_ctx): Likewise.
14038 (libc_feholdsetround_ctx): Likewise.
14039 (libc_feholdsetroundf_ctx): Likewise.
14040 (libc_feholdsetroundl_ctx): Likewise.
14042 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14043 with __USE_GNU instead of XOPEN cpp guards.
14045 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14048 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14049 with XOPEN cpp guards.
14051 2014-04-30 Julian Brown <julian@codesourcery.com>
14054 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14057 2014-04-30 Joseph Myers <joseph@codesourcery.com>
14060 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14062 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14063 * sysdeps/unix/sysv/linux/configure: Regenerated.
14064 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14065 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14066 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14067 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14068 * README: Update reference to required Linux kernel version.
14069 * manual/install.texi (Linux): Update reference to required Linux
14070 kernel headers version.
14071 * INSTALL: Regenerated.
14073 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
14075 [POSIX] (limits.h): Likewise.
14076 [POSIX] (math.h): Likewise.
14077 [POSIX] (sys/wait.h): Likewise.
14078 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
14080 [POSIX] (stddef.h): Do not allow header inclusion.
14082 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14084 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
14086 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
14088 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14089 Return immediately after lll_futex_wake.
14091 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14094 * nscd/nscd-client.h (datahead_init_common): Initialize entire
14096 (datahead_init_pos): Call datahead_init_common early.
14097 (datahead_init_neg): Likewise.
14099 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14100 datahead_init_neg): New functions.
14101 * nscd/aicache.c (addhstaiX): Use them.
14102 * nscd/grpcache.c (cache_addgr): Likewise.
14103 * nscd/hstcache.c (cache_addhst): Likewise.
14104 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14105 * nscd/netgroupcache.c (do_notfound): Likewise.
14106 (addgetnetgrentX): Likewise.
14107 (addinnetgrX): Likewise.
14108 * nscd/pwdcache.c (cache_addpw): Likewise.
14109 * nscd/servicescache.c (cache_addserv): Likewise.
14111 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14112 Atsushi Onoe <atsushi@onoe.org>
14117 * resolv/res_query.c (__libc_res_nsearch): Return if at least
14118 one response is valid.
14119 * resolv/res_send.c (send_dg): Check for validity of other
14120 response if the current response is a referral.
14122 2014-04-29 Steve Ellcey <sellcey@mips.com>
14124 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14126 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
14129 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14130 Always divide by positive zero when computing -Inf result.
14131 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14132 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14134 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14136 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14137 FPSCR if value do not change.
14138 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14139 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14140 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14141 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14142 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14143 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14146 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
14148 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14149 * sysdeps/unix/sysv/linux/hppa: Move directory from
14150 ports/systeps/unix/sysv/linux/hppa.
14151 * README: Update listing for hppa-*-linux-gnu.
14153 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
14156 * manual/stdio.texi (Hook functions): Fix types of stream hook
14159 * socket/sys/socket.h: Fix typo in comment.
14161 2014-04-28 Wilco <wdijkstr@arm.com>
14163 * sysdeps/arm/fenv_private.h: New file.
14164 * sysdeps/arm/math_private.h: New file.
14165 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14167 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
14169 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14171 (La_x86_64_retval): Likewise.
14173 2014-04-24 Ian Bolton <ian.bolton@arm.com>
14175 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14176 fpsr if value didn't change.
14177 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14178 to fpcr if value didn't change.
14179 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14180 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14181 fpsr or fpcr if value didn't change.
14182 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14183 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14184 fpcr if value didn't change.
14185 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14186 to fpsr if value didn't change.
14188 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14190 * nptl/tst-sem3.c: Use test-skeleton.c
14191 (main): Rename to do_test. Use return instead of
14193 * nptl/tst-sem4.c: Use test-skeleton.c
14194 (main): Rename to do_test.
14196 2014-04-22 David S. Miller <davem@davemloft.net>
14198 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14199 (struct sigaction): New struct member __glibc_reserved0, change
14200 type of sa_flags to int.
14202 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
14204 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14205 (COUNT_LEADING_ZEROS_0): Define for AArch64.
14207 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14209 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14210 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14212 2014-04-22 Will Newton <will.newton@linaro.org>
14213 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
14215 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14216 (__longjmp): Add longjmp and longjmp_target SystemTap
14218 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14219 (__sigsetjmp): Add setjmp SystemTap probe.
14221 2014-04-17 Carlos O'Donell <carlos@redhat.com>
14223 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14224 match manual order.
14226 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14228 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14230 * sysdeps/powerpc/fpu/fenv_private.h
14231 (libc_feholdexcept_setroundl_ctx): Define to
14232 libc_feholdexcept_setround_ppc_ctx.
14233 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14234 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14235 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14236 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14238 2014-04-17 Ian Bolton <ian.bolton@arm.com>
14240 * sysdeps/aarch64/math-tests.h: New file.
14242 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
14244 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14246 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14247 Check and set bit_AVX2_Usable.
14248 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14250 (bit_AVX2): Likewise.
14251 (index_AVX2_Usable): Likewise.
14252 (CPUID_AVX2): Likewise.
14253 (HAS_AVX2): Likewise.
14255 2014-04-17 Will Newton <will.newton@linaro.org>
14257 * manual/setjmp.texi (System V contexts): Add note that
14258 calling setcontext on a context created by a call to a
14259 signal handler is undefined. Update text to note that
14260 setcontext from a signal handler is possible but not
14264 * stdlib/tst-setcontext.c: Include signal.h.
14265 (main): Check that the signal stack before and
14266 after swapcontext is the same.
14268 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
14269 Re-implement to restore registers in user code and avoid
14270 rt_sigreturn system call.
14272 2014-04-17 Wilco <wdijkstr@arm.com>
14274 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
14275 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
14276 * math/test-fenv.c: Skip exception trap tests on targets which only
14277 support non-stop mode.
14279 2014-04-17 Ian Bolton <ian.bolton@arm.com>
14280 Wilco Dijkstra <wilco.dijkstra@arm.com>
14282 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
14283 (libc_feholdsetround_aarch64_ctx)
14284 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
14285 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
14286 (libc_feresetround_ctx, libc_feresetroundf_ctx)
14287 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
14288 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
14289 (libc_feresetround_noexl_ctx): Define.
14291 2014-04-16 Richard Henderson <rth@redhat.com>
14293 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
14295 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
14298 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
14299 const from the non-libc, non-ldso copy.
14301 * sysdeps/alpha/libm-test-ulps: Regenerate.
14303 2014-04-16 Ian Bolton <ian.bolton@arm.com>
14304 Wilco Dijkstra <wilco.dijkstra@arm.com>
14306 * sysdeps/aarch64/fpu/math_private.h: New file.
14308 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
14310 * sysdeps/aarch64/libm-test-ulps: Regenerate.
14312 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
14315 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
14316 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
14317 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
14318 Intel MPX bound registers before _dl_profile_fixup.
14319 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
14320 registers after _dl_profile_fixup. Save and restore bound
14321 registers bnd0/bnd1 when calling _dl_call_pltexit.
14322 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
14323 (LR_BND_OFFSET): Likewise.
14324 (LRV_BND0_OFFSET): Likewise.
14325 (LRV_BND1_OFFSET): Likewise.
14327 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14329 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
14331 * sysdeps/mach/hurd/i386/tls.h: ... here.
14332 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
14333 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
14336 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14338 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
14340 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14342 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14344 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14347 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
14348 * sysdeps/s390/configure: Regenerate.
14351 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
14352 Set round-to-nearest internally to reduce error accumulation.
14354 2014-04-16 Alan Modra <amodra@gmail.com>
14358 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
14359 * math/libm-test.inc (frexp_test_data): Add tests.
14360 * NEWS: Update fixed bug list.
14362 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14364 * benchtests/Makefile: Depend on libraries in build directory.
14365 (bench-math): Separate out math tests.
14366 (bench-pthread): Separate out pthread tests.
14367 (bench): Include math and pthread tests.
14369 2014-04-14 Carlos O'Donell <carlos@redhat.com>
14372 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
14373 _dl_debug_initialize.
14375 * configure.ac: Remove SELinux header check.
14376 * configure: Regenerate.
14377 * nscd/selinux.c (perms): Array of const char* to permission names.
14378 (nscd_request_avc_has_perm): Call security_deny_unknown to find
14379 default policy. Call string_to_security_class and string_to_av_perm to
14380 translate strings. Enforce default policy and call avs_has_perm with
14381 results of translated strings.
14383 2014-04-13 David S. Miller <davem@davemloft.net>
14385 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14387 2014-04-12 Allan McRae <allan@archlinux.org>
14390 * manual/string.texi (Collation Functions): Fix qsort argument
14392 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14394 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
14396 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
14397 Make the test a no-op if there are no exceptions defined.
14399 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
14401 * elf/Makefile (tests): make tst-dlopen-aout conditional on
14402 enable-hardcoded-path-in-tests
14404 2014-04-11 Will Newton <will.newton@linaro.org>
14406 * benchtests/Makefile (extra-objs): Add json-lib.o.
14407 (bench-func): Tidy up JSON output.
14408 * benchtests/bench-skeleton.c: Include json-lib.h.
14409 (main): Use JSON library functions to do output of
14411 * benchtests/bench-timing-type.c (main): Output the
14412 timing type simply, leaving formatting to the user.
14413 * benchtests/json-lib.c: New file.
14414 * benchtests/json-lib.h: Likewise.
14416 2014-04-11 Torvald Riegel <triegel@redhat.com>
14419 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
14420 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
14421 memory barriers. Add comments.
14422 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
14423 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
14424 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
14425 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
14426 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
14427 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
14429 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14431 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
14432 * sysdeps/s390/s390-64/configure.ac: ... this ...
14433 * sysdeps/s390/configure.ac: ... to here.
14434 * sysdeps/s390/s390-32/configure: Delete file.
14435 * sysdeps/s390/s390-64/configure: Delete file.
14436 * sysdeps/s390/configure: Regenerate.
14438 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
14440 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
14442 2014-04-11 Will Newton <will.newton@linaro.org>
14444 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
14445 to zero if it is not defined elsewhere. (mtrim): Test
14446 the value of MALLOC_DEBUG with #if rather than #ifdef.
14448 2014-04-10 Torvald Riegel <triegel@redhat.com>
14450 * benchtests/pthread_once-inputs: New file.
14451 * benchtests/pthread_once-source.c: New file.
14452 * benchtests/README: Update documentation.
14454 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
14455 H.J. Lu <hongjiu.lu@intel.com>
14458 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
14459 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
14460 * sysdeps/x86_64/configure: Regenerated.
14461 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
14463 (REGISTER_SAVE_RAX): Likewise.
14464 (REGISTER_SAVE_RCX): Likewise.
14465 (REGISTER_SAVE_RDX): Likewise.
14466 (REGISTER_SAVE_RSI): Likewise.
14467 (REGISTER_SAVE_RDI): Likewise.
14468 (REGISTER_SAVE_R8): Likewise.
14469 (REGISTER_SAVE_R9): Likewise.
14470 (REGISTER_SAVE_BND0): Likewise.
14471 (REGISTER_SAVE_BND1): Likewise.
14472 (REGISTER_SAVE_BND2): Likewise.
14473 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
14474 bound registers when calling _dl_fixup.
14476 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14478 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
14479 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
14481 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
14482 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
14483 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
14484 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
14485 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
14486 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
14487 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
14489 2014-04-09 Peter Brett <peter@peter-b.co.uk>
14492 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
14493 pathconf(_PC_NAME_MAX).
14495 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14497 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
14498 Remove macro usage.
14499 (__PTHREAD_SPINS): Move definition to ...
14500 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14501 (__PTHREAD_SPINS): ... here.
14502 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14503 (__PTHREAD_SPIN): Likewise.
14504 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
14505 (__PTHREAD_SPIN): Likewise.
14506 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
14507 (__PTHREAD_SPIN): Likewise.
14508 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
14509 (__PTHREAD_SPIN): Likewise.
14510 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14511 (__PTHREAD_SPIN): Likewise.
14512 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14513 (__PTHREAD_SPIN): Likewise.
14514 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
14515 (__PTHREAD_SPIN): Likewise.
14516 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14517 (__PTHREAD_SPIN): Likewise.
14518 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14519 (__PTHREAD_SPIN): Likewise.
14520 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14521 (__PTHREAD_SPIN): Likewise.
14522 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14523 (__PTHREAD_SPIN): Likewise.
14524 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
14525 (__PTHREAD_SPIN): Likewise.
14527 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
14528 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
14529 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
14530 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
14532 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14533 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14534 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14535 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
14536 correct imply path.
14537 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
14538 strlen symbol for non multi-arch builds.
14539 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
14540 missing hidden_def and weak_alias.
14542 2014-04-08 Carlos O'Donell <carlos@redhat.com>
14544 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
14546 2014-04-07 Will Newton <will.newton@linaro.org>
14548 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
14549 and contents. [!_LIBC] Remove #ifndef and contents.
14550 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
14551 * string/memccpy.c (__memccpy): Use ANSI prototype.
14552 * string/memfrob.c (memfrob): Likewise.
14553 * string/strcoll.c (STRCOLL): Likewise.
14554 * string/strlen.c (strlen): Likewise.
14555 * string/strtok.c (STRTOK): Likewise.
14556 * string/strcat.c: Remove unused #include of memcopy.h.
14557 (strcat): Use ANSI prototype.
14558 * string/strchr.c: Remove unused #include of memcopy.h.
14559 (strchr): Use ANSI prototype.
14560 * string/strcmp.c: Remove unused #include of memcopy.h.
14561 (strcmp): Use ANSI prototype.
14562 * string/strcpy.c: Remove unused #include of memcopy.h.
14563 (strcpy): Use ANSI prototype.
14565 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14567 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
14568 * config.make.in (config-extra-cppflags): Set it from
14569 libc_extra_cppflags.
14570 * configure.ac (libc_extra_cflags): Make it accumulate over
14571 configure fragments.
14572 (libc_extra_cppflags): New flag.
14573 * configure. Regenerate.
14574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
14575 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
14576 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
14577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14580 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
14581 result for FE_DOWNWARD rounding mode.
14582 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14586 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
14588 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
14589 in function argument name.
14591 2014-04-03 David Svoboda <svoboda@cert.org>
14594 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
14597 2014-04-03 Roland McGrath <roland@hack.frob.com>
14599 * elf/dl-unmap-segments.h: New file.
14600 * sysdeps/generic/ldsodefs.h
14601 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
14602 * elf/dl-close.c: Include <dl-unmap-segments.h>.
14603 * elf/dl-fptr.c: Likewise.
14604 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
14605 * sysdeps/aarch64/tlsdesc.c: Likewise.
14606 * sysdeps/arm/tlsdesc.c: Likewise.
14607 * sysdeps/i386/tlsdesc.c: Likewise.
14608 * sysdeps/tile/dl-runtime.c: Likewise.
14609 * sysdeps/x86_64/tlsdesc.c: Likewise.
14610 * elf/dl-load.h: New file.
14611 * elf/dl-load.c: Include it.
14612 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
14613 Macros moved to dl-load.h.
14614 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
14615 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
14616 Use _dl_unmap_segments in place of __munmap.
14617 Break out segment-mapping loop into ...
14618 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
14620 2014-04-03 Will Newton <will.newton@linaro.org>
14622 * elf/dl-lookup.c (do_lookup_x): Remove comment
14623 referring to nested function and move variable
14624 declarations down to before first use.
14626 2014-04-02 Joseph Myers <joseph@codesourcery.com>
14630 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
14632 * math/s_catanf.c (__catanf): Likewise.
14633 * math/s_catanh.c (__catanh): Likewise.
14634 * math/s_catanhf.c (__catanhf): Likewise.
14635 * math/s_catanhl.c (__catanhl): Likewise.
14636 * math/s_catanl.c (__catanl): Likewise.
14637 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
14638 by positive zero when computing -Inf result.
14639 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
14640 (catanh_test): Likewise.
14641 * sysdeps/i386/fpu/libm-test-ulps: Update.
14642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14645 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
14646 instead of using underflowing value in computing result.
14647 * math/s_clog10.c (__clog10): Likewise.
14648 * math/s_clog10f.c (__clog10f): Likewise.
14649 * math/s_clog10l.c (__clog10l): Likewise.
14650 * math/s_clogf.c (__clogf): Likewise.
14651 * math/s_clogl.c (__clogl): Likewise.
14652 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
14653 (clog10_test): Likewise.
14654 * sysdeps/i386/fpu/libm-test-ulps: Update.
14655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14657 2014-04-02 Alan Modra <amodra@gmail.com>
14660 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
14661 output when value is near a power of two. Use int64_t for lx and
14662 remove casts. Use decimal rather than hex exponent constants.
14663 Don't use long double multiplication when double will suffice.
14664 * math/libm-test.inc (nextafter_test_data): Add tests.
14665 * NEWS: Add 16739 and 16786 to bug list.
14667 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
14669 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
14671 2014-04-01 Will Newton <will.newton@linaro.org>
14673 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
14674 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
14676 2014-04-01 Florian Weimer <fweimer@redhat.com>
14679 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
14680 * nptl/tst-setuid2.c: New file.
14681 * nptl/Makefile (xtests): Add tst-setuid2.
14683 2014-04-01 Alan Modra <amodra@gmail.com>
14686 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
14688 2014-03-31 Joseph Myers <joseph@codesourcery.com>
14692 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
14693 set errno as appropriate.
14694 * math/w_scalbf.c (__scalbf): Likewise.
14695 * math/w_scalbl.c (__scalbl): Likewise.
14696 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
14697 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
14698 * math/libm-test.inc (scalb_test_data): Add errno expectations.
14699 Add more NaN tests.
14702 * math/w_atan2.c: Include <errno.h>.
14703 (__atan2): Set errno for result underflowing to zero.
14704 * math/w_atan2f.c: Include <errno.h>.
14705 (__atan2f): Set errno for result underflowing to zero.
14706 * math/w_atan2l.c: Include <errno.h>.
14707 (__atan2l): Set errno for result underflowing to zero.
14708 * math/auto-libm-test-in: Don't allow missing errno for some atan2
14710 * math/auto-libm-test-out: Regenerated.
14712 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14714 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14715 Encode instruction correctly in little endian.
14716 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14718 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14720 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14722 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14725 2014-03-31 Joseph Myers <joseph@codesourcery.com>
14728 * sysdeps/unix/sysv/linux/kernel-features.h
14729 [__sparc__ && !__arch64__ && !__sparc_v9__]
14730 (__ASSUME_SET_ROBUST_LIST): Do not define.
14731 [__sparc__ && !__arch64__ && !__sparc_v9__]
14732 (__ASSUME_FUTEX_LOCK_PI): Likewise.
14733 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
14735 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14736 (__ASSUME_FUTEX_LOCK_PI): Undefine.
14737 (__ASSUME_REQUEUE_PI): Likewise.
14738 (__ASSUME_SET_ROBUST_LIST): Likewise.
14739 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14740 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
14742 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14743 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
14745 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
14747 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
14749 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14750 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
14752 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
14753 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
14757 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14758 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
14759 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
14761 2014-03-31 Will Newton <will.newton@linaro.org>
14763 * benchtests/Makefile (bench): Add ffs and ffsll to list
14765 * benchtests/ffs-inputs: New file.
14766 * benchtests/ffsll-inputs: Likewise.
14768 2014-03-29 Joseph Myers <joseph@codesourcery.com>
14771 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14772 too large before casting to int.
14773 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14774 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14775 * math/libm-test.inc (scalb_test_data): Add more tests.
14777 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14779 * benchtests/Makefile (DETAILED_OPT): New make option.
14780 (bench-func): Run benchmark program with -d if DETAILED_OPT is
14782 * benchtests/bench-skeleton.c: Include stdbool.h.
14783 (main): Store and print timings per input.
14784 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14785 member to each argument value.
14786 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14787 (_print_arg_data): Initialize per-input timing to 0.
14789 * benchtests/Makefile (timing-type): New binary.
14790 (bench-clean): Also remove bench-timing-type.
14791 (bench): New target for timing-type.
14792 (bench-func): Print output in JSON format.
14793 * benchtests/bench-skeleton.c (main): Print output in JSON
14795 * benchtests/bench-timing-type.c: New file.
14796 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14797 (TIMING_PRINT_STATS): Remove.
14798 * benchtests/scripts/bench.py (_print_arg_data): Store variant
14801 * benchtests/bench-modf.c: Remove.
14802 * benchtests/modf-inputs: New inputs file.
14804 2014-03-28 Joseph Myers <joseph@codesourcery.com>
14807 * math/s_clog10.c (M_PI_LOG10E): New macro.
14808 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14809 imaginary parts are 0.
14810 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14811 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14812 imaginary parts are 0.
14813 * math/s_clog10l.c (M_PI_LOG10El): New macro.
14814 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14815 imaginary parts are 0.
14816 * math/libm-test.inc (clog10_test_data): Update expected results
14817 for when real and imaginary parts are 0.
14819 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
14821 * elf/dl-load.c: Finish conversion of __builtin_expect into
14822 __glibc_{un}likely.
14824 2014-03-27 Joseph Myers <joseph@codesourcery.com>
14827 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14828 1+x for argument with exponent below -67.
14829 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14831 * math/auto-libm-test-in: Add more tests of exp.
14832 * math/auto-libm-test-out: Regenerated.
14834 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14837 * inet/getnetgrent_r.c (get_nonempty_val): New function.
14838 (nscd_getnetgrent): Use it.
14841 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14844 2014-03-27 Andi Kleen <ak@linux.intel.com>
14846 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
14847 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14848 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14849 (lll_robust_unlock): Remove out of line section. Use cfi
14851 (LLL_STUB_UNWIND_INFO*): Remove.
14852 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
14853 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14854 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14855 (lll_robust_unlock): Remove out of line section. Use cfi
14857 (LLL_STUB_UNWIND_INFO*): Remove.
14859 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14862 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
14865 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
14867 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
14869 2014-03-26 Joseph Myers <joseph@codesourcery.com>
14872 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
14874 * math/test-fenv-preserve.c: New file.
14875 * math/Makefile (tests): Add test-fenv-preserve.
14877 2014-03-26 Will Newton <will.newton@linaro.org>
14879 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
14881 2014-03-25 Roland McGrath <roland@hack.frob.com>
14883 * scripts/versionlist.awk: Partition the version sets and emit all
14884 GLIBC_* (sorted) before all others (sorted).
14886 2014-03-25 Joseph Myers <joseph@codesourcery.com>
14888 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
14889 GLIBC_2.2.5 version.
14891 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14893 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
14896 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
14899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14901 2014-03-25 Andreas Schwab <schwab@suse.de>
14903 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
14904 label to be used after in6ailist is initialized.
14906 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14908 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14909 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14911 2014-03-25 Joseph Myers <joseph@codesourcery.com>
14915 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
14917 (fp_formats): Update initializers.
14918 (init_fp_formats): Initialize new field.
14919 (output_for_one_input_case): Allow underflow for results up to
14921 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
14922 * math/auto-libm-test-in: Don't mark some underflows from asin and
14924 * math/auto-libm-test-out: Regenerated.
14925 * sysdeps/i386/fpu/libm-test-ulps: Update.
14926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14928 2014-03-25 Andreas Schwab <schwab@suse.de>
14930 * libio/Makefile (tst-ftell-partial-wide-ENV)
14931 (tst-ftell-active-handler-ENV): Define.
14933 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14935 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14937 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14939 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14941 2014-03-24 Joseph Myers <joseph@codesourcery.com>
14943 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14944 * sysdeps/x86_64/fpu/multiarch/e_exp.c
14945 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14947 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14950 * elf/dl-load.c (open_verify): Add mode parameter.
14951 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14952 (open_path): Change from boolean 'secure' to complete flag 'mode'
14953 (_dl_map_object): Adjust.
14954 * elf/Makefile (tests): Add tst-dlopen-aout.
14955 * elf/tst-dlopen-aout.c: New test.
14957 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14960 * sysdeps/unix/sysv/linux/s390/bits/stat.h
14961 (struct stat): Rename member pad0 to __glibc_reserved0.
14964 * sysdeps/s390/s390-32/bits/wordsize.h
14965 (__WORDSIZE32_SIZE_ULONG): New define.
14966 * sysdeps/s390/s390-64/bits/wordsize.h
14967 (__WORDSIZE32_SIZE_ULONG): Likewise.
14968 * sysdeps/generic/stdint.h (SIZE_MAX):
14969 Define as UL if __WORDSIZE32_SIZE_ULONG.
14972 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14973 (__glibc_reserved0): New variable.
14974 (sa_flags): Change type to int.
14976 * posix/Makefile (before-compile): Use += before-compile instead
14979 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14980 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14982 2014-03-20 Andreas Schwab <schwab@suse.de>
14985 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14986 non-matching result from nscd.
14988 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14990 * scripts/bench.py: Moved to ...
14991 * benchtests/scripts/bench.py: ... here.
14992 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14994 2014-03-24 Andreas Schwab <schwab@suse.de>
14997 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14998 alloca_account and account alloca use for struct in6ailist.
15000 2014-03-24 Joseph Myers <joseph@codesourcery.com>
15003 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15004 rounding mode to recompute results that overflow to infinity or
15006 * math/auto-libm-test-in: Don't mark tests as expected to fail for
15008 * math/auto-libm-test-out: Regenerated.
15009 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15010 (ccosh_test): Likewise.
15011 (csin_test_data): Use plus_oflow.
15012 (csin_test): Use ALL_RM_TEST.
15013 (csinh_test_data): Use plus_oflow.
15014 (csinh_test): Use ALL_RM_TEST.
15015 * sysdeps/i386/fpu/libm-test-ulps: Update.
15016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15018 2014-03-21 Joseph Myers <joseph@codesourcery.com>
15020 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
15021 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
15022 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
15025 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
15026 when x - 1 is zero.
15027 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
15028 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
15029 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15030 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
15032 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
15033 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
15035 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
15036 * sysdeps/i386/fpu/libm-test-ulps: Update.
15037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15039 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15041 * scripts/bench.pl: Remove file.
15042 * scripts/bench.py: New benchmark script.
15043 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
15044 * benchtests/README: Mention python dependency.
15045 * scripts/pylintrc: New file.
15046 * scripts/pylint: New file.
15048 * bits/mathdef.h: Use #ifdef instead of #if.
15049 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15050 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15051 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15052 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15053 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15054 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15056 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15057 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15059 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15060 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15061 and strpbrk-ppc64 objects.
15062 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15063 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15064 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15065 multiarch strpbrk for POWER7.
15066 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15067 multiarch strpbrk for PPC64.
15068 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15070 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15071 strpbrk for POWER7.
15073 2014-03-20 Joseph Myers <joseph@codesourcery.com>
15075 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
15076 (atan_test): Likewise.
15077 (atanh_test_data): Use NO_TEST_INLINE for two tests.
15078 (atanh_test): Use ALL_RM_TEST.
15079 (atan2_test_data): Likewise.
15080 (cabs_test): Likewise.
15081 (cacosh_test): Likewise.
15082 (carg_test): Likewise.
15083 (casin_test): Likewise.
15084 (casinh_test): Likewise.
15085 (cbrt_test): Likewise.
15086 (csqrt_test): Likewise.
15087 (erf_test): Likewise.
15088 (erfc_test): Likewise.
15089 (pow10_test): Likewise.
15090 (exp2_test): Likewise.
15091 (hypot_test): Likewise.
15092 (j0_test): Likewise.
15093 (j1_test): Likewise.
15094 (lgamma_test): Likewise.
15095 (gamma_test): Likewise.
15096 (sincos_test): Likewise.
15097 (tanh_test): Likewise.
15098 (y0_test): Likewise.
15099 (y1_test): Likewise.
15100 * sysdeps/i386/fpu/libm-test-ulps: Update.
15101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15103 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15105 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15106 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
15107 and strcspn-ppc64 objects.
15108 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15109 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15110 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15111 multiarch strcspn for POWER7.
15112 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15113 multiarch strcspn for PPC64.
15114 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15116 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15117 strcspn for POWER7.
15119 2014-03-20 Joseph Myers <joseph@codesourcery.com>
15121 * math/gen-libm-test.pl (generate_testfile): Expect only function
15122 name as argument to AUTO_TESTS_* and pass results for all rounding
15123 modes to parse_args.
15124 (parse_auto_input): Separate inputs of automatic tests from
15125 outputs before storing in %auto_tests.
15126 * math/libm-test.inc (acos_test_data): Update call to
15128 (acos_test): Use ALL_RM_TEST.
15129 (acos_tonearest_test_data): Remove.
15130 (acos_test_tonearest): Likewise.
15131 (acos_towardzero_test_data): Likewise.
15132 (acos_test_towardzero): Likewise.
15133 (acos_downward_test_data): Likewise.
15134 (acos_test_downward): Likewise.
15135 (acos_upward_test_data): Likewise.
15136 (acos_test_upward): Likewise.
15137 (acosh_test_data): Update call to AUTO_TESTS_f_f.
15138 (asin_test_data): Likewise.
15139 (asin_test): Use ALL_RM_TEST.
15140 (asin_tonearest_test_data): Remove.
15141 (asin_test_tonearest): Likewise.
15142 (asin_towardzero_test_data): Likewise.
15143 (asin_test_towardzero): Likewise.
15144 (asin_downward_test_data): Likewise.
15145 (asin_test_downward): Likewise.
15146 (asin_upward_test_data): Likewise.
15147 (asin_test_upward): Likewise.
15148 (asinh_test_data): Update call to AUTO_TESTS_f_f.
15149 (atan_test_data): Likewise.
15150 (atanh_test_data): Likewise.
15151 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15152 (cabs_test_data): Update call to AUTO_TESTS_c_f.
15153 (carg_test_data): Likewise.
15154 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15155 (ccos_test_data): Update call to AUTO_TESTS_c_c.
15156 (ccosh_test_data): Likewise.
15157 (cexp_test_data): Likewise.
15158 (clog_test_data): Likewise.
15159 (clog10_test_data): Likewise.
15160 (cos_test_data): Update call to AUTO_TESTS_f_f.
15161 (cos_test): Use ALL_RM_TEST.
15162 (cos_tonearest_test_data): Remove.
15163 (cos_test_tonearest): Likewise.
15164 (cos_towardzero_test_data): Likewise.
15165 (cos_test_towardzero): Likewise.
15166 (cos_downward_test_data): Likewise.
15167 (cos_test_downward): Likewise.
15168 (cos_upward_test_data): Likewise.
15169 (cos_test_upward): Likewise.
15170 (cosh_test_data): Update call to AUTO_TESTS_f_f.
15171 (cosh_test): Use ALL_RM_TEST.
15172 (cosh_tonearest_test_data): Remove.
15173 (cosh_test_tonearest): Likewise.
15174 (cosh_towardzero_test_data): Likewise.
15175 (cosh_test_towardzero): Likewise.
15176 (cosh_downward_test_data): Likewise.
15177 (cosh_test_downward): Likewise.
15178 (cosh_upward_test_data): Likewise.
15179 (cosh_test_upward): Likewise.
15180 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15181 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15182 (ctan_test_data): Likewise.
15183 (ctan_test): Use ALL_RM_TEST.
15184 (ctan_tonearest_test_data): Remove.
15185 (ctan_test_tonearest): Likewise.
15186 (ctan_towardzero_test_data): Likewise.
15187 (ctan_test_towardzero): Likewise.
15188 (ctan_downward_test_data): Likewise.
15189 (ctan_test_downward): Likewise.
15190 (ctan_upward_test_data): Likewise.
15191 (ctan_test_upward): Likewise.
15192 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15193 (ctanh_test): Use ALL_RM_TEST.
15194 (ctanh_tonearest_test_data): Remove.
15195 (ctanh_test_tonearest): Likewise.
15196 (ctanh_towardzero_test_data): Likewise.
15197 (ctanh_test_towardzero): Likewise.
15198 (ctanh_downward_test_data): Likewise.
15199 (ctanh_test_downward): Likewise.
15200 (ctanh_upward_test_data): Likewise.
15201 (ctanh_test_upward): Likewise.
15202 (erf_test_data): Update call to AUTO_TESTS_f_f.
15203 (erfc_test_data): Likewise.
15204 (exp_test_data): Likewise.
15205 (exp_test): Use ALL_RM_TEST.
15206 (exp_tonearest_test_data): Remove.
15207 (exp_test_tonearest): Likewise.
15208 (exp_towardzero_test_data): Likewise.
15209 (exp_test_towardzero): Likewise.
15210 (exp_downward_test_data): Likewise.
15211 (exp_test_downward): Likewise.
15212 (exp_upward_test_data): Likewise.
15213 (exp_test_upward): Likewise.
15214 (exp10_test_data): Update call to AUTO_TESTS_f_f.
15215 (exp10_test): Use ALL_RM_TEST.
15216 (exp10_tonearest_test_data): Remove.
15217 (exp10_test_tonearest): Likewise.
15218 (exp10_towardzero_test_data): Likewise.
15219 (exp10_test_towardzero): Likewise.
15220 (exp10_downward_test_data): Likewise.
15221 (exp10_test_downward): Likewise.
15222 (exp10_upward_test_data): Likewise.
15223 (exp10_test_upward): Likewise.
15224 (exp2_test_data): Update call to AUTO_TESTS_f_f.
15225 (expm1_test_data): Likewise.
15226 (expm1_test): Use ALL_RM_TEST.
15227 (expm1_tonearest_test_data): Remove.
15228 (expm1_test_tonearest): Likewise.
15229 (expm1_towardzero_test_data): Likewise.
15230 (expm1_test_towardzero): Likewise.
15231 (expm1_downward_test_data): Likewise.
15232 (expm1_test_downward): Likewise.
15233 (expm1_upward_test_data): Likewise.
15234 (expm1_test_upward): Likewise.
15235 (fma_test_data): Update call to AUTO_TESTS_fff_f.
15236 (fma_test): Use ALL_RM_TEST.
15237 (fma_towardzero_test_data): Remove.
15238 (fma_test_towardzero): Likewise.
15239 (fma_downward_test_data): Likewise.
15240 (fma_test_downward): Likewise.
15241 (fma_upward_test_data): Likewise.
15242 (fma_test_upward): Likewise.
15243 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15244 (j0_test_data): Update call to AUTO_TESTS_f_f.
15245 (j1_test_data): Likewise.
15246 (jn_test_data): Update call to AUTO_TESTS_if_f.
15247 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15248 (log_test_data): Update call to AUTO_TESTS_f_f.
15249 (log10_test_data): Likewise.
15250 (log1p_test_data): Likewise.
15251 (log2_test_data): Likewise.
15252 (pow_test_data): Update call to AUTO_TESTS_ff_f.
15253 (pow_tonearest_test_data): Likewise.
15254 (sin_test_data): Update call to AUTO_TESTS_f_f.
15255 (sin_test): Use ALL_RM_TEST.
15256 (sin_tonearest_test_data): Remove.
15257 (sin_test_tonearest): Likewise.
15258 (sin_towardzero_test_data): Likewise.
15259 (sin_test_towardzero): Likewise.
15260 (sin_downward_test_data): Likewise.
15261 (sin_test_downward): Likewise.
15262 (sin_upward_test_data): Likewise.
15263 (sin_test_upward): Likewise.
15264 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
15265 (sinh_test_data): Update call to AUTO_TESTS_f_f.
15266 (sinh_test): Use ALL_RM_TEST.
15267 (sinh_tonearest_test_data): Remove.
15268 (sinh_test_tonearest): Likewise.
15269 (sinh_towardzero_test_data): Likewise.
15270 (sinh_test_towardzero): Likewise.
15271 (sinh_downward_test_data): Likewise.
15272 (sinh_test_downward): Likewise.
15273 (sinh_upward_test_data): Likewise.
15274 (sinh_test_upward): Likewise.
15275 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
15276 (sqrt_test): Use ALL_RM_TEST.
15277 (sqrt_tonearest_test_data): Remove.
15278 (sqrt_test_tonearest): Likewise.
15279 (sqrt_towardzero_test_data): Likewise.
15280 (sqrt_test_towardzero): Likewise.
15281 (sqrt_downward_test_data): Likewise.
15282 (sqrt_test_downward): Likewise.
15283 (sqrt_upward_test_data): Likewise.
15284 (sqrt_test_upward): Likewise.
15285 (tan_test_data): Update call to AUTO_TESTS_f_f.
15286 (tan_test): Use ALL_RM_TEST.
15287 (tan_tonearest_test_data): Remove.
15288 (tan_test_tonearest): Likewise.
15289 (tan_towardzero_test_data): Likewise.
15290 (tan_test_towardzero): Likewise.
15291 (tan_downward_test_data): Likewise.
15292 (tan_test_downward): Likewise.
15293 (tan_upward_test_data): Likewise.
15294 (tan_test_upward): Likewise.
15295 (tanh_test_data): Update call to AUTO_TESTS_f_f.
15296 (tgamma_test_data): Likewise.
15297 (y0_test_data): Likewise.
15298 (y1_test_data): Likewise.
15299 (yn_test_data): Update call to AUTO_TESTS_if_f.
15300 (main): Do not call removed functions.
15302 2014-03-19 Joseph Myers <joseph@codesourcery.com>
15304 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
15305 (ldexp_test_data): Remove.
15306 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
15308 (scalb_test): Use ALL_RM_TEST.
15310 2014-03-19 Andreas Schwab <schwab@suse.de>
15312 * nscd/nscd.service: Also invalidate netgroup cache on reload.
15314 2014-03-19 Joseph Myers <joseph@codesourcery.com>
15317 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15318 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
15319 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
15320 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15321 (__ASSUME_PREADV): Undefine.
15322 (__ASSUME_PWRITEV): Likewise.
15324 2014-03-18 Roland McGrath <roland@hack.frob.com>
15326 * bits/mman-linux.h: Add comment about non-Linux use.
15327 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
15328 bits/mman-linux.h resting place.
15330 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
15331 * bits/mman-linux.h: ... here.
15333 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15335 * conform/conformtest.pl: Add standard definition when calling C
15336 preprocessor on data files.
15337 (checknamespace): Remove unused variable.
15339 2014-03-18 Joseph Myers <joseph@codesourcery.com>
15341 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
15342 minus_oflow, plus_uflow and minus_uflow in expected results.
15343 * math/libm-test.inc (scalbn_test_data): Add more tests of
15344 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
15346 (scalbn_test): Use ALL_RM_TEST.
15347 (scalbln_test_data): Add more tests of negative arguments. Use
15348 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
15349 (scalbln_test): Use ALL_RM_TEST.
15351 2014-03-18 Roland McGrath <roland@hack.frob.com>
15353 * scripts/abilist.awk: Ignore symbols marked with .hidden.
15355 2014-03-18 Will Newton <will.newton@linaro.org>
15357 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
15358 inaccurate comment.
15360 2014-03-18 Joseph Myers <joseph@codesourcery.com>
15362 * Makerules [!subdir] (check-abi): Exit with error status if a
15365 2014-03-17 Joseph Myers <joseph@codesourcery.com>
15367 * math/libm-test.inc (nearbyint_test_data): Include all tests used
15368 for rint. Include results for all rounding modes.
15369 (nearbyint_test): Use ALL_RM_TEST.
15370 (rint_test_data): Include all tests used for nearbyint.
15372 2014-03-17 Will Newton <will.newton@linaro.org>
15374 * nptl/sysdeps/pthread/pthread.h: Revert previous
15377 * sysdeps/generic/ldsodefs.h: Revert previous
15380 * libio/genops.c: Revert previous change.
15381 * libio/libioP.h: Likewise.
15382 * stdio-common/vfprintf.c: Likewise.
15384 * sysdeps/generic/math_private.h: Revert previous
15387 * sysdeps/generic/math_private.h: Check whether
15388 HAVE_RM_CTX is defined with #ifdef rather
15391 * argp/argp-fmtstream.h: Check whether
15392 __STRICT_ANSI__ is defined with #ifdef rather
15394 * argp/argp.h: Likewise.
15396 * libio/genops.c: Check whether
15397 _IO_JUMPS_OFFSET is defined with #ifdef rather
15399 * libio/libioP.h: Likewise.
15400 * stdio-common/vfprintf.c: Likewise.
15402 * sysdeps/generic/ldsodefs.h: Check whether
15403 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
15406 * nptl/sysdeps/pthread/pthread.h: Check
15407 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
15410 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15412 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
15414 * libio/tst-ftell-active-handler.c (do_append_test): Add a
15418 * libio/fileops.c (_IO_file_open): Seek to end of file but
15419 don't cache the offset.
15420 (get_file_offset): Remove function.
15421 (do_ftell): Use cached offset when available.
15422 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
15423 don't cache the offset.
15424 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
15426 (do_one_test): Call it.
15427 (do_ftell_test): Fix up expected old offset for a+ mode.
15428 * libio/wfileops.c (do_ftell_wide): Used cached offset when
15431 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
15432 up test status with function return status.
15433 (do_write_test): Likewise.
15434 (do_append_test): Likewise.
15436 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
15437 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
15440 2014-03-17 Joseph Myers <joseph@codesourcery.com>
15442 * math/gen-libm-test.pl (parse_args): Handle results specified for
15443 each rounding mode separately.
15444 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
15445 tests and results from lrint_tonearest_test_data,
15446 lrint_towardzero_test_data, lrint_downward_test_data and
15447 lrint_upward_test_data.
15448 (lrint_test): Use ALL_RM_TEST.
15449 (lrint_tonearest_test_data): Remove.
15450 (lrint_test_tonearest): Likewise.
15451 (lrint_towardzero_test_data): Likewise.
15452 (lrint_test_towardzero): Likewise.
15453 (lrint_downward_test_data): Likewise.
15454 (lrint_test_downward): Likewise.
15455 (lrint_upward_test_data): Likewise.
15456 (lrint_test_upward): Likewise.
15457 (llrint_test_data): Merge in per-rounding-mode tests and results
15458 from llrint_tonearest_test_data, llrint_towardzero_test_data,
15459 llrint_downward_test_data and llrint_upward_test_data.
15460 (llrint_test): Use ALL_RM_TEST.
15461 (llrint_tonearest_test_data): Remove.
15462 (llrint_test_tonearest): Likewise.
15463 (llrint_towardzero_test_data): Likewise.
15464 (llrint_test_towardzero): Likewise.
15465 (llrint_downward_test_data): Likewise.
15466 (llrint_test_downward): Likewise.
15467 (llrint_upward_test_data): Likewise.
15468 (llrint_test_upward): Likewise.
15469 (rint_test_data): Merge in per-rounding-mode tests and results
15470 from rint_tonearest_test_data, rint_towardzero_test_data,
15471 rint_downward_test_data and rint_upward_test_data. Add
15472 per-rounding-mode results for tests not in those arrays.
15473 (rint_test): Use ALL_RM_TEST.
15474 (rint_tonearest_test_data): Remove.
15475 (rint_test_tonearest): Likewise.
15476 (rint_towardzero_test_data): Likewise.
15477 (rint_test_towardzero): Likewise.
15478 (rint_downward_test_data): Likewise.
15479 (rint_test_downward): Likewise.
15480 (rint_upward_test_data): Likewise.
15481 (rint_test_upward): Likewise.
15482 (main): Don't call removed functions.
15484 2014-03-14 Roland McGrath <roland@hack.frob.com>
15486 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
15487 "Compiled on ..." crapola. It is anti-useful.
15489 2014-03-14 Joseph Myers <joseph@codesourcery.com>
15491 * scripts/evaluate-test.sh: Handle fourth argument to determine
15492 whether test run should stop on failure.
15493 * Makeconfig (stop-on-test-failure): New variable.
15494 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
15495 $(stop-on-test-failure).
15496 * Makefile (tests): Give a summary of results from testing and
15497 exit with failure status if they include an ERROR or FAIL.
15498 (xtests): Likewise.
15499 * manual/install.texi (Configuring and compiling): Mention
15500 stop-on-test-failure=y.
15501 * INSTALL: Regenerated.
15503 2014-03-14 Roland McGrath <roland@hack.frob.com>
15505 * scripts/versionlist.awk: New file.
15506 * Makerules [$(build-shared) = yes]
15507 (postclean-generated): Add Versions.def, not Versions.def.v and
15509 ($(common-objpfx)Versions.def.v.i): Target removed.
15510 ($(common-objpfx)Versions.def): New target.
15511 ($(common-objpfx)Versions.all): Depend on that rather that
15512 $(common-objpfx)Versions.def.v.
15513 * Versions.def: File removed.
15515 * Makeconfig (+gccwarn): Add -Wundef.
15516 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
15517 a dl-sysdep.h breaking its contract.
15518 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
15519 * include/stackinfo.h: New file.
15520 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
15521 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
15522 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
15523 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
15524 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
15525 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
15526 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15527 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15528 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15529 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15530 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15531 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
15532 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15533 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15534 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15536 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15539 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
15541 * math/libm-test.inc (round_test_data): Add more tests.
15544 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
15546 * math/libm-test.inc (nearbyint_test_data): Add more tests.
15549 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
15551 * math/libm-test.inc (ceil_test_data): Add more tests.
15553 * math/libm-test.inc (trunc_test_data): Add more tests related to
15556 2014-03-14 Roland McGrath <roland@hack.frob.com>
15558 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
15559 with #if rather than #ifdef.
15560 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
15562 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
15564 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
15565 first. Disable AVX-512 GCC support if assembler doesn't support
15567 * sysdeps/x86_64/configure: Regenerated.
15569 2014-03-13 Carlos O'Donell <carlos@redhat.com>
15571 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
15572 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
15573 (__old_pthread_attr_setstack): Likewise.
15574 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
15575 [!_STACK_GROWS_DOWN]: Likewise.
15577 2014-03-13 Mike Frysinger <vapier@gentoo.org>
15579 * config.make.in (have-bash2): Delete.
15580 * configure.ac (libc_cv_have_bash2): Delete.
15581 * configure: Regenerate.
15582 * elf/Makefile (common-ldd-rewrite): Rename to ...
15583 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
15584 (sh-ldd-rewrite): Delete.
15585 (bash-ldd-rewrite): Delete.
15586 (have-bash2): Delete checks.
15587 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
15590 * config.make.in (have-ksh): Delete.
15592 * configure.ac (libc_cv_have_ksh): Delete.
15593 * configure: Regenerate.
15595 * elf/Makefile: Delete $(have-ksh) check.
15596 ($(objpfx)sotruss): Change KSH to BASH.
15597 * elf/sotruss.ksh: Rename to ...
15598 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
15599 function style to match POSIX. Drop ksh vim mode setting.
15601 * manual/time.texi (Specifying the Time Zone with TZ): Change
15602 Tuesday to Thursday.
15604 * debug/tst-longjmp_chk2.c: Update header comment.
15605 (stackoverflow_handler): Add comment. Call assert on pass value.
15607 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
15610 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
15611 (HAVE_AVX512_ASM_SUPPORT): Likewise.
15612 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
15613 (La_x86_64_vector): Add zmm.
15614 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
15615 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
15616 ($(objpfx)tst-audit10): New target.
15617 ($(objpfx)tst-audit10.out): Likewise.
15618 (tst-audit10-ENV): New.
15619 (AVX512-CFLAGS): Likewise.
15620 (CFLAGS-tst-audit10.c): Likewise.
15621 (CFLAGS-tst-auditmod10a.c): Likewise.
15622 (CFLAGS-tst-auditmod10b.c): Likewise.
15623 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
15624 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
15625 * sysdeps/x86_64/configure: Regenerated.
15626 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
15627 AVX-512 zmm register support.
15628 (_dl_x86_64_save_sse): Likewise.
15629 (_dl_x86_64_restore_sse): Likewise.
15630 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
15631 size vector registers.
15632 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
15633 (ZMM_SIZE): Likewise.
15634 * sysdeps/x86_64/tst-audit10.c: New file.
15635 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
15636 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
15638 2014-03-13 Roland McGrath <roland@hack.frob.com>
15640 * configure.ac (HAVE_EHDR_START): New check.
15641 * configure: Regenerated.
15642 * config.h.in (HAVE_EHDR_START): New #undef.
15643 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
15644 assuming the lowest-addressed segment maps the start of the file.
15646 2014-03-13 Joseph Myers <joseph@codesourcery.com>
15648 * INSTALL: Regenerated.
15650 2014-03-13 Will Newton <will.newton@linaro.org>
15652 * manual/setjmp.texi (System V contexts): Improve
15653 clarity and grammar of documentation.
15655 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
15658 * elf/Makefile (tests): Add tst-pie2.
15659 (tests-pie): Add tst-pie2.
15660 * elf/tst-pie2.c: New file.
15661 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
15663 * elf/rtld.c (map_doit): Load executable as lt_executable.
15664 (dl_main): Likewise.
15666 2014-03-12 Joseph Myers <joseph@codesourcery.com>
15669 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15670 (__ASSUME_PSELECT): Undefine.
15672 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15675 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
15676 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
15678 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
15679 selector for static builds.
15681 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15684 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
15687 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15689 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
15690 IFUNC selector for static builds.
15692 2014-03-11 Joseph Myers <joseph@codesourcery.com>
15694 * sysdeps/mips/math_private.h [__mips_hard_float]
15695 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
15696 libc_feresetround_mips_ctx.
15697 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
15698 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
15699 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
15702 * math/s_nextafter.c (__nextafter): Do not return value from
15703 overflowing computation.
15704 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15705 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
15706 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15708 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15710 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15711 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
15713 2014-03-11 Roland McGrath <roland@hack.frob.com>
15715 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
15716 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
15717 Move sfi_sp use from the load-multiple (that no longer sets sp) to
15718 the new mov targetting sp.
15720 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15723 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
15724 Define it for static builds as well.
15725 (NO_BZERO_IMPL): Likewise.
15727 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15729 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
15730 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
15731 multiarch strspn for PPC64.
15732 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
15733 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
15734 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15735 (__libc_ifunc_impl_list): Likewise.
15736 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
15737 multiarch optimizations
15738 * string/strspn.c (strspn): Using macro to redefine symbol name.
15740 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15741 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15743 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
15744 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
15745 multiarch strncat for PPC64.
15746 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
15747 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
15748 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15749 (__libc_ifunc_impl_list): Likewise.
15750 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
15751 multiarch optimizations
15753 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15756 * nscd/nscd.service: Make service type forking.
15758 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15760 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
15761 sign in non default rounding modes.
15762 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
15764 2014-03-08 Joseph Myers <joseph@codesourcery.com>
15766 * math/libm-test.inc (ALL_RM_TEST): New macro.
15767 (ceil_test): Use ALL_RM_TEST.
15768 (cimag_test): Likewise.
15769 (conj_test): Likewise.
15770 (copysign_test): Likewise.
15771 (cproj_test): Likewise.
15772 (creal_test): Likewise.
15773 (fabs_test): Likewise.
15774 (floor_test): Likewise.
15775 (fmax_test): Likewise.
15776 (fmin_test): Likewise.
15777 (fmod_test): Likewise.
15778 (fpclassify_test): Likewise.
15779 (frexp_test): Likewise.
15780 (ilogb_test): Likewise.
15781 (isfinite_test): Likewise.
15782 (finite_test): Likewise.
15783 (isgreater_test): Likewise.
15784 (isgreaterequal_test): Likewise.
15785 (isinf_test): Likewise.
15786 (isless_test): Likewise.
15787 (islessequal_test): Likewise.
15788 (islessgreater_test): Likewise.
15789 (isnan_test): Likewise.
15790 (isnormal_test): Likewise.
15791 (issignaling_test): Likewise.
15792 (isunordered_test): Likewise.
15793 (logb_test): Likewise.
15794 (logb_downward_test_data): Remove.
15795 (logb_test_downward): Likewise.
15796 (lround_test): Use ALL_RM_TEST.
15797 (llround_test): Likewise.
15798 (modf_test): Likewise.
15799 (nexttoward_test): Likewise.
15800 (remainder_test): Likewise.
15801 (drem_test): Likewise.
15802 (remainder_tonearest_test_data): Likewise.
15803 (remainder_test_tonearest): Likewise.
15804 (drem_test_tonearest): Likewise.
15805 (remainder_towardzero_test_data): Likewise.
15806 (remainder_test_towardzero): Likewise.
15807 (drem_test_towardzero): Likewise.
15808 (remainder_downward_test_data): Likewise.
15809 (remainder_test_downward): Likewise.
15810 (drem_test_downward): Likewise.
15811 (remainder_upward_test_data): Likewise.
15812 (remainder_test_upward): Likewise.
15813 (drem_test_upward): Likewise.
15814 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
15815 (round_test): Use ALL_RM_TEST.
15816 (signbit_test): Likewise.
15817 (trunc_test): Likewise.
15818 (significand_test): Likewise.
15819 (main): Don't call removed functions.
15821 2014-03-07 Joseph Myers <joseph@codesourcery.com>
15824 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15825 || __USE_XOPEN2K8].
15826 (ILL_ILLOPN): Likewise.
15827 (ILL_ILLADR): Likewise.
15828 (ILL_ILLTRP): Likewise.
15829 (ILL_PRVOPC): Likewise.
15830 (ILL_PRVREG): Likewise.
15831 (ILL_COPROC): Likewise.
15832 (ILL_BADSTK): Likewise.
15833 (FPE_INTDIV): Likewise.
15834 (FPE_INTOVF): Likewise.
15835 (FPE_FLTDIV): Likewise.
15836 (FPE_FLTOVF): Likewise.
15837 (FPE_FLTUND): Likewise.
15838 (FPE_FLTRES): Likewise.
15839 (FPE_FLTINV): Likewise.
15840 (FPE_FLTSUB): Likewise.
15841 (SEGV_MAPERR): Likewise.
15842 (SEGV_ACCERR): Likewise.
15843 (BUS_ADRALN): Likewise.
15844 (BUS_ADRERR): Likewise.
15845 (BUS_OBJERR): Likewise.
15846 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15847 (TRAP_TRACE): Likewise.
15848 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15850 (CLD_KILLED): Likewise.
15851 (CLD_DUMPED): Likewise.
15852 (CLD_TRAPPED): Likewise.
15853 (CLD_STOPPED): Likewise.
15854 (CLD_CONTINUED): Likewise.
15855 (POLL_IN): Likewise.
15856 (POLL_OUT): Likewise.
15857 (POLL_MSG): Likewise.
15858 (POLL_ERR): Likewise.
15859 (POLL_PRI): Likewise.
15860 (POLL_HUP): Likewise.
15861 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
15863 (ILL_ILLOPN): Likewise.
15864 (ILL_ILLADR): Likewise.
15865 (ILL_ILLTRP): Likewise.
15866 (ILL_PRVOPC): Likewise.
15867 (ILL_PRVREG): Likewise.
15868 (ILL_COPROC): Likewise.
15869 (ILL_BADSTK): Likewise.
15870 (FPE_INTDIV): Likewise.
15871 (FPE_INTOVF): Likewise.
15872 (FPE_FLTDIV): Likewise.
15873 (FPE_FLTOVF): Likewise.
15874 (FPE_FLTUND): Likewise.
15875 (FPE_FLTRES): Likewise.
15876 (FPE_FLTINV): Likewise.
15877 (FPE_FLTSUB): Likewise.
15878 (SEGV_MAPERR): Likewise.
15879 (SEGV_ACCERR): Likewise.
15880 (BUS_ADRALN): Likewise.
15881 (BUS_ADRERR): Likewise.
15882 (BUS_OBJERR): Likewise.
15883 (BUS_MCEERR_AR): Likewise.
15884 (BUS_MCEERR_AO): Likewise.
15885 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15886 (TRAP_TRACE): Likewise.
15887 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15889 (CLD_KILLED): Likewise.
15890 (CLD_DUMPED): Likewise.
15891 (CLD_TRAPPED): Likewise.
15892 (CLD_STOPPED): Likewise.
15893 (CLD_CONTINUED): Likewise.
15894 (POLL_IN): Likewise.
15895 (POLL_OUT): Likewise.
15896 (POLL_MSG): Likewise.
15897 (POLL_ERR): Likewise.
15898 (POLL_PRI): Likewise.
15899 (POLL_HUP): Likewise.
15900 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
15901 (ILL_ILLOPN): Likewise.
15902 (ILL_ILLADR): Likewise.
15903 (ILL_ILLTRP): Likewise.
15904 (ILL_PRVOPC): Likewise.
15905 (ILL_PRVREG): Likewise.
15906 (ILL_COPROC): Likewise.
15907 (ILL_BADSTK): Likewise.
15908 (FPE_INTDIV): Likewise.
15909 (FPE_INTOVF): Likewise.
15910 (FPE_FLTDIV): Likewise.
15911 (FPE_FLTOVF): Likewise.
15912 (FPE_FLTUND): Likewise.
15913 (FPE_FLTRES): Likewise.
15914 (FPE_FLTINV): Likewise.
15915 (FPE_FLTSUB): Likewise.
15916 (SEGV_MAPERR): Likewise.
15917 (SEGV_ACCERR): Likewise.
15918 (BUS_ADRALN): Likewise.
15919 (BUS_ADRERR): Likewise.
15920 (BUS_OBJERR): Likewise.
15921 (BUS_MCEERR_AR): Likewise.
15922 (BUS_MCEERR_AO): Likewise.
15923 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15924 (TRAP_TRACE): Likewise.
15925 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15927 (CLD_KILLED): Likewise.
15928 (CLD_DUMPED): Likewise.
15929 (CLD_TRAPPED): Likewise.
15930 (CLD_STOPPED): Likewise.
15931 (CLD_CONTINUED): Likewise.
15932 (POLL_IN): Likewise.
15933 (POLL_OUT): Likewise.
15934 (POLL_MSG): Likewise.
15935 (POLL_ERR): Likewise.
15936 (POLL_PRI): Likewise.
15937 (POLL_HUP): Likewise.
15938 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
15940 (ILL_ILLOPN): Likewise.
15941 (ILL_ILLADR): Likewise.
15942 (ILL_ILLTRP): Likewise.
15943 (ILL_PRVOPC): Likewise.
15944 (ILL_PRVREG): Likewise.
15945 (ILL_COPROC): Likewise.
15946 (ILL_BADSTK): Likewise.
15947 (ILL_BADIADDR): Likewise.
15948 (ILL_BREAK): Likewise.
15949 (FPE_INTDIV): Likewise.
15950 (FPE_INTOVF): Likewise.
15951 (FPE_FLTDIV): Likewise.
15952 (FPE_FLTOVF): Likewise.
15953 (FPE_FLTUND): Likewise.
15954 (FPE_FLTRES): Likewise.
15955 (FPE_FLTINV): Likewise.
15956 (FPE_FLTSUB): Likewise.
15957 (FPE_DECOVF): Likewise.
15958 (FPE_DECDIV): Likewise.
15959 (FPE_DECERR): Likewise.
15960 (FPE_INVASC): Likewise.
15961 (FPE_INVDEC): Likewise.
15962 (SEGV_MAPERR): Likewise.
15963 (SEGV_ACCERR): Likewise.
15964 (SEGV_PSTKOVF): Likewise.
15965 (BUS_ADRALN): Likewise.
15966 (BUS_ADRERR): Likewise.
15967 (BUS_OBJERR): Likewise.
15968 (BUS_MCEERR_AR): Likewise.
15969 (BUS_MCEERR_AO): Likewise.
15970 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15971 (TRAP_TRACE): Likewise.
15972 (TRAP_BRANCH): Likewise.
15973 (TRAP_HWBKPT): Likewise.
15974 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15976 (CLD_KILLED): Likewise.
15977 (CLD_DUMPED): Likewise.
15978 (CLD_TRAPPED): Likewise.
15979 (CLD_STOPPED): Likewise.
15980 (CLD_CONTINUED): Likewise.
15981 (POLL_IN): Likewise.
15982 (POLL_OUT): Likewise.
15983 (POLL_MSG): Likewise.
15984 (POLL_ERR): Likewise.
15985 (POLL_PRI): Likewise.
15986 (POLL_HUP): Likewise.
15987 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15988 (ILL_ILLOPN): Likewise.
15989 (ILL_ILLADR): Likewise.
15990 (ILL_ILLTRP): Likewise.
15991 (ILL_PRVOPC): Likewise.
15992 (ILL_PRVREG): Likewise.
15993 (ILL_COPROC): Likewise.
15994 (ILL_BADSTK): Likewise.
15995 (FPE_INTDIV): Likewise.
15996 (FPE_INTOVF): Likewise.
15997 (FPE_FLTDIV): Likewise.
15998 (FPE_FLTOVF): Likewise.
15999 (FPE_FLTUND): Likewise.
16000 (FPE_FLTRES): Likewise.
16001 (FPE_FLTINV): Likewise.
16002 (FPE_FLTSUB): Likewise.
16003 (SEGV_MAPERR): Likewise.
16004 (SEGV_ACCERR): Likewise.
16005 (BUS_ADRALN): Likewise.
16006 (BUS_ADRERR): Likewise.
16007 (BUS_OBJERR): Likewise.
16008 (BUS_MCEERR_AR): Likewise.
16009 (BUS_MCEERR_AO): Likewise.
16010 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16011 (TRAP_TRACE): Likewise.
16012 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16014 (CLD_KILLED): Likewise.
16015 (CLD_DUMPED): Likewise.
16016 (CLD_TRAPPED): Likewise.
16017 (CLD_STOPPED): Likewise.
16018 (CLD_CONTINUED): Likewise.
16019 (POLL_IN): Likewise.
16020 (POLL_OUT): Likewise.
16021 (POLL_MSG): Likewise.
16022 (POLL_ERR): Likewise.
16023 (POLL_PRI): Likewise.
16024 (POLL_HUP): Likewise.
16025 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
16026 (ILL_ILLOPN): Likewise.
16027 (ILL_ILLADR): Likewise.
16028 (ILL_ILLTRP): Likewise.
16029 (ILL_PRVOPC): Likewise.
16030 (ILL_PRVREG): Likewise.
16031 (ILL_COPROC): Likewise.
16032 (ILL_BADSTK): Likewise.
16033 (FPE_INTDIV): Likewise.
16034 (FPE_INTOVF): Likewise.
16035 (FPE_FLTDIV): Likewise.
16036 (FPE_FLTOVF): Likewise.
16037 (FPE_FLTUND): Likewise.
16038 (FPE_FLTRES): Likewise.
16039 (FPE_FLTINV): Likewise.
16040 (FPE_FLTSUB): Likewise.
16041 (SEGV_MAPERR): Likewise.
16042 (SEGV_ACCERR): Likewise.
16043 (BUS_ADRALN): Likewise.
16044 (BUS_ADRERR): Likewise.
16045 (BUS_OBJERR): Likewise.
16046 (BUS_MCEERR_AR): Likewise.
16047 (BUS_MCEERR_AO): Likewise.
16048 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16049 (TRAP_TRACE): Likewise.
16050 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16052 (CLD_KILLED): Likewise.
16053 (CLD_DUMPED): Likewise.
16054 (CLD_TRAPPED): Likewise.
16055 (CLD_STOPPED): Likewise.
16056 (CLD_CONTINUED): Likewise.
16057 (POLL_IN): Likewise.
16058 (POLL_OUT): Likewise.
16059 (POLL_MSG): Likewise.
16060 (POLL_ERR): Likewise.
16061 (POLL_PRI): Likewise.
16062 (POLL_HUP): Likewise.
16063 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
16064 (ILL_ILLOPN): Likewise.
16065 (ILL_ILLADR): Likewise.
16066 (ILL_ILLTRP): Likewise.
16067 (ILL_PRVOPC): Likewise.
16068 (ILL_PRVREG): Likewise.
16069 (ILL_COPROC): Likewise.
16070 (ILL_BADSTK): Likewise.
16071 (FPE_INTDIV): Likewise.
16072 (FPE_INTOVF): Likewise.
16073 (FPE_FLTDIV): Likewise.
16074 (FPE_FLTOVF): Likewise.
16075 (FPE_FLTUND): Likewise.
16076 (FPE_FLTRES): Likewise.
16077 (FPE_FLTINV): Likewise.
16078 (FPE_FLTSUB): Likewise.
16079 (SEGV_MAPERR): Likewise.
16080 (SEGV_ACCERR): Likewise.
16081 (BUS_ADRALN): Likewise.
16082 (BUS_ADRERR): Likewise.
16083 (BUS_OBJERR): Likewise.
16084 (BUS_MCEERR_AR): Likewise.
16085 (BUS_MCEERR_AO): Likewise.
16086 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16087 (TRAP_TRACE): Likewise.
16088 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16090 (CLD_KILLED): Likewise.
16091 (CLD_DUMPED): Likewise.
16092 (CLD_TRAPPED): Likewise.
16093 (CLD_STOPPED): Likewise.
16094 (CLD_CONTINUED): Likewise.
16095 (POLL_IN): Likewise.
16096 (POLL_OUT): Likewise.
16097 (POLL_MSG): Likewise.
16098 (POLL_ERR): Likewise.
16099 (POLL_PRI): Likewise.
16100 (POLL_HUP): Likewise.
16101 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16102 (ILL_ILLOPN): Likewise.
16103 (ILL_ILLADR): Likewise.
16104 (ILL_ILLTRP): Likewise.
16105 (ILL_PRVOPC): Likewise.
16106 (ILL_PRVREG): Likewise.
16107 (ILL_COPROC): Likewise.
16108 (ILL_BADSTK): Likewise.
16109 (ILL_DBLFLT): Likewise.
16110 (ILL_HARDWALL): Likewise.
16111 (FPE_INTDIV): Likewise.
16112 (FPE_INTOVF): Likewise.
16113 (FPE_FLTDIV): Likewise.
16114 (FPE_FLTOVF): Likewise.
16115 (FPE_FLTUND): Likewise.
16116 (FPE_FLTRES): Likewise.
16117 (FPE_FLTINV): Likewise.
16118 (FPE_FLTSUB): Likewise.
16119 (SEGV_MAPERR): Likewise.
16120 (SEGV_ACCERR): Likewise.
16121 (BUS_ADRALN): Likewise.
16122 (BUS_ADRERR): Likewise.
16123 (BUS_OBJERR): Likewise.
16124 (BUS_MCEERR_AR): Likewise.
16125 (BUS_MCEERR_AO): Likewise.
16126 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16127 (TRAP_TRACE): Likewise.
16128 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16130 (CLD_KILLED): Likewise.
16131 (CLD_DUMPED): Likewise.
16132 (CLD_TRAPPED): Likewise.
16133 (CLD_STOPPED): Likewise.
16134 (CLD_CONTINUED): Likewise.
16135 (POLL_IN): Likewise.
16136 (POLL_OUT): Likewise.
16137 (POLL_MSG): Likewise.
16138 (POLL_ERR): Likewise.
16139 (POLL_PRI): Likewise.
16140 (POLL_HUP): Likewise.
16141 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
16142 (ILL_ILLOPN): Likewise.
16143 (ILL_ILLADR): Likewise.
16144 (ILL_ILLTRP): Likewise.
16145 (ILL_PRVOPC): Likewise.
16146 (ILL_PRVREG): Likewise.
16147 (ILL_COPROC): Likewise.
16148 (ILL_BADSTK): Likewise.
16149 (FPE_INTDIV): Likewise.
16150 (FPE_INTOVF): Likewise.
16151 (FPE_FLTDIV): Likewise.
16152 (FPE_FLTOVF): Likewise.
16153 (FPE_FLTUND): Likewise.
16154 (FPE_FLTRES): Likewise.
16155 (FPE_FLTINV): Likewise.
16156 (FPE_FLTSUB): Likewise.
16157 (SEGV_MAPERR): Likewise.
16158 (SEGV_ACCERR): Likewise.
16159 (BUS_ADRALN): Likewise.
16160 (BUS_ADRERR): Likewise.
16161 (BUS_OBJERR): Likewise.
16162 (BUS_MCEERR_AR): Likewise.
16163 (BUS_MCEERR_AO): Likewise.
16164 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16165 (TRAP_TRACE): Likewise.
16166 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16168 (CLD_KILLED): Likewise.
16169 (CLD_DUMPED): Likewise.
16170 (CLD_TRAPPED): Likewise.
16171 (CLD_STOPPED): Likewise.
16172 (CLD_CONTINUED): Likewise.
16173 (POLL_IN): Likewise.
16174 (POLL_OUT): Likewise.
16175 (POLL_MSG): Likewise.
16176 (POLL_ERR): Likewise.
16177 (POLL_PRI): Likewise.
16178 (POLL_HUP): Likewise.
16179 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16180 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16183 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16184 before #include of <time.h>.
16185 [!__USE_XOPEN2K] (__need_timespec): Likewise.
16186 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16187 (test-xfail-UNIX98/sched.h/conform): Likewise.
16189 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
16191 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16192 error absence of trapping exception support.
16193 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16195 2014-03-07 Joseph Myers <joseph@codesourcery.com>
16197 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16198 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16199 * timezone/Makefile (testdata): Move definition above include of
16201 (test-zones): New variable.
16202 (tests-special): Add zone files.
16203 (build-testdata): Use $(evaluate-test).
16205 * elf/Makefile (tests-special): Rename tests to end with .out.
16206 ($(objpfx)noload-mem): Likewise.
16207 ($(objpfx)tst-leaks1-mem): Likewise.
16208 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16209 * iconv/Makefile (xtests-special): Change test-iconvconfig to
16210 $(objpfx)test-iconvconfig.out.
16211 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
16212 set -e inside subshell and redirect output to file.
16213 * iconvdata/Makefile (generated): Rename tests to end with .out.
16215 (tests-special): Rename tests to end with .out.
16216 ($(objpfx)mtrace-tst-loading): Likewise.
16217 * intl/Makefile (generated): Likewise.
16218 (tests-special): Likewise.
16219 ($(objpfx)mtrace-tst-gettext): Likewise.
16220 * misc/Makefile (generated): Likewise.
16221 (tests-special): Likewise.
16222 ($(objpfx)tst-error1-mem): Likewise.
16223 * nptl/Makefile (tests-special): Likewise.
16224 ($(objpfx)tst-stack3-mem): Likewise.
16225 (generated): Likewise.
16226 * posix/Makefile (generated): Likewise.
16227 (tests-special): Likewise.
16228 (xtests-special): Likewise.
16229 ($(objpfx)tst-fnmatch-mem): Likewise.
16230 ($(objpfx)bug-regex2-mem): Likewise.
16231 ($(objpfx)bug-regex14-mem): Likewise.
16232 ($(objpfx)bug-regex21-mem): Likewise.
16233 ($(objpfx)bug-regex31-mem): Likewise.
16234 ($(objpfx)tst-vfork3-mem): Likewise.
16235 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16236 ($(objpfx)tst-pcre-mem): Likewise.
16237 ($(objpfx)tst-boost-mem): Likewise.
16238 ($(objpfx)bug-ga2-mem): Likewise.
16239 ($(objpfx)bug-glob2-mem): Likewise.
16240 * resolv/Makefile (generate): Likewise.
16241 (tests-special): Likewise.
16242 (xtests-special): Likewise.
16243 (generated): Likewise.
16244 ($(objpfx)mtrace-tst-leaks): Likewise.
16245 ($(objpfx)mtrace-tst-leaks2): Likewise.
16247 * scripts/merge-test-results.sh: New file.
16248 * Makefile (tests-special-notdir): New variable.
16249 (tests): Run merge-test-results.sh.
16250 (xtests): Likewise.
16251 * Rules (tests-special-notdir): New variable.
16252 (xtests-special-notdir): Likewise.
16253 (tests): Run merge-test-results.sh
16254 (xtests): Likewise.
16256 * Makeconfig (test-xfail-name): New variable.
16257 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
16258 compute variable name for expected failures.
16259 * conform/Makefile (conformtest-headers-data): New variable.
16260 (conformtest-standards): Likewise.
16261 (conformtest-headers-ISO): Likewise.
16262 (conformtest-headers-ISO99): Likewise.
16263 (conformtest-headers-ISO11): Likewise.
16264 (conformtest-headers-POSIX): Likewise.
16265 (conformtest-headers-XPG3): Likewise.
16266 (conformtest-headers-XPG4): Likewise.
16267 (conformtest-headers-UNIX98): Likewise.
16268 (conformtest-headers-XOPEN2K): Likewise.
16269 (conformtest-headers-POSIX2008): Likewise.
16270 (conformtest-headers-XOPEN2K8): Likewise.
16271 (conformtest-header-list-base): Likewise.
16272 (conformtest-header-list-tests): Likewise.
16273 (conformtest-header-base): Likewise.
16274 (conformtest-header-tests): Likewise.
16275 (tests-special): Add $(conformtest-header-list-tests). If
16276 [$(fast-check) && !$(cross-compiling)], add
16277 $(conformtest-header-tests) instead of
16278 $(objpfx)run-conformtest.out.
16279 (generated): Add $(conformtest-header-list-base). If
16280 [$(fast-check) && !$(cross-compiling)], add
16281 $(conformtest-header-base). Remove previous setting.
16282 ($(conformtest-header-list-tests)): New target.
16283 (test-xfail-run-conformtest): Remove variable.
16284 ($(objpfx)run-conformtest.out): Remove target.
16285 (test-xfail-ISO11/complex.h/conform): New variable.
16286 (test-xfail-ISO11/stdalign.h/conform): Likewise.
16287 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16288 (test-xfail-XPG3/varargs.h/conform): Likewise.
16289 (test-xfail-XPG4/varargs.h/conform): Likewise.
16290 (test-xfail-UNIX98/varargs.h/conform): Likewise.
16291 (test-xfail-XPG4/ndbm.h/conform): Likewise.
16292 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
16293 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
16294 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
16295 (test-xfail-XPG3/fcntl.h/conform): Likewise.
16296 (test-xfail-XPG3/ftw.h/conform): Likewise.
16297 (test-xfail-XPG3/grp.h/conform): Likewise.
16298 (test-xfail-XPG3/langinfo.h/conform): Likewise.
16299 (test-xfail-XPG3/limits.h/conform): Likewise.
16300 (test-xfail-XPG3/pwd.h/conform): Likewise.
16301 (test-xfail-XPG3/search.h/conform): Likewise.
16302 (test-xfail-XPG3/signal.h/conform): Likewise.
16303 (test-xfail-XPG3/stdio.h/conform): Likewise.
16304 (test-xfail-XPG3/stdlib.h/conform): Likewise.
16305 (test-xfail-XPG3/string.h/conform): Likewise.
16306 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
16307 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
16308 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16309 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16310 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
16311 (test-xfail-XPG3/sys/types.h/conform): Likewise.
16312 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
16313 (test-xfail-XPG3/termios.h/conform): Likewise.
16314 (test-xfail-XPG3/time.h/conform): Likewise.
16315 (test-xfail-XPG3/unistd.h/conform): Likewise.
16316 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
16317 (test-xfail-XPG4/fcntl.h/conform): Likewise.
16318 (test-xfail-XPG4/langinfo.h/conform): Likewise.
16319 (test-xfail-XPG4/netdb.h/conform): Likewise.
16320 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
16321 (test-xfail-XPG4/signal.h/conform): Likewise.
16322 (test-xfail-XPG4/stdio.h/conform): Likewise.
16323 (test-xfail-XPG4/stdlib.h/conform): Likewise.
16324 (test-xfail-XPG4/stropts.h/conform): Likewise.
16325 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16326 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16327 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16328 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16329 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16330 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
16331 (test-xfail-XPG4/sys/time.h/conform): Likewise.
16332 (test-xfail-XPG4/sys/types.h/conform): Likewise.
16333 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
16334 (test-xfail-XPG4/termios.h/conform): Likewise.
16335 (test-xfail-XPG4/ucontext.h/conform): Likewise.
16336 (test-xfail-XPG4/unistd.h/conform): Likewise.
16337 (test-xfail-XPG4/utmpx.h/conform): Likewise.
16338 (test-xfail-POSIX/sched.h/conform): Likewise.
16339 (test-xfail-POSIX/signal.h/conform): Likewise.
16340 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16341 (test-xfail-POSIX/tar.h/conform): Likewise.
16342 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
16343 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
16344 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16345 (test-xfail-UNIX98/netdb.h/conform): Likewise.
16346 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
16347 (test-xfail-UNIX98/sched.h/conform): Likewise.
16348 (test-xfail-UNIX98/signal.h/conform): Likewise.
16349 (test-xfail-UNIX98/stdio.h/conform): Likewise.
16350 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16351 (test-xfail-UNIX98/stropts.h/conform): Likewise.
16352 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16353 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16354 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16355 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16356 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16357 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16358 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
16359 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
16360 (test-xfail-UNIX98/unistd.h/conform): Likewise.
16361 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16362 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
16363 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
16364 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16365 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
16366 (test-xfail-XOPEN2K/math.h/conform): Likewise.
16367 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16368 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16369 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16370 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
16371 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
16372 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
16373 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
16374 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16375 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16376 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16377 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16378 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16379 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16380 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
16381 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
16382 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16383 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
16384 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16385 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
16386 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16387 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
16388 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
16389 (test-xfail-POSIX2008/signal.h/conform): Likewise.
16390 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16391 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
16392 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
16393 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16394 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16395 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
16396 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16397 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16398 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16399 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
16400 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
16401 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16402 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16403 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16404 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
16405 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16406 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16407 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16408 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16409 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
16410 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16411 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16412 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
16413 (conformtest-cc-flags): Likewise.
16414 ($(conformtest-header-tests): New target.
16415 * conform/check-header-lists.sh: New file.
16416 * conform/run-conformtest.sh: Remove.
16418 * conform/conformtest.pl: Allow ' and \ in values given for
16420 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
16422 [POSIX] (sys/types.h): Likewise.
16423 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
16425 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
16427 * conform/data/signal.h-data (SIGIO): Remove expectation.
16428 [XPG3] (SIGBUS): Do not expect.
16429 [POSIX || XPG3] (SIGPOLL): Likewise.
16430 [POSIX || XPG3] (SIGPROF): Likewise.
16431 [POSIX || XPG3] (SIGSYS): Likewise.
16432 [XPG3] (SIGTRAP): Likewise.
16433 [POSIX || XPG3] (SIGURG): Likewise.
16434 [POSIX || XPG3] (SIGVTALRM): Likewise.
16435 [POSIX || XPG3] (SIGXCPU): Likewise.
16436 [POSIX || XPG3] (SIGXFSZ): Likewise.
16437 [POSIX] (SA_SIGINFO): Expect.
16438 [XPG3] (siginfo_t): Do not expect type or contents.
16439 [POSIX] (si_pid): Do not expect element.
16440 [POSIX] (si_uid): Likewise.
16441 [POSIX] (si_addr): Likewise.
16442 [POSIX] (si_status): Likewise.
16443 [POSIX] (si_band): Likewise.
16444 [XPG4] (si_value): Likewise.
16445 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
16446 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
16447 [POSIX || XPG3] (ILL_ILLADR): Likewise.
16448 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
16449 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
16450 [POSIX || XPG3] (ILL_PRVREG): Likewise.
16451 [POSIX || XPG3] (ILL_COPROC): Likewise.
16452 [POSIX || XPG3] (ILL_BADSTK): Likewise.
16453 [POSIX || XPG3] (FPE_INTDIV): Likewise.
16454 [POSIX || XPG3] (FPE_INTOVF): Likewise.
16455 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
16456 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
16457 [POSIX || XPG3] (FPE_FLTUND): Likewise.
16458 [POSIX || XPG3] (FPE_FLTRES): Likewise.
16459 [POSIX || XPG3] (FPE_FLTINV): Likewise.
16460 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
16461 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
16462 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
16463 [POSIX || XPG3] (BUS_ADRALN): Likewise.
16464 [POSIX || XPG3] (BUS_ADRERR): Likewise.
16465 [POSIX || XPG3] (BUS_OBJERR): Likewise.
16466 [POSIX || XPG3] (CLD_EXITED): Likewise.
16467 [POSIX || XPG3] (CLD_KILLED): Likewise.
16468 [POSIX || XPG3] (CLD_DUMPED): Likewise.
16469 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
16470 [POSIX || XPG3] (CLD_STOPPED): Likewise.
16471 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
16472 [POSIX || XPG3] (POLL_IN): Likewise.
16473 [POSIX || XPG3] (POLL_OUT): Likewise.
16474 [POSIX || XPG3] (POLL_MSG): Likewise.
16475 [POSIX || XPG3] (POLL_ERR): Likewise.
16476 [POSIX || XPG3] (POLL_PRI): Likewise.
16477 [POSIX || XPG3] (POLL_HUP): Likewise.
16478 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
16479 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
16480 (SIG*): Do not allow.
16481 [XPG3] (si_*): Likewise.
16482 [XPG3] (SI_*): Likewise.
16483 [XPG3 || XPG4] (sigev_*): Likewise.
16484 [XPG3 || XPG4] (SIGEV_*): Likewise.
16485 [XPG3 || XPG4] (sival_*): Likewise.
16486 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
16487 [POSIX || XPG3] (BUS_*): Likewise.
16488 [POSIX || XPG3] (CLD_*): Likewise.
16489 [POSIX || XPG3] (FPE_*): Likewise.
16490 [POSIX || XPG3] (ILL_*): Likewise.
16491 [POSIX || XPG3] (POLL_*): Likewise.
16492 [POSIX || XPG3] (SEGV_*): Likewise.
16493 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
16494 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
16495 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
16496 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
16497 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
16498 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
16499 Specify type and value.
16500 (TVERSLEN): Likewise.
16501 (REGTYPE): Likewise.
16502 (AREGTYPE): Likewise.
16503 (LNKTYPE): Likewise.
16504 (SYMTYPE): Likewise.
16505 (CHRTYPE): Likewise.
16506 (BLKTYPE): Likewise.
16507 (DIRTYPE): Likewise.
16508 (FIFOTYPE): Likewise.
16509 (CONTTYPE): Likewise.
16513 (TUREAD): Likewise.
16514 (TUWRITE): Likewise.
16515 (TUEXEC): Likewise.
16516 (TGREAD): Likewise.
16517 (TGWRITE): Likewise.
16518 (TGEXEC): Likewise.
16519 (TOREAD): Likewise.
16520 (TOWRITE): Likewise.
16521 (TOEXEC): Likewise.
16522 [POSIX] (TSVTX): Expect constant.
16524 2014-03-06 Joseph Myers <joseph@codesourcery.com>
16526 * Makefile (tests): Change dependencies to ....
16527 (tests-special): ... additions to this variable.
16528 (tests): Depend on $(tests-special).
16529 * Makerules (check-abi-list): New variable.
16530 (check-abi): Depend on $(check-abi-list).
16531 [$(subdir) = elf] (tests-special): Add
16532 $(objpfx)check-abi-libc.out.
16533 [$(build-shared) = yes && subdir] (tests-special): Add
16535 [$(build-shared) = yes && subdir] (tests): Do not depend on
16537 * Rules (tests): Depend on $(tests-special).
16538 (xtests): Depend on $(xtests-special).
16539 * catgets/Makefile (tests): Change dependencies to ....
16540 (tests-special): ... additions to this variable.
16541 * conform/Makefile (tests): Change dependencies to ....
16542 (tests-special): ... additions to this variable.
16543 * elf/Makefile (tests): Change dependencies to ....
16544 (tests-special): ... additions to this variable.
16545 * grp/Makefile (tests): Change dependencies to ....
16546 (tests-special): ... additions to this variable.
16547 * iconv/Makefile (xtests): Change dependencies to ....
16548 (xtests-special): ... additions to this variable.
16549 * iconvdata/Makefile (tests): Change dependencies to ....
16550 (tests-special): ... additions to this variable.
16551 * intl/Makefile (tests): Change dependencies to ....
16552 (tests-special): ... additions to this variable. Also add
16553 $(objpfx)tst-gettext.out.
16554 * io/Makefile (tests): Change dependencies to ....
16555 (tests-special): ... additions to this variable.
16556 * libio/Makefile (tests): Change dependencies to ....
16557 (tests-special): ... additions to this variable.
16558 * malloc/Makefile (tests): Change dependencies to ....
16559 (tests-special): ... additions to this variable.
16560 * misc/Makefile (tests): Change dependencies to ....
16561 (tests-special): ... additions to this variable.
16562 * nptl/Makefile (tests): Change dependencies to ....
16563 (tests-special): ... additions to this variable.
16564 * nptl_db/Makefile (tests): Change dependencies to ....
16565 (tests-special): ... additions to this variable.
16566 * posix/Makefile (tests): Change dependencies to ....
16567 (tests-special): ... additions to this variable.
16568 (xtests): Change dependencies to ....
16569 (xtests-special): ... additions to this variable.
16570 * resolv/Makefile (tests): Change dependencies to ....
16571 (tests-special): ... additions to this variable.
16572 (xtests): Change dependencies to ....
16573 (xtests-special): ... additions to this variable.
16574 * stdio-common/Makefile (tests): Change dependencies to ....
16575 (tests-special): ... additions to this variable.
16576 (do-tst-unbputc): Remove target.
16577 (do-tst-printf): Likewise.
16578 * stdlib/Makefile (tests): Change dependencies to ....
16579 (tests-special): ... additions to this variable.
16580 * string/Makefile (tests): Change dependencies to ....
16581 (tests-special): ... additions to this variable.
16582 * sysdeps/x86/Makefile (tests): Change dependencies to ....
16583 (tests-special): ... additions to this variable.
16585 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
16587 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
16589 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
16590 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
16592 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
16593 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
16594 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
16595 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
16596 * conform/data/libgen.h-data [XPG3]: Likewise.
16597 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
16598 * conform/data/ndbm.h-data [XPG3]: Likewise.
16599 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16600 * conform/data/netdb.h-data [XPG3]: Likewise.
16601 * conform/data/netinet/in.h-data [XPG3]: Likewise.
16602 * conform/data/poll.h-data [XPG3]: Likewise.
16603 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16604 * conform/data/strings.h-data [XPG3]: Likewise.
16605 * conform/data/stropts.h-data [XPG3]: Likewise.
16606 * conform/data/sys/mman.h-data [XPG3]: Likewise.
16607 * conform/data/sys/resource.h-data [XPG3]: Likewise.
16608 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
16610 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
16611 * conform/data/sys/time.h-data [XPG3]: Likewise.
16612 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
16613 * conform/data/sys/uio.h-data [XPG3]: Likewise.
16614 * conform/data/sys/un.h-data [XPG3]: Likewise.
16615 * conform/data/syslog.h-data [XPG3]: Likewise.
16616 * conform/data/ucontext.h-data [XPG3]: Likewise.
16617 * conform/data/utmpx.h-data [XPG3]: Likewise.
16618 * conform/data/varargs.h-data [UNIX98]: Enable file.
16620 * manual/Makefile (INSTALL_INFO): Remove variable setting.
16622 * math/libm-test.inc (struct test_f_f_data): Move expected results
16623 into structure for each rounding mode.
16624 (struct test_ff_f_data): Likewise.
16625 (struct test_ff_f_data_nexttoward): Likewise.
16626 (struct test_fi_f_data): Likewise.
16627 (struct test_fl_f_data): Likewise.
16628 (struct test_if_f_data): Likewise.
16629 (struct test_fff_f_data): Likewise.
16630 (struct test_c_f_data): Likewise.
16631 (struct test_f_f1_data): Likewise.
16632 (struct test_fF_f1_data): Likewise.
16633 (struct test_ffI_f1_data): Likewise.
16634 (struct test_c_c_data): Likewise.
16635 (struct test_cc_c_data): Likewise.
16636 (struct test_f_i_data): Likewise.
16637 (struct test_ff_i_data): Likewise.
16638 (struct test_f_l_data): Likewise.
16639 (struct test_f_L_data): Likewise.
16640 (struct test_fFF_11_data): Likewise.
16642 (RM_FE_DOWNWARD): Likewise.
16643 (RM_FE_TONEAREST): Likewise.
16644 (RM_FE_TOWARDZERO): Likewise.
16645 (RM_FE_UPWARD): Likewise.
16646 (RUN_TEST_LOOP_f_f): Update references to expected results.
16647 (RUN_TEST_LOOP_2_f): Likewise.
16648 (RUN_TEST_LOOP_fff_f): Likewise.
16649 (RUN_TEST_LOOP_c_f): Likewise.
16650 (RUN_TEST_LOOP_f_f1): Likewise.
16651 (RUN_TEST_LOOP_fF_f1): Likewise.
16652 (RUN_TEST_LOOP_fI_f1): Likewise.
16653 (RUN_TEST_LOOP_ffI_f1): Likewise.
16654 (RUN_TEST_LOOP_c_c): Likewise.
16655 (RUN_TEST_LOOP_cc_c): Likewise.
16656 (RUN_TEST_LOOP_f_i): Likewise.
16657 (RUN_TEST_LOOP_f_i_tg): Likewise.
16658 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16659 (RUN_TEST_LOOP_f_b): Likewise.
16660 (RUN_TEST_LOOP_f_b_tg): Likewise.
16661 (RUN_TEST_LOOP_f_l): Likewise.
16662 (RUN_TEST_LOOP_f_L): Likewise.
16663 (RUN_TEST_LOOP_fFF_11): Likewise.
16664 * math/gen-libm-test.pl (parse_args): Output four copies of
16665 expected results for each test.
16667 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16668 (__ASSUME_UTIMES): Remove.
16669 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16670 (__ASSUME_UTIMES): Likewise.
16672 * math/gen-auto-libm-tests.c: Update comment on output format.
16673 (output_for_one_input_case): Generate before-rounding and
16674 after-rounding information as conditions on output flags not
16675 floating-point format.
16676 * math/auto-libm-test-out: Regenerated.
16677 * math/gen-libm-test.pl (cond_value): New function.
16678 (or_cond_value): Use cond_value.
16679 (generate_testfile): Handle conditional exceptions.
16681 2014-03-05 Joseph Myers <joseph@codesourcery.com>
16683 * math/libm-test.inc (max_valid_error): New variable.
16684 (init_max_error): Take new argument specifying whether function
16685 results are exactly determined. Set max_valid_error and bound
16686 other variables for errors based on this argument.
16687 (set_max_error): Do not record results above max_valid_error.
16688 (check_float_internal): Only accept errors of up to 0.5ulps if
16689 also at most max_valid_error.
16690 (START): Take new argument EXACT and pass it to init_max_error.
16691 (acos_test): Update call to START.
16692 (acos_test_tonearest): Likewise.
16693 (acos_test_towardzero): Likewise.
16694 (acos_test_downward): Likewise.
16695 (acos_test_upward): Likewise.
16696 (acosh_test): Likewise.
16697 (asin_test): Likewise.
16698 (asin_test_tonearest): Likewise.
16699 (asin_test_towardzero): Likewise.
16700 (asin_test_downward): Likewise.
16701 (asin_test_upward): Likewise.
16702 (asinh_test): Likewise.
16703 (atan_test): Likewise.
16704 (atanh_test): Likewise.
16705 (atan2_test): Likewise.
16706 (cabs_test): Likewise.
16707 (cacos_test): Likewise.
16708 (cacosh_test): Likewise.
16709 (carg_test): Likewise.
16710 (casin_test): Likewise.
16711 (casinh_test): Likewise.
16712 (catan_test): Likewise.
16713 (catanh_test): Likewise.
16714 (cbrt_test): Likewise.
16715 (ccos_test): Likewise.
16716 (ccosh_test): Likewise.
16717 (ceil_test): Likewise.
16718 (cexp_test): Likewise.
16719 (cimag_test): Likewise.
16720 (clog_test): Likewise.
16721 (clog10_test): Likewise.
16722 (conj_test): Likewise.
16723 (copysign_test): Likewise.
16724 (cos_test): Likewise.
16725 (cos_test_tonearest): Likewise.
16726 (cos_test_towardzero): Likewise.
16727 (cos_test_downward): Likewise.
16728 (cos_test_upward): Likewise.
16729 (cosh_test): Likewise.
16730 (cosh_test_tonearest): Likewise.
16731 (cosh_test_towardzero): Likewise.
16732 (cosh_test_downward): Likewise.
16733 (cosh_test_upward): Likewise.
16734 (cpow_test): Likewise.
16735 (cproj_test): Likewise.
16736 (creal_test): Likewise.
16737 (csin_test): Likewise.
16738 (csinh_test): Likewise.
16739 (csqrt_test): Likewise.
16740 (ctan_test): Likewise.
16741 (ctan_test_tonearest): Likewise.
16742 (ctan_test_towardzero): Likewise.
16743 (ctan_test_downward): Likewise.
16744 (ctan_test_upward): Likewise.
16745 (ctanh_test): Likewise.
16746 (ctanh_test_tonearest): Likewise.
16747 (ctanh_test_towardzero): Likewise.
16748 (ctanh_test_downward): Likewise.
16749 (ctanh_test_upward): Likewise.
16750 (erf_test): Likewise.
16751 (erfc_test): Likewise.
16752 (exp_test): Likewise.
16753 (exp_test_tonearest): Likewise.
16754 (exp_test_towardzero): Likewise.
16755 (exp_test_downward): Likewise.
16756 (exp_test_upward): Likewise.
16757 (exp10_test): Likewise.
16758 (exp10_test_tonearest): Likewise.
16759 (exp10_test_towardzero): Likewise.
16760 (exp10_test_downward): Likewise.
16761 (exp10_test_upward): Likewise.
16762 (pow10_test): Likewise.
16763 (exp2_test): Likewise.
16764 (expm1_test): Likewise.
16765 (expm1_test_tonearest): Likewise.
16766 (expm1_test_towardzero): Likewise.
16767 (expm1_test_downward): Likewise.
16768 (expm1_test_upward): Likewise.
16769 (fabs_test): Likewise.
16770 (fdim_test): Likewise.
16771 (floor_test): Likewise.
16772 (fma_test): Likewise.
16773 (fma_test_towardzero): Likewise.
16774 (fma_test_downward): Likewise.
16775 (fma_test_upward): Likewise.
16776 (fmax_test): Likewise.
16777 (fmin_test): Likewise.
16778 (fmod_test): Likewise.
16779 (fpclassify_test): Likewise.
16780 (frexp_test): Likewise.
16781 (hypot_test): Likewise.
16782 (ilogb_test): Likewise.
16783 (isfinite_test): Likewise.
16784 (finite_test): Likewise.
16785 (isgreater_test): Likewise.
16786 (isgreaterequal_test): Likewise.
16787 (isinf_test): Likewise.
16788 (isless_test): Likewise.
16789 (islessequal_test): Likewise.
16790 (islessgreater_test): Likewise.
16791 (isnan_test): Likewise.
16792 (isnormal_test): Likewise.
16793 (issignaling_test): Likewise.
16794 (isunordered_test): Likewise.
16795 (j0_test): Likewise.
16796 (j1_test): Likewise.
16797 (jn_test): Likewise.
16798 (ldexp_test): Likewise.
16799 (lgamma_test): Likewise.
16800 (gamma_test): Likewise.
16801 (lrint_test): Likewise.
16802 (lrint_test_tonearest): Likewise.
16803 (lrint_test_towardzero): Likewise.
16804 (lrint_test_downward): Likewise.
16805 (lrint_test_upward): Likewise.
16806 (llrint_test): Likewise.
16807 (llrint_test_tonearest): Likewise.
16808 (llrint_test_towardzero): Likewise.
16809 (llrint_test_downward): Likewise.
16810 (llrint_test_upward): Likewise.
16811 (log_test): Likewise.
16812 (log10_test): Likewise.
16813 (log1p_test): Likewise.
16814 (log2_test): Likewise.
16815 (logb_test): Likewise.
16816 (logb_test_downward): Likewise.
16817 (lround_test): Likewise.
16818 (llround_test): Likewise.
16819 (modf_test): Likewise.
16820 (nearbyint_test): Likewise.
16821 (nextafter_test): Likewise.
16822 (nexttoward_test): Likewise.
16823 (pow_test): Likewise.
16824 (pow_test_tonearest): Likewise.
16825 (pow_test_towardzero): Likewise.
16826 (pow_test_downward): Likewise.
16827 (pow_test_upward): Likewise.
16828 (remainder_test): Likewise.
16829 (drem_test): Likewise.
16830 (remainder_test_tonearest): Likewise.
16831 (drem_test_tonearest): Likewise.
16832 (remainder_test_towardzero): Likewise.
16833 (drem_test_towardzero): Likewise.
16834 (remainder_test_downward): Likewise.
16835 (drem_test_downward): Likewise.
16836 (remainder_test_upward): Likewise.
16837 (drem_test_upward): Likewise.
16838 (remquo_test): Likewise.
16839 (rint_test): Likewise.
16840 (rint_test_tonearest): Likewise.
16841 (rint_test_towardzero): Likewise.
16842 (rint_test_downward): Likewise.
16843 (rint_test_upward): Likewise.
16844 (round_test): Likewise.
16845 (scalb_test): Likewise.
16846 (scalbn_test): Likewise.
16847 (scalbln_test): Likewise.
16848 (signbit_test): Likewise.
16849 (sin_test): Likewise.
16850 (sin_test_tonearest): Likewise.
16851 (sin_test_towardzero): Likewise.
16852 (sin_test_downward): Likewise.
16853 (sin_test_upward): Likewise.
16854 (sincos_test): Likewise.
16855 (sinh_test): Likewise.
16856 (sinh_test_tonearest): Likewise.
16857 (sinh_test_towardzero): Likewise.
16858 (sinh_test_downward): Likewise.
16859 (sinh_test_upward): Likewise.
16860 (sqrt_test): Likewise.
16861 (sqrt_test_tonearest): Likewise.
16862 (sqrt_test_towardzero): Likewise.
16863 (sqrt_test_downward): Likewise.
16864 (sqrt_test_upward): Likewise.
16865 (tan_test): Likewise.
16866 (tan_test_tonearest): Likewise.
16867 (tan_test_towardzero): Likewise.
16868 (tan_test_downward): Likewise.
16869 (tan_test_upward): Likewise.
16870 (tanh_test): Likewise.
16871 (tgamma_test): Likewise.
16872 (trunc_test): Likewise.
16873 (y0_test): Likewise.
16874 (y1_test): Likewise.
16875 (yn_test): Likewise.
16876 (significand_test): Likewise.
16878 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
16879 individual tests in comment.
16880 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
16881 (prev_max_error): New variable.
16882 (prev_real_max_error): Likewise.
16883 (prev_imag_max_error): Likewise.
16884 (compare_ulp_data): Don't refer to test names in comment.
16885 (find_test_ulps): Remove function.
16886 (find_function_ulps): Likewise.
16887 (find_complex_function_ulps): Likewise.
16888 (init_max_error): Take function name as argument. Look up ulps
16890 (print_ulps): Remove function.
16891 (print_max_error): Use prev_max_error instead of calling
16892 find_function_ulps.
16893 (print_complex_max_error): Use prev_real_max_error and
16894 prev_imag_max_error instead of calling find_complex_function_ulps.
16895 (check_float_internal): Take max_ulp parameter instead of calling
16896 find_test_ulps. Don't call print_ulps.
16897 (check_float): Update call to check_float_internal.
16898 (check_complex): Update calls to check_float_internal.
16899 (START): Pass argument to init_max_error.
16900 * math/gen-libm-test.pl (%results): Don't include "kind"
16902 (parse_ulps): Don't handle ulps of individual tests.
16903 (print_ulps_file): Likewise.
16904 (output_ulps): Likewise.
16905 * math/README.libm-test: Update.
16906 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
16908 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
16909 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
16910 * sysdeps/arm/libm-test-ulps: Likewise.
16911 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16912 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
16913 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
16914 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
16915 * sysdeps/microblaze/libm-test-ulps: Likewise.
16916 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16917 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16918 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16919 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16920 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16921 * sysdeps/sh/libm-test-ulps: Likewise.
16922 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16923 * sysdeps/tile/libm-test-ulps: Likewise.
16924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16926 2014-03-04 Joseph Myers <joseph@codesourcery.com>
16928 * math/libm-test.inc (print_complex_max_error): Check separately
16929 whether real and imaginary errors are within allowed range and
16930 pass 0 to print_complex_function_ulps instead of value within
16933 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16935 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16937 (get_handles_fopen): Likewise.
16938 (do_write_test): Likewise.
16940 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16942 * libio/fileops.c (do_ftell): Use cached offset when
16944 * libio/iofwide.c (do_ftell_wide): Likewise.
16945 * libio/iofdopen.c (_IO_new_fdopen): Don't use
16947 * libio/wfileops.c (_IO_fwide): Don't cache offset.
16950 * libio/libioP.h (get_file_offset): New function.
16951 * libio/fileops.c (get_file_offset): Likewise.
16952 (do_ftell): Likewise.
16953 (_IO_new_file_seekoff): Split out ftell logic.
16954 * libio/wfileops.c (do_ftell_wide): Likewise.
16955 (_IO_wfile_seekoff): Split out ftell logic.
16956 * libio/tst-ftell-active-handler.c: New test case.
16957 * libio/Makefile (tests): Add it.
16959 2014-03-03 Roland McGrath <roland@hack.frob.com>
16961 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16962 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16964 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16967 * nscd/connections.c (nscd_init): Call do_exit.
16968 (start_threads): Call do_exit and notify_parent.
16969 (begin_drop_privileges): Call do_exit.
16970 (finish_drop_privileges): Likewise.
16971 * nscd/selinux.c (preserve_capabilities): Likewise.
16972 (install_real_capabilities): Likewise.
16973 (nscd_selinux_enabled): Likewise.
16974 (avc_create_thread): Likewise.
16975 (avc_alloc_lock): Likewise.
16976 (nscd_avc_init): Likewise.
16977 * nscd/nscd.c (parent_fd): New static variable.
16978 (main): Create a pipe between parent and child processes.
16979 Skip closing parent_fd.
16980 (monitor_child): New function.
16981 (do_exit): Likewise.
16982 (notify_parent): Likewise.
16983 * nscd/nscd.h (notify_parent): Likewise.
16984 (do_exit): Likewise.
16986 2014-03-03 Carlos O'Donell <carlos@redhat.com>
16988 * malloc/malloc.c (__libc_calloc): Revert last change.
16990 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16992 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16994 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16996 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16997 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16999 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17000 (__libc_ifunc_impl_list): Likewise.
17001 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17002 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17003 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17004 * string/strrchr.c: Define STRRCHR.
17006 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
17008 * benchtest/bench-strtok.c (simple_strtok): Delete.
17009 (strtok_string): Use as benchmark.
17010 * string/strtok (STRTOK): New macro.
17012 2014-02-28 Carlos O'Donell <carlos@redhat.com>
17014 * manual/threads.texi: Add header and standard comments to all
17017 * elf/dl-lookup.c (check_match): New function.
17018 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
17019 (do_lookup_x): Remove nested function check_match. Use non-nested
17020 function check_match.
17022 2014-02-28 Roland McGrath <roland@hack.frob.com>
17024 * csu/Makefile (generated, before-compile): Use += rather than =.
17025 * catgets/Makefile (generated, generated-dirs): Likewise.
17026 * debug/Makefile (generated): Likewise.
17027 * dlfcn/Makefile (generated): Likewise.
17028 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
17029 * iconvdata/Makefile (before-compile, generated): Likewise.
17030 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17031 * libio/Makefile (generated): Likewise.
17032 * malloc/Makefile (generated): Likewise.
17033 * manual/Makefile (generated, generated-dirs): Likewise.
17034 * misc/Makefile (generated): Likewise.
17035 * posix/Makefile (generated): Likewise.
17036 * resolv/Makefile (generated): Likewise.
17037 * sunrpc/Makefile (generated, generated-dirs): Likewise.
17038 * timezone/Makefile (generated, generated-dirs): Likewise.
17040 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
17042 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17044 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17045 power8 implementation.
17046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17047 file: POWER8 llround ifunc implementation.
17048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17049 (__lllround): Add POWER8 implementation.
17050 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17051 POWER8 llround implementation.
17053 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17054 power8 implementation.
17055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17056 file: POWER8 llrint ifunc implementation.
17057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17058 Add POWER8 implementation.
17059 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17060 POWER8 llrint implementation.
17062 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17063 power8 implementation.
17064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17065 file: POWER8 finite ifunc implementation.
17066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17067 Add POWER8 implementation.
17068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17070 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17071 POWER8 finite implementation.
17072 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
17074 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
17075 power8 implementation.
17076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
17077 file: POWER8 isinf ifunc implementation.
17078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
17079 POWER8 implementation.
17080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17082 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17083 isinf implementation.
17084 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17086 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17087 (INIT_ARCH): Add hwcap2 initialization.
17088 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17089 power8 implementation.
17090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17091 file: POWER8 isnan ifunc implementation.
17092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17093 POWER8 implementation.
17094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17096 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17097 isnan implementation.
17098 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17100 2014-02-27 Joey Ye <joey.ye@arm.com>
17102 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17103 (_FP_NANFRAC_Q): Set to zero.
17105 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17108 * math/auto-libm-test-in: New test inputs.
17109 * math/auto-libm-test-out: Regenerate.
17110 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17113 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17115 2014-02-27 Joseph Myers <joseph@codesourcery.com>
17117 * scripts/evaluate-test.sh: Take new argument indicating whether
17118 failure is expected.
17119 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17120 indicating whether failure is expected.
17121 * conform/Makefile (test-xfail-run-conformtest): New variable.
17122 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17124 * posix/Makefile (test-xfail-annexc): New variable.
17125 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17127 2014-02-26 Joseph Myers <joseph@codesourcery.com>
17129 * argp/Makefile: Include Makeconfig immediately after defining
17131 * assert/Makefile: Likewise.
17132 * benchtests/Makefile: Likewise.
17133 * catgets/Makefile: Likewise.
17134 * conform/Makefile: Likewise.
17135 * crypt/Makefile: Likewise.
17136 * csu/Makefile: Likewise.
17137 (all): Remove target.
17138 * ctype/Makefile: Include Makeconfig immediately after defining
17140 * debug/Makefile: Likewise.
17141 * dirent/Makefile: Likewise.
17142 * dlfcn/Makefile: Likewise.
17143 * gmon/Makefile: Likewise.
17144 * gnulib/Makefile: Likewise.
17145 * grp/Makefile: Likewise.
17146 * gshadow/Makefile: Likewise.
17147 * hesiod/Makefile: Likewise.
17148 * hurd/Makefile: Likewise.
17149 (all): Remove target.
17150 * iconvdata/Makefile: Include Makeconfig immediately after
17152 * inet/Makefile: Likewise.
17153 * intl/Makefile: Likewise.
17154 * io/Makefile: Likewise.
17155 * libio/Makefile: Likewise.
17156 (all): Remove target.
17157 * locale/Makefile: Include Makeconfig immediately after defining
17159 * login/Makefile: Likewise.
17160 * mach/Makefile: Likewise.
17161 (all): Remove target.
17162 * malloc/Makefile: Include Makeconfig immediately after defining
17164 (all): Remove target.
17165 * manual/Makefile: Include Makeconfig immediately after defining
17167 * math/Makefile: Likewise.
17168 * misc/Makefile: Likewise.
17169 * nis/Makefile: Likewise.
17170 * nss/Makefile: Likewise.
17171 * po/Makefile: Likewise.
17172 (all): Remove target.
17173 * posix/Makefile: Include Makeconfig immediately after defining
17175 * pwd/Makefile: Likewise.
17176 * resolv/Makefile: Likewise.
17177 * resource/Makefile: Likewise.
17178 * rt/Makefile: Likewise.
17179 * setjmp/Makefile: Likewise.
17180 * shadow/Makefile: Likewise.
17181 * signal/Makefile: Likewise.
17182 * socket/Makefile: Likewise.
17183 * soft-fp/Makefile: Likewise.
17184 * stdio-common/Makefile: Likewise.
17185 * stdlib/Makefile: Likewise.
17186 * streams/Makefile: Likewise.
17187 * string/Makefile: Likewise.
17188 * sunrpc/Makefile: Likewise.
17189 (all): Remove target.
17190 * sysvipc/Makefile: Include Makeconfig immediately after defining
17192 * termios/Makefile: Likewise.
17193 * time/Makefile: Likewise.
17194 * timezone/Makefile: Likewise.
17195 (all): Remove target.
17196 * wcsmbs/Makefile: Include Makeconfig immediately after defining
17198 * wctype/Makefile: Likewise.
17200 2014-02-26 Steve Ellcey <sellcey@mips.com>
17202 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17203 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17204 (libc_feholdexcept_setround_mips): Ditto.
17205 (libc_feholdsetround): New.
17206 (libc_feholdsetroundf): New.
17207 (libc_feholdsetroundl): New.
17208 (libc_feupdateenv_test_mips): New.
17209 (libc_feupdateenv_test): New.
17210 (libc_feupdateenv_testf): New.
17211 (libc_feupdateenv_testl): New.
17212 (libc_feresetround): New.
17213 (libc_feresetroundf): New.
17214 (libc_feresetroundl): New.
17215 (libc_fetestexcept_mips): New.
17216 (libc_fetestexcept): New.
17217 (libc_fetestexceptf): New.
17218 (libc_fetestexceptl): New.
17219 (HAVE_RM_CTX): New.
17220 (libc_feholdexcept_setround_mips_ctx): New.
17221 (libc_feholdexcept_setround_ctx): New.
17222 (libc_feholdexcept_setroundf_ctx): New.
17223 (libc_feholdexcept_setroundl_ctx): New.
17224 (libc_fesetenv_mips_ctx): New.
17225 (libc_fesetenv_ctx): New.
17226 (libc_fesetenv_ctxf): New.
17227 (libc_fesetenv_ctxl): New.
17228 (libc_feupdateenv_mips_ctx): New.
17229 (libc_feupdateenv_ctx): New.
17230 (libc_feupdateenvf_ctx): New.
17231 (libc_feupdateenvl_ctx): New.
17232 (libc_feholdsetround_mips_ctx): New.
17233 (libc_feholdsetround_ctx): New.
17234 (libc_feholdsetroundf_ctx): New.
17235 (libc_feholdsetroundl_ctx): New.
17236 (libc_feresetround_mips_ctx): New.
17237 (libc_feresetround_ctx): New.
17238 (libc_feresetroundf_ctx): New.
17239 (libc_feresetroundl_ctx): New.
17241 2014-02-26 Carlos O'Donell <carlos@redhat.com>
17243 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17245 * manual/ipc.texi: New file.
17246 * manual/Makefile (chapters): Add ipc.
17247 * manual/job.texi: Add "Inter-Process Communication" to next.
17248 * manual/process.texi: Add "Inter-Process Communication" to prev.
17250 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17254 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
17256 * malloc/malloc.c (__libc_calloc): Simplify implementation.
17258 * manual/arith.texi: Fix spaces after sentences.
17259 * manual/charset.texi: Likewise.
17260 * manual/errno.texi: Likewise.
17261 * manual/install.texi: Likewise.
17262 * manual/llio.texi: Likewise.
17263 * manual/locale.texi: Likewise.
17264 * manual/maint.texi: Likewise.
17265 * manual/math.texi: Likewise.
17266 * manual/memory.texi: Likewise.
17267 * manual/message.texi: Likewise.
17268 * manual/probes.texi: Likewise.
17269 * manual/resource.texi: Likewise.
17270 * manual/signal.texi: Likewise.
17271 * manual/socket.texi: Likewise.
17272 * manual/stdio.texi: Likewise.
17273 * manual/string.texi: Likewise.
17274 * manual/time.texi: Likewise.
17275 * manual/users.texi: Likewise.
17277 2014-02-25 Carlos O'Donell <carlos@redhat.com>
17280 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
17281 _DEFAULT_SOURCE is defined.
17283 2014-02-25 Ulrich Drepper <drepper@gmail.com>
17284 Carlos O'Donell <carlos@redhat.com>
17287 * elf/dl-tls.c (_dl_count_modids): New function.
17288 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
17289 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
17290 audit library and increment generation counter.
17291 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
17292 * elf/tst-audit9.c: New file.
17293 * elf/tst-auditmod9a.c: New file.
17294 * elf/tst-auditmod9b.c: New file.
17295 * elf/Makefile: Add rules to build and run tst-audit9.
17297 2014-02-25 Florian Weimer <fweimer@redhat.com>
17300 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
17302 2014-02-25 Will Newton <will.newton@linaro.org>
17304 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
17305 (__longjmp): Restore sp and lr before restoring callee
17306 saved registers. Add longjmp and longjmp_target
17307 SystemTap probe point.
17308 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
17309 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
17310 Define to zero to match jmpbuf layout.
17311 * sysdeps/arm/setjmp.S: Include stap-probe.h.
17312 (__sigsetjmp): Save sp and lr before saving callee
17313 saved registers. Add setjmp SystemTap probe point.
17315 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17317 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17319 2014-02-24 Andreas Schwab <schwab@suse.de>
17322 * elf/pldd.c (wait_for_ptrace_stop): New function.
17323 (main): Call it after attaching.
17325 2014-02-22 Roland McGrath <roland@hack.frob.com>
17327 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
17328 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
17329 Versions files is now verboten.
17330 * hurd/Versions (libc: GLIBC_2.0):
17331 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
17332 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
17333 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
17334 * mach/Versions: Likewise.
17336 * csu/Versions: Remove unused %include.
17337 * resolv/Versions: Likewise.
17339 2014-02-21 Joseph Myers <joseph@codesourcery.com>
17341 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
17342 ($(objpfx)check-local-headers.out): Likewise.
17343 ($(objpfx)begin-end-check.out): Likewise.
17344 * Makerules (check-abi-%.out): Likewise.
17345 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
17346 ($(objpfx)test2.cat): Likewise.
17347 ($(objpfx)de/libc.cat): Likewise.
17348 ($(objpfx)test-gencat.out): Likewise.
17349 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
17350 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
17351 ($(objpfx)noload-mem): Likewise.
17352 ($(objpfx)tst-pathopt.out): Likewise.
17353 ($(objpfx)tst-rtld-load-self.out): Likewise.
17354 ($(objpfx)tst-array1-cmp.out): Likewise.
17355 ($(objpfx)tst-array1-static-cmp.out): Likewise.
17356 ($(objpfx)tst-array2-cmp.out): Likewise.
17357 ($(objpfx)tst-array3-cmp.out): Likewise.
17358 ($(objpfx)tst-array4-cmp.out): Likewise.
17359 ($(objpfx)tst-array5-cmp.out): Likewise.
17360 ($(objpfx)tst-array5-static-cmp.out): Likewise.
17361 ($(objpfx)check-textrel.out): Likewise.
17362 ($(objpfx)check-execstack.out): Likewise.
17363 ($(objpfx)check-localplt.out): Likewise.
17364 ($(objpfx)order2-cmp.out): Likewise.
17365 ($(objpfx)tst-leaks1-mem): Likewise.
17366 ($(objpfx)tst-leaks1-static-mem): Likewise.
17367 ($(objpfx)tst-initorder-cmp.out): Likewise.
17368 ($(objpfx)tst-initorder2-cmp.out): Likewise.
17369 ($(objpfx)tst-unused-dep.out): Likewise.
17370 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
17371 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
17372 * iconv/Makefile (test-iconvconfig): Likewise.
17373 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
17374 ($(objpfx)iconv-test.out): Likewise.
17375 ($(objpfx)tst-tables.out): Likewise.
17376 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
17377 ($(objpfx)tst-gettext.out): Likewise.
17378 ($(objpfx)tst-translit.out): Likewise.
17379 ($(objpfx)tst-gettext2.out): Likewise.
17380 ($(objpfx)tst-gettext4.out): Likewise.
17381 ($(objpfx)tst-gettext6.out): Likewise.
17382 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
17383 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
17384 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
17385 ($(objpfx)tst-fopenloc-mem.out): Likewise.
17386 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
17387 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
17388 * posix/Makefile ($(objpfx)globtest.out): Likewise.
17389 ($(objpfx)wordexp-tst.out): Likewise.
17390 ($(objpfx)annexc.out): Likewise.
17391 ($(objpfx)tst-fnmatch-mem): Likewise.
17392 ($(objpfx)bug-regex2-mem): Likewise.
17393 ($(objpfx)bug-regex14-mem): Likewise.
17394 ($(objpfx)bug-regex21-mem): Likewise.
17395 ($(objpfx)bug-regex31-mem): Likewise.
17396 ($(objpfx)tst-vfork3-mem): Likewise.
17397 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17398 ($(objpfx)tst-pcre-mem): Likewise.
17399 ($(objpfx)tst-boost-mem): Likewise.
17400 ($(objpfx)tst-getconf.out): Likewise.
17401 ($(objpfx)bug-ga2-mem): Likewise.
17402 ($(objpfx)bug-glob2-mem): Likewise.
17403 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
17404 ($(objpfx)mtrace-tst-leaks2): Likewise.
17405 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
17406 ($(objpfx)tst-printf.out): Likewise.
17407 ($(objpfx)tst-setvbuf1.out): Likewise.
17408 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
17409 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
17410 ($(objpfx)tst-fmtmsg.out): Likewise.
17411 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
17412 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
17414 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
17415 * bits/sigaction.h [__USE_MISC]: Likewise.
17416 * bits/waitstatus.h: Update #endif comments.
17417 * ctype/ctype.h: Likewise.
17418 * dirent/dirent.h: Likewise.
17419 [__USE_MISC]: Remove redundant conditionals.
17420 * grp/grp.h: Update #endif comments.
17421 [__USE_GNU]: Remove redundant conditionals.
17422 [__USE_MISC]: Likewise.
17423 * inet/netinet/in.h [__USE_GNU]: Likewise.
17424 * io/sys/stat.h [__USE_MISC]: Likewise.
17425 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
17426 * libio/bits/stdio.h: Update #endif comments.
17427 [__USE_MISC]: Remove redundant conditionals.
17428 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
17429 * libio/stdio.h: Update #endif comments.
17430 [__USE_MISC]: Remove redundant conditionals.
17431 * math/bits/math-finite.h [__USE_MISC]: Likewise.
17432 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
17433 * math/math.h: Update #else and #endif comments.
17434 [__USE_MISC]: Remove redundant conditionals.
17435 * misc/sys/uio.h: Update #endif comments.
17436 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
17437 * posix/glob.h [__USE_MISC]: Likewise.
17438 * posix/sys/types.h: Update #endif comments.
17439 [__USE_MISC]: Remove redundant conditionals.
17440 * posix/sys/wait.h: Update #endif comments.
17441 [__USE_MISC]: Remove redundant conditionals.
17442 * posix/unistd.h: Update #endif comments.
17443 [__USE_MISC]: Remove redundant conditionals.
17444 * pwd/pwd.h [__USE_GNU]: Likewise.
17445 [__USE_MISC]: Likewise.
17446 * resolv/netdb.h [__USE_GNU]: Likewise.
17447 * signal/signal.h: Update #endif comments.
17448 [__USE_MISC]: Remove redundant conditionals.
17449 * stdlib/stdlib.h: Update #else and #endif comments.
17450 [__USE_MISC]: Remove redundant conditionals.
17451 [__USE_GNU]: Likewise.
17452 * string/bits/string2.h [__USE_MISC]: Likewise.
17453 * string/string.h: Update #endif comments.
17454 [__USE_MISC]: Remove redundant conditionals.
17455 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
17457 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
17458 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
17459 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
17461 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
17463 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
17465 [__USE_MISC]: Remove redundant conditionals.
17466 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
17467 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
17468 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
17469 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
17470 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
17472 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
17473 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
17475 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
17476 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
17478 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
17480 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
17481 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
17483 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
17485 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
17486 * sysdeps/x86/bits/string.h: Update #endif comments.
17487 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
17489 * time/sys/time.h: Update #endif comments.
17490 * time/time.h: Likewise.
17491 [__USE_MISC]: Remove redundant conditionals.
17493 2014-02-21 Yury Gribov <y.gribov@samsung.com>
17496 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
17498 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
17500 * Versions.def (librt): Add GLIBC_2.17.
17502 2014-02-21 Adam Conrad <adconrad@0c3.net>
17504 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
17505 synonym for _SYS_AUXV_H to allow direct inclusion.
17506 * sysdeps/sparc/bits/hwcap.h: Likewise.
17507 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
17508 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
17509 * sysdeps/sparc/sysdep.h: Likewise.
17511 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17513 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
17515 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17517 * benchtests/bench-strrchr.c: Print length instead of position.
17519 2014-02-20 Joseph Myers <joseph@codesourcery.com>
17522 * sysdeps/unix/sysv/linux/kernel-features.h
17523 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
17524 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
17525 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
17526 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
17528 [__i386__ || __powerpc__ || __sh__ || __sparc__]
17529 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17530 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
17531 (__ASSUME_SENDMMSG): Define instead of using previous
17532 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
17533 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17534 (__ASSUME_SENDMMSG_SYSCALL): Define.
17535 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17536 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
17538 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17539 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17541 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17542 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17544 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
17545 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17546 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17547 [__ASSUME_SENDMMSG]: Change conditionals to
17548 [__ASSUME_SENDMMSG_SOCKETCALL].
17549 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17550 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
17552 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17553 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
17555 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
17556 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17557 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17558 [!__ASSUME_SENDMMSG]: Change conditional to
17559 [!__ASSUME_SENDMMSG_SOCKETCALL].
17560 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17561 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17565 * sysdeps/unix/sysv/linux/kernel-features.h
17566 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
17567 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
17568 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
17569 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
17570 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17571 [__i386__ || __sparc__]
17572 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17573 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
17574 (__ASSUME_RECVMMSG): Define instead of using previous
17575 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
17576 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17577 (__ASSUME_RECVMMSG_SYSCALL): Define.
17578 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17579 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17581 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17582 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17584 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17585 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17587 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
17588 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17589 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17590 [__ASSUME_RECVMMSG]: Change condition to
17591 [__ASSUME_RECVMMSG_SOCKETCALL].
17592 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17593 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17595 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17596 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17597 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17599 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
17600 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17601 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17602 [!__ASSUME_RECVMMSG]: Change condition to
17603 [!__ASSUME_RECVMMSG_SOCKETCALL].
17604 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17605 (__ASSUME_RECVMMSG_SYSCALL): Define.
17608 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
17609 __powerpc__ || __s390__ || __sh__ || __sparc__]
17610 (__ASSUME_SOCKETCALL): Define.
17611 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
17612 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
17613 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
17614 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
17615 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17616 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17617 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
17618 (__ASSUME_ACCEPT4): Define instead of using previous
17619 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
17620 __powerpc__ || __sparc__ || __s390__)] condition.
17621 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17622 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17623 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
17624 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17625 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17626 [!__ASSUME_ACCEPT4]: Change condition to
17627 [!__ASSUME_ACCEPT4_SOCKETCALL].
17628 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17629 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
17630 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
17631 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17632 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
17633 __ASSUME_ACCEPT4_SYSCALL.
17634 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
17635 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
17636 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17637 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
17638 __ASSUME_ACCEPT4_SYSCALL.
17639 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
17640 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17641 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17642 [__ASSUME_ACCEPT4]: Change condition to
17643 [__ASSUME_ACCEPT4_SOCKETCALL].
17644 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17645 (__ASSUME_SOCKETCALL): Define.
17646 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
17647 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17648 (__ASSUME_SOCKETCALL): Define.
17649 (__ASSUME_ACCEPT4): Remove.
17650 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
17652 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17653 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
17655 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17656 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17658 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
17660 (HWCAP_ARM_LPAE): Likewise.
17661 (HWCAP_ARM_EVTSTRM): Likewise.
17662 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
17663 Add vpfd32, lpae and evtstrm.
17664 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
17667 2014-02-19 Joseph Myers <joseph@codesourcery.com>
17669 * math/auto-libm-test-in: Add tests of clog10.
17670 * math/auto-libm-test-out: Regenerated.
17671 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
17672 * sysdeps/i386/fpu/libm-test-ulps: Update.
17673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17675 2014-02-18 Andreas Schwab <schwab@suse.de>
17678 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
17679 Store non-zero if the second buffer was newly allocated.
17680 (send_dg): Likewise.
17681 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
17682 to send_vc and send_dg.
17683 (res_nsend): Pass NULL for ansp2_malloced.
17684 * resolv/res_query.c (__libc_res_nquery): Add parameter
17685 answerp2_malloced and pass it down to __libc_res_nsend.
17686 (res_nquery): Pass additional NULL to __libc_res_nquery.
17687 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
17688 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
17689 second answer buffer if answerp2_malloced was set.
17690 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
17691 (__libc_res_nquerydomain): Add parameter
17692 answerp2_malloced and pass it down to __libc_res_nquery.
17693 (res_nquerydomain): Pass additional NULL to
17694 __libc_res_nquerydomain.
17695 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
17696 additional NULL to __libc_res_nsend and __libc_res_nquery.
17697 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
17698 additional NULL to __libc_res_nsearch.
17699 (_nss_dns_gethostbyname4_r): Revert last change. Use new
17700 parameter of __libc_res_nsearch to check for separately allocated
17702 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
17704 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
17705 additional NULL to __libc_res_nquery.
17706 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
17707 __libc_res_nsearch.
17708 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
17709 * include/resolv.h: Update prototypes of __libc_res_nquery,
17710 __libc_res_nsearch, __libc_res_nsend.
17712 2014-02-18 Joseph Myers <joseph@codesourcery.com>
17714 * math/auto-libm-test-in: Add tests of fma.
17715 * math/auto-libm-test-out: Regenerated.
17716 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
17717 (fma_towardzero_test_data): Likewise.
17718 (fma_downward_test_data): Likewise.
17719 (fma_upward_test_data): Likewise.
17720 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
17722 (rounding_modes): Add values for new field.
17723 (func_calc_method): Add value mpfr_fff_f.
17724 (func_calc_desc): Add mpfr_fff_f union field.
17725 (test_function): Add field exact_args.
17726 (FUNC): Add macro argument EXACT_ARGS.
17727 (FUNC_mpfr_f_f): Update call to FUNC.
17728 (FUNC_mpfr_f_f): Likewise.
17729 (FUNC_mpfr_ff_f): Likewise.
17730 (FUNC_mpfr_if_f): Likewise.
17731 (FUNC_mpc_c_f): Likewise.
17732 (FUNC_mpc_c_c): Likewise.
17733 (test_functions): Add fma. Update calls to FUNC.
17734 (handle_input_arg): Add argument exact_args.
17735 (add_test): Update call to handle_input_arg.
17736 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
17737 (output_for_one_input_case): Update call to calc_generic_results.
17738 Recalculate exact zero results in each rounding mode.
17740 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
17741 non-negative before setting low bit.
17742 * math/auto-libm-test-in: Mark one asin test possibly having
17743 spurious underflow.
17744 * math/auto-libm-test-out: Regenerated.
17745 * sysdeps/i386/fpu/libm-test-ulps: Update.
17746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17748 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
17750 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
17751 * sysdeps/unix/sysv/linux/microblaze: Move directory from
17752 ports/sysdeps/unix/sysv/linux/microblaze.
17753 * README: Add missing listing for microblaze*-*-linux-gnu.
17755 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
17757 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
17760 2014-02-16 Mike Frysinger <vapier@gentoo.org>
17762 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
17763 * sysdeps/unix/sysv/linux/ia64: Move directory from
17764 ports/sysdeps/unix/sysv/linux/ia64.
17765 * README: Update listing for ia64-*-linux-gnu.
17767 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
17768 Joseph Myers <joseph@codesourcery.com>
17770 * Makeconfig (test-name): New variable.
17771 (evaluate-test): Likewise.
17772 * Makerules (do-test-clean): Remove .test-result files.
17773 (common-mostlyclean): Likewise.
17774 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17775 * scripts/evaluate-test.sh: New file.
17777 2014-02-14 Joseph Myers <joseph@codesourcery.com>
17779 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17780 separate $(objpfx)tst-fopenloc-cmp.out and
17781 $(objpfx)tst-fopenloc-mem.out targets.
17782 (tests): Update dependencies.
17783 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17784 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17785 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17786 (tst-rxspencer-no-utf8-ARGS): New variable.
17787 (tst-rxspencer-no-utf8-ENV): Likewise.
17788 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17789 instead of $(objpfx)tst-rxspencer-mem.
17790 ($(objpfx)tst-rxspencer-mem): Change target to
17791 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
17792 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17793 * posix/tst-rxspencer-no-utf8.c: New file.
17795 * elf/Makefile ($(objpfx)order.out): Remove rule.
17796 [$(run-built-tests) = yes] (tests): Depend on
17797 $(objpfx)order-cmp.out.
17798 ($(objpfx)order-cmp.out): New rule.
17799 [$(run-built-tests) = yes] (tests): Depend on
17800 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17801 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17802 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17803 $(objpfx)tst-array5-static-cmp.out.
17804 ($(objpfx)tst-array1.out): Remove rule.
17805 ($(objpfx)tst-array1-cmp.out): New rule.
17806 ($(objpfx)tst-array1-static.out): Remove rule.
17807 ($(objpfx)tst-array1-static-cmp.out): New rule.
17808 ($(objpfx)tst-array2.out): Remove rule.
17809 ($(objpfx)tst-array2-cmp.out): New rule.
17810 ($(objpfx)tst-array3.out): Remove rule.
17811 ($(objpfx)tst-array3-cmp.out): New rule.
17812 ($(objpfx)tst-array4.out): Remove rule.
17813 ($(objpfx)tst-array4-cmp.out): New rule.
17814 ($(objpfx)tst-array5.out): Remove rule.
17815 ($(objpfx)tst-array5-cmp.out): New rule.
17816 ($(objpfx)tst-array5-static.out): Remove rule.
17817 ($(objpfx)tst-array5-static-cmp.out): New rule.
17818 [$(run-built-tests) = yes] (tests): Depend on
17819 $(objpfx)order2-cmp.out.
17820 ($(objpfx)order2.out): Remove rule.
17821 ($(objpfx)order2-cmp.out): New rule.
17822 ($(objpfx)tst-initorder.out): Remove rule.
17823 [$(run-built-tests) = yes] (tests): Depend on
17824 $(objpfx)tst-initorder-cmp.out.
17825 ($(objpfx)tst-initorder-cmp.out): New rule.
17826 ($(objpfx)tst-initorder2.out): Remove rule.
17827 [$(run-built-tests) = yes] (tests): Depend on
17828 $(objpfx)tst-initorder2-cmp.out.
17829 ($(objpfx)tst-initorder2-cmp.out): New rule.
17830 [$(run-built-tests) = yes] (tests): Depend on
17831 $(objpfx)tst-unused-dep-cmp.out.
17832 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17833 ($(objpfx)tst-unused-dep-cmp.out): New rule.
17834 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17835 on $(objpfx)tst-setvbuf1-cmp.out.
17836 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17837 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17838 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17839 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17840 ($(objpfx)tst-svc.out): Remove rule.
17841 ($(objpfx)tst-svc-cmp.out): New rule.
17843 2014-02-13 Joseph Myers <joseph@codesourcery.com>
17845 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17846 * ctype/ctype.h [__USE_MISC]: Likewise.
17847 * dirent/dirent.h [__USE_MISC]: Likewise.
17848 * grp/grp.h [__USE_MISC]: Likewise.
17849 * io/fcntl.h [__USE_MISC]: Likewise.
17850 * io/sys/stat.h [__USE_MISC]: Likewise.
17851 * libio/stdio.h [__USE_MISC]: Likewise.
17852 * posix/unistd.h [__USE_MISC]: Likewise.
17853 * pwd/pwd.h [__USE_MISC]: Likewise.
17854 * stdlib.h [__USE_MISC]: Likewise.
17855 * string/bits/string2.h [__USE_MISC]: Likewise.
17856 * string/string.h [__USE_MISC]: Likewise.
17857 * time/time.h [__USE_MISC]: Likewise.
17859 2014-02-13 Andreas Schwab <schwab@suse.de>
17862 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
17863 second answer buffer if it was separately allocated.
17865 2014-02-12 Joseph Myers <joseph@codesourcery.com>
17867 * sysdeps/mips/math-tests.h: Include <features.h>.
17868 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17869 (ROUNDING_TESTS_long_double): Do not define.
17870 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17871 (EXCEPTION_TESTS_long_double): Likewise.
17872 * sysdeps/mips/mips64/libm-test-ulps: Update.
17874 * include/features.h (__USE_BSD): Remove macro definitions.
17875 (__USE_SVID): Likewise.
17876 (_BSD_SOURCE): Likewise.
17877 (_SVID_SOURCE): Likewise.
17878 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
17879 from definition of _DEFAULT_SOURCE.
17880 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
17882 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
17883 * bits/mman.h [__USE_BSD]: Likewise.
17884 * bits/termios.h [__USE_BSD]: Likewise.
17885 * bits/waitstatus.h [__USE_BSD]: Likewise.
17886 * ctype/ctype.h [__USE_SVID]: Likewise.
17887 * dirent/dirent.h [__USE_BSD]: Likewise.
17888 * grp/grp.h [__USE_SVID]: Likewise.
17889 [__USE_BSD]: Likewise.
17890 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
17891 * io/fcntl.h [__USE_BSD]: Likewise.
17892 * io/ftw.h [__USE_BSD]: Likewise.
17893 * io/sys/stat.h [__USE_BSD]: Likewise.
17894 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
17895 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
17896 * libio/stdio.h [__USE_SVID]: Likewise.
17897 [__USE_BSD]: Likewise.
17898 * math/math.h [__USE_SVID]: Likewise.
17899 [__USE_BSD]: Likewise.
17900 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
17901 * misc/bits/syslog.h [__USE_BSD]: Likewise.
17902 * misc/search.h [__USE_SVID]: Likewise.
17903 * misc/sys/mman.h [__USE_BSD]: Likewise.
17904 * misc/sys/syslog.h [__USE_BSD]: Likewise.
17905 * misc/sys/uio.h [__USE_BSD]: Likewise.
17906 * posix/bits/unistd.h [__USE_BSD]: Likewise.
17907 * posix/glob.h [__USE_BSD]: Likewise.
17908 * posix/regex.h [__USE_BSD]: Likewise.
17909 * posix/sys/types.h [__USE_BSD]: Likewise.
17910 [__USE_SVID]: Likewise.
17911 * posix/sys/utsname.h [__USE_SVID]: Likewise.
17912 * posix/sys/wait.h [__USE_BSD]: Likewise.
17913 [__USE_SVID]: Likewise.
17914 * posix/unistd.h [__USE_BSD]: Likewise.
17915 [__USE_SVID]: Likewise.
17916 * pwd/pwd.h [__USE_SVID]: Likewise.
17917 * resolv/netdb.h [__USE_BSD]: Likewise.
17918 * setjmp/setjmp.h [__USE_BSD]: Likewise.
17919 * signal/signal.h [__USE_BSD]: Likewise.
17920 [__USE_SVID]: Likewise.
17921 * socket/sys/socket.h [__USE_BSD]: Likewise.
17922 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
17923 * stdlib/stdlib.h [__USE_BSD]: Likewise.
17924 [__USE_SVID]: Likewise.
17925 * string/bits/string2.h [__USE_BSD]: Likewise.
17926 [__USE_SVID]: Likewise.
17927 * string/bits/string3.h [__USE_BSD]: Likewise.
17928 * string/endian.h [__USE_BSD]: Likewise.
17929 * string/string.h [__USE_SVID]: Likewise.
17930 [__USE_BSD]: Likewise.
17931 * string/strings.h [__USE_BSD]: Likewise.
17932 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17933 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17934 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17935 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17936 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17937 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17939 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17941 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17942 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17944 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17945 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17947 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17949 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17950 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17951 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17953 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17955 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17956 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17957 * termios/termios.h [__USE_BSD]: Likewise.
17958 * time/sys/time.h [__USE_BSD]: Likewise.
17959 * time/time.h [__USE_BSD]: Likewise.
17960 [__USE_SVID]: Likewise.
17962 * Makefile (subdir_targets): Remove subdir_lint.out.
17964 * stdio-common/Makefile (do-tst-unbputc): Remove target.
17965 (do-tst-printf): Likewise.
17966 (tests): Depend directly on $(objpfx)tst-unbputc.out and
17967 $(objpfx)tst-printf.out.
17969 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17971 * Makerules (check-abi-%): Change target to
17972 $(objpfx)check-abi-%.out.
17973 (check-abi target): Update dependencies.
17974 (check-abi-pattern variable): Redirect output of diff to $@.
17975 (check-abi variable): Likewise.
17976 * elf/Makefile (check-abi): Update dependencies.
17978 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17980 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17981 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17983 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17984 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17985 value has largest subnormal exponent.
17986 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17987 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17988 * sysdeps/aarch64/soft-fp/sfp-machine.h
17989 (_FP_TININESS_AFTER_ROUNDING): New macro.
17990 * sysdeps/alpha/soft-fp/sfp-machine.h
17991 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17992 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17994 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17995 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17996 * sysdeps/mips/soft-fp/sfp-machine.h
17997 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17998 * sysdeps/powerpc/soft-fp/sfp-machine.h
17999 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18000 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18002 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18003 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18004 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18005 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18006 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18009 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
18012 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
18015 2014-02-12 Richard Henderson <rth@redhat.com>
18017 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
18018 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
18019 * sysdeps/unix/sysv/linux/alpha: Move directory from
18020 ports/sysdeps/unix/sysv/linux/alpha.
18021 * README: Update listing for alpha-*-linux-gnu.
18023 2014-02-11 Joseph Myers <joseph@codesourcery.com>
18025 * include/features.h: Update comment documenting feature test
18027 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
18029 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
18030 (_SVID_SOURCE): Likewise.
18031 (_DEFAULT_SOURCE): Update description of default features.
18032 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
18034 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
18035 (S_ISVTX): Likewise.
18036 * manual/math.texi (Mathematical Constants): Likewise.
18037 * manual/signal.texi (Interrupted Primitives): Likewise.
18038 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
18039 * math/test-matherr.c (_SVID_SOURCE): Do not define.
18040 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
18041 Don't refer to _SVID_SOURCE in warning text.
18043 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18045 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18047 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18048 * sysdeps/mips/dl-lookup.c: Remove.
18049 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18051 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18054 * math/auto-libm-test-in: Add testcase for expl.
18055 * math/auto-libm-test-out: Regenerate.
18056 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18057 calculation of unsafe.
18058 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18060 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
18062 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18063 * sysdeps/unix/sysv/linux/aarch64: Move directory from
18064 ports/sysdeps/unix/sysv/linux/aarch64.
18065 * README: Update listing for aarch64*-*-linux-gnu.
18067 2014-02-11 Will Newton <will.newton@linaro.org>
18069 * manual/probes.texi (Mathematical Function Probes): Use
18070 "triggered" instead of "hit".
18072 * manual/probes.texi (Internal Probes): Add documentation
18073 of setjmp, longjmp and longjmp_target probes.
18075 * include/stap-probe.h: Add comment about probe argument
18078 * malloc/mtrace.c (attribute_hidden): Remove unused macro
18079 definition. (tr_where, tr_freehook, tr_mallochook,
18080 tr_reallochook, tr_memalignhook): Use ANSI protoype.
18082 2014-02-11 David S. Miller <davem@davemloft.net>
18084 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18085 processing int_tests.
18087 2014-02-10 Joseph Myers <joseph@codesourcery.com>
18089 * sysdeps/mips: Move directory from ports/sysdeps/mips.
18090 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18091 * sysdeps/unix/sysv/linux/mips: Move directory from
18092 ports/sysdeps/unix/sysv/linux/mips.
18093 * README: Update listing for mips-*-linux-gnu and
18094 mips64-*-linux-gnu.
18096 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
18098 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18099 * sysdeps/unix/sysv/linux/m68k: Move directory from
18100 ports/sysdeps/unix/sysv/linux/m68k.
18101 * README: Update listing for m68k-*-linux-gnu.
18103 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
18105 * sysdeps/tile: Move directory from ports/sysdeps/tile.
18106 * sysdeps/unix/sysv/linux/generic: Move directory from
18107 ports/sysdeps/unix/sysv/linux/generic.
18108 * sysdeps/unix/sysv/linux/tile: Move directory from
18109 ports/sysdeps/unix/sysv/linux/tile.
18110 * README: Update listing for tile*-*-linux-gnu.
18112 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
18114 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18116 * benchtests/bench-memmem.c (simple_memmem): Likewise.
18117 * catgets/open_catalog.c (__open_catalog): Likewise.
18118 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18119 * debug/confstr_chk.c: Likewise.
18120 * debug/fread_chk.c (__fread_chk): Likewise.
18121 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18122 * debug/getgroups_chk.c: Likewise.
18123 * debug/mbsnrtowcs_chk.c: Likewise.
18124 * debug/mbsrtowcs_chk.c: Likewise.
18125 * debug/mbstowcs_chk.c: Likewise.
18126 * debug/memcpy_chk.c: Likewise.
18127 * debug/memmove_chk.c: Likewise.
18128 * debug/mempcpy_chk.c: Likewise.
18129 * debug/memset_chk.c: Likewise.
18130 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18131 * debug/strcat_chk.c (__strcat_chk): Likewise.
18132 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18133 * debug/strncat_chk.c (__strncat_chk): Likewise.
18134 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18135 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18136 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18137 * debug/wcpncpy_chk.c: Likewise.
18138 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18139 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18140 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18141 * debug/wcsncpy_chk.c: Likewise.
18142 * debug/wcsnrtombs_chk.c: Likewise.
18143 * debug/wcsrtombs_chk.c: Likewise.
18144 * debug/wcstombs_chk.c: Likewise.
18145 * debug/wmemcpy_chk.c: Likewise.
18146 * debug/wmemmove_chk.c: Likewise.
18147 * debug/wmempcpy_chk.c: Likewise.
18148 * debug/wmemset_chk.c: Likewise.
18149 * dirent/scandirat.c (SCANDIRAT): Likewise.
18150 * dlfcn/dladdr1.c (dladdr1): Likewise.
18151 * dlfcn/dladdr.c (dladdr): Likewise.
18152 * dlfcn/dlclose.c (dlclose_doit): Likewise.
18153 * dlfcn/dlerror.c (__dlerror): Likewise.
18154 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18155 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18156 * dlfcn/dlopen.c (dlopen_doit): Likewise.
18157 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18158 * dlfcn/dlsym.c (dlsym_doit): Likewise.
18159 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18160 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18161 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
18163 * elf/dl-conflict.c: Likewise.
18164 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18165 * elf/dl-dst.h: Likewise.
18166 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18167 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18168 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18169 * elf/dl-init.c (call_init, _dl_init): Likewise.
18170 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
18171 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18172 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18174 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18176 * elf/dl-minimal.c (__libc_memalign): Likewise.
18177 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18178 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18179 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18180 * elf/dl-sym.c (do_sym): Likewise.
18181 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18182 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
18183 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18184 * elf/dl-writev.h (_dl_writev): Likewise.
18185 * elf/ldconfig.c (search_dir): Likewise.
18186 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18187 (dl_main): Likewise.
18188 * elf/setup-vdso.h (setup_vdso): Likewise.
18189 * grp/compat-initgroups.c (compat_call): Likewise.
18190 * grp/fgetgrent.c (fgetgrent): Likewise.
18191 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18192 * grp/putgrent.c (putgrent): Likewise.
18193 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18195 * hurd/hurdinit.c: Likewise.
18196 * iconvdata/8bit-gap.c (struct): Likewise.
18197 * iconvdata/ansi_x3.110.c : Likewise.
18198 * iconvdata/big5.c : Likewise.
18199 * iconvdata/big5hkscs.c : Likewise.
18200 * iconvdata/cp1255.c: Likewise.
18201 * iconvdata/cp1258.c : Likewise.
18202 * iconvdata/cp932.c : Likewise.
18203 * iconvdata/euc-cn.c: Likewise.
18204 * iconvdata/euc-jisx0213.c : Likewise.
18205 * iconvdata/euc-jp.c: Likewise.
18206 * iconvdata/euc-jp-ms.c : Likewise.
18207 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18208 * iconvdata/gb18030.c : Likewise.
18209 * iconvdata/gbbig5.c (const): Likewise.
18210 * iconvdata/gbgbk.c: Likewise.
18211 * iconvdata/gbk.c : Likewise.
18212 * iconvdata/ibm1364.c : Likewise.
18213 * iconvdata/ibm930.c : Likewise.
18214 * iconvdata/ibm932.c: Likewise.
18215 * iconvdata/ibm933.c : Likewise.
18216 * iconvdata/ibm935.c : Likewise.
18217 * iconvdata/ibm937.c : Likewise.
18218 * iconvdata/ibm939.c : Likewise.
18219 * iconvdata/ibm943.c: Likewise.
18220 * iconvdata/iso_11548-1.c: Likewise.
18221 * iconvdata/iso-2022-cn.c : Likewise.
18222 * iconvdata/iso-2022-cn-ext.c : Likewise.
18223 * iconvdata/iso-2022-jp-3.c: Likewise.
18224 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18225 * iconvdata/iso-2022-kr.c : Likewise.
18226 * iconvdata/iso646.c (gconv_end): Likewise.
18227 * iconvdata/iso_6937-2.c : Likewise.
18228 * iconvdata/iso_6937.c : Likewise.
18229 * iconvdata/iso8859-1.c: Likewise.
18230 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18231 * iconvdata/shift_jisx0213.c : Likewise.
18232 * iconvdata/sjis.c : Likewise.
18233 * iconvdata/t.61.c : Likewise.
18234 * iconvdata/tcvn5712-1.c : Likewise.
18235 * iconvdata/tscii.c: Likewise.
18236 * iconvdata/uhc.c : Likewise.
18237 * iconvdata/unicode.c (gconv_end): Likewise.
18238 * iconvdata/utf-16.c (gconv_end): Likewise.
18239 * iconvdata/utf-32.c (gconv_end): Likewise.
18240 * iconvdata/utf-7.c (base64): Likewise.
18241 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18242 * iconv/gconv_close.c (__gconv_close): Likewise.
18243 * iconv/gconv_open.c (__gconv_open): Likewise.
18244 * iconv/gconv_simple.c (internal_ucs4_loop_single)
18245 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18246 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18247 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18248 (ucs4le_internal_loop_single): Likewise.
18249 * iconv/iconv.c (iconv): Likewise.
18250 * iconv/iconv_close.c: Likewise.
18251 * iconv/loop.c (SINGLE): Likewise.
18252 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18253 * include/atomic.h: Likewise.
18254 * inet/inet6_option.c (option_alloc): Likewise.
18255 * intl/bindtextdom.c (set_binding_values): Likewise.
18256 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
18257 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
18258 * intl/localealias.c (read_alias_file): Likewise.
18259 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18260 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
18261 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
18262 * libio/fmemopen.c (fmemopen): Likewise.
18263 * libio/iofgets.c (_IO_fgets): Likewise.
18264 * libio/iofgets_u.c (fgets_unlocked): Likewise.
18265 * libio/iofgetws.c (fgetws): Likewise.
18266 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18267 * libio/iogetdelim.c (_IO_getdelim): Likewise.
18268 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
18269 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
18270 * locale/findlocale.c (_nl_find_locale): Likewise.
18271 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18272 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
18274 * locale/setlocale.c (setlocale): Likewise.
18275 * login/programs/pt_chown.c (main): Likewise.
18276 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
18277 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
18278 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
18279 (mmap, mmap64, mremap, munmap): Likewise.
18280 * math/e_exp2l.c: Likewise.
18281 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
18282 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
18283 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
18284 * math/s_catan.c (__catan): Likewise.
18285 * math/s_catanf.c (__catanf): Likewise.
18286 * math/s_catanh.c (__catanh): Likewise.
18287 * math/s_catanhf.c (__catanhf): Likewise.
18288 * math/s_catanhl.c (__catanhl): Likewise.
18289 * math/s_catanl.c (__catanl): Likewise.
18290 * math/s_ccosh.c (__ccosh): Likewise.
18291 * math/s_ccoshf.c (__ccoshf): Likewise.
18292 * math/s_ccoshl.c (__ccoshl): Likewise.
18293 * math/s_cexp.c (__cexp): Likewise.
18294 * math/s_cexpf.c (__cexpf): Likewise.
18295 * math/s_cexpl.c (__cexpl): Likewise.
18296 * math/s_clog10.c (__clog10): Likewise.
18297 * math/s_clog10f.c (__clog10f): Likewise.
18298 * math/s_clog10l.c (__clog10l): Likewise.
18299 * math/s_clog.c (__clog): Likewise.
18300 * math/s_clogf.c (__clogf): Likewise.
18301 * math/s_clogl.c (__clogl): Likewise.
18302 * math/s_csin.c (__csin): Likewise.
18303 * math/s_csinf.c (__csinf): Likewise.
18304 * math/s_csinh.c (__csinh): Likewise.
18305 * math/s_csinhf.c (__csinhf): Likewise.
18306 * math/s_csinhl.c (__csinhl): Likewise.
18307 * math/s_csinl.c (__csinl): Likewise.
18308 * math/s_csqrt.c (__csqrt): Likewise.
18309 * math/s_csqrtf.c (__csqrtf): Likewise.
18310 * math/s_csqrtl.c (__csqrtl): Likewise.
18311 * math/s_ctan.c (__ctan): Likewise.
18312 * math/s_ctanf.c (__ctanf): Likewise.
18313 * math/s_ctanh.c (__ctanh): Likewise.
18314 * math/s_ctanhf.c (__ctanhf): Likewise.
18315 * math/s_ctanhl.c (__ctanhl): Likewise.
18316 * math/s_ctanl.c (__ctanl): Likewise.
18317 * math/w_pow.c: Likewise.
18318 * math/w_powf.c: Likewise.
18319 * math/w_powl.c: Likewise.
18320 * math/w_scalb.c (sysv_scalb): Likewise.
18321 * math/w_scalbf.c (sysv_scalbf): Likewise.
18322 * math/w_scalbl.c (sysv_scalbl): Likewise.
18323 * misc/error.c (error_tail): Likewise.
18324 * misc/pselect.c (__pselect): Likewise.
18325 * nis/nis_callback.c (__nis_create_callback): Likewise.
18326 * nis/nis_call.c (__nisfind_server): Likewise.
18327 * nis/nis_creategroup.c (nis_creategroup): Likewise.
18328 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
18329 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
18330 * nis/nis_getservlist.c (nis_getservlist): Likewise.
18331 * nis/nis_lookup.c (nis_lookup): Likewise.
18332 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
18333 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
18334 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
18335 * nis/nis_xdr.c (xdr_endpoint): Likewise.
18336 * nis/nss_compat/compat-grp.c (getgrent_next_file)
18337 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
18338 * nis/nss_compat/compat-initgroups.c (add_group)
18339 (internal_getgrent_r): Likewise.
18340 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
18341 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
18342 * nis/nss_compat/compat-spwd.c (getspent_next_file)
18343 (internal_getspnam_r): Likewise.
18344 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
18345 (_nss_nis_getaliasbyname_r): Likewise.
18346 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
18347 (_nss_nis_getntohost_r): Likewise.
18348 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
18349 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
18350 (_nss_nis_getgrgid_r): Likewise.
18351 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
18352 (internal_nis_gethostent_r, internal_gethostbyname2_r)
18353 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
18354 (_nss_nis_gethostbyname4_r): Likewise.
18355 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
18356 (initgroups_netid): Likewise.
18357 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
18358 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
18359 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
18360 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
18361 (_nss_nis_getprotobynumber_r): Likewise.
18362 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
18363 (_nss_nis_getsecretkey): Likewise.
18364 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
18365 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
18366 (_nss_nis_getpwuid_r): Likewise.
18367 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
18368 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
18369 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
18370 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
18371 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
18372 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
18373 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
18375 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
18376 (_nss_nisplus_getntohost_r): Likewise.
18377 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
18378 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
18379 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
18380 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
18382 * nis/nss_nisplus/nisplus-initgroups.c
18383 (_nss_nisplus_initgroups_dyn): Likewise.
18384 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
18385 (_nss_nisplus_getnetbyaddr_r): Likewise.
18386 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
18387 (_nss_nisplus_getprotobynumber_r): Likewise.
18388 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
18389 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
18390 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
18392 * nis/nss_nisplus/nisplus-service.c
18393 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
18394 (_nss_nisplus_getservbyport_r): Likewise.
18395 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
18396 (_nss_nisplus_getspnam_r): Likewise.
18397 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
18399 * nscd/aicache.c (addhstaiX): Likewise.
18400 * nscd/cache.c (cache_search, prune_cache): Likewise.
18401 * nscd/connections.c (register_traced_file, send_ro_fd)
18402 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
18403 (main_loop_epoll): Likewise.
18404 * nscd/grpcache.c (addgrbyX): Likewise.
18405 * nscd/hstcache.c (addhstbyX): Likewise.
18406 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18407 * nscd/mem.c (gc, mempool_alloc): Likewise.
18408 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
18409 (addinnetgrX): Likewise.
18410 * nscd/nscd-client.h (__nscd_acquire_maplock)
18411 (__nscd_drop_map_ref): Likewise.
18412 * nscd/nscd_getai.c (__nscd_getai): Likewise.
18413 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18414 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
18416 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
18417 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18418 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
18419 (__nscd_get_map_ref): Likewise.
18420 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
18421 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
18423 * nscd/pwdcache.c (addpwbyX): Likewise.
18424 * nscd/selinux.c (preserve_capabilities): Likewise.
18425 * nscd/servicescache.c (addservbyX): Likewise.
18426 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
18427 * posix/fnmatch.c (fnmatch): Likewise.
18428 * posix/getopt.c (_getopt_internal_r): Likewise.
18429 * posix/glob.c (glob, glob_in_dir): Likewise.
18430 * posix/wordexp.c (exec_comm_child): Likewise.
18431 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
18432 (getanswer_r, gaih_getanswer_slice): Likewise.
18433 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
18434 * resolv/res_init.c: Likewise.
18435 * resolv/res_mkquery.c (res_nmkquery): Likewise.
18436 * resolv/res_query.c (__libc_res_nquery): Likewise.
18437 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
18439 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
18440 * stdio-common/perror.c (perror): Likewise.
18441 * stdio-common/printf_fp.c (___printf_fp): Likewise.
18442 * stdio-common/tmpnam.c (tmpnam): Likewise.
18443 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18444 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
18445 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18447 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
18448 * stdlib/putenv.c (putenv): Likewise.
18449 * stdlib/setenv.c (__add_to_environ): Likewise.
18450 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18451 * stdlib/strtol_l.c (INTERNAL): Likewise.
18452 * string/memmem.c (memmem): Likewise.
18453 * string/strerror.c (strerror): Likewise.
18454 * string/strnlen.c (__strnlen): Likewise.
18455 * string/test-memmem.c (simple_memmem): Likewise.
18456 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
18457 * sunrpc/pm_getport.c (__get_socket): Likewise.
18458 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
18459 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
18460 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
18461 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
18463 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
18464 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18465 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
18466 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
18467 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
18468 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
18470 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
18472 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
18473 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
18474 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18475 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18476 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18477 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
18478 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18479 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
18480 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
18481 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
18482 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18483 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18485 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
18487 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
18489 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
18490 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18491 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
18492 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
18493 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
18494 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
18495 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18496 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
18497 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
18498 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
18499 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
18500 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18501 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18502 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18503 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18504 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18506 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
18508 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
18510 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
18512 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18513 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18514 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
18516 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
18517 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
18518 * sysdeps/posix/opendir.c (__opendirat): Likewise.
18519 * sysdeps/posix/sleep.c: Likewise.
18520 * sysdeps/posix/tempname.c: Likewise.
18521 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
18522 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18524 * sysdeps/powerpc/powerpc32/dl-machine.h
18525 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
18526 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18527 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18528 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
18529 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
18531 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
18532 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
18533 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18534 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
18535 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18536 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
18537 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
18538 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
18539 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18540 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
18541 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
18542 (elf_machine_lazy_rel): Likewise.
18543 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18544 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
18545 (elf_machine_lazy_rel): Likewise.
18546 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
18547 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
18548 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
18549 * sysdeps/unix/grantpt.c (grantpt): Likewise.
18550 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
18551 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
18552 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
18553 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18555 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18556 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18557 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
18558 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
18559 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18560 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18561 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
18562 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
18563 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
18564 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18565 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18567 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
18568 (__posix_fallocate64_l64): Likewise.
18569 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
18570 (posix_fallocate): Likewise.
18571 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18573 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18574 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
18575 (getifaddrs_internal): Likewise.
18576 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
18577 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
18578 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18579 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18580 * sysdeps/unix/sysv/linux/posix_fallocate64.c
18581 (__posix_fallocate64_l64): Likewise.
18582 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18584 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
18585 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
18586 (__get_clockfreq): Likewise.
18587 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
18588 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18589 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
18590 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18591 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18592 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
18593 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18594 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
18596 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
18597 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
18598 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
18599 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
18600 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18601 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
18602 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
18604 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18605 (posix_fallocate): Likewise.
18606 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18607 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18608 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
18609 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
18610 (elf_machine_rela, elf_machine_rela_relative)
18611 (elf_machine_lazy_rel): Likewise.
18612 * time/asctime.c (asctime_internal): Likewise.
18613 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
18614 * time/tzset.c (__tzset_parse_tz): Likewise.
18615 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18616 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
18617 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
18618 * wcsmbs/wcsmbsload.h: Likewise.
18621 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
18623 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
18624 (arena_get2): Remove THREAD_STATS conditionals.
18625 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
18626 (__malloc_stats, int): Likewise.
18628 2014-02-08 Mike Frysinger <vapier@gentoo.org>
18630 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
18631 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
18633 * manual/setjmp.texi: Fix typos/grammar errors.
18635 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
18636 Only return early when n is <= 0. Delete unused return statement.
18638 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
18639 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18640 * debug/tst-longjmp_chk3.c: New file.
18642 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
18643 (test_main): Replace code with set_fortify_handler call.
18644 * debug/test-strcpy_chk.c: Likewise.
18645 * debug/tst-chk1.c: Likewise.
18646 * debug/tst-longjmp_chk.c: Likewise.
18647 * test-skeleton.c: Include fcntl.h & paths.h
18648 (set_fortify_handler): Define.
18650 * debug/tst-longjmp_chk.c: Add header comment and include
18651 ../test-skeleton.c.
18652 (do_test): Mark static.
18653 (TEST_FUNCTION): Define.
18655 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
18656 (IP_PMTUDISC_INTERFACE): Likewise.
18657 (IP_MULTICAST_IF): Likewise.
18658 (IP_MULTICAST_TTL): Likewise.
18659 (IP_MULTICAST_LOOP): Likewise.
18660 (IP_ADD_MEMBERSHIP): Likewise.
18661 (IP_DROP_MEMBERSHIP): Likewise.
18662 (IP_UNBLOCK_SOURCE): Likewise.
18663 (IP_BLOCK_SOURCE): Likewise.
18664 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
18665 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
18666 (IP_MSFILTER): Likewise.
18667 (MCAST_JOIN_GROUP): Likewise.
18668 (MCAST_BLOCK_SOURCE): Likewise.
18669 (MCAST_UNBLOCK_SOURCE): Likewise.
18670 (MCAST_LEAVE_GROUP): Likewise.
18671 (MCAST_JOIN_SOURCE_GROUP): Likewise.
18672 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18673 (MCAST_MSFILTER): Likewise.
18674 (IP_MULTICAST_ALL): Likewise.
18675 (IP_UNICAST_IF): Likewise.
18677 * timezone/Makefile: Delete $(have-ksh) check.
18678 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
18679 * timezone/tzselect.ksh: Add +x mode bits.
18681 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
18682 (ANON_INODE_FS_MAGIC): Likewise.
18683 (BDEVFS_MAGIC): Likewise.
18684 (BINFMTFS_MAGIC): Likewise.
18685 (BTRFS_TEST_MAGIC): Likewise.
18686 (CRAMFS_MAGIC_WEND): Likewise.
18687 (DEBUGFS_MAGIC): Likewise.
18688 (ECRYPTFS_SUPER_MAGIC): Likewise.
18689 (EXT3_SUPER_MAGIC): Likewise.
18690 (EXT4_SUPER_MAGIC): Likewise.
18691 (FUTEXFS_SUPER_MAGIC): Likewise.
18692 (HOSTFS_SUPER_MAGIC): Likewise.
18693 (HUGETLBFS_MAGIC): Likewise.
18694 (MINIX3_SUPER_MAGIC): Likewise.
18695 (MTD_INODE_FS_MAGIC): Likewise.
18696 (NILFS_SUPER_MAGIC): Likewise.
18697 (OPENPROM_SUPER_MAGIC): Likewise.
18698 (PIPEFS_MAGIC): Likewise.
18699 (PSTOREFS_MAGIC): Likewise.
18700 (QNX6_SUPER_MAGIC): Likewise.
18701 (RAMFS_MAGIC): Likewise.
18702 (REISERFS_SUPER_MAGIC_STRING): Likewise.
18703 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
18704 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
18705 (SECURITYFS_MAGIC): Likewise.
18706 (SELINUX_MAGIC): Likewise.
18707 (SMACK_MAGIC): Likewise.
18708 (SOCKFS_MAGIC): Likewise.
18709 (SQUASHFS_MAGIC): Likewise.
18710 (STACK_END_MAGIC): Likewise.
18711 (TMPFS_MAGIC): Likewise.
18712 (USBDEVICE_SUPER_MAGIC): Likewise.
18713 (V9FS_MAGIC): Likewise.
18714 (XENFS_SUPER_MAGIC): Likewise.
18715 (CRAMFS_MAGIC): Fix typo in comment.
18716 (EXT2_SUPER_MAGIC): Update comment.
18717 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
18719 2014-02-08 Joseph Myers <joseph@codesourcery.com>
18721 * sysdeps/arm: Move directory from ports/sysdeps/arm.
18722 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
18723 * sysdeps/unix/sysv/linux/arm: Move directory from
18724 ports/sysdeps/unix/sysv/linux/arm.
18725 * README: Update listing for arm-*-linux-gnueabi.
18727 * README: Remove mention of am33.
18729 2014-02-07 Roland McGrath <roland@hack.frob.com>
18731 * bits/sigset.h (__sigemptyset): Use a statement expression rather
18732 than the comma operator, to avoid "rhs of comma has no effect"
18734 (__sigfillset, __sigandset, __sigorset): Likewise.
18735 * include/signal.h (__sigemptyset): Likewise.
18736 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
18738 2014-02-07 Allan McRae <allan@archlinux.org>
18740 * version.h (RELEASE): Set to "development".
18741 (VERSION): Set to "2.19.90"
18742 * NEWS: Add 2.20 section.
18744 2014-02-06 Carlos O'Donell <carlos@redhat.com>
18747 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
18749 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18751 * manual/contrib.texi: Update entry for Carlos O'Donell,
18752 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
18754 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
18756 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
18758 * sysdeps/unix/sysv/linux/kernel-features.h
18759 [__LINUX_KERNEL_VERSION >= 0x020621]
18760 (__ASSUME_PROC_PID_TASK_COMM): Define.
18762 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18765 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
18766 conversion when destination buffer does not have enough space.
18767 * libio/tst-ftell-partial-wide.c: New test case.
18768 * libio/Makefile (tests): Add tst-ftell-partial-wide.
18770 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18771 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
18772 Leonard and Allan McRae.
18774 2014-02-04 David S. Miller <davem@davemloft.net>
18776 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18779 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18808 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18810 * nptl/shlib-versions: Change powerpc*le start to 2.17.
18811 * shlib-versions: Likewise.
18813 2014-02-04 Roland McGrath <roland@hack.frob.com>
18814 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18816 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18817 (abilist-pattern): New variable, set to %-le.abilist.
18819 * Makerules (abilist-pattern): New variable.
18820 (vpath): Use $(abilist-pattern) in place of %.abilist.
18821 (check-abi-% pattern rule): Likewise.
18822 (check-abi, update-abi): Likewise.
18824 2014-02-04 Eric Wong <normalperson@yhbt.net>
18826 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18828 2014-02-03 Carlos O'Donell <carlos@redhat.com>
18830 * manual/startup.texi: Add next, previous, and top entries for
18831 the `Program Arguments' and `Environment Variables' nodes.
18833 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
18835 * manual/macros.texi: Add comments before MTASC-safety macros.
18837 * manual/users.texi: Document MTASC-safety properties.
18839 * manual/threads.texi (pthread_key_create, pthread_key_delete)
18840 (pthread_getspecific, pthread_setspecific): Format with
18841 @deftypefun, and add @safety note.
18842 * manual/signal.texi: Move comments that analyze the above
18843 functions to their home place.
18845 2014-02-03 Allan McRae <allan@archlinux.org>
18847 * po/sl.po: Update Slovenian translation from translation project.
18849 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
18851 * manual/time.texi (timegm): Add missing blank after @c.
18852 Reported by Joseph Myers <joseph@codesourcery.com>.
18854 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
18856 * manual/check-safety.sh: New.
18857 * manual/Makefile ($(objpfx)stamp-summary): Run it.
18859 * manual/terminal.texi: Document MTASC-safety properties.
18861 * manual/filesys.texi: Document MTASC-safety properties.
18863 * manual/errno.texi: Document MTASC-safety properties.
18865 * manual/intro.texi: Document safety identifiers and
18868 * manual/string.texi (wcstok): Fix prototype.
18869 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
18871 * manual/time.texi: Document MTASC-safety properties.
18873 * manual/string.texi: Document MTASC-safety properties.
18875 * manual/threads.texi: Document MTASC-safety properties.
18877 * manual/stdio.texi: Document MTASC-safety properties.
18879 * manual/syslog.texi: Document MTASC-safety properties.
18881 * manual/sysinfo.texi: Document MTASC-safety properties.
18883 * manual/startup.texi: Document MTASC-safety properties.
18885 * manual/socket.texi: Document MTASC-safety properties.
18887 * manual/signal.texi: Document MTASC-safety properties.
18889 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
18891 * manual/setjmp.texi: Document MTASC-safety properties.
18893 * manual/search.texi: Document MTASC-safety properties.
18895 * manual/resource.texi: Document MTASC-safety properties.
18897 * manual/process.texi: Document MTASC-safety properties.
18899 * manual/platform.texi: Document MTASC-safety properties.
18901 * manual/pipe.texi: Document MTASC-safety properties.
18903 * manual/pattern.texi: Document MTASC-safety properties.
18905 * manual/message.texi: Document MTASC-safety properties.
18908 * manual/memory.texi: Document MTASC-safety properties.
18910 * manual/math.texi: Document MTASC-safety properties.
18912 * manual/locale.texi: Document MTASC-safety properties.
18914 * manual/llio.texi: Document MTASC-safety properties.
18916 * manual/libdl.texi: New.
18918 * manual/lang.texi: Document MTASC-safety properties.
18920 * manual/job.texi: Document MTASC-safety properties.
18922 * manual/getopt.texi: Document MTASC-safety properties.
18924 * manual/ctype.texi: Document MTASC-safety properties.
18926 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
18929 * csu/libc-tls.c (static_map): Remove variable.
18930 (__libc_setup_tls): Use main executable's link map for TLS data.
18931 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18932 casing for LM_ID_BASE and GL(dl_nns).
18933 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18934 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
18935 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18936 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18937 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18939 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18942 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
18944 * manual/debug.texi: Document MTASC-safety properties.
18946 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
18949 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18950 of __x86_64__ when disabling x87 inline functions.
18952 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
18954 * manual/charset.texi: Document MTASC-safety properties.
18956 * manual/crypt.texi: Document MTASC-safety properties.
18958 * manual/conf.texi: Document MTASC-safety properties.
18960 * manual/arith.texi: Document MTASC-safety properties.
18962 * manual/argp.texi: Document MTASC-safety properties.
18964 * manual/macros.texi: Introduce macros to document multi
18965 thread, asynchronous signal and asynchronous cancellation
18967 * manual/intro.texi: Introduce the properties themselves.
18969 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18971 * sysdeps/sh/sh4/Makefile: New file.
18973 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
18975 * math/gen-libm-test.pl ($srcdir): New variable.
18976 ($auto_input): Use it.
18978 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18981 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18982 access beyond array bounds when parsing netgroups file.
18984 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18985 the old buffer before realloc.
18987 2014-01-27 Allan McRae <allan@archlinux.org>
18989 * po/fr.po: Update French translation from translation project.
18991 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18993 * sysdeps/sh/libm-test-ulps: Regenerate.
18995 2014-01-24 David S. Miller <davem@davemloft.net>
18997 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18999 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19001 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19002 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19004 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19007 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19008 string pointers after reallocation.
19010 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19012 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19013 __SH4A__ instead of __SH_FPU_ANY__.
19015 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19017 * sysdeps/sh/fpu_control.h: New file.
19018 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
19019 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
19020 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
19021 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19022 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
19023 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
19024 * sysdeps/sh/sys/ucontext.h: Remove.
19025 * sysdeps/sh/sys: Remove directory.
19027 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19029 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
19030 s390/sys/ucontext.h.
19031 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
19032 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
19034 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
19037 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
19039 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19042 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19043 Adjust the vDSO correctly for internal calls.
19044 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19046 2014-01-20 Allan McRae <allan@archlinux.org>
19048 * po/ca.po: Update Catalan translation from translation project.
19050 2014-01-16 Mike Frysinger <vapier@gentoo.org>
19052 * sysdeps/s390/sotruss-lib.c: New file.
19054 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19057 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
19058 (__GI___gettimeofday): Alias for a different internal symbol to avoid
19059 local calls issues by not having a PLT stub required for IFUNC calls.
19060 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19062 2014-01-16 Joseph Myers <joseph@codesourcery.com>
19064 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19065 * math/test-fpucw-static.c: Likewise.
19067 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19070 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19072 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19074 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
19075 implementation for powerpc.
19077 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
19080 * sysdeps/posix/system.c (__libc_system): Do not enable
19081 asynchronous cancellation.
19083 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19086 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19087 handling only for numbers special also in the IEEE case.
19089 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19091 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19093 2014-01-11 Allan McRae <allan@archlinux.org>
19095 * po/bg.po: Update Bulgarian translation from translation project.
19097 * po/de.po: Update German translation from translation project.
19099 2014-01-10 Roland McGrath <roland@hack.frob.com>
19101 * sysdeps/generic/gcc-compat.h: New file.
19103 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19105 * benchtests/asin-inputs: Correct slow inputs.
19106 * benchtests/acos-inputs: Likewise.
19108 2014-01-10 Allan McRae <allan@archlinux.org>
19110 * po:sv.po: Update Swedish translation from translation project.
19112 * po/vi.po: Update Vietnamese translation from translation project.
19114 * po/eo.po: Update Esperanto translation from translation project.
19116 * po/cs.po: Update Czech translation from translation project.
19118 * po/nl.po: Update Dutch translation from translation project.
19120 * po/pl.po: Update Polish translation from translation project.
19122 * po/ru.po: Update Russian translation from translation project.
19124 * po/uk.po: Update Ukrainian translation from translation project.
19126 2014-01-08 Brooks Moses <bmoses@google.com>
19128 * elf/dl-load.c: Fix comment typo.
19130 2014-01-08 Carlos O'Donell <carlos@redhat.com>
19132 * po/header.pot: Rename to...
19133 * po/pot.header: ... this.
19134 * po/Makefile: Use pot.header.
19136 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
19137 Maxim Kuvyrkov <maxim@kugelworks.com>
19140 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19141 SRC and DEST against LEN.
19143 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19146 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19148 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19150 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19152 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19154 2014-01-08 Joseph Myers <joseph@codesourcery.com>
19157 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19158 for large positive arguments.
19160 2014-01-07 Joseph Myers <joseph@codesourcery.com>
19162 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19164 * math/auto-libm-test-in: Mark various tests with
19165 xfail-rounding:ldbl-128ibm.
19166 * math/auto-libm-test-out: Regenerated.
19169 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19170 Increase overflow threshold.
19172 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
19175 * stdio-common/vfprintf.c: Check for integer overflow.
19177 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19179 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19180 the first argument and return value of __tls_get_addr_internal.
19182 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19184 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19185 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19187 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19189 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19190 * sysdeps/s390/rtld-global-offsets.sym: New file.
19191 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19193 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19194 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19195 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19197 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19198 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19202 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19204 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19205 halfs of GPRs for high_gprs contexts.
19206 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19207 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
19209 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19211 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19213 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19214 for high GPRs (uc_high_gprs) and for future extensions
19216 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19217 for future extensions (__reserved).
19218 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19220 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19221 SC_HIGHGPRS offset definition.
19222 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19223 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19225 * Versions.def: Add GLIBC_2.19 for libpthread.
19226 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19227 siglongjmp for libpthread with GLIBC_2.19 symver.
19228 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19229 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19230 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19231 * sysdeps/s390/__longjmp.c: New file.
19232 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19233 * sysdeps/s390/longjmp.c: New file.
19234 * sysdeps/s390/setjmp.S: New file.
19235 * sysdeps/s390/sigjmp.S: New file.
19236 * sysdeps/s390/v1-longjmp.c: New file.
19237 * sysdeps/s390/v1-setjmp.h: New file.
19238 * sysdeps/s390/v1-sigjmp.c: New file.
19239 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19240 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19241 GLIBC_2.19 version.
19242 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19243 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19244 versioned symbols for ____longjmp_chk.
19245 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19255 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
19256 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
19257 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
19258 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
19259 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
19260 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
19261 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
19262 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
19263 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
19264 * sysdeps/s390/rtld-__longjmp.c: New file.
19265 * sysdeps/s390/rtld-setjmp.S: New file.
19267 2014-01-06 Joseph Myers <joseph@codesourcery.com>
19270 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19271 Return -__logl (x) for small positive arguments without evaluating
19274 2014-01-06 Mike Frysinger <vapier@gentoo.org>
19276 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
19278 (__ptrace_peeksiginfo_args): ... this.
19279 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19280 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19281 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19283 2014-01-06 Allan McRae <allan@archlinux.org>
19285 * inet/netinet/in.h: Fix typo in comment.
19287 2014-01-05 Andreas Jaeger <aj@suse.de>
19289 * sysdeps/i386/fpu/libm-test-ulps: Update.
19291 2014-01-05 Allan McRae <allan@archlinux.org>
19293 * po/libc.pot: Regenerated.
19295 * malloc/memusagestat.c: Fix gettext call formatting.
19297 2014-01-04 Sami Kerola <kerolasa@iki.fi>
19299 * nscd/nscd.c: Improve usage() output.
19301 2014-01-04 Mike Frysinger <vapier@gentoo.org>
19303 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
19304 * sysdeps/unix/sysv/linux/configure: Regenerated.
19305 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
19306 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
19308 2014-01-03 Joseph Myers <joseph@codesourcery.com>
19311 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19312 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
19314 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19316 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
19317 extra tokens at end of #undef directive.
19318 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19319 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
19320 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19322 2014-01-03 Joseph Myers <joseph@codesourcery.com>
19324 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19326 * math/auto-libm-test-in: Mark various tests with
19327 xfail-rounding:ldbl-128ibm.
19328 * math/auto-libm-test-out: Regenerated.
19330 2014-01-02 Joseph Myers <joseph@codesourcery.com>
19333 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
19334 numbers with subnormal high part when calculating exponent.
19337 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
19341 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
19343 (__ieee754_acoshl): Use __log1pl not __log1p.
19345 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
19347 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
19348 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
19349 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
19350 (grow_heap, heap_trim, _int_new_arena, get_free_list)
19351 (reused_arena, arena_get2): Convert to GNU style.
19352 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
19353 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
19354 (memalign_check, __malloc_set_state): Likewise.
19355 * malloc/mallocbug.c (main): Likewise.
19356 * malloc/malloc.c (__malloc_assert, malloc_init_state)
19357 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
19358 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
19359 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
19360 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
19361 (__posix_memalign, malloc_info): Likewise.
19362 * malloc/malloc.h: Likewise.
19363 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
19364 (mallochook, memalignhook, reallochook, mabort): Likewise.
19365 * malloc/mcheck.h: Likewise.
19366 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
19367 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
19368 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
19369 * malloc/morecore.c (__default_morecore): Likewise.
19370 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
19371 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
19372 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
19373 (print_and_abort): Likewise.
19374 * malloc/obstack.h: Likewise.
19375 * malloc/set-freeres.c (__libc_freeres): Likewise.
19376 * malloc/tst-mallocstate.c (main): Likewise.
19377 * malloc/tst-mtrace.c (main): Likewise.
19378 * malloc/tst-realloc.c (do_test): Likewise.
19380 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19383 * nscd/netgroupcache.c (do_notfound): New function.
19384 (addgetnetgrentX): Use it.
19387 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
19388 NSS_STATUS_NOTFOUND.
19390 2014-01-01 Joseph Myers <joseph@codesourcery.com>
19392 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19395 2014-01-01 Allan McRae <allan@archlinux.org>
19397 * scripts/update-copyrights: Update configure input file suffix.
19399 * NEWS: Update copyright year.
19400 * catgets/gencat.c: Likewise.
19401 * csu/version.c: Likewise.
19402 * debug/catchsegv.sh: Likewise.
19403 * debug/pcprofiledump.c: Likewise.
19404 * debug/xtrace.sh: Likewise.
19405 * elf/ldconfig.c: Likewise.
19406 * elf/ldd.bash.in: Likewise.
19407 * elf/pldd.c: Likewise.
19408 * elf/sotruss.ksh: Likewise.
19409 * elf/sprof.c: Likewise.
19410 * iconv/iconv_prog.c: Likewise.
19411 * iconv/iconvconfig.c: Likewise.
19412 * locale/programs/locale.c: Likewise.
19413 * locale/programs/localedef.c: Likewise.
19414 * login/programs/pt_chown.c: Likewise.
19415 * malloc/memusage.sh: Likewise.
19416 * malloc/memusagestat.c: Likewise.
19417 * malloc/mtrace.pl: Likewise.
19418 * manual/libc.texinfo: Likewise.
19419 * nscd/nscd.c: Likewise.
19420 * nss/getent.c: Likewise.
19421 * nss/makedb.c: Likewise.
19422 * posix/getconf.c: Likewise.
19423 * scripts/test-installation.pl: Likewise.
19425 * All files with FSF copyright notices: Update copyright dates
19426 using scripts/update-copyrights.
19427 * intl/plural.c: Regenerated.
19428 * locale/programs/charmap-kw.h: Likewise.
19429 * locale/programs/locfile-kw.h: Likewise.
19431 2013-12-31 Mike Frysinger <vapier@gentoo.org>
19433 * sysdeps/unix/sysv/linux/configure: Regenerated.
19434 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
19435 the linux/fanotify.h header.
19436 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
19437 HAVE_LINUX_FANOTIFY_H is defined.
19439 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19441 * benchtests/cos-inputs: New inputs.
19442 * benchtests/sin-inputs: Likewise.
19444 * benchtests/atan-inputs: New inputs. Fix name of multiple
19445 precision fallback inputs.
19447 * benchtests/atanh-inputs: New inputs.
19448 * benchtests/tanh-inputs: Likewise.
19450 * benchtests/acosh-inputs: New inputs.
19451 * benchtests/asinh-inputs: Likewise.
19453 * benchtests/cosh-inputs: New inputs.
19454 * benchtests/sinh-inputs: Likewise.
19456 * benchtests/acos-inputs: Add more inputs.
19457 * benchtests/asin-inputs: Likewise.
19459 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
19462 * manual/arith.texi: Fix spelling.
19463 * manual/charset.texi: Likewise.
19464 * manual/errno.texi: Likewise.
19465 * manual/filesys.texi: Likewise.
19466 * manual/lang.texi: Likewise.
19467 * manual/llio.texi: Likewise.
19468 * manual/locale.texi: Likewise.
19469 * manual/message.texi: Likewise.
19470 * manual/resource.texi: Likewise.
19471 * manual/search.texi: Likewise.
19472 * manual/setjmp.texi: Likewise.
19473 * manual/stdio.texi: Likewise.
19474 * manual/string.texi: Likewise.
19475 * manual/sysinfo.texi: Likewise.
19476 * manual/time.texi: Likewise.
19478 2013-12-27 Carlos O'Donell <carlos@redhat.com>
19480 * po/sl.po: New file.
19482 2013-12-27 Mike Frysinger <vapier@gentoo.org>
19484 * .gitignore: Add core/.gdbinit/.gdb_history.
19486 2013-12-27 Allan McRae <allan@archlinux.org>
19489 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
19490 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
19492 2013-12-24 Brooks Moses <bmoses@google.com>
19494 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
19495 all compilers that claim C++98 compliance, not just GCC.
19496 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19499 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19501 * NEWS: Restore accidentally deleted bug-fix entries.
19503 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19504 Ondřej Bílka <neleai@seznam.cz>
19507 * malloc/malloc.c (_int_free): Perform sanity check only if we
19510 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
19513 * manual/stdio.texi (String Input Conversions): Clarify that character
19514 classes are not supported.
19516 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19520 2013-12-22 Joseph Myers <joseph@codesourcery.com>
19523 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19524 Calculate results for small negative arguments directly rather
19525 than using reflection formula with special underflow handling.
19527 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
19528 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
19529 sysdeps/unix/bsd/bsd4.4/syscalls.list.
19530 (fchflags): Likewise.
19531 (revoke): Likewise.
19532 (setlogin): Likewise.
19533 (sigaltstack): Likewise.
19535 (sigblock): Remove.
19536 (sigsetmask): Likewise.
19538 (waitpid): Likewise.
19539 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
19540 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
19542 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
19543 * sysdeps/unix/bsd/Makefile: ... here.
19544 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
19545 * sysdeps/unix/bsd/Versions: ... here.
19546 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
19547 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
19548 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
19549 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
19550 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
19551 * sysdeps/unix/bsd/sigblock.c: ... here.
19552 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
19553 * sysdeps/unix/bsd/sigsetmask.c: ... here.
19554 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
19555 * sysdeps/unix/bsd/sigvec.c: ... here.
19556 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
19557 * sysdeps/unix/bsd/tcdrain.c: ... here.
19558 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
19559 * sysdeps/unix/bsd/tcgetattr.c: ... here.
19560 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
19561 * sysdeps/unix/bsd/tcsetattr.c: ... here.
19562 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
19563 * sysdeps/unix/bsd/wait.c: ... here.
19564 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
19565 * sysdeps/unix/bsd/wait3.c: ... here.
19566 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
19567 * sysdeps/unix/bsd/waitpid.c: ... here.
19569 2013-12-21 Joseph Myers <joseph@codesourcery.com>
19572 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
19573 round-to-nearest for [!USE_AS_EXPM1L].
19574 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
19575 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
19576 more tests of exp and exp10. Expect some exp10 tests to miss
19577 exceptions or fail in directed rounding modes.
19578 * math/auto-libm-test-out: Regenerated.
19579 * math/libm-test.inc (exp10_tonearest_test_data): New array.
19580 (exp10_test_tonearest): New function.
19581 (exp10_towardzero_test_data): New array.
19582 (exp10_test_towardzero): New function.
19583 (exp10_downward_test_data): New array.
19584 (exp10_test_downward): New function.
19585 (exp10_upward_test_data): New array.
19586 (exp10_test_upward): New function.
19587 (main): Call the new functions.
19588 * sysdeps/i386/fpu/libm-test-ulps: Update.
19589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19591 2013-12-20 Joseph Myers <joseph@codesourcery.com>
19593 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19594 asinh, atan, atan2, atanh, cbrt, cos and cosh.
19595 * math/auto-libm-test-out: Regenerated.
19596 * math/libm-test.inc (acosh_test_data): Add more tests.
19597 (atanh_test_data): Likewise.
19598 (ceil_test_data): Likewise.
19599 (copysign_test_data): Likewise.
19600 * sysdeps/i386/fpu/libm-test-ulps: Update.
19601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19603 * timezone/checktab.awk: Update from tzcode 2013i.
19604 * timezone/private.h: Likewise.
19605 * timezone/scheck.c: Likewise.
19606 * timezone/tzfile.h: Likewise.
19607 * timezone/tzselect.ksh: Likewise.
19608 * timezone/zdump.c: Likewise.
19609 * timezone/zic.c: Likewise.
19611 * math/auto-libm-test-in: Add tests of cpow.
19612 * math/auto-libm-test-out: Regenerated.
19613 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
19614 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19616 (func_calc_desc): Add mpc_cc_c union field.
19617 (test_functions): Add cpow.
19618 (special_fill_2pi): New function.
19619 (special_real_inputs): Add 2pi.
19620 (calc_generic_results): Handle mpc_cc_c.
19621 * sysdeps/i386/fpu/libm-test-ulps: Update.
19622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19624 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
19625 csqrt, ctan and ctanh.
19626 * math/auto-libm-test-out: Regenerated.
19627 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19628 (TEST_COND_x86): Likewise.
19629 (ccos_test_data): Use AUTO_TESTS_c_c.
19630 (ccosh_test_data): Likewise.
19631 (cexp_test_data): Likewise.
19632 (clog_test_data): Likewise.
19633 (csqrt_test_data): Likewise.
19634 (ctan_test_data): Likewise.
19635 (ctan_tonearest_test_data): Likewise.
19636 (ctan_towardzero_test_data): Likewise.
19637 (ctan_downward_test_data): Likewise.
19638 (ctan_upward_test_data): Likewise.
19639 (ctanh_test_data): Likewise.
19640 (ctanh_tonearest_test_data): Likewise.
19641 (ctanh_towardzero_test_data): Likewise.
19642 (ctanh_downward_test_data): Likewise.
19643 (ctanh_upward_test_data): Likewise.
19644 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19646 (func_calc_desc): Add mpc_c_c union field.
19647 (FUNC_mpc_c_c): New macro.
19648 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
19649 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
19651 (special_fill_min_subnorm_p120): New function.
19652 (special_real_inputs): Add min_subnorm_p120.
19653 (calc_generic_results): Handle mpc_c_c.
19654 * sysdeps/i386/fpu/libm-test-ulps: Update.
19655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19657 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19659 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
19660 (do_sin_slow): New functions.
19661 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
19662 (cslow2, csloww1, csloww2): Use the new functions.
19664 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
19665 Use M to change sign of result instead of X. Assume X is
19667 (csloww1): Likewise.
19671 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
19672 arguments A and DA.
19676 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
19678 (sloww1): Don't adjust sign of DX.
19679 (csloww1): Likewise.
19680 (sloww2): Use X directly and don't adjust sign of DX.
19681 (csloww2): Likewise.
19683 2013-12-19 Joseph Myers <joseph@codesourcery.com>
19685 * math/auto-libm-test-in: Add tests of cabs and carg.
19686 * math/auto-libm-test-out: Regenerated.
19687 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
19688 (carg_test_data): Likewise.
19689 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19691 (func_calc_desc): Add mpc_c_f union field.
19692 (test_functions): Add cabs and carg.
19693 (calc_generic_results): Handle mpc_c_f.
19695 * sysdeps/powerpc/powerpc32/libgcc-compat.S
19696 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
19697 as a macro and a compat symbol.
19698 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19699 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19700 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19701 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19702 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
19703 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
19705 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
19707 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
19709 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
19711 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
19713 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
19715 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
19716 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
19719 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19723 2013-12-19 Joseph Myers <joseph@codesourcery.com>
19725 * manual/texinfo.tex: Update to version 2013-11-26.10 with
19726 trailing whitespace removed.
19727 * scripts/config.guess: Update to version 2013-11-29.
19728 * scripts/config.sub: Update to version 2013-10-01.
19730 * math/auto-libm-test-in: Add tests of sincos.
19731 * math/auto-libm-test-out: Regenerated.
19732 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
19733 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19735 (func_calc_desc): Add mpfr_f_11 union field.
19736 (test_functions): Add sincos.
19737 (calc_generic_results): Handle mpfr_f_11.
19738 * sysdeps/i386/fpu/libm-test-ulps: Update.
19739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19741 2013-12-19 Andreas Schwab <schwab@suse.de>
19743 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
19745 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19746 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
19747 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
19749 2013-12-19 Joseph Myers <joseph@codesourcery.com>
19751 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
19752 * sysdeps/i386/fpu/libm-test-ulps: Update.
19753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19756 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
19757 round-to-nearest mode when using frndint.
19758 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
19759 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19760 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19762 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
19764 * math/auto-libm-test-out: Regenerated.
19765 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
19766 (TEST_COND_x86): Likewise.
19767 (expm1_tonearest_test_data): New array.
19768 (expm1_test_tonearest): New function.
19769 (expm1_towardzero_test_data): New array.
19770 (expm1_test_towardzero): New function.
19771 (expm1_downward_test_data): New array.
19772 (expm1_test_downward): New function.
19773 (expm1_upward_test_data): New array.
19774 (expm1_test_upward): New function.
19775 (main): Run the new test functions.
19776 * sysdeps/i386/fpu/libm-test-ulps: Update.
19777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19779 * include/features.h: Update comment documenting feature test
19780 macros. Mention _DEFAULT_SOURCE in comment.
19781 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19782 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19783 _BSD_SOURCE and _SVID_SOURCE.
19784 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19785 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19786 !_SVID_SOURCE]: Likewise.
19787 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19788 (__USE_POSIX_IMPLICITLY): Define.
19789 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19790 (_POSIX_SOURCE): Undefine and redefine.
19791 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19792 (_POSIX_C_SOURCE): Likewise.
19793 * manual/creature.texi (_DEFAULT_SOURCE): Document.
19794 (Feature Test Macros): Update documentation of default features.
19796 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19798 * benchtests/Makefile: Add bench-strtok.
19799 * benchtests/bench-strtok.c: New file: strtok benchtest.
19801 2013-12-19 Allan McRae <allan@archlinux.org>
19803 * manual/install.texi: Suppress menu for plain text output.
19804 * INSTALL: Regenerated.
19806 2013-12-18 Brooks Moses <bmoses@google.com>
19809 * misc/getauxval.c: Include errno.h.
19810 (__getauxval): Set errno to ENOENT if the requested type is not
19812 * misc/sys/auxv.h (getauxval): Document that it may set errno;
19813 don't declare with __attribute_const__.
19814 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19815 * manual/startup.texi: Document that getauxval sets errno.
19817 2013-12-18 Joseph Myers <joseph@codesourcery.com>
19819 * math/auto-libm-test-in: Add tests of jn and yn.
19820 * math/auto-libm-test-out: Regenerated.
19821 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19822 (yn_test_data): Likewise.
19823 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19825 (func_calc_desc): Add mpfr_if_f union field.
19826 (FUNC_mpfr_if_f): New macro.
19827 (test_functions): Add jn and yn.
19828 (calc_generic_results): Assert type of second input for
19829 mpfr_ff_f. Handle mpfr_if_f.
19830 (output_for_one_input_case): Disable all checking for arguments
19831 fitting floating-point types in case of an integer argument.
19832 * sysdeps/i386/fpu/libm-test-ulps: Update.
19833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19836 Don't expect fegetround reference in libm.so.
19838 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19840 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19841 $(config-cflags-nofma).
19843 2013-12-18 Joseph Myers <joseph@codesourcery.com>
19845 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19846 * math/auto-libm-test-out: Regenerated.
19849 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19850 to determine exponent and adjust argument to have exponent of -1.
19851 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19853 * math/auto-libm-test-out: Regenerated.
19854 * sysdeps/i386/fpu/libm-test-ulps: Update.
19855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19857 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
19859 * manual/probes.texi: Remove cases when per-thread arenas are
19862 2013-12-18 Andreas Schwab <schwab@suse.de>
19864 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
19865 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
19866 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
19867 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
19868 * sysdeps/i386/i686/multiarch/Makefile: Update.
19869 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
19871 2013-12-17 Joseph Myers <joseph@codesourcery.com>
19873 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
19874 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
19876 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
19879 Support TZ transition times < 00:00:00.
19880 This is needed for version-3 tz-format files; it supports time
19881 stamps past 2037 for America/Godthab (the only entry in the tz
19882 database for which this change is relevant).
19883 * manual/time.texi (TZ Variable): Document transition times
19884 from -167:59:59 through -00:00:01.
19885 * time/tzset.c (tz_rule): Time of day is now signed.
19886 (__tzset_parse_tz): Parse negative time of day.
19888 Document TZ transition times >= 25:00:00.
19889 * manual/time.texi (TZ Variable): Document transition times from
19890 25:00:00 through 167:59:59. These are already supported, and this
19891 support will help with version-3 tz-format files.
19893 * manual/time.texi (TZ Variable): Modernize North America example
19894 to reflect current (i.e., 2007-and-later) daylight saving rules.
19896 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
19898 2013-12-17 Joseph Myers <joseph@codesourcery.com>
19900 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
19901 * sysdeps/unix/bsd/bits/stat.h: Likewise.
19902 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
19903 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19904 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
19905 * sysdeps/unix/bsd/bsdstat.h: Likewise.
19906 * sysdeps/unix/bsd/clock.c: Likewise.
19907 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
19908 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
19909 * sysdeps/unix/bsd/init-posix.c: Likewise.
19910 * sysdeps/unix/bsd/poll.c: Likewise.
19911 * sysdeps/unix/bsd/ptsname.c: Likewise.
19912 * sysdeps/unix/bsd/seekdir.c: Likewise.
19913 * sysdeps/unix/bsd/setegid.c: Likewise.
19914 * sysdeps/unix/bsd/seteuid.c: Likewise.
19915 * sysdeps/unix/bsd/setgid.c: Likewise.
19916 * sysdeps/unix/bsd/setrgid.c: Likewise.
19917 * sysdeps/unix/bsd/setruid.c: Likewise.
19918 * sysdeps/unix/bsd/setsid.c: Likewise.
19919 * sysdeps/unix/bsd/setuid.c: Likewise.
19920 * sysdeps/unix/bsd/sigaction.c: Likewise.
19921 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
19922 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
19923 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
19924 * sysdeps/unix/bsd/telldir.c: Likewise.
19925 * sysdeps/unix/bsd/times.c: Likewise.
19926 * sysdeps/unix/bsd/usleep.c: Likewise.
19928 * misc/Makefile (install-lib): Remove libbsd-compat.a.
19929 ($(objpfx)libbsd-compat.a): Remove rule.
19931 * include/features.h (__FAVOR_BSD): Do not define.
19932 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19933 features conflicting with POSIX.
19934 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19935 (_BSD_SOURCE): Remove description of not being a subset of other
19936 feature test macros.
19937 * manual/job.texi (getpgrp): Do not document BSD version.
19938 (getpgid): Do not document by reference to BSD getpgrp.
19939 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19940 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19941 * signal/signal.h [__FAVOR_BSD]: Likewise.
19942 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19943 instead of making contents conditional on [__FAVOR_BSD].
19944 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19946 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19950 2013-12-17 Joseph Myers <joseph@codesourcery.com>
19953 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19954 values below 2**-450, not 2**-500.
19955 * math/auto-libm-test-in: Don't allow spurious underflow from
19957 * math/auto-libm-test-out: Regenerated.
19961 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19962 values of ha and hb and sort them after adjusting subnormal
19964 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19966 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19967 values of ea and eb and sort them after adjusting subnormal
19969 * math/auto-libm-test-in: Do not expect some hypot tests of
19970 subnormals to fail. Add more hypot tests.
19971 * math/auto-libm-test-out: Regenerated.
19973 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19976 * sysdeps/sh/s_fma.c: New file.
19977 * sysdeps/sh/s_fmaf.c: New file.
19978 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
19980 * sysdeps/sh/Implies: Add sh/soft-fp.
19982 2013-12-16 Roland McGrath <roland@hack.frob.com>
19984 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
19985 level of indirection to members `objname', `errstring', `malloced'.
19986 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19987 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
19988 it as the __longjmp argument (just pass 1 instead).
19989 (_dl_catch_error): Initialize C with argument pointers and address of
19990 volatile local ERRCODE rather than copying values out of C at return.
19992 2013-12-16 Joseph Myers <joseph@codesourcery.com>
19994 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19995 * math/auto-libm-test-out: Regenerated.
19996 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19997 (hypot_test_data): Likewise.
19998 (pow_test_data): Likewise.
19999 (pow_tonearest_test_data): Likewise.
20000 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20002 (func_calc_desc): Add mpfr_ff_f union field.
20003 (FUNC_mpfr_ff_f): New macro.
20004 (test_functions): Add atan2, hypot and pow.
20005 (special_fill_min): New function.
20006 (special_fill_minus_min): Likewise.
20007 (special_fill_min_subnorm): Likewise.
20008 (special_fill_minus_min_subnorm): Likewise.
20009 (special_real_inputs): Add min, -min, min_subnorm and
20011 (calc_generic_results): Handle mpfr_ff_f.
20012 * sysdeps/i386/fpu/libm-test-ulps: Update.
20013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20015 2013-12-16 Will Newton <will.newton@linaro.org>
20017 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
20018 (Aligned Memory Blocks): Add documentation for aligned_alloc
20019 and suggest it as an alternative to posix_memalign.
20020 (Hooks for Malloc): Document __memalign_hook is also called
20021 for aligned_alloc. (Summary of Malloc): Add summary for
20022 aligned alloc. Document __memalign_hook is also called
20025 2013-12-16 Will Newton <will.newton@linaro.org>
20027 * manual/memory.texi (Malloc Examples): Clarify default
20028 alignment documentation. Suggest posix_memalign rather
20029 than memalign or valloc.
20030 (Aligned Memory Blocks): Remove suggestion to use memalign
20031 or valloc. Remove obsolete comment about BSD.
20032 Document memalign errno values and mark the function obsolete.
20033 Document posix_memalign returned error codes. Mark valloc
20034 as obsolete. (Hooks for Malloc): __memalign_hook is also
20035 called for posix_memalign and valloc.
20036 (Summary of Malloc): Add posix_memalign to function summary.
20037 __memalign_hook is also called for posix_memalign and valloc.
20039 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20041 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
20045 (sloww): Use mynumber union. Expand ternary operator into
20046 if-else statements.
20047 (cslow): use mynumber union.
20049 2013-12-16 Allan McRae <allan@archlinux.org>
20051 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20052 * configure: Regenerated.
20054 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20057 * configure.ac: Added --enable-maintainer-mode. Check for
20058 autoconf when enabled.
20059 * configure: Regenerated.
20061 * nscd/nscd.service: New file.
20062 * nscd/nscd.tmpfiles: New file.
20064 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
20067 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20068 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20069 * sysdeps/x86_64/multiarch/strstr.c: ... here.
20070 (strstr): Add __strstr_sse2_unaligned ifunc.
20071 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20072 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20073 (strcasestr): Remove __strcasestr_sse42 ifunc.
20074 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
20075 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20076 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20078 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20080 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20081 * sysdeps/sh/bits/fenv.h: ... here.
20082 * sysdeps/sh/sh4/fpu/bits: Remove directory.
20084 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20086 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20088 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20089 hypotf multiarch implementations.
20090 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20091 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20092 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20093 multiarch hypot for PPC64.
20094 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20095 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20096 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20097 multiarch hypotf for PPC64.
20099 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20100 modff multiarch implementations.
20101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20104 multiarch modf for PPC64.
20105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20108 multiarch modff for PPC64.
20110 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20111 and logl multiarch implementations.
20112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20115 multiarch logb for PPC64.
20116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20119 multiarch logb for PPC64.
20120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20123 multiarch logb for PPC64.
20125 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20126 isinff multiarch implementation.
20127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20131 multiarch isinf for PPC64.
20132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20135 multiarch isinff for PPC64.
20137 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20138 finitef multiarch implementation.
20139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20143 multiarch finite for PPC64.
20144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20147 multiarch finitef for PPC64.
20149 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20150 lrint multiarch implementation.
20151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20155 multiarch llrint for PPC64.
20156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20157 multiarch lrint for PPC64.
20159 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20160 copysignf multiarch implementation.
20161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
20163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20166 multiarch copysign for PPC64.
20167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20168 multiarch copysignf for PPC64.
20170 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20171 multiarch implementation.
20172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20180 multiarch llround for PPC64.
20181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20182 multiarch trunc for PPC64.
20183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20184 multiarch truncf for PPC64.
20186 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20187 multiarch implementation.
20188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20196 multiarch llround for PPC64.
20197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20198 multiarch round for PPC64.
20199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20200 multiarch roundf for PPC64.
20202 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20203 multiarch implementation.
20204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20212 multiarch llround for PPC64.
20213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20214 multiarch floor for PPC64.
20215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20216 multiarch floorf for PPC64.
20218 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20219 multiarch implementation.
20220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20228 multiarch llround for PPC64.
20229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20230 multiarch ceil for PPC64.
20231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20232 multiarch ceilf for PPC64.
20234 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20235 multiarch implementation.
20236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20243 multiarch llround for PPC64.
20244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20245 multiarch lround for PPC64.
20247 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20248 multiarch implementation.
20249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
20256 multiarch isnan for PPC64.
20257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
20258 multiarch isnanf for PPC64.
20260 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
20261 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
20262 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
20263 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
20264 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
20265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
20267 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
20268 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20269 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20270 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20272 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
20273 multiarch implementations.
20274 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20275 (__libc_ifunc_impl_list): Likewise.
20276 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20277 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
20278 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
20279 multiarch stpcpy for PPC64.
20281 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
20282 multiarch implementations.
20283 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20284 (__libc_ifunc_impl_list): Likewise.
20285 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
20286 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
20287 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
20288 multiarch strcpy for PPC64.
20290 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
20291 redefine function name.
20292 (_wordcopy_fwd_dest_aligned): Likewise.
20293 (_wordcopy_bwd_aligned): Likewise.
20294 (_wordcopy_bwd_dest_aligned): Likewise.
20295 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
20296 multiarch implementations.
20297 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20298 (__libc_ifunc_impl_list): Likewise.
20299 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
20300 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
20301 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
20302 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
20303 multiarch wcscpy for PPC64.
20305 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
20306 multiarch implementations.
20307 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20308 (__libc_ifunc_impl_list): Likewise.
20309 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
20310 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
20311 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
20312 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
20313 multiarch wcscpy for PPC64.
20315 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
20316 multiarch implementations.
20317 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20318 (__libc_ifunc_impl_list): Likewise.
20319 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
20320 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
20321 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
20322 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
20323 multiarch wcsrchr for PPC64.
20325 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
20326 multiarch implementations.
20327 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20328 (__libc_ifunc_impl_list): Likewise.
20329 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
20330 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
20331 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
20332 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
20333 multiarch wcschr for PPC64.
20335 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
20336 multiarch implementations.
20337 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20338 (__libc_ifunc_impl_list): Likewise.
20339 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
20340 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
20341 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
20342 multiarch strchrnul for PPC64.
20344 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
20346 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20347 (__libc_ifunc_impl_list): Likewise.
20348 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
20349 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
20350 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
20351 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
20354 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
20356 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20357 (__libc_ifunc_impl_list): Likewise.
20358 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
20359 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
20360 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
20361 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
20364 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
20365 multiarch implementations.
20366 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20367 (__libc_ifunc_impl_list): Likewise.
20368 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
20369 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
20370 strncasecmp for PPC64.
20371 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
20372 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
20373 multiarch strncasecmp_l for PPC64.
20375 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
20376 multiarch implementations.
20377 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20378 (__libc_ifunc_impl_list): Likewise.
20379 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
20380 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
20381 multiarch strcasecmp for PPC64.
20382 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
20384 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
20385 multiarch strcasecmp_l for PPC64.
20387 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
20389 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20390 (__libc_ifunc_impl_list): Likewise.
20391 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
20392 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
20393 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
20396 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
20398 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20399 (__libc_ifunc_impl_list): Likewise.
20400 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
20401 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
20402 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
20405 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
20407 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20408 (__libc_ifunc_impl_list): Likewise.
20409 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
20410 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
20411 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
20412 rawmemrchr for PPC64.
20414 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
20416 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20417 (__libc_ifunc_impl_list): Likewise.
20418 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
20419 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
20420 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
20423 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
20425 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20426 (__libc_ifunc_impl_list): Likewise.
20427 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
20428 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
20429 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
20432 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
20434 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20435 (__libc_ifunc_impl_list): Likewise.
20436 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
20437 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
20438 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
20441 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
20442 avoid cretion of __bzero symbol.
20443 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
20445 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
20447 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
20449 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
20450 multiarch implementations.
20451 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20452 (__libc_ifunc_impl_list): Likewise.
20453 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
20454 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
20455 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
20456 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
20458 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
20459 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
20460 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
20461 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
20462 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
20464 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
20466 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
20467 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
20469 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20470 (__libc_ifunc_impl_list): Likewise.
20471 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
20472 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
20473 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
20474 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
20477 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
20478 multiarch for POWER/PPC64.
20479 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
20480 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
20481 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
20482 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
20483 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
20484 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
20485 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
20486 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
20487 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
20490 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
20491 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
20492 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
20493 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
20494 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
20495 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
20496 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
20497 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
20498 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
20499 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
20500 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
20501 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
20502 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
20503 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
20504 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
20505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
20506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
20507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
20508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
20509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
20510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
20511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
20513 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20515 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
20517 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20519 * benchtests/Makefile (bench): Add exp2 and log2.
20520 (LDLIBS-bench-exp2): Add -lm.
20521 (LDLIBS-bench-log2): Likewise.
20522 * benchtests/exp2-inputs: New inputs file.
20523 * benchtests/log2-inputs: New inputs file.
20524 * benchtests/log-inputs: Add new inputs.
20525 * benchtests/tan-inputs: Likewise.
20527 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20529 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
20531 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
20532 (csloww2): ... from here.
20534 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
20535 instead of structures.
20536 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
20537 (POLYNOMIAL): Likewise.
20538 (TAYLOR_SLOW): Likewise.
20544 (sloww1); Likewise.
20545 (sloww2): Likewise.
20546 (bsloww1): Likewise.
20547 (bsloww2): Likewise.
20548 (cslow2): Likewise.
20549 (csloww): Likewise.
20550 (csloww1): Likewise.
20551 (csloww2): Likewise.
20553 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
20555 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
20556 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
20557 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
20558 * malloc/hooks.c (realloc_check): Likewise.
20560 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
20561 * malloc/arena.c: Remove PER_THREAD conditional.
20562 [!PER_THREAD]: Remove code.
20563 (ptmalloc_unlock_all2): Likewise.
20564 (ptmalloc_init): Likewise.
20565 (_int_new_arena): Likewise.
20566 (arena_get2): Likewise.
20567 * malloc/hooks.c (__malloc_get_state): Likewise.
20568 (__malloc_set_state): Likewise.
20569 * malloc/malloc.c: Likewise.
20570 (struct malloc_state): Likewise.
20571 (struct malloc_par): Likewise.
20572 (__libc_realloc): Likewise.
20573 (__libc_mallopt): Likewise.
20575 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20577 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
20579 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
20581 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
20582 macro to a function. Check for zero perturb_byte.
20583 (_int_malloc, _int_free): Remove zero perturb_byte checks.
20585 * malloc/malloc.c: (force_reg): Remove.
20586 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
20587 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
20588 force_reg by atomic_forced_read.
20589 * malloc/arena.c (ptmalloc_init): Likewise.
20590 * malloc/hooks.c (top_check): Likewise.
20592 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20596 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
20598 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20600 2013-12-08 Joseph Myers <joseph@codesourcery.com>
20602 * math/auto-libm-test-in: Add tests of lgamma.
20603 * math/auto-libm-test-out: Regenerated.
20604 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
20605 (M_LOG_2_SQRT_PIl): Likewise.
20606 (lgamma_test_data): Use AUTO_TESTS_f_f1.
20607 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20609 (func_calc_desc): Add mpfr_f_f1 union field.
20610 (ARGS1): New macro.
20618 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
20619 (test_functions): Add lgamma.
20620 (calc_generic_results): Handle mpfr_f_f1.
20621 * sysdeps/i386/fpu/libm-test-ulps: Update.
20622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20624 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20626 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
20627 __mpn_add_n for PowerPC64/POWER7.
20628 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
20629 __mpn_sub_n for PowerPC64/POWER7.
20631 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
20632 __mpn_addmul_1 for PowerPC64.
20633 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
20634 __mpn_submul_1 for PowerPC64.
20635 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
20637 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
20640 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
20643 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
20645 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20647 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
20649 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
20650 add multiarch folders.
20651 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
20652 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
20653 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
20654 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
20655 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
20656 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
20657 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
20658 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
20659 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
20660 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
20661 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
20662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
20663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
20664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
20665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
20666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
20667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
20669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20670 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
20671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
20673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
20675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
20676 multiarch __ieee754_hypot for PowerPC32.
20677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
20679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
20681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
20682 multiarch __ieee754_hypotf for PowerPC32.
20684 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
20685 long_double_symbol only if __logbl is defined.
20686 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
20687 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
20688 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
20689 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
20690 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
20691 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
20692 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
20693 path for implementation.
20694 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
20695 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
20696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
20697 logb, and logbl multiarch implementations for PowerPC32.
20698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
20700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
20702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
20703 multiarch logb for PowerPC32.
20704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
20706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
20708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
20709 multiarch logbf for PowerPC32.
20710 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
20711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
20713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
20714 multiarch logbl implementation for PowerPC32.
20716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
20717 and modff multiarch implementations.
20718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
20720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
20722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
20723 multiarch modf for PowerPC32.
20724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
20726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
20728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
20729 multiarch modff for PowerPC32.
20731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
20732 and lrintf multiarch implementations.
20733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
20735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
20737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
20738 multiarch lrint for PowerPC32.
20739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
20740 file: multiarch lrintf for PowerPC32.
20742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
20743 and lroundf multiarch implementations.
20744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
20746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
20748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
20750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
20751 multiarch lround for PowerPC32.
20752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
20753 file: multiarch lroundf for PowerPC32.
20755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20756 copysign and copysignf multiarch implementations.
20757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
20759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
20761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
20762 file: multiarch copysign for PowerPC32.
20763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
20764 file: multiarch copysignf for PowerPC32.
20766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
20767 and truncf multiarch implementations.
20768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20773 multiarch trunc for PowerPC32.
20774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20779 multiarch truncf for PowerPC32.
20781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20782 and roundf multiarch implementations.
20783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20788 multiarch round for PowerPC32.
20789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20794 multiarch roundf for PowerPC32.
20796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20797 and floorf multiarch implementations.
20798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20803 multiarch floor for PowerPC32.
20804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20809 multiarch floorf for PowerPC32.
20811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20812 and ceilf multiarch implementations.
20813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20818 multiarch ceil for PowerPC32.
20819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20824 multiarch ceilf for PowerPC32.
20826 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20828 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20829 FINITEF is defined.
20830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20831 and finitef multiarch implementations.
20832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20837 multiarch finite for PowerPC32.
20838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20841 file: multiarch finitef for PowerPC32.
20843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20844 and isinff multiarch implementations.
20845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20850 multiarch isinf for PowerPC32.
20851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
20853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
20854 multiarch isinff for PowerPC32.
20856 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
20857 alias when __isnan is defined.
20858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
20859 and isnanf multiarch implementations.
20860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
20862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
20864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
20866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
20868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
20869 multiarch isnan for PowerPC32.
20870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
20872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
20874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
20875 multiarch isnanf for PowerPC32.
20877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
20878 and sqrtf multiarch implementations.
20879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
20881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
20883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
20884 multiarch sqrt for PowerPC32.
20885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
20887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
20889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
20890 multiarch sqrtf for PowerPC32.
20892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
20893 and llroundf multiarch implementations.
20894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
20896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
20898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
20900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
20901 file: multiarch llround for PowerPC32.
20902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
20903 file: multiarch llroundf for PowerPC32.
20905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
20906 multiarch PowerPC32 fpu implementations.
20907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
20909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
20911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
20912 multiarch llrint for PowerPC32.
20913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
20915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
20917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
20920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
20922 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
20924 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
20926 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
20928 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
20929 multiarch wordcopy for PPC32.
20930 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20932 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20933 (__libc_ifunc_impl_list): Likewise.
20934 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20935 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20936 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20937 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20938 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20939 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20941 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20942 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20944 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20946 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20948 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20949 multiarch wcscpy for PPC32.
20950 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20952 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20953 (__libc_ifunc_impl_list): Likewise.
20954 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20955 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20956 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20957 sysdeps/powerpc/power6/wcscpy.c.
20959 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20960 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20962 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20964 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20966 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20967 multiarch wcsrchr for PPC32.
20968 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20970 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20971 (__libc_ifunc_impl_list): Likewise.
20972 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20973 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20974 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20975 sysdeps/powerpc/power6/wcsrchr.c.
20977 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20979 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20981 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20982 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20983 multiarch wcschr for PPc32.
20984 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20986 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20987 (__libc_ifunc_impl_list): Likewise.
20988 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20989 * sysdeps/powerpc/power6/wcschr.c: ... to here.
20990 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20991 sysdeps/powerpc/power6/wcschr.c.
20993 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20994 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20996 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20997 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20998 file: multiarch strchr for PPC32.
20999 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21001 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21002 (__libc_ifunc_impl_list): Likewise.
21004 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21006 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21008 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21010 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21011 multiarch strchrnul for PPC32.
21012 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21014 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21015 (__libc_ifunc_impl_list): Likewise.
21017 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
21019 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
21020 multiarch strncasecmp for PPC32.
21021 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
21023 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
21024 multiarch strncasecmp_l for PPC32.
21025 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
21026 strncasecmp multiarch objects.
21027 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21028 (__libc_ifunc_impl_list): Likewise.
21030 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
21032 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21033 multiarch strncasecmp for PPC32.
21034 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21036 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
21037 multiarch strcasecmp_l for PPC32.
21038 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
21040 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21041 (__libc_ifunc_impl_list): Likewise.
21043 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
21045 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21047 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21048 multiarch strncmp for PPC32.
21049 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21051 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21052 (__libc_ifunc_impl_list): Likewise.
21054 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21055 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21057 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21058 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21059 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21061 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21062 (__libc_ifunc_impl_list): Likewise.
21064 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21066 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21068 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21069 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21071 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21072 (__libc_ifunc_impl_list): Likewise.
21074 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
21076 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
21078 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
21079 multiarch rawmemchr for PPC32.
21080 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21082 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21083 (__libc_ifunc_impl_list): Likewise.
21085 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21087 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21089 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21090 file: memrchr multiarch for PPC32.
21091 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21093 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21094 (__libc_ifunc_impl_list): Likewise.
21096 * string/memchr.c (__memchr): Using macro to redefine symbol name.
21097 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21099 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21100 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21101 multiarch memchr for PPC32.
21102 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21104 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21105 (__libc_ifunc_impl_list): Likewise.
21107 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21108 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21110 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21112 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21113 file: multiarch mempcpy for PPC32.
21114 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21116 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21117 (__libc_ifunc_impl_list): Likewise.
21119 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21120 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21121 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21122 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21123 multiarch bzero for PPC32.
21124 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21126 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21128 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21129 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21130 file: multiarch memset for PPC32.
21131 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21132 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21133 memset multiarch objects.
21134 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21135 (__libc_ifunc_impl_list): Likewise.
21137 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21139 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21140 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21142 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21143 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
21145 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21146 (__libc_ifunc_impl_list): Likewise.
21148 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
21149 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21150 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21152 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21154 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21156 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21157 multiarch memcpy for PPC32.
21158 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21160 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21161 (__libc_ifunc_impl_list): Likewise.
21163 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21164 support multiarch for POWER/PPC32.
21165 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21167 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21169 Implies file to make multiarch folder appers before the fpu and
21170 default folder for power4 configuration.
21172 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21174 * scripts/bench.pl: Append volatile keyword to type.
21176 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21178 * sysdeps/sh/sotruss-lib.c: New file.
21179 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21181 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21185 2013-12-05 Joseph Myers <joseph@codesourcery.com>
21188 * math/w_tgamma.c: Include <errno.h>.
21189 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
21190 * math/w_tgammaf.c: Include <errno.h>.
21191 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
21192 * math/w_tgammal.c: Include <errno.h>.
21193 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
21194 * math/auto-libm-test-in: Do not allow missing errno on tgamma
21195 underflow. Add more tgamma tests.
21196 * math/auto-libm-test-out: Regenerated.
21197 * sysdeps/i386/fpu/libm-test-ulps: Update.
21198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21200 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21201 sin, sinh, tan, tanh, tgamma, y0 and y1.
21202 * math/auto-libm-test-out: Regenerated.
21203 * math/libm-test.inc (TEST_COND_x86_64): New macro.
21204 (TEST_COND_x86): Likewise.
21205 (M_E2l): Remove macro.
21207 (M_2_SQRT_PIl): Likewise.
21208 (M_SQRT_PIl): Likewise.
21209 (M_1_DIV_El): Likewise.
21210 (log_test_data): Use AUTO_TESTS_f_f.
21211 (log10_test_data): Likewise.
21212 (log1p_test_data): Likewise.
21213 (log2_test_data): Likewise.
21214 (sin_test_data): Likewise.
21215 (sin_tonearest_test_data): Likewise.
21216 (sin_towardzero_test_data): Likewise.
21217 (sin_downward_test_data): Likewise.
21218 (sin_upward_test_data): Likewise.
21219 (sinh_test_data): Likewise.
21220 (sinh_tonearest_test_data): Likewise.
21221 (sinh_towardzero_test_data): Likewise.
21222 (sinh_downward_test_data): Likewise.
21223 (sinh_upward_test_data): Likewise.
21224 (tan_test_data): Likewise.
21225 (tan_tonearest_test_data): Likewise.
21226 (tan_towardzero_test_data): Likewise.
21227 (tan_downward_test_data): Likewise.
21228 (tan_upward_test_data): Likewise.
21229 (tanh_test_data): Likewise.
21230 (tgamma_test_data): Likewise.
21231 (y0_test_data): Likewise.
21232 (y1_test_data): Likewise.
21233 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21234 (special_real_inputs): Add pi/4.
21235 * sysdeps/i386/fpu/libm-test-ulps: Update.
21236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21238 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21240 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21241 "longjmp_target" static probes.
21242 (__longjmp): Rename to __longjmp_symbol.
21243 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21244 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21245 on which longjmp to generate.
21246 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21247 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21249 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21250 (__sigjmp_save): Rename to __sigjmp_save_symbol.
21251 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21252 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21253 and __sigjmp_save_symbol based on which sigsetjmp to generated.
21254 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
21256 __longjmp_symbol based on which __longjmp to generate.
21257 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
21259 (setjmp): Rename to setjmp_symbol.
21260 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21261 (_setjmp): Rename to _setjmp_symbol.
21262 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21263 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
21264 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
21265 which setjmp to generate.
21266 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
21267 "longjmp_target" static probes.
21269 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21271 * benchtests/README: Add note about output arguments.
21272 * benchtests/bench-sincos.c: Remove file.
21273 * benchtests/sincos-inputs: New file.
21274 * scripts/bench.pl: Identify output arguments and define
21275 static variables for them.
21277 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
21280 * Makefile (INSTALL): Add install-plain.texi as the primary
21282 * manual/install-plain.texi: New file.
21283 * manual/install.texi: Include node directive only for
21284 non-plaintext output.
21286 2013-12-04 Joseph Myers <joseph@codesourcery.com>
21288 * stdlib/longlong.h: Update from GCC.
21292 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
21293 * math/w_j0f.c (y0f): Likewise.
21294 * math/w_j0l.c (__y0l): Likewise.
21295 * math/w_j1.c (y1): Likewise.
21296 * math/w_j1f.c (y1f): Likewise.
21297 * math/w_j1l.c (__y1l): Likewise
21298 * math/w_jn.c (yn): Likewise.
21299 * math/w_jnf.c (ynf): Likewise.
21300 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
21301 Bessel function pole errors in _POSIX_ mode. Use NAN as return
21302 value for Bessel function domain errors outside _SVID_ mode.
21303 Adjust sign of return value for yn (negative integer, 0).
21304 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
21305 by zero in return for negative x and set sign appropriately for
21307 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
21308 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21309 * math/libm-test.inc (y0_test_data): Add more tests and adjust
21310 expectations in error cases.
21311 (y1_test_data): Likewise.
21312 (yn_test_data): Likewise.
21313 * sysdeps/i386/fpu/libm-test-ulps: Update.
21314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21316 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21318 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
21319 "64" to "64-v1". Add "64-v2".
21320 (abi-64-options): Rename to ...
21321 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
21322 (abi-64-condition): Rename to ...
21323 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
21324 (abi-64-ld-soname): Rename to ...
21325 (abi-64-v1-ld-soname): ... this.
21326 (abi-64-v2-options): Define.
21327 (abi-64-v2-condition): Likewise.
21328 (abi-64-v2-ld-soname): Likewise.
21329 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
21330 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
21331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
21332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
21333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
21335 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21336 Alan Modra <amodra@gmail.com>
21338 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
21339 New versions for use with the ELFv2 ABI.
21340 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
21341 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
21343 (struct La_ppc64v2_retval): Likewise.
21344 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
21345 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
21346 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
21347 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
21348 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
21349 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21350 Do not save or restore CR.
21351 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
21352 (_dl_profile_resolve): Do no save or restore CR. Support extended
21353 return values for ELFv2 ABI. Fix location of FPR return registers.
21354 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
21355 updated values for _CALL_ELF == 2.
21356 (La_regs, La_retval, int_retval): Likewise.
21358 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21360 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
21361 (FRAME_MIN_SIZE_PARM): Likewise.
21362 (FRAME_BACKCHAIN): Likewise.
21363 (FRAME_CR_SAVE): Likewise.
21364 (FRAME_LR_SAVE): Likewise.
21365 (FRAME_TOC_SAVE): Likewise.
21366 (FRAME_PARM_SAVE): Likewise.
21367 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
21368 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
21369 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21370 (call_mcount_parm_offset): New macro.
21371 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
21372 (PROF): Use symbolic stack frame offsets.
21373 (TAIL_CALL_SYSCALL_ERROR): Likewise.
21374 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
21375 Redefine in terms of FRAME_MIN_SIZE.
21376 (_dl_runtime_resolve): Use symbolic stack frame offsets.
21377 (_dl_profile_resolve): Likewise. Update comment.
21378 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
21379 symbols stack frame offsets.
21380 (__sigsetjmp): Likewise.
21381 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
21382 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
21383 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
21384 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
21386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
21387 (FRAME_BACKCHAIN): Remove.
21388 (FRAME_CR_SAVE): Likewise.
21389 (FRAME_LR_SAVE): Likewise.
21390 (FRAME_COMPILER_DW): Likewise.
21391 (FRAME_LINKER_DW): Likewise.
21392 (FRAME_TOC_SAVE): Likewise.
21393 (FRAME_PARM_SAVE): Likewise.
21394 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
21395 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
21396 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
21398 (CHECK_SP): Use symbolic stack frame offsets.
21399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
21400 zone" instead of caller's parameter save area for temp storage.
21401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21402 Likewise. Also, use symbolic stack frame offsets.
21403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
21404 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
21405 our own stack frame instead of the caller's.
21406 (__socket): Use symbolic stack frame offsets.
21408 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21409 Alan Modra <amodra@gmail.com>
21411 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
21413 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
21414 (PPC64_LOCAL_ENTRY_OFFSET): Define.
21415 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
21417 (elf_machine_fixup_plt): Call it.
21418 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
21420 (elf_machine_rela): Update call to elf_machine_plt_conflict.
21421 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21422 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
21423 r2 before calling target.
21425 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21426 Alan Modra <amodra@gmail.com>
21428 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
21429 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
21430 versions of macros to support ELFv2 ABI.
21431 (LOCALENTRY): New macro.
21432 (ENTRY, EALIGN): Use it.
21433 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
21434 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
21435 fall through into ENTRY entry point.
21436 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
21437 Only define if _CALL_ELF != 2.
21439 (elf_machine_matches_host): Verify ABI version matches.
21440 (RTLD_START): Use LOCALENTRY.
21441 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
21442 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
21443 (PLT_ENTRY_WORDS): New macro.
21444 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
21445 (elf_machine_runtime_setup): Support ELFv2 ABI.
21446 (elf_machine_fixup_plt): Likewise.
21447 (elf_machine_plt_conflict): Likewise.
21448 (resolve_ifunc): Likewise.
21449 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21450 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
21453 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
21454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21455 (makecontext): Support ELFv2 ABI.
21456 * elf/elf.h (EF_PPC64_ABI): Define.
21458 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21460 * sysdeps/powerpc/powerpc64/sysdep.h
21461 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
21462 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
21463 (ENTRY) [ASSEMBLER]: ... but instead here ...
21464 (EALIGN) [ASSEMBLER]: ... and here.
21465 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
21466 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
21467 (ENTRY_2) [!ASSEMBLER]: Use it.
21468 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
21469 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
21470 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21471 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
21472 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
21473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
21474 Use PPC64_LOAD_FUNCPTR.
21476 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
21478 2013-12-04 Alan Modra <amodra@gmail.com>
21480 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
21481 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
21482 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
21483 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
21485 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
21486 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
21487 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
21488 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
21489 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
21490 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
21492 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21495 (__makecontext): Fix incorrect CFI when backtracing out of
21496 context created via makecontext.
21497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
21498 (__setcontext): Fix incorrect CFI during switch to new context.
21499 (__novec_setcontext): Likewise.
21501 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
21504 * time/strptime_l.c (__strptime_internal): Allow modifiers
21506 * time/tst-strptime.c (day_tests): Add testcase.
21508 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21510 * scripts/bench.pl: Skip over blank lines.
21512 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
21515 * manual/time.texi (Calendar Time): Clarify what timezone functions
21518 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21522 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
21524 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
21526 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
21527 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
21528 * debug/memset_chk.c (__memset_chk): Likewise.
21529 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
21530 * debug/strncpy_chk.c: Likewise.
21532 2013-12-03 Joseph Myers <joseph@codesourcery.com>
21536 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
21537 (__ieee754_exp): For possibly underflowing results, check size of
21538 result and force underflow exception if required.
21539 * math/auto-libm-test-in: Add more tests of exp.
21540 * math/auto-libm-test-out: Regenerated.
21541 * sysdeps/i386/fpu/libm-test-ulps: Update.
21542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21545 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
21546 * math/w_exp2f.c (__exp2f): Likewise.
21547 * math/w_exp2l.c (__exp2l): Likewise.
21548 * math/auto-libm-test-in: Do not allow missing errno on exp2
21550 * math/auto-libm-test-out: Regenerated.
21552 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
21555 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
21556 handle filename validation.
21557 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
21560 2013-12-03 Joseph Myers <joseph@codesourcery.com>
21563 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
21564 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
21565 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
21567 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
21568 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
21569 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21570 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
21571 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21572 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
21573 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21574 * math/auto-libm-test-in: Don't allow missing errno from erfc.
21575 Add more erfc tests.
21576 * math/auto-libm-test-out: Regenerated.
21577 * sysdeps/i386/fpu/libm-test-ulps: Update.
21578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21580 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
21581 exp2, expm1, j0 and j1.
21582 * math/auto-libm-test-out: Regenerated.
21583 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
21584 (erfc_test_data): Likewise.
21585 (exp_test_data): Likewise.
21586 (exp_tonearest_test_data): Likewise.
21587 (exp_towardzero_test_data): Likewise.
21588 (exp_downward_test_data): Likewise.
21589 (exp_upward_test_data): Likewise.
21590 (exp10_test_data): Likewise.
21591 (exp2_test_data): Likewise.
21592 (expm1_test_data): Likewise.
21593 (j0_test_data): Likewise.
21594 (j1_test_data): Likewise.
21595 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
21596 (input_flag_type): Add flag_xfail_rounding.
21597 (input_flags): Add xfail-rounding.
21598 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
21599 (output_for_one_input_case): Handle flag_xfail_rounding.
21600 * sysdeps/i386/fpu/libm-test-ulps: Update.
21601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21603 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
21606 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
21609 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21612 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
21613 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
21614 (STAP_PROBE0): New macro.
21615 (STAP_PROBE1): Likewise.
21616 (STAP_PROBE2): Likewise.
21617 (STAP_PROBE3): Likewise.
21618 (STAP_PROBE4): Likewise.
21620 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
21622 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
21624 2013-12-02 Steve Ellcey <sellcey@mips.com>
21626 * benchtests/Makefile (bench): Add sqrt.
21627 (LDLIBS-bench-sqrt): New.
21628 * benchtests/sqrt-input: New.
21630 2013-12-02 Pavel Simerda <psimerda@redhat.com>
21632 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
21633 (GAIH_EAI): Likewise.
21634 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
21635 (gaih_inet): Likewise.
21636 (getaddrinfo): Don't use GAIH_EAI.
21638 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
21639 (struct gaih): Remove definition.
21641 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21643 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
21644 Use HERRNOP directly.
21646 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21650 2013-11-30 Joseph Myers <joseph@codesourcery.com>
21652 * math/gen-auto-libm-tests.c (test_functions): Add more
21653 single-argument functions.
21654 (special_fill_pi_2): New function.
21655 (special_fill_minus_pi_2): Likewise.
21656 (special_fill_pi_6): Likewise.
21657 (special_fill_minus_pi_6): Likewise.
21658 (special_fill_pi_3): Likewise.
21659 (special_fill_2pi_3): Likewise.
21660 (special_fill_e): Likewise.
21661 (special_fill_1_e): Likewise.
21662 (special_fill_e_minus_1): Likewise.
21663 (special_real_inputs): Add more special inputs.
21664 (output_for_one_input_case): Do not require ERANGE on underflow to
21665 zero if round-to-nearest result does not underflow to zero, unless
21666 exact results required.
21667 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
21668 atan, atanh, cbrt, cos and cosh.
21669 * math/auto-libm-test-out: Regenerated.
21670 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
21671 (acos_tonearest_test_data): Likewise.
21672 (acos_towardzero_test_data): Likewise.
21673 (acos_downward_test_data): Likewise.
21674 (acos_upward_test_data): Likewise.
21675 (acosh_test_data): Likewise.
21676 (asin_test_data): Likewise.
21677 (asin_tonearest_test_data): Likewise.
21678 (asin_towardzero_test_data): Likewise.
21679 (asin_upward_test_data): Likewise.
21680 (asinh_test_data): Likewise.
21681 (atan_test_data): Likewise.
21682 (atanh_test_data): Likewise.
21683 (cbrt_test_data): Likewise.
21684 (cos_test_data): Likewise.
21685 (cos_tonearest_test_data): Likewise.
21686 (cos_towardzero_test_data): Likewise.
21687 (cos_downward_test_data): Likewise.
21688 (cos_upward_test_data): Likewise.
21689 (cosh_test_data): Likewise.
21690 (cosh_tonearest_test_data): Likewise.
21691 (cosh_towardzero_test_data): Likewise.
21692 (cosh_downward_test_data): Likewise.
21693 (cosh_upward_test_data): Likewise.
21694 * sysdeps/i386/fpu/libm-test-ulps: Update.
21695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21697 2013-11-29 Joseph Myers <joseph@codesourcery.com>
21700 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
21701 * math/w_exp10f.c (__exp10f): Likewise.
21702 * math/w_exp10l.c (__exp10l): Likewise.
21703 * math/libm-test.inc (exp10_test_data): Add more tests and expect
21704 errno settings in existing tests.
21707 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
21708 precision control set to double precision.
21709 * sysdeps/i386/fpu/w_sqrt.c: New file.
21710 * math/auto-libm-test-in: Add more tests.
21711 * math/auto-libm-test-out: Update.
21713 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
21714 (sqrt_test_tonearest): New function.
21715 (sqrt_towardzero_test_data): New variable.
21716 (sqrt_test_towardzero): New function.
21717 (sqrt_downward_test_data): New variable.
21718 (sqrt_test_downward): New function.
21719 (sqrt_upward_test_data): New variable.
21720 (sqrt_test_upward): New function.
21721 (main): Call the new functions.
21723 * math/gen-auto-libm-tests.c: New file.
21724 * math/auto-libm-test-in: Likewise.
21725 * math/auto-libm-test-out: New generated file.
21726 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
21728 (%beautify): Add generated representations of zero.
21729 (top level): Set $auto_input and call parse_auto_input.
21730 (beautify): Remove trailing "f" from hex float constants.
21731 (parse_args): Handle XFAIL_TEST.
21732 (convert_condition): New function.
21733 (or_value): Likewise.
21734 (or_cond_value): Likewise.
21735 (generate_testfile): Handle AUTO_TESTS_* lines.
21736 (parse_auto_input): New function.
21737 * math/libm-test.inc (XFAIL_TEST): New macro.
21738 (ERRNO_UNCHANGED): Update value.
21739 (ERRNO_EDOM): Likewise.
21740 (ERRNO_ERANGE): Likewise.
21741 (IGNORE_RESULT): Likewise.
21742 (TEST_COND_flt_32): New macro.
21743 (TEST_COND_dbl_64): Likewise.
21744 (TEST_COND_ldbl_96_intel): Likewise.
21745 (TEST_COND_ldbl_96_m68k): Likewise.
21746 (TEST_COND_ldbl_128): Likewise.
21747 (TEST_COND_ldbl_128ibm): Likewise.
21748 (TEST_COND_long32): Likewise.
21749 (TEST_COND_long64): Likewise.
21750 (TEST_COND_before_rounding): Likewise.
21751 (TEST_COND_after_rounding): Likewise.
21752 (enable_test): Handle XFAIL_TEST flag.
21753 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
21754 with finite results.
21755 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
21756 auto-libm-test-out.
21758 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21759 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21762 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
21763 __tls_get_addr_internal instead of __tls_get_offset in order to
21764 avoid GOT pointer dependency. Make rtld export
21765 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
21766 __tls_get_addr since we are a __tls_get_offset platform.
21767 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21768 GOT pointer being set up before.
21769 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21771 2013-11-28 Joseph Myers <joseph@codesourcery.com>
21773 * manual/math.texi (Errors in Math Functions): Document accuracy
21777 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21778 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21779 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21780 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21781 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21782 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21783 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21784 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21785 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21786 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21787 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21788 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21789 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21790 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21791 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21792 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21794 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21795 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21796 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21797 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21798 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21800 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21802 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21804 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21805 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21806 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21807 atomic-feupdateenv and flt-rounds.
21808 * sysdeps/powerpc/nofpu/Versions (libc): Add
21809 __atomic_feholdexcept, __atomic_feclearexcept,
21810 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21811 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21812 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21813 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21814 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21819 * manual/arith.texi (FP Exceptions): Document that exceptions may
21820 not be raised when matherr is used.
21821 (Math Error Reporting): Document overflow in directed rounding
21822 modes. Document that errno may not be set when finite values are
21823 returned on overflow. Document intent to set errno on underflow
21824 only for underflow to zero.
21827 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21828 round-to-nearest then adjust result for other rounding modes.
21829 * include/fenv.h (fegetround): Use libm_hidden_proto.
21830 * math/fegetround.c (fegetround): Use libm_hidden_def.
21831 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21832 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21833 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21834 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21836 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21837 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21838 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21839 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21841 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21844 * nss/Versions (libnss_files): Add
21845 _nss_files_gethostbyname3_r.
21846 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21848 (HOST_DB_LOOKUP): Remove macro.
21849 (_nss_files_gethostbyname_r): Implement function without the
21850 HOST_DB_LOOKUP macro.
21851 (_nss_files_gethostbyname2_r): Likewise.
21853 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
21855 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
21857 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
21859 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
21860 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
21863 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21865 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
21866 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
21867 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21868 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21869 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
21870 __fe_nomask_env_priv and attribute_hidden.
21871 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
21872 (libc_feupdateenv_test_ppc): Likewise.
21873 (libc_feresetround_ppc): Likewise.
21874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21875 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
21876 compat_symbol macro.
21877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21878 (__fe_nomask_env): Likewise.
21879 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
21881 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
21883 * string/Makefile: Remove ifunc tests.
21884 * string/test-string.h: Define TEST_IFUNC.
21885 * string/test-bcopy-ifunc.c: Remove.
21886 * string/test-bzero-ifunc.c: Likewise.
21887 * string/test-memccpy-ifunc.c: Likewise.
21888 * string/test-memchr-ifunc.c: Likewise.
21889 * string/test-memcmp-ifunc.c: Likewise.
21890 * string/test-memcpy-ifunc.c: Likewise.
21891 * string/test-memmem-ifunc.c: Likewise.
21892 * string/test-memmove-ifunc.c: Likewise.
21893 * string/test-mempcpy-ifunc.c: Likewise.
21894 * string/test-memrchr-ifunc.c: Likewise.
21895 * string/test-memset-ifunc.c: Likewise.
21896 * string/test-rawmemchr-ifunc.c: Likewise.
21897 * string/test-stpcpy-ifunc.c: Likewise.
21898 * string/test-stpncpy-ifunc.c: Likewise.
21899 * string/test-strcasecmp-ifunc.c: Likewise.
21900 * string/test-strcasestr-ifunc.c: Likewise.
21901 * string/test-strcat-ifunc.c: Likewise.
21902 * string/test-strchr-ifunc.c: Likewise.
21903 * string/test-strchrnul-ifunc.c: Likewise.
21904 * string/test-strcmp-ifunc.c: Likewise.
21905 * string/test-strcpy-ifunc.c: Likewise.
21906 * string/test-strcspn-ifunc.c: Likewise.
21907 * string/test-strlen-ifunc.c: Likewise.
21908 * string/test-strncasecmp-ifunc.c: Likewise.
21909 * string/test-strncat-ifunc.c: Likewise.
21910 * string/test-strncmp-ifunc.c: Likewise.
21911 * string/test-strncpy-ifunc.c: Likewise.
21912 * string/test-strnlen-ifunc.c: Likewise.
21913 * string/test-strpbrk-ifunc.c: Likewise.
21914 * string/test-strrchr-ifunc.c: Likewise.
21915 * string/test-strspn-ifunc.c: Likewise.
21916 * string/test-strstr-ifunc.c: Likewise.
21918 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
21920 * benchtests/Makefile: Remove ifunc tests.
21921 * benchtests/bench-string.h: Define TEST_IFUNC.
21922 * benchtests/bench-bcopy-ifunc.c: Remove.
21923 * benchtests/bench-bzero-ifunc.c: Likewise.
21924 * benchtests/bench-memccpy-ifunc.c: Likewise.
21925 * benchtests/bench-memchr-ifunc.c: Likewise.
21926 * benchtests/bench-memcmp-ifunc.c: Likewise.
21927 * benchtests/bench-memcpy-ifunc.c: Likewise.
21928 * benchtests/bench-memmem-ifunc.c: Likewise.
21929 * benchtests/bench-memmove-ifunc.c: Likewise.
21930 * benchtests/bench-mempcpy-ifunc.c: Likewise.
21931 * benchtests/bench-memrchr-ifunc.c: Likewise.
21932 * benchtests/bench-memset-ifunc.c: Likewise.
21933 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21934 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21935 * benchtests/bench-stpcpy-ifunc.c: Likewise.
21936 * benchtests/bench-stpncpy-ifunc.c: Likewise.
21937 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21938 * benchtests/bench-strcasestr-ifunc.c: Likewise.
21939 * benchtests/bench-strcat-ifunc.c: Likewise.
21940 * benchtests/bench-strchr-ifunc.c: Likewise.
21941 * benchtests/bench-strchrnul-ifunc.c: Likewise.
21942 * benchtests/bench-strcmp-ifunc.c: Likewise.
21943 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21944 * benchtests/bench-strcpy-ifunc.c: Likewise.
21945 * benchtests/bench-strcspn-ifunc.c: Likewise.
21946 * benchtests/bench-strlen-ifunc.c: Likewise.
21947 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21948 * benchtests/bench-strncat-ifunc.c: Likewise.
21949 * benchtests/bench-strncmp-ifunc.c: Likewise.
21950 * benchtests/bench-strncpy-ifunc.c: Likewise.
21951 * benchtests/bench-strnlen-ifunc.c: Likewise.
21952 * benchtests/bench-strpbrk-ifunc.c: Likewise.
21953 * benchtests/bench-strrchr-ifunc.c: Likewise.
21954 * benchtests/bench-strsep-ifunc.c: Likewise.
21955 * benchtests/bench-strspn-ifunc.c: Likewise.
21956 * benchtests/bench-strstr-ifunc.c: Likewise.
21958 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
21960 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21962 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
21964 * resolv/netdb.h: Use __glibc_reserved instead __unused.
21965 * rt/aio.h: Likewise.
21966 * sysdeps/gnu/bits/utmp.h: Likewise.
21967 * sysdeps/gnu/bits/utmpx.h: Likewise.
21968 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21969 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21970 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21971 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21972 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21973 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21974 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21975 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21976 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21977 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21978 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21979 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21980 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21982 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21983 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21984 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21985 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21986 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21987 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21988 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21989 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21990 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21991 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21992 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21993 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21994 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21995 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21996 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21997 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21998 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21999 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22000 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22001 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22002 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22003 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22004 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22005 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22006 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22007 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22008 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22009 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22011 2013-11-25 Carlos O'Donell <carlos@redhat.com>
22014 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
22015 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
22017 2013-11-25 Joseph Myers <joseph@codesourcery.com>
22019 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
22020 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22023 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22025 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
22026 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
22027 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
22028 (__fesetround): Remove define.
22029 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
22030 rounding and exceptions handling.
22031 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22032 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
22033 (__fe_nomask_env): Likewise.
22034 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
22035 __fegetround instead of fegetround.
22036 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22037 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
22039 2013-11-21 Roland McGrath <roland@hack.frob.com>
22041 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
22044 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22046 2013-11-21 Meador Inge <meadori@codesourcery.com>
22049 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22050 (encrypt_r): Likewise.
22051 * malloc/obstack.h (obstack_free): Likewise.
22052 * posix/unistd.h (encrypt): Likewise.
22054 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
22056 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22057 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22058 DL_CALL_DT_FINI() that call the functions directly.
22059 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22060 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22061 * elf/dl-fini.c: Likewise.
22063 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
22065 * malloc/hooks.c (memalign_check): Add alignment rounding.
22066 * malloc/malloc.c (_mid_memalign): New function.
22067 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22068 Implement by calling _mid_memalign.
22069 * manual/probes.texi (Memory Allocation Probes): Remove
22070 memory_valloc_retry and memory_pvalloc_retry.
22072 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22074 * locale/programs/locarchive.c (open_archive): Add const
22075 qualifier to ARCHIVEFNAME and copy default fname to
22079 * libio/tst-widetext.input: Rename Oriya to Odia.
22080 * locale/iso-639.def: Likewise.
22082 * manual/probes.texi (Mathematical Function Probes): Add
22083 documentation for sin, cos, asin and acos probes.
22084 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22085 (__sin32): Add slowasin probe.
22086 (__cos32): Add slowacos probe.
22087 (__mpsin): Add slowsin probe.
22088 (__mpcos): Add slowcos probe.
22090 2013-11-19 Joseph Myers <joseph@codesourcery.com>
22093 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22094 thread-local __sim_exceptions_thread and global
22095 __sim_exceptions_global.
22096 (__sim_disabled_exceptions): Change to thread-local
22097 __sim_disabled_exceptions_thread and global
22098 __sim_disabled_exceptions_global.
22099 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22100 and global __sim_round_mode_global.
22101 (__simulate_exceptions): Use thread-local floating-point state and
22102 set global state from it as needed.
22103 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22104 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22105 __sim_round_mode_thread.
22106 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22107 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22108 and global __sim_exceptions_global.
22109 (__sim_disabled_exceptions): Change to thread-local
22110 __sim_disabled_exceptions_thread and global
22111 __sim_disabled_exceptions_global.
22112 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22113 and global __sim_round_mode_global.
22114 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22115 (SIM_SET_GLOBAL): Likewise.
22116 * sysdeps/powerpc/soft-fp/sfp-machine.h
22117 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22118 __sim_round_mode_thread.
22119 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22120 __sim_disabled_exceptions_thread.
22121 (__sim_exceptions): Change to __sim_exceptions_thread.
22122 (__sim_disabled_exceptions): Change to
22123 __sim_disabled_exceptions_thread.
22124 (__sim_round_mode): Change to __sim_round_mode_thread.
22125 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22126 thread-local floating-point state and set global state from it as
22128 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22129 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22130 (__sim_disabled_exceptions): Remove extern declaration.
22131 (feenableexcept): Use thread-local floating-point state and set
22132 global state from it as needed.
22133 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22134 extern declaration.
22135 (__sim_disabled_exceptions): Likewise.
22136 (__sim_round_mode): Likewise.
22137 (__fegetenv): Use thread-local floating-point state.
22138 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22139 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22140 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22141 floating-point state and set global state from it as needed.
22142 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22143 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22144 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22146 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22147 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22149 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22150 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22151 Use __sim_round_mode_thread.
22152 * math/test-fenv-tls.c: New file.
22153 * math/Makefile (tests): Add test-fenv-tls.
22154 ($(objpfx)test-fenv-tls): Depend on
22155 $(common-objpfx)nptl/libpthread.so.
22157 2013-11-19 Andreas Schwab <schwab@suse.de>
22159 * locale/programs/locale.c (show_info): Decode wordarray elements.
22160 * locale/categories.def (LC_MONETARY): Add element for
22161 _NL_MONETARY_CRNCYSTR.
22162 * locale/C-monetary.c (conversion_rate): New variable.
22163 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22166 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
22168 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22169 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22171 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22173 * elf/Makefile (tst-auxv): New test.
22174 * elf/tst-auxv.c: New
22175 * elf/rtld.c (dl_main): Adjust AT_EXECFN
22177 2013-11-18 Joseph Myers <joseph@codesourcery.com>
22179 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22180 (hidden_proto): Caller changed.
22181 (hidden_tls_proto): New macro.
22182 (libc_hidden_tls_proto): Likewise.
22183 (rtld_hidden_tls_proto): Likewise.
22184 (libm_hidden_tls_proto): Likewise.
22185 (libresolv_hidden_tls_proto): Likewise.
22186 (librt_hidden_tls_proto): Likewise.
22187 (libdl_hidden_tls_proto): Likewise.
22188 (libnss_files_hidden_tls_proto): Likewise.
22189 (libnsl_hidden_tls_proto): Likewise.
22190 (libnss_nisplus_hidden_tls_proto): Likewise.
22191 (libutil_hidden_tls_proto): Likewise.
22193 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
22196 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22197 (decompose_rpath): Defer expansion to fillin_rpath.
22198 (_dl_init_paths): Pass linkmap to fillin_rpath.
22200 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22202 * benchtests/Makefile: Add strsep.
22203 * benchtests/bench-strsep.c: New file: strsep benchtest.
22204 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22206 2013-11-18 Andreas Schwab <schwab@suse.de>
22208 * locale/programs/locale.c (show_info) [case byte]: Check for
22209 '\377' instead of '\177'.
22210 * locale/C-monetary.c (not_available): Always use "\377".
22211 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22212 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
22213 detect unavailable sign_posn locale elements.
22214 * locale/localeconv.c (__localeconv): For grouping and
22215 mon_grouping handle "\177" and "\377" like no grouping.
22216 (INT_ELEM): New macro. Use it to set all numeric members.
22217 * locale/programs/ld-monetary.c (monetary_read)
22218 <tok_mon_grouping>: Normalize single -1 to the empty string.
22219 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22222 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
22225 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22226 when we match (nil).
22227 * stdio-common/tst-sscanf.c (struct test): Add testcase.
22229 2013-11-16 Joseph Myers <joseph@codesourcery.com>
22231 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22232 (NO_TEST_INLINE): Update value.
22233 (ERRNO_UNCHANGED): Likewise.
22234 (ERRNO_EDOM): Likewise.
22235 (ERRNO_ERANGE): Likewise.
22236 (IGNORE_RESULT): Likewise.
22237 (check_float_internal): Check signs of NaN results if
22238 TEST_NAN_SIGN used.
22239 (check_complex): Pass TEST_NAN_SIGN flag through to second
22240 check_float_internal call.
22241 (copysign_test_data): Add tests with quiet NaNs as second
22242 argument. Use TEST_NAN_SIGN.
22243 (fabs_test_data): Add test of negative quiet NaN argument. Use
22245 (signbit_test_data): Add tests of quiet NaN argument.
22246 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22248 * math/gen-libm-test.pl (show_exceptions): Take extra argument
22250 (parse_args): Handle function results specified as IGNORE.
22251 * math/libm-test.inc (IGNORE_RESULT): New macro.
22252 (check_float_internal): Do not check numerical result if flag
22254 (check_complex): Pass through IGNORE_RESULT to second
22255 check_float_internal call.
22256 (check_int): Do not check numerical result if flag IGNORE_RESULT
22258 (check_long): Likewise.
22259 (check_bool): Likewise.
22260 (check_longlong): Likewise.
22261 (lrint_test_data): Add tests of infinite and NaN arguments.
22262 (lrint_tonearest_test_data): Likewise.
22263 (lrint_towardzero_test_data): Likewise.
22264 (lrint_downward_test_data): Likewise.
22265 (lrint_upward_test_data): Likewise.
22266 (llrint_test_data): Likewise.
22267 (llrint_tonearest_test_data): Likewise.
22268 (llrint_towardzero_test_data): Likewise.
22269 (llrint_downward_test_data): Likewise.
22270 (llrint_upward_test_data): Likewise.
22271 (lround_test_data): Likewise.
22272 (llround_test_data): Likewise.
22274 * math/libm-test.inc (NO_TEST_INLINE): New macro.
22275 (ERRNO_UNCHANGED): Update value.
22276 (ERRNO_EDOM): Likewise.
22277 (ERRNO_ERANGE): Likewise.
22278 (NO_TEST_INLINE_FLOAT): New macro.
22279 (NO_TEST_INLINE_DOUBLE): Likewise.
22280 (enable_test): New function.
22281 (RUN_TEST_f_f): Check enable_test before running test.
22282 (RUN_TEST_2_f): Likewise.
22283 (RUN_TEST_fff_f): Likewise.
22284 (RUN_TEST_c_f): Likewise.
22285 (RUN_TEST_f_f1): Likewise.
22286 (RUN_TEST_fF_f1): Likewise.
22287 (RUN_TEST_fI_f1): Likewise.
22288 (RUN_TEST_ffI_f1): Likewise.
22289 (RUN_TEST_c_c): Likewise.
22290 (RUN_TEST_cc_c): Likewise.
22291 (RUN_TEST_f_i): Likewise.
22292 (RUN_TEST_f_i_tg): Likewise.
22293 (RUN_TEST_ff_i_tg): Likewise.
22294 (RUN_TEST_f_b): Likewise.
22295 (RUN_TEST_f_b_tg): Likewise.
22296 (RUN_TEST_f_l): Likewise.
22297 (RUN_TEST_f_L): Likewise.
22298 (RUN_TEST_fFF_11): Likewise.
22299 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
22301 (cosh_test_data): Likewise.
22302 (exp_test_data): Likewise.
22303 (expm1_test_data): Likewise.
22304 (hypot_test_data): Likewise.
22305 (pow_test_data): Likewise.
22306 (sinh_test_data): Likewise.
22307 (tanh_test_data): Likewise.
22308 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
22311 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
22312 tests with quiet NaN input and output.
22313 (acosh_test_data): Likewise.
22314 (asin_test_data): Likewise.
22315 (asinh_test_data): Likewise.
22316 (atan_test_data): Likewise.
22317 (atanh_test_data): Likewise.
22318 (atan2_test_data): Likewise.
22319 (cbrt_test_data): Likewise.
22320 (cos_test_data): Likewise.
22321 (cosh_test_data): Likewise.
22322 (erf_test_data): Likewise.
22323 (erfc_test_data): Likewise.
22324 (exp_test_data): Likewise.
22325 (exp10_test_data): Likewise.
22326 (exp2_test_data): Likewise.
22327 (expm1_test_data): Likewise.
22328 (hypot_test_data): Likewise.
22329 (j0_test_data): Likewise.
22330 (j1_test_data): Likewise.
22331 (jn_test_data): Likewise.
22332 (lgamma_test_data): Likewise.
22333 (log_test_data): Likewise.
22334 (log10_test_data): Likewise.
22335 (log1p_test_data): Likewise.
22336 (log2_test_data): Likewise.
22337 (pow_test_data): Likewise.
22338 (scalb_test_data): Likewise.
22339 (sin_test_data): Likewise.
22340 (sincos_test_data): Likewise.
22341 (sinh_test_data): Likewise.
22342 (tan_test_data): Likewise.
22343 (tanh_test_data): Likewise.
22344 (tgamma_test_data): Likewise.
22345 (y0_test_data): Likewise.
22346 (y1_test_data): Likewise.
22347 (yn_test_data): Likewise.
22350 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
22351 argument being NaN and avoid computations with second argument in
22353 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22354 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22355 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22357 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
22359 * locale/iso-639.def: Add Chitwani Tharu (the).
22361 2013-11-14 Andreas Schwab <schwab@suse.de>
22363 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
22364 word instead of empty string.
22366 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22369 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
22370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22371 (__fe_nomask_env): Likewise.
22373 2013-11-13 Steve Ellcey <sellcey@mips.com>
22375 * benchtests/bench-timing.h: Include time.h.
22377 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
22380 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
22382 * sysdeps/unix/sysv/linux/configure: Regenerated.
22384 2013-11-13 Joseph Myers <joseph@codesourcery.com>
22387 * stdlib/strtod_l.c (round_and_return): Do not consider
22388 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
22389 exponent one less than half the least subnormal exponent.
22390 * stdlib/test-strtod-round-data: Add more tests.
22391 * stdlib/tst-strtod-round.c (tests): Regenerated.
22393 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22396 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
22397 (__fe_mask_env): Likewise.
22398 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
22399 libm_hidden_proto and add function prototype.
22400 (__fe_mask_env): Add function prototype.
22401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22402 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
22403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22404 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
22405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22406 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
22408 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22410 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
22411 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
22413 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22415 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
22416 of htab_find_slot().
22418 2013-11-11 David S. Miller <davem@davemloft.net>
22421 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
22422 symbol in the non-vis3 case in static builds.
22423 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
22424 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
22425 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
22426 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
22428 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22431 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
22434 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22436 * benchtests/Makefile: Add bench-strtod.
22437 * benchtests/bench-strtod.c: New file: strtod benchtest
22439 2013-11-11 Andreas Schwab <schwab@suse.de>
22442 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
22443 terminating NUL in key length.
22445 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22447 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22448 Add artificial ODP entry for vDSO symbol for PPC64.
22449 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
22450 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22452 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
22455 * nss/getent.c (services_keys): Recognize services starting with digit.
22457 2013-11-06 David S. Miller <davem@davemloft.net>
22460 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
22461 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
22463 2013-11-06 Will Newton <will.newton@linaro.org>
22465 * manual/memory.texi (Malloc Examples): Remove register
22466 keyword from examples.
22468 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
22470 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
22472 2013-11-04 Joseph Myers <joseph@codesourcery.com>
22475 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
22476 depending on [__GCC_IEC_559 > 0].
22477 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
22478 depending on [__GCC_IEC_559_COMPLEX > 0].
22480 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
22482 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
22485 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
22487 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
22489 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
22492 * malloc/malloc (malloc_info): Do not handle first bin as
22495 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
22497 * locale/iso-639.def: Add Central Nahuatl (nhn).
22499 2013-11-01 Bruno Haible <bruno@clisp.org>
22502 * manual/math.texi (BSD Random): Specify range upper bound as
22505 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
22507 * locale/iso-639.def: Add Meadow Mari (mhr).
22509 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
22511 [BZ #14752], [BZ #15763]
22512 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
22514 * rt/tst_shm.c: Add test for escaping directory.
22516 2013-10-31 Andreas Schwab <schwab@suse.de>
22519 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
22520 followed by 'x' as part of digit sequence.
22521 * stdio-common/tst-sscanf.c (double_tests2): New tests.
22523 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
22526 * configure.ac: allow GNU Make 4.0 and greater.
22527 * configure: Regenerated.
22529 2013-10-30 Will Newton <will.newton@linaro.org>
22532 * malloc/hooks.c (memalign_check): Limit alignment to the
22533 maximum representable power of two.
22534 * malloc/malloc.c (__libc_memalign): Likewise.
22535 * malloc/tst-memalign.c (do_test): Add test for very
22536 large alignment values.
22537 * malloc/tst-posix_memalign.c (do_test): Likewise.
22539 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
22542 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
22543 (munmap_chunk): Likewise.
22544 (mremap_chunk): Likewise.
22546 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
22549 * stdlib/div.c (div): Remove obsolete code.
22550 * stdlib/ldiv.c (ldiv): Likewise.
22551 * stdlib/lldiv.c (lldiv): Likewise.
22553 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22556 * nss/nss_files/files-XXX.c (get_contents_ret): New
22558 (get_contents): New function.
22559 (internal_getent): Use it. Expand size of LINEBUFLEN.
22561 2013-10-30 Mike Frysinger <vapier@gentoo.org>
22563 * configure.in: Moved to ...
22564 * configure.ac: ... here. Change reference to configure.in
22566 * sysdeps/arm/preconfigure.ac: ... here.
22567 configure.in to configure.ac.
22568 * sysdeps/gnu/configure.in: Moved to ...
22569 * sysdeps/gnu/configure.ac: ... here.
22570 * sysdeps/i386/configure.in: Moved to ...
22571 * sysdeps/i386/configure.ac: ... here.
22572 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
22573 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
22574 * sysdeps/mach/configure.in: Moved to ...
22575 * sysdeps/mach/configure.ac: ... here.
22576 * sysdeps/mach/hurd/configure.in: Moved to ...
22577 * sysdeps/mach/hurd/configure.ac: ... here.
22578 * sysdeps/powerpc/configure.in: Moved to ...
22579 * sysdeps/powerpc/configure.ac: ... here.
22580 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
22581 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
22582 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
22583 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
22584 * sysdeps/s390/s390-32/configure.in: Moved to ...
22585 * sysdeps/s390/s390-32/configure.ac: ... here.
22586 * sysdeps/s390/s390-64/configure.in: Moved to ...
22587 * sysdeps/s390/s390-64/configure.ac: ... here.
22588 * sysdeps/sh/configure.in: Moved to ...
22589 * sysdeps/sh/configure.ac: ... here.
22590 * sysdeps/sparc/configure.in: Moved to ...
22591 * sysdeps/sparc/configure.ac: ... here.
22592 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
22593 * sysdeps/unix/sysv/linux/configure.ac: ... here.
22594 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
22595 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
22596 * sysdeps/x86_64/configure.in: Moved to ...
22597 * sysdeps/x86_64/configure.ac: ... here.
22598 * sysdeps/x86_64/preconfigure.in: Moved to ...
22599 * sysdeps/x86_64/preconfigure.ac: ... here.
22600 * aclocal.m4: Change reference to configure.in to configure.ac.
22601 * config.h.in: Likewise.
22602 * manual/install.texi: Likewise.
22603 * manual/maint.texi: Likewise.
22604 * Makefile: Likewise.
22605 * malloc/Makefile: Likewise.
22606 * nscd/Makefile: Likewise.
22607 * Makeconfig: Change reference to configure.in and
22608 preconfigure.in to configure.ac and preconfigure.ac
22610 * INSTALL: Regenerated.
22611 * configure: Likewise.
22612 * sysdeps/gnu/configure: Likewise.
22613 * sysdeps/i386/configure: Likewise.
22614 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
22615 * sysdeps/mach/configure: Likewise.
22616 * sysdeps/mach/hurd/configure: Likewise.
22617 * sysdeps/powerpc/configure: Likewise.
22618 * sysdeps/powerpc/powerpc32/configure: Likewise.
22619 * sysdeps/powerpc/powerpc64/configure: Likewise.
22620 * sysdeps/s390/s390-32/configure: Likewise.
22621 * sysdeps/s390/s390-64/configure: Likewise.
22622 * sysdeps/sh/configure: Likewise.
22623 * sysdeps/sparc/configure: Likewise.
22624 * sysdeps/unix/sysv/linux/configure: Likewise.
22625 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
22626 * sysdeps/x86_64/configure: Likewise.
22627 * sysdeps/x86_64/preconfigure: Likewise.
22629 2013-10-29 Andreas Schwab <schwab@suse.de>
22631 * stdio-common/Makefile (tst-swscanf-ENV): Define.
22633 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22635 * benchtests/pow-inputs: Add new inputs.
22637 * benchtests/exp-inputs: Add new inputs.
22639 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
22640 conditional check for return value.
22641 (__cos32): Likewise.
22643 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22645 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
22646 to provide a boost for large inputs with word alignment.
22647 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
22648 implementation based on optimized PPC64 strcpy.
22649 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
22650 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
22651 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
22652 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
22654 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
22657 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
22659 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
22662 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
22663 * time/tst-strptime.c (day_tests): Add testcase.
22665 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
22668 * manual/pattern.texi: Acknowledge that fnmatch can fail.
22670 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
22673 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
22674 MAP_FAILED on error.
22676 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22679 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
22680 heap for large requests.
22682 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
22685 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
22686 result if the result has no associated interface.
22687 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
22688 interface for all 127.X.Y.Z addresses.
22690 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
22692 * locale/iso-639.def: Add Ligurian (lij)
22694 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
22697 * sunrpc/rpc_main.c: Document rpcgen -5.
22699 2013-10-19 Michael Stahl <mstahl@redhat.com>
22701 * elf/rtld.c (do_preload): Print the reason why preloading failed.
22703 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
22706 * posix/glob.c: Match only directories when trailing slash is present.
22707 * posix/tst-gnuglob.c (my_opendir): Do not open files.
22708 (main): Add testcase.
22710 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
22713 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22715 2013-10-18 Carlos O'Donell <carlos@redhat.com>
22717 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
22718 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
22719 AUTH_DES and cindex for FIPS 140-2.
22720 (DES Encryption): Add cindex FIPS 46-3.
22722 * locale/locarchive.h (struct locarhandle): Add fname.
22723 * locale/programs/localedef.c (main): Pass ARGV[remaining]
22724 if an optional argument was specified to --list-archive,
22726 * locale/programs/locarchive.c (show_archive_content): Take new
22727 argument fname and pass it via ah.fname to open_archive.
22728 * locale/programs/localedef.h: Update decl.
22729 (open_archive): If AH->fname is non-null, open that file
22730 rather than the default file name, and don't ignore ENOENT.
22731 (create_archive): Set AH.fname to NULL.
22732 (delete_locales_from_archive): Likewise.
22733 (add_locales_to_archive): Likewise.
22734 * locale/programs/locfile.c (write_all_categories): Likewise.
22736 2013-10-18 Joseph Myers <joseph@codesourcery.com>
22737 Aldy Hernandez <aldyh@redhat.com>
22739 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
22740 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22741 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
22742 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
22743 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
22744 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
22745 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
22746 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
22747 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
22748 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
22749 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
22750 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
22751 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
22752 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
22753 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
22755 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
22757 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
22759 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
22761 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
22762 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
22764 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
22765 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
22766 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
22767 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22769 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22770 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22771 * sysdeps/powerpc/preconfigure: Likewise.
22772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22774 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22775 Replace contents of file by #include of <fenv_libc.h>.
22776 * sysdeps/powerpc/soft-fp/sfp-machine.h
22777 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22779 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22780 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22781 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22782 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22783 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22784 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22785 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22786 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22787 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22788 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22789 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22790 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22792 Allow copysignl PLT reference to be missing.
22794 2013-10-18 Richard Sandiford <richard@codesourcery.com>
22795 Joseph Myers <joseph@codesourcery.com
22798 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22800 (add_to_tablewc): Assert sequence of wide characters is nonempty.
22802 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22804 * elf/tst-tls-dlinfo.c: Don't include tls.h.
22805 * elf/tst-tls1.c: Likewise.
22806 * elf/tst-tls10.h: Likewise.
22807 * elf/tst-tls14.c: Likewise.
22808 * elf/tst-tls2.c: Likewise.
22809 * elf/tst-tls3.c: Likewise.
22810 * elf/tst-tls4.c: Likewise.
22811 * elf/tst-tls5.c: Likewise.
22812 * elf/tst-tls6.c: Likewise.
22813 * elf/tst-tls7.c: Likewise.
22814 * elf/tst-tls8.c: Likewise.
22815 * elf/tst-tls9.c: Likewise.
22816 * elf/tst-tlsmod1.c: Likewise.
22817 * elf/tst-tlsmod13.c: Likewise.
22818 * elf/tst-tlsmod13a.c: Likewise.
22819 * elf/tst-tlsmod14a.c: Likewise.
22820 * elf/tst-tlsmod16a.c: Likewise.
22821 * elf/tst-tlsmod16b.c: Likewise.
22822 * elf/tst-tlsmod2.c: Likewise.
22823 * elf/tst-tlsmod3.c: Likewise.
22824 * elf/tst-tlsmod4.c: Likewise.
22825 * elf/tst-tlsmod5.c: Likewise.
22826 * elf/tst-tlsmod6.c: Likewise.
22828 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
22831 * malloc/malloc.c: remove checks for statistics.
22833 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
22836 * inet/inet_net.c (inet_network): Detect additional invalid strings.
22837 * inet/tst-network.c: Add testcase.
22839 2013-10-17 Andreas Schwab <schwab@suse.de>
22842 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22843 to determine canonical name.
22845 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
22847 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22848 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22849 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22850 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22851 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22852 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22853 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22854 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22855 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22856 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22857 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22858 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22859 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22860 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22861 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22862 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22863 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22864 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22865 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22866 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22867 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22868 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22869 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22870 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
22871 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
22872 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22873 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22874 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
22875 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22876 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
22877 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22878 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22879 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22880 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22881 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22882 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22883 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22884 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22885 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22886 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22887 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22888 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22889 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22890 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22891 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22892 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22893 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22894 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22895 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22896 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22897 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22898 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22899 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22900 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22901 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22902 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22903 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22904 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22906 2013-10-17 Joseph Myers <joseph@codesourcery.com>
22909 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
22910 make result into a quiet NaN.
22912 2013-10-16 Joseph Myers <joseph@codesourcery.com>
22914 * soft-fp/adddf3.c: Fix horizontal whitespace.
22915 * soft-fp/addsf3.c: Likewise.
22916 * soft-fp/addtf3.c: Likewise.
22917 * soft-fp/divdf3.c: Likewise.
22918 * soft-fp/divsf3.c: Likewise.
22919 * soft-fp/divtf3.c: Likewise.
22920 * soft-fp/double.h: Likewise.
22921 * soft-fp/eqdf2.c: Likewise.
22922 * soft-fp/eqsf2.c: Likewise.
22923 * soft-fp/eqtf2.c: Likewise.
22924 * soft-fp/extenddftf2.c: Likewise.
22925 * soft-fp/extended.h: Likewise.
22926 * soft-fp/extendsfdf2.c: Likewise.
22927 * soft-fp/extendsftf2.c: Likewise.
22928 * soft-fp/extendxftf2.c: Likewise.
22929 * soft-fp/fixdfdi.c: Likewise.
22930 * soft-fp/fixdfsi.c: Likewise.
22931 * soft-fp/fixdfti.c: Likewise.
22932 * soft-fp/fixsfdi.c: Likewise.
22933 * soft-fp/fixsfsi.c: Likewise.
22934 * soft-fp/fixsfti.c: Likewise.
22935 * soft-fp/fixtfdi.c: Likewise.
22936 * soft-fp/fixtfsi.c: Likewise.
22937 * soft-fp/fixtfti.c: Likewise.
22938 * soft-fp/fixunsdfdi.c: Likewise.
22939 * soft-fp/fixunsdfsi.c: Likewise.
22940 * soft-fp/fixunsdfti.c: Likewise.
22941 * soft-fp/fixunssfdi.c: Likewise.
22942 * soft-fp/fixunssfsi.c: Likewise.
22943 * soft-fp/fixunssfti.c: Likewise.
22944 * soft-fp/fixunstfdi.c: Likewise.
22945 * soft-fp/fixunstfsi.c: Likewise.
22946 * soft-fp/fixunstfti.c: Likewise.
22947 * soft-fp/floatdidf.c: Likewise.
22948 * soft-fp/floatdisf.c: Likewise.
22949 * soft-fp/floatditf.c: Likewise.
22950 * soft-fp/floatsidf.c: Likewise.
22951 * soft-fp/floatsisf.c: Likewise.
22952 * soft-fp/floatsitf.c: Likewise.
22953 * soft-fp/floattidf.c: Likewise.
22954 * soft-fp/floattisf.c: Likewise.
22955 * soft-fp/floattitf.c: Likewise.
22956 * soft-fp/floatundidf.c: Likewise.
22957 * soft-fp/floatundisf.c: Likewise.
22958 * soft-fp/floatunditf.c: Likewise.
22959 * soft-fp/floatunsidf.c: Likewise.
22960 * soft-fp/floatunsisf.c: Likewise.
22961 * soft-fp/floatunsitf.c: Likewise.
22962 * soft-fp/floatuntidf.c: Likewise.
22963 * soft-fp/floatuntisf.c: Likewise.
22964 * soft-fp/floatuntitf.c: Likewise.
22965 * soft-fp/fmadf4.c: Likewise.
22966 * soft-fp/fmasf4.c: Likewise.
22967 * soft-fp/fmatf4.c: Likewise.
22968 * soft-fp/gedf2.c: Likewise.
22969 * soft-fp/gesf2.c: Likewise.
22970 * soft-fp/getf2.c: Likewise.
22971 * soft-fp/ledf2.c: Likewise.
22972 * soft-fp/lesf2.c: Likewise.
22973 * soft-fp/letf2.c: Likewise.
22974 * soft-fp/muldf3.c: Likewise.
22975 * soft-fp/mulsf3.c: Likewise.
22976 * soft-fp/multf3.c: Likewise.
22977 * soft-fp/negdf2.c: Likewise.
22978 * soft-fp/negsf2.c: Likewise.
22979 * soft-fp/negtf2.c: Likewise.
22980 * soft-fp/op-1.h: Likewise.
22981 * soft-fp/op-2.h: Likewise.
22982 * soft-fp/op-4.h: Likewise.
22983 * soft-fp/op-8.h: Likewise.
22984 * soft-fp/op-common.h: Likewise.
22985 * soft-fp/quad.h: Likewise.
22986 * soft-fp/single.h: Likewise.
22987 * soft-fp/soft-fp.h: Likewise.
22988 * soft-fp/sqrtdf2.c: Likewise.
22989 * soft-fp/sqrtsf2.c: Likewise.
22990 * soft-fp/sqrttf2.c: Likewise.
22991 * soft-fp/subdf3.c: Likewise.
22992 * soft-fp/subsf3.c: Likewise.
22993 * soft-fp/subtf3.c: Likewise.
22994 * soft-fp/truncdfsf2.c: Likewise.
22995 * soft-fp/trunctfdf2.c: Likewise.
22996 * soft-fp/trunctfsf2.c: Likewise.
22997 * soft-fp/trunctfxf2.c: Likewise.
22998 * soft-fp/unorddf2.c: Likewise.
22999 * soft-fp/unordsf2.c: Likewise.
23000 * soft-fp/unordtf2.c: Likewise.
23002 2013-10-15 Joseph Myers <joseph@codesourcery.com>
23004 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23005 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23007 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
23009 * elf/dl-libc.c: Clear initfini list after freeing.
23011 2013-10-14 Joseph Myers <joseph@codesourcery.com>
23013 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23014 * soft-fp/addsf3.c: Likewise.
23015 * soft-fp/addtf3.c: Likewise.
23016 * soft-fp/divdf3.c: Likewise.
23017 * soft-fp/divsf3.c: Likewise.
23018 * soft-fp/divtf3.c: Likewise.
23019 * soft-fp/double.h: Likewise.
23020 * soft-fp/eqdf2.c: Likewise.
23021 * soft-fp/eqsf2.c: Likewise.
23022 * soft-fp/eqtf2.c: Likewise.
23023 * soft-fp/extenddftf2.c: Likewise.
23024 * soft-fp/extended.h: Likewise.
23025 * soft-fp/extendsfdf2.c: Likewise.
23026 * soft-fp/extendsftf2.c: Likewise.
23027 * soft-fp/extendxftf2.c: Likewise.
23028 * soft-fp/fixdfdi.c: Likewise.
23029 * soft-fp/fixdfsi.c: Likewise.
23030 * soft-fp/fixdfti.c: Likewise.
23031 * soft-fp/fixsfdi.c: Likewise.
23032 * soft-fp/fixsfsi.c: Likewise.
23033 * soft-fp/fixsfti.c: Likewise.
23034 * soft-fp/fixtfdi.c: Likewise.
23035 * soft-fp/fixtfsi.c: Likewise.
23036 * soft-fp/fixtfti.c: Likewise.
23037 * soft-fp/fixunsdfdi.c: Likewise.
23038 * soft-fp/fixunsdfsi.c: Likewise.
23039 * soft-fp/fixunsdfti.c: Likewise.
23040 * soft-fp/fixunssfdi.c: Likewise.
23041 * soft-fp/fixunssfsi.c: Likewise.
23042 * soft-fp/fixunssfti.c: Likewise.
23043 * soft-fp/fixunstfdi.c: Likewise.
23044 * soft-fp/fixunstfsi.c: Likewise.
23045 * soft-fp/fixunstfti.c: Likewise.
23046 * soft-fp/floatdidf.c: Likewise.
23047 * soft-fp/floatdisf.c: Likewise.
23048 * soft-fp/floatditf.c: Likewise.
23049 * soft-fp/floatsidf.c: Likewise.
23050 * soft-fp/floatsisf.c: Likewise.
23051 * soft-fp/floatsitf.c: Likewise.
23052 * soft-fp/floattidf.c: Likewise.
23053 * soft-fp/floattisf.c: Likewise.
23054 * soft-fp/floattitf.c: Likewise.
23055 * soft-fp/floatundidf.c: Likewise.
23056 * soft-fp/floatundisf.c: Likewise.
23057 * soft-fp/floatunsidf.c: Likewise.
23058 * soft-fp/floatunsisf.c: Likewise.
23059 * soft-fp/floatuntidf.c: Likewise.
23060 * soft-fp/floatuntisf.c: Likewise.
23061 * soft-fp/floatuntitf.c: Likewise.
23062 * soft-fp/fmadf4.c: Likewise.
23063 * soft-fp/fmasf4.c: Likewise.
23064 * soft-fp/fmatf4.c: Likewise.
23065 * soft-fp/gedf2.c: Likewise.
23066 * soft-fp/gesf2.c: Likewise.
23067 * soft-fp/getf2.c: Likewise.
23068 * soft-fp/ledf2.c: Likewise.
23069 * soft-fp/lesf2.c: Likewise.
23070 * soft-fp/letf2.c: Likewise.
23071 * soft-fp/muldf3.c: Likewise.
23072 * soft-fp/mulsf3.c: Likewise.
23073 * soft-fp/multf3.c: Likewise.
23074 * soft-fp/negdf2.c: Likewise.
23075 * soft-fp/negsf2.c: Likewise.
23076 * soft-fp/negtf2.c: Likewise.
23077 * soft-fp/op-1.h: Likewise.
23078 * soft-fp/op-2.h: Likewise.
23079 * soft-fp/op-4.h: Likewise.
23080 * soft-fp/op-8.h: Likewise.
23081 * soft-fp/op-common.h: Likewise.
23082 * soft-fp/quad.h: Likewise.
23083 * soft-fp/single.h: Likewise.
23084 * soft-fp/soft-fp.h: Likewise.
23085 * soft-fp/sqrtdf2.c: Likewise.
23086 * soft-fp/sqrtsf2.c: Likewise.
23087 * soft-fp/sqrttf2.c: Likewise.
23088 * soft-fp/subdf3.c: Likewise.
23089 * soft-fp/subsf3.c: Likewise.
23090 * soft-fp/subtf3.c: Likewise.
23091 * soft-fp/truncdfsf2.c: Likewise.
23092 * soft-fp/trunctfdf2.c: Likewise.
23093 * soft-fp/trunctfsf2.c: Likewise.
23094 * soft-fp/trunctfxf2.c: Likewise.
23095 * soft-fp/unorddf2.c: Likewise.
23096 * soft-fp/unordsf2.c: Likewise.
23097 * soft-fp/unordtf2.c: Likewise.
23099 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
23102 * misc/error.c (error_tail): Fix possible buffer overflow.
23104 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
23107 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23110 2013-10-14 P. J. McDermott <pj@pehjota.net>
23113 * elf/ldd.bash.in (try_trace): New function. Delete previous code
23114 testing pipefail option.
23116 2013-10-12 Joseph Myers <joseph@codesourcery.com>
23118 * soft-fp/double.h: Indent preprocessor directives inside #if.
23119 * soft-fp/extended.h: Likewise.
23120 * soft-fp/op-2.h: Likewise.
23121 * soft-fp/op-4.h: Likewise.
23122 * soft-fp/op-common.h: Likewise.
23123 * soft-fp/quad.h: Likewise.
23124 * soft-fp/single.h: Likewise.
23125 * soft-fp/soft-fp.h: Likewise.
23127 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
23129 * iconv/iconv_prog.c: Fix typos.
23130 * stdio-common/psiginfo-data.h: Likewise.
23132 2013-10-12 Reuben Thomas <rrt@sc3d.org>
23135 * locale/setlocale.c: Fix typo.
23137 2013-10-12 Joseph Myers <joseph@codesourcery.com>
23140 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23141 signaling NaN arguments.
23142 * soft-fp/unordsf2.c (__unordsf2): Likewise.
23143 * soft-fp/unordtf2.c (__unordtf2): Likewise.
23146 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23147 unordered operands.
23148 * soft-fp/gesf2.c (__gesf2): Likewise.
23149 * soft-fp/getf2.c (__getf2): Likewise.
23150 * soft-fp/ledf2.c (__ledf2): Likewise.
23151 * soft-fp/lesf2.c (__lesf2): Likewise.
23152 * soft-fp/letf2.c (__letf2): Likewise.
23154 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23155 * soft-fp/eqsf2.c (__eqsf2): Likewise.
23156 * soft-fp/eqtf2.c (__eqtf2): Likewise.
23157 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23158 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23159 * soft-fp/fixdfti.c (__fixdfti): Likewise.
23160 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23161 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
23162 * soft-fp/fixsfti.c (__fixsfti): Likewise.
23163 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23164 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23165 * soft-fp/fixtfti.c (__fixtfti): Likewise.
23166 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23167 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23168 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23169 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23170 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23171 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23172 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23173 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23174 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23175 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23176 * soft-fp/floatdisf.c (__floatdisf): Likewise.
23177 * soft-fp/floatsisf.c (__floatsisf): Likewise.
23178 * soft-fp/floattidf.c (__floattidf): Likewise.
23179 * soft-fp/floattisf.c (__floattisf): Likewise.
23180 * soft-fp/floattitf.c (__floattitf): Likewise.
23181 * soft-fp/floatundidf.c (__floatundidf): Likewise.
23182 * soft-fp/floatundisf.c (__floatundisf): Likewise.
23183 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23184 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23185 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23186 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23187 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
23188 * soft-fp/gesf2.c (__gesf2): Likewise.
23189 * soft-fp/getf2.c (__getf2): Likewise.
23190 * soft-fp/ledf2.c (__ledf2): Likewise.
23191 * soft-fp/lesf2.c (__lesf2): Likewise.
23192 * soft-fp/letf2.c (__letf2): Likewise.
23194 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23195 Undefine and redefine.
23196 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23197 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23198 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23199 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23200 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23201 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23202 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23203 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23204 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23205 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23206 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23207 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23208 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23209 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23210 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23213 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23214 without decrementing exponent if mantissa >= that for the
23215 denominator, not >.
23216 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23217 denominator, not >. Decrement exponent in < case instead of
23218 incrementing in >= case.
23219 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23220 without decrementing exponent if mantissa >= that for the
23221 denominator, not >.
23223 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23224 computing saturated result for unsigned overflow.
23226 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23227 Jeff Law <law@redhat.com>
23229 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23230 (atan2Mp): Add systemtap probe marker.
23231 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23232 (__ieee754_log): Add systemtap probe marker.
23233 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23234 (atanMp): Add systemtap probe marker.
23235 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23236 (tanMp): Add systemtap probe marker.
23237 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23238 (__slowexp): Add systemtap probe marker.
23239 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23240 (__slowpow): Add systemtap probe marker.
23241 * manual/probes.texi: Document probes.
23243 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
23246 * libio/fileops.c (_IO_new_file_write): Return count of bytes
23248 (_IO_new_file_xsputn): Don't return EOF if nothing has been
23250 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23251 written to buffer but not flushed.
23252 * libio/iofwrite_u.c: Likewise.
23253 * libio/iopadn.c: Return bytes returned even if EOF was
23255 * libio/iowpadn.c: Likewise.
23256 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
23257 if _IO_padn does not write the whole buffer.
23258 [!COMPILE_WPRINTF] (PAD): Likewise.
23260 2013-10-10 David S. Miller <davem@davemloft.net>
23262 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
23265 2013-10-10 Joseph Myers <joseph@codesourcery.com>
23267 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
23268 instead of FSF address.
23269 * soft-fp/fixdfti.c: Likewise.
23270 * soft-fp/fixsfti.c: Likewise.
23271 * soft-fp/fixtfti.c: Likewise.
23272 * soft-fp/fixunsdfti.c: Likewise.
23273 * soft-fp/fixunssfti.c: Likewise.
23274 * soft-fp/fixunstfti.c: Likewise.
23275 * soft-fp/floattidf.c: Likewise.
23276 * soft-fp/floattisf.c: Likewise.
23277 * soft-fp/floattitf.c: Likewise.
23278 * soft-fp/floatuntidf.c: Likewise.
23279 * soft-fp/floatuntisf.c: Likewise.
23280 * soft-fp/floatuntitf.c: Likewise.
23281 * soft-fp/trunctfxf2.c: Likewise.
23283 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
23284 * soft-fp/fixdfti.c: Likewise.
23285 * soft-fp/fixsfti.c: Likewise.
23286 * soft-fp/fixtfti.c: Likewise.
23287 * soft-fp/fixunsdfti.c: Likewise.
23288 * soft-fp/fixunssfti.c: Likewise.
23289 * soft-fp/fixunstfti.c: Likewise.
23290 * soft-fp/floattidf.c: Likewise.
23291 * soft-fp/floattisf.c: Likewise.
23292 * soft-fp/floattitf.c: Likewise.
23293 * soft-fp/floatuntidf.c: Likewise.
23294 * soft-fp/floatuntisf.c: Likewise.
23295 * soft-fp/floatuntitf.c: Likewise.
23296 * soft-fp/trunctfxf2.c: Likewise.
23298 2013-10-10 David S. Miller <davem@davemloft.net>
23300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23302 2013-10-10 Joseph Myers <joseph@codsourcery.com>
23304 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23305 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
23306 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
23307 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
23308 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
23309 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
23310 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
23312 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
23313 for NaNs before doing comparisons on argument.
23314 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23317 2013-10-10 Will Newton <will.newton@linaro.org>
23319 * malloc/hooks.c (memalign_check): Ensure the value of bytes
23320 passed to _int_memalign does not overflow.
23322 2013-10-10 Torvald Riegel <triegel@redhat.com>
23324 * scripts/bench.pl: Add include-sources directive.
23325 * benchtests/README: Update documentation.
23327 2013-10-10 Joseph Myers <joseph@codesourcery.com>
23329 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
23330 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
23331 instead of FP_INIT_ROUNDMODE.
23332 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
23333 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
23336 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
23337 copy class of input value.
23338 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
23339 not handle exceptions.
23340 * soft-fp/negsf2.c (__negsf2): Likewise.
23341 * soft-fp/negtf2.c (__negtf2): Likewise.
23342 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
23344 2013-10-09 Joseph Myers <joseph@codesourcery.com>
23346 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
23347 semicolon. From Linux kernel.
23349 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
23351 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
23353 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
23356 * manual/socket.texi: Added statement about buffer
23357 for gethostbyname2_r.
23359 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
23361 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
23362 Use .p2align directive instead, throughout.
23363 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23364 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23365 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
23366 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23367 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23368 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23369 * sysdeps/x86_64/strchr.S: Likewise.
23370 * sysdeps/x86_64/strrchr.S: Likewise.
23372 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23374 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
23376 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
23378 * sysdeps/generic/math_private.h (__mpsin1): Remove
23380 (__mpcos1): Likewise.
23381 (__mpsin): New argument __range_reduce.
23382 (__mpcos): Likewise.
23383 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23384 (slow): Use __mpsin and __mpcos.
23388 (sloww1): Likewise.
23389 (sloww2): Likewise.
23390 (bsloww): Likewise.
23391 (bsloww1): Likewise.
23392 (bsloww2): Likewise.
23393 (cslow2): Likewise.
23394 (csloww): Likewise.
23395 (csloww1): Likewise.
23396 (csloww2): Likewise.
23397 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
23398 range_reduce. Merge in __mpsin1.
23399 (__mpcos): Likewise.
23400 (__mpsin1): Remove.
23401 (__mpcos1): Likewise.
23403 2013-10-07 Joseph Myers <joseph@codesourcery.com>
23405 * locale/loadlocale.c (_nl_intern_locale_data): Use
23407 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
23408 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
23409 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
23410 obstack data is appropriately aligned.
23411 (obstack_int32_grow_fast): Likewise.
23412 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
23413 * locale/programs/locfile.c (add_locale_uint32): Likewise.
23414 (add_locale_uint32_array): Likewise.
23416 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23418 * benchtests/Makefile: Remove ARGLIST and RET variables.
23419 ($(objpfx)bench-%.c): Pass only function name to the script.
23420 * benchtests/README: Update documentation.
23421 * benchtests/acos-inputs: Add new directives.
23422 * benchtests/acosh-inputs: Likewise.
23423 * benchtests/asin-inputs: Likewise.
23424 * benchtests/asinh-inputs: Likewise.
23425 * benchtests/atan-inputs: Likewise.
23426 * benchtests/atanh-inputs: Likewise.
23427 * benchtests/cos-inputs: Likewise.
23428 * benchtests/cosh-inputs: Likewise.
23429 * benchtests/exp-inputs: Likewise.
23430 * benchtests/log-inputs: Likewise.
23431 * benchtests/pow-inputs: Likewise.
23432 * benchtests/rint-inputs: Likewise.
23433 * benchtests/sin-inputs: Likewise.
23434 * benchtests/sinh-inputs: Likewise.
23435 * benchtests/tan-inputs: Likewise.
23436 * benchtests/tanh-inputs: Likewise.
23437 * scripts/bench.pl: Add support for new directives.
23439 2013-10-07 Alan Modra <amodra@gmail.com>
23441 * README: Fix careless merge.
23443 2013-10-05 Alan Modra <amodra@gmail.com>
23445 * NEWS: Mention powerpc64le support and bugs fixed.
23446 * README: Both big-endian and little-endian powerpc64 supported.
23448 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23450 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
23451 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
23452 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
23453 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
23455 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
23457 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
23460 2013-10-04 Joseph Myers <joseph@codesourcery.com>
23462 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
23463 Move -mhard-float appending from
23464 ports/sysdeps/powerpc/powerpc32/Makefile.
23465 [$(with-fp) = yes] (ASFLAGS): Likewise.
23466 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
23467 * sysdeps/powerpc/nofpu: Move directory from
23468 ports/sysdeps/powerpc/nofpu.
23469 * sysdeps/powerpc/soft-fp: Move directory from
23470 ports/sysdeps/powerpc/soft-fp.
23471 * sysdeps/powerpc/powerpc32/405: Move directory from
23472 ports/sysdeps/powerpc/powerpc32/405.
23473 * sysdeps/powerpc/powerpc32/440: Move directory from
23474 ports/sysdeps/powerpc/powerpc32/440.
23475 * sysdeps/powerpc/powerpc32/464: Move directory from
23476 ports/sysdeps/powerpc/powerpc32/464.
23477 * sysdeps/powerpc/powerpc32/476: Move directory from
23478 ports/sysdeps/powerpc/powerpc32/476.
23479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
23480 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
23481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
23482 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
23483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
23484 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
23485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
23486 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
23487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
23488 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
23489 * README: Update for powerpc-*-linux-gnu software floating point
23492 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
23493 case to powerpc/powerpc32*.
23494 * sysdeps/unix/sysv/linux/configure: Regenerated.
23496 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
23497 (_FPU_MASK_OM): Define as 0x04.
23498 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
23499 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
23501 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
23503 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
23505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
23506 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
23509 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
23512 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
23513 and setcontext_e500.
23515 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
23517 * locale/iso-3166.def: Update iso-1366.def and related occurrences
23519 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23521 * manual/threads.texi (Default Thread Attributes): Fix typo.
23523 2013-10-04 Will Newton <will.newton@linaro.org>
23525 * malloc/Makefile: Add tst-memalign.
23526 * malloc/tst-memalign.c: New file.
23528 * malloc/tst-posix_memalign.c: Add comments.
23529 (do_test): Add comments and call free on all potentially
23530 allocated pointers. Add space after cast.
23532 * malloc/tst-pvalloc.c: Add comments.
23533 (do_test): Add comments and call free on all potentially
23534 allocated pointers. Remove duplicate check for NULL pointer.
23535 Add space after cast.
23537 * malloc/tst-valloc.c: Add comments.
23538 (do_test): Add comments and call free on all potentially
23539 allocated pointers. Remove duplicate check for NULL pointer.
23540 Add space after cast.
23542 2013-10-04 Alan Modra <amodra@gmail.com>
23544 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23545 Use stdint types in rather than __attribute__((mode())).
23546 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23548 2013-10-04 Alan Modra <amodra@gmail.com>
23550 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23551 Correct handling of unaligned relocs for little-endian.
23552 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23554 2013-10-04 Alan Modra <amodra@gmail.com>
23556 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
23557 * configure: Regenerate.
23558 * nptl/shlib-versions: Powerpc*le starts at 2.18.
23559 * shlib-versions: Likewise.
23561 2013-10-04 Alan Modra <amodra@gmail.com>
23563 * string/tester.c (test_memrchr): Increment reported test cycle.
23565 2013-10-04 Alan Modra <amodra@gmail.com>
23567 * string/test-memcpy.c (do_one_test): When reporting errors, print
23568 string address and don't overrun end of string.
23570 2013-10-04 Alan Modra <amodra@gmail.com>
23572 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
23573 insrdi. Make better use of reg selection to speed exit slightly.
23574 Schedule entry path a little better. Remove useless "are we done"
23575 checks on entry to main loop. Handle wrapping around zero address.
23576 Correct main loop count. Handle single left-over word from main
23577 loop inline rather than by using loop_small. Remove extra word
23578 case in loop_small caused by wrong loop count. Add little-endian
23580 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23581 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
23583 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23584 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
23585 support. Avoid rlwimi.
23586 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
23588 2013-10-04 Alan Modra <amodra@gmail.com>
23590 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
23591 insrdi. Formatting.
23592 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
23593 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23594 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23595 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23596 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23597 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
23599 2013-10-04 Alan Modra <amodra@gmail.com>
23601 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
23602 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23603 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23604 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
23605 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23606 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23607 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23608 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23609 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
23610 use of regs. Use power7 mtocrf. Tidy function tails.
23612 2013-10-04 Alan Modra <amodra@gmail.com>
23614 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
23615 Formatting. Consistently use rXXX register defines or rN defines.
23616 Use early exit labels that avoid restoring unused non-volatile regs.
23617 Make cr field use more consistent with rWORDn compares. Rename
23618 regs used as shift registers for unaligned loop, using rN defines
23619 for short lifetime/multiple use regs.
23620 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23621 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
23622 addi 1,1,64 to pop stack frame. Simplify return value code.
23623 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23625 2013-10-04 Alan Modra <amodra@gmail.com>
23627 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
23628 support. Correct typos, formatting. Optimize tail. Use insrdi
23629 rather than rlwimi.
23630 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
23631 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
23632 little-endian support. Correct typos.
23633 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
23634 rather than rlwimi.
23635 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
23636 in loop and entry code to keep "and." results.
23637 (strchr): Add little-endian support. Comment. Move cntlzd
23639 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
23641 2013-10-04 Alan Modra <amodra@gmail.com>
23643 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
23644 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
23645 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
23646 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
23648 2013-10-04 Alan Modra <amodra@gmail.com>
23650 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
23651 (rTMP): Define as r11.
23652 (strcmp): Add little-endian support. Optimise tail.
23653 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
23654 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23655 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23656 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23657 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23658 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23659 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23661 2013-10-04 Alan Modra <amodra@gmail.com>
23663 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
23664 little-endian support. Remove unnecessary "are we done" tests.
23665 Handle "s" wrapping around zero and extremely large "size".
23666 Correct main loop count. Handle single left-over word from main
23667 loop inline rather than by using small_loop. Correct comments.
23668 Delete "zero" tail, use "end_max" instead.
23669 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
23671 2013-10-04 Alan Modra <amodra@gmail.com>
23673 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
23674 support. Don't branch over align.
23675 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
23676 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
23677 support. Rearrange tmp reg use to suit. Comment.
23678 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
23680 2013-10-04 Alan Modra <amodra@gmail.com>
23682 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
23684 2013-10-04 Alan Modra <amodra@gmail.com>
23686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
23687 conditional form of branch and link when obtaining pc.
23688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23690 2013-10-04 Alan Modra <amodra@gmail.com>
23692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
23694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
23695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
23697 2013-10-04 Alan Modra <amodra@gmail.com>
23699 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
23700 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
23701 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23702 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
23703 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23704 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23705 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
23706 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23707 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23708 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
23710 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23711 Alistair Popple <alistair@ozlabs.au.ibm.com>
23712 Alan Modra <amodra@gmail.com>
23715 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
23716 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
23717 _dl_hwcap access for little-endian.
23718 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
23719 destroy vmx regs when saving unaligned.
23720 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
23721 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
23722 destroy vmx regs when saving unaligned.
23724 2013-10-04 Alan Modra <amodra@gmail.com>
23726 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
23727 Don't use a union to pack hi/low value.
23729 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23731 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
23733 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23734 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
23735 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23736 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23737 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23739 2013-10-04 Alan Modra <amodra@gmail.com>
23741 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
23742 constants to usual value for .cst8 section, and remove redundant
23744 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
23745 constant for 0x1p52. Load little-endian words of double from
23746 correct stack offsets.
23748 2013-10-04 Alan Modra <amodra@gmail.com>
23750 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
23751 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
23752 words of double from correct stack offsets.
23753 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23754 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
23755 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23756 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23757 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23758 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23759 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23760 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23761 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23762 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23763 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23764 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23765 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23766 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23767 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23768 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23769 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23771 2013-10-04 Alan Modra <amodra@gmail.com>
23773 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23774 64-bit int/double union.
23775 (_FPU_SETCW): Likewise.
23776 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23777 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23779 2013-10-04 Alan Modra <amodra@gmail.com>
23781 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23782 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23784 2013-10-04 Alan Modra <amodra@gmail.com>
23786 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23787 use vector int constants.
23788 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23790 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23792 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23793 array with long long.
23794 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23795 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23796 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23797 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23798 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23799 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23800 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23801 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23802 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23803 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23804 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23805 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23806 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23808 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23810 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23811 (__signbit): Likewise. Correct for little-endian.
23812 (__signbitl): Call __signbit.
23813 (lrint): Correct for little-endian.
23814 (lrintf): Call lrint.
23816 2013-10-04 Alan Modra <amodra@gmail.com>
23818 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23819 union 32-bit int array member with 64-bit int array.
23820 (t515, tm256): Double rather than long double.
23821 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23823 2013-10-04 Alan Modra <amodra@gmail.com>
23825 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23827 (IEEE854_LONG_DOUBLE_BIAS): Delete.
23828 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23829 version of math_ldbl.h.
23831 2013-10-04 Alan Modra <amodra@gmail.com>
23833 [BZ #15734], [BZ #15735]
23834 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23835 all uses of ieee875 long double macros and unions. Simplify test
23836 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
23837 ldbl_extract_mantissa value for ix,iy exponents. Properly
23838 normalize after ldbl_extract_mantissa, and don't add hidden bit
23839 already handled. Don't treat low word of ieee854 mantissa like
23840 low word of IBM long double and mask off bit when testing for
23842 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23843 all uses of ieee875 long double macros and unions. Simplify tests
23844 for 0.0L and inf. Correct double adjustment of k. Delete dead code
23845 adjusting ha,hb. Simplify code setting kld. Delete two600 and
23846 two1022, instead use their values. Recognise that tests for large
23847 "a" and small "b" are mutually exclusive. Rename vars. Comment.
23848 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23849 Rewrite all uses of ieee875 long double macros and unions. Simplify
23850 test for 0.0L and nan. Correct negation.
23851 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
23852 ieee875 long double macros and unions. Correct output for large
23853 magnitude x. Correct absolute value calculation.
23854 (__erfcl): Likewise.
23855 * math/libm-test.inc: Add tests for errors discovered in IBM long
23856 double versions of fmodl, remainderl, erfl and erfcl.
23858 2013-10-04 Alan Modra <amodra@gmail.com>
23860 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
23861 all uses of ieee854 long double macros and unions. Simplify tests
23862 for long doubles that are fully specified by the high double.
23863 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23865 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
23866 Remove dead code too.
23867 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23868 (__ieee754_ynl): Likewise.
23869 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23870 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
23871 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
23872 Remove dead code too.
23873 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23874 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
23875 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
23876 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
23878 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
23880 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
23881 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
23882 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
23883 Comment on variable precision.
23884 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
23885 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23887 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23888 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23889 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23890 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23891 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
23893 2013-10-04 Alan Modra <amodra@gmail.com>
23895 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
23896 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
23897 all uses of ieee854 long double macros and unions.
23898 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
23899 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23900 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
23901 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
23902 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23903 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23905 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
23906 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23907 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
23908 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23909 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23910 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23911 Simplify sign and nan test too.
23912 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
23913 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
23914 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
23915 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
23917 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23918 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
23920 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23921 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23922 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
23923 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
23924 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
23925 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
23927 2013-10-04 Alan Modra <amodra@gmail.com>
23929 * stdio-common/printf_size.c (__printf_size): Don't use
23930 union ieee854_long_double in fpnum union.
23931 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
23932 signbit macro to retrieve sign from long double.
23933 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23934 retrieve sign from long double.
23935 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23936 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23937 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23938 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23939 * math/test-misc.c (main): Don't use union ieee854_long_double.
23941 2013-10-04 Alan Modra <amodra@gmail.com>
23944 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23945 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23946 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23947 calculation. Remove unnecessary test for denormal exponent.
23948 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23949 Correct handling of denormals. Avoid undefined shift behaviour.
23950 Correct normalisation of low mantissa when low double is denormal.
23951 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23952 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
23953 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23954 Correct normalisation of low mantissa. Test for overflow of high
23955 mantissa and normalise.
23956 (ldbl_nearbyint): Use more readable constant for two52.
23957 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23958 (__mpn_construct_long_double): Fix test for overflow of high
23959 mantissa and correct normalisation. Avoid undefined shift.
23961 2013-10-04 Alan Modra <amodra@gmail.com>
23963 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23964 (union ibm_extended_long_double): Define as an array of ieee754_double.
23965 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23966 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23967 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23968 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23969 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23970 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23971 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23972 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23973 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23974 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23975 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23977 2013-10-03 Joseph Myers <joseph@codesourcery.com>
23979 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23980 page size instead of calling getpagesize.
23982 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23983 (LOCFILE_ALIGN_MASK): Likewise.
23984 (LOCFILE_ALIGN_UP): Likewise.
23985 (LOCFILE_ALIGNED_P): Likewise.
23986 * locale/programs/ld-collate.c (collate_output): Use the new
23987 macros instead of __alignof__ (int32_t).
23988 * locale/weight.h (findidx): Likewise.
23990 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
23993 * manual/string.texi: Fix strncat and wcsncat.
23995 2013-10-03 Brooks Moses <bmoses@google.com>
23998 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23999 * Makerules: ...here, and adjust associated comments.
24001 2013-10-02 Will Newton <will.newton@linaro.org>
24003 * malloc/Makefile: Add tst-pvalloc.
24004 * malloc/tst-pvalloc.c: New file.
24006 2013-10-02 Will Newton <will.newton@linaro.org>
24008 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24009 improve test coverage.
24011 2013-10-02 Will Newton <will.newton@linaro.org>
24013 * malloc/Makefile: Add tst-posix_memalign.
24014 * malloc/tst-posix_memalign.c: New file.
24016 2013-10-01 Eric Blake <eblake@redhat.com>
24018 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
24019 Use __THROWNL rather than __THROW on static functions.
24021 2013-09-30 Petr Machata <pmachata@redhat.com>
24023 * elf/elf.h (R_AARCH64_ABS16): New macro.
24024 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
24025 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
24026 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
24027 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
24028 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
24029 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
24030 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
24031 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
24032 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
24033 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24034 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
24035 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
24036 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
24037 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
24038 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
24039 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
24040 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
24041 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
24042 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
24043 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24044 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24045 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24046 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24047 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24048 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24049 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24050 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24051 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24052 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24053 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24054 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24055 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24056 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24057 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24058 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24059 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24060 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24061 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24062 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24063 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24064 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24065 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24066 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24067 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24068 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24069 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24070 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24071 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24072 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
24073 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
24074 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
24075 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
24076 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
24077 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
24078 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
24079 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24080 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24081 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24082 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24083 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24084 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24085 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24086 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24087 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24088 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24089 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24090 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24091 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24092 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24093 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24094 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24095 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24096 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24097 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24098 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24099 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24100 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24101 (R_AARCH64_TLSDESC_LDR): Likewise.
24102 (R_AARCH64_TLSDESC_ADD): Likewise.
24103 (R_AARCH64_TLSDESC_CALL): Likewise.
24105 2013-09-30 Andreas Schwab <schwab@suse.de>
24108 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24109 the nss database lookup.
24110 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24111 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24113 2013-09-28 Mike Frysinger <vapier@gentoo.org>
24115 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24117 2013-09-28 P. J. McDermott <pj@pehjota.net>
24119 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24120 ${Bash-specific parameter/pattern/string} parameter expansion.
24121 * sysdeps/unix/make-syscalls.sh: Likewise.
24123 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24125 * sysdeps/sh/stackguard-macros.h: New file.
24127 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
24129 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24130 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24131 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24132 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24133 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24134 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24136 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24138 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24139 Fix thread ID register.
24141 2013-09-25 Joseph Myers <joseph@codesourcery.com>
24143 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24144 [POSIX || UNIX98]: Require rather than permitting all symbols from
24146 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24147 element of struct sched_param.
24148 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24149 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24150 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24151 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24154 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
24156 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24157 argument calculation.
24159 2013-09-24 Joseph Myers <joseph@codesourcery.com>
24161 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
24163 [POSIX] (pthread_attr_t): Do not require type.
24164 [POSIX] (pthread_cond_t): Likewise.
24165 [POSIX] (pthread_condattr_t): Likewise.
24166 [POSIX] (pthread_key_t): Likewise.
24167 [POSIX] (pthread_mutex_t): Likewise.
24168 [POSIX] (pthread_mutexattr_t): Likewise.
24169 [POSIX] (pthread_once_t): Likewise.
24170 [POSIX] (pthread_t): Likewise.
24171 [POSIX-based standards] (pthread_atfork): Expect function.
24173 2013-09-24 Joseph Myers <joseph@codesourcery.com>
24174 Richard Sandiford <richard@codesourcery.com>
24176 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24177 (swap_endianness_p): New extern variable.
24178 (set_big_endian): New inline function.
24179 (maybe_swap_uint32): Likewise.
24180 (maybe_swap_uint32_array): Likewise.
24181 (maybe_swap_uint32_obstack): Likewise.
24182 * locale/programs/locfile.c: Include <stdbool.h>.
24183 (swap_endianness_p): New variable.
24184 (add_locale_uint32): Call maybe_swap_uint32.
24185 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24186 (write_locale_data): Call maybe_swap_uint32_array.
24187 * locale/programs/ld-collate.c (obstack_int32_grow): Call
24189 (obstack_int32_grow_fast): Likewise.
24190 (output_weightwc): Call maybe_swap_uint32_obstack.
24191 (collate_output): Likewise.
24192 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24193 (OPT_LITTLE_ENDIAN): Likewise.
24194 (options): Add --little-endian and --big-endian options.
24195 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24196 * locale/programs/locarchive.c: Include "locfile.h".
24200 (create_archive): Use the new macros to access fields of
24201 structures directly mapped from or written to locale archives.
24202 (oldlocrecentcmp): Likewise.
24203 (enlarge_archive): Likewise.
24204 (insert_name): Likewise.
24205 (add_alias): Likewise.
24206 (add_locale): Likewise.
24207 (delete_locales_from_archive): Likewise.
24208 (show_archive_content): Likewise.
24209 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
24212 2013-09-24 Roland McGrath <roland@hack.frob.com>
24214 * manual/freemanuals.texi: Updated from (newly) canonical copy at
24215 http://www.gnu.org/doc/freemanuals.texi.
24216 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24218 2013-09-24 Will Newton <will.newton@linaro.org>
24220 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24223 2013-09-23 Joseph Myers <joseph@codesourcery.com>
24225 * locale/hashval.h (compute_hashval): Interpret bytes of key as
24228 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
24230 * manual/threads.texi (POSIX Threads): Fix a typo.
24232 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24235 * string/tst-strcoll-overflow.c: New test case.
24236 * string/Makefile (xtests): Add tst-strcoll-overflow.
24237 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24238 cache if string sizes may cause integer overflow.
24241 * string/strcoll_l.c (coll_seq): New members rule, idx,
24242 save_idx and back_us.
24243 (get_next_seq_nocache): New function.
24244 (do_compare_nocache): New function.
24245 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24248 2013-09-23 Carlos O'Donell <carlos@redhat.com>
24251 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24252 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24253 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24256 * elf/Makefile (tests): Add tst-ptrguard1.
24257 (tests-static): Add tst-ptrguard1-static.
24258 (tst-ptrguard1-ARGS): Define.
24259 (tst-ptrguard1-static-ARGS): Define.
24260 * elf/tst-ptrguard1.c: New file.
24261 * elf/tst-ptrguard1-static.c: New file.
24262 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
24263 * sysdeps/i386/stackguard-macros.h: Likewise.
24264 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24265 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24266 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24267 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24268 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24269 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24271 2013-09-23 Hector Marco <hecmargi@upv.es>
24272 Ismael Ripoll <iripoll@disca.upv.es>
24273 Carlos O'Donell <carlos@redhat.com>
24276 * sysdeps/generic/stackguard-macros.h: Define
24277 __pointer_chk_guard_local and POINTER_CHK_GUARD.
24278 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
24279 Define __pointer_chk_guard_local.
24280 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
24281 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
24283 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
24286 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
24288 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
24290 * include/string.h (__ffs): Declare as hidden.
24291 * string/ffs.c (__ffs): Define as hidden.
24292 * sysdeps/i386/ffs.c (__ffs): Likewise.
24293 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24294 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
24295 * sysdeps/s390/ffs.c (__ffs): Likewise.
24296 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
24298 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
24300 * NEWS: Mention malloc probes.
24302 * malloc/arena.c (new_heap): New memory_heap_new probe.
24303 (grow_heap): New memory_heap_more probe.
24304 (shrink_heap): New memory_heap_less probe.
24305 (heap_trim): New memory_heap_free probe.
24306 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
24307 (systrim): New memory_sbrk_less probe.
24308 * manual/probes.texi: Document them.
24310 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
24311 * manual/probes.texi: Document it.
24313 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
24314 (__libc_realloc): Add memory_realloc_retry probe.
24315 (__libc_memalign): Add memory_memalign_retry probe.
24316 (__libc_valloc): Add memory_valloc_retry probe.
24317 (__libc_pvalloc): Add memory_pvalloc_retry probe.
24318 (__libc_calloc): Add memory_calloc_retry probe.
24319 * manual/probes.texi: Document them.
24321 * malloc/arena.c (get_free_list): Add probe
24322 memory_arena_reuse_free_list.
24323 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
24324 and memory_arena_reuse.
24325 (arena_get2) [!PER_THREAD]: Likewise.
24326 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
24327 memory_arena_reuse_realloc.
24328 * manual/probes.texi: Document them.
24330 * malloc/malloc.c (__libc_free): Add
24331 memory_mallopt_free_dyn_thresholds probe.
24332 (__libc_mallopt): Add multiple memory_mallopt probes.
24333 * manual/probes.texi: Document them.
24335 * malloc/malloc.c: Include stap-probe.h.
24336 (__libc_mallopt): Add memory_mallopt probe.
24337 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
24338 * manual/probes.texi: New.
24339 * manual/Makefile (chapters): Add probes.
24340 * manual/threads.texi: Set next node.
24342 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
24344 [BZ #15963, #13985]
24345 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
24346 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
24347 Add `Chinese' to `nan' entry name.
24349 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24351 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
24352 (POLYNOMIAL): Likewise.
24353 (TAYLOR_SINCOS): Likewise.
24354 (TAYLOR_SLOW): Likewise.
24355 (__sin): Use TAYLOR_SINCOS.
24357 (slow): Use TAYLOR_SLOW.
24359 (bsloww): Likewise.
24360 (csloww): Likewise.
24362 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24364 * stdlib/strtod_l.c: Fix buffer overrun.
24366 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24368 * benchtests/Makefile (bench): Add sincos.
24369 * benchtests/bench-sincos.c: New file.
24371 * math/libm-test.inc (cos_test_data): New test inputs.
24372 (sin_test_data): Likewise.
24374 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
24380 (sloww1): Likewise.
24381 (sloww2): Likewise.
24382 (bsloww1): Likewise.
24383 (bsloww2): Likewise.
24384 (cslow2): Likewise.
24385 (csloww1): Likewise.
24386 (csloww2): Likewise.
24388 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
24393 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
24397 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
24399 * config.h.in (HAVE_MIPS_NAN2008): New macro.
24400 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
24401 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
24402 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
24403 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
24404 * elf/cache.c (print_entry): Handle the new cache flags.
24406 2013-09-18 Joseph Myers <joseph@codesourcery.com>
24407 Aldy Hernandez <aldyh@redhat.com>
24409 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
24410 Change condition to [_SOFT_FLOAT].
24411 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
24412 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
24413 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
24414 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
24415 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
24416 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
24417 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
24418 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
24419 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
24420 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
24421 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
24422 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
24423 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
24424 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
24425 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
24426 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
24429 2013-09-18 Joseph Myers <joseph@codesourcery.com>
24431 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
24432 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24433 (__longjmp): Use LOAD_GP to load saved GPRs.
24434 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
24435 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24436 (__sigsetjmp): Use SAVE_GP to save GPRs.
24438 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
24439 Do not append -msoft-float.
24440 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
24442 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24444 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
24446 2013-09-17 Joseph Myers <joseph@codesourcery.com>
24449 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
24450 (_FPU_GETCW): Use initial "__" on variable and field names but not
24451 on macro parameter name.
24452 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
24453 parentheses around reference to macro parameter.
24455 2013-09-13 Richard Sandiford <richard@codesourcery.com>
24457 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
24459 (ctype_startup): Use uint32_t in cast and sizeof for
24462 2013-09-11 Jia Liu <proljc@gmail.com>
24464 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
24466 [__FreeBSD__]: Likewise.
24468 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
24470 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
24471 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
24472 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
24473 (strchr): Remove __strchr_sse42 ifunc selection.
24474 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
24475 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
24477 2013-09-11 Will Newton <will.newton@linaro.org>
24479 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
24480 parameter to RES. Remove hardcoded 1000 value.
24481 * benchtests/bench-skeleton.c (main): Pass RES parameter
24482 to TIMING_INIT and multiply result by 1000.
24484 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24486 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24488 2013-09-11 Andreas Schwab <schwab@suse.de>
24490 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24492 (O_TMPFILE) [__USE_GNU]: Define.
24493 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
24496 2013-09-11 Will Newton <will.newton@linaro.org>
24499 * malloc/malloc.c (__libc_memalign): Check the value of bytes
24502 2013-09-11 Will Newton <will.newton@linaro.org>
24505 * malloc/malloc.c (__libc_valloc): Check the value of bytes
24508 2013-09-11 Will Newton <will.newton@linaro.org>
24511 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
24514 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
24516 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
24517 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24518 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24519 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24520 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24522 2013-09-10 Allan McRae <allan@archlinux.org>
24525 * manual/arith.texi (Parsing of Floats): Clarify
24529 * manual/install.texi (Running make install): Mention
24531 * INSTALL: Regenerated.
24533 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
24535 * csu/init-first.c (_init): Remove the !SHARED condition around
24536 FPU control word initialization.
24537 * elf/dl-support.c (_dl_fpu_control): New variable.
24538 (_dl_aux_init) <AT_FPUCW>: Initialize it.
24539 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
24540 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
24541 * math/test-fpucw-static.c: New file.
24542 * math/test-fpucw-ieee.c: New file.
24543 * math/test-fpucw-ieee-static.c: New file.
24544 * math/Makefile (tests): Add `test-fpucw-ieee' and
24546 (tests-static): New variable.
24547 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
24549 [($(build-shared),yes)]
24550 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24552 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
24555 2013-09-09 Allan McRae <allan@archlinux.org>
24558 * manual/string.texi (Collation Functions): Fix typo in
24560 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
24563 * stdlib/isomac.c (get_null_defines): Fix memory leak.
24566 * libio/memstream.c (open_memstream): Fix memory leak.
24567 * libio/wmemstream.c (open_wmemstream): Likewise.
24570 * nscd/netgroupcache.c: Fix nesting of ifdefs.
24572 2013-09-09 Will Newton <will.newton@linaro.org>
24574 * malloc/Makefile: Add tst-realloc to tests.
24575 * malloc/tst-realloc.c: New file.
24577 2013-09-09 Allan McRae <allan@archlinux.org>
24580 * COPYING: Update from GNU website to fix FSF address.
24581 * COPYING.LIB: Likewise.
24583 2013-09-06 David S. Miller <davem@davemloft.net>
24585 * po/zh_TW.po: Update Chinese (traditional) translation from
24586 translation project.
24588 2013-09-06 Richard Sandiford <richard@codesourcery.com>
24589 Joseph Myers <joseph@codesourcery.com>
24591 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
24593 (obstack_chunk_alloc): New macro.
24594 (obstack_chunk_free): Likewise.
24595 (record_offset): New function.
24596 (init_locale_data): Likewise.
24597 (align_locale_data): Likewise.
24598 (add_locale_empty): Likewise.
24599 (add_locale_raw_data): Likewise.
24600 (add_locale_raw_obstack): Likewise.
24601 (add_locale_string): Likewise.
24602 (add_locale_wstring): Likewise.
24603 (add_locale_uint32): Likewise.
24604 (add_locale_uint32_array): Likewise.
24605 (add_locale_char): Likewise.
24606 (start_locale_structure): Likewise.
24607 (end_locale_structure): Likewise.
24608 (start_locale_prelude): Likewise.
24609 (end_locale_prelude): Likewise.
24610 (write_locale_data): Take locale_file structure rather than an
24612 * locale/programs/locfile.h: Include "obstack.h".
24613 (struct locale_file): Change to store locale file contents instead
24615 (init_locale_data): New prototype.
24616 (align_locale_data): Likewise.
24617 (add_locale_empty): Likewise.
24618 (add_locale_raw_data): Likewise.
24619 (add_locale_raw_obstack): Likewise.
24620 (add_locale_string): Likewise.
24621 (add_locale_wstring): Likewise.
24622 (add_locale_uint32): Likewise.
24623 (add_locale_uint32_array): Likewise.
24624 (add_locale_char): Likewise.
24625 (start_locale_structure): Likewise.
24626 (end_locale_structure): Likewise.
24627 (start_locale_prelude): Likewise.
24628 (end_locale_prelude): Likewise.
24629 (write_locale_data): Update prototype.
24630 * locale/programs/3level.h (struct TABLE): Remove result field.
24631 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
24632 Use new locale_file interface.
24633 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
24634 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
24635 * locale/programs/ld-address.c (address_output): Use new
24636 locale_file interface.
24637 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
24639 (collate_finish): Don't call collseq_table_finalize.
24640 (collate_output): Use new locale_file interface.
24641 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
24643 (NO_FINALIZE): Change to NO_ADD_LOCALE.
24644 (TABLE): Move defines earlier in file.
24645 (ELEMENT): Likewise.
24646 (DEFAULT): Likewise.
24647 (wctrans_table_add): Move macro and inline function earlier in
24649 (struct wctype_table): Move type earlier in file.
24650 (add_locale_wctype_table): New static prototype.
24651 (struct locale_ctype_t): Use logical types instead of struct iovec
24652 pointers for members.
24653 (ctype_output): Use new locale_file interface.
24654 (wctype_table_finalize): Change to add_locale_wctype_table. Use
24655 new locale_file interface.
24656 (allocate_arrays): Update for use of new locale_file interface.
24657 * locale/programs/ld-identification.c (identification_output): Use
24658 new locale_file interface.
24659 * locale/programs/ld-measurement.c (measurement_output): Likewise.
24660 * locale/programs/ld-messages.c (messages_output): Likewise.
24661 * locale/programs/ld-monetary.c (monetary_output): Likewise.
24662 * locale/programs/ld-name.c (name_output): Likewise.
24663 * locale/programs/ld-numeric.c (numeric_output): Likewise.
24664 * locale/programs/ld-paper.c (paper_output): Likewise.
24665 * locale/programs/ld-telephone.c (telephone_output): Likewise.
24666 * locale/programs/ld-time.c (time_output): Likewise.
24668 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24670 * benchtests/Makefile: Add memrchr benchmark.
24671 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
24672 benchmark as memrchr.
24673 * benchtests/bench-memrchr-ifunc.c: New file.
24674 * benchtests/bench-memrchr.c: New file.
24676 2013-09-06 Will Newton <will.newton@linaro.org>
24678 * benchtests/Makefile (string-bench): Add memcpy.
24680 2013-09-05 Carlos O'Donell <carlos@redhat.com>
24681 Cong Wang <amwang@redhat.com>
24684 * sysdeps/unix/sysv/linux/bits/in.h
24685 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
24686 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
24687 before __USE_KERNEL_IPV6_DEFS uses.
24688 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
24690 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
24691 sockaddr_in6, or ipv6_mreq.
24693 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24695 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
24696 memory access for final bytes in some large inputs.
24697 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
24699 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24701 * string/test-memrchr.c: New file.
24702 * string/test-memrchr-ifunc.c: New file.
24703 * string/Makefile: Add new memrchr testcase.
24705 2013-09-05 Mike Frysinger <vapier@gentoo.org>
24707 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
24708 fanotify_init returns EPERM.
24710 2013-09-04 Joseph Myers <joseph@codesourcery.com>
24712 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
24714 (top level): Treat second token from macro or constant entries for
24715 allowed headers as allowed.
24716 * include/complex.h: Condition internal declarations on
24718 * include/fenv.h: Condition include of <stdbool.h> and internal
24719 declarations on [!_ISOMAC].
24721 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
24724 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
24726 2013-09-04 Joseph Myers <joseph@codesourcery.com>
24728 * configure.in (--enable-versioning): Remove configure option.
24729 (libc_cv_asm_symver_directive): Remove configure test.
24730 (libc_cv_ld_version_script_option): Likewise.
24731 (VERSIONING): Remove variable and AC_SUBST.
24732 (DO_VERSIONING): Remove AC_DEFINE.
24733 * configure: Regenerated.
24734 * config.h.in (DO_VERSIONING): Remove macro.
24735 * Makerules [$(versioning) = yes]: Change conditionals to
24736 [$(build-shared) = yes].
24737 * config.make.in (versioning): Remove variable.
24738 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
24739 [$(build-shared) = yes].
24740 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
24741 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
24742 * elf/Makefile [$(versioning) = yes]: Change conditionals to
24743 [$(build-shared) = yes].
24744 * extra-lib.mk [$(versioning) = yes]: Likewise.
24745 * hurd/Makefile [$(versioning) = yes]: Likewise.
24746 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
24748 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
24750 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24751 [SHARED && !NO_HIDDEN].
24752 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
24754 [SHARED && DO_VERSIONING]: Likewise..
24755 * libio/Makefile [$(versioning) = yes]: Change conditionals to
24756 [$(build-shared) = yes].
24757 * manual/install.texi (--disable-versioning): Remove
24759 * INSTALL: Regenerated.
24760 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
24762 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
24763 [$(build-shared) = yes].
24764 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
24765 * sysdeps/i386/i686/multiarch/strstr-c.c
24766 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24767 [SHARED && !NO_HIDDEN].
24768 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24769 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24770 * sysdeps/powerpc/powerpc32/dl-machine.c
24771 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24772 * sysdeps/powerpc/powerpc32/sysdep.h
24773 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24774 to [SHARED && PIC && !NO_HIDDEN].
24775 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24776 conditional to [SHARED].
24778 2013-09-04 Will Newton <will.newton@linaro.org>
24780 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24781 * benchtests/bench-string.h: Include bench-timing.h instead
24782 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24783 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24784 call to HP_TIMING_DIFF_INIT.
24785 * benchtests/bench-memccpy.c: Use bench-timing.h macros
24786 instead of hp-timing.h macros.
24787 * benchtests/bench-memchr.c: Likewise.
24788 * benchtests/bench-memcmp.c: Likewise.
24789 * benchtests/bench-memcpy.c: Likewise.
24790 * benchtests/bench-memmem.c: Likewise.
24791 * benchtests/bench-memmove.c: Likewise.
24792 * benchtests/bench-memset.c: Likewise.
24793 * benchtests/bench-rawmemchr.c: Likewise.
24794 * benchtests/bench-strcasecmp.c: Likewise.
24795 * benchtests/bench-strcasestr.c: Likewise.
24796 * benchtests/bench-strcat.c: Likewise.
24797 * benchtests/bench-strchr.c: Likewise.
24798 * benchtests/bench-strcmp.c: Likewise.
24799 * benchtests/bench-strcpy.c: Likewise.
24800 * benchtests/bench-strcpy_chk.c: Likewise.
24801 * benchtests/bench-strlen.c: Likewise.
24802 * benchtests/bench-strncasecmp.c: Likewise.
24803 * benchtests/bench-strncat.c: Likewise.
24804 * benchtests/bench-strncmp.c: Likewise.
24805 * benchtests/bench-strncpy.c: Likewise.
24806 * benchtests/bench-strnlen.c: Likewise.
24807 * benchtests/bench-strpbrk.c: Likewise.
24808 * benchtests/bench-strrchr.c: Likewise.
24809 * benchtests/bench-strspn.c: Likewise.
24810 * benchtests/bench-strstr.c: Likewise.
24812 2013-09-04 Will Newton <will.newton@linaro.org>
24814 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24816 2013-09-03 Joseph Myers <joseph@codesourcery.com>
24819 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24820 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24821 * math/libm-test.inc (lgamma_test_data): Add more tests.
24822 * sysdeps/i386/fpu/libm-test-ulps: Update.
24823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24825 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
24827 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24828 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24830 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24831 Add strcmp-sse2-unaligned
24832 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24834 2013-09-02 Mike Frysinger <vapier@gentoo.org>
24836 * Versions.def (libc): Add GLIBC_2.19.
24838 2013-09-02 Mike Frysinger <vapier@gentoo.org>
24840 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24841 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24843 2013-09-02 Joseph Myers <joseph@codesourcery.com>
24846 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24847 intermediate calculations in recurrence.
24848 (__ieee754_ynf): Likewise.
24849 * math/libm-test.inc (jn_test_data): Do not allow spurious
24850 underflow exception. Add more tests.
24851 (yn_test_data): Add more tests.
24852 * sysdeps/i386/fpu/libm-test-ulps: Update.
24853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24855 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
24857 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
24859 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
24861 * csu/init-first.c: Fix then/than typos.
24862 * locale/programs/ld-collate.c: Likewise.
24863 * locale/programs/linereader.h: Likewise.
24864 * manual/charset.texi: Likewise.
24865 * manual/filesys.texi: Likewise.
24866 * manual/stdio.texi: Likewise.
24867 * manual/string.texi: Likewise.
24868 * stdlib/fmtmsg.c: Likewise.
24869 * sysdeps/i386/stpncpy.S: Likewise.
24870 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24871 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24872 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24873 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24875 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
24877 * elf/dl-open.c: Fix typos.
24878 * iconvdata/gbbig5.c: Likewise.
24879 * iconvdata/iso-2022-jp.c: Likewise.
24880 * iconv/gconv_int.h: Likewise.
24881 * iconv/loop.c: Likewise.
24882 * nis/rpcsvc/nis.h: Likewise.
24883 * resolv/ns_name.c: Likewise.
24884 * stdio-common/vfscanf.c: Likewise.
24885 * streams/stropts.h: Likewise.
24886 * sunrpc/rpc_thread.c: Likewise.
24887 * sysdeps/i386/strpbrk.S: Likewise.
24888 * sysdeps/ieee754/k_standard.c: Likewise.
24889 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24890 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24891 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
24892 * sysdeps/mach/hurd/profil.c: Likewise.
24893 * sysdeps/s390/dl-procinfo.h: Likewise.
24894 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
24895 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24896 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
24897 * sysdeps/x86_64/dl-trampoline.S: Likewise.
24898 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24900 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
24902 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
24903 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
24905 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
24907 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
24908 aix specific files.
24909 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
24910 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
24911 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
24912 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
24913 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
24914 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
24915 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
24916 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
24918 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24919 Roland McGrath <roland@hack.frob.com>
24921 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
24922 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
24924 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
24926 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
24927 __executable_start symbol instead of _start.
24929 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24931 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24932 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24934 * sysdeps/gnu/ldsodefs.h: ... this new file.
24936 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24937 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24938 instead of ELFOSABI_LINUX.
24940 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
24941 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24942 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24943 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24945 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24946 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24947 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24949 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24950 (ibm_extended_long_double): Add ieee_nan member.
24951 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24952 (do_test): New function.
24954 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24956 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24957 functions, renamed from truncdfsf_test, trunctfsf_test,
24959 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24961 (do_test): Run all these.
24963 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
24965 * argp/argp-help.c: Fix typos.
24966 * argp/argp-parse.c: Likewise.
24967 * debug/backtracesyms.c: Likewise.
24968 * elf/elf.h: Likewise.
24969 * malloc/malloc.c: Likewise.
24970 * nis/nis_print.c: Likewise.
24971 * resolv/res_comp.c: Likewise.
24972 * stdlib/stdlib.h: Likewise.
24973 * sunrpc/clnt_tcp.c: Likewise.
24974 * sunrpc/clnt_udp.c: Likewise.
24975 * sunrpc/clnt_unix.c: Likewise.
24976 * sysdeps/unix/bsd/ptsname.c: Likewise.
24977 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24978 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
24979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24985 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24987 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24989 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24990 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24992 2013-08-27 Mike Frysinger <vapier@gentoo.org>
24995 * dlfcn/Makefile (tests): Add bug-dl-leaf.
24996 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24997 ($(objpfx)bug-dl-leaf): New rule.
24998 ($(objpfx)bug-dl-leaf.so): Likewise.
24999 ($(objpfx)bug-dl-leaf.out): Likewise.
25000 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25001 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25002 * dlfcn/bug-dl-leaf.c: New test.
25003 * dlfcn/bug-dl-leaf-lib.c: Likewise.
25004 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25005 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25006 (dlclose): Likewise.
25007 (dlmopen): Likewise.
25009 2013-08-27 Roland McGrath <roland@hack.frob.com>
25011 * include/netdb.h [!_ISOMAC]:
25012 Don't include <tls.h>.
25013 (h_errno, __libc_h_errno): Move declaration and macros out of
25016 * include/resolv.h [_RESOLV_H_]:
25017 Don't include <tls.h>.
25018 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
25019 * resolv/res_libc.c: Don't include <tls.h>.
25020 (_res): Use __attribute__ ((nocommon)) in place of
25021 __attribute__ ((section (".bss"))).
25023 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
25024 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
25026 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
25028 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
25029 only under [SIOCGIFCONF && SIOCGIFNETMASK].
25031 * resolv/res_mkquery.c: Include <sys/time.h>.
25033 * inet/ifreq.c: Moved to ...
25034 * sysdeps/unix/ifreq.c: ... here.
25035 * inet/ifreq.c: New file, true stub version.
25037 * socket/sa_len.c: New file.
25038 * socket/Makefile (aux): Add it.
25039 * sysdeps/unix/sysv/linux/Makefile
25040 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
25041 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
25042 and #include <socket/sa_len.c>.
25043 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
25044 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25046 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25047 * bits/socket.h: ... here.
25049 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25050 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25051 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25053 2013-08-27 Andreas Schwab <schwab@suse.de>
25056 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25057 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25058 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25059 * string/test-strcasecmp.c (test_main): Run tests in several
25061 * string/test-strncasecmp.c (test_main): Likewise.
25063 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25064 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25065 to __strcasecmp_nonascii and __strncasecmp_nonascii.
25066 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25067 (__strncasecmp_ssse3) [PIC]: Likewise.
25069 2013-08-26 Roland McGrath <roland@hack.frob.com>
25071 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25073 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
25074 instead of explicitly declaring xdecrypt.
25075 * nis/nss_nis/nis-publickey.c: Likewise.
25077 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25080 * nscd/aicache.c: Include res_hconf.h.
25081 (addhstaiX): Initialize res_hconf.
25083 2013-08-26 Andreas Schwab <schwab@suse.de>
25085 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25086 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25088 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25090 * nscd/aicache.c (addhstaiX): Fix indentation.
25092 2013-08-25 Mike Frysinger <vapier@gentoo.org>
25094 * configure.ac: Quote $build_pt_chown test.
25095 * configure: Regenerated.
25097 2013-08-23 Joseph Myers <joseph@codesourcery.com>
25100 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25101 * math/s_cexpf.c (__cexpf): Likewise.
25102 * math/s_cexpl.c (__cexpl): Likewise.
25103 * math/libm-test.inc (cexp_test_data): Correct expected return
25104 value for NaN + i0. Add another test.
25106 2013-08-22 David S. Miller <davem@davemloft.net>
25108 * po/ca.po: Update Catalan translation from translation project.
25109 * po/uk.po: Add Ukrainian translations from translation project.
25111 2013-08-21 Joseph Myers <joseph@codesourcery.com>
25114 * math/s_fdim.c (__fdim): Check for infinite arguments if result
25115 is infinite, not alongside NaN test.
25116 * math/s_fdimf.c (__fdimf): Likewise.
25117 * math/s_fdiml.c (__fdiml): Likewise.
25118 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
25119 errno is unchanged.
25121 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
25123 * argp/argp-help.c: Fix typos.
25124 * crypt/speeds.c: Likewise.
25125 * csu/check_fds.c: Likewise.
25126 * elf/dl-load.c: Likewise.
25127 * elf/dl-open.c: Likewise.
25128 * elf/reldep3.c: Likewise.
25129 * elf/reldep.c: Likewise.
25130 * elf/sprof.c: Likewise.
25131 * iconv/iconv_charmap.c: Likewise.
25132 * iconv/skeleton.c: Likewise.
25133 * iconv/strtab.c: Likewise.
25134 * io/lockf64.c: Likewise.
25135 * libio/libioP.h: Likewise.
25136 * resolv/gai_notify.c: Likewise.
25137 * resolv/ns_name.c: Likewise.
25138 * resolv/ns_samedomain.c: Likewise.
25139 * resolv/res_send.c: Likewise.
25140 * stdlib/random.c: Likewise.
25141 * sunrpc/rpc/xdr.h: Likewise.
25142 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25143 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25144 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25145 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25146 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25147 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25148 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25149 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25150 * sysdeps/mach/hurd/check_fds.c: Likewise.
25151 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25152 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25153 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25154 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25155 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25156 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25157 * sysdeps/pthread/aio_notify.c: Likewise.
25158 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25159 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25160 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25161 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25162 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25164 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25166 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25167 version if bit_Slow_SSE4_2 is set.
25168 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25169 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25171 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25174 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25175 trampoline stack frame information.
25176 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25177 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25178 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25179 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25180 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25181 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25182 (_libc_vdso_platform_setup): Initialize the signal trampolines.
25183 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25185 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25186 interrupting a syscall and set with option SA_SIGINFO.
25188 2013-08-20 Joseph Myers <joseph@codesourcery.com>
25191 * math/s_cproj.c (__cproj): Only return an infinity if one part of
25192 argument is infinite.
25193 * math/s_cprojf.c (__cprojf): Likewise.
25194 * math/s_cprojl.c (__cprojl): Likewise.
25195 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25196 * math/libm-test.inc (cproj_test_data): Add more tests.
25198 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25200 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25201 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25202 size. Use __ffs to determine corresponding shift.
25204 2013-08-20 Joseph Myers <joseph@codesourcery.com>
25205 Roland McGrath <roland@hack.frob.com>
25207 * Makefile (INSTALL): Remove trailing blank lines from output of
25210 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25212 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25213 Align 32 bit compat elf_greg to 8 bytes.
25215 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
25217 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25219 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25221 * string/strcoll_l.c (coll_seq): New structure.
25222 (get_next_seq_cached): New function.
25223 (get_next_seq): New function.
25224 (do_compare): New function.
25225 (STRCOLL): Use GNU style definition. Simplify implementation
25226 by using get_next_seq, get_next_seq_cached and do_compare.
25228 2013-08-16 Florian Weimer <fweimer@redhat.com>
25232 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25234 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25236 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25237 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25238 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
25240 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25241 GETDENTS_64BIT_ALIGNED.
25242 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25243 * manual/filesys.texi (Reading/Closing Directory): Document
25244 ENAMETOOLONG return value of readdir_r. Recommend readdir more
25246 * manual/conf.texi (Limits for Files): Add portability note to
25247 NAME_MAX, PATH_MAX.
25248 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25250 2013-08-13 Andreas Schwab <schwab@suse.de>
25253 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25255 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
25256 LDBL_MAX_EXP >= 16384]: Add tests for it.
25258 2013-08-12 David S. Miller <davem@davemloft.net>
25260 * version.h (RELEASE): Set to "development".
25261 (VERSION): Set to "2.18.90".
25262 * NEWS: Add 2.19 section.
25264 2013-08-03 David S. Miller <davem@davemloft.net>
25266 * po/ko.po: Update Korean translation from translation project.
25268 2013-08-01 David S. Miller <davem@davemloft.net>
25270 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
25271 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
25274 2013-07-30 David S. Miller <davem@davemloft.net>
25276 * po/fr.po: Update French translation from translation project.
25278 2013-07-28 David S. Miller <davem@davemloft.net>
25280 * po/cs.po: Update Czech translation from translation project.
25282 * po/sv.po: Update Swedish translation from translation project.
25284 2013-07-27 David S. Miller <davem@davemloft.net>
25286 * po/eo.po: Update Esperanto translation from translation project.
25288 * po/vi.po: Update Vietnamese translation from translation project.
25290 * po/de.po: Update German translation from translation project.
25292 2013-07-26 David S. Miller <davem@davemloft.net>
25294 * po/bg.po: Update Bulgarian translation from translation project.
25296 * po/nl.po: Update Dutch translation from translation project.
25297 * po/pl.po: Update Polish translation from translation project.
25298 * po/ru.po: Update Russian translation from translation project.
25300 2013-07-24 David S. Miller <davem@davemloft.net>
25302 * po/libc.pot: Update.
25304 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25306 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
25307 variable page size.
25308 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
25309 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
25310 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
25312 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25314 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
25316 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25317 Andreas Schwab <schwab@suse.de>
25318 Roland McGrath <roland@hack.frob.com>
25319 Joseph Myers <joseph@codesourcery.com>
25320 Carlos O'Donell <carlos@redhat.com>
25323 * config.h.in: Define HAVE_PT_CHOWN.
25324 * config.make.in (build-pt-chown): New variable.
25325 * configure.in (--enable-pt_chown): New configure option.
25326 * configure: Regenerate.
25327 * login/Makefile: Include Makeconfig. Build pt_chown only if
25328 build-pt-chown is enabled.
25329 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
25330 pt_chown to fix pty ownership.
25331 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
25333 * manual/install.texi (Configuring and compiling): Mention
25334 --enable-pt_chown. Add @findex for grantpt.
25335 * INSTALL: Regenerate.
25337 2013-07-20 David S. Miller <davem@davemloft.net>
25339 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
25340 difference between 32-bit and 64-bit.
25342 2013-07-15 Carlos O'Donell <carlos@redhat.com>
25345 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
25346 Avoid system header dependency with -ffreestanding.
25347 ($(objpfx)bits/syscall%d): Likewise.
25349 2013-07-13 David S. Miller <davem@davemloft.net>
25351 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
25352 underflows from atanl/atan2l due to bug 15319.
25353 (casinh_test_data): Likewise.
25355 2013-07-07 David S. Miller <davem@davemloft.net>
25357 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25359 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
25361 * sysdeps/i386/fpu/libm-test-ulps: Update.
25362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25364 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25366 * configure.in (--enable-lock-elision): Fix message text.
25367 * INSTALL: Regenerate.
25368 * configure: Regenerate.
25370 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25372 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25374 2013-07-03 Andreas Jaeger <aj@suse.de>
25376 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
25378 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
25379 (ptrace_peeksiginfo_args): Add.
25380 (__ptrace_peeksiginfo_flags): Add.
25381 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25382 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25383 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25385 2013-07-03 Allan McRae <allan@archlinux.org>
25387 * sysdeps/i386/fpu/libm-test-ulps: Update.
25389 2013-07-02 David S. Miller <davem@davemloft.net>
25391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25393 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
25395 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25397 2013-07-02 Joseph Myers <joseph@codesourcery.com>
25399 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25402 2013-07-02 Andi Kleen <ak@linux.intel.com>
25404 * config.h.in (ENABLE_LOCK_ELISION): Add.
25405 * configure.in (--enable-lock-elision): Add option.
25406 * manual/install.texi: Document --enable lock elision.
25407 * configure: Regenerate
25408 * INSTALL: Regenerate.
25410 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
25412 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
25413 SSE4.2 strcasecmp for libc.a.
25414 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25416 2013-07-02 Joseph Myers <joseph@codesourcery.com>
25419 * soft-fp/op-common.h (_FP_FMA): New macro.
25420 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
25421 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
25422 (_FP_MUL_MEAT_1_imm): ... here.
25423 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
25424 (_FP_MUL_MEAT_1_wide): ... here.
25425 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
25426 (_FP_MUL_MEAT_1_hard): ... here.
25427 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
25428 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
25429 (_FP_MUL_MEAT_2_wide): ... here.
25430 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
25431 (_FP_MUL_MEAT_2_wide_3mul): ... here.
25432 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
25433 (_FP_MUL_MEAT_2_gmp): ... here.
25434 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
25435 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
25436 (_FP_MUL_MEAT_4_wide): ... here.
25437 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
25438 (_FP_MUL_MEAT_4_gmp): ... here.
25439 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
25440 (_FP_WFRACBITS_DW_S): Likewise.
25441 (_FP_WFRACXBITS_DW_S): Likewise.
25442 (_FP_HIGHBIT_DW_S): Likewise.
25443 (FP_FMA_S): Likewise.
25444 (_FP_FRAC_HIGH_DW_S): Likewise.
25445 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
25446 (_FP_WFRACBITS_DW_D): Likewise.
25447 (_FP_WFRACXBITS_DW_D): Likewise.
25448 (_FP_HIGHBIT_DW_D): Likewise.
25449 (FP_FMA_D): Likewise.
25450 (_FP_FRAC_HIGH_DW_D): Likewise.
25451 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
25452 (_FP_WFRACBITS_DW_E): Likewise.
25453 (_FP_WFRACXBITS_DW_E): Likewise.
25454 (_FP_HIGHBIT_DW_E): Likewise.
25455 (FP_FMA_E): Likewise.
25456 (_FP_FRAC_HIGH_DW_E): Likewise.
25457 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
25458 (_FP_WFRACBITS_DW_Q): Likewise.
25459 (_FP_WFRACXBITS_DW_Q): Likewise.
25460 (_FP_HIGHBIT_DW_Q): Likewise.
25461 (FP_FMA_Q): Likewise.
25462 (_FP_FRAC_HIGH_DW_Q): Likewise.
25463 * soft-fp/fmasf4.c: New file.
25464 * soft-fp/fmadf4.c: Likewise.
25465 * soft-fp/fmatf4.c: Likewise.
25467 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25469 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25470 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
25472 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
25474 (index_Slow_SSE4_2): Likewise.
25475 (index_Prefer_PMINUB_for_stringop): Likewise.
25476 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
25477 bit_Slow_SSE4_2 is set.
25478 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25479 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25481 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25483 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
25484 rtld_global._dl_hwcap2.
25485 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
25487 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
25488 POWER8 feature descriptions defined in _dl_hwcap2.
25489 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
25490 string handling for POWER8 feature bits.
25491 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
25492 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
25493 _dl_powerpc_cap_flags.
25494 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
25495 * sysdeps/powerpc/rtld-global-offsets.sym
25496 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
25497 _dl_hwcap2 in the rtld_global_ro structure.
25499 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25501 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
25502 hardware capabilities in support of AT_HWCAP2.
25503 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
25504 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
25506 (_dl_show_auxv): Add support for calling _dl_procinfo to display
25507 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
25508 explicitly the unknown a_type display mechanism is used.
25509 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
25510 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
25512 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
25513 to macro prototype for AT_HWCAP2 support.
25514 * sysdeps/i386/dl-procinfo.h: Likewise.
25515 * sysdeps/s390/dl-procinfo.h: Likewise.
25516 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
25517 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
25518 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
25519 return -1 for unknown a_type display fallback.
25520 * sysdeps/sparc/dl-procinfo.h: Likewise.
25521 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
25522 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
25524 2013-06-28 Joseph Myers <joseph@codesourcery.com>
25526 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
25527 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
25529 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
25532 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
25533 mprotect making __stack_prot writable.
25535 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
25536 Joseph Myers <joseph@codesourcery.com>
25538 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
25539 as being properly aligned.
25541 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
25543 * dlfcn/modstatic5.c: New file.
25544 * dlfcn/tststatic5.c: New file.
25545 * dlfcn/Makefile (tests): Add tststatic5.
25546 (tests-static): Likewise.
25547 (modules-names): Add modstatic5.
25548 (tststatic5-ENV): New variable.
25549 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
25552 * elf/dl-support.c (_dl_main_map): New variable.
25553 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
25554 (_dl_nns, _dl_load_adds): Set to 1.
25555 (_dl_initial_searchlist): Refer to _dl_main_map.
25556 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
25557 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
25558 call to _dl_get_origin.
25559 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
25561 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
25562 * dlfcn/modstatic3.c: New file.
25563 * dlfcn/tststatic3.c: New file.
25564 * dlfcn/tststatic4.c: New file.
25565 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
25566 (tests-static): Likewise.
25567 (modules-names): Add modstatic3.
25568 (tststatic3-ENV, tststatic4-ENV): New variables.
25569 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
25570 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
25572 2013-06-26 Joseph Myers <joseph@codesourcery.com>
25574 * configure.in (CC): Require GCC version 4.4 or later.
25575 * configure: Regenerated.
25576 * manual/install.texi (Tools for Compilation): Update GCC version
25578 * INSTALL: Regenerated.
25580 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25583 * string/test-memcmp.c (check2): New.
25584 (main): Call check2.
25586 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
25588 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
25591 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
25593 (dl_open_worker) [!SHARED]: ... here.
25595 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25597 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
25599 2013-06-25 Richard Henderson <rth@redhat.com>
25601 * locale/programs/locarchive.c: Include <libc-internal.h>
25603 2013-06-25 Joseph Myers <joseph@codesourcery.com>
25605 * manual/texinfo.tex: Update to version 2013-06-21.17, with
25606 trailing whitespace removed.
25608 2013-06-24 Mike Frysinger <vapier@gentoo.org>
25611 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
25612 * locale/programs/locarchive.c: Include libc-mmap.h.
25613 (prepare_address_space): Take two new outputs (the mmap base and len).
25614 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
25616 (create_archive): Declare new mmap base and len values for
25617 prepare_address_space, and store the result in ah.
25618 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
25619 (enlarge_archive): If ah->mmap_base is not NULL, use that and
25620 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25621 Declare new mmap base and len values for
25622 prepare_address_space, and store the result in new_ah.
25623 (open_archive): Declare new mmap base and len values for
25624 prepare_address_space, and store the result in ah.
25625 (close_archive): If ah->mmap_base is not NULL, use that and
25626 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25627 * sysdeps/generic/libc-mmap.h: New file.
25629 2013-06-24 Mike Frysinger <vapier@gentoo.org>
25631 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
25632 (ALIGN_UP): Likewise.
25633 (PTR_ALIGN_DOWN): Likewise.
25634 (PTR_ALIGN_UP): Likewise.
25636 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25638 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
25639 entry mapped to PPC_PLATFORM_POWER8.
25640 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
25642 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
25643 (_dl_string_platform): Add case for exporting platform position for
25645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
25646 search path to sysdeps/powerpc/powerpc32/power8 directory.
25647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
25648 search path to sysdeps/powerpc/powerpc64/power8 directory.
25649 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
25650 power7 directories.
25651 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
25652 power7 directories.
25654 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25656 * INSTALL: Regenerate.
25658 * nscd/connections.c (nscd_init): Fix comment.
25660 2013-06-22 Joseph Myers <joseph@codesourcery.com>
25662 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
25665 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
25666 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
25668 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25670 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
25672 (DL_DST_REQ_STATIC): Remove macro.
25674 2013-06-21 Joseph Myers <joseph@codesourcery.com>
25677 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
25678 with a shift of 0 bits.
25680 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25682 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
25685 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25688 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
25690 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25692 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
25693 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
25694 accepts -fno-tree-loop-distribute-patterns.
25695 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
25696 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
25698 * string/memset.c (memset): Likewise.
25699 * string/test-memmove.c (simple_memmove): Disable loop transformation
25701 * string/test-memset.c (simple_memset): Likewise.
25702 * benchtests/bench-memmove.c (simple_memmove): Likewise.
25703 * benchtests/bench-memset.c (simple_memset): Likewise.
25704 * configure: Regenerated.
25706 2013-06-20 Joseph Myers <joseph@codesourcery.com>
25708 * math/test-misc.c (main): Ignore fesetround failure when failures
25709 of subsequent rounding tests would be ignored.
25712 * math/fedisblxcpt.c (fedisableexcept): Return 0.
25713 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25714 * math/fegetenv.c (__fegetenv): Return 0.
25715 * math/fegetexcept.c (fegetexcept): Return 0.
25716 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
25718 * math/feholdexcpt.c (feholdexcept): Return 0.
25719 * math/fesetenv.c (__fesetenv): Return 0.
25720 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
25721 argument FE_TONEAREST.
25722 * math/feupdateenv.c (__feupdateenv): Return 0.
25723 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
25725 2013-06-18 Roland McGrath <roland@hack.frob.com>
25727 * elf/rtld-Rules (rtld-compile-command.S): New variable.
25728 (rtld-compile-command.s, rtld-compile-command.c): New variables.
25729 ($(objpfx)rtld-%.os rules): Use them.
25731 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25733 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
25736 2013-06-17 Roland McGrath <roland@hack.frob.com>
25738 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
25739 length of target pattern, then descending length of dependency pattern.
25740 * configure.in (AWK): Require gawk 3.1.2 or newer.
25741 * manual/install.texi (Tools for Compilation): Say that we do.
25742 * configure: Regenerated.
25744 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
25745 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
25746 * scripts/sysd-rules.awk: ... this new script.
25747 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
25748 than a glob-style pattern.
25750 2013-06-17 Joseph Myers <joseph@codesourcery.com>
25752 * math/test-misc.c (main): Do not treat incorrectly rounded
25753 conversions as failure unless ROUNDING_TESTS passes.
25755 2013-06-15 Joseph Myers <joseph@codesourcery.com>
25758 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
25759 restore exception state around main square root computation, then
25760 check for inexactness explicitly.
25762 * math/libm-test.inc (fma_test_data): Add another test.
25764 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25766 * manual/threads.texi (Non-POSIX Extensions): New document
25767 node. Document pthread_getattr_default_np and
25768 pthread_setattr_default_np.
25770 * Versions.def (libpthread): Add GLIBC_2.18.
25771 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25780 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25782 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25784 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25786 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25788 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25791 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25793 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25794 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25796 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25797 H.J. Lu <hjl.tools@gmail.com>
25800 * sysdeps/x86_64/rtld-memset.c: Remove file.
25801 * sysdeps/x86_64/rtld-memset.S: New file.
25803 2013-06-14 Joseph Myers <joseph@codesourcery.com>
25805 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25806 (test_in_one_mode): Take arguments for whether the rounding mode
25807 is supported for each floating-point type.
25808 (do_test): Pass new arguments to test_in_one_mode using
25811 2013-06-13 Roland McGrath <roland@hack.frob.com>
25813 * posix/tst-waitid.c (do_test): Distinguish different instances of
25814 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
25815 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25816 before entering the kernel for waitpid.
25818 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25820 * NEWS: Fix note on clock function precision. Text by Roland
25823 2013-06-13 Roland McGrath <roland@hack.frob.com>
25825 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25826 it into place only when and if the sanity check passes.
25828 2013-06-13 Joseph Myers <joseph@codesourcery.com>
25830 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25831 output for whether conversion result is exact. Take argument
25832 indicating whether type is IBM long double.
25833 (round_for_all): Change need_exact field to ibm_ld.
25834 * stdlib/tst-strtod-round.c (struct exactness): New type.
25835 (struct test): Change bool ld_ok field to struct exactness exact.
25836 (TEST): Update all definitions for change to field.
25837 (tests): Regenerate array contents.
25838 (test_in_one_mode): Take pointer to new field instead of old ld_ok
25839 field value. Check for IBM long double here.
25840 (do_test): Update calls to test_in_one_mode.
25842 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25845 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25846 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25848 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25851 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
25852 generated by the compiler on loop optimizations.
25853 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
25854 general definitions.
25856 2013-06-12 Joseph Myers <joseph@codesourcery.com>
25858 * math/bug-nextafter.c: Include <math-tests.h>.
25859 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25861 * math/bug-nexttoward.c: Include <math-tests.h>.
25862 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25864 * math/test-misc.c: Include <math-tests.h>.
25865 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25868 2013-06-12 Andreas Jaeger <aj@suse.de>
25870 * po/ia.po: Update Interlingua translation from translation
25873 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25875 * include/fenv.h: Include stdbool.h.
25876 (struct rm_ctx): New structure.
25877 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
25879 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
25880 (SET_RESTORE_ROUNDF): Likewise.
25881 (SET_RESTORE_ROUNDL): Likewise.
25882 (SET_RESTORE_ROUND_NOEX): Likewise.
25883 (SET_RESTORE_ROUND_NOEXF): Likewise.
25884 (SET_RESTORE_ROUND_NOEXL): Likewise.
25885 (SET_RESTORE_ROUND_53BIT): Likewise.
25886 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
25887 (libc_feresetround_noexf_ctx): Likewise.
25888 (libc_feresetround_noexl_ctx): Likewise.
25889 (libc_feholdsetround_53bit_ctx): Likewise.
25890 (libc_feresetround_53bit_ctx): Likewise.
25891 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
25892 (libc_feholdexcept_setround_sse_ctx): New function.
25893 (libc_fesetenv_sse_ctx): Likewise.
25894 (libc_feupdateenv_sse_ctx): Likewise.
25895 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
25896 (libc_feholdexcept_setround_387_ctx): Likewise.
25897 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
25898 (libc_feholdsetround_387_prec_ctx): Likewise.
25899 (libc_feholdsetround_387_ctx): Likewise.
25900 (libc_feholdsetround_387_53bit_ctx): Likewise.
25901 (libc_feholdsetround_sse_ctx): Likewise.
25902 (libc_feresetround_sse_ctx): Likewise.
25903 (libc_feresetround_387_ctx): Likewise.
25904 (libc_feupdateenv_387_ctx): Likewise.
25905 (libc_feholdexcept_setroundf_ctx): Define macro.
25906 (libc_fesetenvf_ctx): Likewise.
25907 (libc_feupdateenvf_ctx): Likewise.
25908 (libc_feholdsetroundf_ctx): Likewise.
25909 (libc_feresetroundf_ctx): Likewise.
25910 (libc_feholdexcept_setround_ctx): Likewise.
25911 (libc_fesetenv_ctx): Likewise.
25912 (libc_feupdateenv_ctx): Likewise.
25913 (libc_feholdsetround_ctx): Likewise.
25914 (libc_feresetround_ctx): Likewise.
25915 (libc_feholdexcept_setroundl_ctx): Likewise.
25916 (libc_feupdateenvl_ctx): Likewise.
25917 (libc_feholdsetroundl_ctx): Likewise.
25918 (libc_feresetroundl_ctx): Likewise.
25919 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
25920 (libc_feresetround_53bit_ctx): Likewise.
25922 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25924 * locale/iso-639.def: Convert to UTF-8.
25926 2013-06-11 Joseph Myers <joseph@codesourcery.com>
25928 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
25929 (EXCEPTION_TESTS_double): Likewise.
25930 (EXCEPTION_TESTS_long_double): Likewise.
25931 (EXCEPTION_TESTS): Likewise.
25932 * math/libm-test.inc (test_exceptions): Only test exceptions if
25933 EXCEPTION_TESTS (FLOAT).
25935 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25937 * benchtests/Makefile (string-bench): Add strcpy_chk and
25939 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25940 * benchtests/bench-stpcpy_chk.c: New file.
25941 * benchtests/bench-strcpy_chk-ifunc.c: New file.
25942 * benchtests/bench-strcpy_chk.c: New file.
25943 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25945 (do_test): Likewise.
25947 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25949 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25950 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25951 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25952 with tabs where appropriate.
25953 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25955 [PPC_PLATFORM_PPC440]: Likewise.
25956 [PPC_PLATFORM_PPC464]: Likewise.
25957 [PPC_PLATFORM_PPC476]: Likewise.
25958 (_dl_string_platform): Add support for detecting ppc405, ppc440,
25959 ppc464, and ppc476 platform strings merging from ports/
25962 2013-06-11 Andreas Schwab <schwab@suse.de>
25965 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25966 (from_ucs4_idx): Regenerate.
25967 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25968 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25969 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25970 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25971 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25972 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25973 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25974 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25975 from FROM_LOOP and TO_LOOP specific macros.
25976 (BODY): Handle combining characters.
25977 * iconvdata/BIG5HKSCS.irreversible: Update.
25978 * iconvdata/BIG5HKSCS.precomposed: New file.
25979 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25981 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25983 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25985 * include/sys/time.h: Fix indentation and add copyright header.
25987 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25988 (do_test): Likewise.
25989 * string/test-memchr.c (do_one_test): Likewise.
25990 (do_test): Likewise.
25991 * string/test-memcmp.c (do_one_test): Likewise.
25992 (do_test): Likewise.
25993 * string/test-memcpy.c (do_one_test): Likewise.
25994 (do_test): Likewise.
25995 * string/test-memmem.c (do_one_test): Likewise.
25996 (do_test): Likewise.
25997 (do_random_tests): Likewise.
25998 * string/test-memmove.c (do_one_test): Likewise.
25999 (do_test): Likewise.
26000 * string/test-memset.c (do_one_test): Likewise.
26001 (do_test): Likewise.
26002 * string/test-rawmemchr.c (do_one_test): Likewise.
26003 (do_test): Likewise.
26004 * string/test-strcasecmp.c (do_one_test): Likewise.
26005 (do_test): Likewise.
26006 * string/test-strcasestr.c (do_one_test): Likewise.
26007 (do_test): Likewise.
26008 * string/test-strcat.c (do_one_test): Likewise.
26009 (do_test): Likewise.
26010 * string/test-strchr.c (do_one_test): Likewise.
26011 (do_test): Likewise.
26012 * string/test-strcmp.c (do_one_test): Likewise.
26013 (do_test): Likewise.
26014 * string/test-strcpy.c (do_one_test): Likewise.
26015 (do_test): Likewise.
26016 * string/test-string.h: Likewise.
26017 (test_init): Likewise.
26018 * string/test-strlen.c (do_one_test): Likewise.
26019 (do_test): Likewise.
26020 * string/test-strncasecmp.c (do_one_test): Likewise.
26021 (do_test): Likewise.
26022 * string/test-strncat.c (do_one_test): Likewise.
26023 (do_test): Likewise.
26024 * string/test-strncmp.c (do_one_test): Likewise.
26025 (do_test_limit): Likewise.
26026 (do_test): Likewise.
26027 * string/test-strncpy.c (do_one_test): Likewise.
26028 (do_test): Likewise.
26029 * string/test-strnlen.c (do_one_test): Likewise.
26030 (do_test): Likewise.
26031 * string/test-strpbrk.c (do_one_test): Likewise.
26032 (do_test): Likewise.
26033 * string/test-strrchr.c (do_one_test): Likewise.
26034 (do_test): Likewise.
26035 * string/test-strspn.c (do_one_test): Likewise.
26036 (do_test): Likewise.
26037 * string/test-strstr.c (do_one_test): Likewise.
26038 (do_test): Likewise.
26040 * benchtests/Makefile (string-bench): Add string benchmarks.
26041 * benchtests/bench-bcopy-ifunc.c: New file.
26042 * benchtests/bench-bcopy.c: New file.
26043 * benchtests/bench-bzero-ifunc.c: New file.
26044 * benchtests/bench-bzero.c: New file.
26045 * benchtests/bench-memccpy-ifunc.c: New file.
26046 * benchtests/bench-memccpy.c: New file.
26047 * benchtests/bench-memchr-ifunc.c: New file.
26048 * benchtests/bench-memchr.c: New file.
26049 * benchtests/bench-memcmp-ifunc.c: New file.
26050 * benchtests/bench-memcmp.c: New file.
26051 * benchtests/bench-memmem-ifunc.c: New file.
26052 * benchtests/bench-memmem.c: New file.
26053 * benchtests/bench-memmove-ifunc.c: New file.
26054 * benchtests/bench-memmove.c: New file.
26055 * benchtests/bench-mempcpy-ifunc.c: New file.
26056 * benchtests/bench-mempcpy.c: New file.
26057 * benchtests/bench-memset-ifunc.c: New file.
26058 * benchtests/bench-memset.c: New file.
26059 * benchtests/bench-rawmemchr-ifunc.c: New file.
26060 * benchtests/bench-rawmemchr.c: New file.
26061 * benchtests/bench-stpcpy-ifunc.c: New file.
26062 * benchtests/bench-stpcpy.c: New file.
26063 * benchtests/bench-stpncpy-ifunc.c: New file.
26064 * benchtests/bench-stpncpy.c: New file.
26065 * benchtests/bench-strcasecmp-ifunc.c: New file.
26066 * benchtests/bench-strcasecmp.c: New file.
26067 * benchtests/bench-strcasestr-ifunc.c: New file.
26068 * benchtests/bench-strcasestr.c: New file.
26069 * benchtests/bench-strcat-ifunc.c: New file.
26070 * benchtests/bench-strcat.c: New file.
26071 * benchtests/bench-strchr-ifunc.c: New file.
26072 * benchtests/bench-strchr.c: New file.
26073 * benchtests/bench-strchrnul-ifunc.c: New file.
26074 * benchtests/bench-strchrnul.c: New file.
26075 * benchtests/bench-strcmp-ifunc.c: New file.
26076 * benchtests/bench-strcmp.c: New file.
26077 * benchtests/bench-strcpy-ifunc.c: New file.
26078 * benchtests/bench-strcpy.c: New file.
26079 * benchtests/bench-strcspn-ifunc.c: New file.
26080 * benchtests/bench-strcspn.c: New file.
26081 * benchtests/bench-strlen-ifunc.c: New file.
26082 * benchtests/bench-strlen.c: New file.
26083 * benchtests/bench-strncasecmp-ifunc.c: New file.
26084 * benchtests/bench-strncasecmp.c: New file.
26085 * benchtests/bench-strncat-ifunc.c: New file.
26086 * benchtests/bench-strncat.c: New file.
26087 * benchtests/bench-strncmp-ifunc.c: New file.
26088 * benchtests/bench-strncmp.c: New file.
26089 * benchtests/bench-strncpy-ifunc.c: New file.
26090 * benchtests/bench-strncpy.c: New file.
26091 * benchtests/bench-strnlen-ifunc.c: New file.
26092 * benchtests/bench-strnlen.c: New file.
26093 * benchtests/bench-strpbrk-ifunc.c: New file.
26094 * benchtests/bench-strpbrk.c: New file.
26095 * benchtests/bench-strrchr-ifunc.c: New file.
26096 * benchtests/bench-strrchr.c: New file.
26097 * benchtests/bench-strspn-ifunc.c: New file.
26098 * benchtests/bench-strspn.c: New file.
26099 * benchtests/bench-strstr-ifunc.c: New file.
26100 * benchtests/bench-strstr.c: New file.
26102 * benchtests/Makefile: Disable parallel execution of targets.
26103 (string-bench): Add memcpy.
26104 (benchset): New variable to store a list of benchmark sets.
26105 (bench-func): Renamed from bench.
26106 (bench-set): New target.
26107 (bench): Depend on bench-func and bench-set.
26108 * benchtests/README: Add section on benchmark sets.
26109 * benchtests/bench-memcpy-ifunc.c: New file.
26110 * benchtests/bench-memcpy.c: New file.
26111 * benchtests/bench-string.h: New file.
26113 2013-06-11 Andreas Schwab <schwab@suse.de>
26116 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26117 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26118 values in the triple.
26119 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26120 terminator in the group key.
26122 2013-06-11 Andreas Jaeger <aj@suse.de>
26124 * po/zh_TW.po: Update Chinese (traditional) translation from
26125 translation project.
26127 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26129 * include/time.h (__clock_gettime): Add libc_hidden_proto.
26130 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26131 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
26132 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26133 (clock_getcpuclockid): Likewise.
26134 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26135 Add weak_alias and libc_hidden_def.
26136 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26137 * rt/clock_gettime.c (clock_gettime): Rename to
26138 __clock_gettime. Add weak_alias and libc_hidden_def.
26139 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26140 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26141 __clock_nanosleep. Add weak_alias and libc_hidden_def.
26142 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26143 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26145 * rt/clock_settime.c (clock_settime): Rename to
26146 __clock_settime. Add weak_alias and libc_hidden_def.
26147 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26149 2013-06-10 Joseph Myers <joseph@codesourcery.com>
26151 * mach/err_boot.sub: Remove trailing whitespace.
26152 * mach/err_ipc.sub: Likewise.
26153 * mach/err_mach.sub: Likewise.
26155 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26156 (ROUNDING_TESTS_double): Likewise.
26157 (ROUNDING_TESTS_long_double): Likewise.
26158 (ROUNDING_TESTS): Likewise.
26159 * math/libm-test.inc: Include <math-tests.h>.
26160 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26161 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26162 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26163 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26165 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26167 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26170 2013-06-08 Joseph Myers <joseph@codesourcery.com>
26172 * sysdeps/gnu/errlist.awk: Do not generate space at end of
26173 otherwise empty TRANS lines.
26174 * sysdeps/gnu/errlist.c: Regenerated.
26176 * catgets/gencat.c (error_print): Use (void) in function
26178 * crypt/crypt_util.c (__init_des): Likewise.
26179 * crypt/speeds.c (Stop): Likewise.
26181 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26182 * inet/ruserpass.c (token): Likewise.
26183 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26184 * intl/localealias.c (extend_alias_table): Likewise.
26185 * intl/plural-exp.c (init_germanic_plural): Likewise.
26186 * libio/fcloseall.c (__fcloseall): Likewise.
26187 * libio/genops.c (_IO_flush_all): Likewise.
26188 (_IO_flush_all_linebuffered): Likewise.
26189 (_IO_cleanup): Likewise.
26190 (_IO_iter_begin): Likewise.
26191 (_IO_iter_end): Likewise.
26192 (_IO_list_lock): Likewise.
26193 (_IO_list_unlock): Likewise.
26194 (_IO_list_resetlock): Likewise.
26195 * libio/getchar.c (getchar): Likewise.
26196 * libio/getchar_u.c (getchar_unlocked): Likewise.
26197 * libio/getwchar.c (getwchar): Likewise.
26198 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26199 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26200 * login/getpt.c (__getpt): Likewise.
26201 * login/tst-utmp.c (main): Likewise.
26202 * malloc/hooks.c (__malloc_check_init): Likewise.
26203 * malloc/malloc.c (__malloc_stats): Likewise.
26204 * malloc/mtrace.c (tr_break): Likewise.
26205 (mtrace): Likewise.
26206 (muntrace): Likewise.
26207 * misc/fstab.c (endfsent): Likewise.
26208 * misc/getclktck.c (__getclktck): Likewise.
26209 * misc/getdtsz.c (__getdtablesize): Likewise.
26210 * misc/gethostid.c (gethostid): Likewise.
26211 * misc/getpagesize.c (__getpagesize): Likewise.
26212 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26213 (__get_nprocs): Likewise.
26214 (__get_phys_pages): Likewise.
26215 (__get_avphys_pages): Likewise.
26216 * misc/getttyent.c (getttyent): Likewise.
26217 (setttyent): Likewise.
26218 (endttyent): Likewise.
26219 * misc/getusershell.c (getusershell): Likewise.
26220 (endusershell): Likewise.
26221 (setusershell): Likewise.
26222 (initshells): Likewise.
26223 * misc/hsearch.c (__hdestroy): Likewise.
26224 * misc/sync.c (sync): Likewise.
26225 * misc/syslog.c (closelog_internal): Likewise.
26226 (closelog): Likewise.
26227 * misc/ttyslot.c (ttyslot): Likewise.
26228 * misc/vhangup.c (vhangup): Likewise.
26229 * posix/fork.c (__fork): Likewise.
26230 * posix/getegid.c (__getegid): Likewise.
26231 * posix/geteuid.c (__geteuid): Likewise.
26232 * posix/getgid.c (__getgid): Likewise.
26233 * posix/getpid.c (__getpid): Likewise.
26234 * posix/getppid.c (__getppid): Likewise.
26235 * posix/getuid.c (__getuid): Likewise.
26236 * posix/pause.c (pause): Likewise.
26237 * posix/setpgrp.c (setpgrp): Likewise.
26238 * posix/setsid.c (__setsid): Likewise.
26239 * posix/test-vfork.c (noop): Likewise.
26240 * resolv/gethnamaddr.c (_endhtent): Likewise.
26241 (_gethtent): Likewise.
26242 (ht_endhostent): Likewise.
26243 (gethostent): Likewise.
26244 (dns_service): Likewise.
26245 * stdlib/drand48.c (drand48): Likewise.
26246 * stdlib/lrand48.c (lrand48): Likewise.
26247 * stdlib/mrand48.c (mrand48): Likewise.
26248 * stdlib/rand.c (rand): Likewise.
26249 * stdlib/random.c (__random): Likewise.
26250 * stdlib/setenv.c (clearenv): Likewise.
26251 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26252 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26253 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26254 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26255 (__get_nprocs): Likewise.
26256 (__get_phys_pages): Likewise.
26257 (__get_avphys_pages): Likewise.
26258 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
26259 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
26260 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
26261 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
26262 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
26263 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
26264 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
26265 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
26266 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
26267 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
26268 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
26269 * sysdeps/mach/hurd/sync.c (sync): Likewise.
26270 * sysdeps/posix/clock.c (clock): Likewise.
26271 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
26272 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
26273 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
26274 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
26275 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
26276 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
26277 (__get_nprocs_conf): Likewise.
26278 (__get_phys_pages): Likewise.
26279 (__get_avphys_pages): Likewise.
26280 * time/clock.c (clock): Likewise.
26281 * time/tzset.c (__tzname_max): Likewise.
26283 2013-06-07 Joseph Myers <joseph@codesourcery.com>
26285 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
26286 (__bswap_32): Do not use "register".
26287 * crypt/crypt.c (_ufc_doit_r): Likewise.
26288 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26289 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26290 * gmon/gmon.c (__monstartup): Likewise.
26291 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
26292 * hurd/hurdmalloc.c (more_memory): Likewise.
26293 (malloc): Likewise.
26295 (realloc): Likewise.
26296 (malloc_fork_prepare): Likewise.
26297 (malloc_fork_parent): Likewise.
26298 (malloc_fork_child): Likewise.
26299 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
26300 (_svcauth_des): Likewise.
26301 * inet/inet_lnaof.c (inet_lnaof): Likewise.
26302 * inet/inet_net.c (inet_network): Likewise.
26303 * inet/inet_netof.c (inet_netof): Likewise.
26304 * inet/rcmd.c (__validuser2_sa): Likewise.
26305 * io/fts.c (fts_open): Likewise.
26306 (fts_load): Likewise.
26307 (fts_close): Likewise.
26308 (fts_read): Likewise.
26309 (fts_children): Likewise.
26310 (fts_build): Likewise.
26311 (fts_stat): Likewise.
26312 (fts_sort): Likewise.
26313 (fts_alloc): Likewise.
26314 (fts_lfree): Likewise.
26315 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
26316 (_IO_file_xsgetn): Likewise.
26317 (_IO_file_xsgetn_mmap): Likewise.
26318 * libio/iofopncook.c (_IO_cookie_read): Likewise.
26319 (_IO_cookie_write): Likewise.
26320 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
26321 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
26322 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
26323 * malloc/obstack.c (_obstack_begin): Likewise.
26324 (_obstack_begin_1): Likewise.
26325 (_obstack_newchunk): Likewise.
26326 (_obstack_allocated_p): Likewise.
26327 (obstack_free): Likewise.
26328 (_obstack_memory_used): Likewise.
26329 * misc/getttyent.c (getttynam): Likewise.
26330 (getttyent): Likewise.
26333 * misc/getusershell.c (initshells): Likewise.
26334 * misc/syslog.c (__vsyslog_chk): Likewise.
26335 * misc/ttyslot.c (ttyslot): Likewise.
26336 * nis/nis_hash.c (__nis_hash): Likewise.
26337 * posix/fnmatch_loop.c (FCT): Likewise.
26338 * posix/getconf.c (print_all): Likewise.
26340 * posix/getopt.c (exchange): Likewise.
26341 * posix/glob.c (globfree): Likewise.
26342 (prefix_array): Likewise.
26343 (__glob_pattern_type): Likewise.
26344 * resolv/arpa/nameser.h (NS_GET16): Likewise.
26345 (NS_GET32): Likewise.
26346 (NS_PUT16): Likewise.
26347 (NS_PUT32): Likewise.
26348 * resolv/gethnamaddr.c (getanswer): Likewise.
26349 (gethostbyname2): Likewise.
26350 (gethostbyaddr): Likewise.
26351 (_gethtent): Likewise.
26352 (_gethtbyname2): Likewise.
26353 (_gethtbyaddr): Likewise.
26354 * resolv/ns_print.c (dst_s_get_int16): Likewise.
26355 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26356 * resolv/res_init.c (__res_vinit): Likewise.
26357 (net_mask): Likewise.
26358 * resolv/res_mkquery.c (outchar): Likewise.
26360 * stdio-common/printf_fp.c (outchar): Likewise.
26362 * stdio-common/printf_fphex.c (outchar): Likewise.
26364 * stdio-common/printf_size.c (outchar): Likewise.
26366 * stdio-common/test_rdwr.c (main): Likewise.
26367 * stdio-common/tfformat.c (matches): Likewise.
26368 * stdio-common/vfprintf.c (outchar): Likewise.
26369 (printf_unknown): Likewise.
26370 (buffered_vfprintf): Likewise.
26371 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26372 * stdio-common/xbug.c (AppendToBuffer): Likewise.
26373 (ReadFile): Likewise.
26374 * stdlib/qsort.c (SWAP): Likewise.
26375 (_quicksort): Likewise.
26376 * stdlib/setenv.c (__add_to_environ): Likewise.
26377 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26378 * stdlib/strtol_l.c (__strtol_l): Likewise.
26379 * stdlib/tst-strtod.c (main): Likewise.
26380 * stdlib/tst-strtol.c (main): Likewise.
26381 * stdlib/tst-strtoll.c (main): Likewise.
26382 * string/bits/string2.h (__strcmp_cc): Likewise.
26383 (__strcmp_cg): Likewise.
26384 (__strcspn_c1): Likewise.
26385 (__strcspn_c2): Likewise.
26386 (__strcspn_c3): Likewise.
26387 (__strspn_c1): Likewise.
26388 (__strspn_c2): Likewise.
26389 (__strspn_c3): Likewise.
26390 (__strsep_1c): Likewise.
26391 (__strsep_2c): Likewise.
26392 (__strsep_3c): Likewise.
26393 * string/memccpy.c (__memccpy): Likewise.
26394 * string/stpcpy.c (__stpcpy): Likewise.
26395 * string/strcmp.c (strcmp): Likewise.
26396 * string/strrchr.c (strrchr): Likewise.
26397 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
26399 * sysdeps/mach/hurd/getcwd.c
26400 (_hurd_canonicalize_directory_name_internal): Likewise.
26401 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
26402 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
26403 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
26404 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
26405 Likewise, in both definitions.
26406 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
26408 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
26409 64] (__bswap_64): Likewise.
26410 * time/test_time.c (main): Likewise.
26411 * time/tzfile.c (__tzfile_read): Likewise.
26412 (__tzfile_compute): Likewise.
26413 * time/tzset.c (__tzset_parse_tz): Likewise.
26414 (tzset_internal): Likewise.
26415 (compute_change): Likewise.
26416 * wcsmbs/wcscat.c (__wcscat): Likewise.
26417 * wcsmbs/wcschr.c (wcschr): Likewise.
26418 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
26419 * wcsmbs/wcscspn.c (wcscspn): Likewise.
26420 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
26421 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
26422 * wcsmbs/wcsspn.c (wcsspn): Likewise.
26423 * wcsmbs/wcsstr.c (wcsstr): Likewise.
26424 * wcsmbs/wmemchr.c (wmemchr): Likewise.
26425 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26426 * wcsmbs/wmemset.c (wmemset): Likewise.
26428 2013-06-06 Joseph Myers <joseph@codesourcery.com>
26430 * scripts/config.guess: Update to version 2013-05-16.
26431 * scripts/config.sub: Update to version 2013-04-24.
26432 * scripts/install-sh: Update to version 2011-11-20.07.
26433 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
26434 * scripts/move-if-change: Update to version 2012-01-06 07:23.
26436 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
26438 * debug/fgetws_u_chk.c: Fix leading whitespaces.
26439 * elf/sln.c: Likewise.
26440 * hurd/hurd/ioctl.h: Likewise.
26441 * hurd/hurdmalloc.c: Likewise.
26442 * hurd/xattr.c: Likewise.
26443 * include/shlib-compat.h: Likewise.
26444 * inet/ruserpass.c: Likewise.
26445 * libio/iofgets_u.c: Likewise.
26446 * libio/iofgetws_u.c: Likewise.
26447 * locale/programs/ld-identification.c: Likewise.
26448 * locale/programs/ld-time.c: Likewise.
26449 * mach/msg-destroy.c: Likewise.
26450 * nss/nss_files/files-netgrp.c: Likewise.
26451 * resolv/res_data.c: Likewise.
26452 * soft-fp/op-1.h: Likewise.
26453 * soft-fp/op-2.h: Likewise.
26454 * soft-fp/op-4.h: Likewise.
26455 * soft-fp/op-common.h: Likewise.
26456 * stdio-common/printf_fphex.c: Likewise.
26457 * stdlib/strtod_l.c: Likewise.
26458 * sunrpc/rpc/clnt.h: Likewise.
26459 * sysdeps/generic/framestate.c: Likewise.
26460 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26461 * sysdeps/i386/bsd-setjmp.S: Likewise.
26462 * sysdeps/i386/__longjmp.S: Likewise.
26463 * sysdeps/i386/setjmp.S: Likewise.
26464 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26465 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26466 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26467 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26468 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26469 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26470 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26471 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26472 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26473 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26474 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26475 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26476 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26477 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26478 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26479 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26480 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26481 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
26482 * sysdeps/ieee754/support.c: Likewise.
26483 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26484 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
26485 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
26486 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
26487 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
26488 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
26489 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
26490 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
26491 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
26492 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
26493 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
26494 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
26495 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
26496 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
26497 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
26498 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
26499 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
26502 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
26504 * posix/transbug.c: Remove executable mode.
26506 2013-06-05 Joseph Myers <joseph@codesourcery.com>
26508 * crypt/speeds.c: Remove trailing whitespace.
26509 * dlfcn/default.c: Likewise.
26510 * elf/ifuncdep2.c: Likewise.
26511 * elf/ifuncmain1.c: Likewise.
26512 * elf/ifuncmain1vis.c: Likewise.
26513 * elf/testobj.h: Likewise.
26514 * elf/tst-stackguard1.c: Likewise.
26515 * gmon/sys/gmon.h: Likewise.
26516 * hurd/hurdmsg.c: Likewise.
26517 * hurd/new-fd.c: Likewise.
26518 * hurd/ports-get.c: Likewise.
26519 * iconvdata/ibm1008_420.c: Likewise.
26520 * inet/tst-getni1.c: Likewise.
26521 * inet/tst-getni2.c: Likewise.
26522 * libio/ioungetc.c: Likewise.
26523 * libio/wfiledoalloc.c: Likewise.
26524 * manual/libm-err-tab.pl: Likewise.
26525 * math/w_dremf.c: Likewise.
26526 * misc/ftruncate.c: Likewise.
26527 * posix/bug-glob2.c: Likewise.
26528 * posix/tst-pcre.c: Likewise.
26529 * posix/wait4.c: Likewise.
26530 * resolv/README: Likewise.
26531 * resolv/res_debug.h: Likewise.
26532 * resolv/tst-inet_ntop.c: Likewise.
26533 * setjmp/bug269-setjmp.c: Likewise.
26534 * soft-fp/extended.h: Likewise.
26535 * soft-fp/op-1.h: Likewise.
26536 * soft-fp/op-2.h: Likewise.
26537 * soft-fp/op-4.h: Likewise.
26538 * soft-fp/op-8.h: Likewise.
26539 * soft-fp/testit.c: Likewise.
26540 * stdio-common/bug16.c: Likewise.
26541 * stdlib/random.c: Likewise.
26542 * sunrpc/rpcsvc/rquota.x: Likewise.
26543 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
26544 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26545 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26546 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26547 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26548 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26549 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26550 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26551 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26552 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26553 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26554 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26555 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26556 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26557 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26558 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26559 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26560 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26561 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26562 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26563 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26564 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26565 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
26566 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26567 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26568 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26569 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26570 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26571 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26572 * sysdeps/ieee754/s_lib_version.c: Likewise.
26573 * sysdeps/mach/hurd/check_fds.c: Likewise.
26574 * sysdeps/mach/hurd/getsockname.c: Likewise.
26575 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
26576 * sysdeps/mach/hurd/recvfrom.c: Likewise.
26577 * sysdeps/powerpc/bits/link.h: Likewise.
26578 * sysdeps/powerpc/dl-procinfo.c: Likewise.
26579 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
26580 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
26581 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
26582 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26583 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26584 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
26585 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26586 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
26587 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26588 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26589 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26590 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
26591 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26592 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26593 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26594 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26595 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26596 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26597 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26598 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26599 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
26600 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26601 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26602 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
26603 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26604 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26605 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26606 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26607 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26608 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26609 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26610 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26611 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26612 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
26613 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26614 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
26615 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26616 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26617 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
26618 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
26619 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
26620 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
26621 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
26622 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26623 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
26624 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
26625 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26626 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
26627 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
26628 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26629 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26630 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26631 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26632 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
26633 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26634 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26635 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26636 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
26637 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26638 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
26639 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
26640 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
26641 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26642 * sysdeps/powerpc/sysdep.h: Likewise.
26643 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26644 * sysdeps/s390/s390-64/sub_n.S: Likewise.
26645 * sysdeps/sh/dl-trampoline.S: Likewise.
26646 * sysdeps/sh/memset.S: Likewise.
26647 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
26648 * sysdeps/sh/strlen.S: Likewise.
26649 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
26650 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
26651 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
26652 * sysdeps/sparc/sparc32/rem.S: Likewise.
26653 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
26654 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
26655 * sysdeps/sparc/sparc32/strchr.S: Likewise.
26656 * sysdeps/sparc/sparc32/udiv.S: Likewise.
26657 * sysdeps/sparc/sparc32/urem.S: Likewise.
26658 * sysdeps/sparc/sparc64/add_n.S: Likewise.
26659 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26660 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
26661 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
26662 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
26663 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
26664 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26665 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
26666 * sysdeps/unix/bsd/times.c: Likewise.
26667 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
26668 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
26669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26672 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
26673 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26674 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
26675 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
26676 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
26677 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
26678 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26679 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
26680 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26681 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26682 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26683 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26684 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
26685 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
26686 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
26687 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
26688 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
26689 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26690 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
26691 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
26692 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26693 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
26694 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26695 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
26696 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
26697 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
26698 * sysdeps/x86_64/strcspn.S: Likewise.
26700 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26702 * locale/C-translit.h: Revert #include <stdint.h> because this is a
26703 generated file. Regenerate properly from gen-translit.pl.
26704 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
26705 locale/C-translit.h.
26707 2013-06-05 Andreas Schwab <schwab@suse.de>
26710 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
26711 week as 6 instead of -1.
26712 * time/tst-strptime.c (day_tests): Add test case.
26714 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26716 * sysdeps/generic/math_private.h
26717 (libc_feholdexcept_setround_53bit): Replace with
26718 libc_feholdsetround_53bit.
26719 (libc_feupdateenv_53bit): Replace with
26720 libc_feresetround_53bit.
26721 (SET_RESTORE_ROUND_53BIT): Adjust.
26723 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26725 * string/test-strchrnul.c: Add copyright header.
26727 * posix/tst-getaddrinfo4.c: Increase test timeout.
26729 2013-06-03 Carlos O'Donell <carlos@redhat.com>
26732 * math/libm-test.inc (MAX_EXP): Remove
26734 (ulp): Use MIN_EXP - MANT_DIG.
26735 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
26737 2013-05-31 Carlos O'Donell <carlos@redhat.com>
26739 * po/be.po: Revert last change.
26740 * po/zh_CN.po: Likewise.
26741 * po/header.pot: Likewise.
26743 2013-05-31 Joseph Myers <joseph@codesourcery.com>
26745 * Makefile ($(common-objpfx)linkobj/libc.so): Define
26746 link-libc-deps to empty as target-specific variable.
26747 * Makerules (link-libc-args): New variable.
26748 (libc-for-link): Likewise.
26749 (link-libc-deps): Likewise.
26750 (lib%.so): Depend on $(link-libc-deps). Link with
26752 (build-module): Link with $(link-libc-args).
26753 (build-module-asneeded): Likewise.
26754 (build-module-helper-objlist): Filter out $(link-libc-deps) from
26756 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
26757 target-specific variable.
26758 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
26759 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
26760 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
26762 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
26764 ($(objpfx)libpcprofile.so): Likewise.
26765 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
26767 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26768 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26769 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26771 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26772 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26773 * login/Makefile ($(objpfx)libutil.so): Likewise.
26774 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26775 * math/Makefile ($(objpfx)libm.so): Likewise.
26776 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26777 $(objpfx)libnsl.so): Define libc-for-link as target-specific
26778 variable instead of depending directly on libc.
26779 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26780 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26782 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26784 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26785 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26786 ($(objpfx)libanl.so): Likewise.
26787 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26789 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26791 * sysdeps/i386/fpu/Makefile: Remove file.
26792 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26793 ($(objpfx)libm.so): Remove dependency on ld.so.
26795 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
26798 * nis/yp_xdr.c (XDRMAXNAME): Define.
26799 (XDRMAXRECORD): Define.
26800 (xdr_domainname): Use XDRMAXNAME.
26801 (xdr_mapname): Likewise.
26802 (xdr_peername): Likewise.
26803 (xdr_keydat): Use XDRMAXRECORD.
26804 (xdr_valdat): Likewise.
26806 2013-05-30 Jeff Law <law@redhat.com>
26809 * manual/errno.texi (ESTALE): Update to account for more than
26810 just NFS file systems.
26811 * sysdeps/gnu/errlist.c: Regenerated.
26813 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26816 * elf/Makefile (tests): Add tst-null-argv.
26817 (modules-names): Add tst-null-argv-lib.
26818 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26819 (tst-null-argv-ENV): Set environment for tst-null-argv.
26820 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26821 (RTLD_PROGNAME): New macro.
26822 * elf/tst-null-argv.c: New test case.
26823 * elf/tst-null-argv-lib.c: Library for test case.
26824 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26825 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26826 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26827 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26828 * elf/dl-init.c (call_init): Likewise.
26829 (_dl_init): Likewise.
26830 * elf/dl-load.c (print_search_path): Likewise.
26831 (_dl_map_object): Likewise.
26832 * elf/dl-lookup.c (do_lookup_x): Likewise.
26833 (add_dependency): Likewise.
26834 (_dl_lookup_symbol_x): Likewise.
26835 (_dl_debug_bindings): Likewise.
26836 * elf/dl-open.c (_dl_show_scope): Likewise.
26837 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26838 * elf/dl-version.c (match_symbol): Likewise.
26839 (_dl_check_map_versions): Likewise.
26840 * elf/rtld.c (dl_main): Likewise.
26841 (print_unresolved): Use RTLD_PROGNAME.
26842 (print_missing_version): Likewise.
26843 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26844 (elf_machine_rela): Likewise.
26845 * sysdeps/powerpc/powerpc32/dl-machine.c
26846 (__process_machine_rela): Likewise.
26847 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26849 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26851 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26853 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26854 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
26856 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
26858 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26860 2013-05-28 Carlos O'Donell <carlos@redhat.com>
26862 * po/be.po: Add descriptive title.
26863 * po/zh_CN.po: Likewise.
26864 * po/header.pot: Likewise.
26866 2013-05-28 Mike Frysinger <vapier@gentoo.org>
26868 * locale/programs/locarchive.c (create_archive): Inlucde fname in
26870 (enlarge_archive): Likewise.
26872 2013-05-28 Ben North <ben@redfrontdoor.org>
26874 * manual/arith.texi (frexp): It is the magnitude of the return
26875 value which lies in [0.5, 1), not the return value itself.
26877 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26881 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
26883 * stdio-common/bug26.c (main): Correct fscanf template.
26885 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
26886 declare _dl_skip_args.
26888 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
26891 * manual/platform.texi: Add missing @end deftypefun.
26893 2013-05-24 Joseph Myers <joseph@codesourcery.com>
26896 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
26897 bit of mantissa of 2^16382.
26898 * math/libm-test.inc (hypot_test_data): Add more tests.
26900 * math/libm-test.inc: Add drem and pow10 to list of tested
26902 (pow10_test): New function.
26903 (drem_test): Likewise.
26904 (drem_test_tonearest): Likewise.
26905 (drem_test_towardzero): Likewise.
26906 (drem_test_downward): Likewise.
26907 (drem_test_upward): Likewise.
26908 (main): Call the new functions.
26910 * math/libm-test.inc (finite_test_data): Remove.
26911 (finite_test): Run tests from isfinite_test_data.
26912 (gamma_test_data): Remove.
26913 (gamma_test): Run tests from lgamma_test_data.
26914 * sysdeps/i386/fpu/libm-test-ulps: Update.
26915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26917 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26919 * manual/platform.texi: Add PowerPC PPR function set documentation.
26920 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
26923 2013-05-24 Carlos O'Donell <carlos@redhat.com>
26925 * math/libm-test.inc (MAX_EXP): Define.
26927 (ulp): New function.
26928 (check_float_internal): Use ULPDIFF.
26929 (cpow_test): Disable failing test.
26930 (check_ulp): Test ulp() implemetnation.
26931 (main): Call check_ulp before starting tests.
26933 2013-05-24 Joseph Myers <joseph@codesourcery.com>
26935 * math/gen-libm-test.pl (generate_testfile): Do not handle
26936 START_DATA and END_DATA.
26937 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26939 (acos_tonearest_test_data): Likewise.
26940 (acos_towardzero_test_data): Likewise.
26941 (acos_downward_test_data): Likewise.
26942 (acos_upward_test_data): Likewise.
26943 (acosh_test_data): Likewise.
26944 (asin_test_data): Likewise.
26945 (asin_tonearest_test_data): Likewise.
26946 (asin_towardzero_test_data): Likewise.
26947 (asin_downward_test_data): Likewise.
26948 (asin_upward_test_data): Likewise.
26949 (asinh_test_data): Likewise.
26950 (atan_test_data): Likewise.
26951 (atanh_test_data): Likewise.
26952 (atan2_test_data): Likewise.
26953 (cabs_test_data): Likewise.
26954 (cacos_test_data): Likewise.
26955 (cacosh_test_data): Likewise.
26956 (carg_test_data): Likewise.
26957 (casin_test_data): Likewise.
26958 (casinh_test_data): Likewise.
26959 (catan_test_data): Likewise.
26960 (catanh_test_data): Likewise.
26961 (cbrt_test_data): Likewise.
26962 (ccos_test_data): Likewise.
26963 (ccosh_test_data): Likewise.
26964 (ceil_test_data): Likewise.
26965 (cexp_test_data): Likewise.
26966 (cimag_test_data): Likewise.
26967 (clog_test_data): Likewise.
26968 (clog10_test_data): Likewise.
26969 (conj_test_data): Likewise.
26970 (copysign_test_data): Likewise.
26971 (cos_test_data): Likewise.
26972 (cos_tonearest_test_data): Likewise.
26973 (cos_towardzero_test_data): Likewise.
26974 (cos_downward_test_data): Likewise.
26975 (cos_upward_test_data): Likewise.
26976 (cosh_test_data): Likewise.
26977 (cosh_tonearest_test_data): Likewise.
26978 (cosh_towardzero_test_data): Likewise.
26979 (cosh_downward_test_data): Likewise.
26980 (cosh_upward_test_data): Likewise.
26981 (cpow_test_data): Likewise.
26982 (cproj_test_data): Likewise.
26983 (creal_test_data): Likewise.
26984 (csin_test_data): Likewise.
26985 (csinh_test_data): Likewise.
26986 (csqrt_test_data): Likewise.
26987 (ctan_test_data): Likewise.
26988 (ctan_tonearest_test_data): Likewise.
26989 (ctan_towardzero_test_data): Likewise.
26990 (ctan_downward_test_data): Likewise.
26991 (ctan_upward_test_data): Likewise.
26992 (ctanh_test_data): Likewise.
26993 (ctanh_tonearest_test_data): Likewise.
26994 (ctanh_towardzero_test_data): Likewise.
26995 (ctanh_downward_test_data): Likewise.
26996 (ctanh_upward_test_data): Likewise.
26997 (erf_test_data): Likewise.
26998 (erfc_test_data): Likewise.
26999 (exp_test_data): Likewise.
27000 (exp_tonearest_test_data): Likewise.
27001 (exp_towardzero_test_data): Likewise.
27002 (exp_downward_test_data): Likewise.
27003 (exp_upward_test_data): Likewise.
27004 (exp10_test_data): Likewise.
27005 (exp2_test_data): Likewise.
27006 (expm1_test_data): Likewise.
27007 (fabs_test_data): Likewise.
27008 (fdim_test_data): Likewise.
27009 (finite_test_data): Likewise.
27010 (floor_test_data): Likewise.
27011 (fma_test_data): Likewise.
27012 (fma_towardzero_test_data): Likewise.
27013 (fma_downward_test_data): Likewise.
27014 (fma_upward_test_data): Likewise.
27015 (fmax_test_data): Likewise.
27016 (fmin_test_data): Likewise.
27017 (fmod_test_data): Likewise.
27018 (fpclassify_test_data): Likewise.
27019 (frexp_test_data): Likewise.
27020 (gamma_test_data): Likewise.
27021 (hypot_test_data): Likewise.
27022 (ilogb_test_data): Likewise.
27023 (isfinite_test_data): Likewise.
27024 (isgreater_test_data): Likewise.
27025 (isgreaterequal_test_data): Likewise.
27026 (isinf_test_data): Likewise.
27027 (isless_test_data): Likewise.
27028 (islessequal_test_data): Likewise.
27029 (islessgreater_test_data): Likewise.
27030 (isnan_test_data): Likewise.
27031 (isnormal_test_data): Likewise.
27032 (issignaling_test_data): Likewise.
27033 (isunordered_test_data): Likewise.
27034 (j0_test_data): Likewise.
27035 (j1_test_data): Likewise.
27036 (jn_test_data): Likewise.
27037 (ldexp_test_data): Likewise.
27038 (lgamma_test_data): Likewise.
27039 (lrint_test_data): Likewise.
27040 (lrint_tonearest_test_data): Likewise.
27041 (lrint_towardzero_test_data): Likewise.
27042 (lrint_downward_test_data): Likewise.
27043 (lrint_upward_test_data): Likewise.
27044 (llrint_test_data): Likewise.
27045 (llrint_tonearest_test_data): Likewise.
27046 (llrint_towardzero_test_data): Likewise.
27047 (llrint_downward_test_data): Likewise.
27048 (llrint_upward_test_data): Likewise.
27049 (log_test_data): Likewise.
27050 (log10_test_data): Likewise.
27051 (log1p_test_data): Likewise.
27052 (log2_test_data): Likewise.
27053 (logb_test_data): Likewise.
27054 (logb_downward_test_data): Likewise.
27055 (lround_test_data): Likewise.
27056 (llround_test_data): Likewise.
27057 (modf_test_data): Likewise.
27058 (nearbyint_test_data): Likewise.
27059 (nextafter_test_data): Likewise.
27060 (nexttoward_test_data): Likewise.
27061 (pow_test_data): Likewise.
27062 (pow_tonearest_test_data): Likewise.
27063 (pow_towardzero_test_data): Likewise.
27064 (pow_downward_test_data): Likewise.
27065 (pow_upward_test_data): Likewise.
27066 (remainder_test_data): Likewise.
27067 (remainder_tonearest_test_data): Likewise.
27068 (remainder_towardzero_test_data): Likewise.
27069 (remainder_downward_test_data): Likewise.
27070 (remainder_upward_test_data): Likewise.
27071 (remquo_test_data): Likewise.
27072 (rint_test_data): Likewise.
27073 (rint_tonearest_test_data): Likewise.
27074 (rint_towardzero_test_data): Likewise.
27075 (rint_downward_test_data): Likewise.
27076 (rint_upward_test_data): Likewise.
27077 (round_test_data): Likewise.
27078 (scalb_test_data): Likewise.
27079 (scalbn_test_data): Likewise.
27080 (scalbln_test_data): Likewise.
27081 (signbit_test_data): Likewise.
27082 (sin_test_data): Likewise.
27083 (sin_tonearest_test_data): Likewise.
27084 (sin_towardzero_test_data): Likewise.
27085 (sin_downward_test_data): Likewise.
27086 (sin_upward_test_data): Likewise.
27087 (sincos_test_data): Likewise.
27088 (sinh_test_data): Likewise.
27089 (sinh_tonearest_test_data): Likewise.
27090 (sinh_towardzero_test_data): Likewise.
27091 (sinh_downward_test_data): Likewise.
27092 (sinh_upward_test_data): Likewise.
27093 (sqrt_test_data): Likewise.
27094 (tan_test_data): Likewise.
27095 (tan_tonearest_test_data): Likewise.
27096 (tan_towardzero_test_data): Likewise.
27097 (tan_downward_test_data): Likewise.
27098 (tan_upward_test_data): Likewise.
27099 (tanh_test_data): Likewise.
27100 (tgamma_test_data): Likewise.
27101 (trunc_test_data): Likewise.
27102 (y0_test_data): Likewise.
27103 (y1_test_data): Likewise.
27104 (yn_test_data): Likewise.
27105 (significand_test_data): Likewise.
27107 * math/gen-libm-test.pl (@functions): Remove variable.
27108 (generate_testfile): Don't handle START and END lines.
27109 * math/libm-test.inc (START): New macro.
27111 (END_COMPLEX): Likewise.
27112 (acos_test): Use END macro without arguments.
27113 (acos_test_tonearest): Likewise.
27114 (acos_test_towardzero): Likewise.
27115 (acos_test_downward): Likewise.
27116 (acos_test_upward): Likewise.
27117 (acosh_test): Likewise.
27118 (asin_test): Likewise.
27119 (asin_test_tonearest): Likewise.
27120 (asin_test_towardzero): Likewise.
27121 (asin_test_downward): Likewise.
27122 (asin_test_upward): Likewise.
27123 (asinh_test): Likewise.
27124 (atan_test): Likewise.
27125 (atanh_test): Likewise.
27126 (atan2_test): Likewise.
27127 (cabs_test): Likewise.
27128 (cacos_test): Use END_COMPLEX macro without arguments.
27129 (cacosh_test): Likewise.
27130 (carg_test): Use END macro without arguments.
27131 (casin_test): Use END_COMPLEX macro without arguments.
27132 (casinh_test): Likewise.
27133 (catan_test): Likewise.
27134 (catanh_test): Likewise.
27135 (cbrt_test): Use END macro without arguments.
27136 (ccos_test): Use END_COMPLEX macro without arguments.
27137 (ccosh_test): Likewise.
27138 (ceil_test): Use END macro without arguments.
27139 (cexp_test): Use END_COMPLEX macro without arguments.
27140 (cimag_test): Use END macro without arguments.
27141 (clog_test): Use END_COMPLEX macro without arguments.
27142 (clog10_test): Likewise.
27143 (conj_test): Likewise.
27144 (copysign_test): Use END macro without arguments.
27145 (cos_test): Likewise.
27146 (cos_test_tonearest): Likewise.
27147 (cos_test_towardzero): Likewise.
27148 (cos_test_downward): Likewise.
27149 (cos_test_upward): Likewise.
27150 (cosh_test): Likewise.
27151 (cosh_test_tonearest): Likewise.
27152 (cosh_test_towardzero): Likewise.
27153 (cosh_test_downward): Likewise.
27154 (cosh_test_upward): Likewise.
27155 (cpow_test): Use END_COMPLEX macro without arguments.
27156 (cproj_test): Likewise.
27157 (creal_test): Use END macro without arguments.
27158 (csin_test): Use END_COMPLEX macro without arguments.
27159 (csinh_test): Likewise.
27160 (csqrt_test): Likewise.
27161 (ctan_test): Likewise.
27162 (ctan_test_tonearest): Likewise.
27163 (ctan_test_towardzero): Likewise.
27164 (ctan_test_downward): Likewise.
27165 (ctan_test_upward): Likewise.
27166 (ctanh_test): Likewise.
27167 (ctanh_test_tonearest): Likewise.
27168 (ctanh_test_towardzero): Likewise.
27169 (ctanh_test_downward): Likewise.
27170 (ctanh_test_upward): Likewise.
27171 (erf_test): Use END macro without arguments.
27172 (erfc_test): Likewise.
27173 (exp_test): Likewise.
27174 (exp_test_tonearest): Likewise.
27175 (exp_test_towardzero): Likewise.
27176 (exp_test_downward): Likewise.
27177 (exp_test_upward): Likewise.
27178 (exp10_test): Likewise.
27179 (exp2_test): Likewise.
27180 (expm1_test): Likewise.
27181 (fabs_test): Likewise.
27182 (fdim_test): Likewise.
27183 (finite_test): Likewise.
27184 (floor_test): Likewise.
27185 (fma_test): Likewise.
27186 (fma_test_towardzero): Likewise.
27187 (fma_test_downward): Likewise.
27188 (fma_test_upward): Likewise.
27189 (fmax_test): Likewise.
27190 (fmin_test): Likewise.
27191 (fmod_test): Likewise.
27192 (fpclassify_test): Likewise.
27193 (frexp_test): Likewise.
27194 (gamma_test): Likewise.
27195 (hypot_test): Likewise.
27196 (ilogb_test): Likewise.
27197 (isfinite_test): Likewise.
27198 (isgreater_test): Likewise.
27199 (isgreaterequal_test): Likewise.
27200 (isinf_test): Likewise.
27201 (isless_test): Likewise.
27202 (islessequal_test): Likewise.
27203 (islessgreater_test): Likewise.
27204 (isnan_test): Likewise.
27205 (isnormal_test): Likewise.
27206 (issignaling_test): Likewise.
27207 (isunordered_test): Likewise.
27208 (j0_test): Likewise.
27209 (j1_test): Likewise.
27210 (jn_test): Likewise.
27211 (ldexp_test): Likewise.
27212 (lgamma_test): Likewise.
27213 (lrint_test): Likewise.
27214 (lrint_test_tonearest): Likewise.
27215 (lrint_test_towardzero): Likewise.
27216 (lrint_test_downward): Likewise.
27217 (lrint_test_upward): Likewise.
27218 (llrint_test): Likewise.
27219 (llrint_test_tonearest): Likewise.
27220 (llrint_test_towardzero): Likewise.
27221 (llrint_test_downward): Likewise.
27222 (llrint_test_upward): Likewise.
27223 (log_test): Likewise.
27224 (log10_test): Likewise.
27225 (log1p_test): Likewise.
27226 (log2_test): Likewise.
27227 (logb_test): Likewise.
27228 (logb_test_downward): Likewise.
27229 (lround_test): Likewise.
27230 (llround_test): Likewise.
27231 (modf_test): Likewise.
27232 (nearbyint_test): Likewise.
27233 (nextafter_test): Likewise.
27234 (nexttoward_test): Likewise.
27235 (pow_test): Likewise.
27236 (pow_test_tonearest): Likewise.
27237 (pow_test_towardzero): Likewise.
27238 (pow_test_downward): Likewise.
27239 (pow_test_upward): Likewise.
27240 (remainder_test): Likewise.
27241 (remainder_test_tonearest): Likewise.
27242 (remainder_test_towardzero): Likewise.
27243 (remainder_test_downward): Likewise.
27244 (remainder_test_upward): Likewise.
27245 (remquo_test): Likewise.
27246 (rint_test): Likewise.
27247 (rint_test_tonearest): Likewise.
27248 (rint_test_towardzero): Likewise.
27249 (rint_test_downward): Likewise.
27250 (rint_test_upward): Likewise.
27251 (round_test): Likewise.
27252 (scalb_test): Likewise.
27253 (scalbn_test): Likewise.
27254 (scalbln_test): Likewise.
27255 (signbit_test): Likewise.
27256 (sin_test): Likewise.
27257 (sin_test_tonearest): Likewise.
27258 (sin_test_towardzero): Likewise.
27259 (sin_test_downward): Likewise.
27260 (sin_test_upward): Likewise.
27261 (sincos_test): Likewise.
27262 (sinh_test): Likewise.
27263 (sinh_test_tonearest): Likewise.
27264 (sinh_test_towardzero): Likewise.
27265 (sinh_test_downward): Likewise.
27266 (sinh_test_upward): Likewise.
27267 (sqrt_test): Likewise.
27268 (tan_test): Likewise.
27269 (tan_test_tonearest): Likewise.
27270 (tan_test_towardzero): Likewise.
27271 (tan_test_downward): Likewise.
27272 (tan_test_upward): Likewise.
27273 (tanh_test): Likewise.
27274 (tgamma_test): Likewise.
27275 (trunc_test): Likewise.
27276 (y0_test): Likewise.
27277 (y1_test): Likewise.
27278 (yn_test): Likewise.
27279 (significand_test): Likewise.
27281 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
27284 * libio/genops.c (_IO_no_init): Initialize wide struct info.
27286 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
27289 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
27290 __ppc_mdoio and __ppc_mdoom.
27291 * manual/platform.texi: Document new functions __ppc_yield,
27292 __ppc_mdoio and __ppc_mdoom.
27294 2013-05-22 Carlos O'Donell <carlos@redhat.com>
27296 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
27297 (main): Mention "tls" pseudo-hwcap is legacy.
27298 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
27300 2013-05-22 Joseph Myers <joseph@codesourcery.com>
27302 * math/gen-libm-test.pl (parse_args): Output only string of
27303 arguments as text for test name, not full call or descriptions of
27304 tests for extra outputs.
27305 (generate_testfile): Do not pass function name to parse_args.
27306 Generate this_func variable from START.
27307 * math/libm-test.inc (struct test_f_f_data): Rename test_name
27309 (struct test_ff_f_data): Likewise.
27310 (test_ff_f_data_nexttoward): Likewise.
27311 (struct test_fi_f_data): Likewise.
27312 (struct test_fl_f_data): Likewise.
27313 (struct test_if_f_data): Likewise.
27314 (struct test_fff_f_data): Likewise.
27315 (struct test_c_f_data): Likewise.
27316 (struct test_f_f1_data): Likewise. Remove field extra_name.
27317 (struct test_fF_f1_data): Likewise.
27318 (struct test_ffI_f1_data): Likewise.
27319 (struct test_c_c_data): Rename test_name field to arg_str.
27320 (struct test_cc_c_data): Likewise.
27321 (struct test_f_i_data): Likewise.
27322 (struct test_ff_i_data): Likewise.
27323 (struct test_f_l_data): Likewise.
27324 (struct test_f_L_data): Likewise.
27325 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
27327 (COMMON_TEST_SETUP): New macro.
27328 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
27329 (COMMON_TEST_CLEANUP): Likewise.
27330 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
27331 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
27333 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
27334 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
27336 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
27337 (RUN_TEST_fff_f): Take argument string. Call new setup and
27339 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
27340 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
27342 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
27343 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
27345 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27346 (RUN_TEST_fF_f1): Take argument string. Call new setup and
27348 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27349 (RUN_TEST_fI_f1): Take argument string. Call new setup and
27351 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27352 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
27354 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27355 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
27357 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
27358 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
27360 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
27361 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
27363 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
27364 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
27366 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
27367 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
27369 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
27370 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
27372 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
27373 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
27375 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
27376 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
27378 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
27379 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
27381 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
27382 (RUN_TEST_fFF_11): Take argument string. Call new setup and
27384 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
27386 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
27388 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
27389 to _sifields.sigfault.
27390 (si_addr_lsb): Define new macro.
27391 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27392 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27393 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
27395 2013-05-03 Carlos O'Donell <carlos at redhat.com>
27398 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
27400 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
27402 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
27403 loading the domain.
27405 2013-05-22 Joseph Myers <joseph@codesourcery.com>
27407 * math/gen-libm-test.pl (parse_args): Do not include expected
27408 result in test name.
27409 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
27410 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27411 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27412 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27413 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27416 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27418 * benchtests/Makefile: Sort function entries.
27420 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
27421 tanh, asinh, acosh, atanh.
27422 * benchtests/acos-inputs: New file.
27423 * benchtests/acosh-inputs: New file.
27424 * benchtests/asin-inputs: New file.
27425 * benchtests/asinh-inputs: New file.
27426 * benchtests/atanh-inputs: New file.
27427 * benchtests/cosh-inputs: New file.
27428 * benchtests/log-inputs: New file.
27429 * benchtests/sinh-inputs: New file.
27430 * benchtests/tanh-inputs: New file.
27432 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
27435 * posix/tst-getaddrinfo4.c: New test.
27436 * posix/Makefile (tests): Add it.
27438 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27441 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
27442 when no services were used.
27443 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
27444 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
27446 2013-05-21 Andreas Schwab <schwab@suse.de>
27449 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
27450 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
27452 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
27453 redundant variable declarations and reallocation of buffer when
27454 parsing as IPv6 address. Always set NSS status when called from
27455 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
27456 buffer too small. Correct computation of needed size.
27457 * nss/Makefile (tests): Add test-digits-dots.
27458 * nss/test-digits-dots.c: New test.
27460 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27462 * benchtests/Makefile: Remove instructions for adding
27464 * benchtests/README: New file to explain how to execute and
27465 enhance the benchmark tests.
27467 2013-05-21 Andreas Schwab <schwab@suse.de>
27470 * setjmp/Makefile (tests): Add tst-sigsetjmp.
27471 * setjmp/tst-sigsetjmp.c: New test.
27473 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
27475 * sysdeps/x86_64/memset.S (memset): New implementation.
27476 (__bzero): Likewise.
27477 (__memset_tail): New function.
27479 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
27481 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
27482 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
27483 __memcpy_sse2_unaligned ifunc selection.
27484 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27485 Add memcpy-sse2-unaligned.S.
27486 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27487 Add: __memcpy_sse2_unaligned.
27489 2013-05-19 Joseph Myers <joseph@codesourcery.com>
27492 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27493 math_force_eval before restoring floating-point envrionment.
27494 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
27495 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27497 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
27499 (__nearbyintl): Use math_force_eval before restoring
27500 floating-point environment.
27501 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
27503 * math/gen-libm-test.pl (special_functions): Remove.
27504 (parse_args): Don't handle TEST_extra. Handle functions with no
27506 * math/libm-test.inc (struct test_sincos_data): Replace with
27507 struct test_fFF_11_data.
27508 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
27509 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
27510 (sincos_test_data): Change element type to struct
27511 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
27512 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
27513 RUN_TEST_LOOP_sincos.
27514 * math/README.libm-test: Don't mention special handling of
27515 individual functions.
27516 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
27517 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27518 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27519 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27520 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27523 * math/gen-libm-test.pl (get_variable): Remove function.
27524 (parse_args): Don't show pointer parameters to call in test
27525 names. Use "extra output N" in test names for extra outputs
27526 rather than naming variables.
27528 2013-05-18 Joseph Myers <joseph@codesourcery.com>
27531 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
27532 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
27533 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
27535 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
27537 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
27540 * math/gen-libm-test.pl (@tests): Remove variable.
27541 ($count): Likewise.
27542 (new_test): Remove function.
27543 (show_exceptions): New function.
27544 (special_functions): Use show_exceptions instead of new_test.
27545 (parse_args): Likewise.
27546 (generate_testfile): Pass only function name in generated call to
27547 print_max_error or print_complex_max_error.
27548 (get_ulps): Do not handle complex tests specially.
27549 (output_test): Rename to ...
27550 (get_all_ulps_for_test): ... this. Return a string rather than
27551 printing to a file. Require ulps to be present.
27552 (output_ulps): Generate arrays rather than #defines.
27553 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
27554 (struct ulp_data): New type.
27555 (BUILD_COMPLEX_ULP): Remove macro.
27556 (compare_ulp_data): New function.
27557 (find_ulps): Likewise.
27558 (find_test_ulps): Likewise.
27559 (find_function_ulps): Likewise.
27560 (find_complex_function_ulps): Likewise.
27561 (print_max_error): Determine allowed ulps using
27562 find_function_ulps.
27563 (print_complex_max_error): Determine allowed ulps using
27564 find_complex_function_ulps.
27565 (check_float_internal): Determine max ulps using find_test_ulps.
27566 (check_float): Do not take max_ulp parameter. Update call to
27567 check_float_internal.
27568 (check_complex): Likewise.
27569 (check_int): Do not take max_ulp parameter.
27570 (check_long): Likewise.
27571 (check_bool): Likewise.
27572 (check_longlong): Likewise.
27573 (struct test_f_f_data): Remove max_ulp field.
27574 (struct test_ff_f_data): Likewise.
27575 (struct test_ff_f_data_nexttoward): Likewise.
27576 (struct test_fi_f_data): Likewise.
27577 (struct test_fl_f_data): Likewise.
27578 (struct test_if_f_data): Likewise.
27579 (struct test_fff_f_data): Likewise.
27580 (struct test_c_f_data): Likewise.
27581 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
27582 (struct test_fF_f1_data): Likewise.
27583 (struct test_ffI_f1_data): Likewise.
27584 (struct test_c_c_data): Remove max_ulp field.
27585 (struct test_cc_c_data): Likewise.
27586 (struct test_f_i_data): Likewise.
27587 (struct test_ff_i_data): Likewise.
27588 (struct test_f_l_data): Likewise.
27589 (struct test_f_L_data): Likewise.
27590 (struct test_sincos_data): Likewise.
27591 (RUN_TEST_f_f): Do not handle ulps.
27592 (RUN_TEST_LOOP_f_f): Likewise.
27593 (RUN_TEST_2_f): Likewise.
27594 (RUN_TEST_LOOP_2_f): Likewise.
27595 (RUN_TEST_fff_f): Likewise.
27596 (RUN_TEST_LOOP_fff_f): Likewise.
27597 (RUN_TEST_c_f): Likewise.
27598 (RUN_TEST_LOOP_c_f): Likewise.
27599 (RUN_TEST_f_f1): Likewise.
27600 (RUN_TEST_LOOP_f_f1): Likewise.
27601 (RUN_TEST_fF_f1): Likewise.
27602 (RUN_TEST_LOOP_fF_f1): Likewise.
27603 (RUN_TEST_fI_f1): Likewise.
27604 (RUN_TEST_LOOP_fI_f1): Likewise.
27605 (RUN_TEST_ffI_f1): Likewise.
27606 (RUN_TEST_LOOP_ffI_f1): Likewise.
27607 (RUN_TEST_c_c): Likewise.
27608 (RUN_TEST_LOOP_c_c): Likewise.
27609 (RUN_TEST_cc_c): Likewise.
27610 (RUN_TEST_LOOP_cc_c): Likewise.
27611 (RUN_TEST_f_i): Likewise.
27612 (RUN_TEST_LOOP_f_i): Likewise.
27613 (RUN_TEST_f_i_tg): Likewise.
27614 (RUN_TEST_LOOP_f_i_tg): Likewise.
27615 (RUN_TEST_ff_i_tg): Likewise.
27616 (RUN_TEST_LOOP_ff_i_tg): Likewise.
27617 (RUN_TEST_f_b): Likewise.
27618 (RUN_TEST_LOOP_f_b): Likewise.
27619 (RUN_TEST_f_b_tg): Likewise.
27620 (RUN_TEST_LOOP_f_b_tg): Likewise.
27621 (RUN_TEST_f_l): Likewise.
27622 (RUN_TEST_LOOP_f_l): Likewise.
27623 (RUN_TEST_f_L): Likewise.
27624 (RUN_TEST_LOOP_f_L): Likewise.
27625 (RUN_TEST_sincos): Likewise.
27626 (RUN_TEST_LOOP_sincos): Likewise.
27628 2013-05-17 Joseph Myers <joseph@codesourcery.com>
27632 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
27633 main case of finite arguments, set rounding mode to FE_TONEAREST
27634 and discard exceptions.
27635 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
27637 (remainder_tonearest_test_data): New variable.
27638 (remainder_test_tonearest): New function.
27639 (remainder_towardzero_test_data): New variable.
27640 (remainder_test_towardzero): New function.
27641 (remainder_downward_test_data): New variable.
27642 (remainder_test_downward): New function.
27643 (remainder_upward_test_data): New variable.
27644 (remainder_test_upward): New function.
27645 (main): Call the new test functions.
27647 * math/libm-test.inc (struct test_f_f1_data): Remove field
27649 (struct test_fF_f1_data): Likewise.
27650 (struct test_ffI_f1_data): Likewise.
27651 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
27652 based on value of EXTRA_EXPECTED.
27653 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27654 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
27655 EXTRA_VAR based on value of EXTRA_EXPECTED.
27656 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27657 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
27658 EXTRA_VAR based on value of EXTRA_EXPECTED.
27659 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27660 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
27661 EXTRA_VAR based on value of EXTRA_EXPECTED.
27662 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27663 * math/gen-libm-test.pl (parse_args): Don't output initializers
27664 for extra output values.
27666 * math/libm-test.inc (check_int): Expect result to be exactly
27667 equal to expected value and do not handle ulps.
27668 (check_long): Likewise.
27669 (check_longlong): Likewise.
27671 * math/libm-test.inc (ceil_test_data): Test for "inexact"
27673 (cimag_test_data): Likewise.
27674 (conj_test_data): Likewise.
27675 (copysign_test_data): Likewise.
27676 (cproj_test_data): Likewise.
27677 (creal_test_data): Likewise.
27678 (fabs_test_data): Likewise.
27679 (fdim_test_data): Likewise.
27680 (finite_test_data): Likewise.
27681 (floor_test_data): Likewise.
27682 (fmax_test_data): Likewise.
27683 (fmin_test_data): Likewise.
27684 (fmod_test_data): Likewise.
27685 (fpclassify_test_data): Likewise.
27686 (frexp_test_data): Likewise.
27687 (ilogb_test_data): Likewise.
27688 (isfinite_test_data): Likewise.
27689 (isgreater_test_data): Likewise.
27690 (isgreaterequal_test_data): Likewise.
27691 (isinf_test_data): Likewise.
27692 (isless_test_data): Likewise.
27693 (islessequal_test_data): Likewise.
27694 (islessgreater_test_data): Likewise.
27695 (isnan_test_data): Likewise.
27696 (isnormal_test_data): Likewise.
27697 (issignaling_test_data): Likewise.
27698 (isunordered_test_data): Likewise.
27699 (ldexp_test_data): Likewise.
27700 (lrint_test_data): Likewise.
27701 (lrint_test_data) [TEST_FLOAT]: Disable one test.
27702 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
27703 (lrint_tonearest_test_data): Test for "inexact" exceptions.
27704 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27705 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
27706 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27708 (lrint_towardzero_test_data): Test for "inexact" exceptions.
27709 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27710 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
27711 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
27713 (lrint_downward_test_data): Test for "inexact" exceptions.
27714 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27715 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
27716 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27718 (lrint_upward_test_data): Test for "inexact" exceptions.
27719 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
27721 (llrint_test_data): Test for "inexact" exceptions.
27722 (llrint_test_data) [TEST_FLOAT]: Disable one test.
27723 (llrint_tonearest_test_data): Test for "inexact" exceptions.
27724 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27725 (llrint_towardzero_test_data): Test for "inexact" exceptions.
27726 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27727 (llrint_downward_test_data): Test for "inexact" exceptions.
27728 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27729 (llrint_upward_test_data): Test for "inexact" exceptions.
27730 (logb_test_data): Likewise.
27731 (logb_downward_test_data): Likewise.
27732 (nextafter_test_data): Likewise.
27733 (nexttoward_test_data): Likewise.
27734 (remainder_test_data): Likewise.
27735 (remquo_test_data): Likewise.
27736 (scalbn_test_data): Likewise.
27737 (scalbln_test_data): Likewise.
27738 (signbit_test_data): Likewise.
27739 (sqrt_test_data): Likewise.
27740 (significand_test_data): Likewise.
27742 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27745 * benchtests/bench-modf.c (struct args): Mark arg0 as
27747 * scripts/bench.pl: Mark members of struct args as volatile.
27749 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27752 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
27753 negative infinity on POWER6 or lower.
27754 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
27756 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
27759 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
27760 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
27761 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
27762 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
27763 (_FP_SETQNAN): New macro.
27764 (_FP_SETQNAN_SEMIRAW): Likewise.
27765 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
27766 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
27767 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27768 (FP_EXTEND): Use _FP_FRAC_SNANP.
27769 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27770 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27772 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27774 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27777 2013-05-16 Joseph Myers <joseph@codesourcery.com>
27779 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27780 with DIVIDE_BY_ZERO_EXCEPTION.
27781 (gamma_test_data): Likewise.
27782 (lgamma_test_data): Likewise.
27783 (log_test_data): Likewise.
27784 (log10_test_data): Likewise.
27785 (log2_test_data): Likewise.
27786 (tgamma_test_data): Likewise.
27788 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27789 (acos_test_tonearest): Likewise.
27790 (acos_test_towardzero): Likewise.
27791 (acos_test_downward): Likewise.
27792 (acos_test_upward): Likewise.
27793 (acosh_test): Likewise.
27794 (asin_test): Likewise.
27795 (asin_test_tonearest): Likewise.
27796 (asin_test_towardzero): Likewise.
27797 (asin_test_downward): Likewise.
27798 (asin_test_upward): Likewise.
27799 (asinh_test): Likewise.
27800 (atan_test): Likewise.
27801 (atanh_test): Likewise.
27802 (atan2_test): Likewise.
27803 (cabs_test): Likewise.
27804 (cacos_test): Likewise.
27805 (cacosh_test): Likewise.
27806 (casin_test): Likewise.
27807 (casinh_test): Likewise.
27808 (catan_test): Likewise.
27809 (catanh_test): Likewise.
27810 (cbrt_test): Likewise.
27811 (ccos_test): Likewise.
27812 (ccosh_test): Likewise.
27813 (cexp_test): Likewise.
27814 (clog_test): Likewise.
27815 (clog10_test): Likewise.
27816 (cos_test): Likewise.
27817 (cos_test_tonearest): Likewise.
27818 (cos_test_towardzero): Likewise.
27819 (cos_test_downward): Likewise.
27820 (cos_test_upward): Likewise.
27821 (cosh_test): Likewise.
27822 (cosh_test_tonearest): Likewise.
27823 (cosh_test_towardzero): Likewise.
27824 (cosh_test_downward): Likewise.
27825 (cosh_test_upward): Likewise.
27826 (cpow_test): Likewise.
27827 (csin_test): Likewise.
27828 (csinh_test): Likewise.
27829 (csqrt_test): Likewise.
27830 (ctan_test): Likewise.
27831 (ctan_test_tonearest): Likewise.
27832 (ctan_test_towardzero): Likewise.
27833 (ctan_test_downward): Likewise.
27834 (ctan_test_upward): Likewise.
27835 (ctanh_test): Likewise.
27836 (ctanh_test_tonearest): Likewise.
27837 (ctanh_test_towardzero): Likewise.
27838 (ctanh_test_downward): Likewise.
27839 (ctanh_test_upward): Likewise.
27840 (erf_test): Likewise.
27841 (erfc_test): Likewise.
27842 (exp_test): Likewise.
27843 (exp_test_tonearest): Likewise.
27844 (exp_test_towardzero): Likewise.
27845 (exp_test_downward): Likewise.
27846 (exp_test_upward): Likewise.
27847 (exp10_test): Likewise.
27848 (exp2_test): Likewise.
27849 (expm1_test): Likewise.
27850 (fmod_test): Likewise.
27851 (gamma_test): Likewise.
27852 (hypot_test): Likewise.
27853 (j0_test): Likewise.
27854 (j1_test): Likewise.
27855 (jn_test): Likewise.
27856 (lgamma_test): Likewise.
27857 (log_test): Likewise.
27858 (log10_test): Likewise.
27859 (log1p_test): Likewise.
27860 (log2_test): Likewise.
27861 (logb_test_downward): Likewise.
27862 (pow_test): Likewise.
27863 (pow_test_tonearest): Likewise.
27864 (pow_test_towardzero): Likewise.
27865 (pow_test_downward): Likewise.
27866 (pow_test_upward): Likewise.
27867 (remainder_test): Likewise.
27868 (remquo_test): Likewise.
27869 (sin_test): Likewise.
27870 (sin_test_tonearest): Likewise.
27871 (sin_test_towardzero): Likewise.
27872 (sin_test_downward): Likewise.
27873 (sin_test_upward): Likewise.
27874 (sincos_test): Likewise.
27875 (sinh_test): Likewise.
27876 (sinh_test_tonearest): Likewise.
27877 (sinh_test_towardzero): Likewise.
27878 (sinh_test_downward): Likewise.
27879 (sinh_test_upward): Likewise.
27880 (sqrt_test): Likewise.
27881 (tan_test): Likewise.
27882 (tan_test_tonearest): Likewise.
27883 (tan_test_towardzero): Likewise.
27884 (tan_test_downward): Likewise.
27885 (tan_test_upward): Likewise.
27886 (tanh_test): Likewise.
27887 (tgamma_test): Likewise.
27888 (y0_test): Likewise.
27889 (y1_test): Likewise.
27890 (yn_test): Likewise.
27892 * math/gen-libm-test.pl (adjust_arg): Remove function.
27893 (special_function): Remove argument $in_func. Only handle
27894 generating output for tables of tests, not inside functions.
27895 (parse_args): Likewise.
27896 (generate_testfile): Remove variable $in_func. Update call to
27898 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
27899 (MINUS_ZERO_INIT): Rename macro to minus_zero.
27900 (PLUS_INFTY_INIT): Rename macro to plus_infty.
27901 (MINUS_INFTY_INIT): Rename macro to minus_infty.
27902 (QNAN_VALUE_INIT): Rename macro to qnan_value.
27903 (MAX_VALUE_INIT): Rename macro to max_value.
27904 (MIN_VALUE_INIT): Rename macro to min_value.
27905 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
27906 (plus_zero): Remove variable.
27907 (minus_zero): Likewise.
27908 (plus_infty): Likewise.
27909 (minus_infty): Likewise.
27910 (qnan_value): Likewise.
27911 (max_value): Likewise.
27912 (min_value): Likewise.
27913 (min_subnorm_value): Likewise.
27915 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27917 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
27918 uint64_t or uint32_t usage.
27919 * crypt/sha256-block.c: Likewise.
27920 * crypt/sha256-crypt.c: Likewise.
27921 * crypt/sha256.c: Likewise.
27922 * crypt/sha512-block.c: Likewise.
27923 * crypt/sha512-crypt.c: Likewise.
27924 * crypt/sha512.c: Likewise.
27925 * debug/backtrace-tst.c: Likewise.
27926 * debug/pcprofiledump.c: Likewise.
27927 * elf/cache.c: Likewise.
27928 * elf/dl-cache.c: Likewise.
27929 * elf/dl-misc.c: Likewise.
27930 * elf/dl-profile.c: Likewise.
27931 * elf/dl-support.c: Likewise.
27932 * elf/ldconfig.c: Likewise.
27933 * elf/sprof.c: Likewise.
27934 * iconv/dummy-repertoire.c: Likewise.
27935 * iconv/iconv_charmap.c: Likewise.
27936 * iconv/skeleton.c: Likewise.
27937 * iconvdata/8bit-generic.c: Likewise.
27938 * iconvdata/cp737.h: Likewise.
27939 * iconvdata/cp775.h: Likewise.
27940 * iconvdata/ibm1008.h: Likewise.
27941 * iconvdata/ibm1025.h: Likewise.
27942 * iconvdata/ibm1046.h: Likewise.
27943 * iconvdata/ibm1097.h: Likewise.
27944 * iconvdata/ibm1112.h: Likewise.
27945 * iconvdata/ibm1122.h: Likewise.
27946 * iconvdata/ibm1123.h: Likewise.
27947 * iconvdata/ibm1124.h: Likewise.
27948 * iconvdata/ibm1129.h: Likewise.
27949 * iconvdata/ibm1130.h: Likewise.
27950 * iconvdata/ibm1132.h: Likewise.
27951 * iconvdata/ibm1133.h: Likewise.
27952 * iconvdata/ibm1137.h: Likewise.
27953 * iconvdata/ibm1140.h: Likewise.
27954 * iconvdata/ibm1141.h: Likewise.
27955 * iconvdata/ibm1142.h: Likewise.
27956 * iconvdata/ibm1143.h: Likewise.
27957 * iconvdata/ibm1144.h: Likewise.
27958 * iconvdata/ibm1145.h: Likewise.
27959 * iconvdata/ibm1146.h: Likewise.
27960 * iconvdata/ibm1147.h: Likewise.
27961 * iconvdata/ibm1148.h: Likewise.
27962 * iconvdata/ibm1149.h: Likewise.
27963 * iconvdata/ibm1153.h: Likewise.
27964 * iconvdata/ibm1154.h: Likewise.
27965 * iconvdata/ibm1155.h: Likewise.
27966 * iconvdata/ibm1156.h: Likewise.
27967 * iconvdata/ibm1157.h: Likewise.
27968 * iconvdata/ibm1158.h: Likewise.
27969 * iconvdata/ibm1160.h: Likewise.
27970 * iconvdata/ibm1161.h: Likewise.
27971 * iconvdata/ibm1162.h: Likewise.
27972 * iconvdata/ibm1163.h: Likewise.
27973 * iconvdata/ibm1164.h: Likewise.
27974 * iconvdata/ibm1166.h: Likewise.
27975 * iconvdata/ibm1167.h: Likewise.
27976 * iconvdata/ibm12712.h: Likewise.
27977 * iconvdata/ibm1390.h: Likewise.
27978 * iconvdata/ibm1399.h: Likewise.
27979 * iconvdata/ibm16804.h: Likewise.
27980 * iconvdata/ibm4517.h: Likewise.
27981 * iconvdata/ibm4899.h: Likewise.
27982 * iconvdata/ibm4909.h: Likewise.
27983 * iconvdata/ibm4971.h: Likewise.
27984 * iconvdata/ibm5347.h: Likewise.
27985 * iconvdata/ibm803.h: Likewise.
27986 * iconvdata/ibm856.h: Likewise.
27987 * iconvdata/ibm901.h: Likewise.
27988 * iconvdata/ibm902.h: Likewise.
27989 * iconvdata/ibm9030.h: Likewise.
27990 * iconvdata/ibm9066.h: Likewise.
27991 * iconvdata/ibm921.h: Likewise.
27992 * iconvdata/ibm922.h: Likewise.
27993 * iconvdata/ibm9448.h: Likewise.
27994 * iconvdata/isiri-3342.h: Likewise.
27995 * iconvdata/jis0201.h: Likewise.
27996 * include/link.h: Likewise.
27997 * include/netdb.h: Likewise.
27998 * inet/check_native.c: Likewise.
27999 * inet/check_pf.c: Likewise.
28000 * inet/getipv4sourcefilter.c: Likewise.
28001 * inet/getnameinfo.c: Likewise.
28002 * inet/getsourcefilter.c: Likewise.
28003 * inet/htonl.c: Likewise.
28004 * inet/setipv4sourcefilter.c: Likewise.
28005 * inet/setsourcefilter.c: Likewise.
28006 * inet/test-inet6_opt.c: Likewise.
28007 * inet/tst-network.c: Likewise.
28008 * locale/C-collate.c: Likewise.
28009 * locale/C-ctype.c: Likewise.
28010 * locale/C-time.c: Likewise.
28011 * locale/C-translit.h: Likewise.
28012 * locale/loadarchive.c: Likewise.
28013 * locale/programs/3level.h: Likewise.
28014 * locale/programs/charmap.c: Likewise.
28015 * locale/programs/charmap.h: Likewise.
28016 * locale/programs/ld-address.c: Likewise.
28017 * locale/programs/ld-collate.c: Likewise.
28018 * locale/programs/ld-ctype.c: Likewise.
28019 * locale/programs/ld-identification.c: Likewise.
28020 * locale/programs/ld-measurement.c: Likewise.
28021 * locale/programs/ld-messages.c: Likewise.
28022 * locale/programs/ld-monetary.c: Likewise.
28023 * locale/programs/ld-name.c: Likewise.
28024 * locale/programs/ld-numeric.c: Likewise.
28025 * locale/programs/ld-paper.c: Likewise.
28026 * locale/programs/ld-telephone.c: Likewise.
28027 * locale/programs/ld-time.c: Likewise.
28028 * locale/programs/linereader.c: Likewise.
28029 * locale/programs/locale.c: Likewise.
28030 * locale/programs/locarchive.c: Likewise.
28031 * locale/programs/locfile.h: Likewise.
28032 * locale/programs/repertoire.c: Likewise.
28033 * locale/programs/simple-hash.c: Likewise.
28034 * locale/programs/simple-hash.h: Likewise.
28035 * malloc/memusage.c: Likewise.
28036 * malloc/memusagestat.c: Likewise.
28037 * nis/nis_defaults.c: Likewise.
28038 * nis/nis_hash.c: Likewise.
28039 * nis/nis_print.c: Likewise.
28040 * nis/nis_xdr.c: Likewise.
28041 * nscd/connections.c: Likewise.
28042 * nscd/hstcache.c: Likewise.
28043 * nscd/nscd_gethst_r.c: Likewise.
28044 * nscd/nscd_getserv_r.c: Likewise.
28045 * nscd/nscd_helper.c: Likewise.
28046 * nscd/servicescache.c: Likewise.
28047 * nss/makedb.c: Likewise.
28048 * nss/nss_db/db-XXX.c: Likewise.
28049 * nss/nss_db/db-initgroups.c: Likewise.
28050 * nss/nss_db/db-netgrp.c: Likewise.
28051 * nss/nss_files/files-network.c: Likewise.
28052 * nss/nss_files/files-parse.c: Likewise.
28053 * posix/bug-regex5.c: Likewise.
28054 * posix/fnmatch_loop.c: Likewise.
28055 * posix/regcomp.c: Likewise.
28056 * posix/regexec.c: Likewise.
28057 * posix/tst-rfc3484-2.c: Likewise.
28058 * posix/tst-rfc3484-3.c: Likewise.
28059 * posix/tst-rfc3484.c: Likewise.
28060 * resolv/nss_dns/dns-canon.c: Likewise.
28061 * resolv/nss_dns/dns-network.c: Likewise.
28062 * resolv/res_init.c: Likewise.
28063 * resolv/res_mkquery.c: Likewise.
28064 * resolv/tst-aton.c: Likewise.
28065 * stdlib/cxa_atexit.c: Likewise.
28066 * stdlib/cxa_finalize.c: Likewise.
28067 * stdlib/gen-fpioconst.c: Likewise.
28068 * stdlib/strtol_l.c: Likewise.
28069 * string/tst-endian.c: Likewise.
28070 * sunrpc/auth_des.c: Likewise.
28071 * sunrpc/clnt_udp.c: Likewise.
28072 * sunrpc/rtime.c: Likewise.
28073 * sunrpc/svcauth_des.c: Likewise.
28074 * sunrpc/xdr.c: Likewise.
28075 * sunrpc/xdr_intXX_t.c: Likewise.
28076 * sunrpc/xdr_rec.c: Likewise.
28077 * sysdeps/generic/ldconfig.h: Likewise.
28078 * sysdeps/generic/ldsodefs.h: Likewise.
28079 * sysdeps/generic/memusage.h: Likewise.
28080 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28081 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28082 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28083 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28084 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28085 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28086 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28087 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28088 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28089 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28090 * sysdeps/posix/getaddrinfo.c: Likewise.
28091 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28092 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28093 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28094 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28095 * sysdeps/powerpc/test-gettimebase.c: Likewise.
28096 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28097 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28098 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28099 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28100 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28101 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28102 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28103 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28104 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28105 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28106 * sysdeps/x86_64/dl-tls.h: Likewise.
28107 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28108 * time/alt_digit.c: Likewise.
28109 * time/era.c: Likewise.
28110 * wcsmbs/tst-c16c32-1.c: Likewise.
28112 2013-05-16 Joseph Myers <joseph@codesourcery.com>
28114 * math/libm-test.inc (struct test_sincos_data): New type.
28115 (RUN_TEST_LOOP_sincos): New macro.
28116 (sincos_test_data): New variable.
28117 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28119 2013-05-16 Richard Henderson <rth@redhat.com>
28121 * math/atest-exp2.c (LIMB64): New macro.
28122 (CONSTSZ): New macro.
28123 (mp_exp1, mp_exp_m1, mp_log2): New variables.
28125 (print_mpn_fp): ... to function scope.
28126 (read_mpn_hex): Remove.
28127 (get_log2): Remove.
28128 (exp2_mpn): Use mp_log2.
28129 (main): Use mp_exp1.
28131 2013-05-16 Joseph Myers <joseph@codesourcery.com>
28133 * math/libm-test.inc: Remove comment about not testing "inexact"
28135 (INEXACT_EXCEPTION): New macro.
28136 (NO_INEXACT_EXCEPTION): Likewise.
28137 (INVALID_EXCEPTION_OK): Update value.
28138 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28139 (OVERFLOW_EXCEPTION_OK): Likewise.
28140 (UNDERFLOW_EXCEPTION_OK): Likewise.
28141 (IGNORE_ZERO_INF_SIGN): Likewise.
28142 (ERRNO_UNCHANGED): Likewise.
28143 (ERRNO_EDOM): Likewise.
28144 (ERRNO_ERANGE): Likewise.
28145 (test_exceptions): Handle testing "inexact" exceptions.
28146 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28147 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28148 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28149 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28151 (rint_towardzero_test_data): Likewise.
28152 (rint_downward_test_data): Likewise.
28153 (rint_upward_test_data): Likewise.
28155 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28156 with OVERFLOW_EXCEPTION.
28157 (exp10_test_data): Likewise.
28158 (exp2_test_data): Likewise.
28159 (expm1_test_data): Likewise.
28160 (lgamma_test_data): Likewise.
28161 (pow_test_data): Likewise.
28162 (tgamma_test_data): Likewise.
28163 (yn_test_data): Remove duplicate test of overflow.
28165 * math/libm-test.inc (struct test_cc_c_data): New type.
28166 (RUN_TEST_LOOP_cc_c): New macro.
28167 (cpow_test_data): New variable.
28168 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28170 * math/libm-test.inc (struct test_f_L_data): New type.
28171 (RUN_TEST_LOOP_f_L): New macro.
28172 (llrint_test_data): New variable.
28173 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28174 (llrint_tonearest_test_data): New variable.
28175 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28176 (llrint_towardzero_test_data): New variable.
28177 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28178 (llrint_downward_test_data): New variable.
28179 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28180 (llrint_upward_test_data): New variable.
28181 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28182 (llround_test_data): New variable.
28183 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28185 2013-05-13 Peter Collingbourne <pcc@google.com>
28187 * math/atest-exp2.c (get_log2): Remove const attribute.
28189 2013-05-15 Joseph Myers <joseph@codesourcery.com>
28191 * math/libm-test.inc (struct test_f_l_data): New type.
28192 (RUN_TEST_LOOP_f_l): New macro.
28193 (lrint_test_data): New variable.
28194 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28195 (lrint_tonearest_test_data): New variable.
28196 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28197 (lrint_towardzero_test_data): New variable.
28198 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28199 (lrint_downward_test_data): New variable.
28200 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28201 (lrint_upward_test_data): New variable.
28202 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28203 (lround_test_data): New variable.
28204 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28206 2013-05-15 Peter Collingbourne <pcc@google.com>
28208 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28209 (EXTRACT_WORDS64) Use where appropriate.
28210 (INSERT_WORDS64) Likewise.
28212 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28213 constraints with x constraints.
28214 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28216 * malloc/obstack.c (_obstack_compat): Add initializer.
28218 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
28220 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28221 si_trapno and add si_addr_lsb to _sifields.sigfault.
28222 (si_trapno): Remove macro.
28223 (si_addr_lsb): Define new macro.
28224 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28226 2013-05-15 Joseph Myers <joseph@codesourcery.com>
28228 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28229 instead of TEST_f_l.
28230 (llrint_test_tonearest): Likewise.
28231 (llrint_test_towardzero): Likewise.
28232 (llrint_test_downward): Likewise.
28233 (llrint_test_upward): Likewise.
28234 (llround_test): Likewise.
28236 * math/libm-test.inc (struct test_f_i_data): Add comment.
28237 (RUN_TEST_LOOP_f_b): New macro.
28238 (RUN_TEST_LOOP_f_b_tg): Likewise.
28239 (finite_test_data): New variable.
28240 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28241 (isfinite_test_data): New variable.
28242 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28243 (isinf_test_data): New variable.
28244 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28245 (isnan_test_data): New variable.
28246 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28247 (isnormal_test_data): New variable.
28248 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28249 (issignaling_test_data): New variable.
28250 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28251 (signbit_test_data): New variable.
28252 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28254 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28255 with INVALID_EXCEPTION.
28256 (acosh_test_data): Likewise.
28257 (asin_test_data): Likewise.
28258 (atanh_test_data): Likewise.
28259 (fmod_test_data): Likewise.
28260 (log_test_data): Likewise.
28261 (log10_test_data): Likewise.
28262 (log2_test_data): Likewise.
28263 (pow_test_data): Likewise.
28264 (sqrt_test_data): Likewise.
28265 (y0_test_data): Likewise.
28266 (y1_test_data): Likewise.
28267 (yn_test_data): Likewise.
28269 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
28272 * math/libm-test.inc (struct test_ff_i_data): New type.
28273 (RUN_TEST_LOOP_ff_i_tg): New macro.
28274 (isgreater_test_data): New variable.
28275 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28276 (isgreaterequal_test_data): New variable.
28277 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28278 (isless_test_data): New variable.
28279 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28280 (islessequal_test_data): New variable.
28281 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28282 (islessgreater_test_data): New variable.
28283 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28284 (isunordered_test_data): New variable.
28285 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28287 2013-05-14 David S. Miller <davem@davemloft.net>
28289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28291 2013-05-14 Joseph Myers <joseph@codesourcery.com>
28293 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
28295 * math/libm-test.inc (struct test_fF_f1_data): Change type of
28297 (struct test_f_i_data): Change type of max_ulp to int.
28299 * math/libm-test.inc (test_ffI_f1_data): New type.
28300 (RUN_TEST_LOOP_ffI_f1): New macro.
28301 (remquo_test_data): New variable.
28302 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
28304 * setjmp/tst-setjmp-fp.c: New file.
28305 * setjmp/Makefile (tests): Add tst-setjmp-fp.
28306 (link-libm): New variable.
28307 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
28309 * math/libm-test.inc (struct test_f_i_data): New type.
28310 (RUN_TEST_LOOP_f_i): New macro.
28311 (RUN_TEST_LOOP_f_i_tg): Likewise.
28312 (fpclassify_test_data): New variable.
28313 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
28314 (ilogb_test_data): New variable.
28315 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
28317 * math/libm-test.inc (scalbln_test): Correct function name in END
28320 * math/libm-test.inc (struct test_f_f1_data): Add comment.
28321 (RUN_TEST_LOOP_fI_f1): New macro.
28322 (frexp_test_data): New variable.
28323 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
28325 * math/libm-test.inc (struct test_fF_f1_data): New type.
28326 (RUN_TEST_LOOP_fF_f1): New macro.
28327 (modf_test_data): New variable.
28328 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
28330 * math/libm-test.inc (struct test_f_f1_data): New type.
28331 (RUN_TEST_LOOP_f_f1): New macro.
28332 (gamma_test_data): New variable.
28333 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28334 (lgamma_test_data): New variable.
28335 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28337 2013-05-13 Carlos O'Donell <carlos@redhat.com>
28339 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
28340 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
28341 (main): Comment "tls" pseudo-hwcap.
28343 2013-05-13 Joseph Myers <joseph@codesourcery.com>
28345 * math/libm-test.inc (struct test_fl_f_data): New type.
28346 (RUN_TEST_LOOP_fl_f): New variable.
28347 (scalbln_test_data): New variable.
28348 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
28350 * math/libm-test.inc (struct test_fi_f_data): New type.
28351 (RUN_TEST_LOOP_fi_f): New macro.
28352 (ldexp_test_data): New variable.
28353 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
28354 (scalbn_test_data): New variable.
28355 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
28357 * math/libm-test.inc (struct test_c_f_data): New type.
28358 (RUN_TEST_LOOP_c_f): New macro.
28359 (cabs_test_data): New variable.
28360 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
28361 (carg_test_data): New variable.
28362 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
28363 (cimag_test_data): New variable.
28364 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
28365 (creal_test_data): New variable.
28366 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
28368 * math/libm-test.inc (struct test_if_f_data): New type.
28369 (RUN_TEST_LOOP_if_f): New macro.
28370 (jn_test_data): New variable.
28371 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
28372 (yn_test_data): New variable.
28373 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
28375 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
28377 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28379 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
28380 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
28382 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28384 * benchtests/Makefile (CPPFLAGS-nonlib): Add
28385 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
28386 (bench-deps): Add bench-timing.h.
28387 * benchtests-bench-skeleton.c: Include bench-timing.h.
28388 (main): Use TIMING_* macros instead of clock_gettime.
28389 * benchtests/bench-timing.h: New file.
28392 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
28393 Renamed from _LIB_VERSION.
28394 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
28396 2013-05-12 Joseph Myers <joseph@codesourcery.com>
28398 * math/libm-test.inc (struct test_fff_f_data): New type.
28399 (RUN_TEST_LOOP_fff_f): New macro.
28400 (fma_test_data): New variable.
28401 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
28402 (fma_towardzero_test_data): New variable.
28403 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
28404 (fma_downward_test_data): New variable.
28405 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
28406 (fma_upward_test_data): New variable.
28407 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
28409 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
28410 (struct test_c_c_data): New type.
28411 (RUN_TEST_LOOP_c_c): New macro.
28412 (cacos_test_data): New variable.
28413 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
28414 (cacosh_test_data): New variable.
28415 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
28416 (casin_test_data): New variable.
28417 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
28418 (casinh_test_data): New variable.
28419 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
28420 (catan_test_data): New variable.
28421 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
28422 (catanh_test_data): New variable.
28423 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
28424 (ccos_test_data): New variable.
28425 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
28426 (ccosh_test_data): New variable.
28427 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
28428 (cexp_test_data): New variable.
28429 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
28430 (clog_test_data): New variable.
28431 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
28432 (clog10_test_data): New variable.
28433 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
28434 (conj_test_data): New variable.
28435 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
28436 (cproj_test_data): New variable.
28437 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
28438 (csin_test_data): New variable.
28439 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
28440 (csinh_test_data): New variable.
28441 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
28442 (csqrt_test_data): New variable.
28443 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
28444 (ctan_test_data): New variable.
28445 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
28446 (ctan_tonearest_test_data): New variable.
28447 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28448 (ctan_towardzero_test_data): New variable.
28449 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28450 (ctan_downward_test_data): New variable.
28451 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28452 (ctan_upward_test_data): New variable.
28453 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28454 (ctanh_test_data): New variable.
28455 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
28456 (ctanh_tonearest_test_data): New variable.
28457 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28458 (ctanh_towardzero_test_data): New variable.
28459 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28460 (ctanh_downward_test_data): New variable.
28461 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28462 (ctanh_upward_test_data): New variable.
28463 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28464 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
28467 * math/libm-test.inc (struct test_ff_f_data): New type.
28468 (struct test_ff_f_data_nexttoward): Likewise.
28469 (RUN_TEST_LOOP_2_f): New macro.
28470 (RUN_TEST_LOOP_ff_f): Likewise.
28471 (atan2_test_data): New variable.
28472 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
28473 (copysign_test_data): New variable.
28474 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
28475 (fdim_test_data): New variable.
28476 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
28477 (fmax_test_data): New variable.
28478 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
28479 (fmin_test_data): New variable.
28480 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
28481 (fmod_test_data): New variable.
28482 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
28483 (hypot_test_data): New variable.
28484 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
28485 (nextafter_test_data): New variable.
28486 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
28487 (nexttoward_test_data): New variable.
28488 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
28489 (pow_test_data): New variable.
28490 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
28491 (pow_tonearest_test_data): New variable.
28492 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
28493 (pow_towardzero_test_data): New variable.
28494 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
28495 (pow_downward_test_data): New variable.
28496 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
28497 (pow_upward_test_data): New variable.
28498 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
28499 (remainder_test_data): New variable.
28500 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
28501 (scalb_test_data): New variable.
28502 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
28503 * sysdeps/i386/fpu/libm-test-ulps: Update.
28505 2013-05-11 Joseph Myers <joseph@codesourcery.com>
28507 * math/libm-test.inc (fma_test): Use max_value instead of local
28509 (nextafter_test): Likewise.
28511 * math/libm-test.inc (acos_towardzero_test_data): New variable.
28512 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28513 (acos_downward_test_data): New variable.
28514 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28515 (acos_upward_test_data): New variable.
28516 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28517 (acosh_test_data): New variable.
28518 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
28519 (asin_test_data): New variable.
28520 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
28521 (asin_tonearest_test_data): New variable.
28522 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28523 (asin_towardzero_test_data): New variable.
28524 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28525 (asin_downward_test_data): New variable.
28526 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28527 (asin_upward_test_data): New variable.
28528 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28529 (asinh_test_data): New variable.
28530 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
28531 (atan_test_data): New variable.
28532 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
28533 (atanh_test_data): New variable.
28534 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
28535 (cbrt_test_data): New variable.
28536 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
28537 (ceil_test_data): New variable.
28538 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
28539 (cos_test_data): New variable.
28540 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
28541 (cos_tonearest_test_data): New variable.
28542 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28543 (cos_towardzero_test_data): New variable.
28544 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28545 (cos_downward_test_data): New variable.
28546 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28547 (cos_upward_test_data): New variable.
28548 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28549 (cosh_test_data): New variable.
28550 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
28551 (cosh_tonearest_test_data): New variable.
28552 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28553 (cosh_towardzero_test_data): New variable.
28554 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28555 (cosh_downward_test_data): New variable.
28556 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28557 (cosh_upward_test_data): New variable.
28558 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28559 (erf_test_data): New variable.
28560 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
28561 (erfc_test_data): New variable.
28562 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
28563 (exp_test_data): New variable.
28564 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
28565 (exp_tonearest_test_data): New variable.
28566 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28567 (exp_towardzero_test_data): New variable.
28568 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28569 (exp_downward_test_data): New variable.
28570 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28571 (exp_upward_test_data): New variable.
28572 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28573 (exp10_test_data): New variable.
28574 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
28575 (exp2_test_data): New variable.
28576 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
28577 (expm1_test_data): New variable.
28578 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
28579 (fabs_test_data): New variable.
28580 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
28581 (floor_test_data): New variable.
28582 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
28583 (j0_test_data): New variable.
28584 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
28585 (j1_test_data): New variable.
28586 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
28587 (log_test_data): New variable.
28588 (log_test): Run tests with RUN_TEST_LOOP_f_f.
28589 (log10_test_data): New variable.
28590 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
28591 (log1p_test_data): New variable.
28592 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
28593 (log2_test_data): New variable.
28594 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
28595 (logb_test_data): New variable.
28596 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
28597 (logb_downward_test_data): New variable.
28598 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28599 (nearbyint_test_data): New variable.
28600 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
28601 (rint_test_data): New variable.
28602 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
28603 (rint_tonearest_test_data): New variable.
28604 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28605 (rint_towardzero_test_data): New variable.
28606 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28607 (rint_downward_test_data): New variable.
28608 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28609 (rint_upward_test_data): New variable.
28610 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28611 (round_test_data): New variable.
28612 (round_test): Run tests with RUN_TEST_LOOP_f_f.
28613 (sin_test_data): New variable.
28614 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
28615 (sin_tonearest_test_data): New variable.
28616 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28617 (sin_towardzero_test_data): New variable.
28618 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28619 (sin_downward_test_data): New variable.
28620 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28621 (sin_upward_test_data): New variable.
28622 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28623 (sinh_test_data): New variable.
28624 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
28625 (sinh_tonearest_test_data): New variable.
28626 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28627 (sinh_towardzero_test_data): New variable.
28628 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28629 (sinh_downward_test_data): New variable.
28630 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28631 (sinh_upward_test_data): New variable.
28632 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28633 (sqrt_test_data): New variable.
28634 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
28635 (tan_test_data): New variable.
28636 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
28637 (tan_tonearest_test_data): New variable.
28638 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28639 (tan_towardzero_test_data): New variable.
28640 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28641 (tan_downward_test_data): New variable.
28642 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28643 (tan_upward_test_data): New variable.
28644 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28645 (tanh_test_data): New variable.
28646 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
28647 (tgamma_test_data): New variable.
28648 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
28649 (trunc_test_data): New variable.
28650 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
28651 (y0_test_data): New variable.
28652 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
28653 (y1_test_data): New variable.
28654 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
28655 (significand_test_data): New variable.
28656 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
28658 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
28661 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
28663 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
28665 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
28667 2013-05-10 Andreas Jaeger <aj@suse.de>
28670 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
28671 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
28673 2013-05-10 Joseph Myers <joseph@codesourcery.com>
28675 * math/gen-libm-test.pl (adjust_arg): New function.
28676 (special_functions): Handle generating output in both functions
28678 (parse_args): Likewise.
28679 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
28680 $in_func argument to parse_args.
28681 * math/libm-test.inc (struct test_f_f_data): New type.
28682 (IF_ROUND_INIT_): New macro.
28683 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
28684 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28685 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28686 (IF_ROUND_INIT_FE_UPWARD): Likewise.
28687 (ROUND_RESTORE_): Likewise.
28688 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
28689 (ROUND_RESTORE_FE_TONEAREST): Likewise.
28690 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
28691 (ROUND_RESTORE_FE_UPWARD): Likewise.
28692 (RUN_TEST_LOOP_f_f): New macro.
28693 (acos_test_data): New variable.
28694 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
28695 (acos_tonearest_test_data): New variable.
28696 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28698 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28700 * benchtests/bench-skeleton.c (startup): Fix coding style.
28702 2013-05-10 Joseph Myers <joseph@codesourcery.com>
28705 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
28706 negative infinity argument.
28707 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
28708 negative infinity argument.
28709 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
28710 negative infinity argument.
28711 * math/libm-test.inc (tgamma_test): Expect errno to be set for
28714 2013-05-10 Florian Weimer <fweimer@redhat.com>
28716 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
28717 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
28718 * iconv/iconv_prog.c (main): Likewise.
28719 * locale/programs/charmap-dir.c (charmap_readdir)
28720 (fopen_uncompressed): Likewise.
28721 * locale/programs/locfile.c (siblings_uncached)
28722 (write_locale_data): Use lstat64 instead of lstat.
28723 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
28726 2013-05-10 Andreas Jaeger <aj@suse.de>
28729 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
28731 Include <locale.h>.
28733 2013-05-09 Carlos O'Donell <carlos@redhat.com>
28735 * elf/dl-close.c (_dl_close_worker): Add comments.
28737 2013-05-09 Joseph Myers <joseph@codesourcery.com>
28740 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28742 (__ieee754_rem_pio2l): Update comments.
28745 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
28747 (__ieee754_rem_pio2l): Update comments.
28749 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
28750 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
28752 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
28755 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
28756 (M_PI_34_LOG10El): Likewise.
28757 (M_PI2_LOG10El): Likewise.
28758 (M_PI4_LOG10El): Likewise.
28759 (M_PI_LOG10El): Likewise.
28761 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28763 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28765 2013-05-08 Joseph Myers <joseph@codesourcery.com>
28767 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28768 (MINUS_ZERO_INIT): Likewise.
28769 (PLUS_INFTY_INIT): Likewise.
28770 (MINUS_INFTY_INIT): Likewise.
28771 (QNAN_VALUE_INIT): Likewise.
28772 (MAX_VALUE_INIT): Likewise.
28773 (MIN_VALUE_INIT): Likewise.
28774 (MIN_SUBNORM_VALUE_INIT): Likewise.
28775 (plus_zero): Initialize with PLUS_ZERO_INIT.
28776 (minus_zero): Initialize with MINUS_ZERO_INIT.
28777 (plus_infty): Initialize with PLUS_INFTY_INIT.
28778 (minus_infty): Initialize with MINUS_INFTY_INIT.
28779 (qnan_value): Initialize with QNAN_VALUE_INIT.
28780 (max_value): Initialize with MAX_VALUE_INIT.
28781 (min_value): Initialize with MIN_VALUE_INIT.
28782 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28784 * math/libm-test.inc (RUN_TEST_if_f): New macro.
28785 (jn_test): Use TEST_if_f instead of TEST_ff_f.
28786 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28787 (yn_test): Use TEST_if_f instead of TEST_ff_f.
28789 * math/libm-test.inc (RUN_TEST_f_f): New macro.
28790 (RUN_TEST_2_f): Likewise.
28791 (RUN_TEST_ff_f): Likewise.
28792 (RUN_TEST_fi_f): Likewise.
28793 (RUN_TEST_fl_f): Likewise.
28794 (RUN_TEST_fff_f): Likewise.
28795 (RUN_TEST_c_f): Likewise.
28796 (RUN_TEST_f_f1): Likewise.
28797 (RUN_TEST_fF_f1): Likewise.
28798 (RUN_TEST_fI_f1): Likewise.
28799 (RUN_TEST_ffI_f1): Likewise.
28800 (RUN_TEST_c_c): Likewise.
28801 (RUN_TEST_cc_c): Likewise.
28802 (RUN_TEST_f_i): Likewise.
28803 (RUN_TEST_f_i_tg): Likewise.
28804 (RUN_TEST_ff_i_tg): Likewise.
28805 (RUN_TEST_f_b): Likewise.
28806 (RUN_TEST_f_b_tg): Likewise.
28807 (RUN_TEST_f_l): Likewise.
28808 (RUN_TEST_f_L): Likewise.
28809 (RUN_TEST_sincos): Likewise.
28810 * math/gen-libm-test.pl (new_test): Take new argument to indicate
28811 whether to show exceptions. Do not include ");\n" in return
28813 (special_functions): Output call to RUN_TEST_sincos instead of
28814 check_float calls. Update calls to new_test.
28815 (parse_args): Output call to single RUN_TEST_* macro instead of
28816 check_* calls and other assignments. Update calls to new_test.
28822 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28823 input to result for tgamma overflow.
28824 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28825 (gamma_coeff): New variable.
28826 (NCOEFF): New macro.
28827 (gamma_positive): New function.
28828 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28829 underflow here. Use gamma_positive instead of exp (lgamma) for
28831 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28832 (gamma_coeff): New variable.
28833 (NCOEFF): New macro.
28834 (gammaf_positive): New function.
28835 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28836 underflow here. Use gamma_positive instead of exp (lgamma) for
28838 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28839 (gamma_coeff): New variable.
28840 (NCOEFF): New macro.
28841 (gammal_positive): New function.
28842 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28843 underflow here. Use gamma_positive instead of exp (lgamma) for
28845 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28846 (gamma_coeff): New variable.
28847 (NCOEFF): New macro.
28848 (gammal_positive): New function.
28849 (__ieee754_gammal_r): Handle positive infinity, overflow and
28850 underflow here. Handle NaN the same as positive infinity. Remove
28851 check x < 0xffffffff for negative integers. Use gamma_positive
28852 instead of exp (lgamma) for other arguments.
28853 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
28854 (gamma_coeff): New variable.
28855 (NCOEFF): New macro.
28856 (gammal_positive): New function.
28857 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
28858 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
28859 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
28860 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
28861 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
28862 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
28863 * sysdeps/generic/math_private.h (__gamma_productf): New
28865 (__gamma_product): Likewise.
28866 (__gamma_productl): Likewise.
28867 * math/Makefile (libm-calls): Add gamma_product.
28868 * math/libm-test.inc (tgamma_test): Add more tests.
28869 * sysdeps/i386/fpu/libm-test-ulps: Update.
28870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28872 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
28874 * benchtests/bench-skeleton.c (main): Preheat CPU.
28876 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
28878 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
28880 2013-05-07 Roland McGrath <roland@hack.frob.com>
28882 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
28883 and _dl_skip_args_internal.
28885 2013-05-07 Carlos O'Donell <carlos@redhat.com>
28887 * manual/message.texi (Message Translation): Talk about users.
28888 Message to key mapping impacts design.
28890 2013-05-06 Roland McGrath <roland@hack.frob.com>
28892 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
28894 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
28896 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
28897 * sysdeps/wordsize-64/glob64.c: ... here.
28899 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
28900 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
28903 * debug/getlogin_r_chk.c: Moved to ...
28904 * login/getlogin_r_chk.c: ... here.
28905 * debug/Makefile (routines): Move getlogin_r_chk to ...
28906 * login/Makefile (routines): ... here.
28907 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
28908 * login/Versions (libc: GLIBC_2.4): ... here.
28910 * io/poll.c (__poll): Renamed from poll.
28911 Add libc_hidden_def.
28912 (poll): Define as weak alias.
28914 * debug/ptsname_r_chk.c: Moved to ...
28915 * login/ptsname_r_chk.c: ... here.
28916 * debug/Makefile (routines): Move ptsname_r_chk to ...
28917 * login/Makefile (routines): ... here.
28918 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
28919 * login/Versions (libc: GLIBC_2.4): ... here.
28921 * posix/getlogin.c: Moved to ...
28922 * login/getlogin.c: ... here.
28923 * posix/getlogin_r.c: Moved to ...
28924 * login/getlogin_r.c: ... here.
28925 * posix/getlogin_r.c: Moved to ...
28926 * login/getlogin_r.c: ... here.
28927 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28928 * login/Makefile (routines): ... here.
28929 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
28930 * login/Versions (libc: GLIBC_2.0): ... here.
28932 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28933 (setrlimit): Define as weak alias.
28935 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28936 Call __ names for open, ftruncate, and close.
28937 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28938 (truncate): Define as weak alias.
28940 2013-05-06 Joseph Myers <joseph@codesourcery.com>
28942 * math/gen-libm-test.pl (parse_args): Initialize x before each
28943 test of frexp, modf and remquo.
28945 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28946 test signgam value.
28948 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28952 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28954 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28956 2013-05-06 Roland McGrath <roland@hack.frob.com>
28958 * elf/dl-writev.h: New file.
28959 * elf/dl-misc.c: Include it.
28960 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28961 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28963 2013-05-04 Joseph Myers <joseph@codesourcery.com>
28965 * math/libm-test.inc (noXFails): Remove variable.
28966 (noXPasses): Likewise.
28967 (BUILD_COMPLEX_INT): Remove macro.
28968 (print_screen): Remove xfail argument.
28969 (print_screen_max_error): Likewise.
28970 (update_stats): Likewise.
28971 (print_max_error): Likewise. Update calls to other affected
28973 (print_complex_max_error): Likewise.
28974 (test_single_exception): Update calls to print_screen.
28975 (test_single_errno): Likewise.
28976 (check_float_internal): Remove xfail argument. Update calls to
28977 other affected functions.
28978 (check_float): Likewise.
28979 (check_complex): Likewise.
28980 (check_int): Likewise.
28981 (check_long): Likewise.
28982 (check_bool): Likewise.
28983 (check_longlong): Likewise.
28984 (main): Don't print noXFails and noXPasses.
28985 * math/gen-libm-test.pl (top level): Don't mention expected
28986 failure handling in comment.
28987 (new_test): Don't handle expected failures.
28988 (parse_args): Don't mention expected failure handling in comment.
28989 (generate_testfile): Don't handle expected failures.
28990 (parse_ulps): Likewise.
28991 (print_ulps_file): Likewise.
28992 (get_failure): Remove function.
28993 (output_test): Don't handle expected failures.
28994 * make/README.libm-test: Don't mention expected failure handling.
28996 * math/libm-test.inc (plus_zero): Make const. Add initializer.
28997 (minus_zero): Likewise.
28998 (plus_infty): Likewise.
28999 (minus_infty): Likewise.
29000 (qnan_value): Likewise.
29001 (max_value): Likewise.
29002 (min_value): Likewise.
29003 (min_subnorm_value): Likewise.
29004 (initialize): Do not initialize those variables dynamically.
29006 2013-05-03 Roland McGrath <roland@hack.frob.com>
29008 * io/open.c (__open_2): Moved to ...
29009 * io/open_2.c: ... this new file.
29010 * io/open64.c (__open64_2): Moved to ...
29011 * io/open64_2.c: ... this new file.
29012 * io/openat.c (__openat_2): Moved to ...
29013 * io/openat_2.c: ... this new file.
29014 * io/openat64.c (__openat64_2): Moved to ...
29015 * io/openat64_2.c: ... this new file.
29016 * io/Makefile (routines): Add them.
29017 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
29018 * sysdeps/unix/sysv/linux/open_2.c: File removed.
29019 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
29020 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
29021 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29022 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
29023 (__openat64): Add hidden_ver.
29024 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
29025 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
29027 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
29028 Separately conditionalize setting of GLRO(dl_sysinfo) so
29029 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
29030 as well, but the actual setting is only under [NEED_DL_SYSINFO].
29032 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29034 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
29035 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
29037 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
29038 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29039 (_libc_vdso_platform_setup): Add __vdso_time initialization.
29040 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
29041 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
29043 2013-05-03 Joseph Myers <joseph@codesourcery.com>
29045 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29046 test signgam value.
29048 * math/libm-test.inc (hypot_test): Do not use
29049 IGNORE_ZERO_INF_SIGN.
29051 2013-05-03 Andreas Jaeger <aj@suse.de>
29053 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29055 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29056 (PF_MAX): Adjust for VSOCK change.
29058 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29062 2013-05-02 Carlos O'Donell <carlos@redhat.com>
29065 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29066 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29067 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29069 2013-05-02 David S. Miller <davem@davemloft.net>
29071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29073 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
29075 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
29077 2013-05-01 Roland McGrath <roland@hack.frob.com>
29079 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29081 2013-05-01 Richard Smith <richard@metafoo.co.uk>
29084 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29085 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29086 Use __attribute__ ((__gnu_inline__)).
29087 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29088 Don't use __attribute__ ((__gnu_inline__)).
29090 2013-05-01 Joseph Myers <joseph@codesourcery.com>
29093 * math/s_catan.c (__catan): Handle small real or imaginary part of
29094 input specially to avoid spurious underflow.
29095 * math/s_catanf.c (__catanf): Likewise.
29096 * math/s_catanh.c (__catanh): Likewise.
29097 * math/s_catanhf.c (__catanhf): Likewise.
29098 * math/s_catanhl.c (__catanhl): Likewise.
29099 * math/s_catanl.c (__catanl): Likewise.
29100 * math/libm-test.inc (catan_test): Add more tests.
29101 (catanh_test): Likewise.
29102 * sysdeps/i386/fpu/libm-test-ulps: Update.
29103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29105 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29109 2013-04-30 Joseph Myers <joseph@codesourcery.com>
29112 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29113 accurately for denominator in atan2.
29114 * math/s_catanf.c (__catanf): Likewise.
29115 * math/s_catanh.c (__catanh): Likewise.
29116 * math/s_catanhf.c (__catanhf): Likewise.
29117 * math/s_catanhl.c (__catanhl): Likewise.
29118 * math/s_catanl.c (__catanl): Likewise.
29119 * math/libm-test.inc (catan_test): Add more tests.
29120 (catanh_test): Likewise.
29121 * sysdeps/i386/fpu/libm-test-ulps: Update.
29122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29124 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29126 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29128 * benchtests/Makefile (bench): Remove slow benchmarks.
29129 * benchtests/atan-inputs: Add slow benchmark inputs.
29130 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29131 (BENCH_FUNC): Accept variant offset.
29133 * benchtests/bench-skeleton.c (main): Run benchmark for each
29135 * benchtests/cos-inputs: Add slow benchmark inputs.
29136 * benchtests/exp-inputs: Likewise.
29137 * benchtests/pow-inputs: Likewise.
29138 * benchtests/sin-inputs: Likewise.
29139 * benchtests/slowatan-inputs: Remove.
29140 * benchtests/slowatan.c: Remove.
29141 * benchtests/slowcos-inputs: Remove.
29142 * benchtests/slowcos.c: Remove.
29143 * benchtests/slowexp-inputs: Remove.
29144 * benchtests/slowexp.c: Remove.
29145 * benchtests/slowpow-inputs: Remove.
29146 * benchtests/slowpow.c: Remove.
29147 * benchtests/slowsin-inputs: Remove.
29148 * benchtests/slowsin.c: Remove.
29149 * benchtests/slowtan-inputs: Remove.
29150 * benchtests/slowtan.c: Remove.
29151 * benchtests/tan-inputs: Add slow benchmark inputs.
29152 * scripts/bench.pl: Parse comments and directives.
29154 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
29156 ($(objpfx)bench-%.c): Remove *-ITER.
29157 * benchtests/bench-modf.c: Remove definition of ITER.
29158 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29159 (main): Loop for DURATION seconds instead of fixed number of
29161 * scripts/bench.pl: Don't expect iterations in parameters.
29163 2013-04-29 Roland McGrath <roland@hack.frob.com>
29165 * io/fchdir.c (__fchdir): Renamed from fchdir.
29166 (fchdir): Define as weak alias.
29168 2013-04-29 Joseph Myers <joseph@codesourcery.com>
29170 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29171 (ERRNO_EDOM): Likewise.
29172 (ERRNO_ERANGE): Likewise.
29173 (noErrnoTests): New variable.
29174 (init_max_error): Set errno to 0.
29175 (test_single_errno): New function.
29176 (test_errno): Likewise.
29177 (check_float_internal): Call test_errno. Set errno to 0.
29178 (check_complex): Refer to errno tests in comment.
29179 (check_int): Call test_errno. Set errno to 0.
29180 (check_long): Likewise.
29181 (check_bool): Likewise.
29182 (check_longlong): Likewise.
29183 (cos_test): Use ERRNO_* flags for errno tests instead of
29185 (expm1_test): Likewise.
29186 (fmod_test): Likewise.
29187 (ilogb_test): Likewise.
29188 (lgamma_test): Likewise.
29189 (pow_test): Likewise.
29190 (remainder_test): Likewise.
29191 (sin_test): Likewise.
29192 (tan_test): Likewise.
29193 (yn_test): Likewise.
29194 (initialize): Set errno to 0.
29195 (main): Print number of errno tests.
29196 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29198 2013-04-29 Andreas Jaeger <aj@suse.de>
29201 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29205 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29206 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29210 * stdlib/random.c (__initstate): Return NULL if
29214 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29215 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29218 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29220 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29222 2013-04-29 Joseph Myers <joseph@codesourcery.com>
29224 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29225 of individual tests.
29226 (casin_test): Likewise.
29227 (casinh_test): Likewise.
29229 2013-04-27 Joseph Myers <joseph@codesourcery.com>
29232 * math/s_catan.c (__catan): Handle arguments with large real or
29233 imaginary part separately without squaring.
29234 * math/s_catanf.c (__catanf): Likewise.
29235 * math/s_catanh.c (__catanh): Likewise.
29236 * math/s_catanhf.c (__catanhf): Likewise.
29237 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29239 (__catanhl): Handle arguments with large real or imaginary part
29240 separately without squaring.
29241 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29243 (__catanl): Handle arguments with large real or imaginary part
29244 separately without squaring.
29245 * math/libm-test.inc (catan_test): Add more tests.
29246 (catanh_test): Likewise.
29247 * sysdeps/i386/fpu/libm-test-ulps: Update.
29248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29250 2013-04-27 Andreas Jaeger <aj@suse.de>
29253 * stdlib/stdlib.h: Update guards for qecvt.
29254 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29257 2013-04-27 Allan McRae <allan@archlinux.org>
29259 * sysdeps/i386/fpu/libm-test-ulps: Update.
29261 2013-04-26 Joseph Myers <joseph@codesourcery.com>
29264 * math/s_catan.c: Include <float.h>.
29265 (__catan): Ensure underflow exception occurs for underflowed
29267 * math/s_catanf.c: Include <float.h>.
29268 (__catanf): Ensure underflow exception occurs for underflowed
29270 * math/s_catanh.c: Include <float.h>.
29271 (__catanh): Ensure underflow exception occurs for underflowed
29273 * math/s_catanhf.c: Include <float.h>.
29274 (__catanhf): Ensure underflow exception occurs for underflowed
29276 * math/s_catanhl.c: Include <float.h>.
29277 (__catanhl): Ensure underflow exception occurs for underflowed
29279 * math/s_catanl.c: Include <float.h>.
29280 (__catanl): Ensure underflow exception occurs for underflowed
29282 * math/libm-test.inc (catan_test): Add more tests.
29283 (catanh_test): Likewise.
29286 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
29287 underflowed result.
29288 * math/s_ccoshf.c (__ccoshf): Likewise.
29289 * math/s_ccoshl.c (__ccoshl): Likewise.
29290 * math/s_csin.c (__csin): Likewise.
29291 * math/s_csinf.c (__csinf): Likewise.
29292 * math/s_csinh.c (__csinh): Likewise.
29293 * math/s_csinhf.c (__csinhf): Likewise.
29294 * math/s_csinhl.c (__csinhl): Likewise.
29295 * math/s_csinl.c (__csinl): Likewise.
29296 * math/libm-test.inc (ccos_test): Add more tests.
29297 (ccosh_test): Likewise.
29298 (csin_test): Likewise.
29299 (csinh_test): Likewise.
29301 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29303 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
29304 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
29305 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
29306 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
29307 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
29308 powerpc/power5+/fpu folders.
29309 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
29312 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29314 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29316 2013-04-25 Joseph Myers <joseph@codesourcery.com>
29318 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
29319 additions to variable.
29320 [$(config-machine) = x86_64] (modules-names): Likewise.
29321 ($(objpfx)tst-audit3): Remove dependency.
29322 ($(objpfx)tst-audit3.out): Likewise.
29323 ($(objpfx)tst-audit4): Likewise.
29324 ($(objpfx)tst-audit4.out): Likewise.
29325 ($(objpfx)tst-audit5): Likewise.
29326 ($(objpfx)tst-audit5.out): Likewise.
29327 ($(objpfx)tst-audit6): Likewise.
29328 ($(objpfx)tst-audit6.out): Likewise.
29329 ($(objpfx)tst-audit7): Likewise.
29330 ($(objpfx)tst-audit7.out): Likewise.
29331 (tst-audit3-ENV): Remove variable.
29332 (tst-audit4-ENV): Likewise.
29333 (tst-audit5-ENV): Likewise.
29334 (tst-audit6-ENV): Likewise.
29335 (tst-audit7-ENV): Likewise.
29336 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
29337 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
29338 addition to variable.
29339 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
29340 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
29341 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
29342 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
29343 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
29344 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
29345 tst-audit3, tst-audit4 and tst-audit5.
29346 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
29347 tst-audit6 and tst-audit7.
29348 [$(subdir) = elf] (modules-names): Add audit modules for those
29350 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
29351 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
29352 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
29353 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
29354 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
29355 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
29356 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
29357 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
29358 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
29359 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
29360 [$(subdir) = elf] (tst-audit3-ENV): New variable.
29361 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
29362 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
29363 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
29364 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
29365 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
29367 [$(subdir) = elf && $(config-cflags-avx) = yes]
29368 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
29369 [$(subdir) = elf && $(config-cflags-avx) = yes]
29370 (CFLAGS-tst-auditmod4a.c): Likewise.
29371 [$(subdir) = elf && $(config-cflags-avx) = yes]
29372 (CFLAGS-tst-auditmod4b.c): Likewise.
29373 [$(subdir) = elf && $(config-cflags-avx) = yes]
29374 (CFLAGS-tst-auditmod6b.c): Likewise.
29375 [$(subdir) = elf && $(config-cflags-avx) = yes]
29376 (CFLAGS-tst-auditmod6c.c): Likewise.
29377 [$(subdir) = elf && $(config-cflags-avx) = yes]
29378 (CFLAGS-tst-auditmod7b.c): Likewise.
29379 * elf/tst-audit3.c: Move to ...
29380 * sysdeps/x86_64/tst-audit3.c: ... here.
29381 * elf/tst-audit4.c: Move to ...
29382 * sysdeps/x86_64/tst-audit4.c: ... here.
29383 * elf/tst-audit5.c: Move to ...
29384 * sysdeps/x86_64/tst-audit5.c: ... here.
29385 * elf/tst-audit6.c: Move to ...
29386 * sysdeps/x86_64/tst-audit6.c: ... here.
29387 * elf/tst-audit7.c: Move to ...
29388 * sysdeps/x86_64/tst-audit7.c: ... here.
29389 * elf/tst-auditmod3a.c: Move to ...
29390 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
29391 * elf/tst-auditmod3b.c: Move to ...
29392 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
29393 * elf/tst-auditmod4a.c: Move to ...
29394 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
29395 * elf/tst-auditmod4b.c: Move to ...
29396 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
29397 * elf/tst-auditmod5a.c: Move to ...
29398 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
29399 * elf/tst-auditmod5b.c: Move to ...
29400 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
29401 * elf/tst-auditmod6a.c: Move to ...
29402 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
29403 * elf/tst-auditmod6b.c: Move to ...
29404 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
29405 * elf/tst-auditmod6c.c: Move to ...
29406 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
29407 * elf/tst-auditmod7a.c: Move to ...
29408 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
29409 * elf/tst-auditmod7b.c: Move to ...
29410 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
29412 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29415 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
29416 define unconditionally.
29417 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
29418 define unconditionally.
29419 (INT8_C, INT16_C, etc.): Likewise.
29421 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
29423 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
29424 __ehdr_start with hidden visibility.
29426 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
29428 2013-04-24 Carlos O'Donell <carlos@redhat.com>
29430 * math/libm-test.inc (cos_test): Use accurate hex constants.
29431 (sincost_test): Likewise.
29433 2013-04-24 Joseph Myers <joseph@codesourcery.com>
29435 * math/libm-test.inc (catan_test): Add more tests.
29436 (catanh_test): Likewise.
29438 * math/s_catanf.c (__catanf): Use suffixed floating-point
29440 * math/s_catanhf.c (__catanhf): Likewise.
29441 * math/s_catanhl.c (__catanhl): Likewise.
29442 * math/s_catanl.c (__catanl): Likewise.
29445 * math/s_catan.c (__catan): Calculate imaginary part of result
29446 with log1p not log unless computing log of number close to 0.
29447 * math/s_catanf.c (__catanf): Likewise.
29448 * math/s_catanl.c (__catanl): Likewise.
29449 * math/s_catanh.c (__catanh): Calculate real part of result with
29450 log1p not log unless computing log of number close to 0.
29451 * math/s_catanhf.c (__catanhf): Likewise.
29452 * math/s_catanhl.c (__catanhl): Likewise.
29453 * math/libm-test.inc (catan_test): Add more tests.
29454 (catanh_test): Likewise.
29455 * sysdeps/i386/fpu/libm-test-ulps: Update.
29456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29458 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29460 * benchtests/Makefile: Mention files in which fast and slow
29461 paths of math functions are implemented.
29463 2013-04-23 Roland McGrath <roland@hack.frob.com>
29465 * sysdeps/posix/timespec_get.c: New file.
29467 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29469 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
29471 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
29473 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
29474 powerpc/power5/fpu folders.
29475 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
29476 * benchtests/Makefile: Add modf testcase.
29477 * benchtests/bench-modf.c: New file: Benchmark test for mo
29479 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
29482 * time/Makefile (tests): Add tst-strptime-whitespace.
29483 * time/strptime_l.c (get_number): Use ISSPACE.
29484 (__strptime_internal): Likewise.
29485 * time/tst-strptime-whitespace.c: New test case.
29487 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
29489 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
29491 (_nss_files_init): Set it here.
29493 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
29495 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
29496 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
29499 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
29501 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
29503 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29505 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
29508 2013-04-21 David S. Miller <davem@davemloft.net>
29510 * po/ru.po: Update Russion translation from translation project.
29512 2013-04-17 Adam Conrad <adconrad@0c3.net>
29514 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
29517 2013-04-17 Carlos O'Donell <carlos@redhat.com>
29519 * configure.in: Remove i386 configure warning. Remove i386 case.
29520 * configure: Regenerate.
29521 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
29522 Add example to error message.
29523 * sysdeps/i386/configure: Regenerate.
29525 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29527 * benchtests/Makefile (bench): Add cos, tan, slowcos and
29529 * benchtests/cos-inputs: New file.
29530 * benchtests/slowcos-inputs: New file.
29531 * benchtests/slowcos.c: New file.
29532 * benchtests/slowtan-inputs: New file.
29533 * benchtests/slowtan.c: New file.
29534 * benchtests/tan-inputs: New file.
29536 2013-04-16 Roland McGrath <roland@hack.frob.com>
29538 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
29541 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29543 * benchtests/Makefile: Include cppflags-iterator.mk to add
29544 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
29546 * Makefile.in (bench-clean): New target.
29547 * benchtests/Makefile (bench-clean): Likewise.
29549 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
29551 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
29553 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
29555 * stdio-common/tstdiomisc.c: Fix coding-style violation.
29557 2013-04-15 Andreas Schwab <schwab@suse.de>
29559 * nscd/grpcache.c (cache_addgr): Properly check for short write.
29560 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29561 * nscd/pwdcache.c (cache_addpw): Likewise.
29562 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
29565 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29567 * benchtests/Makefile (bench): Write all output to
29568 bench-out.tmp together.
29570 2013-04-15 Andreas Schwab <schwab@suse.de>
29572 * nscd/nscd.c (main): Don't fork again after closing files.
29574 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29576 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
29578 * benchtests/Rules (bench-deps): Collect dependencies into a
29579 single variable. Add Makefile to dependencies.
29580 ($(objpfx)bench-%.c): Depend on bench-deps.
29582 2013-04-12 Roland McGrath <roland@hack.frob.com>
29583 Xavier Roche <roche+kml2@exalead.com>
29586 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
29587 just that it's a file descriptor.
29588 * manual/llio.texi (Synchronizing AIO Operations): Update description
29589 for EBADF error from aio_fsync.
29591 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29593 * Rules (bench): Move target definition...
29594 * benchtests/Makefile: ... here.
29596 2013-04-11 Carlos O'Donell <carlos@redhat.com>
29598 * math/libm-test.inc (cos_test): Fix PI/2 test.
29599 (sincos_test): Likewise.
29600 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
29601 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
29603 2013-04-11 Andreas Schwab <schwab@suse.de>
29606 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
29607 accept exponent character only when digits were seen.
29608 * stdio-common/Makefile (tests): Add bug26.
29609 * stdio-common/bug26.c: New file.
29612 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
29615 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29617 * Makeconfig (rtld-prefix): Define built linker prefix.
29618 * Rules (run-bench): Use it.
29619 * math/Makefile (run-regen-ulps): Likewise.
29621 * Rules (bench): Remove eval.
29623 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29624 Roland McGrath <roland@hack.frob.com>
29625 Ondrej Bilka <neleai@seznam.cz>
29628 * time/getdate.c: Include ctype.h and alloca.h.
29629 (__getdate_r): Trim leading and trailing spaces of input.
29630 * time/tst-getdate.c (tests): Add tests with leading and
29633 2013-04-08 Roland McGrath <roland@hack.frob.com>
29636 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
29637 when computing value.
29639 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29641 * math/README.libm-test (How can I generate "libm-test-ulps"?):
29642 Use testrun.sh to run libm tests.
29645 * elf/dl-open.c (dl_open_worker): memset all of seen array.
29647 2013-04-06 Marko Myllynen <myllynen@redhat.com>
29650 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
29652 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29654 * Makefile.in (regen-ulps): New target.
29655 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
29656 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
29657 [ifneq (no,$(PERL)] (regen-ulps): New target.
29658 [ifeq (no,$(PERL)] (regen-ulps): New target.
29659 * math/libm-test.inc (ulps_file_name): Define.
29660 (output_dir): New variable.
29661 (options): Add "output-dir" option.
29662 (parse_opt): Handle 'o' case.
29663 (main): If output_dir is non-NULL use it as a prefix
29665 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
29667 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29669 [BZ #10060, #10062]
29670 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
29671 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
29672 fail configure if __sync_val_compare_and_swap is not inlined.
29673 * sysdeps/i386/configure: Regenerate.
29674 * configure.in: Build for i686 when configured for i386.
29675 * configure: Regenerate.
29676 * README: Remove i386 reference.
29678 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29680 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
29681 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29683 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
29685 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
29686 (lmsnanval): New variables.
29687 (F): Add conversion tests.
29688 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
29689 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
29691 * stdio-common/tstdiomisc.c (F): Properly collect individual
29694 [BZ #14686, #15336]
29695 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
29696 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
29697 Instead, use input NaN values or generate a qNaN by arithmetic
29698 operation. Also fix bugs to comply with the standard.
29699 * math/libm-test.inc (remainder_test): Add more tests.
29701 [BZ #15335, #15342]
29702 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
29703 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
29704 input NaN values or generate a qNaN by arithmetic operation.
29706 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
29709 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
29712 2013-04-03 Joseph Myers <joseph@codesourcery.com>
29715 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29716 underflowed result.
29717 * math/s_cexpf.c (__cexpf): Likewise.
29718 * math/s_cexpl.c (__cexpl): Likewise.
29719 * math/libm-test.inc (cexp_test): Add more tests.
29721 2013-04-03 Andreas Schwab <schwab@suse.de>
29724 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
29725 order arrays from heap if bigger than alloca cutoff.
29727 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
29729 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
29730 (SNAN_TESTS_double): Refer to GCC PR56831.
29731 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
29734 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29736 * Rules (bench): Move bench.out after the run is complete.
29738 * Rules (bench): Echo currently running benchmark.
29740 * benchtests/Makefile (bench): Add atan and slowatan.
29741 * benchtests/atan-inputs: New file.
29742 * benchtests/slowatan-inputs: New file.
29743 * benchtests/slowatan.c: New file.
29745 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
29746 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
29750 * sysdeps/unix/sysv/linux/kernel-features.h
29751 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
29752 __ASSUME_XFS_RESTRICTED_CHOWN.
29753 * sysdeps/unix/sysv/linux/pathconf.c
29754 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29755 Save and restore errno.
29757 2013-04-02 Joseph Myers <joseph@codesourcery.com>
29760 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
29761 arguments using __kernel_casinh.
29762 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
29763 arguments using __kernel_casinhf.
29764 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
29765 arguments using __kernel_casinhl.
29766 * math/libm-test.inc (cacosh_test): Add more tests.
29767 * sysdeps/i386/fpu/libm-test-ulps: Update.
29768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29770 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29772 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29773 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29775 * bench/Makefile (bench): Add sin and slowsin.
29776 * benchtests/sin-inputs: New file.
29777 * benchtests/slowsin-inputs: New file.
29778 * benchtests/slowsin.c: New file.
29780 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29781 (bench): Add slowexp and slowpow.
29782 (exp-ITER): Increase iterations.
29783 (pow-ITER): Likewise.
29784 * benchtests/exp-inputs: Change input.
29785 * benchtests/pow-inputs: Likewise.
29786 * benchtests/slowexp-inputs: New file.
29787 * benchtests/slowexp.c: New file.
29788 * benchtests/slowpow-inputs: New file.
29789 * benchtests/slowpow.c: New file.
29791 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29793 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29795 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29796 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29797 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29798 * benchtests/Makefile: Add rint benchtest.
29799 * benchtests/rint-inputs: Input for rint benchtest.
29801 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
29803 * Versions.def (libm): Add GLIBC_2.18.
29804 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29805 hidden libm prototypes.
29806 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29807 * math/Makefile (libm-calls): Add s_issignaling.
29808 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29809 __issignalingf, __issignalingl. Adjust all libm.abilist files.
29810 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29812 * math/math.h [__USE_GNU] (issignaling): New macro.
29813 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29814 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29815 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29816 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29817 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29818 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29819 * manual/arith.texi (issignaling): New section.
29820 * manual/libm-err-tab.pl (@all_functions): Update comment.
29821 * math/gen-libm-test.pl (parse_args): Apply special handling for
29823 * math/libm-test.inc (print_float, issignaling_test): New
29825 (check_float_internal): Add issignaling checks.
29826 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29827 default definition.
29828 * sysdeps/powerpc/math-tests.h: New file.
29829 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29831 * math/test-snan.c (TEST_FUNC): Likewise.
29833 2013-03-30 David S. Miller <davem@davemloft.net>
29835 * po/de.po: Update from translation team.
29837 2013-03-30 Joseph Myers <joseph@codesourcery.com>
29840 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29841 imaginary part less than 1.0 and real part less than 0.5
29843 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29844 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29845 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29846 (cacos_test): Add more tests.
29847 (casin_test): Likewise.
29848 (casinh_test): Likewise.
29849 * sysdeps/i386/fpu/libm-test-ulps: Update.
29850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29852 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29854 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
29855 ONE with its value.
29857 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
29858 (__pow_mp): Replace ONE and MONE with their values.
29859 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29860 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
29861 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29862 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
29863 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29864 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29866 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
29868 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
29869 (__pow_mp): Replace ZERO and MZERO with their values.
29870 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29871 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29872 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29873 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29874 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29875 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
29878 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
29880 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
29882 2013-03-28 Roland McGrath <roland@hack.frob.com>
29884 * include/stdlib.h [!SHARED] (__call_tls_dtors):
29885 Declare with __attribute__ ((weak)).
29886 * stdlib/exit.c (__libc_atexit) [!SHARED]:
29887 Call __call_tls_dtors only if it's not NULL.
29889 2013-03-28 Roland McGrath <roland@hack.frob.com>
29891 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
29892 didn't do it already, then set _dl_phdr and _dl_phnum based on the
29893 magic __ehdr_start linker symbol if it's defined.
29894 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
29895 them up here if it was already done.
29897 * elf/dl-support.c (_dl_phdr): Make pointer to const.
29898 (_dl_aux_init): Use const in cast when setting it.
29899 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
29900 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
29901 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
29903 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
29905 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
29906 * csu/libc-tls.c: Nor here.
29907 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
29909 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
29910 (__libc_message): Never call vsyslog.
29912 2013-03-28 Alan Modra <amodra@gmail.com>
29914 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
29916 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
29919 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29922 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
29924 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29926 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29929 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29930 Don't add gid passed as argument.
29932 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29934 2013-03-27 Joseph Myers <joseph@codesourcery.com>
29937 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29938 imaginary part between 1.0 and 1.5 and real part less than 0.5
29940 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29941 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29942 * math/libm-test.inc (cacos_test): Add more tests.
29943 (casin_test): Likewise.
29944 (casinh_test): Likewise.
29945 * sysdeps/i386/fpu/libm-test-ulps: Update.
29946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29948 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29950 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29953 (denorm): Likewise.
29954 (__dbl_mp): Likewise.
29955 (add_magnitudes): Likewise.
29956 (sub_magnitudes): Likewise.
29964 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29966 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29967 (__dubcos): Likewise.
29968 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29969 (__ieee754_acos): Likewise.
29970 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29971 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29972 (__exp1): Likewise.
29973 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29974 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29976 (my_log2): Likewise.
29977 (checkint): Likewise.
29978 * sysdeps/ieee754/dbl-64/e_remainder.c
29979 (__ieee754_remainder): Likewise.
29980 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29981 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29982 (bsloww): Likewise.
29983 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29985 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29986 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29987 MANTISSA_STORE_T to store computations on mantissa. Use
29988 macros for rounding and division.
29989 (denorm): Likewise.
29990 (__dbl_mp): Likewise.
29991 (add_magnitudes): Likewise.
29992 (sub_magnitudes): Likewise.
29995 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29996 powers of two in terms of TWOPOW macro.
29997 (mp_no): Make type of mantissa as MANTISSA_T.
29998 [!RADIXI]: Define RADIXI.
29999 [!TWO52]: Define TWO52.
30000 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30002 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30004 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30005 llroundl symbol when building for PPC32.
30007 2013-03-24 Mark H Weaver <mhw@netris.org>
30009 * manual/arith.texi (Normalization Functions): Fix prototypes for
30010 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30012 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30015 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
30016 high value to check if expl overflow.
30017 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
30018 to check for underflow and overflow.
30019 * math/libm-test.inc: Add exp test.
30021 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
30024 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
30027 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30029 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
30032 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
30034 * math/gen-libm-test.pl (parse_args, special_functions): Properly
30035 wrap blocks consisting of several statements.
30037 * sysdeps/generic/math-tests.h: New file.
30038 * sysdeps/i386/fpu/math-tests.h: Likewise.
30039 * math/test-snan.c: Include it.
30040 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
30042 2013-03-21 Joseph Myers <joseph@codesourcery.com>
30045 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30046 (__ieee754_j0l): Do not improve calculations using cos of twice
30047 input for inputs above LDBL_MAX / 2.0L.
30048 (__ieee754_y0l): Likewise.
30049 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30050 (__ieee754_j1l): Do not improve calculations using cos of twice
30051 input for inputs above LDBL_MAX / 2.0L.
30052 (__ieee754_y1l): Likewise.
30053 * math/libm-test.inc (j0_test): Add another test.
30054 (j1_test): Likewise.
30055 (y0_test): Likewise.
30056 (y1_test): Likewise.
30057 * sysdeps/i386/fpu/libm-test-ulps: Update.
30059 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30061 * Rules ($(objpfx)bench-%.c): Include code from a C source
30064 2013-03-21 Joseph Myers <joseph@codesourcery.com>
30067 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30068 imaginary part 1.0 and real part less than 0.5 specially.
30069 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30070 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30071 * math/libm-test.inc (cacos_test): Add more tests.
30072 (casin_test): Likewise.
30073 (casinh_test): Likewise.
30074 * sysdeps/i386/fpu/libm-test-ulps: Update.
30075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30077 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30079 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30080 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30082 2013-03-20 Joseph Myers <joseph@codesourcery.com>
30084 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30085 * config.make.in (config-cflags-sse4): Remove variable.
30086 (config-cflags-avx): Likewise.
30087 (config-cflags-sse2avx): Likewise.
30088 (config-cflags-novzeroupper): Likewise.
30089 (config-asflags-i686): Likewise.
30090 (have-mfma4): Likewise.
30091 (have-as-vis3): Likewise.
30093 * configure.in (MIG): Do not AC_SUBST.
30094 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30095 (libc_cv_cc_sse4): Do not AC_SUBST.
30096 (libc_cv_cc_avx): Likewise.
30097 (libc_cv_cc_sse2avx): Likewise.
30098 (libc_cv_cc_novzeroupper): Likewise.
30099 (libc_cv_cc_fma4): Likewise.
30100 (libc_cv_as_i686): Likewise.
30101 (libc_cv_sparc_as_vis3): Likewise.
30102 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30104 (config-asflags-i686): Likewise.
30105 (config-cflags-avx): Likewise.
30106 (config-cflags-sse2avx): Likewise.
30107 (have-mfma4): Likewise.
30108 (config-cflags-novzeroupper): Likewise.
30109 * sysdeps/mach/configure.in (MIG): Likewise.
30110 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30111 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30113 (config-cflags-avx): Likewise.
30114 (config-cflags-sse2avx): Likewise.
30115 (have-mfma4): Likewise.
30116 (config-cflags-novzeroupper): Likewise.
30117 * configure: Regenerated.
30118 * sysdeps/i386/configure: Likewise.
30119 * sysdeps/mach/configure: Likewise.
30120 * sysdeps/sparc/configure: Likewise.
30121 * sysdeps/x86_64/configure: Likewise.
30123 2013-03-20 Roland McGrath <roland@hack.frob.com>
30126 * locale/programs/localedef.c (options): Put N_ translation marker
30127 on argument names, not just descriptions.
30129 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30131 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30133 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
30136 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30138 2013-03-19 Roland McGrath <roland@hack.frob.com>
30140 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30141 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30142 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30143 [!BEFORE_ABORT] (before_abort): New function.
30144 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30145 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30146 (writev_for_fatal): New function.
30147 (WRITEV_FOR_FATAL): New macro; call that.
30148 (backtrace_and_maps): New function.
30149 (BEFORE_ABORT): New macro; call that.
30150 (struct str_list): Type removed.
30151 (__libc_message, __libc_fatal): Functions removed.
30152 Include <sysdeps/posix/libc_fatal.c> instead.
30154 2013-03-19 Joseph Myers <joseph@codesourcery.com>
30156 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30158 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30161 2013-03-19 Andreas Schwab <schwab@suse.de>
30163 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30164 * sysdeps/gnu/configure: Regenerate.
30166 * configure.in: Substitute libc_cv_rtlddir.
30167 * configure: Regenerate.
30168 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30169 * Makeconfig (rtlddir, inst_rtlddir): New variables.
30170 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30171 * elf/Makefile (install-others, CFLAGS-interp.c)
30172 (ldso_install, common-ldd-rewrite): Likewise.
30173 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30174 $(inst_slibdir)/$(rtld-installed-name).
30175 * scripts/rellns-sh: Add -p option.
30176 * Makerules (make-shlib-link): Use rellns-sh to get relative name
30179 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30181 * manual/nptl.texi: Renamed to ...
30182 * manual/threads.texi: ... this.
30183 * manual/Makefile (chapters): Update.
30185 2013-03-18 Roland McGrath <roland@hack.frob.com>
30188 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30189 on argument names, not just descriptions.
30190 * malloc/memusagestat.c (options): Likewise.
30191 * nss/getent.c (options): Likewise.
30193 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
30196 * iconv/iconv_prog.c (options): Put N_ translation marker
30197 on argument names, not just descriptions.
30198 * iconv/iconvconfig.c (options): Likewise.
30200 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
30202 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30203 implementation which is faster on all x86_64 architectures.
30204 Tested on AMD, Intel Nehalem, SNB, IVB.
30205 * sysdeps/x86_64/strnlen.S: Likewise.
30207 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30208 Remove all multiarch strlen and strnlen versions.
30209 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30210 Remove strlen and strnlen related parts.
30212 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30213 Inline strlen part.
30214 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30216 * sysdeps/x86_64/multiarch/strlen.S: Remove.
30217 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30218 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30219 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30220 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30221 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30223 2013-03-17 Carlos O'Donell <carlos@redhat.com>
30225 * manual/memory.texi (Malloc Tunable Parameters):
30226 Sort parameters alphabetically. Add comments for missing entries.
30228 2013-03-17 David S. Miller <davem@davemloft.net>
30230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30232 2013-03-16 Joseph Myers <joseph@codesourcery.com>
30235 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30236 for arguments at most half maximum finite value.
30237 * math/libm-test.inc (j0_test): Add more tests.
30238 (j1_test): Likewise.
30239 (y0_test): Likewise.
30240 (y1_test): Likewise.
30241 * sysdeps/i386/fpu/libm-test-ulps: Update.
30242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30245 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30246 1 / x and functions P and Q for arguments above 0x1p256L.
30247 (__ieee754_y0l): Likewise.
30248 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30249 (__ieee754_y1l): Likewise.
30250 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30251 (j1_test): Likewise.
30252 (y0_test): Likewise.
30253 (y1_test): Likewise.
30255 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
30257 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
30260 2013-03-15 Roland McGrath <roland@hack.frob.com>
30262 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
30263 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
30264 zero since it's initialized to EXEC_PAGESIZE.
30266 * sysdeps/unix/sysv/linux/ldsodefs.h
30267 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
30268 * sysdeps/generic/ldsodefs.h: ... here.
30270 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
30272 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
30274 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
30276 * math/test-snan.c: Renamed from
30277 sysdeps/powerpc/fpu/test-powerpc-snan.c.
30278 * math/Makefile (tests): Add test-snan.
30279 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
30282 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
30283 SUFFIX. Initialize qNaN_var with __builtin_nan family of
30285 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
30286 __builtin_nan family of functions.
30287 * math/libm-test.inc (initialize): Initialize qnan_value with
30288 __builtin_nan family of functions.
30289 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
30291 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
30293 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
30294 storage class. Initialize qNaN_var and sNaN_var with
30295 __builtin_nan and __builtin_nans families of functions,
30298 * math/libm-test.inc (acosh_test): Also test with qNaN input.
30299 (sqrt_test): Remove duplicate test with qNaN input.
30300 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
30301 (round_test, signbit_test, significand_test): Note missing +/-Inf
30302 as well as qNaN tests.
30304 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
30305 qNaN_var. Fix a few strings, too.
30306 * math/libm-test.inc (nan_value): Rename to qnan_value.
30307 * math/gen-libm-test.pl (%beautify): Adjust to that.
30308 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
30309 * math/test-misc.c (main): Likewise.
30310 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
30311 to __qnan_bytes, and __qnan_union, respectively.
30312 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
30314 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
30315 and lqnanval, respectively.
30316 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
30317 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
30318 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
30319 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
30321 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
30322 * math/test-misc.c (main) [__x86_64__]: Enable test for long
30325 * math/test-misc.c (main): Fix copy'n'pastos.
30326 * misc/tst-efgcvt.c (special): Likewise.
30328 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
30329 Remove declarations.
30331 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30333 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
30334 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
30335 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
30336 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
30338 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30340 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
30341 macro to return vdso values correctly in IFUNC implementations.
30342 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30343 Optimization by using IFUNC.
30345 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30346 Richard Henderson <rth@redhat.com>
30347 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30349 * Makefile.in (bench): New target.
30350 * NEWS: Mention the benchmark framework.
30351 * Rules (bench): Likewise.
30352 (binaries-bench): Generate binaries for functions to
30354 * benchtests/Makefile: New makefile for benchmark tests.
30355 * benchtests/bench-skeleton.c: New skeleton file for benchmark
30357 * benchtests/exp-inputs: New input file for EXP function.
30358 * benchtests/pow-inputs: New input file for POW function.
30359 * scripts/bench.pl: New script to generate source files for
30360 benchmark programs.
30362 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30364 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30365 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
30366 computations on mantissa. Use macros for rounding and
30368 (denorm): Likewise.
30369 (__dbl_mp): Likewise.
30370 (add_magnitudes): Likewise.
30371 (sub_magnitudes): Likewise.
30374 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30375 powers of two in terms of TWOPOW macro.
30376 (mp_no): Make type of mantissa as MANTISSA_T.
30377 [!RADIXI]: Define RADIXI.
30378 [!TWO52]: Define TWO52.
30379 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30381 * manual/nptl.texi (cindex): Modify threads to pthreads.
30383 2013-03-15 Joseph Myers <joseph@codesourcery.com>
30385 * sysdeps/x86_64/preconfigure: Regenerated.
30387 2013-03-14 Joseph Myers <joseph@codesourcery.com>
30390 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
30392 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
30393 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
30395 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
30396 * math/libm-test.inc (j0_test): Do not allow one spurious
30397 underflow exception.
30398 (y1_test): Likewise.
30400 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30402 * manual/Makefile (chapters): Add nptl.
30403 * manual/debug.texi (Debugging Support): Add link to Threads
30405 * manual/nptl.texi: New file.
30407 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
30409 2013-03-14 Petr Baudis <pasky@ucw.cz>
30411 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
30412 for non-NULL pointer before the memory validity test. Pointed
30413 out by Holger Brunck <holger.brunck@keymile.com>.
30415 2013-03-13 Andreas Schwab <schwab@suse.de>
30417 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
30420 2013-03-13 Joseph Myers <joseph@codesourcery.com>
30422 * timezone/zic.c: Update from tzcode 2013b.
30424 2013-03-12 Carlos O'Donell <carlos@redhat.com>
30426 * manual/install.texi (Configuring and compiling):
30427 Mention i686 and i586.
30428 * INSTALL: Regenerate.
30430 2013-03-12 Roland McGrath <roland@hack.frob.com>
30432 * sysdeps/init_array/elf-init.c: New file.
30434 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
30435 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
30437 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
30438 __gmon_start__ as global, but as static with a .preinit_array pointer.
30439 * sysdeps/init_array/gmon-start.c: New file. Use that.
30440 * sysdeps/init_array/crti.S: New file, empty except for comments.
30441 * sysdeps/init_array/crtn.S: Likewise.
30443 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
30445 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
30447 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30448 Remove Prefer_SSE_for_memop.
30449 * sysdeps/x86_64/multiarch/init-arch.h: Remove
30450 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
30451 HAS_PREFER_SSE_FOR_MEMOP.
30452 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
30454 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30455 Remove bzero, memset ifunc support.
30456 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
30457 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
30458 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30459 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30461 2013-03-11 Andreas Schwab <schwab@suse.de>
30464 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
30466 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
30467 (GLIBC_2.16): Remove pthread_atfork.
30469 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
30471 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
30472 (ptestcases.h): Likewise.
30474 2013-03-08 Roland McGrath <roland@hack.frob.com>
30476 * Makeconfig ($(common-objpfx)config.status): Depend on
30477 sysdeps/*/preconfigure{,.in} too.
30479 2013-03-08 Joseph Myers <joseph@codesourcery.com>
30481 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
30482 (__free_hook): Use void * instead of __malloc_ptr_t.
30483 (__malloc_hook): Likewise.
30484 (__realloc_hook): Likewise.
30485 (__memalign_hook): Likewise.
30486 (__after_morecore_hook): Likewise.
30487 * malloc/arena.c (save_malloc_hook): Likewise.
30488 (save_free_hook): Likewise.
30489 * malloc/hooks.c (malloc_hook_ini): Likewise.
30490 (realloc_hook_ini): Likewise.
30491 (memalign_hook_ini): Likewise.
30492 * malloc/malloc.c (malloc_hook_ini): Likewise.
30493 (realloc_hook_ini): Likewise.
30494 (memalign_hook_ini): Likewise.
30495 (__free_hook): Likewise.
30496 (__malloc_hook): Likewise.
30497 (__realloc_hook): Likewise.
30498 (__memalign_hook): Likewise.
30499 (__libc_malloc): Likewise.
30500 (__libc_free): Likewise.
30501 (__libc_realloc): Likewise.
30502 (__libc_memalign): Likewise.
30503 (__libc_valloc): Likewise.
30504 (__libc_pvalloc): Likewise.
30505 (__libc_calloc): Likewise.
30506 (__posix_memalign): Likewise.
30507 * malloc/morecore.c (__sbrk): Likewise.
30508 (__default_morecore): Likewise.
30510 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
30512 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
30513 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
30514 __malloc_ptrdiff_t.
30516 * malloc/malloc.h (__malloc_size_t): Remove macro.
30517 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
30519 (old_memalign_hook): Likewise.
30520 (old_realloc_hook): Likewise.
30521 (struct hdr): Likewise.
30523 (mallochook): Likewise.
30524 (memalignhook): Likewise.
30525 (reallochook): Likewise.
30526 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
30527 (tr_old_realloc_hook): Likewise.
30528 (tr_old_memalign_hook): Likewise.
30529 (tr_mallochook): Likewise.
30530 (tr_reallochook): Likewise.
30531 (tr_memalignhook): Likewise.
30533 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30535 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
30536 default_ldbl_pack and using as default implementation.
30537 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
30539 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
30540 redundant definition.
30541 (ldbl_insert_mantissa): Likewise.
30542 (ldbl_canonicalize): Likewise.
30543 (ldbl_nearbyint): Likewise.
30544 (ldbl_pack): Rename to ldbl_pack_ppc.
30545 (ldbl_unpack): Rename to ldbl_unpack_ppc.
30546 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
30547 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
30549 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30551 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
30552 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
30553 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
30554 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
30555 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
30556 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
30557 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
30558 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
30560 2013-03-07 Andreas Jaeger <aj@suse.de>
30562 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30565 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30567 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
30568 Include mpa.h and declare __MPEXP.
30569 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
30570 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30571 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30572 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
30573 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30574 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30575 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
30577 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
30578 (__slowpow): Use long double EXPL and LOGL functions to
30580 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30581 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30582 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
30583 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30584 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30585 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
30587 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
30588 intermediate variable to calculate exponent.
30590 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30594 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
30595 [!NO__SQR]: Define __sqr.
30596 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
30597 and NO__SQR. Remove all code except __mul and __sqr. Include
30598 sysdeps/ieee754/dbl-64/mpa.c.
30599 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30602 * posix/Makefile (tests): Add tst-pathconf.
30603 * posix/tst-pathconf.c: New test case.
30604 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
30606 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
30608 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
30610 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
30612 2013-03-06 Andreas Jaeger <aj@suse.de>
30614 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
30615 definition via __MAP_ANONYMOUS.
30617 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
30618 it's not part of Linux headers.
30620 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
30621 (MAP_HUGE_MASK): Define.
30623 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30625 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30626 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30628 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30629 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30631 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30632 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
30634 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30636 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
30637 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
30638 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
30639 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
30640 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
30641 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
30643 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30646 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30647 Handle f2fs and efivarfs.
30649 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
30652 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
30653 (EFIVARFS_MAGIC): Add.
30654 (F2FS_LINK_MAX): Add.
30656 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30658 * stdio-common/vfprintf.c: Replace __builtin_expect with
30661 2013-03-06 Joseph Myers <joseph@codesourcery.com>
30664 * sysdeps/generic/bp-sym.h: Remove file.
30665 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
30666 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
30667 <bp-sym.h> and <bp-asm.h>.
30668 (__longjmp): Don't use BP_SYM.
30669 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
30671 (memcpy): Don't use BP_SYM.
30672 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
30673 <bp-sym.h> and <bp-asm.h>.
30674 (memcpy): Don't use BP_SYM.
30675 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
30677 (memcpy): Don't use BP_SYM.
30678 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
30680 (memset): Don't use BP_SYM.
30681 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30682 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30683 (__bzero): Don't use BP_SYM.
30684 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30685 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30686 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
30687 <bp-sym.h> and <bp-asm.h>.
30688 (memcmp): Don't use BP_SYM. Remove comment about bounded
30690 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
30691 <bp-sym.h> and <bp-asm.h>.
30692 (memcpy): Don't use BP_SYM.
30693 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
30694 <bp-sym.h> and <bp-asm.h>.
30695 (memset): Don't use BP_SYM.
30696 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30697 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30698 (__bzero): Don't use BP_SYM.
30699 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30700 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30701 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
30702 <bp-sym.h> and <bp-asm.h>.
30703 (strncmp): Don't use BP_SYM. Remove comment about bounded
30705 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
30706 <bp-sym.h> and <bp-asm.h>.
30707 (memcpy): Don't use BP_SYM.
30708 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
30709 <bp-sym.h> and <bp-asm.h>.
30710 (memset): Don't use BP_SYM.
30711 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30712 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30713 (__bzero): Don't use BP_SYM.
30714 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30715 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30716 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
30717 <bp-sym.h> and <bp-asm.h>.
30718 (__memchr): Don't use BP_SYM.
30719 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
30720 <bp-sym.h> and <bp-asm.h>.
30721 (memcmp): Don't use BP_SYM. Remove comment about bounded
30723 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
30724 <bp-sym.h> and <bp-asm.h>.
30725 (memcpy): Don't use BP_SYM.
30726 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
30727 <bp-sym.h> and <bp-asm.h>.
30728 (__mempcpy): Don't use BP_SYM.
30729 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
30730 <bp-sym.h> and <bp-asm.h>.
30731 (__memrchr): Don't use BP_SYM.
30732 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
30733 <bp-sym.h> and <bp-asm.h>.
30734 (memset): Don't use BP_SYM.
30735 (__bzero): Likewise.
30736 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
30737 <bp-sym.h> and <bp-asm.h>.
30738 (__rawmemchr): Don't use BP_SYM.
30739 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
30740 <bp-sym.h> and <bp-asm.h>.
30741 (__STRCMP): Don't use BP_SYM.
30742 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
30743 <bp-sym.h> and <bp-asm.h>.
30744 (strchr): Don't use BP_SYM.
30745 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
30746 <bp-sym.h> and <bp-asm.h>.
30747 (__strchrnul): Don't use BP_SYM.
30748 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
30749 <bp-sym.h> and <bp-asm.h>.
30750 (strlen): Don't use BP_SYM.
30751 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
30752 <bp-sym.h> and <bp-asm.h>.
30753 (strncmp): Don't use BP_SYM. Remove comment about bounded
30755 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
30756 <bp-sym.h> and <bp-asm.h>.
30757 (__strnlen): Don't use BP_SYM.
30758 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
30759 <bp-sym.h> and <bp-asm.h>.
30760 (__GI__setjmp): Don't use BP_SYM.
30761 (_setjmp): Likewise.
30762 (__sigsetjmp): Likewise.
30763 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
30764 (L(start_addresses)): Don't use BP_SYM.
30765 (_start): Likewise.
30766 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
30768 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30769 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30770 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30771 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30772 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30774 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30775 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
30776 about bounded pointers.
30777 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30778 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30779 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30781 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30782 about bounded pointers. Remove GKM FIXME comments.
30783 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30784 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30786 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30787 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
30788 Remove GKM FIXME comments.
30789 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30790 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30791 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30793 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30794 about bounded pointers. Remove GKM FIXME comment.
30795 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30797 (strncmp): Don't use BP_SYM. Remove comment about bounded
30799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30800 <bp-sym.h> and <bp-asm.h>.
30801 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30803 <bp-sym.h> and <bp-asm.h>.
30804 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30807 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30809 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30812 2013-03-05 David S. Miller <davem@davemloft.net>
30814 * po/es.po: Update from translation team.
30816 2013-03-05 Andreas Jaeger <aj@suse.de>
30818 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30819 <bits/mman-linux.h>.
30820 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30822 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30823 <bits/mman-linux.h> to end of file.
30824 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30826 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30827 <bits/mman-linux.h> to end of file.
30828 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30830 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30831 <bits/mman-linux.h> to end of file.
30833 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30834 (MCL_CURRENT, MCL_FUTURE): Define here.
30836 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30839 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30841 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30843 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30845 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30846 fourth parameter needed for rt_sigprocmask syscall.
30847 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30848 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30849 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30850 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30851 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30852 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
30854 2013-03-04 Joseph Myers <joseph@codesourcery.com>
30857 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
30858 comment about bounded pointers.
30859 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
30860 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
30862 2013-03-04 Andreas Jaeger <aj@suse.de>
30864 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
30865 common definitions.
30867 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
30868 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
30869 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
30870 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30871 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30872 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30874 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30877 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30878 __ieee754_sqrl instead of __sqrl.
30880 2013-03-01 Joseph Myers <joseph@codesourcery.com>
30882 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
30883 * sysdeps/powerpc/fpu_control.h: ... here.
30884 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
30885 * sysdeps/powerpc/bits/fenvinline.h: ... here.
30886 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
30887 * sysdeps/powerpc/bits/mathinline.h: ... here.
30889 2013-03-01 Roland McGrath <roland@hack.frob.com>
30891 * elf/dl-hwcaps.c (_dl_important_hwcaps):
30892 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
30893 to just [NEED_DL_SYSINFO_DSO].
30894 * elf/dl-support.c: Likewise.
30895 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30896 * elf/rtld.c (dl_main): Likewise.
30897 * elf/setup-vdso.h (setup_vdso): Likewise.
30898 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
30899 * sysdeps/unix/sysv/linux/dl-sysdep.c
30900 (_dl_discover_osversion): Likewise.
30902 2013-03-01 Carlos O'Donell <carlos@redhat.com>
30904 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
30905 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30907 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
30909 * NEWS: Mention libm performance improvements and non-x86 PI
30912 * csu/libc-start.c (__pthread_initialize_minimal): Change
30913 function arguments.
30914 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30916 2013-02-28 Joseph Myers <joseph@codesourcery.com>
30919 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
30920 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
30921 <bp-sym.h> and <bp-asm.h>.
30922 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30923 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
30925 (memcpy): Don't use BP_SYM.
30926 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
30928 (__mpn_add_n): Don't use BP_SYM.
30929 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
30930 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30932 (__mpn_addmul_1): Don't use BP_SYM.
30933 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30934 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30936 (_setjmp): Don't use BP_SYM.
30937 (__novmx_setjmp): Likewise.
30938 (__GI__setjmp): Likewise.
30939 (__vmx_setjmp): Likewise.
30940 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30942 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30943 (__bzero): Don't use BP_SYM.
30944 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30945 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30946 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30947 <bp-sym.h> and <bp-asm.h>.
30948 (memcpy): Don't use BP_SYM.
30949 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30950 <bp-sym.h> and <bp-asm.h>.
30951 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30952 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30953 <bp-sym.h> and <bp-asm.h>.
30954 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30955 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30957 (__mpn_lshift): Don't use BP_SYM.
30958 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30959 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30961 (memset): Don't use BP_SYM.
30962 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30963 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30964 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30966 (__mpn_mul_1): Don't use BP_SYM.
30967 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30968 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30969 <bp-sym.h> and <bp-asm.h>.
30970 (memcmp): Don't use BP_SYM.
30971 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30972 <bp-sym.h> and <bp-asm.h>.
30973 (memcpy): Don't use BP_SYM.
30974 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30975 <bp-sym.h> and <bp-asm.h>.
30976 (memset): Don't use BP_SYM.
30977 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30978 <bp-sym.h> and <bp-asm.h>.
30979 (strncmp): Don't use BP_SYM.
30980 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30981 <bp-sym.h> and <bp-asm.h>.
30982 (memcpy): Don't use BP_SYM.
30983 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30984 <bp-sym.h> and <bp-asm.h>.
30985 (memset): Don't use BP_SYM.
30986 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30987 <bp-sym.h> and <bp-asm.h>.
30988 (__memchr): Don't use BP_SYM.
30989 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30990 <bp-sym.h> and <bp-asm.h>.
30991 (memcmp): Don't use BP_SYM.
30992 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30993 <bp-sym.h> and <bp-asm.h>.
30994 (memcpy): Don't use BP_SYM.
30995 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30996 <bp-sym.h> and <bp-asm.h>.
30997 (__mempcpy): Don't use BP_SYM.
30998 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30999 <bp-sym.h> and <bp-asm.h>.
31000 (__memrchr): Don't use BP_SYM.
31001 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31002 <bp-sym.h> and <bp-asm.h>.
31003 (memset): Don't use BP_SYM.
31004 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31005 <bp-sym.h> and <bp-asm.h>.
31006 (__rawmemchr): Don't use BP_SYM.
31007 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31008 <bp-sym.h> and <bp-asm.h>.
31009 (__STRCMP): Don't use BP_SYM.
31010 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31011 <bp-sym.h> and <bp-asm.h>.
31012 (strchr): Don't use BP_SYM.
31013 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31014 <bp-sym.h> and <bp-asm.h>.
31015 (__strchrnul): Don't use BP_SYM.
31016 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
31017 <bp-sym.h> and <bp-asm.h>.
31018 (strlen): Don't use BP_SYM.
31019 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
31020 <bp-sym.h> and <bp-asm.h>.
31021 (strncmp): Don't use BP_SYM.
31022 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
31023 <bp-sym.h> and <bp-asm.h>.
31024 (__strnlen): Don't use BP_SYM.
31025 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
31027 (__mpn_rshift): Don't use BP_SYM.
31028 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31029 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
31030 <bp-sym.h> and <bp-asm.h>.
31031 (__sigsetjmp): Don't use BP_SYM.
31032 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
31033 (L(start_addresses)): Don't use BP_SYM.
31034 (_start): Likewise.
31035 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
31037 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
31038 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31039 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31040 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
31042 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
31043 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31044 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31045 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31047 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31049 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31050 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31052 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
31054 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31055 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31056 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31058 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31060 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31062 (strncmp): Don't use BP_SYM,
31063 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31065 (__mpn_sub_n): Don't use BP_SYM.
31066 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31067 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31069 (__mpn_submul_1): Don't use BP_SYM.
31070 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31072 <bp-sym.h> and <bp-asm.h>.
31073 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
31075 <bp-sym.h> and <bp-asm.h>.
31076 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31079 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31081 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31082 Use ZK to minimize writes to Z.
31083 (sub_magnitudes): Simplify code a bit.
31084 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31085 Use ZK to minimize writes to Z.
31086 (sub_magnitudes): Simplify code a bit.
31088 2013-02-27 Roland McGrath <roland@hack.frob.com>
31090 * csu/gmon-start.c: Add special exception to license text.
31092 2013-02-27 Richard Henderson <rth@redhat.com>
31094 * scripts/config.guess: Update from config.git.
31095 * scripts/config.sub: Likewise.
31097 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31099 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31101 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31103 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31105 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31107 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31109 2013-02-26 Roland McGrath <roland@hack.frob.com>
31111 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31112 [$(build-shared = yes].
31114 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31116 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31117 (__mul): Reduce iterations for calculating mantissa.
31119 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31121 (__mpranred): Likewise.
31124 * malloc/memusagestat.c (main): Draw graphs for heap and stack
31125 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31127 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
31129 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31130 Define __attribute__.
31132 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31134 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31136 * posix/regex_internal.h (__attribute): Remove.
31137 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31138 (re_string_context_at): Likewise.
31139 (bitset_not): Use __attribute__ and mark function as possibly
31141 (bitset_merge): Likewise.
31142 (bitset_mask): Likewise.
31143 (re_string_char_size_at): Likewise.
31144 (re_string_wchar_at): Likewise.
31145 (re_string_elem_size_at): Likewise.
31147 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31149 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31153 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31157 (denorm): Likewise.
31158 (__dbl_mp): Likewise.
31159 (add_magnitudes): Likewise.
31160 (sub_magnitudes): Likewise.
31164 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31167 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31170 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31173 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31174 up changes with default code.
31175 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31178 2013-02-24 Allan McRae <allan@archlinux.org>
31180 * manual/socket.texi (The Internet Namespace): Order menu items
31181 to match that in the file.
31183 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31184 node listing of the info page menu.
31186 2013-02-21 Joseph Myers <joseph@codesourcery.com>
31189 * sysdeps/i386/bp-asm.h: Remove file.
31190 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31191 (PARMS): Do not use macros from bp-asm.h.
31195 (__mpn_add_n): Do not use BP_SYM
31196 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
31198 (PARMS): Do not use macros from bp-asm.h.
31201 (__mpn_addmul_1): Do not use BP_SYM
31202 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31204 (PARMS): Do not use macros from bp-asm.h.
31205 (SIGMSK): Likewise.
31206 (_setjmp): Likewise. Do not use BP_SYM.
31207 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31209 (PARMS): Do not use macros from bp-asm.h.
31210 (SIGMSK): Likewise.
31211 (setjmp): Likewise. Do not use BP_SYM.
31212 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31214 (PARMS): Do not use macros from bp-asm.h.
31215 (__frexp): Do not use BP_SYM.
31217 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31219 (PARMS): Do not use macros from bp-asm.h.
31220 (__frexpf): Do not use BP_SYM.
31221 (frexpf): Likewise.
31222 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31224 (PARMS): Do not use macros from bp-asm.h.
31225 (__frexpl): Do not use BP_SYM.
31226 (frexpl): Likewise.
31227 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31229 (PARMS): Do not use macros from bp-asm.h.
31230 (__remquo): Do not use BP_SYM.
31231 (remquo): Likewise.
31232 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31234 (PARMS): Do not use macros from bp-asm.h.
31235 (__remquof): Do not use BP_SYM.
31236 (remquof): Likewise.
31237 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31239 (PARMS): Do not use macros from bp-asm.h.
31240 (__remquol): Do not use BP_SYM.
31241 (remquol): Likewise.
31242 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31244 (PARMS): Do not use macros from bp-asm.h.
31247 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
31248 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31250 (PARMS): Do not use macros from bp-asm.h.
31251 (strlen): Do not use BP_SYM.
31252 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31254 (PARMS): Do not use macros from bp-asm.h.
31258 (__mpn_add_n): Do not use BP_SYM.
31259 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
31261 (PARMS): Do not use macros from bp-asm.h.
31264 (__mpn_addmul_1): Do not use BP_SYM.
31265 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
31268 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
31270 (PARMS): Do not use macros from bp-asm.h.
31273 (__mpn_lshift): Do not use BP_SYM.
31274 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
31276 (PARMS): Do not use macros from bp-asm.h.
31280 (memcpy): Likewise. Do not use BP_SYM.
31281 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
31282 libc_hidden_def and weak_alias.
31283 (mempcpy): Do not use BP_SYM in weak_alias.
31284 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
31286 (PARMS): Do not use macros from bp-asm.h.
31289 [!BZERO_P] (CHR): Likewise.
31290 (memset): Likewise. Do not use BP_SYM.
31291 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
31293 (PARMS): Do not use macros from bp-asm.h.
31296 (__mpn_mul_1): Do not use BP_SYM.
31297 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
31299 (PARMS): Do not use macros from bp-asm.h.
31302 (__mpn_rshift): Do not use BP_SYM.
31303 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
31305 (PARMS): Do not use macros from bp-asm.h.
31308 (strchr): Likewise. Do not use BP_SYM.
31309 (index): Do not use BP_SYM in weak_alias.
31310 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
31312 (PARMS): Do not use macros from bp-asm.h.
31315 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
31316 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
31318 (PARMS): Do not use macros from bp-asm.h.
31319 (strlen): Do not use BP_SYM.
31320 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
31322 (PARMS): Do not use macros from bp-asm.h.
31326 (__mpn_sub_n): Do not use BP_SYM.
31327 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
31329 (PARMS): Do not use macros from bp-asm.h.
31332 (__mpn_submul_1): Do not use BP_SYM.
31333 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
31335 (PARMS): Do not use macros from bp-asm.h.
31339 (__mpn_add_n): Do not use BP_SYM.
31340 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
31343 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
31345 (PARMS): Do not use macros from bp-asm.h.
31348 (memcmp): Do not use BP_SYM.
31349 (bcmp): Do not use BP_SYM in weak_alias.
31350 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
31352 (PARMS): Do not use macros from bp-asm.h.
31356 (memcpy): Likewise. Do not use BP_SYM.
31357 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
31359 (PARMS): Do not use macros from bp-asm.h.
31363 (memmove): Likewise. Do not use BP_SYM.
31364 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
31366 (PARMS): Do not use macros from bp-asm.h.
31370 (__mempcpy): Likewise. Do not use BP_SYM.
31371 (mempcpy): Do not use BP_SYM in weak_alias.
31372 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
31374 (PARMS): Do not use macros from bp-asm.h.
31377 [!BZERO_P] (CHR): Likewise.
31378 (memset): Likewise. Do not use BP_SYM.
31379 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
31381 (PARMS): Do not use macros from bp-asm.h.
31383 (strcmp): Do not use BP_SYM.
31384 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
31386 (PARMS): Do not use macros from bp-asm.h.
31389 [USE_AS_STRTOK_R] (SAVE): Likewise.
31390 (FUNCTION): Likewise. Do not use BP_SYM.
31391 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
31393 (strtok_r): Likewise.
31394 (__GI___strtok_r): Likewise.
31395 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31396 (PARMS): Do not use macros from bp-asm.h.
31399 (__mpn_lshift): Do not use BP_SYM.
31400 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31401 (PARMS): Do not use macros from bp-asm.h.
31404 (__memchr): Do not use BP_SYM.
31405 (memchr): Do not use BP_SYM in weak_alias.
31406 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31407 (PARMS): Do not use macros from bp-asm.h.
31410 (memcmp): Do not use BP_SYM.
31411 (bcmp): Do not use BP_SYM in weak_alias.
31412 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
31413 (PARMS): Do not use macros from bp-asm.h.
31416 (__mpn_mul_1): Do not use BP_SYM.
31417 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
31419 (PARMS): Do not use macros from bp-asm.h.
31422 (__rawmemchr): Do not use BP_SYM.
31423 (rawmemchr): Do not use BP_SYM in weak_alias.
31424 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31425 (PARMS): Do not use macros from bp-asm.h.
31428 (__mpn_rshift): Do not use BP_SYM.
31429 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31430 (PARMS): Do not use macros from bp-asm.h.
31431 (SIGMSK): Likewise.
31432 (__sigsetjmp): Likewise. Do not use BP_SYM.
31433 * sysdeps/i386/start.S: Do not include "bp-sym.h".
31434 (_start): Do not use BP_SYM.
31435 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
31436 (PARMS): Do not use macros from bp-asm.h.
31439 (__stpcpy): Likewise. Do not use BP_SYM.
31440 (stpcpy): Do not use BP_SYM in weak_alias.
31441 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
31443 (PARMS): Do not use macros from bp-asm.h.
31447 (__stpncpy): Likewise. Do not use BP_SYM.
31448 (stpncpy): Do not use BP_SYM in weak_alias.
31449 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31450 (PARMS): Do not use macros from bp-asm.h.
31453 (strchr): Likewise. Do not use BP_SYM.
31454 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
31456 (PARMS): Do not use macros from bp-asm.h.
31459 (__strchrnul): Likewise. Do not use BP_SYM.
31460 (strchrnul): Do not use BP_SYM in weak_alias.
31461 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
31463 (PARMS): Do not use macros from bp-asm.h.
31465 (strcspn): Do not use BP_SYM.
31466 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
31468 (PARMS): Do not use macros from bp-asm.h.
31471 (strpbrk): Likewise. Do not use BP_SYM.
31472 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
31474 (PARMS): Do not use macros from bp-asm.h.
31477 (strrchr): Likewise. Do not use BP_SYM.
31478 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
31479 (PARMS): Do not use macros from bp-asm.h.
31481 (strspn): Do not use BP_SYM.
31482 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
31483 (PARMS): Do not use macros from bp-asm.h.
31487 (FUNCTION): Likewise. Do not use BP_SYM.
31488 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
31490 (strtok_r): Likewise.
31491 (__GI___strtok_r): Likewise.
31492 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31493 (PARMS): Do not use macros from bp-asm.h.
31497 (__mpn_sub_n): Do not use BP_SYM.
31498 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
31500 (PARMS): Do not use macros from bp-asm.h.
31503 (__mpn_submul_1): Do not use BP_SYM.
31504 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
31506 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
31508 (PARMS): Do not use macros from bp-asm.h.
31513 (__clone): Do not use BP_SYM.
31514 (clone): Do not use BP_SYM in weak_alias.
31515 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
31517 (PARMS): Do not use macros from bp-asm.h.
31519 (__mmap64): Do not use BP_SYM.
31520 (mmap64): Do not use BP_SYM in weak_alias.
31521 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31522 <bp-sym.h> and <bp-asm.h>.
31523 (PARMS): Do not use macros from bp-asm.h.
31524 (__posix_fadvise64_l64): Do not use BP_SYM.
31525 * sysdeps/unix/sysv/linux/i386/semtimedop.S
31526 (PARMS): Do not use macros from bp-asm.h.
31528 (semtimedop): Do not use BP_SYM.
31529 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
31532 2013-02-21 Allan McRae <allan@archlinux.org>
31534 * manual/message.texi (Charset conversion in gettext):
31535 Move @end statement to beginning of line.
31537 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31539 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
31541 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31544 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
31545 (denorm): Likewise.
31546 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
31547 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
31549 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31551 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
31552 tail-call to the resolved function if pltexit isn't needed.
31554 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31556 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
31557 or Y being zero as being unlikely.
31558 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31561 2013-02-20 Carlos O'Donell <carlos@redhat.com>
31563 * manual/nss.texi (System Databases and Name Service Switch):
31564 Remove frobnicate @pxref.
31566 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31568 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31569 __attribute__ ((unused)) to __attribute__ ((__unused__)).
31571 2013-02-20 Petr Machata <pmachata@redhat.com>
31573 * elf/elf.h (R_ARM_TARGET1): New macro.
31574 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
31575 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
31576 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
31577 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
31578 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
31579 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
31580 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
31581 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
31582 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
31583 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
31584 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
31585 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
31586 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
31587 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
31588 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
31589 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
31590 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
31591 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
31592 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
31593 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
31594 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
31595 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
31596 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
31597 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
31598 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
31599 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
31600 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
31601 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
31602 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
31603 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
31604 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
31605 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
31606 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
31607 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
31608 (R_ARM_THM_GOT_BREL12): Likewise.
31609 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
31610 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
31611 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
31612 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
31613 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
31614 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
31615 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
31616 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
31617 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
31619 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31621 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31622 __attribute_used__ to __attribute__ ((unused)).
31624 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31626 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
31628 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
31629 comment formatting.
31630 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
31632 2013-02-19 Joseph Myers <joseph@codesourcery.com>
31635 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
31637 (ENTER): Remove both macro definitions.
31639 (CHECK_BOUNDS_LOW): Likewise.
31640 (CHECK_BOUNDS_HIGH): Likewise.
31641 (CHECK_BOUNDS_BOTH): Likewise.
31642 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
31643 (RETURN_BOUNDED_POINTER): Likewise.
31644 (RETURN_NULL_BOUNDED_POINTER): Likewise.
31645 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
31646 (POP_ERRNO_LOCATION_RETURN): Likewise.
31647 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
31648 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31649 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
31651 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31652 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
31653 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
31654 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
31655 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
31656 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
31657 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
31658 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
31659 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
31660 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
31661 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
31662 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
31663 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31664 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
31666 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31667 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
31669 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31670 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
31671 * sysdeps/i386/i586/memset.S (memset): Likewise.
31672 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
31673 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31674 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
31676 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31677 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
31678 Change uses of L(2) to L(out).
31679 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
31680 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
31681 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
31682 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31683 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
31685 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31686 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
31688 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31689 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
31690 (RETURN): Do not use macro LEAVE.
31691 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
31692 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
31693 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
31694 * sysdeps/i386/i686/memset.S (memset): Likewise.
31695 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
31696 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
31697 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31698 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
31700 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31701 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
31702 L(1_2) and L(1_3) into L(1).
31703 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31704 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
31705 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31706 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
31707 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31708 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
31709 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
31710 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31711 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
31713 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
31714 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31715 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
31716 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
31717 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
31718 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31719 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
31720 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
31721 * sysdeps/i386/strcspn.S (strcspn): Likewise.
31722 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
31723 * sysdeps/i386/strrchr.S (strrchr): Likewise.
31724 * sysdeps/i386/strspn.S (strspn): Likewise.
31725 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
31727 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31728 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
31729 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31730 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
31731 L(1_3) into L(1_1).
31732 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
31733 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31734 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
31736 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31738 2013-02-19 Jakub Jelinek <jakub@redhat.com>
31740 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
31743 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31745 * math/atest-exp.c (exp_mpn): Remove ROUND.
31746 * math/atest-exp2.c (exp_mpn): Likewise.
31747 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
31749 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
31750 * stdlib/tst-tls-atexit-lib.c: Likewise.
31751 * stdlib/tst-tls-atexit.c: Likewise.
31753 2013-02-18 Mike Frysinger <vapier@gentoo.org>
31755 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
31756 and __attribute_alloc_size__.
31758 2013-02-18 Mike Frysinger <vapier@gentoo.org>
31760 * include/programs/xmalloc.h: Change __attribute_alloc_size to
31761 __attribute_alloc_size__.
31762 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
31763 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
31765 2013-02-18 Mike Frysinger <vapier@gentoo.org>
31767 * include/programs/xmalloc.h: New file.
31768 * catgets/gencat.c: Include it.
31769 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31770 * elf/pldd.c: Likewise.
31771 * iconv/iconv_charmap.c: Likewise.
31772 * iconv/iconvconfig.c: Likewise.
31773 * iconv/strtab.c: Likewise.
31774 * locale/programs/locale.c: Likewise.
31775 * locale/programs/localedef.h: Likewise.
31776 * locale/programs/simple-hash.c: Likewise.
31777 * nscd/nscd.h: Likewise.
31778 * nss/makedb.c: Likewise.
31779 * sysdeps/generic/ldconfig.h: Likewise.
31781 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31783 * Versions.def: Add GLIBC_2.18.
31784 * include/link.h (struct link_map): New member l_tls_dtor_count.
31785 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31786 (__call_tls_dtors): Likewise.
31787 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31788 __cxa_thread_atexit_impl.
31789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31797 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31798 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31800 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31802 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31803 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31805 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31806 (tests): Add test case tst-tls-atexit.
31807 (modules-names): Add shared library for tst-tls-atexit.
31808 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
31809 (GLIBC_PRIVATE): Add __call_tls_dtors.
31810 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31812 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31813 * stdlib/tst-tls-atexit.c: New test case.
31814 * stdlib/tst-tls-atexit-lib.c: New test case.
31816 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
31818 * elf/Versions (ld): Add _dl_find_dso_for_object.
31819 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31820 * elf/dl-open.c (_dl_find_dso_for_object): New function.
31821 (dl_open_worker): Use _dl_find_dso_for_object.
31822 * elf/dl-sym.c (do_sym): Likewise.
31823 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31825 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31827 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31828 Syntactic changes only.
31829 (_dl_runtime_profile): Do a tail-call to the resolved function.
31831 2013-02-17 Joseph Myers <joseph@codesourcery.com>
31834 * sysdeps/x86_64/bp-asm.h: Remove file.
31835 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31836 <bp-sym.h> and <bp-asm.h>.
31837 (__clone): Do not use BP_SYM.
31838 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31839 <bp-sym.h> and <bp-asm.h>.
31840 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31841 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31843 (_setjmp): Do not use BP_SYM.
31844 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31846 (setjmp): Do not use BP_SYM.
31847 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31849 (mempcpy): Do not use BP_SYM in weak_alias.
31850 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
31852 (strchr): Do not use BP_SYM.
31853 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
31855 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
31856 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
31857 (_start): Do not use BP_SYM.
31858 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
31860 (strcat): Do not use BP_SYM.
31861 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
31863 (STRCMP): Do not use BP_SYM.
31864 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
31866 (STRCPY): Do not use BP_SYM.
31867 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
31869 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
31871 (FUNCTION): Do not use BP_SYM.
31872 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
31874 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
31876 2013-02-17 Andreas Jaeger <aj@suse.de>
31878 * time/Versions: Sort entries.
31879 * string/Versions: Likewise.
31880 * resolv/Versions: Likewise.
31881 * posix/Versions: Likewise.
31882 * iconv/Versions: Likewise.
31883 * elf/Versions: Likewise.
31884 * wcsmbs/Versions: Likewise.
31886 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31888 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
31889 loop termination condition.
31891 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
31892 variable to calculate EZ.
31895 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
31896 the lower precision input.
31898 2013-02-15 Joseph Myers <joseph@codesourcery.com>
31901 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
31902 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
31903 (run-via-rtld-prefix): Do not handle %-bp tests.
31904 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
31905 (all-object-suffixes): Remove .ob.
31906 (bppfx): Remove variable.
31907 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
31908 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
31909 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
31910 [$(build-bounded) = yes] (libtype.ob): Likewise.
31911 * Makerules (elide-routines.ob): Remove variable.
31912 (do-tests-clean): Do not handle *-bp.out.
31913 (common-mostlyclean): Do not handle *-bp and *-bp.out.
31914 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
31915 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
31916 (tests): Do not include $(tests-bp.out).
31917 (xtests): Do not include $(xtests-bp.out).
31918 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
31919 [$(build-bounded) = yes] ($(addprefix
31920 $(objpfx),$(binaries-bounded))): Remove rule.
31921 ($(objpfx)%-bp.out): Remove rule.
31922 * config.make.in (build-bounded): Remove variable.
31923 * crypt/Makefile [$(build-bounded) = yes]
31924 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
31925 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
31926 append to variable.
31927 [$(build-bounded) = yes] (install-lib): Likewise.
31928 [$(build-bounded) = yes] (generated): Likewise.
31929 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
31931 * intl/Makefile [$(build-bounded) = yes]
31932 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31933 * math/Makefile [$(build-bounded) = yes]
31934 ($(tests:%=$(objpfx)%-bp): Likewise.
31935 * misc/Makefile [$(build-bounded) = yes]
31936 ($(objpfx)tst-tsearch-bp): Likewise.
31937 * nptl/Makeconfig (bounded-thread-library): Remove variable.
31938 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31940 * string/Makefile (o-objects.ob): Remove variable.
31941 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31942 (CFLAGS-.ob): Remove variable.
31943 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31944 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31945 both definitions of variable.
31946 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31947 (ASFLAGS-.ob): Remove variable.
31949 2013-02-14 Joseph Myers <joseph@codesourcery.com>
31952 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31953 Remove __BOUNDED_POINTERS__ from condition.
31954 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31955 * string/bits/string2.h [!__NO_STRING_INLINES &&
31956 !__BOUNDED_POINTERS__]: Likewise.
31957 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31959 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31960 Remove conditional code.
31961 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31962 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31963 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31967 * csu/libc-start.c: Do not include <bp-sym.h>.
31968 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31969 * elf/dl-open.c: Do not include <bp-sym.h>.
31970 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31971 * math/fegetenv.c: Do not include <bp-sym.h>.
31972 (fegetenv): Do not use BP_SYM in versioned symbols.
31973 * nptl/sysdeps/pthread/bits/libc-lockP.h
31974 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31976 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31977 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31978 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31979 (__pthread_mutex_destroy): Likewise.
31980 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31981 (__pthread_mutex_lock): Likewise.
31982 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31983 (__pthread_mutex_trylock): Likewise.
31984 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31985 (__pthread_mutex_unlock): Likewise.
31986 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31987 (__pthread_mutexattr_init): Likewise.
31988 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31989 (__pthread_mutexattr_destroy): Likewise.
31990 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31991 (__pthread_mutexattr_settype): Likewise.
31992 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31993 (__pthread_rwlock_init): Likewise.
31994 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31995 (__pthread_rwlock_destroy): Likewise.
31996 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31997 (__pthread_rwlock_rdlock): Likewise.
31998 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31999 (__pthread_rwlock_tryrdlock): Likewise.
32000 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32001 (__pthread_rwlock_wrlock): Likewise.
32002 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32003 (__pthread_rwlock_trywrlock): Likewise.
32004 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32005 (__pthread_rwlock_unlock): Likewise.
32006 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32007 (__pthread_key_create): Likewise.
32008 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32009 (__pthread_setspecific): Likewise.
32010 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32011 (__pthread_getspecific): Likewise.
32012 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32014 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32015 (_pthread_cleanup_push_defer): Likewise.
32016 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32017 (_pthread_cleanup_pop_restore): Likewise.
32018 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32019 (pthread_setcancelstate): Likewise.
32020 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
32022 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
32023 (memchr): Do not use BP_SYM in weak_alias.
32024 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
32025 (fegetenv): Do not use BP_SYM in versioned symbols.
32026 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
32027 (fesetenv): Do not use BP_SYM in versioned symbols.
32028 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32029 (feupdateenv): Do not use BP_SYM in versioned symbols.
32030 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32031 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32032 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
32033 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
32034 (open64): Do not use BP_SYM in weak_alias.
32035 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
32036 (fegetenv): Do not use BP_SYM in versioned symbols.
32037 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
32038 (fesetenv): Do not use BP_SYM in versioned symbols.
32039 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32040 (feupdateenv): Do not use BP_SYM in versioned symbols.
32041 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
32042 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
32043 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
32044 (feraiseexcept): Do not use BP_SYM in versioned symbols.
32045 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32046 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32047 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32049 (__libc_start_main): Do not use BP_SYM.
32051 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32053 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32054 redundant return line.
32056 (denorm): Likewise.
32057 (dbl_mp): Likewise.
32058 (sub_magnitudes): Likewise.
32064 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32066 (denorm): Likewise.
32067 (dbl_mp): Likewise.
32068 (sub_magnitudes): Likewise.
32075 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
32077 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32078 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
32081 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32082 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32083 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32084 of __mul for squares.
32085 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32087 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32089 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32090 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32092 2013-02-13 Joseph Myers <joseph@codesourcery.com>
32095 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32097 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32098 prototype or function definition. Rename ubp_* variables and
32099 parameters. Remove argv definitions conditional on
32100 [__BOUNDED_POINTERS__].
32101 * debug/backtrace.c (__backtrace): Do not use __unbounded.
32102 * elf/dl-runtime.c (_dl_fixup): Likewise.
32103 * include/set-hooks.h (RUN_HOOK): Likewise.
32104 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32106 * string/strcpy.c (strcpy): Do not use __unbounded.
32107 * sysdeps/generic/frame.h (struct layout): Likewise.
32108 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32109 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32110 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32111 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32112 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32113 (__backtrace): Likewise.
32114 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32116 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32117 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32118 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32120 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32121 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32122 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32123 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32124 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32125 Do not use __unbounded.
32126 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32127 Rename __unboundedrlimits parameter to rlimits in prototype.
32128 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32129 Do not use __unbounded.
32130 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32131 not use __ptrvalue.
32132 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32133 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32134 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32135 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32136 __ptrvalue or __unbounded.
32137 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32138 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32140 (__new_msgctl): Do not use __ptrvalue.
32141 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32143 (__libc_msgrcv): Do not use __ptrvalue.
32144 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32145 startup_info): Do not use __unbounded.
32146 (__libc_start_main): Likewise. Rename ubp_* variables and
32147 parameters. Remove argv definitions conditional on
32148 [__BOUNDED_POINTERS__].
32149 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32151 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32153 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32155 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32157 (__new_shmctl): Do not use __ptrvalue.
32158 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32159 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32161 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
32162 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
32163 (__libc_sigaction): Likewise.
32164 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32165 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32167 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32169 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
32171 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
32173 * string/mempcpy.c: Implement by calling memcpy.
32175 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32177 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32179 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32182 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32183 values in the mantissa.
32185 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32186 minimize writes to Z.
32187 (sub_magnitudes): Simplify code a bit.
32189 2013-02-12 Roland McGrath <roland@hack.frob.com>
32191 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32192 from the message. The linker prefixes all warnings with that already.
32194 2013-02-12 Andreas Schwab <schwab@suse.de>
32197 * posix/regexec.c (extend_buffers): Add parameter min_len.
32198 (check_matching): Pass minimum needed length.
32199 (clean_state_log_if_needed): Likewise.
32200 (get_subexp): Likewise.
32201 * posix/Makefile (tests): Add bug-regex34.
32202 (bug-regex34-ENV): Define.
32203 * posix/bug-regex34.c: New file.
32206 * posix/regcomp.c (parse_bracket_exp): When looking up collating
32207 elements compare against the byte sequence of it, not its name.
32208 * posix/Makefile (tests): Add bug-regex35.
32209 (bug-regex35-ENV): Define.
32210 * posix/bug-regex35.c: New file.
32212 2013-02-11 Tom de Vries <tom@codesourcery.com>
32214 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
32216 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32217 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32218 (CHECK_EOL): Add undef.
32220 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
32222 * bits/stdlib-bsearch.h: New file.
32223 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
32224 * stdlib/stdlib.h: Likewise.
32226 2013-02-11 Roland McGrath <roland@hack.frob.com>
32228 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32229 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32231 * manual/search.texi (Array Search Function): Add missing const in
32233 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32234 declaration to use rlim_t.
32235 (Basic Scheduling Functions): Remove erroneous const from
32236 sched_getparam prototype. Remove erroneous * from
32237 sched_get_priority_max and sched_get_priority_min prototypes.
32238 (Resource Usage): Fix summary @comment on vtimes to refer to
32239 sys/vtimes.h rather than vtimes.h.
32240 Add missing *s in vtimes prototype.
32241 (Limits on Resources): Fix ulimit prototype to return long int.
32242 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32243 prototypes to use long int rather than double.
32244 (BSD Random): Fix initstate and setstate to use char *, not void *.
32245 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32246 prototype to make second argument 'struct aiocb64 *const[]'.
32247 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32248 (Status of AIO Operations): Remove erroneous const in aio_return and
32249 aio_return64 prototypes.
32250 (Synchronizing I/O): Fix sync prototype to return void.
32251 * manual/startup.texi (Suboptions): Remove an erroneous const in
32252 getsubopt prototype.
32253 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32254 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32255 use size_t rather than int.
32256 (Scanning All Users): Likewise for getpwent_r.
32257 (Setting Groups): Add missing const to setgroups prototype.
32258 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
32259 * manual/socket.texi (Host Names): Fix gethostbyaddr and
32260 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
32261 'const void *' rather than 'const char *'.
32262 (Host Address Functions): Likewise for inet_ntop.
32263 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
32264 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
32265 ssize_t for return value.
32266 (Sending Data): Likewise for send, sendto, sendmsg.
32267 (Socket Option Functions): Add a missing const in setsockopt prototype.
32268 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
32269 use wchar_t for the argument.
32270 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
32271 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
32273 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
32274 double/float/long double for second argument.
32275 Fix return types of significand, significandf, significandl.
32276 * manual/filesys.texi (Setting Permissions): Use mode_t for second
32277 argument in fchmod prototype.
32278 (File Owner): Use uid_t and gid_t in fchown prototype.
32279 (File Times): Add const to utimes, futimes, and lutimes prototypes.
32280 (Making Special Files): Use mode_t and dev_t in mknod prototype.
32281 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
32282 use 'const struct dirent **' as argument types to CMP function pointer
32284 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
32285 (File Times): Fix summary magic @comment for struct utimbuf and utime
32286 to refer to utime.h, not time.h.
32287 * manual/string.texi (Argz Functions): Add missing const in
32288 argz_extract and argz_next prototypes.
32289 (Finding Tokens in a String): Likewise for basename.
32290 (String/Array Comparison): Fix typo in wcscasecmp prototype.
32291 (Copying and Concatenation): Fix typo in wmemmove prototype.
32292 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
32293 (Signal Stack): Remove erroneous const in sigstack prototype.
32294 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
32296 (Simple Calendar Time): Likewise for stime.
32297 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
32299 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
32300 say sys/sysctl.h instead.
32301 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
32302 and vsyslog prototypes.
32304 2013-02-11 Tom de Vries <tom@codesourcery.com>
32306 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
32309 2013-02-11 Roland McGrath <roland@hack.frob.com>
32311 * misc/sys/mman.h: Fix typo in mremap comment.
32313 2013-02-08 Roland McGrath <roland@hack.frob.com>
32315 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
32316 the '\0' terminator.
32318 2013-02-08 Joseph Myers <joseph@codesourcery.com>
32321 * debug/segfault.c: Don't include <bp-checks.h>.
32322 * sysdeps/generic/bp-checks.h: Remove file.
32323 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
32324 (__GETDENTS): Don't use CHECK_N.
32325 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
32326 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32327 (__getgroups): Don't use CHECK_N.
32328 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
32329 (setgroups): Don't use CHECK_N.
32330 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
32331 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
32332 (__libc_msgrcv): Don't use CHECK_N.
32333 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
32334 (__libc_msgsnd): Don't use CHECK_N.
32335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
32337 (__libc_pread): Don't use CHECK_N.
32338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
32339 include <bp-checks.h>.
32340 (__libc_pread64): Don't use CHECK_N.
32341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
32342 include <bp-checks.h>.
32343 (__libc_pwrite): Don't use CHECK_N.
32344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
32345 include <bp-checks.h>.
32346 (__libc_pwrite64): Don't use CHECK_N.
32347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
32349 (__libc_pread): Don't use CHECK_N.
32350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
32351 include <bp-checks.h>.
32352 (__libc_pread64): Don't use CHECK_N.
32353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
32354 include <bp-checks.h>.
32355 (__libc_pwrite): Don't use CHECK_N.
32356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
32357 include <bp-checks.h>.
32358 (__libc_pwrite64): Don't use CHECK_N.
32359 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
32360 (do_pread): Don't use CHECK_N.
32361 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
32362 (do_pread64): Don't use CHECK_N.
32363 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
32364 (do_pwrite): Don't use CHECK_N.
32365 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
32366 (do_pwrite64): Don't use CHECK_N.
32367 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
32368 (__libc_readv): Don't use CHECK_N.
32369 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
32370 (semop): Don't use CHECK_N.
32371 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
32373 (semtimedop): Don't use CHECK_N.
32374 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
32375 (__libc_pread): Don't use CHECK_N.
32376 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
32378 (__libc_pread64): Don't use CHECK_N.
32379 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
32381 (__libc_pwrite): Don't use CHECK_N.
32382 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
32384 (__libc_pwrite64): Don't use CHECK_N.
32385 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
32387 (__libc_msgrcv): Don't use CHECK_N.
32388 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
32389 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
32390 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
32391 (__libc_writev): Don't use CHECK_N.
32393 2013-02-08 Roland McGrath <roland@hack.frob.com>
32395 * string/strcpy.c: Removed unused variable.
32397 * Makeconfig (+sysdep-includes): Define with := rather than =.
32398 Use an existing include/ subdir of each sysdeps dir before it.
32400 2013-02-08 Carlos O'Donell <carlos@redhat.com>
32402 * nscd/connection.c (register_traced_file): Comment function.
32403 [HAVE_INOTIFY] (union __inev): Define.
32404 [HAVE_INOTIFY] (inotify_check_files): New function.
32405 [HAVE_INOTIFY] (clear_db_cache): Likewise.
32406 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
32408 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
32410 2013-02-08 Carlos O'Donell <carlos@redhat.com>
32412 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
32413 loaded if not already and that a failure is permanent.
32415 2013-02-08 Carlos O'Donell <carlos@redhat.com>
32418 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
32419 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
32421 2013-02-08 Joseph Myers <joseph@codesourcery.com>
32424 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
32425 (CHECK_1_NULL_OK): Likewise.
32426 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
32427 (__fxstat): Do not use CHECK_1.
32428 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
32430 (___fxstat64): Do not use CHECK_1.
32431 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32433 (__fxstatat): Do not use CHECK_1.
32434 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32436 (__fxstatat64): Do not use CHECK_1.
32437 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
32439 (__fxstat): Do not use CHECK_1.
32440 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32442 (__fxstatat): Do not use CHECK_1.
32443 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32445 (__getresgid): Do not use CHECK_1.
32446 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32448 (__getresuid): Do not use CHECK_1.
32449 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
32451 (__lxstat): Do not use CHECK_1.
32452 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32454 (__old_msgctl): Do not use CHECK_1.
32455 (__new_msgctl): Likewise.
32456 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
32458 (__new_setrlimit): Do not use CHECK_1.
32459 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32461 (__old_shmctl): Do not use CHECK_1.
32462 (__new_shmctl): Likewise.
32463 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
32465 (__xstat): Do not use CHECK_1.
32466 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
32467 (__lxstat): Do not use CHECK_1.
32468 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
32470 (___lxstat64): Do not use CHECK_1.
32471 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
32472 (__old_msgctl): Do not use CHECK_1.
32473 (__new_msgctl): Likewise.
32474 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
32476 (__gettimeofday): Do not use CHECK_1.
32477 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
32478 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
32479 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
32481 (__gettimeofday): Do not use CHECK_1.
32482 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
32483 (__old_shmctl): Do not use CHECK_1_NULL_OK.
32484 (__new_shmctl): Do not use CHECK_1.
32485 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
32487 (do_sigtimedwait): Do not use CHECK_1.
32488 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
32490 (do_sigwaitinfo): Do not use CHECK_1.
32491 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
32493 (msgctl): Do not use CHECK_1.
32494 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
32496 (shmctl): Do not use CHECK_1.
32497 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
32498 (ustat): Do not use CHECK_1.
32499 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
32501 (__fxstat): Do not use CHECK_1.
32502 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32504 (__fxstatat): Do not use CHECK_1.
32505 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
32507 (__lxstat): Do not use CHECK_1.
32508 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
32510 (__xstat): Do not use CHECK_1.
32511 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
32512 (__xstat): Do not use CHECK_1.
32513 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
32514 (___xstat64): Do not use CHECK_1.
32517 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
32519 (CHECK_BOUNDS_HIGH): Likewise.
32520 * string/strcpy.c: Do not include <bp-checks.h>.
32521 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
32523 2013-02-07 Roland McGrath <roland@hack.frob.com>
32525 * nscd/nscd-client.h (__nscd_drop_map_ref):
32526 Add __attribute__ ((unused)).
32527 * nis/nss-nisplus.h (niserr2nss): Likewise.
32529 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
32530 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
32532 * csu/libc-tls.c (init_static_tls, init_slotinfo):
32533 Remove inline keyword.
32534 * include/rounding-mode.h (round_away): Likewise.
32535 * libio/wfileops.c (adjust_wide_data): Likewise.
32536 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
32537 (__m128i_strloadu_tolower): Likewise.
32538 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
32539 (__m128i_strloadu_tolower): Likewise.
32540 * time/mktime.c (ydhms_diff): Likewise.
32541 * locale/elem-hash.h (elem_hash): Likewise.
32542 * locale/setlocale.c (setdata): Likewise.
32543 * posix/regex_internal.h (re_string_char_size_at): Likewise.
32544 (re_string_wchar_at): Likewise.
32545 (bitset_not, bitset_merge, bitset_mask): Likewise.
32546 [!(__GNUC__ > 3)] (inline): Remove macro.
32547 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
32548 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
32549 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
32550 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
32551 * string/memcmp.c (memcmp_bytes): Likewise.
32552 * locale/programs/locarchive.c (compute_hashval): Likewise.
32553 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
32554 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32555 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
32556 * nss/getent.c (print_rpc, print_protocols): Likewise.
32557 (print_passwd, print_group, print_aliases): Likewise.
32558 * nis/nss-nisplus.h (niserr2nss): Likewise.
32559 * nscd/connections.c (restart_p): Likewise.
32560 Change return type to bool.
32562 2013-02-05 Roland McGrath <roland@hack.frob.com>
32564 * Makeconfig (all-Depend-files): Add existing
32565 $(sorted-subdirs:=/Depend) files.
32566 (all-subdirs): Remove nss.
32567 * sysdeps/unix/inet/Subdirs: Add it here instead.
32568 * hesiod/Depend: New file.
32570 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
32571 instead of calling alloca.
32573 * io/lseek.c (__lseek): Rename to __libc_lseek.
32574 Define __lseek as an alias.
32576 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
32578 2013-02-04 Carlos O'Donell <carlos@redhat.com>
32580 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
32581 else clause and remove check for non-standard endianness.
32583 2013-02-04 David S. Miller <davem@davemloft.net>
32585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32587 2013-02-04 Joseph Myers <joseph@codesourcery.com>
32590 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
32591 (__ubp_memchr): Remove prototype.
32592 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
32593 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32594 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
32595 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32596 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
32598 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
32599 (__ubp_memchr): Likewise.
32600 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
32601 (__ubp_memchr): Likewise.
32602 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
32603 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
32604 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
32605 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
32607 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32608 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
32609 (__getcwd): Do not use CHECK_STRING.
32610 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32612 (__real_chown): Do not use CHECK_STRING.
32613 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
32615 (fchownat): Do not use CHECK_STRING.
32616 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
32618 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32620 (__lchown): Do not use CHECK_STRING.
32621 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32622 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32623 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32624 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
32625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32626 include <bp-checks.h>.
32627 (truncate64): Do not use CHECK_STRING.
32628 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32630 (__real_chown): Do not use CHECK_STRING.
32631 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32633 (__lchown): Do not use CHECK_STRING.
32634 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32636 (__chown): Do not use CHECK_STRING.
32637 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
32639 (truncate64): Do not use CHECK_STRING.
32640 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
32642 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
32643 (__xmknod): Do not use CHECK_STRING.
32644 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32646 (__xmknodat): Do not use CHECK_STRING.
32647 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32648 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
32650 2013-02-04 Andreas Schwab <schwab@suse.de>
32653 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
32654 * include/netdb.h: Likewise for h_errno.
32655 * elf/tst-stackguard1.c: Include <tls.h>.
32657 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
32659 * elf/link.h (struct link_map): Extend the l_addr comment.
32660 * include/link.h (struct link_map): Likewise.
32662 2013-02-01 Joseph Myers <joseph@codesourcery.com>
32665 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
32666 (BOUNDED_1): Remove macro.
32667 * debug/backtrace.c: Don't include <bp-checks.h>.
32668 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
32669 (__backtrace): Likewise.
32670 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
32672 (__backtrace): Don't use BOUNDED_1.
32673 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
32675 (__backtrace): Don't use BOUNDED_1.
32676 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
32677 (__backtrace): Don't use BOUNDED_1.
32678 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
32679 (shmat): Don't use BOUNDED_N.
32681 2013-01-31 Joseph Myers <joseph@codesourcery.com>
32684 * sysdeps/generic/bp-start.h: Remove file.
32685 * csu/libc-start.c: Don't include <bp-start.h>.
32686 (LIBC_START_MAIN): Set up __environ directly instead of using
32687 INIT_ARGV_and_ENVIRON.
32688 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
32692 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
32694 (CHECK_FCNTL): Likewise.
32695 (CHECK_N_PAGES): Likewise.
32698 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
32700 (CHECK_SIGSET_NULL_OK): Likewise.
32701 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
32703 (sigpending): Don't use CHECK_SIGSET.
32704 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
32706 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32707 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
32709 (do_sigsuspend): Don't use CHECK_SIGSET.
32710 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
32712 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
32713 (do_sigwait): Don't use CHECK_SIGSET.
32714 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
32716 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
32717 include <bp-checks.h>.
32718 (sigpending): Don't use CHECK_SIGSET.
32719 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
32720 include <bp-checks.h>.
32721 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32722 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
32724 (sigpending): Don't use CHECK_SIGSET.
32725 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
32727 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32730 * sysdeps/generic/bp-semctl.h: Remove file.
32731 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
32732 <bp-checks.h> and <bp-semctl.h>.
32733 (__old_semctl): Don't use CHECK_SEMCTL.
32734 (__new_semctl): Likewise.
32735 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
32737 (__old_semctl): Don't use CHECK_SEMCTL.
32738 (__new_semctl): Likewise.
32739 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
32740 <bp-checks.h> and <bp-semctl.h>.
32741 (__old_semctl): Don't use CHECK_SEMCTL.
32742 (__new_semctl): Likewise.
32743 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
32744 <bp-checks.h> and <bp-semctl.h>.
32745 (semctl): Don't use CHECK_SEMCTL.
32748 * Makerules (elide-bp-thunks): Remove variable.
32749 (elide-routines.oS): Don't use $(elide-bp-thunks).
32750 (elide-routines.os): Likewise.
32751 (elide-routines.o): Likewise.
32752 (elide-routines.op): Likewise.
32753 (elide-routines.og): Likewise.
32754 (objects): Don't use $(bp-thunks).
32755 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
32757 (common-generated): Do not add s-proto-bp.d.
32758 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
32761 Do not generate makefile rules for bounded-pointer thunks.
32762 * sysdeps/generic/bp-thunks.h: Remove file.
32763 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
32764 * sysdeps/unix/s-proto-bp.S: Likewise.
32767 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32768 parts of result separately when argument is not close to line from
32769 -i to i and one part of argument is small.
32770 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32771 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32772 * math/libm-test.inc (cacos_test): Add more tests.
32773 (casin_test): Likewise.
32774 (casinh_test): Likewise.
32775 * sysdeps/i386/fpu/libm-test-ulps: Update.
32776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32778 2013-01-31 David S. Miller <davem@davemloft.net>
32780 * po/de.po: Update from translation team.
32782 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
32784 * time/tzfile.c: Include stdint.h for SIZE_MAX.
32786 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
32788 * configure.in (_AC_PROG_CC_C89): New definition.
32789 * configure: Regenerate.
32791 * configure.in (AC_PROG_CPP): New definition.
32792 * configure: Regenerate.
32794 2013-01-23 Joseph Myers <joseph@codesourcery.com>
32796 * debug/tst-backtrace.h: New file.
32797 * debug/tst-backtrace2.c: Include tst-backtrace.h.
32798 (ret): Remove variable.
32800 (FAIL): Remove macro.
32801 (NO_INLINE): Likewise.
32802 (fn1): Use match function instead of strstr.
32803 * debug/tst-backtrace3.c: Include tst-backtrace.h.
32804 (ret): Remove variable.
32806 (FAIL): Remove macro.
32807 (NO_INLINE): Likewise.
32808 (fn): Use match function instead of strstr.
32809 * debug/tst-backtrace4.c: Include tst-backtrace.h.
32810 (ret): Remove variable.
32812 (FAIL): Remove macro.
32813 (NO_INLINE): Likewise.
32814 (handle_signal): Use match function instead of strstr.
32815 * debug/tst-backtrace5.c: Include tst-backtrace.h.
32816 (ret): Remove variable.
32818 (FAIL): Remove macro.
32819 (NO_INLINE): Likewise.
32820 (handle_signal): Use match function instead of strstr.
32822 2013-01-23 Roland McGrath <roland@hack.frob.com>
32824 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32826 2013-01-23 David S. Miller <davem@davemloft.net>
32828 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32829 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32830 argument of CAS if possible.
32831 * sysdeps/sparc/sparc64/bits/atomic.h
32832 (__arch_compare_and_exchange_val_32_acq): Likewise.
32833 (__arch_compare_and_exchange_val_64_acq): Likewise.
32835 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
32837 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32838 * sysdeps/posix/ulimit.c: ... this.
32839 Include <limits.h>.
32840 * sysdeps/unix/bsd/ulimit.c: Remove file.
32842 2013-01-23 Adam Conrad <adconrad@0c3.net>
32844 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32845 (LDFLAGS-tst-array5): Likewise.
32847 2013-01-23 Joseph Myers <joseph@codesourcery.com>
32850 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
32851 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
32852 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
32853 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
32855 2013-01-21 David S. Miller <davem@davemloft.net>
32857 * sysdeps/sparc/backtrace.c: New file.
32858 * sysdeps/sparc/sparc32/backtrace.h: New file.
32859 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
32860 * sysdeps/sparc/sparc64/backtrace.h: New file.
32861 * sysdeps/sparc/sparc64/backtrace.c: Delete.
32862 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
32865 2013-01-21 Andreas Schwab <schwab@suse.de>
32868 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
32871 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
32873 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
32875 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32877 2013-01-18 Joseph Myers <joseph@codesourcery.com>
32878 Mark Mitchell <mark@codesourcery.com>
32879 Tom de Vries <tom@codesourcery.com>
32880 Paul Pluzhnikov <ppluzhnikov@google.com>
32882 * debug/tst-backtrace2.c: New file.
32883 * debug/tst-backtrace3.c: Likewise.
32884 * debug/tst-backtrace4.c: Likewise.
32885 * debug/tst-backtrace5.c: Likewise.
32886 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
32887 (CFLAGS-tst-backtrace3.c): Likewise.
32888 (CFLAGS-tst-backtrace4.c): Likewise.
32889 (CFLAGS-tst-backtrace5.c): Likewise.
32890 (LDFLAGS-tst-backtrace2): Likewise.
32891 (LDFLAGS-tst-backtrace3): Likewise.
32892 (LDFLAGS-tst-backtrace4): Likewise.
32893 (LDFLAGS-tst-backtrace5): Likewise.
32894 (tests): Add new tests tst-backtrace2, tst-backtrace3,
32895 tst-backtrace4 and tst-backtrace5.
32897 2013-01-18 Anton Blanchard <anton@samba.org>
32898 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32900 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
32901 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
32902 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
32903 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
32904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32905 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
32906 "+r" and remove output regs list as redundant. Add explicit inline
32907 asm to specify register of return val to work around compiler codegen
32908 bug. Remove (int) cast on return value. Add return type parameter to
32909 use in macro so that this macro does not truncate return value for
32911 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
32912 pass to INTERNAL_VSYSCALL_NCS.
32913 (INLINE_VSYSCALL): Add 'long int' as return type to
32914 INTERNAL_VSYSCALL_NCS macro invocation.
32915 (INTERNAL_VSYSCALL): Add 'long int' as return type to
32916 INTERNAL_VSYSCALL_NCS macro invocation.
32917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32919 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32922 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
32923 Fix application of SIMD FP exception mask.
32925 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
32926 mp_no from a power of two.
32927 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32928 __mpexp_twomm1. Use __pow_mp.
32930 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32933 2013-01-17 David S. Miller <davem@davemloft.net>
32935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32937 2013-01-17 Joseph Myers <joseph@codesourcery.com>
32940 * include/complex.h: Condition contents on [!_COMPLEX_H].
32941 (__kernel_casinhf): New prototype.
32942 (__kernel_casinh): Likewise.
32943 (__kernel_casinhl): Likewise.
32944 * math/Makefile (libm_calls): Add k_casinh.
32945 * math/k_casinh.c: New file.
32946 * math/k_casinhf.c: Likewise.
32947 * math/k_casinhl.c: Likewise.
32948 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32949 finite nonzero arguments.
32950 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32951 finite nonzero arguments.
32952 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32953 finite nonzero arguments.
32954 * math/s_casinh.c: Do not include <float.h>.
32955 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32956 * math/s_casinhf.c: Do not include <float.h>.
32957 (__casinhf): Move code for finite nonzero arguments to
32959 * math/s_casinhl.c: Do not include <float.h>.
32960 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32962 (__casinhl): Move code for finite nonzero arguments to
32964 * math/libm-test.inc (cacos_test): Add more tests.
32965 * sysdeps/i386/fpu/libm-test-ulps: Update.
32966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32968 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
32970 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32971 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32972 [!HAVE_MREMAP]: Remove [defined linux] case.
32973 * malloc/arena.c: Do not include <malloc-sysdep.h>.
32975 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32977 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32979 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
32981 * elf/elf.h (R_386_SIZE32): New relocation.
32982 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32984 (elf_machine_rela): Likewise.
32985 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32986 R_X86_64_SIZE64 and R_X86_64_SIZE32.
32988 2013-01-17 Joseph Myers <joseph@codesourcery.com>
32990 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32991 (FP_FAST_FMA): Do not define.
32992 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32993 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32994 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32995 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32996 !_SOFT_FLOAT]: Likewise.
32997 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32998 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33000 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33001 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33002 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33003 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33004 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33005 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33008 2013-01-16 Andreas Schwab <schwab@suse.de>
33011 * include/stdlib.h (__mktemp): Add declaration.
33012 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33013 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
33015 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33017 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
33019 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33020 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
33021 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
33023 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
33024 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
33026 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
33028 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
33029 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
33030 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
33032 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
33033 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
33035 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33037 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
33039 2013-01-15 David S. Miller <davem@davemloft.net>
33041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33042 trunc{,f} to libm-sysdep_routes.
33043 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33053 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33054 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33055 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33056 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33057 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33058 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33061 nearbyint{,f} to libm-sysdep_routes.
33062 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
33073 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
33075 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
33076 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
33078 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
33079 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33080 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33082 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33083 libc_feholdexcept and libc_fesetenv.
33085 2013-01-15 Mike Frysinger <vapier@gentoo.org>
33087 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33089 2013-01-14 David S. Miller <davem@davemloft.net>
33091 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33092 (SPARC_ASM_VIS2_IFUNC): Likewise.
33093 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33095 use of 'siam' instruction.
33096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33102 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33103 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33104 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33105 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33114 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33115 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33116 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33117 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33124 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33125 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33126 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33127 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33129 routines to libm-sysdep_routines.
33130 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33133 fdim/fdimf to libm-sysdep_routines.
33134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33142 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33143 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33144 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33145 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33147 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33149 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33150 to optimize copies.
33152 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33153 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33154 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33156 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33157 local variable MPTWO.
33158 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33161 2013-01-13 Mike Frysinger <vapier@gentoo.org>
33163 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33166 2013-01-13 Mike Frysinger <vapier@gentoo.org>
33168 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33170 2013-01-13 Mike Frysinger <vapier@gentoo.org>
33172 * manual/pattern.texi (glob_t): Document gl_flags.
33173 (glob64_t): Likewise.
33175 2013-01-11 David S. Miller <davem@davemloft.net>
33177 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33178 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33179 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
33180 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33181 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33182 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33183 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33184 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33185 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33186 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33187 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33188 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33189 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
33191 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33192 sparc V9 rather than using V8 code.
33193 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33194 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33196 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33198 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33201 2013-01-11 Roland McGrath <roland@hack.frob.com>
33203 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33204 not in the main loop.
33205 * configure: Regenerated.
33207 2013-01-11 Joseph Myers <joseph@codesourcery.com>
33209 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33210 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33212 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
33213 [!__GLIBC_HAVE_LONG_LONG] case.
33214 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33215 condition to just #else.
33216 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33217 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33218 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33219 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33221 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33222 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33223 #elif condition to just #else.
33224 * sysdeps/unix/sysv/linux/sys/sysmacros.h
33225 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33226 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33227 #elif condition to just #else.
33229 2013-01-11 Steve Ellcey <sellcey@mips.com>
33231 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33232 (EF_MIPS_ARCH_64): Fix value.
33233 (EF_MIPS_ARCH_32R2): New.
33234 (EF_MIPS_ARCH_64R2): New.
33236 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
33238 * Makeconfig (+link-pie-before-libc): New.
33239 (+link-pie-after-libc): Likewise.
33240 (+link-pie-tests): Likewise.
33241 (+link-pie): Rewritten.
33242 (link-before-libc): Remove $(config-LDFLAGS).
33243 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33244 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33245 (config-LDFLAGS): Renamed to ...
33246 (rtld-LDFLAGS): This.
33247 (rtld-tests-LDFLAGS): New macro.
33248 (link-libc-rpath-link): Likewise.
33249 (link-libc-tests-rpath-link): Likewise.
33250 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33251 (link-libc): Prepand $(link-libc-rpath-link).
33252 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33253 (test-program-prefix): New macro.
33254 (test-via-rtld-prefix): Likewise.
33255 (test-program-cmd): Likewise.
33256 (host-test-program-cmd): Likewise.
33257 * Makefile ($(common-objpfx)testrun.sh): Replace
33258 $(run-program-prefix) with $(test-program-prefix).
33259 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
33261 ($(common-objpfx)shlib.lds): Likewise.
33262 (build-module-helper): Likewise.
33263 ($(common-objpfx)format.lds): Likewise.
33264 * Rules (binaries-pie-tests): New.
33265 (binaries-pie-notests): Likewise.
33266 (binaries-pie): Rewritten.
33267 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
33268 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
33269 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
33270 (make-test-out): Replace $(host-built-program-cmd) with
33271 $(host-test-program-cmd).
33272 * config.make.in (build-hardcoded-path-in-tests): New variable.
33273 * configure.in (--enable-hardcoded-path-in-tests): New configure
33275 (hardcoded_path_in_tests): New AC_SUBST.
33276 * configure: Regenerated.
33277 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
33278 $(built-program-cmd) with $(test-program-cmd).
33279 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
33280 (test_program_cmd): This.
33281 * elf/Makefile ($(objpfx)order.out): Run test with
33282 $(test-program-prefix).
33283 ($(objpfx)order2.out): Likewise.
33284 ($(objpfx)tst-initorder.out): Likewise.
33285 ($(objpfx)tst-initorder2.out): Likewise.
33286 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
33287 $(test-program-cmd).
33288 ($(objpfx)tst-array1-static.out): Likewise.
33289 ($(objpfx)tst-array2.out): Likewise.
33290 ($(objpfx)tst-array3.out): Likewise.
33291 ($(objpfx)tst-array4.out): Likewise.
33292 ($(objpfx)tst-array5.out): Likewise.
33293 ($(objpfx)tst-array5-static.out): Likewise.
33294 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
33295 $(test-program-cmd).
33296 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
33297 $(run-program-prefix) with $(test-program-prefix).
33298 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
33299 (test_program_prefix): This.
33300 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
33301 $(run-program-prefix) with $(test-program-prefix).
33302 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
33303 (test_program_prefix): This.
33304 * iconvdata/tst-tables.sh: Likewise.
33305 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
33306 $(run-program-prefix) with $(test-program-prefix).
33307 ($(objpfx)tst-translit.out): Likewise.
33308 ($(objpfx)tst-gettext2.out): Likewise.
33309 ($(objpfx)tst-gettext4.out): Likewise.
33310 ($(objpfx)tst-gettext6.out): Likewise.
33311 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
33312 (test_program_prefix): This.
33313 * intl/tst-gettext2.sh: Likewise.
33314 * intl/tst-gettext4.sh Likewise.
33315 * intl/tst-gettext6.sh: Likewise.
33316 * intl/tst-translit.sh: Likewise.
33317 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
33318 with $(test-program-cmd).
33319 * libio/Makefile ($(objpfx)test-freopen.out): Replace
33320 $(run-program-prefix) with $(test-program-prefix).
33321 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
33322 (test_program_prefix): This.
33323 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
33324 $(run-program-prefix) with $(test-program-prefix).
33325 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
33326 (test_program_prefix): This.
33327 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
33328 * posix/Makefile ($(objpfx)globtest.out): Replace
33329 $(run-via-rtld-prefix) and $(test-wrapper) with
33330 $(test-program-prefix) and $(test-via-rtld-prefix).
33331 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
33332 $(test-program-prefix).
33333 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
33334 $(host-test-program-cmd).
33335 (tst-spawn-ARGS): Likewise.
33336 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
33337 $(test-program-prefix).
33338 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
33339 (test_via_rtld_prefix): This.
33340 (test_wrapper): Renamed to ...
33341 (test_program_prefix): This.
33342 (run_program_prefix): Replaced by test_program_prefix.
33343 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
33344 (test_program_prefix): This.
33345 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
33346 with $(host-test-program-cmd).
33347 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
33348 $(run-program-prefix) with $(test-program-prefix).
33349 ($(objpfx)tst-printf.out): Likewise.
33350 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
33351 $(test-program-cmd).
33352 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
33353 (test_program_prefix): This.
33354 * stdio-common/tst-unbputc.sh: Likewise.
33355 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
33356 $(run-program-prefix) with $(test-program-prefix).
33357 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
33358 (test_program_prefix): This.
33359 * string/Makefile ($(objpfx)tst-svc.out): Replace
33360 $(built-program-cmd) with $(test-program-cmd).
33362 2013-01-11 Andreas Jaeger <aj@suse.de>
33365 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
33366 value. Sync with Linux 3.7.
33368 2013-01-10 David S. Miller <davem@davemloft.net>
33370 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
33371 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33372 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33374 2013-01-10 Roland McGrath <roland@hack.frob.com>
33376 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
33378 * configure: Regenerated.
33380 2013-01-10 David S. Miller <davem@davemloft.net>
33382 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33383 sparc V9 rather than using V8 code.
33384 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33385 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33387 2013-01-10 Roland McGrath <roland@hack.frob.com>
33389 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
33390 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
33391 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
33392 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
33393 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
33394 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
33395 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
33396 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
33397 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
33398 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
33399 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
33400 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
33401 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
33402 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
33403 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
33404 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
33405 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
33406 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
33407 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
33408 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
33409 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
33410 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
33411 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
33412 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
33413 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
33414 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
33415 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
33417 2013-01-10 David S. Miller <davem@davemloft.net>
33419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33421 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33423 * posix/Makefile (tests-static): New variable.
33424 (tests): Add $(tests-static).
33425 (tst-exec-static-ARGS): New variable.
33426 (tst-spawn-static-ARGS): Likewise.
33427 * posix/tst-exec-static.c: New file.
33428 * posix/tst-spawn-static.c: Likewise.
33429 * posix/tst-exec.c: Support run directly.
33430 * posix/tst-spawn.c: Likewise.
33432 2013-01-10 Joseph Myers <joseph@codesourcery.com>
33434 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
33436 * math/bits/mathcalls.h (llrint): Likewise.
33437 (llround): Likewise.
33438 * stdlib/stdlib.h (struct drand48_data): Likewise.
33439 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
33440 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
33441 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
33443 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
33445 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
33446 (elf_greg_t): Likewise.
33447 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
33448 (__jmp_buf): Likewise.
33449 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
33451 (llrint): Likewise, for all definitions.
33452 (llrintl): Likewise.
33454 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
33455 Remove [__GNUC__] condition.
33456 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
33457 condition to just [__USE_ISOC99].
33458 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
33460 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33463 * sysdeps/unix/sysv/linux/x86/bits/environments.h
33464 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
33466 (_POSIX_V6_ILP32_OFF32): Likewise.
33467 (_XBS5_ILP32_OFF32): Likewise.
33468 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
33469 (__ILP32_OFFBIG_LDFLAGS): Likewise.
33471 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33473 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
33475 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
33476 doubles __mpexp_twomm1. Adjust usage.
33477 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
33480 2013-01-10 Andreas Schwab <schwab@suse.de>
33483 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
33484 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
33486 2013-01-09 David S. Miller <davem@davemloft.net>
33489 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
33490 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
33491 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
33492 (TCP_FASTOPEN): Define.
33493 (tcp_repair_opt): New structure.
33494 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
33496 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
33497 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
33498 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
33499 (tcp_cookie_transactions): New structure.
33501 2013-01-09 Anton Blanchard <anton@samba.org>
33503 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
33504 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
33505 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
33506 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
33508 2013-01-09 Joseph Myers <joseph@codesourcery.com>
33510 * include/features.h (__USE_ANSI): Remove.
33512 2013-01-09 Roland McGrath <roland@hack.frob.com>
33514 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
33516 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
33518 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
33520 * sysdeps/s390/fpu/libm-test-ulps: Update.
33522 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33524 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
33528 (denorm): Likewise.
33529 (__mp_dbl): Likewise.
33530 (__dbl_mp): Likewise.
33531 (add_magnitudes): Likewise.
33532 (sub_magnitudes): Likewise.
33538 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
33542 (denorm): Likewise.
33543 (__mp_dbl): Likewise.
33544 (__dbl_mp): Likewise.
33545 (add_magnitudes): Likewise.
33546 (sub_magnitudes): Likewise.
33552 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
33556 (denorm): Likewise.
33557 (__mp_dbl): Likewise.
33558 (__dbl_mp): Likewise.
33559 (add_magnitudes): Likewise.
33560 (sub_magnitudes): Likewise.
33567 2013-01-08 Joseph Myers <joseph@codesourcery.com>
33569 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
33570 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
33571 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
33572 2 && __USE_EXTERN_INLINES]: Likewise.
33574 2013-01-08 Andreas Jaeger <aj@suse.de>
33577 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
33579 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33580 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33582 2013-01-07 Anton Blanchard <anton@samba.org>
33584 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
33585 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33586 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
33587 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33588 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33589 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33590 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
33591 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33592 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33593 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33594 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33595 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33596 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33597 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33598 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
33599 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33600 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33601 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33602 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
33603 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33604 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
33605 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
33606 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33607 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
33608 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
33609 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33610 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33611 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33612 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
33613 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33614 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
33615 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33616 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33617 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33618 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33619 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33620 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33621 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33622 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
33623 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33624 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
33625 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33626 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33628 2013-01-07 Joseph Myers <joseph@codesourcery.com>
33630 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
33631 (__MALLOC_PMT): Likewise.
33632 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
33633 [__GNUC__], only on [_LIBC].
33634 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33635 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
33636 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33637 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
33638 forward declaration.
33639 (realloc_hook_ini): Likewise.
33640 (memalign_hook_ini): Likewise.
33641 (__libc_memalign): Do not use __MALLOC_PMT in variable
33643 (__libc_valloc): Likewise.
33644 (__libc_pvalloc): Likewise.
33645 (__libc_calloc): Likewise.
33646 (__posix_memalign): Likewise.
33649 * math/s_casinh.c: Include <float.h>.
33650 (__casinh): Do not do computation with squaring and square root
33651 for large arguments.
33652 * math/s_casinhf.c: Include <float.h>.
33653 (__casinhf): Do not do computation with squaring and square root
33654 for large arguments.
33655 * math/s_casinhl.c: Include <float.h>.
33656 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
33657 (__casinhl): Do not do computation with squaring and square root
33658 for large arguments.
33659 * math/libm-test.inc (casin_test): Add more tests.
33660 (casinh_test): Likewise.
33661 * sysdeps/i386/fpu/libm-test-ulps: Update.
33662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33664 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
33666 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
33667 (__x86_64_raw_data_cache_size): Likewise.
33668 (__x86_64_data_cache_size_half): Likewise.
33669 (__x86_64_raw_data_cache_size_half): Likewise.
33670 (__x86_64_shared_cache_size): Likewise.
33671 (__x86_64_raw_shared_cache_size): Likewise.
33672 (__x86_64_shared_cache_size_half): Likewise.
33673 (__x86_64_raw_shared_cache_size_half): Likewise.
33674 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
33676 (__x86_data_cache_size): This.
33677 (__x86_64_raw_data_cache_size): Renamed to ...
33678 (__x86_raw_data_cache_size): This.
33679 (__x86_64_data_cache_size_half): Renamed to ...
33680 (__x86_data_cache_size_half): This.
33681 (__x86_64_raw_data_cache_size_half): Renamed to ...
33682 (__x86_raw_data_cache_size_half): This.
33683 (__x86_64_shared_cache_size): Renamed to ...
33684 (__x86_shared_cache_size): This.
33685 (__x86_64_raw_shared_cache_size): Renamed to ...
33686 (__x86_raw_shared_cache_size): This.
33687 (__x86_64_shared_cache_size_half): Renamed to ...
33688 (__x86_shared_cache_size_half): This.
33689 (__x86_64_raw_shared_cache_size_half): Renamed to ...
33690 (__x86_raw_shared_cache_size_half): This.
33691 * sysdeps/x86_64/memcpy.S: Updated.
33692 * sysdeps/x86_64/memset.S: Likewise.
33693 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33694 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33695 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33697 2013-01-04 David S. Miller <davem@davemloft.net>
33699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33701 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
33703 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
33704 1 to avoid redefinition warning.
33705 (__USE_GNU): Don't define.
33706 (init_signaling_nan): Protoize.
33708 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33710 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33712 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
33713 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
33714 (__cpymn): Likewise.
33715 (norm): Remove commented code.
33716 (denorm): Likewise.
33717 (__mp_dbl): Likewise.
33719 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
33720 (__cpymn): Likewise.
33721 (norm): Remove commented code.
33722 (denorm): Likewise.
33723 (__mp_dbl): Likewise.
33726 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
33727 mp_no value for 1.0 and 2.0.
33728 (norm): Use RADIXI instead of radixi.d.
33729 (denorm): Likewise.
33730 (__mul): Use 0.0 instead of zero.d.
33731 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
33732 mp_no value for 1.0 and 2.0.
33733 (norm): Use RADIXI instead of radixi.d.
33734 (denorm): Likewise.
33735 (__mul): Use 0.0 instead of zero.d.
33737 2013-01-04 Joseph Myers <joseph@codesourcery.com>
33740 * math/s_casinh.c (__casinh): Reduce finite argument to first
33741 quadrant then set signs of results at the end.
33742 * math/s_casinhf.c (__casinhf): Likewise.
33743 * math/s_casinhl.c (__casinhl): Likewise.
33744 * math/libm-test.inc (casin_test): Add more tests.
33745 (casinh_test): Likewise.
33746 * sysdeps/i386/fpu/libm-test-ulps: Update.
33747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33749 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33751 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
33753 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
33755 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
33757 (denorm): Likewise.
33758 (__mp_dbl): Likewise.
33761 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
33762 and adjust the header comment.
33764 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
33765 variable name from declaration.
33767 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
33769 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33770 Initialize COMMON_CPUID_INDEX_7 element.
33771 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33772 (CPUID_RTM): Likewise.
33773 (HAS_RTM): Likewise.
33774 (COMMON_CPUID_INDEX_7): New enum.
33776 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
33779 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33780 size is zero, record memory as freed.
33782 2013-01-03 Andreas Jaeger <aj@suse.de>
33784 * po/ia.po: Add new Interlingua translation.
33786 2012-01-03 Allan McRae <allan@archlinux.org>
33788 * locale/programs/localedef.c: Fix description of '--posix' flag.
33790 2013-01-02 Joseph Myers <joseph@codesourcery.com>
33792 * NEWS: Update dates in second copyright notice.
33793 * README: Update copyright dates in example.
33794 * manual/libc.texinfo: Update copyright dates.
33795 * scripts/test-installation.pl: Update copyright date in --version
33798 * hurd/ctty-input.c: Fix copyright notice formatting.
33799 * hurd/ctty-output.c: Likewise.
33800 * hurd/dtable.c: Likewise.
33801 * hurd/hurd-raise.c: Likewise.
33802 * hurd/hurdprio.c: Likewise.
33803 * hurd/msgportdemux.c: Likewise.
33804 * misc/sys/file.h: Likewise.
33805 * misc/sys/ioctl.h: Likewise.
33806 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33807 * sysdeps/mach/hurd/chdir.c: Likewise.
33808 * sysdeps/mach/hurd/fchdir.c: Likewise.
33809 * sysdeps/mach/hurd/rename.c: Likewise.
33810 * sysdeps/mach/hurd/rmdir.c: Likewise.
33811 * sysdeps/mach/hurd/seekdir.c: Likewise.
33812 * sysdeps/mach/hurd/setsid.c: Likewise.
33813 * sysdeps/posix/wait3.c: Likewise.
33815 * All files with FSF copyright notices: Update copyright dates
33816 using scripts/update-copyrights.
33817 * intl/plural.c: Regenerated.
33818 * locale/programs/charmap-kw.h: Likewise.
33819 * locale/programs/locfile-kw.h: Likewise.
33821 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33823 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33826 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33827 calculation loop and add branch prediction.
33829 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33830 check access beyond bounds of m1np.
33832 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33834 (__inv): Remove local variable MPTWO to use the global
33836 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33837 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33839 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33840 MP3HALFS static const.
33842 2013-01-01 David S. Miller <davem@davemloft.net>
33844 * po/ca.po: Update from translation team.
33846 2013-01-01 Joseph Myers <joseph@codesourcery.com>
33848 * scripts/update-copyrights: New file.
33849 * Makeconfig: Reformat copyright notice.
33850 * ctype/ctype.h: Likewise.
33851 * debug/swprintf_chk.c: Likewise.
33852 * elf/dl-cache.c: Likewise.
33853 * elf/dl-debug.c: Likewise.
33854 * elf/dl-object.c: Likewise.
33855 * grp/initgroups.c: Likewise.
33856 * hurd/Makefile: Likewise.
33857 * hurd/hurd/signal.h: Likewise.
33858 * hurd/hurdfault.c: Likewise.
33859 * hurd/hurdioctl.c: Likewise.
33860 * hurd/hurdlookup.c: Likewise.
33861 * hurd/intr-msg.c: Likewise.
33862 * iconv/gconv_open.c: Likewise.
33863 * libio/swprintf.c: Likewise.
33864 * locale/lc-ctype.c: Likewise.
33865 * locale/nl_langinfo.c: Likewise.
33866 * mach/Machrules: Likewise.
33867 * mach/Makefile: Likewise.
33868 * malloc/obstack.h: Likewise.
33869 * manual/Makefile: Likewise.
33870 * manual/tsort.awk: Likewise.
33871 * misc/bits/stab.def: Likewise.
33872 * nis/nis_print_group_entry.c: Likewise.
33873 * nis/nis_table.c: Likewise.
33874 * nis/nss_compat/compat-pwd.c: Likewise.
33875 * nis/nss_compat/compat-spwd.c: Likewise.
33876 * po/Makefile: Likewise.
33877 * posix/fnmatch.c: Likewise.
33878 * posix/regex.h: Likewise.
33879 * resolv/Makefile: Likewise.
33880 * resolv/nss_dns/dns-network.c: Likewise.
33881 * resolv/res_hconf.c: Likewise.
33882 * scripts/gen-sorted.awk: Likewise.
33883 * soft-fp/soft-fp.h: Likewise.
33884 * stdio-common/printf.h: Likewise.
33885 * stdlib/monetary.h: Likewise.
33886 * stdlib/random.c: Likewise.
33887 * stdlib/random_r.c: Likewise.
33888 * sysdeps/generic/Makefile: Likewise.
33889 * sysdeps/gnu/Makefile: Likewise.
33890 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33891 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33892 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33893 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33894 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33895 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33896 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33897 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33898 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33899 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33900 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33901 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33902 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33903 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33904 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
33905 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33906 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33907 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33908 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33909 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33910 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33911 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33912 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33913 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33914 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
33915 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33916 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33917 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
33918 * sysdeps/mach/hurd/errnos.awk: Likewise.
33919 * sysdeps/mach/hurd/fork.c: Likewise.
33920 * sysdeps/mach/hurd/getcwd.c: Likewise.
33921 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
33922 * sysdeps/mach/hurd/mmap.c: Likewise.
33923 * sysdeps/mach/hurd/utimes.c: Likewise.
33924 * sysdeps/mach/hurd/xmknod.c: Likewise.
33925 * sysdeps/posix/profil.c: Likewise.
33926 * sysdeps/posix/readdir_r.c: Likewise.
33927 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33928 * sysdeps/powerpc/bits/setjmp.h: Likewise.
33929 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
33930 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33931 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33932 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33933 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33934 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33935 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33936 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33937 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33938 * sysdeps/pthread/lio_listio.c: Likewise.
33939 * sysdeps/sparc/dl-procinfo.h: Likewise.
33940 * sysdeps/unix/i386/sysdep.S: Likewise.
33941 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33942 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33943 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33944 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33946 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33947 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33948 * sysdeps/unix/sysv/linux/speed.c: Likewise.
33949 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33950 * sysdeps/wordsize-32/divdi3.c: Likewise.
33951 * time/sys/time.h: Likewise.
33952 * wcsmbs/Makefile: Likewise.
33954 2013-01-01 David S. Miller <davem@davemloft.net>
33956 * po/fr.po: Update from translation team.
33958 * catgets/gencat.c: Update copyright year.
33959 * csu/version.c: Likewise.
33960 * debug/catchsegv.sh: Likewise.
33961 * debug/pcprofiledump.c: Likewise.
33962 * debug/xtrace.sh: Likewise.
33963 * elf/ldconfig.c: Likewise.
33964 * elf/ldd.bash.in: Likewise.
33965 * elf/pldd.c: Likewise.
33966 * elf/sotruss.ksh: Likewise.
33967 * elf/sprof.c: Likewise.
33968 * iconv/iconv_prog.c: Likewise.
33969 * iconv/iconvconfig.c: Likewise.
33970 * locale/programs/locale.c: Likewise.
33971 * locale/programs/localedef.c: Likewise.
33972 * login/programs/pt_chown.c: Likewise.
33973 * malloc/memusage.sh: Likewise.
33974 * malloc/memusagestat.c: Likewise.
33975 * malloc/mtrace.pl: Likewise.
33976 * nscd/nscd.c: Likewise.
33977 * nss/getent.c: Likewise.
33978 * nss/makedb.c: Likewise.
33979 * posix/getconf.c: Likewise.
33981 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33983 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33986 2012-12-30 Mike Frysinger <vapier@gentoo.org>
33988 * math/bits/mathcalls.h (modf): Use __nonnull.
33990 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33992 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33993 (split): Use macro CN instead of the bare value.
33994 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33996 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33997 instead of the bare value.
33998 (power1): Likewise.
34000 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34002 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34004 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34006 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34008 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34009 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34010 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34011 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34013 2012-12-28 Andreas Jaeger <aj@suse.de>
34015 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
34016 values are from Linux 3.7.
34018 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
34019 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
34021 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34023 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
34026 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
34028 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
34029 variables with preprocessor constants.
34030 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34031 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34032 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34034 2012-12-27 Bruno Haible <bruno@clisp.org>
34037 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
34040 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34042 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
34043 and use variable directly.
34044 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34046 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34048 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34049 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34051 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34052 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34053 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34054 include directive. Remove local variable MPONE.
34055 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34056 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34057 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34059 2012-12-25 David S. Miller <davem@davemloft.net>
34061 * version.h (RELEASE): Set to "development".
34062 (VERSION): Set to "2.17.90".
34063 * NEWS: Add 2.18 section.
34065 2012-12-21 David S. Miller <davem@davemloft.net>
34067 * po/hr.po: Update from translation team.
34069 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34071 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34073 2012-12-19 Steve Ellcey <sellcey@mips.com>
34075 * NEWS: Mention new memcpy for MIPS.
34077 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34079 * manual/contrib.texi (Contributors): Spelling correction.
34081 2012-12-15 David S. Miller <davem@davemloft.net>
34083 * po/ru.po: Update from translation team.
34085 2012-12-13 David S. Miller <davem@davemloft.net>
34087 * NEWS: Mention IFUNC testsuite enhancements.
34089 * po/pl.po: Update from translation team.
34090 * po/bg.po: Likewise.
34092 * manual/contrib.texi (Contributors): Update entries for Hongjiu
34093 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
34095 2012-12-11 David S. Miller <davem@davemloft.net>
34097 * po/sv.po: Update from translation team.
34099 * po/vi.po: Update from translation team.
34101 * po/cs.po: Update from translation team.
34103 * po/de.po: Update from translation team.
34104 * po/eo.po: Likewise.
34105 * po/nl.po: Likewise.
34107 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34110 * manual/argp.texi (Argp Helper Functions): Move node to follow
34111 Argp Parsing State.
34114 * manual/conf.texi (Limits on File System Capacity): Mention if
34115 terminating null is included in the max size.
34117 2012-12-10 Andreas Jaeger <aj@suse.de>
34119 * po/cs.po: Update from translation team.
34121 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34123 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34124 void pointer and cast to uintptr_t.
34125 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34127 * sysdeps/s390/s390-64/memcpy.S: Likewise.
34128 * sysdeps/s390/s390-64/memset.S: Likewise.
34130 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
34133 * menual/message.texi (Message Translation): Fix typos.
34134 (Helper programs for gettext): Likewise.
34136 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
34139 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34142 2012-12-07 David S. Miller <davem@davemloft.net>
34144 * po/libc.pot: Update.
34146 2012-12-07 Richard Henderson <rth@redhat.com>
34149 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34150 normal/normal case to before the switch.
34151 (_FP_DIV): Likewise.
34153 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
34154 Mike Frysinger <vapier@gentoo.org>
34156 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34157 check for __NR_fadvise64_64.
34159 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
34161 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
34162 0, not just to plain "0" as a statement.
34163 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34166 2012-12-06 Joseph Myers <joseph@codesourcery.com>
34168 * NEWS: Use sourceware.org in Bugzilla URL.
34170 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34173 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34175 * stdio-common/tst-put-error.c (do_test): Add newline to the
34176 padded test to ensure flush.
34178 2012-12-05 Jeff Law <law@redhat.com>
34180 * sunrpc/etc.rpc (fedfs_admin): Add entry.
34182 2012-12-05 Joseph Myers <joseph@codesourcery.com>
34184 * README: Don't refer to ports add-on as distributed separately.
34185 Mention AArch64 in list of systems supported in the ports add-on.
34187 * LICENSES: Add more non-FSF copyright and license notices.
34189 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34192 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34194 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34195 10000 as width of padded output.
34197 2012-12-04 Joseph Myers <joseph@codesourcery.com>
34199 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34201 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34202 variable LX with __attribute__ ((unused)).
34203 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34205 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34206 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34207 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34208 with __attribute__ ((unused)).
34210 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
34212 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34214 2012-12-04 Joseph Myers <joseph@codesourcery.com>
34216 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34217 (CFLAGS-nldbl-acos.c): New variable.
34218 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34219 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34220 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34221 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34222 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34223 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34224 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34225 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34226 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34227 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34228 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34229 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34230 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34231 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34232 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34233 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34234 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34235 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34236 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34237 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34238 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34239 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34240 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34241 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34242 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34243 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34244 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34245 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34246 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34247 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34248 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34249 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34250 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34251 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34252 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34253 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34254 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34255 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
34256 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
34257 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
34258 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
34259 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
34260 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
34261 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
34262 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
34263 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
34264 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
34265 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
34266 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
34267 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
34268 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
34269 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
34270 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
34271 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
34272 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
34273 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
34274 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
34275 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
34276 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
34277 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
34278 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
34279 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
34280 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
34281 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
34282 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
34283 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
34284 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
34285 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
34286 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
34287 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
34288 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
34289 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
34290 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
34291 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
34292 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
34293 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
34294 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
34295 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
34296 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
34297 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
34298 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
34299 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
34300 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
34301 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
34302 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
34303 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
34304 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
34305 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
34306 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
34307 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
34308 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
34309 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
34310 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
34311 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
34312 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
34313 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
34314 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
34316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34317 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34320 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
34321 whole low double instead of just low 47 bits when splitting values
34324 2012-12-03 Allan McRae <allan@archlinux.org>
34326 * manual/stdio.texi (Predefined Printf Handlers): Remove
34327 @hsep and @vsep usage.
34329 2012-12-03 Mike Frysinger <vapier@gentoo.org>
34331 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
34332 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
34334 2012-12-03 Jeff Law <law@redhat.com>
34336 * time/sys/time.h (settimeofday): Do not mark TV argument
34339 2012-12-01 Mike Frysinger <vapier@gentoo.org>
34341 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
34342 when currently writing and seek to current position when not.
34343 * libio/Makefile (tests): Remove bug-fclose1.
34344 * libio/bug-fclose1.c: Delete.
34346 2012-12-01 Joseph Myers <joseph@codesourcery.com>
34348 * manual/arith.texi (feenableexcept): Fix typo.
34349 (fedisableexcept): Likewise.
34351 2012-11-30 Roland McGrath <roland@hack.frob.com>
34353 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
34354 second, differently-typed declaration, rather than a cast.
34356 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34358 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
34359 * include/rpc/svc.h: ... here.
34361 2012-11-30 Aurelien Jarno <aurel32@debian.org>
34364 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
34365 depending n and resplen2 to catch cases where answer
34368 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
34370 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
34371 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
34373 2012-11-29 Mike Frysinger <vapier@gentoo.org>
34375 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
34377 2012-11-29 Roland McGrath <roland@hack.frob.com>
34379 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
34381 2012-11-28 Jeff Law <law@redhat.com>
34384 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
34385 dataset_temporary. Track alloca usage into alloca_used.
34386 If dataset is large allocate and release it via malloc/free.
34388 2012-06-04 Florian Weimer <fweimer@redhat.com>
34391 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
34393 2012-11-28 David S. Miller <davem@davemloft.net>
34395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34397 2012-11-28 Joseph Myers <joseph@codesourcery.com>
34400 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
34401 of pi/2 rounded to nearest to 64 bits.
34402 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
34403 nearest to 64 bits.
34404 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
34407 2012-11-28 Jeff Law <law@redhat.com>
34408 Martin Osvald <mosvald@redhat.com>
34411 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
34412 * sunrpc/svc.c: Include time.h.
34413 (__svc_accept_failed): New function.
34414 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
34415 any reason other than EINTR, call __svc_accept_failed.
34416 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
34417 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
34419 2012-11-28 Andreas Schwab <schwab@suse.de>
34421 * scripts/abilist.awk: Also handle indirect functions in .opd
34424 2012-11-28 Joseph Myers <joseph@codesourcery.com>
34427 * sysdeps/x86/fpu/powl_helper.c: New file.
34428 * sysdeps/x86/fpu/Makefile: Likewise.
34429 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
34431 (__ieee754_powl): Use __powl_helper for finite arguments except
34432 integer exponents below 8.
34433 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
34435 (__ieee754_powl): Use __powl_helper for finite arguments except
34436 integer exponents below 8.
34437 * math/libm-test.inc (pow_test): Add more tests and enable some
34438 previously disabled tests.
34439 * sysdeps/i386/fpu/libm-test-ulps: Update.
34440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34442 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34443 Carlos O'Donell <carlos_odonell@mentor.com>
34445 * nss/makedb.c (is_prime): Assert that input is odd and greater
34446 than 4. Note that fact in a comment too.
34447 (next_prime): Add 4 to input.
34449 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34452 * libio/Makefile (tests): Add test case tst-fwrite-error.
34453 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
34454 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
34455 * libio/tst-fwrite-error.c: New test case.
34457 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
34459 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
34460 before casting to void *.
34461 * include/libc-internal.h (__pointer_type): New macro.
34462 (__integer_if_pointer_type_sub): Likewise.
34463 (__integer_if_pointer_type): Likewise.
34464 (cast_to_integer): Likewise.
34465 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
34466 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
34467 before casting to atomic64_t.
34468 (atomic_exchange_acq): Likewise.
34469 (__arch_exchange_and_add_body): Likewise.
34470 (__arch_add_body): Likewise.
34471 (atomic_add_negative): Likewise.
34472 (atomic_add_zero): Likewise.
34474 2012-11-26 Joseph Myers <joseph@codesourcery.com>
34476 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
34477 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
34478 (add_fdes): Likewise.
34479 (linear_search_fdes): Likewise.
34480 (binary_search_unencoded_fdes): Likewise.
34482 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
34484 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
34486 2012-11-24 Adam Conrad <adconrad@0c3.net>
34488 * configure.in: Autodetect C++ header directories.
34489 * configure: Regenerated.
34491 2012-11-23 Mike Frysinger <vapier@gentoo.org>
34493 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
34495 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
34497 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34499 2012-11-22 Joseph Myers <joseph@codesourcery.com>
34501 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
34502 LDBL_MANT_DIG == 106]: Disable some tests.
34503 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34505 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34509 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
34510 input for small inputs. Return +/- pi/2 for large inputs.
34511 * math/libm-test.inc (atan_test): Add more tests.
34513 * sysdeps/generic/unwind-dw2-fde-glibc.c
34514 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
34515 __attribute__ ((unused)).
34518 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
34519 x * y if x and y are nonzero and z is zero.
34522 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
34523 nonzero exponents with absolute value below 0x1p-117 to +/-
34527 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
34528 up arguments below 2**-450, not just those below 2**-500.
34529 * math/libm-test.inc (hypot_test): Add another test.
34532 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
34533 Return a+b for ratio over 2**120, not 2**60.
34534 * math/libm-test.inc (hypot_test): Add another test.
34536 * math/libm-test.inc (clog_test): Use
34537 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
34538 (clog10_test): Likewise.
34541 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
34543 2012-11-22 Andreas Schwab <schwab@suse.de>
34545 * sysdeps/i386/fpu/libm-test-ulps: Update.
34547 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
34549 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
34550 printf output with newline.
34552 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
34555 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
34556 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
34557 -z nodlopen, -z initfirst and -z execstack support.
34558 * configure: Regenerated.
34560 * elf/elf.h (DF_1_NODIRECT): New macro.
34561 (DF_1_IGNMULDEF): Likewise.
34562 (DF_1_NOKSYMS): Likewise.
34563 (DF_1_NOHDR): Likewise.
34564 (DF_1_EDITED): Likewise.
34565 (DF_1_NORELOC): Likewise.
34566 (DF_1_SYMINTPOSE): Likewise.
34567 (DF_1_GLOBAUDIT): Likewise.
34568 (DF_1_SINGLETON): Likewise.
34569 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
34570 DT_1_SUPPORTED_MASK bits.
34571 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
34573 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
34575 * sysdeps/unix/make-syscalls.sh: Document prefixes.
34577 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
34579 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
34582 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
34583 (sendmmsg): Move declarations...
34584 * socket/sys/socket.h: ... here.
34585 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
34586 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
34588 * socket/recvmmsg.c: ... this new file.
34589 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
34590 (sendmmsg): Rename to __sendmmsg, create weak alias and make
34591 definition of __sendmmsg hidden.
34592 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34593 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
34594 Move ENOSYS stub into and include it from...
34595 * socket/sendmmsg.c: ... this new file.
34596 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
34597 (sysdep_routines): Move recvmmsg and sendmmsg...
34598 * socket/Makefile (routines): ... here.
34599 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
34600 (GLIBC_PRIVATE): Add __sendmmsg.
34601 * include/sys/socket.h (__sendmmsg): Add declarations.
34602 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
34605 2012-11-20 Joseph Myers <joseph@codesourcery.com>
34607 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
34608 variable I1 with __attribute__ ((unused)).
34609 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34611 2012-11-19 Joseph Myers <joseph@codesourcery.com>
34613 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
34614 DUMMY variables with __attribute__ ((unused)).
34616 * bits/byteswap.h: Include <bits/types.h>.
34617 (__bswap_64): Use __uint64_t instead of unsigned long long int.
34619 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34621 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
34622 string_t. Do not manually set errno.
34623 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
34624 length with __strnlen. Make sure to both set errno and return it on
34627 2012-11-19 David S. Miller <davem@davemloft.net>
34629 With help from Joseph Myers.
34630 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
34631 very large arguments properly.
34632 * math/libm-test.inc (atan_test): New tests.
34633 (atan2_test): New tests.
34634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34635 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34637 2012-11-19 Joseph Myers <joseph@codesourcery.com>
34640 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
34643 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
34644 [POSIX] (EADDRNOTAVAIL): Likewise.
34645 [POSIX] (EAFNOSUPPORT): Likewise.
34646 [POSIX] (EALREADY): Likewise.
34647 [POSIX] (ECONNABORTED): Likewise.
34648 [POSIX] (ECONNREFUSED): Likewise.
34649 [POSIX] (ECONNRESET): Likewise.
34650 [POSIX] (EDESTADDRREQ): Likewise.
34651 [POSIX] (EDQUOT): Likewise.
34652 [POSIX] (EHOSTUNREACH): Likewise.
34653 [POSIX] (EIDRM): Likewise.
34654 [POSIX] (EISCONN): Likewise.
34655 [POSIX] (ELOOP): Likewise.
34656 [POSIX] (EMULTIHOP): Likewise.
34657 [POSIX] (ENETDOWN): Likewise.
34658 [POSIX] (ENETUNREACH): Likewise.
34659 [POSIX] (ENOBUFS): Likewise.
34660 [POSIX] (ENODATA): Likewise.
34661 [POSIX] (ENOLINK): Likewise.
34662 [POSIX] (ENOMSG): Likewise.
34663 [POSIX] (ENOPROTOOPT): Likewise.
34664 [POSIX] (ENOSR): Likewise.
34665 [POSIX] (ENOSTR): Likewise.
34666 [POSIX] (ENOTCONN): Likewise.
34667 [POSIX] (ENOTSOCK): Likewise.
34668 [POSIX] (EOPNOTSUPP): Likewise.
34669 [POSIX] (EOVERFLOW): Likewise.
34670 [POSIX] (EPROTO): Likewise.
34671 [POSIX] (EPROTONOSUPPORT): Likewise.
34672 [POSIX] (EPROTOTYPE): Likewise.
34673 [POSIX] (ESTALE): Likewise.
34674 [POSIX] (ETIME): Likewise.
34675 [POSIX] (ETXTBSY): Likewise.
34676 [POSIX] (EWOULDBLOCK): Likewise.
34677 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
34678 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
34679 [POSIX] (SEEK_CUR): Likewise.
34680 [POSIX] (SEEK_END): Likewise.
34681 [POSIX || UNIX98] (mode_t): Do not require.
34682 [POSIX] (off_t): Likewise.
34683 [POSIX] (pid_t): Likewise.
34684 [POSIX] (sys/stat.h): Do not allow header.
34685 [POSIX] (unistd.h): Likewise.
34686 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
34687 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
34688 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
34689 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
34691 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
34692 sigevent): Specify elements.
34693 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
34695 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
34696 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
34698 * conform/data/cpio.h-data [POSIX]: Disable whole file.
34699 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
34700 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
34701 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
34702 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
34703 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
34704 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
34705 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
34706 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
34707 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
34708 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
34709 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
34710 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
34711 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
34713 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
34715 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
34717 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
34719 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
34720 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
34721 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
34722 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
34723 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
34724 Specify lower bound on value.
34725 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
34726 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
34727 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
34728 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
34729 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
34730 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
34731 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
34732 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
34734 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
34736 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
34737 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
34738 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
34739 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
34740 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
34741 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
34742 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
34743 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
34744 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
34745 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
34746 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
34747 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
34748 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
34749 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
34750 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
34751 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
34753 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
34755 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
34756 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
34757 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
34758 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
34759 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
34760 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
34762 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
34763 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
34764 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
34765 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
34766 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
34767 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34768 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34770 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34771 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34772 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34773 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34774 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34775 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34776 specify as optional.
34777 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34778 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34779 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34780 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34781 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34782 [XPG3] (NL_LANGMAX): Likewise.
34783 [POSIX || XPG3] (NL_MSGMAX): Likewise.
34784 [POSIX || XPG3] (NL_NMAX): Likewise.
34785 [POSIX || XPG3] (NL_SETMAX): Likewise.
34786 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34787 [XPG3] (NZERO): Likewise.
34788 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34789 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34790 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34791 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34792 (REG_ERANGE): Expect.
34793 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34795 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34796 Use (void) in prototype.
34797 [POSIX] (*_t): Allow.
34798 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34799 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34800 (WRDE_BADVAL): Expect.
34802 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34804 [XPG3 || XPG4] (O_RSYNC): Likewise.
34805 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34807 [XPG3 || XPG4] (pthread_sigmask): Likewise.
34808 [XPG3 || XPG4] (sigqueue): Likewise.
34809 [XPG3 || XPG4] (sigtimedwait): Likewise.
34810 [XPG3 || XPG4] (sigwaitinfo): Likewise.
34811 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34812 [XPG3 || XPG4] (vsnprintf): Likewise.
34813 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34815 [XPG3 || XPG4] (blksize_t): Likewise.
34816 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34818 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34819 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34820 [XPG3 || XPG4] (struct itimerspec): Likewise.
34821 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34822 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34823 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34824 [XPG3 || XPG4] (clockid_t): Likewise.
34825 [XPG3 || XPG4] (timer_t): Likewise.
34826 [XPG3 || XPG4] (clock_getres): Likewise.
34827 [XPG3 || XPG4] (clock_gettime): Likewise.
34828 [XPG3 || XPG4] (clock_settime): Likewise.
34829 [XPG3 || XPG4] (nanosleep): Likewise.
34830 [XPG3 || XPG4] (timer_create): Likewise.
34831 [XPG3 || XPG4] (timer_delete): Likewise.
34832 [XPG3 || XPG4] (timer_gettime): Likewise.
34833 [XPG3 || XPG4] (timer_getoverrun): Likewise.
34834 [XPG3 || XPG4] (timer_settime): Likewise.
34835 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34836 [XPG3 || XPG4] (getlogin_r): Likewise.
34837 [XPG3 || XPG4] (pread): Likewise.
34838 [XPG3 || XPG4] (pthread_atfork): Likewise.
34839 [XPG3 || XPG4] (pwrite): Likewise.
34842 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34845 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34847 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34848 finalizing MALLSTREAM.
34850 * sysdeps/mach/hurd/syncfs.c: New file.
34852 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34855 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
34856 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
34857 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
34858 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
34859 (_nss_dns_gethostbyname4_r): Likewise.
34860 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
34861 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
34863 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
34866 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
34868 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
34870 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
34871 * elf/cache.c (print_entry): Print ",AArch64" for
34874 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
34875 * elf/cache.c (print_entry): Print ",hard-float" for
34878 2012-11-18 David S. Miller <davem@davemloft.net>
34880 With help from Joseph Myers.
34881 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
34883 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
34885 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
34886 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
34888 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
34889 * math/libm-test.inc (y0_test): New tests.
34890 (y1_test): New tests.
34891 * sysdeps/i386/fpu/libm-test-ulps: Update.
34892 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34893 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34895 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
34897 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
34899 * configure: Regenerated.
34901 2012-11-17 David S. Miller <davem@davemloft.net>
34904 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
34905 nonzero exponents with absolute value below 0x1p-128 to +/-
34908 2012-11-17 Joseph Myers <joseph@codesourcery.com>
34910 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
34912 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
34914 * posix/getconf-speclist.c: New file.
34915 * posix/posix-envs.def: Likewise.
34916 * posix/confstr.c (START_ENV_GROUP): New macro.
34917 (END_ENV_GROUP): Likewise.
34918 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34919 (KNOWN_PRESENT_ENV_STRING): Likewise.
34920 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34921 (UNKNOWN_ENVIRONMENT): Likewise.
34922 (confstr): Include posix-envs.def instead of handling
34923 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
34924 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
34925 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
34926 (END_ENV_GROUP): Likewise.
34927 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34928 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34929 (UNKNOWN_ENVIRONMENT): Likewise.
34930 (__sysconf): Include posix-envs.def instead of handling associated
34931 cases directly here.
34932 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34933 preprocessing getconf-speclist.c rather than running getconf or
34934 generating empty file.
34936 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
34938 * scripts/check-local-headers.sh: Ignore 'mach' headers.
34940 2012-11-16 Andrej Lajovic <natrij@gmail.com>
34943 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34945 2012-11-16 David S. Miller <davem@davemloft.net>
34947 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34948 smaller than LDBL_EPSILON/2.0L, just return xm1.
34950 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
34952 * elf/tst-array1.c (init): Set constructor priority to 1000.
34953 (fini): Set destructor priority to 1000.
34954 * elf/tst-array2dep.c: Likewise.
34956 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34959 * libio/fileops.c (_IO_new_file_write): Correctly return error.
34960 (_IO_new_file_xsputn): Also return EOF if none of the input
34961 data was written when overflow failed.
34962 * libio/iopadn.c (_IO_padn): Likewise.
34963 * libio/iowpadn.c (_IO_wpadn): Likewise.
34964 * stdio-common/tst-put-error.c: Add copyright notice.
34965 (do_test): Add case for printing padded string.
34966 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34967 _IO_padn returned error.
34968 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34969 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34972 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34974 * libio/libioP.h: Add comment note that the references to C++
34975 bits are now obsolete.
34977 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34979 * math/libm-test.inc (check_complex): Use asprintf.
34981 2012-11-14 Joseph Myers <joseph@codesourcery.com>
34983 * debug/pcprofiledump.c (print_version): Update copyright year.
34984 * malloc/memusagestat.c (print_version): Likewise.
34986 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
34989 * elf/Makefile (tests): Add tst-audit8.
34990 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34991 ($(objpfx)tst-audit8.out): New target.
34992 (tst-audit8-ENV): New variable.
34993 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34994 audit if l_reloc_result is NULL.
34995 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34996 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34997 * elf/tst-audit8.c: New file.
34999 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35001 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35002 * misc/Makefile (CFLAGS-select.c): Define.
35003 * posix/Makefile (CFLAGS-pause.c): Define.
35005 2012-11-13 David S. Miller <davem@davemloft.net>
35007 * crypt/Makefile: Move test targets after toplevel Rules
35008 inclusion. Grab any necessary sysdep routines when linking.
35009 * crypt/md5.c (md5_process_block): Remove define, we will always
35010 name it __md5_process_block.
35011 (md5_finish_ctx): Update md5_process_block call.
35012 (md5_stream): Likewise.
35013 (md5_process_bytes): Likewise.
35014 (md5_process_block): Rename to __md5_process_block and move to ...
35015 * crypt/md5-block.c: ... here.
35016 * crypt/sha256.c (sha256_process_block): Move to ...
35017 * crypt/sha256-block.c: ... here.
35018 * crypt/sha512.c (sha512_process_block): Move to ...
35019 * crypt/sha512-block.c: ... here.
35020 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
35022 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
35023 * sysdeps/sparc/sparc64/multiarch/Makefile
35024 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
35026 (localedef-aux): Add md5 crypto assembler when in locale subdir.
35027 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
35029 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
35030 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
35031 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
35032 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
35033 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
35034 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
35035 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
35036 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
35037 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
35039 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
35040 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
35042 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
35044 2012-11-13 Joseph Myers <joseph@codesourcery.com>
35046 * timezone/tzselect.ksh: Update from tzcode git revision
35047 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35048 * timezone/zdump.c: Likewise.
35049 * timezone/zic.c: Likewise.
35050 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35051 in TZVERSION setting, not $(PKGVERSION).
35052 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
35053 REPORT_BUGS_TO settings.
35056 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35059 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35061 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35062 detection to immediately after _FP_ROUND().
35063 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35066 2012-11-11 David S. Miller <davem@davemloft.net>
35068 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35070 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35071 __close rather than their public counterparts.
35073 2012-11-10 Joseph Myers <joseph@codesourcery.com>
35075 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
35077 [UNIX98] (sem_timedwait): Do not expect.
35078 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
35079 [XPG4 || UNIX98] (sockatmark): Do not expect.
35080 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35081 (clock_getcpuclockid): Do not expect.
35082 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35083 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35085 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35086 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35087 [UNIX98] (vwscanf): Likewise.
35088 [UNIX98] (vswscanf): Likewise.
35090 2012-11-09 Joseph Myers <joseph@codesourcery.com>
35092 * timezone/version.h: Remove file.
35093 * timezone/README: Do not refer to version.h.
35094 * timezone/Makefile ($(objpfx)zic.o): New dependency on
35095 $(objpfx)version.h.
35096 ($(objpfx)zdump.o): Likewise.
35097 ($(objpfx)version.h): New target.
35099 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35101 * timezone/README: Don't mention modification to tzselect.ksh.
35102 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35103 work on unmodified tzselect.ksh. Substitute version numbers in
35106 * Makefile (format-me): Remove.
35107 (INSTALL): Adjust indentation. Use commands directly instead of
35108 using $(format-me).
35110 * aclocal.m4 (ACX_PKGVERSION): New macro.
35111 (ACX_BUGURL): Likewise.
35112 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35113 (PKGVERSION): New AC_DEFINE_UNQUOTED.
35114 (REPORT_BUGS_TO): Likewise.
35115 * configure: Regenerated.
35116 * config.h.in (PKGVERSION): New macro.
35117 (REPORT_BUGS_TO): Likewise.
35118 * config.make.in (PKGVERSION): New variable.
35119 (PKGVERSION_TEXI): Likewise.
35120 (REPORT_BUGS_TO): Likewise.
35121 (REPORT_BUGS_TEXI): Likewise.
35122 * Makefile (format-me): Use -I$(common-objpfx)manual.
35123 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35124 ($(common-objpfx)manual/%): New target.
35125 (manual/%): Remove target.
35126 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35127 (print_version): Use PKGVERSION.
35128 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35129 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35130 and REPORT_BUGS_TO.
35131 ($(objpfx)xtrace): Likewise.
35132 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35133 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35134 (print_version): Use PKGVERSION.
35135 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35136 (do_version): Use PKGVERSION.
35137 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35139 (common-ldd-rewrite): Likewise.
35140 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35141 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35142 (print_version): Use PKGVERSION.
35143 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35144 * elf/pldd.c (argp_program_bug_address): Remove variable.
35145 (more_help): New function.
35146 (argp): Use more_help.
35147 (print_version): Use PKGVERSION.
35148 * elf/sln.c (main): Use PKGVERSION.
35149 (usage): Use REPORT_BUGS_TO.
35150 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35151 (top level): Use PKGVERSION.
35152 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35153 (print_version): Use PKGVERSION.
35154 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35155 (print_version): Use PKGVERSION.
35156 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35157 (print_version): Use PKGVERSION.
35158 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35159 (print_version): Use PKGVERSION.
35160 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35161 (print_version): Use PKGVERSION.
35162 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
35163 (print_version): Use PKGVERSION.
35164 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35166 ($(objpfx)memusage): Likewise.
35167 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35168 (do_version): Use PKGVERSION.
35169 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35170 (print_version): Use PKGVERSION.
35171 * malloc/mtrace.pl ($PACKAGE): Remove variable.
35172 ($PKGVERSION): New variable.
35173 ($REPORT_BUGS_TO): Likewise.
35174 (usage): Use $REPORT_BUGS_TO.
35175 (top level): Use $PKGVERSION.
35176 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35177 ($(objpfx)pkgvers.texi): New rule.
35178 ($(objpfx)stamp-pkgvers): Likewise.
35179 * manual/install.texi: Include pkgvers.texi.
35180 (--with-pkgversion): Document new configure option.
35181 (--with-bugurl): Likewise.
35182 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35183 than necessarily for this particular distribution. Use
35184 REPORT_BUGS_TO for where to report bugs.
35185 * INSTALL: Regenerated.
35186 * manual/libc.texinfo: Include pkgvers.texi.
35187 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35188 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35189 (print_version): Use PKGVERSION.
35190 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35191 (print_version): Use PKGVERSION.
35192 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35193 (print_version): Use PKGVERSION.
35194 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35195 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35197 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35198 (print_version): Use PKGVERSION.
35199 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35200 (print_version): Use PKGVERSION.
35201 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35204 * timezone/checktab.awk: Update from tzcode 2012i.
35205 * timezone/ialloc.c: Likewise.
35206 * timezone/private.h: Likewise.
35207 * timezone/scheck.c: Likewise.
35208 * timezone/tzfile.h: Likewise.
35209 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35210 (TZVERSION): Hardcode tzcode version number.
35211 * timezone/zdump.c: Update from tzcode 2012i.
35212 * timezone/zic.c: Likewise.
35213 * timezone/version.h: New file.
35214 * timezone/README: Describe version.h. Update upstream location.
35217 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35218 (mktemp): Enable declaration.
35219 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35220 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35221 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35222 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35224 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35226 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35228 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35230 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35232 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35236 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35237 offset in buffer as u_int32_t not u_long. Consistently use memcpy
35238 for copies of such integer values.
35239 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35240 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35242 2012-11-09 Andreas Jaeger <aj@suse.de>
35244 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35245 definitions and declarations that are provided by
35246 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35248 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35250 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
35251 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35252 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35255 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35257 * elf/elf.h: Update comment before AArch64 relocations.
35259 2012-11-07 David S. Miller <davem@davemloft.net>
35261 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
35262 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35263 (__start_context): Declare.
35264 (__makecontext_ret): Delete.
35265 (__makecontext): Hook up __start_context instead of
35267 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
35268 (sysdep_routines): Add __start_context when in stdlib.
35270 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35272 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
35273 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
35274 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
35276 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
35277 (READELF): New variable. Use it instead of hardcoded "readelf".
35279 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
35281 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
35282 * sysdeps/x86/Makefile: Here.
35283 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
35284 * sysdeps/x86/tst-xmmymm.sh: This.
35286 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35288 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
35290 [UNIX98] (pthread_barrier_t): Do not expect.
35291 [UNIX98] (pthread_barrierattr_t): Likewise.
35292 [UNIX98] (pthread_spinlock_t): Likewise.
35293 [UNIX98] (pthread_barrier_destroy): Likewise.
35294 [UNIX98] (pthread_barrier_init): Likewise.
35295 [UNIX98] (pthread_barrier_wait): Likewise.
35296 [UNIX98] (pthread_barrierattr_destroy): Likewise.
35297 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
35298 [UNIX98] (pthread_barrierattr_init): Likewise.
35299 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
35300 [UNIX98] (pthread_getcpuclockid): Likewise.
35301 [UNIX98] (pthread_mutex_timedlock): Likewise.
35302 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
35303 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
35304 [UNIX98] (pthread_sigmask): Likewise.
35305 [UNIX98] (pthread_spin_destroy): Likewise.
35306 [UNIX98] (pthread_spin_init): Likewise.
35307 [UNIX98] (pthread_spin_lock): Likewise.
35308 [UNIX98] (pthread_spin_trylock): Likewise.
35309 [UNIX98] (pthread_spin_unlock): Likewise.
35310 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
35312 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
35313 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
35314 [XPG3 || XPG4] (pthread_cond_t): Likewise.
35315 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
35316 [XPG3 || XPG4] (pthread_key_t): Likewise.
35317 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
35318 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
35319 [XPG3 || XPG4] (pthread_once_t): Likewise.
35320 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
35321 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
35322 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
35323 [XPG3 || XPG4] (pthread_t): Likewise.
35325 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
35327 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
35329 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
35330 Change function return type to int.
35332 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
35333 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
35334 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
35335 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
35336 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
35337 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
35338 [!POSIX] (posix_madvise): Likewise.
35339 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
35341 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
35342 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
35343 (mode_t): Likewise.
35344 (posix_mem_offset): Likewise.
35345 (posix_typed_mem_get_info): Likewise.
35346 (posix_typed_mem_open): Likewise.
35348 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
35349 Change condition to [XOPEN2K8].
35351 * conform/conformtest.pl: Preprocess allow-header data with -x c
35352 instead of from stdin.
35353 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
35354 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
35355 [C99-based standards] (cerfc): Likewise.
35356 [C99-based standards] (cexp2): Likewise.
35357 [C99-based standards] (cexpm1): Likewise.
35358 [C99-based standards] (clog10): Likewise.
35359 [C99-based standards] (clog1p): Likewise.
35360 [C99-based standards] (clog2): Likewise.
35361 [C99-based standards] (clgamma): Likewise.
35362 [C99-based standards] (ctgamma): Likewise.
35363 [C99-based standards] (cerff): Likewise.
35364 [C99-based standards] (cerfcf): Likewise.
35365 [C99-based standards] (cexp2f): Likewise.
35366 [C99-based standards] (cexpm1f): Likewise.
35367 [C99-based standards] (clog10f): Likewise.
35368 [C99-based standards] (clog1pf): Likewise.
35369 [C99-based standards] (clog2f): Likewise.
35370 [C99-based standards] (clgammaf): Likewise.
35371 [C99-based standards] (ctgammaf): Likewise.
35372 [C99-based standards] (cerfl): Likewise.
35373 [C99-based standards] (cerfcl): Likewise.
35374 [C99-based standards] (cexp2l): Likewise.
35375 [C99-based standards] (cexpm1l): Likewise.
35376 [C99-based standards] (clog10l): Likewise.
35377 [C99-based standards] (clog1pl): Likewise.
35378 [C99-based standards] (clog2l): Likewise.
35379 [C99-based standards] (clgammal): Likewise.
35380 [C99-based standards] (ctgammal): Likewise.
35381 * conform/data/inttypes.h-data [C99-based standards]: Include
35382 stdint.h-data. Remove all expectations for stdint.h contents.
35383 [C99-based standards] (PRI*): Do not allow.
35384 [C99-based standards] (SCN*): Likewise.
35385 [C99-based standards] (*_t): Likewise.
35386 [C99-based-standards] (PRId8): Expect macro.
35387 [C99-based-standards] (PRIi8): Likewise.
35388 [C99-based-standards] (PRIo8): Likewise.
35389 [C99-based-standards] (PRIu8): Likewise.
35390 [C99-based-standards] (PRIx8): Likewise.
35391 [C99-based-standards] (PRIX8): Likewise.
35392 [C99-based-standards] (SCNd8): Likewise.
35393 [C99-based-standards] (SCNi8): Likewise.
35394 [C99-based-standards] (SCNo8): Likewise.
35395 [C99-based-standards] (SCNu8): Likewise.
35396 [C99-based-standards] (SCNx8): Likewise.
35397 [C99-based-standards] (PRIdLEAST8): Likewise.
35398 [C99-based-standards] (PRIiLEAST8): Likewise.
35399 [C99-based-standards] (PRIoLEAST8): Likewise.
35400 [C99-based-standards] (PRIuLEAST8): Likewise.
35401 [C99-based-standards] (PRIxLEAST8): Likewise.
35402 [C99-based-standards] (PRIXLEAST8): Likewise.
35403 [C99-based-standards] (SCNdLEAST8): Likewise.
35404 [C99-based-standards] (SCNiLEAST8): Likewise.
35405 [C99-based-standards] (SCNoLEAST8): Likewise.
35406 [C99-based-standards] (SCNuLEAST8): Likewise.
35407 [C99-based-standards] (SCNxLEAST8): Likewise.
35408 [C99-based-standards] (PRIdFAST8): Likewise.
35409 [C99-based-standards] (PRIiFAST8): Likewise.
35410 [C99-based-standards] (PRIoFAST8): Likewise.
35411 [C99-based-standards] (PRIuFAST8): Likewise.
35412 [C99-based-standards] (PRIxFAST8): Likewise.
35413 [C99-based-standards] (PRIXFAST8): Likewise.
35414 [C99-based-standards] (SCNdFAST8): Likewise.
35415 [C99-based-standards] (SCNiFAST8): Likewise.
35416 [C99-based-standards] (SCNoFAST8): Likewise.
35417 [C99-based-standards] (SCNuFAST8): Likewise.
35418 [C99-based-standards] (SCNxFAST8): Likewise.
35419 [C99-based-standards] (PRId16): Likewise.
35420 [C99-based-standards] (PRIi16): Likewise.
35421 [C99-based-standards] (PRIo16): Likewise.
35422 [C99-based-standards] (PRIu16): Likewise.
35423 [C99-based-standards] (PRIx16): Likewise.
35424 [C99-based-standards] (PRIX16): Likewise.
35425 [C99-based-standards] (SCNd16): Likewise.
35426 [C99-based-standards] (SCNi16): Likewise.
35427 [C99-based-standards] (SCNo16): Likewise.
35428 [C99-based-standards] (SCNu16): Likewise.
35429 [C99-based-standards] (SCNx16): Likewise.
35430 [C99-based-standards] (PRIdLEAST16): Likewise.
35431 [C99-based-standards] (PRIiLEAST16): Likewise.
35432 [C99-based-standards] (PRIoLEAST16): Likewise.
35433 [C99-based-standards] (PRIuLEAST16): Likewise.
35434 [C99-based-standards] (PRIxLEAST16): Likewise.
35435 [C99-based-standards] (PRIXLEAST16): Likewise.
35436 [C99-based-standards] (SCNdLEAST16): Likewise.
35437 [C99-based-standards] (SCNiLEAST16): Likewise.
35438 [C99-based-standards] (SCNoLEAST16): Likewise.
35439 [C99-based-standards] (SCNuLEAST16): Likewise.
35440 [C99-based-standards] (SCNxLEAST16): Likewise.
35441 [C99-based-standards] (PRIdFAST16): Likewise.
35442 [C99-based-standards] (PRIiFAST16): Likewise.
35443 [C99-based-standards] (PRIoFAST16): Likewise.
35444 [C99-based-standards] (PRIuFAST16): Likewise.
35445 [C99-based-standards] (PRIxFAST16): Likewise.
35446 [C99-based-standards] (PRIXFAST16): Likewise.
35447 [C99-based-standards] (SCNdFAST16): Likewise.
35448 [C99-based-standards] (SCNiFAST16): Likewise.
35449 [C99-based-standards] (SCNoFAST16): Likewise.
35450 [C99-based-standards] (SCNuFAST16): Likewise.
35451 [C99-based-standards] (SCNxFAST16): Likewise.
35452 [C99-based-standards] (PRId32): Likewise.
35453 [C99-based-standards] (PRIi32): Likewise.
35454 [C99-based-standards] (PRIo32): Likewise.
35455 [C99-based-standards] (PRIu32): Likewise.
35456 [C99-based-standards] (PRIx32): Likewise.
35457 [C99-based-standards] (PRIX32): Likewise.
35458 [C99-based-standards] (SCNd32): Likewise.
35459 [C99-based-standards] (SCNi32): Likewise.
35460 [C99-based-standards] (SCNo32): Likewise.
35461 [C99-based-standards] (SCNu32): Likewise.
35462 [C99-based-standards] (SCNx32): Likewise.
35463 [C99-based-standards] (PRIdLEAST32): Likewise.
35464 [C99-based-standards] (PRIiLEAST32): Likewise.
35465 [C99-based-standards] (PRIoLEAST32): Likewise.
35466 [C99-based-standards] (PRIuLEAST32): Likewise.
35467 [C99-based-standards] (PRIxLEAST32): Likewise.
35468 [C99-based-standards] (PRIXLEAST32): Likewise.
35469 [C99-based-standards] (SCNdLEAST32): Likewise.
35470 [C99-based-standards] (SCNiLEAST32): Likewise.
35471 [C99-based-standards] (SCNoLEAST32): Likewise.
35472 [C99-based-standards] (SCNuLEAST32): Likewise.
35473 [C99-based-standards] (SCNxLEAST32): Likewise.
35474 [C99-based-standards] (PRIdFAST32): Likewise.
35475 [C99-based-standards] (PRIiFAST32): Likewise.
35476 [C99-based-standards] (PRIoFAST32): Likewise.
35477 [C99-based-standards] (PRIuFAST32): Likewise.
35478 [C99-based-standards] (PRIxFAST32): Likewise.
35479 [C99-based-standards] (PRIXFAST32): Likewise.
35480 [C99-based-standards] (SCNdFAST32): Likewise.
35481 [C99-based-standards] (SCNiFAST32): Likewise.
35482 [C99-based-standards] (SCNoFAST32): Likewise.
35483 [C99-based-standards] (SCNuFAST32): Likewise.
35484 [C99-based-standards] (SCNxFAST32): Likewise.
35485 [C99-based-standards] (PRId64): Likewise.
35486 [C99-based-standards] (PRIi64): Likewise.
35487 [C99-based-standards] (PRIo64): Likewise.
35488 [C99-based-standards] (PRIu64): Likewise.
35489 [C99-based-standards] (PRIx64): Likewise.
35490 [C99-based-standards] (PRIX64): Likewise.
35491 [C99-based-standards] (SCNd64): Likewise.
35492 [C99-based-standards] (SCNi64): Likewise.
35493 [C99-based-standards] (SCNo64): Likewise.
35494 [C99-based-standards] (SCNu64): Likewise.
35495 [C99-based-standards] (SCNx64): Likewise.
35496 [C99-based-standards] (PRIdLEAST64): Likewise.
35497 [C99-based-standards] (PRIiLEAST64): Likewise.
35498 [C99-based-standards] (PRIoLEAST64): Likewise.
35499 [C99-based-standards] (PRIuLEAST64): Likewise.
35500 [C99-based-standards] (PRIxLEAST64): Likewise.
35501 [C99-based-standards] (PRIXLEAST64): Likewise.
35502 [C99-based-standards] (SCNdLEAST64): Likewise.
35503 [C99-based-standards] (SCNiLEAST64): Likewise.
35504 [C99-based-standards] (SCNoLEAST64): Likewise.
35505 [C99-based-standards] (SCNuLEAST64): Likewise.
35506 [C99-based-standards] (SCNxLEAST64): Likewise.
35507 [C99-based-standards] (PRIdFAST64): Likewise.
35508 [C99-based-standards] (PRIiFAST64): Likewise.
35509 [C99-based-standards] (PRIoFAST64): Likewise.
35510 [C99-based-standards] (PRIuFAST64): Likewise.
35511 [C99-based-standards] (PRIxFAST64): Likewise.
35512 [C99-based-standards] (PRIXFAST64): Likewise.
35513 [C99-based-standards] (SCNdFAST64): Likewise.
35514 [C99-based-standards] (SCNiFAST64): Likewise.
35515 [C99-based-standards] (SCNoFAST64): Likewise.
35516 [C99-based-standards] (SCNuFAST64): Likewise.
35517 [C99-based-standards] (SCNxFAST64): Likewise.
35518 [C99-based-standards] (PRIdMAX): Likewise.
35519 [C99-based-standards] (PRIiMAX): Likewise.
35520 [C99-based-standards] (PRIoMAX): Likewise.
35521 [C99-based-standards] (PRIuMAX): Likewise.
35522 [C99-based-standards] (PRIxMAX): Likewise.
35523 [C99-based-standards] (PRIXMAX): Likewise.
35524 [C99-based-standards] (SCNdMAX): Likewise.
35525 [C99-based-standards] (SCNiMAX): Likewise.
35526 [C99-based-standards] (SCNoMAX): Likewise.
35527 [C99-based-standards] (SCNuMAX): Likewise.
35528 [C99-based-standards] (SCNxMAX): Likewise.
35529 [C99-based-standards] (PRIdPTR): Likewise.
35530 [C99-based-standards] (PRIiPTR): Likewise.
35531 [C99-based-standards] (PRIoPTR): Likewise.
35532 [C99-based-standards] (PRIuPTR): Likewise.
35533 [C99-based-standards] (PRIxPTR): Likewise.
35534 [C99-based-standards] (PRIXPTR): Likewise.
35535 [C99-based-standards] (SCNdPTR): Likewise.
35536 [C99-based-standards] (SCNiPTR): Likewise.
35537 [C99-based-standards] (SCNoPTR): Likewise.
35538 [C99-based-standards] (SCNuPTR): Likewise.
35539 [C99-based-standards] (SCNxPTR): Likewise.
35540 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
35542 * conform/data/stdint.h-data: Update comments to clarify
35544 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
35546 [C99-based standards] (INT8_MAX): Likewise.
35547 [C99-based standards] (INT16_MIN): Likewise.
35548 [C99-based standards] (INT16_MAX): Likewise.
35549 [C99-based standards] (INT32_MIN): Likewise.
35550 [C99-based standards] (INT32_MAX): Likewise.
35551 [C99-based standards] (INT64_MIN): Likewise.
35552 [C99-based standards] (INT64_MAX): Likewise.
35553 [C99-based standards] (UINT8_MAX): Likewise.
35554 [C99-based standards] (UINT16_MAX): Likewise.
35555 [C99-based standards] (UINT32_MAX): Likewise.
35556 [C99-based standards] (UINT64_MAX): Likewise.
35557 [C99-based standards] (INT_LEAST8_MIN): Likewise.
35558 [C99-based standards] (INT_LEAST8_MAX): Likewise.
35559 [C99-based standards] (INT_LEAST16_MIN): Likewise.
35560 [C99-based standards] (INT_LEAST16_MAX): Likewise.
35561 [C99-based standards] (INT_LEAST32_MIN): Likewise.
35562 [C99-based standards] (INT_LEAST32_MAX): Likewise.
35563 [C99-based standards] (INT_LEAST64_MIN): Likewise.
35564 [C99-based standards] (INT_LEAST64_MAX): Likewise.
35565 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
35566 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
35567 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
35568 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
35569 [C99-based standards] (INT_FAST8_MIN): Likewise.
35570 [C99-based standards] (INT_FAST8_MAX): Likewise.
35571 [C99-based standards] (INT_FAST16_MIN): Likewise.
35572 [C99-based standards] (INT_FAST16_MAX): Likewise.
35573 [C99-based standards] (INT_FAST32_MIN): Likewise.
35574 [C99-based standards] (INT_FAST32_MAX): Likewise.
35575 [C99-based standards] (INT_FAST64_MIN): Likewise.
35576 [C99-based standards] (INT_FAST64_MAX): Likewise.
35577 [C99-based standards] (UINT_FAST8_MAX): Likewise.
35578 [C99-based standards] (UINT_FAST16_MAX): Likewise.
35579 [C99-based standards] (UINT_FAST32_MAX): Likewise.
35580 [C99-based standards] (UINT_FAST64_MAX): Likewise.
35581 [C99-based standards] (INTPTR_MIN): Likewise.
35582 [C99-based standards] (INTPTR_MAX): Likewise.
35583 [C99-based standards] (UINTPTR_MAX): Likewise.
35584 [C99-based standards] (INTMAX_MIN): Likewise.
35585 [C99-based standards] (INTMAX_MAX): Likewise.
35586 [C99-based standards] (UINTMAX_MAX): Likewise.
35587 [C99-based standards] (PTRDIFF_MIN): Likewise.
35588 [C99-based standards] (PTRDIFF_MAX): Likewise.
35589 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
35590 [C99-based standards] (SIZE_MAX): Likewise.
35591 [C99-based standards] (WCHAR_MAX): Likewise.
35592 [C99-based standards] (WINT_MAX): Likewise.
35593 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
35594 constraint on value.
35595 [C99-based standards] (WCHAR_MIN): Likewise.
35596 [C99-based standards] (WINT_MIN): Likewise.
35597 [C99-based standards] (*_t): Allow.
35598 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
35599 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
35600 Include math.h-data and complex.h-data. Remove all expectations
35601 of math.h and complex.h contents.
35602 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
35604 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
35605 (struct tm): Expect tag.
35606 [C99-based-standards] (wcstof): Expect function.
35607 [C99-based-standards] (wcstold): Likewise.
35608 [C99-based-standards] (wcstoll): Likewise.
35609 [C99-based-standards] (wcstoull): Likewise.
35610 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
35611 macro-int-constant. Specify type.
35612 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
35613 constraint on value.
35614 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35616 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
35618 [ISO C standards]: Do not allow headers.
35619 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
35620 wcs[abcdefghijklmnopqrstuvwxyz]*.
35621 [ISO C standards] (*_t): Do not allow.
35622 * conform/data/wctype.h-data [C99-based standards] (iswblank):
35624 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
35625 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35627 [ISO C standards]: Do not allow headers.
35628 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
35629 is[abcdefghijklmnopqrstuvwxyz]*.
35630 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
35631 to[abcdefghijklmnopqrstuvwxyz]*.
35632 [ISO C standards] (*_t): Do not allow.
35633 * conform/data/stdalign.h-data: New file.
35634 * conform/data/stdbool.h-data: Likewise.
35635 * conform/data/stdnoreturn.h-data: Likewise.
35637 2012-11-07 Roland McGrath <roland@hack.frob.com>
35640 * manual/filesys.texi (Directory Entries): Typo fix.
35641 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
35643 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35645 * elf/elf.h (EM_AARCH64): New macro.
35646 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
35647 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
35648 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
35649 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
35650 (R_AARCH64_TLSDESC): Likewise.
35651 (NT_ARM_TLS): Likewise.
35652 (NT_ARM_HW_BREAK): Likewise.
35653 (NT_ARM_HW_WATCH): Likewise.
35655 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35658 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
35659 (__ieee754_powl): Saturate nonzero exponents with absolute value
35660 below 0x1p-79 to +/- 0x1p-79.
35661 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
35662 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
35663 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
35664 nonzero exponents with absolute value below 0x1p-32 to +/-
35666 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
35667 (__ieee754_powl): Saturate nonzero exponents with absolute value
35668 below 0x1p-79 to +/- 0x1p-79.
35669 * math/libm-test.inc (pow_test): Add more tests.
35671 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35673 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
35674 _dl_s390_cap_flags with kernel. Increase string length.
35675 (_dl_s390_platforms): Add z196 and zEC12.
35677 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35679 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
35680 Change XOPEN21K to XOPEN2K.
35682 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
35684 * string/memmove.c: Use memcpy when possible.
35686 2012-11-06 Andreas Jaeger <aj@suse.de>
35688 * po/eo.po: Update from translation team.
35690 2012-11-06 Joseph Myers <joseph@codesourcery.com>
35693 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
35694 exponent and small x and y exponents, scale x or y up. Increase
35695 by 2 the exponent used in scaling up.
35696 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35697 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35698 * math/libm-test.inc (fma_test): Add more tests.
35699 (fma_test_towardzero): Likewise.
35700 (fma_test_downward): Likewise.
35701 (fma_test_upward): Likewise.
35703 2012-11-05 Joseph Myers <joseph@codesourcery.com>
35706 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
35710 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
35711 namespace for names of struct fields.
35712 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
35714 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35715 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
35717 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
35720 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
35722 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35724 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
35728 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
35731 2012-11-04 Joseph Myers <joseph@codesourcery.com>
35734 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
35735 definitely overflow as x * y not x * y + z.
35736 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35737 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35738 * math/libm-test.inc (fma_test): Add more tests.
35739 (fma_test_towardzero): Likewise.
35740 (fma_test_downward): Likewise.
35741 (fma_test_upward): Likewise.
35743 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35747 * include/stub-tag.h: Remove file.
35748 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
35750 * manual/maint.texi (Porting): Don't reference it.
35751 * Makerules ($(objpfx)stubs): Likewise.
35752 * dirent/closedir.c: Don't include <stub-tag.h>.
35753 * dirent/dirfd.c: Likewise.
35754 * dirent/fdopendir.c: Likewise.
35755 * dirent/getdents.c: Likewise.
35756 * dirent/getdents64.c: Likewise.
35757 * dirent/opendir.c: Likewise.
35758 * dirent/readdir.c: Likewise.
35759 * dirent/readdir64.c: Likewise.
35760 * dirent/readdir64_r.c: Likewise.
35761 * dirent/readdir_r.c: Likewise.
35762 * dirent/rewinddir.c: Likewise.
35763 * dirent/seekdir.c: Likewise.
35764 * dirent/telldir.c: Likewise.
35765 * gmon/profil.c: Likewise.
35766 * grp/setgroups.c: Likewise.
35767 * inet/if_index.c: Likewise.
35768 * io/access.c: Likewise.
35769 * io/chdir.c: Likewise.
35770 * io/chmod.c: Likewise.
35771 * io/chown.c: Likewise.
35772 * io/close.c: Likewise.
35773 * io/dup.c: Likewise.
35774 * io/dup2.c: Likewise.
35775 * io/dup3.c: Likewise.
35776 * io/euidaccess.c: Likewise.
35777 * io/faccessat.c: Likewise.
35778 * io/fchdir.c: Likewise.
35779 * io/fchmod.c: Likewise.
35780 * io/fchmodat.c: Likewise.
35781 * io/fchown.c: Likewise.
35782 * io/fchownat.c: Likewise.
35783 * io/fcntl.c: Likewise.
35784 * io/flock.c: Likewise.
35785 * io/fstatfs.c: Likewise.
35786 * io/fstatfs64.c: Likewise.
35787 * io/fstatvfs.c: Likewise.
35788 * io/fstatvfs64.c: Likewise.
35789 * io/futimens.c: Likewise.
35790 * io/fxstat.c: Likewise.
35791 * io/fxstat64.c: Likewise.
35792 * io/fxstatat.c: Likewise.
35793 * io/fxstatat64.c: Likewise.
35794 * io/getcwd.c: Likewise.
35795 * io/isatty.c: Likewise.
35796 * io/lchmod.c: Likewise.
35797 * io/lchown.c: Likewise.
35798 * io/link.c: Likewise.
35799 * io/linkat.c: Likewise.
35800 * io/lseek.c: Likewise.
35801 * io/lseek64.c: Likewise.
35802 * io/lxstat64.c: Likewise.
35803 * io/mkdir.c: Likewise.
35804 * io/mkdirat.c: Likewise.
35805 * io/mkfifo.c: Likewise.
35806 * io/mkfifoat.c: Likewise.
35807 * io/open.c: Likewise.
35808 * io/open64.c: Likewise.
35809 * io/openat.c: Likewise.
35810 * io/openat64.c: Likewise.
35811 * io/pipe.c: Likewise.
35812 * io/pipe2.c: Likewise.
35813 * io/poll.c: Likewise.
35814 * io/posix_fadvise.c: Likewise.
35815 * io/posix_fadvise64.c: Likewise.
35816 * io/posix_fallocate.c: Likewise.
35817 * io/posix_fallocate64.c: Likewise.
35818 * io/read.c: Likewise.
35819 * io/readlink.c: Likewise.
35820 * io/readlinkat.c: Likewise.
35821 * io/rmdir.c: Likewise.
35822 * io/sendfile.c: Likewise.
35823 * io/sendfile64.c: Likewise.
35824 * io/statfs.c: Likewise.
35825 * io/statfs64.c: Likewise.
35826 * io/statvfs.c: Likewise.
35827 * io/statvfs64.c: Likewise.
35828 * io/symlink.c: Likewise.
35829 * io/symlinkat.c: Likewise.
35830 * io/ttyname.c: Likewise.
35831 * io/ttyname_r.c: Likewise.
35832 * io/umask.c: Likewise.
35833 * io/unlink.c: Likewise.
35834 * io/unlinkat.c: Likewise.
35835 * io/utime.c: Likewise.
35836 * io/utimensat.c: Likewise.
35837 * io/write.c: Likewise.
35838 * io/xmknod.c: Likewise.
35839 * io/xmknodat.c: Likewise.
35840 * io/xstat.c: Likewise.
35841 * io/xstat64.c: Likewise.
35842 * login/getpt.c: Likewise.
35843 * login/grantpt.c: Likewise.
35844 * login/unlockpt.c: Likewise.
35845 * math/e_acoshl.c: Likewise.
35846 * math/e_acosl.c: Likewise.
35847 * math/e_asinl.c: Likewise.
35848 * math/e_atan2l.c: Likewise.
35849 * math/e_atanhl.c: Likewise.
35850 * math/e_coshl.c: Likewise.
35851 * math/e_expl.c: Likewise.
35852 * math/e_fmodl.c: Likewise.
35853 * math/e_gammal_r.c: Likewise.
35854 * math/e_hypotl.c: Likewise.
35855 * math/e_j0l.c: Likewise.
35856 * math/e_j1l.c: Likewise.
35857 * math/e_jnl.c: Likewise.
35858 * math/e_lgammal_r.c: Likewise.
35859 * math/e_log10l.c: Likewise.
35860 * math/e_log2l.c: Likewise.
35861 * math/e_logl.c: Likewise.
35862 * math/e_powl.c: Likewise.
35863 * math/e_rem_pio2l.c: Likewise.
35864 * math/e_sinhl.c: Likewise.
35865 * math/e_sqrtl.c: Likewise.
35866 * math/fclrexcpt.c: Likewise.
35867 * math/fedisblxcpt.c: Likewise.
35868 * math/feenablxcpt.c: Likewise.
35869 * math/fegetenv.c: Likewise.
35870 * math/fegetexcept.c: Likewise.
35871 * math/fegetround.c: Likewise.
35872 * math/feholdexcpt.c: Likewise.
35873 * math/fesetenv.c: Likewise.
35874 * math/fesetround.c: Likewise.
35875 * math/feupdateenv.c: Likewise.
35876 * math/fgetexcptflg.c: Likewise.
35877 * math/fraiseexcpt.c: Likewise.
35878 * math/fsetexcptflg.c: Likewise.
35879 * math/ftestexcept.c: Likewise.
35880 * math/k_cosl.c: Likewise.
35881 * math/k_rem_pio2l.c: Likewise.
35882 * math/k_sinl.c: Likewise.
35883 * math/k_tanl.c: Likewise.
35884 * math/s_asinhl.c: Likewise.
35885 * math/s_atanl.c: Likewise.
35886 * math/s_cbrtl.c: Likewise.
35887 * math/s_erfl.c: Likewise.
35888 * math/s_expm1l.c: Likewise.
35889 * math/s_log1pl.c: Likewise.
35890 * math/s_tanhl.c: Likewise.
35891 * misc/acct.c: Likewise.
35892 * misc/brk.c: Likewise.
35893 * misc/chflags.c: Likewise.
35894 * misc/chroot.c: Likewise.
35895 * misc/fchflags.c: Likewise.
35896 * misc/fgetxattr.c: Likewise.
35897 * misc/flistxattr.c: Likewise.
35898 * misc/fremovexattr.c: Likewise.
35899 * misc/fsetxattr.c: Likewise.
35900 * misc/fsync.c: Likewise.
35901 * misc/ftruncate.c: Likewise.
35902 * misc/futimes.c: Likewise.
35903 * misc/futimesat.c: Likewise.
35904 * misc/getdomain.c: Likewise.
35905 * misc/getdtsz.c: Likewise.
35906 * misc/gethostid.c: Likewise.
35907 * misc/gethostname.c: Likewise.
35908 * misc/getloadavg.c: Likewise.
35909 * misc/getpagesize.c: Likewise.
35910 * misc/getsysstats.c: Likewise.
35911 * misc/getxattr.c: Likewise.
35912 * misc/gtty.c: Likewise.
35913 * misc/ioctl.c: Likewise.
35914 * misc/lgetxattr.c: Likewise.
35915 * misc/listxattr.c: Likewise.
35916 * misc/llistxattr.c: Likewise.
35917 * misc/lremovexattr.c: Likewise.
35918 * misc/lsetxattr.c: Likewise.
35919 * misc/lutimes.c: Likewise.
35920 * misc/madvise.c: Likewise.
35921 * misc/mincore.c: Likewise.
35922 * misc/mlock.c: Likewise.
35923 * misc/mlockall.c: Likewise.
35924 * misc/mmap.c: Likewise.
35925 * misc/mprotect.c: Likewise.
35926 * misc/msync.c: Likewise.
35927 * misc/munlock.c: Likewise.
35928 * misc/munlockall.c: Likewise.
35929 * misc/munmap.c: Likewise.
35930 * misc/preadv.c: Likewise.
35931 * misc/preadv64.c: Likewise.
35932 * misc/ptrace.c: Likewise.
35933 * misc/pwritev.c: Likewise.
35934 * misc/pwritev64.c: Likewise.
35935 * misc/readv.c: Likewise.
35936 * misc/reboot.c: Likewise.
35937 * misc/remap_file_pages.c: Likewise.
35938 * misc/removexattr.c: Likewise.
35939 * misc/revoke.c: Likewise.
35940 * misc/select.c: Likewise.
35941 * misc/setdomain.c: Likewise.
35942 * misc/setegid.c: Likewise.
35943 * misc/seteuid.c: Likewise.
35944 * misc/sethostid.c: Likewise.
35945 * misc/sethostname.c: Likewise.
35946 * misc/setregid.c: Likewise.
35947 * misc/setreuid.c: Likewise.
35948 * misc/setxattr.c: Likewise.
35949 * misc/sstk.c: Likewise.
35950 * misc/stty.c: Likewise.
35951 * misc/swapoff.c: Likewise.
35952 * misc/swapon.c: Likewise.
35953 * misc/sync.c: Likewise.
35954 * misc/syncfs.c: Likewise.
35955 * misc/syscall.c: Likewise.
35956 * misc/truncate.c: Likewise.
35957 * misc/ualarm.c: Likewise.
35958 * misc/usleep.c: Likewise.
35959 * misc/ustat.c: Likewise.
35960 * misc/utimes.c: Likewise.
35961 * misc/vhangup.c: Likewise.
35962 * misc/writev.c: Likewise.
35963 * posix/_exit.c: Likewise.
35964 * posix/alarm.c: Likewise.
35965 * posix/execve.c: Likewise.
35966 * posix/fexecve.c: Likewise.
35967 * posix/fork.c: Likewise.
35968 * posix/fpathconf.c: Likewise.
35969 * posix/getaddrinfo.c: Likewise.
35970 * posix/getegid.c: Likewise.
35971 * posix/geteuid.c: Likewise.
35972 * posix/getgid.c: Likewise.
35973 * posix/getgroups.c: Likewise.
35974 * posix/getlogin.c: Likewise.
35975 * posix/getlogin_r.c: Likewise.
35976 * posix/getpgid.c: Likewise.
35977 * posix/getpid.c: Likewise.
35978 * posix/getppid.c: Likewise.
35979 * posix/getresgid.c: Likewise.
35980 * posix/getresuid.c: Likewise.
35981 * posix/getsid.c: Likewise.
35982 * posix/getuid.c: Likewise.
35983 * posix/glob64.c: Likewise.
35984 * posix/nanosleep.c: Likewise.
35985 * posix/pathconf.c: Likewise.
35986 * posix/pause.c: Likewise.
35987 * posix/posix_madvise.c: Likewise.
35988 * posix/pread.c: Likewise.
35989 * posix/pread64.c: Likewise.
35990 * posix/pwrite.c: Likewise.
35991 * posix/pwrite64.c: Likewise.
35992 * posix/sched_getaffinity.c: Likewise.
35993 * posix/sched_getp.c: Likewise.
35994 * posix/sched_gets.c: Likewise.
35995 * posix/sched_primax.c: Likewise.
35996 * posix/sched_primin.c: Likewise.
35997 * posix/sched_rr_gi.c: Likewise.
35998 * posix/sched_setaffinity.c: Likewise.
35999 * posix/sched_setp.c: Likewise.
36000 * posix/sched_sets.c: Likewise.
36001 * posix/sched_yield.c: Likewise.
36002 * posix/setgid.c: Likewise.
36003 * posix/setlogin.c: Likewise.
36004 * posix/setpgid.c: Likewise.
36005 * posix/setresgid.c: Likewise.
36006 * posix/setresuid.c: Likewise.
36007 * posix/setsid.c: Likewise.
36008 * posix/setuid.c: Likewise.
36009 * posix/sleep.c: Likewise.
36010 * posix/spawni.c: Likewise.
36011 * posix/sysconf.c: Likewise.
36012 * posix/times.c: Likewise.
36013 * posix/wait.c: Likewise.
36014 * posix/wait3.c: Likewise.
36015 * posix/wait4.c: Likewise.
36016 * posix/waitpid.c: Likewise.
36017 * resolv/gai_sigqueue.c: Likewise.
36018 * resource/getpriority.c: Likewise.
36019 * resource/getrlimit.c: Likewise.
36020 * resource/getrusage.c: Likewise.
36021 * resource/nice.c: Likewise.
36022 * resource/setpriority.c: Likewise.
36023 * resource/setrlimit.c: Likewise.
36024 * resource/ulimit.c: Likewise.
36025 * rt/aio_cancel.c: Likewise.
36026 * rt/aio_fsync.c: Likewise.
36027 * rt/aio_read.c: Likewise.
36028 * rt/aio_sigqueue.c: Likewise.
36029 * rt/aio_suspend.c: Likewise.
36030 * rt/aio_write.c: Likewise.
36031 * rt/clock_getres.c: Likewise.
36032 * rt/clock_gettime.c: Likewise.
36033 * rt/clock_nanosleep.c: Likewise.
36034 * rt/clock_settime.c: Likewise.
36035 * rt/lio_listio.c: Likewise.
36036 * rt/mq_close.c: Likewise.
36037 * rt/mq_getattr.c: Likewise.
36038 * rt/mq_notify.c: Likewise.
36039 * rt/mq_open.c: Likewise.
36040 * rt/mq_receive.c: Likewise.
36041 * rt/mq_send.c: Likewise.
36042 * rt/mq_setattr.c: Likewise.
36043 * rt/mq_timedreceive.c: Likewise.
36044 * rt/mq_timedsend.c: Likewise.
36045 * rt/mq_unlink.c: Likewise.
36046 * rt/shm_open.c: Likewise.
36047 * rt/shm_unlink.c: Likewise.
36048 * rt/timer_create.c: Likewise.
36049 * rt/timer_delete.c: Likewise.
36050 * rt/timer_getoverr.c: Likewise.
36051 * rt/timer_gettime.c: Likewise.
36052 * rt/timer_settime.c: Likewise.
36053 * setjmp/__longjmp.c: Likewise.
36054 * setjmp/setjmp.c: Likewise.
36055 * signal/kill.c: Likewise.
36056 * signal/killpg.c: Likewise.
36057 * signal/raise.c: Likewise.
36058 * signal/sigaction.c: Likewise.
36059 * signal/sigaltstack.c: Likewise.
36060 * signal/sigblock.c: Likewise.
36061 * signal/sigignore.c: Likewise.
36062 * signal/sigintr.c: Likewise.
36063 * signal/signal.c: Likewise.
36064 * signal/sigpause.c: Likewise.
36065 * signal/sigpending.c: Likewise.
36066 * signal/sigqueue.c: Likewise.
36067 * signal/sigreturn.c: Likewise.
36068 * signal/sigset.c: Likewise.
36069 * signal/sigsetmask.c: Likewise.
36070 * signal/sigstack.c: Likewise.
36071 * signal/sigsuspend.c: Likewise.
36072 * signal/sigtimedwait.c: Likewise.
36073 * signal/sigvec.c: Likewise.
36074 * signal/sigwait.c: Likewise.
36075 * signal/sigwaitinfo.c: Likewise.
36076 * signal/sysv_signal.c: Likewise.
36077 * socket/accept.c: Likewise.
36078 * socket/accept4.c: Likewise.
36079 * socket/bind.c: Likewise.
36080 * socket/connect.c: Likewise.
36081 * socket/getpeername.c: Likewise.
36082 * socket/getsockname.c: Likewise.
36083 * socket/getsockopt.c: Likewise.
36084 * socket/isfdtype.c: Likewise.
36085 * socket/listen.c: Likewise.
36086 * socket/recv.c: Likewise.
36087 * socket/recvfrom.c: Likewise.
36088 * socket/recvmsg.c: Likewise.
36089 * socket/send.c: Likewise.
36090 * socket/sendmsg.c: Likewise.
36091 * socket/sendto.c: Likewise.
36092 * socket/setsockopt.c: Likewise.
36093 * socket/shutdown.c: Likewise.
36094 * socket/sockatmark.c: Likewise.
36095 * socket/socket.c: Likewise.
36096 * socket/socketpair.c: Likewise.
36097 * stdio-common/ctermid.c: Likewise.
36098 * stdio-common/cuserid.c: Likewise.
36099 * stdio-common/remove.c: Likewise.
36100 * stdio-common/rename.c: Likewise.
36101 * stdio-common/renameat.c: Likewise.
36102 * stdio-common/tempname.c: Likewise.
36103 * stdlib/getcontext.c: Likewise.
36104 * stdlib/makecontext.c: Likewise.
36105 * stdlib/setcontext.c: Likewise.
36106 * stdlib/swapcontext.c: Likewise.
36107 * stdlib/system.c: Likewise.
36108 * streams/fattach.c: Likewise.
36109 * streams/fdetach.c: Likewise.
36110 * streams/getmsg.c: Likewise.
36111 * streams/getpmsg.c: Likewise.
36112 * streams/putmsg.c: Likewise.
36113 * streams/putpmsg.c: Likewise.
36114 * sysdeps/unix/bsd/getpt.c: Likewise.
36115 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36116 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36117 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36120 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36121 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36122 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36123 * sysvipc/msgctl.c: Likewise.
36124 * sysvipc/msgget.c: Likewise.
36125 * sysvipc/msgrcv.c: Likewise.
36126 * sysvipc/msgsnd.c: Likewise.
36127 * sysvipc/semctl.c: Likewise.
36128 * sysvipc/semget.c: Likewise.
36129 * sysvipc/semop.c: Likewise.
36130 * sysvipc/semtimedop.c: Likewise.
36131 * sysvipc/shmat.c: Likewise.
36132 * sysvipc/shmctl.c: Likewise.
36133 * sysvipc/shmdt.c: Likewise.
36134 * sysvipc/shmget.c: Likewise.
36135 * termios/tcdrain.c: Likewise.
36136 * termios/tcflow.c: Likewise.
36137 * termios/tcflush.c: Likewise.
36138 * termios/tcgetattr.c: Likewise.
36139 * termios/tcgetpgrp.c: Likewise.
36140 * termios/tcsendbrk.c: Likewise.
36141 * termios/tcsetattr.c: Likewise.
36142 * termios/tcsetpgrp.c: Likewise.
36143 * time/adjtime.c: Likewise.
36144 * time/clock.c: Likewise.
36145 * time/getitimer.c: Likewise.
36146 * time/gettimeofday.c: Likewise.
36147 * time/setitimer.c: Likewise.
36148 * time/settimeofday.c: Likewise.
36149 * time/stime.c: Likewise.
36150 * time/time.c: Likewise.
36152 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
36154 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36157 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36159 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36161 2012-11-03 Joseph Myers <joseph@codesourcery.com>
36164 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36165 FE_TONEAREST before applying Dekker multiplication and Knuth
36166 addition. Clear inexact exceptions and check for exact zero
36167 results afterwards.
36168 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36169 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36170 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36171 * math/libm-test.inc (fma_test): Add more tests.
36172 (fma_test_towardzero): Likewise.
36173 (fma_test_downward): Likewise.
36174 (fma_test_upward): Likewise.
36175 * sysdeps/generic/math_private.h (default_libc_fesetround): New
36177 (libc_fesetround): New macro.
36178 (libc_fesetroundf): Likewise.
36179 (libc_fesetroundl): Likewise.
36180 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36182 (libc_fesetround_387): Likewise.
36183 (libc_fesetroundf): New macro.
36184 (libc_fesetround): Likewise.
36185 (libc_fesetroundl): Likewise.
36186 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36188 (libc_fesetroundf): New macro.
36189 (libc_fesetround): Likewise.
36190 (libc_fesetroundl): Likewise.
36191 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36192 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36193 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36195 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36196 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36198 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36199 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36201 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36205 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36206 integer constant usable in #if and use that to give value to enum
36208 (FE_DIVBYZERO): Likewise.
36209 (FE_UNDERFLOW): Likewise.
36210 (FE_OVERFLOW): Likewise.
36211 (FE_INVALID): Likewise.
36212 (FE_INVALID_SNAN): Likewise.
36213 (FE_INVALID_ISI): Likewise.
36214 (FE_INVALID_IDI): Likewise.
36215 (FE_INVALID_ZDZ): Likewise.
36216 (FE_INVALID_IMZ): Likewise.
36217 (FE_INVALID_COMPARE): Likewise.
36218 (FE_INVALID_SOFTWARE): Likewise.
36219 (FE_INVALID_SQRT): Likewise.
36220 (FE_INVALID_INTEGER_CONVERSION): Likewise.
36221 (FE_TONEAREST): Likewise.
36222 (FE_TOWARDZERO): Likewise.
36223 (FE_UPWARD): Likewise.
36224 (FE_DOWNWARD): Likewise.
36225 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36226 (FE_DIVBYZERO): Likewise.
36227 (FE_OVERFLOW): Likewise.
36228 (FE_UNDERFLOW): Likewise.
36229 (FE_INEXACT): Likewise.
36230 (FE_TONEAREST): Likewise.
36231 (FE_DOWNWARD): Likewise.
36232 (FE_UPWARD): Likewise.
36233 (FE_TOWARDZERO): Likewise.
36234 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36235 (FE_UNDERFLOW): Likewise.
36236 (FE_OVERFLOW): Likewise.
36237 (FE_DIVBYZERO): Likewise.
36238 (FE_INVALID): Likewise.
36239 (FE_TONEAREST): Likewise.
36240 (FE_TOWARDZERO): Likewise.
36241 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36242 (FE_OVERFLOW): Likewise.
36243 (FE_UNDERFLOW): Likewise.
36244 (FE_DIVBYZERO): Likewise.
36245 (FE_INEXACT): Likewise.
36246 (FE_TONEAREST): Likewise.
36247 (FE_TOWARDZERO): Likewise.
36248 (FE_UPWARD): Likewise.
36249 (FE_DOWNWARD): Likewise.
36250 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36251 (FE_DIVBYZERO): Likewise.
36252 (FE_OVERFLOW): Likewise.
36253 (FE_UNDERFLOW): Likewise.
36254 (FE_INEXACT): Likewise.
36255 (FE_TONEAREST): Likewise.
36256 (FE_DOWNWARD): Likewise.
36257 (FE_UPWARD): Likewise.
36258 (FE_TOWARDZERO): Likewise.
36260 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
36262 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
36264 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
36266 * scripts/cross-test-ssh.sh (command): Use newlines to separate
36267 commands. Quote $PWD.
36268 (blacklist_exports): Don't use remove_newlines. Replace "declare
36270 (remove_newlines): Remove.
36272 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
36274 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
36275 * stdlib/stdlib.h (atof): Moved to ...
36276 * include/bits/stdlib-float.h: Here. New file.
36277 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
36278 * stdlib/bits/stdlib-float.h: New file.
36279 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
36281 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
36284 2012-11-02 Joseph Myers <joseph@codesourcery.com>
36286 * conform/conformtest.pl (@headers): Add fenv.h.
36287 * conform/data/fenv.h-data: New file.
36288 * include/fenv.h [_ISOMAC]: Disable all contents of file except
36289 include of <math/fenv.h>.
36291 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
36292 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
36293 && !UNIX98]. Enables tests for XOPEN2K8.
36294 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
36295 POSIX2008]: Likewise.
36297 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
36298 (struct rusage): Do not expect type or its members.
36301 * math/math.h (FP_NAN): Define macro to integer constant usable in
36302 #if and use that to give value to enum constant.
36303 (FP_INFINITE): Likewise.
36304 (FP_ZERO): Likewise.
36305 (FP_SUBNORMAL): Likewise.
36306 (FP_NORMAL): Likewise.
36308 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
36310 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
36311 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
36314 2012-11-02 Roland McGrath <roland@hack.frob.com>
36316 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
36317 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
36318 autoconf-time if not.
36319 * configure.in: Remove AC_PREREQ.
36321 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36323 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
36324 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
36325 of the internal implementation.
36327 2012-11-02 Joseph Myers <joseph@codesourcery.com>
36329 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
36330 except include of <misc/sys/syslog.h>.
36332 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
36335 function returns with a NULL context exit with zero.
36337 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36339 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
36341 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
36343 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
36344 (run_program_cmd): This.
36345 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
36346 (tst_langinfo): New variable. Use it.
36348 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
36350 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
36351 floating point opcodes.
36353 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36355 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
36358 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
36360 * sysdeps/mach/hurd/powerpc: Remove directory.
36361 * sysdeps/mach/powerpc: Likewise.
36363 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36365 * scripts/check-local-headers.sh: Ignore c++ headers.
36367 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36369 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
36370 __libc_cleanup_region_start argument.
36372 2012-11-01 Joseph Myers <joseph@codesourcery.com>
36376 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
36377 x * y using scaling, not as x * y + z.
36378 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36379 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36380 * math/libm-test.inc (fma_test): Add more tests.
36381 (fma_test_towardzero): Likewise.
36382 (fma_test_downward): Likewise.
36383 (fma_test_upward): Likewise.
36385 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36387 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
36389 2012-10-31 Joseph Myers <joseph@codesourcery.com>
36391 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
36394 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
36396 * rt/tst-shm.c (worker): Correct checking for mmap failure.
36398 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36405 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36408 Fix the order of the list for glibc 2.17.
36409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36412 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36416 2012-10-31 Joseph Myers <joseph@codesourcery.com>
36419 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
36420 for low part of x being zero before using __atanl (y).
36421 * math/libm-test.inc (atan2_test): Add another test.
36423 * manual/install.texi (Configuring and compiling): Document
36424 general use of test-wrapper and test-wrapper-env.
36425 * INSTALL: Regenerated.
36427 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
36428 (__fma): Do not extract and scale down low bits on after-rounding
36429 systems when result rounded to normal precision would have normal
36431 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
36432 (__fmal): Do not extract and scale down low bits on after-rounding
36433 systems when result rounded to normal precision would have normal
36435 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
36436 (__fmal): Do not extract and scale down low bits on after-rounding
36437 systems when result rounded to normal precision would have normal
36439 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
36441 (fma_test): Add more tests.
36442 (fma_test_towardzero): Likewise.
36443 (fma_test_downward): Likewise.
36444 (fma_test_upward): Likewise.
36446 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
36448 * sysdeps/i386/tininess.h: Renamed to ...
36449 * sysdeps/x86/tininess.h: This.
36450 * sysdeps/x86_64/tininess.h: Removed.
36452 2012-10-30 Joseph Myers <joseph@codesourcery.com>
36454 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
36455 input. Use $(build-program-cmd).
36456 ($(objpfx)tst-array1-static.out): Likewise.
36457 ($(objpfx)tst-array2.out): Likewise.
36458 ($(objpfx)tst-array3.out): Likewise.
36459 ($(objpfx)tst-array4.out): Likewise.
36460 ($(objpfx)tst-array5.out): Likewise.
36461 ($(objpfx)tst-array5-static.out): Likewise.
36463 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
36465 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
36468 * nss/nsswitch.h (nss_interface_function): Provide new
36469 macro for use with NSS functions.
36470 * grp/initgroups.c: Use new macro.
36471 * nss/getXXbyYY.c: Likewise.
36472 * nss/getXXbyYY_r.c: Likewise.
36473 * nss/getXXent.c: Likewise.
36474 * nss/getXXent_r.c: Likewise.
36475 * sysdeps/posix/getaddrinfo.c: Likewise.
36477 2012-10-30 Andreas Jaeger <aj@suse.de>
36479 * po/ru.po: Update Russion translation from translation project.
36481 2012-10-30 Joseph Myers <joseph@codesourcery.com>
36485 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
36486 result and shift together with sticky bit instead of replicating
36487 round-to-nearest rounding.
36488 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36489 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36490 * math/libm-test.inc (fma_test): Add more tests. Do not permit
36491 missing underflow exceptions.
36492 (fma_test_towardzero): Add more tests.
36493 (fma_test_downward): Likewise.
36494 (fma_test_upward): Likewise.
36497 * sysdeps/generic/tininess.h: New file.
36498 * sysdeps/i386/tininess.h: Likewise.
36499 * sysdeps/sh/tininess.h: Likewise.
36500 * sysdeps/x86_64/tininess.h: Likewise.
36501 * stdlib/tst-strtod-underflow.c: Likewise.
36502 * stdlib/tst-tininess.c: Likewise.
36503 * stdlib/strtod_l.c: Include <tininess.h>.
36504 (round_and_return): Do not set errno for exact underflow cases.
36505 Force an underflow exception when setting errno for underflow.
36506 Determine underflow based on rounding to normal precision if
36507 TININESS_AFTER_ROUNDING.
36508 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
36509 ERANGE for exact underflow cases.
36510 * stdlib/Makefile (tests): Add tst-tininess and
36511 tst-strtod-underflow.
36512 ($(objpfx)tst-tininess): Use $(link-libm).
36513 ($(objpfx)tst-strtod-underflow): Likewise.
36515 2012-10-30 Andreas Jaeger <aj@suse.de>
36518 * elf/Makefile (tests): Remove conditional for have-initfini-array
36519 since this is now always required and the variable does not exist
36521 (tests-static): Likewise.
36522 (modules-names): Likewise.
36524 * po/eo.po: Add Esperanto translation from translation project.
36526 * elf/tst-array1.c (fini_array): Make writeable so that it can be
36527 merged with constructor/destructor.
36528 (init_array): Likewise.
36529 * elf/tst-array2dep.c (fini_array): Likewise.
36530 (init_array): Likewise.
36532 2012-10-29 Mike Frysinger <vapier@gentoo.org>
36534 * manual/message.texi: Delete @cartouche tags.
36536 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
36538 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
36540 * sysdeps/mach/hurd/fsync.c: Likewise.
36542 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
36543 [_POSIX_REALTIME_SIGNALS]: Change condition to
36544 [_POSIX_REALTIME_SIGNALS > 0].
36546 2012-10-27 Andreas Jaeger <aj@suse.de>
36548 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
36549 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
36550 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
36551 [__WORDSIZE != 64]: Likewise.
36553 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
36555 * iconvdata/tst-table.sh: Remove ${SHELL}.
36556 * iconvdata/tst-tables.sh: Likewise.
36558 2012-10-25 David S. Miller <davem@davemloft.net>
36560 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36561 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
36564 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
36566 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36567 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
36568 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
36571 2012-10-25 Roland McGrath <roland@hack.frob.com>
36573 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36574 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
36577 2012-10-25 Joseph Myers <joseph@codesourcery.com>
36578 Jim Blandy <jimb@codesourcery.com>
36580 * scripts/cross-test-ssh.sh: New file.
36581 * manual/install.texi (Configuring and compiling): Document use of
36583 * INSTALL: Regenerated.
36585 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
36587 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
36590 2012-10-25 Joseph Myers <joseph@codesourcery.com>
36592 * Makeconfig (run-program-prefix): Fix comment.
36594 2012-10-24 Joseph Myers <joseph@codesourcery.com>
36595 Jim Blandy <jimb@codesourcery.com>
36597 * Makeconfig (test-wrapper): New variable,
36598 (test-wrapper-env): Likewise.
36599 [$(cross-compiling) = yes && $(test-wrapper) != ""]
36600 (run-built-tests): Define to yes.
36601 (run-program-prefix): Use $(test-wrapper).
36602 (built-program-cmd): Likewise.
36603 * Rules (make-test-out): Use $(test-wrapper-env) and
36604 $(host-built-program-cmd).
36605 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
36606 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
36608 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
36609 $(test-wrapper-env) to tst-rtld-load-self.sh.
36610 ($(objpfx)order2.out): Use $(test-wrapper).
36611 ($(objpfx)tst-initorder.out): Likewise.
36612 ($(objpfx)tst-initorder2.out): Likewise.
36613 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
36614 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
36615 (test_wrapper_env): New variable. Use it to run ld.so.
36616 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
36617 Use it to run ld.so.
36618 (test_wrapper_env): Likewise.
36619 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
36620 $(test-wrapper) to run-iconv-test.sh.
36621 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
36622 (ICONV): Use $test_wrapper.
36623 * posix/Makefile ($(objpfx)globtest.out): Pass
36624 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
36625 globtest.sh, not $(run-program-prefix).
36626 * posix/globtest.sh (run_via_rtld_prefix): New variable.
36627 (test_wrapper): Likewise.
36628 (test_wrapper_env): Likewise. Use it to run globtest with HOME
36629 set together with run_via_rtld_prefix.
36630 (run_program_prefix): Define in terms of test_wrapper and
36631 run_via_rtld_prefix.
36633 2012-10-24 Roland McGrath <roland@hack.frob.com>
36635 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
36636 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
36640 * include/time.h: Remove librt_hidden_proto (clock_gettime).
36641 Declare __clock_getres, __clock_gettime, __clock_settime,
36642 __clock_nanosleep, and __clock_getcpuclockid.
36643 * rt/clock_gettime.c: Define __clock_gettime as an alias.
36644 Remove librt_hidden_def (clock_gettime).
36645 * sysdeps/unix/clock_gettime.c: Likewise.
36646 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
36647 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
36648 * rt/clock_getres.c: Define __clock_getres as an alias.
36649 * sysdeps/posix/clock_getres.c: Likewise.
36650 * rt/clock_settime.c: Define __clock_settime as an alias.
36651 * sysdeps/unix/clock_settime.c: Likewise.
36652 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
36653 * sysdeps/unix/clock_nanosleep.c: Likewise.
36654 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
36655 * rt/clock-compat.c: New file.
36656 * rt/Makefile (librt-routines): Add clock-compat and move
36657 $(clock-routines) to ...
36658 (routines): ... here, new variable.
36659 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
36660 Don't add get_clockfreq here.
36661 * rt/Versions (libc: GLIBC_2.17): New version set.
36662 Add clock_* symbols here.
36663 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
36664 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
36665 (GLIBC_2.17): Add clock_* symbols.
36666 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36668 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36673 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36674 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36676 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36677 * NEWS: Mention the move.
36679 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36680 Use __open, __read, __close rather than their public counterparts.
36681 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36682 (__get_clockfreq_via_cpuinfo): Likewise.
36683 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
36684 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
36686 * config.h.in (HAVE_IFUNC): New #undef.
36687 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
36689 * configure: Regenerated.
36691 2012-10-24 Mike Frysinger <vapier@gentoo.org>
36693 * configure.in: Move READELF check to start of file.
36694 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
36695 libc_cv_asm_gnu_indirect_function in the process.
36696 * configure: Regenerated.
36698 2012-10-24 Mike Frysinger <vapier@gentoo.org>
36700 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
36701 send the output to /dev/null.
36702 (libc_cv_cc_with_libunwind): Likewise.
36703 (libc_cv_as_noexecstack): Likewise.
36704 * configure: Regenerate.
36706 2012-10-24 Joseph Myers <joseph@codesourcery.com>
36708 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
36710 * posix/globtest.sh (TMPDIR): Do not set.
36711 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
36712 (testout): Likewise.
36714 2012-10-24 Andreas Jaeger <aj@suse.de>
36716 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
36717 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
36718 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
36719 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
36720 posix_fadvise64, posix_fallocate64.
36722 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
36723 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
36724 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
36726 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
36728 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
36730 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
36731 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
36732 <bits/fcntl-linux.h>.
36733 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
36735 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
36736 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
36737 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
36738 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
36739 [__WORDSIZE != 64]: Likewise.
36741 2012-10-23 Joseph Myers <joseph@codesourcery.com>
36743 * Makeconfig (run-built-tests): New variable.
36744 * Rules [$(cross-compiling) = yes]: Change condition to
36745 [$(run-built-tests) = no].
36746 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
36747 to [$(run-built-tests) = yes].
36748 * elf/Makefile [$(cross-compiling) = no]: Likewise
36749 * grp/Makefile [$(cross-compiling) = no]: Likewise.
36750 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
36751 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
36752 * intl/Makefile [$(cross-compiling) = no]: Likewise.
36753 * io/Makefile [$(cross-compiling) = no]: Likewise.
36754 * libio/Makefile [$(cross-compiling) = no]: Likewise.
36755 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
36756 * misc/Makefile [$(cross-compiling) = no]: Likewise.
36757 * posix/Makefile [$(cross-compiling) = no]: Likewise.
36758 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
36759 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
36760 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
36761 * string/Makefile [$(cross-compiling) = no]: Likewise.
36763 * posix/Makefile ($(objpfx)globtest.out): Pass
36764 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
36765 $(rtld-installed-name).
36766 * posix/globtest.sh (elf_objpfx): Remove variable.
36767 (rtld_installed_name): Likewise.
36768 (library_path): Likewise.
36769 (run_program_prefix): New variable. Use for running globtest
36772 2012-10-23 Jim Blandy <jimb@codesourcery.com>
36773 Joseph Myers <joseph@codesourcery.com>
36775 * Makeconfig (host-built-program-cmd): New variable.
36776 * elf/Makefile (tst-stackguard1-ARGS): Use
36777 $(host-built-program-cmd).
36778 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36779 (tst-spawn-ARGS): Likewise.
36780 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36782 2012-10-23 Joseph Myers <joseph@codesourcery.com>
36783 Jim Blandy <jimb@codesourcery.com>
36785 * Makeconfig (run-via-rtld-prefix): New variable.
36786 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36787 (built-program-cmd): Likewise.
36789 2012-10-22 Andreas Jaeger <aj@suse.de>
36791 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36792 __O_RSYNC if it exists, otherwise to O_SYNC.
36794 2012-10-22 Jim Blandy <jimb@codesourcery.com>
36795 Joseph Myers <joseph@codesourcery.com>
36797 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36799 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36801 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36804 2012-10-22 Andreas Jaeger <aj@suse.de>
36806 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36808 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36810 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36811 bits/fcntl-linux.h.
36813 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36814 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36816 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36818 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36821 2012-10-21 Jim Blandy <jimb@codesourcery.com>
36822 Joseph Myers <joseph@codesourcery.com>
36824 * config.make.in (NM): New variable.
36826 2012-10-21 Andreas Jaeger <aj@suse.de>
36828 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36829 definitions and declarations that are provided by
36830 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36832 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36835 * elf/Makefile (tests-static): Add tst-leaks1-static.
36836 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36837 ($(objpfx)tst-leaks1-static): New rule.
36838 ($(objpfx)tst-leaks1-static-mem): Likewise.
36839 (tst-leaks1-static-ENV): New macro.
36840 * elf/dl-open.c (dl_open_worker): Check the main application
36841 only if SHARED is defined.
36842 * elf/tst-leaks1-static.c: New file.
36844 2012-10-20 Andreas Jaeger <aj@suse.de>
36846 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36847 generic values for Linux.
36848 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36849 and declarations that are provided by <bits/fcntl-linux.h> and
36850 include <bits/fcntl-linux.h>.
36851 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36852 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36854 2012-10-20 Roland McGrath <roland@hack.frob.com>
36856 * io/fcntl.h: Move include of <bits/types.h> to the top and
36857 include it unconditionally.
36859 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36861 * wcsmbs/Makefile (tests-ifunc): New variable.
36862 (tests): Add $(tests-ifunc).
36863 * wcsmbs/test-wcschr-ifunc.c: New file.
36864 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36865 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36866 * wcsmbs/test-wcslen-ifunc.c: Likewise.
36867 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36868 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36870 * string/Makefile (tests-ifunc): New variable.
36871 (tests): Add $(tests-ifunc).
36872 * string/test-memccpy.c (TEST_NAME): New macro.
36873 * string/test-memchr.c (TEST_NAME): Likewise.
36874 * string/test-memcmp.c (TEST_NAME): Likewise.
36875 * string/test-memcpy.c (TEST_NAME): Likewise.
36876 * string/test-memmem.c (TEST_NAME): Likewise.
36877 * string/test-memmove.c (TEST_NAME): Likewise.
36878 * string/test-memset.c (TEST_NAME): Likewise.
36879 * string/test-rawmemchr.c (TEST_NAME): Likewise.
36880 * string/test-stpcpy.c (TEST_NAME): Likewise.
36881 * string/test-stpncpy.c (TEST_NAME): Likewise.
36882 * string/test-strcasecmp.c (TEST_NAME): Likewise.
36883 * string/test-strcasestr.c (TEST_NAME): Likewise.
36884 * string/test-strcat.c (TEST_NAME): Likewise.
36885 * string/test-strchr.c (TEST_NAME): Likewise.
36886 * string/test-strcmp.c(TEST_NAME): Likewise.
36887 * string/test-strcpy.c (TEST_NAME): Likewise.
36888 * string/test-strcspn.c (TEST_NAME): Likewise.
36889 * string/test-strlen.c (TEST_NAME): Likewise.
36890 * string/test-strncasecmp.c (TEST_NAME): Likewise.
36891 * string/test-strncmp.c (TEST_NAME): Likewise.
36892 * string/test-strncpy.c (TEST_NAME): Likewise.
36893 * string/test-strnlen.c (TEST_NAME): Likewise.
36894 * string/test-strpbrk.c (TEST_NAME): Likewise.
36895 * string/test-strrchr.c (TEST_NAME): Likewise.
36896 * string/test-strspn.c (TEST_NAME): Likewise.
36897 * string/test-strstr.c (TEST_NAME): Likewise.
36898 * string/test-bcopy-ifunc.c: New file.
36899 * string/test-bzero-ifunc.c: Likewise.
36900 * string/test-memccpy-ifunc.c: Likewise.
36901 * string/test-memchr-ifunc.c: Likewise.
36902 * string/test-memcmp-ifunc.c: Likewise.
36903 * string/test-memcpy-ifunc.c: Likewise.
36904 * string/test-memmem-ifunc.c: Likewise.
36905 * string/test-memmove-ifunc.c: Likewise.
36906 * string/test-mempcpy-ifunc.c: Likewise.
36907 * string/test-memset-ifunc.c: Likewise.
36908 * string/test-rawmemchr-ifunc.c: Likewise.
36909 * string/test-stpcpy-ifunc.c: Likewise.
36910 * string/test-stpncpy-ifunc.c: Likewise.
36911 * string/test-strcasecmp-ifunc.c: Likewise.
36912 * string/test-strcasestr-ifunc.c: Likewise.
36913 * string/test-strcat-ifunc.c: Likewise.
36914 * string/test-strchr-ifunc.c: Likewise.
36915 * string/test-strchrnul-ifunc.c: Likewise.
36916 * string/test-strcmp-ifunc.c: Likewise.
36917 * string/test-strcpy-ifunc.c: Likewise.
36918 * string/test-strcspn-ifunc.c: Likewise.
36919 * string/test-strlen-ifunc.c: Likewise.
36920 * string/test-strncasecmp-ifunc.c: Likewise.
36921 * string/test-strncat-ifunc.c: Likewise.
36922 * string/test-strncmp-ifunc.c: Likewise.
36923 * string/test-strncpy-ifunc.c: Likewise.
36924 * string/test-strnlen-ifunc.c: Likewise.
36925 * string/test-strpbrk-ifunc.c: Likewise.
36926 * string/test-strrchr-ifunc.c: Likewise.
36927 * string/test-strspn-ifunc.c: Likewise.
36928 * string/test-strstr-ifunc.c: Likewise.
36930 * debug/Makefile (tests-ifunc): New variable.
36931 (tests): Add $(tests-ifunc).
36932 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36933 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36934 * debug/test-stpcpy_chk-ifunc.c: New file.
36935 * debug/test-strcpy_chk-ifunc.c: Likewise.
36937 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36940 * elf/dl-load.c (open_verify): Retry read if the entire ELF
36941 header is not read in.
36943 2012-10-19 Joseph Myers <joseph@codesourcery.com>
36945 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
36946 script to $(SHELL) as $<. Pass $(common-objpfx) to script
36947 directly. Pass built executable to script as
36948 $(built-program-cmd).
36949 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
36950 $testprogram without using LD_LIBRARY_PATH and $ldso.
36952 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36953 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36954 $(rtld-installed-name).
36955 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36956 (rtld_installed_name): Likewise.
36957 (library_path): Likewise.
36958 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
36959 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36960 $(run-program-prefix) to tst-tables.sh.
36961 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
36962 it to run tst-table-from and tst-table-to.
36963 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36964 Pass it to tst-table.sh.
36965 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36966 $(run-program-prefix) to tst-gettext.sh.
36967 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36969 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36971 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
36972 to run tst-gettext.
36973 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
36974 to run tst-gettext2.
36975 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
36976 to run tst-translit.
36977 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36978 $(run-program-prefix) to tst-mtrace.sh.
36979 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
36981 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36982 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36983 $(rtld-installed-name).
36984 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36985 (rtld_installed_name): Likewise.
36986 (run_program_prefix): New variable. Use it to run wordexp-test.
36988 * Makeconfig (ARCH): Remove all definitions.
36989 (machine): Likewise.
36990 [ARCH]: Remove conditional code.
36991 [!objdir]: Give error.
36992 [!objdir] (objpfx): Remove.
36993 [!objdir] (common-objpfx): Likewise.
36994 [!objdir] (common-objdir): Likewise.
36995 * configure.in (config_makefile): Remove. Hardcode Makefile in
36996 AC_CONFIG_FILES call.
36997 * configure: Regenerated.
37000 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37002 (testout): Likewise.
37004 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37005 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37006 $(rtld-installed-name).
37007 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37008 (rtld_installed_name): Likwise.
37009 (runit): Remove function.
37010 (run_getconf): New variable, Use it for running getconf binary.
37012 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
37015 * string/test-memmem.c (check_result): New function.
37016 (do_one_test): Use it.
37017 (check1): New function.
37018 (test_main): Use it.
37020 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
37022 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
37024 2012-10-18 Joseph Myers <joseph@codesourcery.com>
37026 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
37027 (_G_LSEEK64): Likewise.
37028 (_G_MMAP64): Likewise.
37029 (_G_FSTAT64): Likewise.
37030 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
37031 (_G_LSEEK64): Likewise.
37032 (_G_MMAP64): Likewise.
37033 (_G_FSTAT64): Likewise.
37034 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
37035 unconditional. Call __mmap64 directly.
37036 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
37037 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
37038 __lseek64 directly.
37039 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
37040 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
37042 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
37043 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
37044 __lseek64 directly.
37045 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37046 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
37047 __lseek64 directly.
37048 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37049 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
37050 __lseek64 directly.
37051 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37052 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
37053 __fxstat64 directly.
37054 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37055 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37057 (freopen64) [!_G_OPEN64]: Remove conditional code.
37058 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37060 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37061 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37063 (ftello64) [!_G_LSEEK64]: Remove conditional code.
37064 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37066 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37067 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37069 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37070 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37072 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37073 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
37075 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37076 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
37078 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37080 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37083 * manual/memory.texi (Malloc Tunable Parameters): Add note
37084 about free list pointers overwriting some perturb bytes.
37085 Wording suggested by Roland McGrath.
37087 2012-10-17 Joseph Myers <joseph@codesourcery.com>
37089 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37090 (lgamma_test): Likewise.
37091 (tgamma_test): Likewise.
37093 2012-10-16 Florian Weimer <fweimer@redhat.com>
37096 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37097 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37099 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
37101 * NEWS: Mention BZ #14716.
37102 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37103 when removing AVAILABLE1_USES_J macro.
37105 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
37107 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37108 (__bswap_64): __uint64_t for unsigned 64-bit int.
37110 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
37112 * include/string.h (memmem): Declare libc hidden alias.
37113 * string/memmem.c (memmem): Define libc hidden alias.
37114 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37115 __read, __close instead of open, read, close.
37117 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
37119 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37120 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37122 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37123 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37124 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37126 (__rawmemchr_sse2): Likewise.
37127 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37128 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37129 (__strchr_sse2): Likewise.
37130 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37131 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37132 (__strcasecmp_sse2): Likewise.
37133 (__strncasecmp_sse2): Likewise.
37134 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37135 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37136 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37137 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37138 (__strrchr_sse2): Likewise.
37139 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37141 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37142 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37143 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37144 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37145 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37146 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37147 * sysdeps/x86_64/multiarch/memset.S: Likewise.
37148 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37149 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37150 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37151 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37152 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37153 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37154 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37155 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37156 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37157 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37158 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37159 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37160 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37161 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
37162 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
37163 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37164 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37165 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37166 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37167 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37168 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37169 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37170 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37172 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37174 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37175 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37176 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37177 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37179 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37181 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37182 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37183 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37184 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37186 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37187 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37188 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37189 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37190 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37191 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37192 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37193 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37194 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37195 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37196 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37197 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37198 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37199 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37200 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37201 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37202 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37203 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37204 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37205 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37206 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37207 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37208 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37209 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37210 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37211 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37212 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37213 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37214 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37215 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37216 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37217 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37218 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37219 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37220 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37221 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37222 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37223 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37224 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37225 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37226 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37228 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37229 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37230 * include/ifunc-impl-list.h: New file.
37231 * misc/ifunc-impl-list.c: Likewise.
37232 * misc/Makefile (routines): Add ifunc-impl-list.
37233 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37234 * string/test-string.h: Include <ifunc-impl-list.h>.
37235 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37236 TEST_NAME]: New variables.
37237 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37239 (test_init): Call __libc_ifunc_impl_list to initialize
37240 func_list if TEST_IFUNC and TEST_NAME are defined.
37242 * string/Makefile (strop-tests): Add bcopy and bzero.
37243 * string/test-bcopy.c: New file.
37244 * string/test-bzero.c: Likewise.
37245 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37247 * string/test-memset.c: Support bzero test if TEST_BZERO is
37249 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37251 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37253 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37256 2012-10-10 Joseph Myers <joseph@codesourcery.com>
37258 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
37259 * configure: Regenerated.
37261 * Makeconfig (+link-static-before-libc): Don't include
37262 $(link-static-libc).
37264 * libio/libio.h (_IO_pos_t): Remove.
37266 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
37268 * NEWS: Add note about FIPS mode. Wording suggested by Roland
37271 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
37273 * crypt/crypt-entry.c: Include fips-private.h.
37274 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
37275 * crypt/md5c-test.c (main): Tolerate disabled MD5.
37276 * sysdeps/unix/sysv/linux/fips-private.h: New file.
37277 * sysdeps/generic/fips-private.h: New file, dummy fallback.
37279 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
37281 * crypt/crypt-private.h: Include stdbool.h.
37282 (_ufc_setup_salt_r): Return bool.
37283 * crypt/crypt-entry.c: Include errno.h.
37284 (__crypt_r): Return NULL with EINVAL for bad salt.
37285 * crypt/crypt_util.c (bad_for_salt): New.
37286 (_ufc_setup_salt_r): Check that salt is long enough and within
37287 the specified alphabet.
37288 * crypt/badsalttest.c: New file.
37289 * crypt/Makefile (tests): Add it.
37290 ($(objpfx)badsalttest): New.
37292 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
37294 * NEWS: Add entry for BZ #14602.
37296 2012-10-09 Joseph Myers <joseph@codesourcery.com>
37298 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
37300 * math/libm-test.inc: Update comment listing what functions and
37302 (isgreater_test): New function.
37303 (isgreaterequal_test): Likewise.
37304 (isless_test): Likewise.
37305 (islessequal_test): Likewise.
37306 (islessgreater_test): Likewise.
37307 (isunordered_test): Likewise.
37308 (main): Call the new functions.
37310 2012-10-09 Roland McGrath <roland@hack.frob.com>
37312 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
37313 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
37314 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
37315 * sysdeps/i386/configure: Regenerated.
37316 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
37317 * sysdeps/mach/configure: Regenerated.
37318 * sysdeps/mach/hurd/configure: Regenerated.
37319 * sysdeps/powerpc/configure: Regenerated.
37320 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37321 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37322 * sysdeps/s390/s390-32/configure: Regenerated.
37323 * sysdeps/s390/s390-64/configure: Regenerated.
37324 * sysdeps/sh/configure: Regenerated.
37325 * sysdeps/sparc/configure: Regenerated.
37326 * sysdeps/unix/sysv/linux/configure: Regenerated.
37327 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37328 * sysdeps/x86_64/configure: Regenerated.
37330 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
37331 defined. Don't check if MAP is NULL.
37333 2012-10-09 Joseph Myers <joseph@codesourcery.com>
37335 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
37336 (_G_stat64): Likewise.
37337 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
37338 (_G_stat64): Likewise.
37339 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
37340 instead of struct _G_stat64.
37341 * libio/fileops.c (mmap_remap_check): Likewise.
37342 (decide_maybe_mmap): Likewise.
37343 (_IO_new_file_seekoff): Likewise.
37344 (_IO_file_stat): Likewise.
37345 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
37347 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
37348 instead of struct _G_stat64.
37349 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37351 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
37354 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37356 (CHECK_EOL): New macro.
37357 (two_way_short_needle): Check beginning of haystack for EOL. Use
37359 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37360 Replace with CHECK_EOL.
37361 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37362 Replace with CHECK_EOL.
37364 2012-10-08 Joseph Myers <joseph@codesourcery.com>
37366 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
37368 * math/libm-test.inc: Update comment listing what functions and
37370 (finite_test): New function.
37371 (isinf_test): Likewise.
37372 (isnan_test): Likewise.
37373 (fpclassify_test): Test subnormal input.
37374 (isfinite_test): Likewise.
37375 (isnormal_test): Likewise.
37376 (main): Call the new functions.
37378 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
37381 * Makerules (%.dynsym): Force C locale when running
37382 $(OBJDUMP) --dynamic-syms.
37384 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
37386 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
37389 2012-10-06 David S. Miller <davem@davemloft.net>
37391 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
37392 upper 32-bits of the length value in %o2 since we use branch-on-register
37393 tests which consider the entire 64-bit register.
37395 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
37397 * string/test-strstr.c (check2): Add a test for page boundary.
37399 2012-10-05 David S. Miller <davem@davemloft.net>
37401 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
37402 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
37404 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37406 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37407 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
37408 and bzero when HWCAP_SPARC_CRYPTO is present.
37410 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
37413 * string/test-strstr.c (check2): New function.
37414 (test_main): Call check2.
37416 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
37418 * string/bug-strcasestr1.c (do_test): Moved to ...
37419 * string/test-strcasestr.c (check1): Here. New function.
37420 (do_one_test): Break out result checking code into ...
37421 (check_result): This. New function.
37422 (do_one_test): Call check_result.
37423 (test_main): Call check1.
37424 * string/bug-strchr1.c (do_test): Moved to ...
37425 * string/test-strchr.c (check1): Here. New function.
37426 (do_one_test): Break out result checking code into ...
37427 (check_result): This. New function.
37428 (do_one_test): Call check_result.
37429 (test_main): Call check1.
37430 * string/bug-strstr1.c (main): Moved to ...
37431 * string/test-strstr.c (check1): Here. New function.
37432 (do_one_test): Break out result checking code into ...
37433 (check_result): This. New function.
37434 (do_one_test): Call check_result.
37435 (test_main): Call check1.
37436 * string/bug-strcasestr1.c: Removed.
37437 * string/bug-strchr1.c: Likewise.
37438 * string/bug-strstr1.c: Likewise.
37440 * elf/Makefile (dl-routines): Add hwcaps.
37441 * elf/dl-support.c (_dl_important_hwcaps): Removed.
37442 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
37443 (_dl_important_hwcaps): Moved to ...
37444 * elf/dl-hwcaps.c: Here. New file.
37445 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
37448 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
37449 if IS_IN_rtld isn't defined.
37451 * elf/dl-support.c (_dl_sysinfo_map): New.
37452 Include "get-dynamic-info.h" and "setup-vdso.h".
37453 (_dl_non_dynamic_init): Call setup_vdso.
37454 * elf/dynamic-link.h: Don't include <assert.h>.
37455 (elf_get_dynamic_info): Moved to ...
37456 * elf/get-dynamic-info.h: Here. New file.
37457 * elf/dynamic-link.h: Include "get-dynamic-info.h".
37458 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
37459 * elf/setup-vdso.h: Here. New file.
37460 * elf/rtld.c: Include "setup-vdso.h".
37461 (dl_main): Call setup_vdso.
37463 2012-10-05 Joseph Myers <joseph@codesourcery.com>
37465 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
37466 creal in comment listing functions tested. List finite, isinf,
37467 isnan, isless, islessequal, isgreater, isgreaterequal,
37468 islessgreater, isunordered, lgamma_r and pow10 as functions and
37469 macros not tested. Mention which functions not tested are aliases
37470 for other functions. Fix typo. Note that signs of NaNs are not
37473 * scripts/config.guess: Update from config.git.
37474 * scripts/config.sub: Likewise.
37476 2012-10-04 Roland McGrath <roland@hack.frob.com>
37478 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
37479 * misc/madvise.c (madvise): Renamed to __madvise.
37480 Make madvise a weak alias.
37481 * include/sys/mman.h: Declare __madvise.
37482 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
37483 * sysdeps/unix/syscalls.list
37484 (madvise): Make __madvise the strong name, and madvise a weak alias.
37485 * sysdeps/unix/sysv/linux/syscalls.list
37486 (madvise, mmap): Remove redundant entries.
37487 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
37488 * malloc/malloc.c (mtrim): Likewise.
37489 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
37491 2012-10-03 Roland McGrath <roland@hack.frob.com>
37493 * sysdeps/mach/hurd/dl-cache.c: File removed.
37494 * config.h.in (USE_LDCONFIG): New #undef.
37495 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
37496 * configure: Regenerated.
37497 * elf/Makefile (dl-routines): Add dl-cache only under
37498 [$(use-ldconfig) = yes].
37499 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
37500 cache on [USE_LDCONFIG].
37501 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
37503 * elf/rtld.c (dl_main): Likewise.
37505 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
37507 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
37508 _SC_LEVEL4_CACHE_LINESIZE.
37510 2012-10-03 Roland McGrath <roland@hack.frob.com>
37512 * sysdeps/unix/bsd/confstr.h: File removed.
37514 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
37516 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
37519 2012-10-02 Roland McGrath <roland@hack.frob.com>
37521 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
37522 Make 'mapoff' field ElfW(Off) rather than off_t.
37524 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
37526 * nscd/Makefile: Remove nscd-cflags and all its users.
37527 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
37528 (CFLAGS-nonlib): Add compiler flags for nscd modules.
37531 * malloc.c (malloc_printerr): Clarify error message.
37533 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
37536 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37537 Set bit_FMA_Usable if FMA is supported.
37538 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
37540 (bit_FMA4_Usable): Updated.
37541 (index_FMA_Usable): New macro.
37542 (CPUID_FMA): Likewise
37543 (HAS_FMA): Defined with bit_FMA_Usable.
37545 2012-10-01 Roland McGrath <roland@hack.frob.com>
37547 * bits/types.h (__swblk_t): Type removed.
37548 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
37549 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
37550 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37551 (__SWBLK_T_TYPE): Likewise.
37552 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37553 (__SWBLK_T_TYPE): Likewise.
37554 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37555 (__SWBLK_T_TYPE): Likewise.
37556 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37557 (__SWBLK_T_TYPE): Likewise.
37559 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
37560 Honza Horak <hhorak@redhat.com>
37562 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
37563 (xdr_mapname): Use YPMAXMAP as maxsize.
37564 (xdr_peername): Use YPMAXPEER as maxsize.
37565 (xdr_keydat): Use YPAXRECORD as maxsize.
37566 (xdr_valdat): Use YPMAXRECORD as maxsize.
37568 2012-10-01 Roland McGrath <roland@hack.frob.com>
37570 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
37572 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
37573 * csu/init-first.c: ... here.
37574 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
37575 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37576 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37577 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37578 * sysdeps/i386/init-first.c: File removed.
37579 * sysdeps/sh/init-first.c: File removed.
37581 2012-10-01 Joseph Myers <joseph@codesourcery.com>
37584 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
37585 if x * y might underflow to zero and z is zero.
37586 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37587 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37588 * math/libm-test.inc (min_subnorm_value): New variable.
37589 (fma_test): Add more tests.
37590 (fma_test_towardzero): Likewise.
37591 (fma_test_downward): Likewise
37592 (fma_test_upward): Likewise.
37593 (initialize): Set min_subnorm_value.
37595 2012-09-29 Joseph Myers <joseph@codesourcery.com>
37598 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
37600 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
37601 mode for addition resulting in exact zero.
37602 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
37603 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
37605 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37606 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37607 * math/libm-test.inc (fma_test): Add more tests.
37608 (fma_test_towardzero): New function.
37609 (fma_test_downward): Likewise.
37610 (fma_test_upward): Likewise.
37611 (main): Call the new functions.
37613 2012-09-28 David S. Miller <davem@davemloft.net>
37615 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
37617 2012-09-28 Roland McGrath <roland@hack.frob.com>
37619 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
37620 instead of SIGALRM.
37622 * sysdeps/gnu/_G_config.h: Moved to ...
37623 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
37624 * sysdeps/mach/hurd/_G_config.h: Moved to ...
37625 * sysdeps/generic/_G_config.h: ... here.
37627 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
37629 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
37631 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
37632 Conditionalize target on [libnss_test1.so-version].
37634 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
37636 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
37637 (elfobjdir): Move out of conditionals.
37639 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
37640 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
37641 (__nss_lookup_function): Conditionalize label remove_from_tree on
37642 [!DO_STATIC_NSS || SHARED], matching its only use.
37644 2012-09-28 David S. Miller <davem@davemloft.net>
37646 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
37647 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
37649 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37651 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37652 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
37653 when HWCAP_SPARC_CRYPTO is present.
37655 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37657 * io/tst-mknodat.c: Create a FIFO instead of a socket.
37659 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
37662 * stdio-common/vfprintf.c (process_string_arg): Revert
37665 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
37667 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
37669 * stdio-common/tst-sprintf.c: Include <locale.h>
37670 (main): Test sprintf's handling of incomplete multibyte
37673 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
37675 * elf/dl-runtime.c (VERSYMIDX): Removed.
37676 * elf/dl-version.c (VERSYMIDX): Likewise.
37677 * elf/do-rel.h (VERSYMIDX): Likewise.
37678 (VALIDX): Likewise.
37679 * elf/dynamic-link.h (VERSYMIDX): Likewise.
37680 * elf/rtld.c (VALIDX): Likewise.
37681 (ADDRIDX): Likewise.
37682 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
37683 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
37684 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
37685 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
37686 (VALIDX): Likewise.
37687 (ADDRIDX): Likewise.
37689 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37691 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
37693 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
37696 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
37698 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
37699 addresses are in the same scope as 192.0.2/24.
37700 * posix/gai.conf: Document new scope table defaults.
37702 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37705 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
37706 for ftell. Compute offsets from write pointers instead.
37707 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37709 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37712 * libio/Makefile (tests): New test case tst-fseek.
37713 * libio/tst-fseek.c: New test case to verify that fseek/ftell
37714 combination works in wide mode.
37715 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
37716 state when the external buffer state changes.
37718 2012-09-27 David S. Miller <davem@davemloft.net>
37721 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
37722 pass reloc->r_addend in as the 'high' argument to
37723 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37727 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37729 * rt/tst-aio2.c: Include <pthread.h>.
37730 * rt/tst-aio3.c: Likewise.
37732 2012-09-27 Steve Ellcey <sellcey@mips.com>
37734 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
37736 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
37738 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
37739 contents on [SHARED].
37741 2012-09-26 Marek Polacek <polacek@redhat.com>
37745 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
37746 for C++ and GCC <4.3 as well as for non GCC compilers.
37748 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37750 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37752 2012-09-25 Roland McGrath <roland@hack.frob.com>
37754 * Makefile.in (all, install): Declare with .PHONY.
37755 Reported by Michael Hope <michael.hope@linaro.org>.
37757 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37759 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
37760 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
37762 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
37764 (sydep_routines): Add the new and the internal functions.
37765 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
37766 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
37767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37768 (GLIBC_2.17): Add the new function.
37769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37770 (GLIBC_2.17): Likewise.
37771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37772 (GLIBC_2.17): Likewise.
37773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37774 (GLIBC_2.17): Likewise.
37775 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37777 2012-09-25 Alan Modra <amodra@gmail.com>
37779 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37780 Add release barrier before setting once_control to say
37781 initialisation is done. Add hints on lwarx. Use macro in
37783 (clear_once_control): Add release barrier.
37785 2012-09-25 Joseph Myers <joseph@codesourcery.com>
37788 * math/s_clog.c (__clog): Handle more values close to |z| = 1
37790 * math/s_clog10.c (__clog10): Likewise.
37791 * math/s_clog10f.c (__clog10f): Likewise.
37792 * math/s_clog10l.c (__clog10l): Likewise.
37793 * math/s_clogf.c (__clogf): Likewise.
37794 * math/s_clogl.c (__clogl): Likewise.
37795 * math/Makefile (libm-calls): Add x2y2m1.
37796 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37797 (__x2y2m1): Likewise.
37798 (__x2y2m1l): Likewise.
37799 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37800 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37801 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37802 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37803 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37804 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37805 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37806 * sysdeps/i386/fpu/libm-test-ulps: Update.
37807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37810 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37811 int as type of variable DEPTH.
37812 (glob): Use size_t instead of int as type of variables NEWCOUNT
37815 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37817 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37818 Add s_sincosf-sse2.
37819 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37820 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37821 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37822 macros for using routine as __sincosf_ia32.
37823 Use macro for function declaration and weak_alias.
37824 * sysdeps/i386/fpu/libm-test-ulps: Update.
37826 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37827 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37829 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
37830 subnormal argument.
37831 * math/s_cexpf.c (__cexpf): Likewise.
37832 * math/s_csinf.c (__csinf): Likewise.
37833 * math/s_csinhf.c (__csinhf): Likewise.
37834 * math/s_ctanf.c (__ctanf): Likewise.
37835 * math/s_ctanhf.c (__ctanhf): Likewise.
37836 * math/s_ccosh.c (__ccoshf): Likewise.
37837 * math/s_cexp.c (__cexpl): Likewise.
37838 * math/s_csin.c (__csin): Likewise.
37839 * math/s_csinh.c (__csinh): Likewise.
37840 * math/s_ctan.c (__ctan): Likewise.
37841 * math/s_ctanh.c (ctanh): Likewise.
37842 * math/s_ccoshl.c (__ccoshl): Likewise.
37843 * math/s_cexpl.c (__cexpl): Likewise.
37844 * math/s_csinl.c (__csinl): Likewise.
37845 * math/s_csinhl.c (__csinhl): Likewise.
37846 * math/s_ctanl.c (__ctanl): Likewise.
37847 * math/s_ctanhl.c (__ctanhl): Likewise.
37849 2012-09-25 Joseph Myers <joseph@codesourcery.com>
37851 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
37852 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
37853 (_IO_off_t): Define to __off_t, not _G_off_t.
37854 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
37855 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
37856 (_IO_wint_t): Define to wint_t, not _G_wint_t.
37857 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
37858 type of __dummy and __dummy2 fields.
37859 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
37860 (_G_ssize_t): Likewise.
37861 (_G_off_t): Likewise.
37862 (_G_pid_t): Likewise.
37863 (_G_uid_t): Likewise.
37864 (_G_wchar_t): Likewise.
37865 (_G_wint_t): Likewise.
37866 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
37867 (_G_ssize_t): Likewise.
37868 (_G_off_t): Likewise.
37869 (_G_pid_t): Likewise.
37870 (_G_uid_t): Likewise.
37871 (_G_wchar_t): Likewise.
37872 (_G_wint_t): Likewise.
37873 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
37874 (_G_ssize_t): Likewise.
37875 (_G_off_t): Likewise.
37876 (_G_pid_t): Likewise.
37877 (_G_uid_t): Likewise.
37878 (_G_wchar_t): Likewise.
37879 (_G_wint_t): Likewise.
37881 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37883 * malloc/arena.c: Include malloc-sysdep.h.
37884 (shrink_heap): Use check_may_shrink_heap to decide if madvise
37885 is sufficient to shrink the heap or an unmap is needed.
37886 * sysdeps/generic/malloc-sysdep.h: New file. Define
37887 new function check_may_shrink_heap.
37888 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
37889 new function check_may_shrink_heap.
37891 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37893 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
37896 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
37898 * catgets/test-gencat.sh: Add "set -e".
37899 * elf/tst-pathopt.sh: Likewise.
37900 * grp/tst_fgetgrent.sh: Likewise.
37901 * iconvdata/run-iconv-test.sh: Likewise.
37902 * intl/tst-gettext.sh: Likewise.
37903 * intl/tst-gettext2.sh: Likewise.
37904 * intl/tst-gettext4.sh: Likewise.
37905 * intl/tst-gettext6.sh: Likewise.
37906 * intl/tst-translit.sh: Likewise.
37907 * io/ftwtest-sh: Likewise.
37908 * libio/test-freopen.sh: Likewise.
37909 * malloc/tst-mtrace.sh: Likewise.
37910 * posix/globtest.sh: Likewise.
37911 * posix/tst-getconf.sh: Likewise.
37912 * posix/wordexp-tst.sh: Likewise.
37913 * stdio-common/tst-printf.sh: Likewise.
37914 * stdio-common/tst-unbputc.sh: Likewise.
37915 * stdlib/tst-fmtmsg.sh: Likewise.
37916 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37917 * catgets/Makefile: Do not specify -e option when running
37918 testsuite shell scripts.
37919 * elf/Makefile: Likewise.
37920 * grp/Makefile: Likewise.
37921 * iconvdata/Makefile: Likewise.
37922 * intl/Makefile: Likewise.
37923 * io/Makefile: Likewise.
37924 * libio/Makefile: Likewise.
37925 * malloc/Makefile: Likewise.
37926 * posix/Makefile: Likewise.
37927 * stdio-common/Makefile: Likewise.
37928 * stdlib/Makefile: Likewise.
37929 * sysdeps/x86_64/Makefile: Likewise.
37931 * io/ftwtest-sh: Add copyright header.
37932 * posix/globtest.sh: Likewise.
37933 * posix/tst-getconf.sh: Likewise.
37934 * posix/wordexp-tst.sh: Likewise.
37935 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37937 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
37940 * Makeconfig (+link): Defined as $(+link-static) if
37941 $(build-shared) isn't yes.
37942 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37944 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37946 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37949 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37950 new chunk size with MALLOC_ALIGN_MASK.
37952 2012-09-24 Joseph Myers <joseph@codesourcery.com>
37955 * stdio-common/printf_fphex.c: Include <stdbool.h> and
37957 (__printf_fphex): Determine rounding using get_rounding_mode and
37959 * stdio-common/tst-printf-round.c (struct hex_test): New
37961 (hex_tests): New variable.
37962 (test_hex_in_one_mode): New function.
37963 (do_test): Also run tests for hex float output.
37965 2012-09-21 Joseph Myers <joseph@codesourcery.com>
37967 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37968 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37969 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37970 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37971 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37972 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37973 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37974 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37976 2012-09-20 Joseph Myers <joseph@codesourcery.com>
37978 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37979 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37980 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37981 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37983 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
37986 * elf/rtld.c (dl_main): Limit the check for self loading to normal
37988 * elf/tst-rtld-load-self.sh: New test.
37989 * elf/Makefile: Run it.
37991 2012-09-18 Joseph Myers <joseph@codesourcery.com>
37993 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37994 (tst-writev-ENV): Remove.
37995 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37997 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
37999 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38001 2012-09-17 Joseph Myers <joseph@codesourcery.com>
38003 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38005 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38007 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38008 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38009 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38012 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
38015 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
38016 * config.make.in (have-cpp-asm-debuginfo): Removed.
38017 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
38018 * configure: Regenerated.
38020 2012-09-14 Joseph Myers <joseph@codesourcery.com>
38023 * stdio-common/printf_fp.c: Include <stdbool.h> and
38025 (___printf_fp): Determine rounding using get_rounding_mode and
38027 * stdio-common/tst-printf-round.c: New file.
38028 * stdio-common/Makefile (tests): Add tst-printf-round.
38029 (link-libm): New variable.
38030 ($(objpfx)tst-printf-round): Depend in $(link-libm).
38032 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
38035 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
38036 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
38038 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
38041 2012-09-13 Joseph Myers <joseph@codesourcery.com>
38043 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
38044 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38045 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38046 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38048 2012-09-12 Joseph Myers <joseph@codesourcery.com>
38051 * include/rounding-mode.h: New file.
38052 * sysdeps/generic/get-rounding-mode.h: Likewise.
38053 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38054 * stdlib/strtod_l.c: Include <rounding-mode.h>.
38055 (MAX_VALUE): New macro.
38056 (MIN_VALUE): Likewise.
38057 (overflow_value): New function.
38058 (underflow_value): Likewise.
38059 (round_and_return): Use overflow_value and underflow_value to
38060 determine return values in overflow and underflow cases. Use
38061 round_away to determine rounding depending on rounding mode.
38062 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38063 determine return values in overflow and underflow cases.
38064 * stdlib/tst-strtod-round.c: Include <fenv.h>.
38065 (struct test_results): New structure.
38066 (struct test): Use struct test_results to store expected results
38067 for all rounding modes.
38068 (TEST): Include expected results for all rounding modes.
38069 (test_in_one_mode): New function.
38070 (do_test): Use test_in_one_mode to compute and check results.
38071 Check results for all rounding modes.
38072 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
38075 2012-12-09 Allan McRae <allan@archlinux.org>
38077 * sysdeps/i386/fpu/libm-test-ulps: Update
38079 2012-09-11 Joseph Myers <joseph@codesourcery.com>
38081 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38082 (_G_int32_t): Likewise.
38083 (_G_uint16_t): Likewise.
38084 (_G_uint32_t): Likewise.
38085 (_G_HAVE_BOOL): Likewise.
38086 (_G_HAVE_ATEXIT): Likewise.
38087 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38088 (_G_HAVE_IO_FILE_OPEN): Likewise.
38089 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38090 (_G_int32_t): Likewise.
38091 (_G_uint16_t): Likewise.
38092 (_G_uint32_t): Likewise.
38093 (_G_HAVE_BOOL): Likewise.
38094 (_G_HAVE_ATEXIT): Likewise.
38095 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38096 (_G_HAVE_IO_FILE_OPEN): Likewise.
38097 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38098 (_G_int32_t): Likewise.
38099 (_G_uint16_t): Likewise.
38100 (_G_uint32_t): Likewise.
38101 (_G_HAVE_BOOL): Likewise.
38102 (_G_HAVE_ATEXIT): Likewise.
38103 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38104 (_G_HAVE_IO_FILE_OPEN): Likewise.
38106 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
38108 * csu/libc-tls.c: Update copyright years.
38110 2012-09-10 Joseph Myers <joseph@codesourcery.com>
38112 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38113 [!_G_USING_THUNKS]: Remove conditional code.
38114 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38115 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38117 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38118 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38119 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38120 (_G_VTABLE_LABEL_PREFIX): Likewise.
38121 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38122 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38123 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38124 (_G_VTABLE_LABEL_PREFIX): Likewise.
38125 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38126 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38127 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38128 (_G_VTABLE_LABEL_PREFIX): Likewise.
38129 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38131 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
38133 * libio/Makefile: Include ../Makeconfig before tests.
38134 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38135 only if $(build-shared) is yes.
38137 * iconv/gconv_db.c: Update copyright years.
38139 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38141 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38142 unwind info if defined PIC. Fix special cases description.
38143 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38145 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38147 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38149 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
38151 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38153 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38156 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38157 (LDLIBS-tst-chk4): This.
38158 (LDFLAGS-tst-chk5): Renamed to ...
38159 (LDLIBS-tst-chk5): This.
38160 (LDFLAGS-tst-chk6): Renamed to ...
38161 (LDLIBS-tst-chk6): This.
38162 (LDFLAGS-tst-lfschk4): Renamed to ...
38163 (LDLIBS-tst-lfschk4): This.
38164 (LDFLAGS-tst-lfschk5): Renamed to ...
38165 (LDLIBS-tst-lfschk5): This.
38166 (LDFLAGS-tst-lfschk6): Renamed to ...
38167 (LDLIBS-tst-lfschk6): This.
38169 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38170 on $(common-objpfx)soversions.mk.
38172 2012-09-07 Joseph Myers <joseph@codesourcery.com>
38175 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38178 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38180 * malloc/arena.c (arena_get_retry): New function that gets
38181 another arena for the caller to try its request on.
38182 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38183 current arena cannot fulfill the request.
38184 (__libc_memalign): Likewise.
38185 (__libc_memalign): Likewise.
38186 (__libc_pvalloc): Likewise.
38187 (__libc_calloc): Likewise.
38189 2012-09-05 John Tobey <john.tobey@gmail.com>
38192 * manual/arith.texi (Operations on Complex): Fix description
38193 of carg branch cut.
38195 2012-09-06 Joseph Myers <joseph@codesourcery.com>
38198 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38202 * manual/memory.texi (Memory): Make order of menu items match
38205 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38207 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38208 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
38209 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38211 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38213 * csu/libc-tls.c (static_dtv): Renamed to ...
38214 (_dl_static_dtv): This. Make it global.
38215 (_dl_initial_dtv): Removed.
38216 (__libc_setup_tls): Updated.
38217 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38218 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38221 2012-09-06 Petr Machata <pmachata@redhat.com>
38223 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38224 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38225 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38226 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38228 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38231 * csu/libc-tls.c (_dl_initial_dtv): New variable.
38232 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38235 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38238 * Makeconfig (link-static-before-libc): Replace $(+prector)
38240 (link-static-after-libc): Replace $(+postctor) with
38242 (link-bounded): Replace $(+prector)/$(+postctor) with
38243 $(+prectorT)/$(+postctorT).
38244 (+prectorT): New macro.
38245 (+postctorT): Likewise.
38247 2012-09-06 Joseph Myers <joseph@codesourcery.com>
38249 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38250 (round_str): Handle values above the maximum for IBM long double
38252 * stdlib/tst-strtod-round.c (tests): Regenerated.
38254 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38256 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
38258 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
38259 zarch_nohighgprs around the zarch optimized routines.
38260 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38261 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38262 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
38265 2012-09-05 David S. Miller <davem@davemloft.net>
38267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38269 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
38270 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
38271 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
38272 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38275 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38277 * malloc/arena.c: Fold copyright years.
38278 * malloc/mcheck.c, malloc/memusage.c: Likewise.
38280 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38282 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
38284 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38286 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
38288 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38290 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
38291 change internal state upon failure.
38293 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38295 * malloc/mcheck.c (mcheck_check_all): Fix typo.
38296 * malloc/memusage.c (mmap): Likewise.
38297 (mmap64, mremap): Likewise. Adjust name in comment.
38299 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38301 * libio/fileops.c: Fix typos in comments.
38302 * libio/oldfileops.c: Likewise.
38303 * libio/wfileops.c: Likewise.
38305 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38308 * malloc/Makefile (tests): Add tst-malloc-usable test case.
38309 (tst-malloc-usable-ENV): Set environment for test case.
38310 * malloc/hooks.c (malloc_check_get_size): New function to get
38312 * malloc/malloc.c (musable): Use malloc_check_get_size.
38313 * malloc/tst-malloc-usable.c: New test case.
38315 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38317 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
38319 2012-09-05 Allan McRae <allan@archlinux.org>
38322 * configure.in (CXX_SYSINCLUDES): Use compiler output to
38323 determine header location.
38324 * configure: Regenerated.
38326 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38328 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
38330 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
38331 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
38333 (test): Regenerate.
38335 2012-09-04 David S. Miller <davem@davemloft.net>
38337 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
38338 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
38339 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
38341 2012-09-04 Florian Weimer <fweimer@redhat.com>
38343 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
38346 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
38348 2012-09-04 Joseph Myers <joseph@codesourcery.com>
38351 * libio/iogetdelim.c: Include <limits.h>.
38352 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
38353 + len + 1 would overflow.
38355 2012-09-03 Andreas Jaeger <aj@suse.de>
38357 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38358 * sysdeps/i386/fpu/libm-test-ulps: Update.
38360 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38362 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38363 Add s_sinf-sse2, s_conf-sse2.
38365 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
38366 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
38367 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
38368 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
38370 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
38371 for using routine as __sinf_ia32.
38372 Use macro for function declaration and weak_alias.
38373 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
38374 for using routine as __cosf_ia32.
38375 Use macro for function declaration and weak_alias.
38377 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
38378 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
38380 * sysdeps/x86_64/fpu/s_sinf.S: New file.
38381 * sysdeps/x86_64/fpu/s_cosf.S: New file.
38382 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38384 * math/libm-test.inc (cos_test): Add more test cases.
38385 (sin_test): Likewise.
38386 (sincos_test): Likewise.
38388 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38390 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
38391 (IFUNC_RESOLVE): Make pointers to the specialized implementations
38393 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38395 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
38398 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
38399 first element of the GOT.
38400 (elf_machine_load_address): Return the difference between
38401 the runtime address of _DYNAMIC and elf_machine_dynamic ().
38403 2012-09-01 Allan McRae <allan@archlinux.org>
38406 * configure.in (AWK): Require gawk version 3.0 or later.
38407 * configure: Regenerated.
38409 2012-09-01 Joseph Myers <joseph@codesourcery.com>
38411 * sysdeps/unix/sysv/linux/kernel-features.h
38412 (__ASSUME_POSIX_CPU_TIMERS): Remove.
38413 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38414 [__NR_clock_getres]: Make code unconditional.
38415 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
38416 (clock_getcpuclockid): Remove code left unreachable by removal of
38418 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
38419 code unconditional.
38420 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38421 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38422 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
38423 Make code unconditional.
38424 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38425 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38426 * sysdeps/unix/sysv/linux/clock_settime.c
38427 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
38429 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
38430 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38432 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
38435 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
38436 scripts/test-installation.pl.
38438 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
38439 and $ld_so_version if it is set.
38441 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38444 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
38445 failure if reading from procfs failed.
38446 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
38448 2012-08-27 Joseph Myers <joseph@codesourcery.com>
38450 * sysdeps/unix/sysv/linux/kernel-features.h
38451 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
38452 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38453 Remove conditional code.
38454 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38455 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
38456 Remove conditional code.
38457 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38458 * sysdeps/unix/sysv/linux/i386/fxstat.c
38459 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38460 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38461 * sysdeps/unix/sysv/linux/i386/fxstatat.c
38462 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38463 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38464 * sysdeps/unix/sysv/linux/i386/lxstat.c
38465 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38466 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38467 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
38468 Remove conditional code.
38469 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38470 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38471 Remove conditional code.
38472 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38473 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
38474 <kernel-features.h>.
38475 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
38477 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
38478 Remove conditional code.
38479 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38480 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
38481 Remove conditional.
38483 2012-08-27 Mike Frysinger <vapier@gentoo.org>
38486 * NEWS: Add fixed bug number.
38488 2012-08-27 Joseph Myers <joseph@codesourcery.com>
38491 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
38492 underflowing exponent in case of negative sign.
38493 * stdlib/tst-strtod-round-data: Add more tests.
38494 * stdlib/tst-strtod-round.c (tests): Regenerated.
38497 * stdlib/strtod_l.c (NDIG): Remove.
38498 (HEXNDIG): Likewise.
38499 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
38500 smallest representable value.
38501 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
38502 lie within an exact representation of 1/2 ulp of the result.
38503 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
38505 (TENS_P9_IDX): Define unconditionally.
38506 (TENS_P9_SIZE): Likewise.
38507 (TENS_P10_IDX): Likewise.
38508 (TENS_P10_SIZE): Likewise.
38509 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
38510 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
38511 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
38512 entries for 10^2^13 and 10^2^14.
38513 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
38514 (TENS_P13_IDX): Define.
38515 (TENS_P13_SIZE): Likewise.
38516 (TENS_P14_IDX): Likewise.
38517 (TENS_P14_SIZE): Likewise.
38518 (_fpioconst_pow10): Change array size to
38519 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
38521 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
38522 1024]: Add entries for 10^2^13 and 10^2^14.
38523 [LAST_POW10 > _LAST_POW10]: Remove #error.
38524 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
38525 (_fpioconst_pow10): Change array size to
38526 FPIOCONST_POW10_ARRAY_SIZE.
38527 * stdlib/gen-fpioconst.c: New file.
38528 * stdlib/gen-tst-strtod-round.c: Likewise.
38529 * stdlib/tst-strtod-round-data: Likewise.
38530 * stdlib/tst-strtod-round.c: Likewise.
38531 * stdlib/Makefile (tests): Add tst-strtod-round.
38534 * stdlib/strtod_l.c: Include <stdint.h>.
38535 (NDEBUG): Do not define.
38536 (round_and_return): Change EXPONENT parameter to type intmax_t.
38537 Rearrange calculations to avoid internal overflow possibilities.
38538 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
38539 Rearrange calculations to avoid internal overflow possibilities.
38540 Assert that number fits inside MPNSIZE limbs.
38541 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
38542 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
38543 calculations and add assertions to avoid internal overflow
38544 possibilities. Add casts to avoid signed/unsigned operations.
38545 * stdlib/tst-strtod-overflow.c: New file.
38546 * stdlib/Makefile (tests): Add tst-strtod-overflow.
38548 2012-08-25 Marek Polacek <polacek@redhat.com>
38550 * time/time.h: Fix some typos in comments.
38552 2012-08-23 Roland McGrath <roland@hack.frob.com>
38554 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
38555 * posix/tst-rfc3484-2.c: Likewise.
38556 * posix/tst-rfc3484-3.c: Likewise.
38558 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
38560 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
38561 (EF_ARM_ABI_FLOAT_HARD): Likewise.
38563 2012-08-23 Joseph Myers <joseph@codesourcery.com>
38565 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
38566 #include of fxstatat64.c.
38568 2012-08-22 Roland McGrath <roland@hack.frob.com>
38570 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
38571 * shadow/getspent_r.c: Likewise.
38572 * shadow/getspnam.c: Likewise.
38573 * shadow/getspnam_r.c: Likewise.
38574 * gshadow/getsgent.c: Likewise.
38575 * gshadow/getsgent_r.c: Likewise.
38576 * gshadow/getsgnam.c: Likewise.
38577 * gshadow/getsgnam_r.c: Likewise.
38578 * inet/getnetbyad.c: Likewise.
38579 * inet/getnetbyad_r.c: Likewise.
38580 * inet/getnetbynm.c: Likewise.
38581 * inet/getnetbynm_r.c: Likewise.
38582 * inet/getnetent.c: Likewise.
38583 * inet/getnetent_r.c: Likewise.
38584 * inet/getproto.c: Likewise.
38585 * inet/getproto_r.c: Likewise.
38586 * inet/getprtent.c: Likewise.
38587 * inet/getprtent_r.c: Likewise.
38588 * inet/getprtname.c: Likewise.
38589 * inet/getprtname_r.c: Likewise.
38590 * inet/getrpcbyname.c: Likewise.
38591 * inet/getrpcbyname_r.c: Likewise.
38592 * inet/getrpcbynumber.c: Likewise.
38593 * inet/getrpcbynumber_r.c: Likewise.
38594 * inet/getrpcent.c: Likewise.
38595 * inet/getrpcent_r.c: Likewise.
38596 * inet/getaliasent.c: Likewise.
38597 * inet/getaliasent_r.c: Likewise.
38598 * inet/getaliasname.c: Likewise.
38599 * inet/getaliasname_r.c: Likewise.
38600 * nscd/getgrgid_r.c: Likewise.
38601 * nscd/getgrnam_r.c: Likewise.
38602 * nscd/gethstbyad_r.c: Likewise.
38603 * nscd/gethstbynm3_r.c: Likewise.
38604 * nscd/getpwnam_r.c: Likewise.
38605 * nscd/getpwuid_r.c: Likewise.
38606 * nscd/getsrvbynm_r.c: Likewise.
38607 * nscd/getsrvbypt_r.c: Likewise.
38608 * nscd/gai.c: Likewise.
38610 * configure.in (build_nscd): New substituted variable, set
38611 by --disable-build-nscd and defaults to $use_nscd.
38612 * configure: Regenerated.
38613 * config.make.in (build-nscd): New substituted variable.
38614 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
38615 Change conditional to require [$(build-nscd) = yes] as well.
38616 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
38619 * configure.in (use_nscd): New substituted variable, set by
38620 --disable-nscd. If enabled, define USE_NSCD.
38621 * configure: Regenerated.
38622 * config.h.in: Add USE_NSCD.
38623 * config.make.in (use-nscd): New substituted variable.
38624 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
38625 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
38626 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
38627 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
38628 (CFLAGS-getgrnam_r.c): Likewise.
38629 (CFLAGS-initgroups.c): Likewise.
38630 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
38631 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
38633 * inet/getnetgrent_r.c
38634 (nscd_setnetgrent): New function, broken out of ...
38635 (setnetgrent): ... here. Call it.
38636 (innetgr): Conditionalize nscd bits on [USE_NSCD].
38637 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
38638 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
38639 * nscd/Makefile (routines, aux): Move definitions after include of
38640 Makeconfig. Conditionalize on [$(use-nscd) != no].
38641 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
38642 Conditionalize on [USE_NSCD].
38643 (is_nscd, nscd_init_cb): Likewise.
38644 (nss_load_library): Conditionalize init callback on [USE_NSCD].
38645 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
38646 * nss/nss_db/db-init.c: Likewise.
38647 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
38649 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
38650 (make_request): Use it.
38651 (cache_valid_p): New function.
38652 (__check_pf): Use it.
38653 * NEWS: Add item for --disable-nscd.
38655 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
38657 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
38658 to support sed >= 4.2.1-20-ga9bf076.
38659 * configure: Regenerated.
38661 2012-08-22 Roland McGrath <roland@hack.frob.com>
38663 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
38664 Conditionalize whole body on [IREL].
38666 2012-08-22 Jeff Law <law@redhat.com>
38669 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
38670 if the family is PF_UNSPEC.
38672 2012-08-22 Mike Frysinger <vapier@gentoo.org>
38674 * Makerules (lib-version): Rename from V.
38675 (install-lib-nosubdir): Change V to lib-version.
38677 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
38680 * powerpc32/power6/wcschr.c: New file.
38681 * powerpc32/power6/wcscpy.c: New file.
38682 * powerpc32/power6/wcsrchr.c: New file.
38683 * powerpc64/power6/wcschr.c: New file.
38684 * powerpc64/power6/wcscpy.c: New file.
38685 * powerpc64/power6/wcsrchr.c: New file.
38687 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38689 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
38690 (two_way_short_needle): Use it.
38691 * string/strstr.c (AVAILABLE1_USES_J): Define.
38692 * string/strcasestr.c: Likewise.
38694 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
38696 * string/strcasestr.c (TOLOWER): Make side-effect safe.
38699 * NEWS: Add an entry.
38700 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
38701 define their defaults.
38702 (two_way_short_needle): Detect end-of-string on-the-fly.
38703 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
38704 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
38705 * string/bug-strcasestr1.c: New test.
38706 * string/Makefile: Run it.
38708 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38711 * string/str-two-way.h (two_way_short_needle): Optimize matching of
38712 the first character.
38714 2012-08-21 Roland McGrath <roland@hack.frob.com>
38716 * csu/elf-init.c (__libc_csu_irel): Function removed.
38717 * csu/libc-start.c (apply_irel): New function.
38718 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
38720 2012-08-21 Joseph Myers <joseph@codesourcery.com>
38722 * sysdeps/unix/sysv/linux/kernel-features.h
38723 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
38724 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38725 <kernel-features.h>.
38726 [__NR_fadvise64_64]: Make code unconditional.
38727 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
38728 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38729 !__NR_fadvise64_64)]: Likewise.
38730 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38731 !__NR_fadvise64_64))]: Likewise.
38732 [__NR_fadvise64]: Make code unconditional.
38733 [!__NR_fadvise64]: Remove conditional code.
38734 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
38735 <kernel-features.h>.
38736 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38738 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
38741 not include <kernel-features.h>.
38742 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38744 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38746 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
38747 include <kernel-features.h>.
38748 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38750 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38753 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38755 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
38756 slight instruction rearrangements per scrollpipe analysis.
38757 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38759 2012-08-20 Roland McGrath <roland@hack.frob.com>
38761 * manual/syslog.texi (syslog; vsyslog, closelog):
38762 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
38763 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
38765 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
38766 DSOCAPS to match condition on defining it.
38768 2012-08-20 Joseph Myers <joseph@codesourcery.com>
38770 * sysdeps/unix/sysv/linux/kernel-features.h
38771 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38773 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38774 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38776 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38777 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38779 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38780 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38782 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38783 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38785 * sysdeps/unix/sysv/linux/kernel-features.h
38786 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38787 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38789 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38790 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38791 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38792 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38793 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38794 Make code unconditional.
38795 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38796 (__mmap64) [!__NR_mmap2]: Likewise.
38797 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38798 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38799 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38800 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38801 [__NR_mmap2]: Make code unconditional.
38802 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38803 (__mmap64) [!__NR_mmap2]: Likewise.
38805 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38807 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38809 2012-08-18 Andreas Jaeger <aj@suse.de>
38811 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38813 2012-08-18 Mike Frysinger <vapier@gentoo.org>
38815 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38816 * include/unistd.h (__have_sock_cloexec): Likewise.
38817 (__have_pipe2): Likewise.
38818 (__have_dup3): Likewise.
38820 2012-08-18 Mike Frysinger <vapier@gentoo.org>
38823 * include/unistd.h (__have_pipe2): Change define into an extern int.
38824 (__have_dup3): Likewise.
38825 * socket/have_sock_cloexec.c: Include fcntl.h.
38826 (__have_pipe2): New variable.
38827 (__have_dup3): Likewise.
38829 2012-08-17 Mike Frysinger <vapier@gentoo.org>
38831 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38833 2012-08-17 Marek Polacek <polacek@redhat.com>
38835 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38836 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38838 2012-08-17 Roland McGrath <roland@hack.frob.com>
38840 * configure.in: Add AC_SUBST for sysheaders.
38841 * configure: Regenerated.
38842 * config.make.in (sysheaders): New substituted variable.
38844 * sysdeps/unix/mkfifo.c: Moved ...
38845 * sysdeps/posix/mkfifo.c: ... here.
38846 * sysdeps/unix/mkfifoat.c: Moved ...
38847 * sysdeps/posix/mkfifoat.c: ... here.
38849 * sysdeps/unix/utime.c: Moved ...
38850 * sysdeps/posix/utime.c: ... here.
38852 * sysdeps/unix/time.c: Moved ...
38853 * sysdeps/posix/time.c: ... here.
38854 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
38855 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
38857 * sysdeps/unix/nice.c: Moved ...
38858 * sysdeps/posix/nice.c: ... here.
38860 * sysdeps/unix/alarm.c: Moved ...
38861 * sysdeps/posix/alarm.c: ... here.
38863 * intl/Makefile ($(codeset_mo)): Depend on the input file.
38865 2012-08-17 Jeff Law <law@redhat.com>
38867 * intl/Makefile (codeset_mo): New variable.
38868 ($(codeset_mo)): New target.
38869 (tst-codeset.out): Depend on that. Remove explicit rule.
38870 (tst-gettext3.out, tst-gettext5.out): Likewise.
38871 (LOCPATH-ENV, tst-codeset-ENV): New variables.
38872 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
38873 * intl/tst-codeset.sh: Remove.
38874 * intl/tst-gettext3.sh: Likewise.
38875 * intl/tst-gettext5.sh: Likewise.
38877 2012-08-17 Roland McGrath <roland@hack.frob.com>
38879 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
38880 * sysdeps/unix/syscalls.list: ... here.
38882 * sysdeps/posix/getaddrinfo.c
38883 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
38884 (gaiconf_init, gaiconf_reload): Use them.
38885 [!_STATBUF_ST_NSEC]
38886 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
38887 Define using time_t rather than struct timespec.
38889 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
38890 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
38892 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
38894 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
38895 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
38898 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
38899 __libc_cleanup_push argument.
38901 * bits/param.h: New file.
38902 * misc/sys/param.h: New file.
38903 * include/sys/param.h: New file.
38904 * misc/Makefile (headers): Add bits/param.h.
38905 * sysdeps/generic/sys/param.h: File removed.
38906 * sysdeps/unix/sysv/linux/bits/param.h: New file.
38907 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
38908 * sysdeps/mach/hurd/bits/param.h: New file.
38909 * sysdeps/mach/hurd/sys/param.h: File removed.
38911 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
38914 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
38916 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
38917 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
38920 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
38921 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
38922 rather than -D_IO_MTSAFE_IO conditionally.
38923 * stdio-common/Makefile (CPPFLAGS): Likewise.
38924 * wcsmbs/Makefile (CPPFLAGS): Likewise.
38925 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
38926 Use $(libio-mtsafe).
38927 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
38928 of -D_IO_MTSAFE_IO.
38929 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
38930 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38931 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38932 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38933 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38934 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38935 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38936 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38937 (CFLAGS-fread_u_chk.c): Likewise.
38938 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38939 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38940 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38941 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38942 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38943 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38944 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38945 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38946 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38948 * libio/Makefile: Test [$(libc-reentrant) = yes]
38949 instead of [$(filter %REENTRANT, $(defines)) nonempty].
38952 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38953 * sysdeps/pthread/configure: File removed.
38954 * sysdeps/pthread/Makeconfig: New file.
38955 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38956 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38958 2012-08-16 Gary Benson <gbenson@redhat.com>
38960 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38961 unmapping the first object in a namespace.
38963 2012-08-16 Roland McGrath <roland@hack.frob.com>
38965 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38966 (__internal_setnetgrent): ... this. Add internal_function to
38967 definition. Add libc_hidden_def.
38968 (setnetgrent): Update caller.
38969 (internal_endnetgrent): Renamed to ...
38970 (__internal_endnetgrent): ... this. Add internal_function to
38971 definition. Add libc_hidden_def.
38972 (endnetgrent): Update caller.
38973 (internal_getnetgrent_r): Renamed to ...
38974 (__internal_getnetgrent_r): ... this. Add internal_function to
38975 definition. Add libc_hidden_def.
38976 (__getnetgrent_r): Update caller.
38977 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
38979 2012-08-16 Joseph Myers <joseph@codesourcery.com>
38981 * stdlib/longlong.h: Update from GCC.
38983 2012-08-16 Roland McGrath <roland@hack.frob.com>
38985 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38986 on _QL, which is set by umul_ppmm but never used.
38987 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38988 variables, which are set by GMP macros but never used.
38989 * stdio-common/_itowa.c (_itowa): Likewise.
38990 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38991 * stdlib/mod_1.c (mpn_mod_1): Likewise.
38993 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
38995 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38996 struct La_sh_regs is not constant.
38997 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38998 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38999 and struct La_sparc64_regs are not constant.
39001 2012-08-16 Joseph Myers <joseph@codesourcery.com>
39003 * sysdeps/unix/sysv/linux/kernel-features.h
39004 (__ASSUME_POSIX_TIMERS): Remove.
39005 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39006 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39007 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39008 Make code unconditional.
39009 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39010 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39011 Make code unconditional.
39012 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39013 * sysdeps/unix/sysv/linux/clock_nanosleep.c
39014 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
39015 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39016 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
39017 Make code unconditional.
39018 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39019 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
39020 (__libc_missing_posix_timers): Remove.
39022 2012-08-15 Roland McGrath <roland@hack.frob.com>
39024 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
39025 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
39027 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
39029 * elf/dl-sym.c: Include <stdlib.h>.
39031 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
39032 constants, which avoids warnings in 32-bit builds.
39034 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
39035 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
39037 * misc/lseek.c: File moved to ...
39038 * io/lseek.c: ... here.
39040 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
39042 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
39043 shifting LEN more than 31 bits at once.
39045 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39048 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39049 segmentation fault for a case of two empty input strings.
39050 * string/test-strncasecmp.c (check1): Renamed to...
39051 (bz12205): ...this.
39052 (bz14195): Add new testcase for two empty input strings and N > 0.
39053 (test_main): Call new testcase, adapt for renamed function.
39055 2012-08-15 Andreas Jaeger <aj@suse.de>
39058 * crypt/md5test2.c: New test, based on test supplied by Serge
39059 Belyshev <belyshev@depni.sinp.msu.ru>.
39060 * crypt/Makefile (xtests): Add md5test-giant..
39061 * crypt/Makefile ($(objpfx)md5test-giant): Add.
39063 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
39066 * crypt/md5.c (md5_process_block): Don't assume the buffer
39067 length is less than 2**32.
39068 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39069 length is less than 2**64.
39071 2012-08-15 Roland McGrath <roland@hack.frob.com>
39073 * string/str-two-way.h: Include <sys/param.h>.
39074 (MAX): Macro removed.
39076 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
39077 Move #define and #undef of memmove to just before and after
39078 including <string.h>.
39080 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39081 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39082 and after including <string.h>. Move declarations of
39083 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39084 to before #include "string/memmove.c".
39086 * include/dirent.h: Declare __getdirentries.
39088 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39089 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39091 2012-08-14 Mike Frysinger <vapier@gentoo.org>
39093 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39094 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39095 * sysdeps/i386/configure: Regenerated.
39096 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39097 STABS_CURRENT_FILE, and STABS_FUN.
39098 (END): Remove call to STABS_FUN_END.
39099 (STABS_CURRENT_FILE1): Delete.
39100 (STABS_CURRENT_FILE): Likewise.
39101 (STABS_FUN): Likewise.
39102 (STABS_FUN_END): Likewise.
39103 (STABS_FUN2): Likewise.
39104 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39105 * sysdeps/x86_64/configure: Regenerated.
39107 2012-08-14 Roland McGrath <roland@hack.frob.com>
39109 * elf/dl-open.c: Include <atomic.h>.
39110 * elf/dl-lookup.c: Likewise.
39112 2012-08-14 Joseph Myers <joseph@codesourcery.com>
39114 * sysdeps/unix/sysv/linux/kernel-features.h
39115 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39116 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39118 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39120 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39121 condition on __ASSUME_CLONE_THREAD_FLAGS.
39123 2012-08-14 Andreas Jaeger <aj@suse.de>
39125 * sysdeps/i386/fpu/libm-test-ulps: Update.
39127 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
39129 * include/atomic.h (atomic_exchange_and_add): Split into ...
39130 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39133 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
39135 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39137 2012-08-13 Jeff Law <law@redhat.com>
39139 * manual/stdio.texi (snprintf): Clarify handling of the trailing
39140 null byte in the output string.
39142 2012-08-10 Joseph Myers <joseph@codesourcery.com>
39144 * sysdeps/unix/sysv/linux/kernel-features.h
39145 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39146 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39147 (__ASSUME_ARG_MAX_STACK_BASED): Define.
39148 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39149 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39150 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
39151 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39153 2012-08-09 Jeff Law <law@redhat.com>
39156 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39157 When avoid_arena is set, don't retry in the that arena. Pick the
39158 next one, whatever it might be.
39159 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39160 (arena_lock): Pass in new parameter to arena_get2.
39161 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
39163 (__libc_malloc): Unify retrying after main arena failure with
39164 __libc_memalign version.
39165 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39167 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
39170 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39171 to __redirect_strstr.
39172 (__strstr_sse42): Use typeof __redirect_strstr.
39173 (__strstr_ia32): Likewise.
39174 (__libc_strstr): New prototype.
39175 (strstr): Renamed to ...
39176 (__libc_strstr): This.
39177 (strstr): New strong alias of __libc_strstr.
39178 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39179 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39182 (__libc_time): New prototype.
39183 (time_ifunc): Replace time with __libc_time.
39184 (time): New strong alias and hidden definition of __libc_time.
39185 (__GI_time): Remove strong alias.
39186 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39187 Include <stddef.h>.
39188 (memmove): Redefined to __redirect_memmove.
39189 (__memmove_sse2): Use typeof __redirect_memmove.
39190 (__memmove_ssse3): Likewise.
39191 (__memmove_ssse3_back): Likewise.
39192 (__libc_memmove): New prototype.
39193 (memmove): Renamed to ...
39194 (__libc_memmove): This.
39195 (memmove): New strong alias of __libc_memmove.
39197 2012-08-08 Mark Salter <msalter@redhat.com>
39200 (R_MN10300_TLS_GD): Define.
39201 (R_MN10300_TLS_LD): Likewise.
39202 (R_MN10300_TLS_LDO): Likewise.
39203 (R_MN10300_TLS_GOTIE): Likewise.
39204 (R_MN10300_TLS_IE): Likewise.
39205 (R_MN10300_TLS_LE): Likewise.
39206 (R_MN10300_TLS_DTPMOD): Likewise.
39207 (R_MN10300_TLS_DTPOFF): Likewise.
39208 (R_MN10300_TLS_TPOFF): Likewise.
39209 (R_MN10300_SYM_DIFF): Likewise.
39210 (R_MN10300_ALIGN): Likewise.
39211 (R_MN10300_NUM): Update.
39213 2012-08-08 Joseph Myers <joseph@codesourcery.com>
39215 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39218 2012-08-08 Roland McGrath <roland@hack.frob.com>
39220 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39222 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39223 sysdeps/unix -> sysdeps/posix move.
39224 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39226 2012-08-07 Allan McRae <allan@archlinux.org>
39229 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39230 (SUNOS_CPP): Likewise.
39231 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39233 (open_input): Call CPP using execvp.
39235 2012-08-07 Joseph Myers <joseph@codesourcery.com>
39237 * sysdeps/unix/sysv/linux/kernel-features.h
39238 (__ASSUME_PROT_GROWSUPDOWN): Remove.
39239 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39240 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39241 (__ASSUME_WAITID_SYSCALL): Likewise.
39242 * sysdeps/unix/sysv/linux/dl-execstack.c
39243 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39244 code unconditional.
39245 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39247 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39248 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39249 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39251 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39253 [__ASSUME_WAITID_SYSCALL]: Likewise.
39254 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39256 2012-08-07 Roland McGrath <roland@hack.frob.com>
39258 * sysdeps/unix/closedir.c: Renamed to ...
39259 * sysdeps/posix/closedir.c: ... here.
39260 * sysdeps/unix/dirfd.c: Renamed to ...
39261 * sysdeps/posix/dirfd.c: ... here.
39262 * sysdeps/unix/dirstream.h: Renamed to ...
39263 * sysdeps/posix/dirstream.h: ... here.
39264 * sysdeps/unix/fdopendir.c: Renamed to ...
39265 * sysdeps/posix/fdopendir.c: ... here.
39266 * sysdeps/unix/opendir.c: Renamed to ...
39267 * sysdeps/posix/opendir.c: ... here.
39268 * sysdeps/unix/readdir.c: Renamed to ...
39269 * sysdeps/posix/readdir.c: ... here.
39270 * sysdeps/unix/readdir_r.c: Renamed to ...
39271 * sysdeps/posix/readdir_r.c: ... here.
39272 * sysdeps/unix/rewinddir.c: Renamed to ...
39273 * sysdeps/posix/rewinddir.c: ... here.
39274 * sysdeps/unix/seekdir.c: Renamed to ...
39275 * sysdeps/posix/seekdir.c: ... here.
39276 * sysdeps/unix/telldir.c: Renamed to ...
39277 * sysdeps/posix/telldir.c: ... here.
39278 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
39279 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
39280 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
39281 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
39283 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
39284 * bits/fcntl.h: ... here.
39286 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
39288 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
39289 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
39290 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
39291 (struct flock): Move l_start, l_len to the beginning.
39292 Use __pid_t for l_pid.
39293 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
39294 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
39295 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
39296 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
39297 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
39298 [__USE_LARGEFILE64] (struct flock64): New type.
39299 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
39301 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
39302 * bits/dirent.h: ... here.
39304 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
39305 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
39307 2012-08-07 Joseph Myers <joseph@codesourcery.com>
39309 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39310 Change from 2.6.0 to 2.6.16.
39311 * sysdeps/unix/sysv/linux/configure: Regenerated.
39312 * sysdeps/unix/sysv/linux/kernel-features.h
39313 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
39314 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
39316 (__ASSUME_UTIMES): Likewise.
39317 (__ASSUME_CLONE_STOPPED): Remove.
39318 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
39319 architectures, not kernel version.
39320 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
39321 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39322 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39323 (__ASSUME_WAITID_SYSCALL): Likewise.
39324 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
39325 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
39326 * README: State 2.6.16 as minimum Linux kernel version. Do not
39327 refer to older versions.
39329 2012-08-06 Roland McGrath <roland@hack.frob.com>
39331 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
39332 Define alphasort64 as an alias.
39333 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
39334 Define versionsort64 as an alias.
39335 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
39336 Define scandir64 as an alias.
39337 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
39338 Define scandirat64 as an alias.
39339 * dirent/alphasort64.c (alphasort64):
39340 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
39341 * dirent/versionsort64.c: Likewise.
39342 * dirent/scandir64.c: Likewise.
39343 * dirent/scandirat64.c: Likewise.
39344 * sysdeps/wordsize-64/alphasort.c: File removed.
39345 * sysdeps/wordsize-64/alphasort64.c: File removed.
39346 * sysdeps/wordsize-64/scandir.c: File removed.
39347 * sysdeps/wordsize-64/scandir64.c: File removed.
39348 * sysdeps/wordsize-64/scandirat.c: File removed.
39349 * sysdeps/wordsize-64/scandirat64.c: File removed.
39350 * sysdeps/wordsize-64/versionsort.c: File removed.
39351 * sysdeps/wordsize-64/versionsort64.c: File removed.
39352 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
39353 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
39354 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
39355 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
39356 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
39357 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
39358 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
39359 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
39361 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
39362 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39363 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
39364 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39365 [defined __arch64__ || defined __sparcv9]
39366 (__INO_T_MATCHES_INO64_T): New macro.
39367 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39368 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
39369 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
39370 * sysdeps/unix/sysv/linux/bits/dirent.h
39371 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
39372 (_DIRENT_MATCHES_DIRENT64): New macro.
39374 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
39375 Define lockf64 as an alias.
39376 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
39377 Define fseeko64 as an alias.
39378 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
39379 Define ftello64 as an alias.
39380 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
39381 Define _IO_fgetpos64 and fgetpos64 as aliases.
39382 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
39383 Define _IO_fsetpos64 and fsetpos64 as aliases.
39384 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
39385 Conditionalize body on this.
39386 * libio/fseeko64.c: Likewise.
39387 * libio/ftello64.c: Likewise.
39388 * libio/iofgetpos64.c: Likewise.
39389 * libio/iofsetpos64.c: Likewise.
39390 * sysdeps/wordsize-64/lockf.c: File removed.
39391 * sysdeps/wordsize-64/lockf64.c: File removed.
39392 * sysdeps/wordsize-64/fseeko.c: File removed.
39393 * sysdeps/wordsize-64/fseeko64.c: File removed.
39394 * sysdeps/wordsize-64/ftello.c: File removed.
39395 * sysdeps/wordsize-64/ftello64.c: File removed.
39396 * sysdeps/wordsize-64/iofgetpos.c: File removed.
39397 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
39398 * sysdeps/wordsize-64/iofsetpos.c: File removed.
39399 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
39400 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
39401 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
39402 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
39403 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
39404 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
39405 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
39406 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
39407 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
39408 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
39409 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
39411 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39412 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39413 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
39414 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39415 [defined __arch64__ || defined __sparcv9]
39416 (__OFF_T_MATCHES_OFF64_T): New macro.
39417 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39418 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39419 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39420 (__OFF_T_MATCHES_OFF64_T): New macro.
39422 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39424 * stdlib/secure-getenv.c (__secure_getenv): Replace
39425 GLIBC_2_16 with GLIBC_2_17.
39427 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39429 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
39430 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39432 2012-08-03 David S. Miller <davem@davemloft.net>
39434 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39436 2012-08-03 Joseph Myers <joseph@codesourcery.com>
39438 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
39440 (__ASSUME_CORRECT_SI_PID): Likewise.
39441 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
39442 (__ASSUME_TMPFS_NAME): Likewise.
39443 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
39444 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
39445 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
39446 (HAVE_AUX_SECURE): Make definition unconditional.
39447 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
39448 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
39450 2012-08-03 Roland McGrath <roland@hack.frob.com>
39452 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
39453 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
39454 * sysdeps/mach/hurd/eloop-threshold.h: New file.
39455 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39456 __eloop_threshold instead of SYMLOOP_MAX.
39458 * sysdeps/generic/eloop-threshold.h: New file.
39459 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
39461 * elf/chroot_canon.c (chroot_canon): Likewise.
39463 2012-08-03 Joseph Myers <joseph@codesourcery.com>
39466 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39467 Change to 2.6.0 everywhere.
39468 * sysdeps/unix/sysv/linux/configure: Regenerated.
39469 * sysdeps/unix/sysv/linux/kernel-features.h
39470 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
39471 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
39473 (__ASSUME_POSIX_TIMERS): Define unconditionally.
39474 (__ASSUME_FUTEX_REQUEUE): Remove.
39475 (__ASSUME_STATFS64): Define unconditionally.
39476 (__ASSUME_AT_SECURE): Likewise.
39477 (__ASSUME_CORRECT_SI_PID): Likewise.
39478 (__ASSUME_TGKILL): Define without depending on kernel version for
39480 (__ASSUME_UTIMES): Likewise.
39481 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
39483 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
39484 (__ASSUME_TMPFS_NAME): Likewise.
39485 * README: Update reference to Linux kernel versions.
39487 2012-08-02 Marek Polacek <polacek@redhat.com>
39490 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
39491 libc_cv_asm_type_prefix with %.
39492 * configure: Regenerated.
39493 * include/libc-symbols.h: Remove comment about
39494 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39495 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
39496 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
39497 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
39498 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
39499 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39500 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
39501 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
39502 * elf/tst-unique2mod1.c: Likewise.
39503 * elf/tst-unique1mod2.c: Likewise.
39504 * elf/tst-unique1mod1.c: Likewise.
39505 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
39506 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
39507 Replace ASM_TYPE_DIRECTIVE with .type.
39508 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39509 * sysdeps/i386/sysdep.h: Likewise.
39510 * sysdeps/x86_64/sysdep.h: Likewise.
39511 * sysdeps/sh/sysdep.h: Likewise.
39512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
39513 Do not define ASM_TYPE_DIRECTIVE.
39514 * sysdeps/powerpc/sysdep.h: Likewise.
39515 * sysdeps/powerpc/powerpc32/sysdep.h:
39516 Replace ASM_TYPE_DIRECTIVE with .type.
39517 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39518 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39519 * sysdeps/i386/fpu/e_powf.S: Likewise.
39520 * sysdeps/i386/fpu/e_expl.S: Likewise.
39521 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39522 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39523 * sysdeps/i386/fpu/e_pow.S: Likewise.
39524 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39525 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39526 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39527 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39528 * sysdeps/i386/fpu/e_log2.S: Likewise.
39529 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39530 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39531 * sysdeps/i386/fpu/e_powl.S: Likewise.
39532 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39533 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39534 * sysdeps/i386/fpu/e_logl.S: Likewise.
39535 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39536 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39537 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39538 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39539 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39540 * sysdeps/i386/fpu/e_log.S: Likewise.
39541 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39542 * sysdeps/i386/fpu/e_logf.S: Likewise.
39543 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39544 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39545 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39546 * sysdeps/i386/fpu/e_log10.S: Likewise.
39547 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39548 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39549 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39550 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39551 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39552 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
39553 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39554 * sysdeps/i386/i686/strtok.S: Likewise.
39555 * sysdeps/i386/i386-mcount.S: Likewise.
39556 * sysdeps/i386/strtok.S: Likewise.
39557 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
39558 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39559 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39560 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39561 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39562 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39563 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39564 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39565 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39566 * sysdeps/x86_64/_mcount.S: Likewise.
39567 * sysdeps/x86_64/strtok.S: Likewise.
39568 * sysdeps/sh/_mcount.S: Likewise.
39570 2012-08-01 Roland McGrath <roland@hack.frob.com>
39572 * libio/iofopen.c: Include <fcntl.h>.
39573 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
39574 (_IO_fopen64, fopen64): Define as aliases.
39575 * libio/iofopen64.c: Include <fcntl.h>.
39576 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
39577 Conditionalize body on this.
39578 * sysdeps/wordsize-64/iofopen.c: File removed.
39579 * sysdeps/wordsize-64/iofopen64.c: File removed.
39581 2012-08-01 Marek Polacek <polacek@redhat.com>
39583 * libc/Makeconfig: Use elf in place of binfmt-subdir.
39584 Use dlfcn directly instead of a variable.
39585 (binfmt-subdir): Do not define.
39588 2012-08-01 Joseph Myers <joseph@codesourcery.com>
39590 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
39591 Remove all definitions.
39592 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
39593 <kernel-features.h>.
39594 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39595 (miss_F_GETOWN_EX): Remove all definitions.
39596 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
39598 [!__ASSUME_FCNTL64]: Remove conditional code.
39599 [__ASSUME_FCNTL64]: Make code unconditional.
39600 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
39601 <kernel-features.h>.
39602 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39603 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
39604 (lockf64) [__NR_fcntl64]: Make code unconditional.
39605 (lockf64) [__ASSUME_FCNTL64]: Likewise.
39607 * sysdeps/unix/sysv/linux/kernel-features.h
39608 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
39609 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
39610 Make code unconditional.
39611 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39612 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
39614 [__NR_vfork]: Make code unconditional.
39615 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39616 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
39618 [__NR_vfork]: Make code unconditional.
39619 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39620 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39622 2012-08-01 Roland McGrath <roland@hack.frob.com>
39624 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
39625 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
39627 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39628 Define mkstemp64 as an alias.
39629 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39630 Define mkstemps64 as an alias.
39631 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39632 Define mkostemp64 as an alias.
39633 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39634 Define mkostemps64 as an alias.
39635 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
39636 Conditionalize body on this.
39637 * misc/mkostemp64.c: Likewise.
39638 * misc/mkostemps64.c: Likewise.
39639 * misc/mkstemps64.c: Likewise.
39640 * sysdeps/wordsize-64/mkstemp64.c: File removed.
39641 * sysdeps/wordsize-64/mkostemp64.c: File removed.
39642 * sysdeps/wordsize-64/mkostemp.c: File removed.
39643 * sysdeps/wordsize-64/mkstemp.c: File removed.
39644 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
39645 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
39646 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
39647 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
39650 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
39651 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
39652 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
39653 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
39655 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
39656 compat_symbol macros from <shlib-compat.h> rather than the underlying
39657 default_symbol_version and symbol_version macros, so that DEFAULT
39658 lines in shlib-versions are respected.
39659 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
39661 2012-08-01 Florian Weimer <fweimer@redhat.com>
39663 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
39664 Declare with warn_unused_result.
39665 (setgid, setregid, setegid, setresgid): Likewise.
39666 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
39668 * WUR-REPORT: Remove set*id functions.
39670 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
39672 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
39674 2012-07-31 Roland McGrath <roland@hack.frob.com>
39677 * include/sys/socket.h (__libc_accept, __libc_accept4):
39678 Add attribute_hidden.
39679 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
39681 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
39683 * inet/getnetgrent_r.c (setup): Likewise.
39685 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
39687 2012-07-31 David S. Miller <davem@davemloft.net>
39689 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39691 2012-07-31 Joseph Myers <joseph@codesourcery.com>
39694 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
39695 value between 1.0 and 2.0 and smaller part has absolute value less
39697 * math/s_clog10.c (__clog10): Likewise.
39698 * math/s_clog10f.c (__clog10f): Likewise.
39699 * math/s_clog10l.c (__clog10l): Likewise.
39700 * math/s_clogf.c (__clogf): Likewise.
39701 * math/s_clogl.c (__clogl): Likewise.
39702 * math/libm-test.inc (clog_test): Add more tests.
39703 (clog10_test): Likewise.
39704 * sysdeps/i386/fpu/libm-test-ulps: Update.
39705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39707 2012-07-31 Florian Weimer <fweimer@redhat.com>
39709 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
39710 Exit with zero in case no suitable GID is found, and write a
39711 message to standard error.
39713 2012-07-30 Roland McGrath <roland@hack.frob.com>
39715 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
39717 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
39718 (MAXPATHLEN): Removed.
39719 (NOGROUP, NODEV): New macros.
39720 (setbit, clrbit, isset, isclr): New macros.
39721 (howmany, roundup, powerof2): New macros.
39722 (DEV_BSIZE): New macro.
39724 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
39725 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
39727 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
39728 definition on [!__NO_LONG_DOUBLE_MATH].
39730 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
39731 PTR_MANGLE and PTR_DEMANGLE.
39733 * socket/accept4.c (accept4): Rename to __libc_accept4.
39734 Define accept4 as a weak alias.
39736 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
39737 on [_DIRENT_HAVE_D_TYPE].
39738 * io/ftw.c (ftw_dir): Likewise.
39740 * io/xmknod.c (__xmknod): Don't check PATH for being null.
39742 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
39744 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
39745 Use the BSD numbers rather than the arbitrary ones we had.
39746 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
39747 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
39748 (SIGXCPU, SIGXFSZ): New macros.
39751 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
39752 initializer on [_LIBC_REENTRANT].
39754 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
39755 definitions inside [_POSIX_MAPPED_FILES].
39757 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
39759 * dirent/opendir.c: Include <fcntl.h>.
39761 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
39762 (__libc_getspecific): Likewise.
39763 (__libc_key_create): Likewise.
39765 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
39766 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
39767 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39768 (tmpfile64): Define as alias.
39769 * sysdeps/wordsize-64/tmpfile.c: File removed.
39770 * sysdeps/wordsize-64/tmpfile64.c: File removed.
39771 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39772 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39774 * stdio-common/vfscanf.c: Include <stdbool.h>.
39775 * nss/makedb.c: Likewise.
39776 * stdio-common/_i18n_number.h: Likewise.
39777 * argp/argp-help.c: Likewise.
39778 * posix/wordexp.c: Likewise.
39779 * sysdeps/posix/spawni.c: Likewise.
39780 * nss/nss_files/files-initgroups.c: Likewise.
39781 * stdio-common/reg-modifier.c: Include <stdlib.h>.
39782 * nss/nss_files/files-initgroups.c: Likewise.
39783 * nss/nss_db/db-netgrp.c: Likewise.
39784 * nss/nss_db/db-initgroups.c: Likewise.
39785 * io/fchmodat.c: Include <sys/stat.h>.
39787 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39788 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39790 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39793 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39794 Add multiple inclusion protection.
39796 2012-07-27 David S. Miller <davem@davemloft.net>
39798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39800 2012-07-27 Gary Benson <gbenson@redhat.com>
39803 * elf/rtld.c: Include <stap-probe.h>.
39804 (dl_main): Added static probes "init_start" and "init_complete".
39805 * elf/dl-load.c: Include <stap-probe.h>.
39806 (lose): Take new parameter "nsid".
39807 Added static probe "map_failed".
39808 (_dl_map_object_from_fd): Pass namespace id to lose.
39809 Added static probe "map_start".
39810 (open_verify): Pass namespace id to lose.
39811 * elf/dl-open.c: Include <stap-probe.h>.
39812 (dl_open_worker) Added static probes "map_complete", "reloc_start"
39813 and "reloc_complete".
39814 * elf/dl-close.c: Include <stap-probe.h>.
39815 (_dl_close_worker): Added static probes "unmap_start" and
39817 * elf/rtld-debugger-interface.txt: New file documenting the above.
39819 2012-07-26 Roland McGrath <roland@hack.frob.com>
39821 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39822 rather than a string variable.
39823 * sunrpc/rpc_main.c (h_output): Likewise.
39824 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39826 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
39828 * inet/check_native.c: New file.
39830 2012-07-26 Joseph Myers <joseph@codesourcery.com>
39833 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39834 if larger part has absolute value 1.0.
39835 * math/s_clog10.c (__clog10): Likewise.
39836 * math/s_clog10f.c (__clog10f): Likewise.
39837 * math/s_clog10l.c (__clog10l): Likewise.
39838 * math/s_clogf.c (__clogf): Likewise.
39839 * math/s_clogl.c (__clogl): Likewise.
39840 * math/libm-test.inc (clog_test): Add more tests.
39841 (clog10_test): Likewise.
39842 * sysdeps/i386/fpu/libm-test-ulps: Update.
39843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39845 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39846 (pltexit): Likewise.
39847 (La_regs): Likewise.
39848 (La_retval): Likewise.
39849 (int_retval): Likewise.
39850 Update #error for removed macros to refer only to definitions in
39852 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
39854 (pltexit): Likewise.
39855 (La_regs): Likewise.
39856 (La_retval): Likewise.
39857 (int_retval): Likewise.
39858 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
39860 (pltexit): Likewise.
39861 (La_regs): Likewise.
39862 (La_retval): Likewise.
39863 (int_retval): Likewise.
39864 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
39866 (pltexit): Likewise.
39867 (La_regs): Likewise.
39868 (La_retval): Likewise.
39869 (int_retval): Likewise.
39870 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
39872 (pltexit): Likewise.
39873 (La_regs): Likewise.
39874 (La_retval): Likewise.
39875 (int_retval): Likewise.
39876 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
39878 (pltexit): Likewise.
39879 (La_regs): Likewise.
39880 (La_retval): Likewise.
39881 (int_retval): Likewise.
39882 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
39884 (pltexit): Likewise.
39885 (La_regs): Likewise.
39886 (La_retval): Likewise.
39887 (int_retval): Likewise.
39888 * sysdeps/generic/tst-audit.h: Update comment to refer only to
39889 macro definitions in tst-audit.h.
39890 * sysdeps/i386/tst-audit.h: New file.
39891 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
39892 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
39893 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
39894 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
39895 * sysdeps/sh/tst-audit.h: Likewise.
39896 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
39897 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
39898 * sysdeps/x86_64/tst-audit.h: Likewise.
39900 2012-07-26 Andreas Jaeger <aj@suse.de>
39902 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
39905 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
39906 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
39907 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
39909 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
39910 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
39911 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
39913 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
39916 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
39918 (si_call_addr, si_syscall, si_arch): Define new macro.
39919 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
39921 (si_call_addr, si_syscall, si_arch): Define new marcro.
39922 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
39924 (si_call_addr, si_syscall, si_arch): Define new macro.
39925 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
39927 (si_call_addr, si_syscall, si_arch): Define new macro.
39929 2012-07-25 Joseph Myers <joseph@codesourcery.com>
39932 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39933 Change to 2.4.21 where previously 2.4.1.
39934 * sysdeps/unix/sysv/linux/configure: Regenerated.
39935 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39936 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39937 Linux kernel version.
39938 (__ASSUME_STD_AUXV): Remove.
39939 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39941 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39942 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39943 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39944 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39945 (__ASSUME_NETLINK_SUPPORT): Likewise.
39946 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39947 (__no_netlink_support): Remove conditional definition.
39948 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39950 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39951 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39952 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39953 (if_nameindex_ioctl): Remove.
39954 (if_nameindex_netlink): Do not handle __no_netlink_support.
39955 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39957 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39958 Remove conditional code.
39959 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39961 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39963 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39964 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39965 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39967 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39968 [!__ASSUME_STD_AUXV]: Remove conditional code.
39969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39970 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39971 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39973 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39974 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39976 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39978 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39979 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39981 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39983 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39986 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39989 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39990 code unconditional.
39991 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39993 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39995 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39998 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40000 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40003 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40004 code unconditional.
40005 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40007 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40009 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40012 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40013 code unconditional.
40014 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40016 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40018 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40021 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
40023 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
40024 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
40025 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40026 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
40027 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
40028 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40029 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40030 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
40031 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
40032 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
40033 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
40034 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
40035 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
40036 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40037 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
40038 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
40039 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
40040 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
40041 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
40042 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
40043 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
40044 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40045 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40047 2012-07-25 Florian Weimer <fweimer@redhat.com>
40049 * Versions.def: Add GLIBC_2.17.
40050 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40051 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40052 Introduce __libc_secure_getenv.
40053 * stdlib/Versions (2.17): Add secure_getenv
40054 (GLIBC_PRIVATE): Add __libc_secure_getenv.
40055 * stdlib/secure-getenv.c: Rename __secure_getenv to
40056 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
40057 symbol __secure_getenv for GLIBC_2.0.
40058 * stdlib/tst-secure-getenv.c: New.
40059 * stdlib/Makefile (tests): Add testcase.
40060 * manual/startup.texi (Environment Access): Document
40062 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40063 __libc_secure_getenv.
40064 * inet/ruserpass.c (ruserpass): Likewise.
40065 * malloc/mtrace.c (mtrace): Likewise.
40066 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
40067 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
40068 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40069 * sysdeps/posix/tempname.c: Likewise. Evaluate
40070 HAVE_SECURE_GETENV.
40071 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
40072 __secure_getenv to __libc_secure_getenv.
40073 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
40074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40078 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40079 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40080 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40081 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40082 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40083 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40084 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40086 2012-07-25 Joseph Myers <joseph@codesourcery.com>
40088 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40089 (struct La_i86_retval): Likewise.
40090 (struct La_x86_64_regs): Likewise.
40091 (struct La_x86_64_retval): Likewise.
40092 (struct La_x32_regs): Likewise.
40093 (struct La_x32_retval): Likewise.
40094 (struct La_ppc32_regs): Likewise.
40095 (struct La_ppc32_retval): Likewise.
40096 (struct La_ppc64_regs): Likewise.
40097 (struct La_ppc64_retval): Likewise.
40098 (struct La_sh_regs): Likewise.
40099 (struct La_sh_retval): Likewise.
40100 (struct La_s390_32_regs): Likewise.
40101 (struct La_s390_32_retval): Likewise.
40102 (struct La_s390_64_regs): Likewise.
40103 (struct La_s390_64_retval): Likewise.
40104 (struct La_sparc32_regs): Likewise.
40105 (struct La_sparc32_retval): Likewise.
40106 (struct La_sparc64_regs): Likewise.
40107 (struct La_sparc64_retval): Likewise.
40108 (struct audit_ifaces): Remove architecture-specific pltenter and
40110 * sysdeps/i386/ldsodefs.h: New file.
40111 * sysdeps/powerpc/ldsodefs.h: Likewise.
40112 * sysdeps/s390/ldsodefs.h: Likewise.
40113 * sysdeps/sh/ldsodefs.h: Likewise.
40114 * sysdeps/sparc/ldsodefs.h: Likewise.
40115 * sysdeps/x86_64/ldsodefs.h: Likewise.
40117 2012-07-25 Marek Polacek <polacek@redhat.com>
40120 * math/libm-test.inc (yn_test): Add another test.
40121 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40122 to ERANGE when the result is +-Inf.
40123 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40124 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40125 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40126 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40128 2012-07-24 Joseph Myers <joseph@codesourcery.com>
40130 * conform/data/time.h-data (NULL): Use macro-constant. Require
40132 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
40134 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
40136 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
40138 * configure.in <sysdeps resolving>: Correct printing
40140 * configure: Regenerate.
40142 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
40144 * math/w_ilogb.c: Include <limits.h>.
40145 * math/w_ilogbl.c: Likewise.
40147 2012-07-20 Joseph Myers <joseph@codesourcery.com>
40149 * manual/lang.texi (__va_copy): Document primarily as ISO C99
40150 va_copy. Document allowing for unavailable va_copy only as
40151 pre-C99 compatibility.
40152 * manual/string.texi (Copying and Concatenation): Use va_copy
40153 instead of __va_copy in concat example.
40155 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
40157 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40158 (__sendto): Use create_address_port. Initialize APORT and deallocate
40161 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
40162 with O_NOLINK passed to __file_name_lookup.
40164 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40165 with O_NOLINK passed to __file_name_lookup.
40167 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40168 negative N or less than NGIDS.
40170 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40171 type to string_t. Set ERANGE as errno and return it if NAME is not big
40172 enough. Use memcpy instead of strncpy.
40174 2012-07-20 Joseph Myers <joseph@codesourcery.com>
40176 * elf/Makefile (check-data): Remove.
40177 (localplt.data): New vpath directive.
40178 ($(objpfx)check-localplt.out): Use localplt.data from vpath
40179 instead of $(check-data).
40180 * scripts/data/localplt-generic.data: Move to ...
40181 * sysdeps/generic/localplt.data: ... here.
40182 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40183 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40184 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40187 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40190 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40191 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40193 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40194 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40196 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40199 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40203 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40205 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40206 PPC32 and PPC64 files.
40207 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40208 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40210 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40212 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40213 __makecontext_ret to ...
40214 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40215 ... here and call exit if uc_link is NULL. New file.
40216 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40217 __makecontext_ret.S.
40218 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40219 __makecontext_ret to ...
40220 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40221 ... here and call exit if uc_link is NULL. New file.
40222 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40223 __makecontext_ret.S.
40225 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40227 * elf/elf.h (R_390_IRELATIVE): New definition.
40228 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40229 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
40230 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40231 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40232 (elf_machine_lazy_rel): Likewise.
40233 * sysdeps/s390/dl-irel.h: New file.
40234 * sysdeps/s390/s390-64/memcpy.S: New asm code.
40235 * sysdeps/s390/s390-64/memset.S: New asm code.
40236 * sysdeps/s390/s390-64/memcmp.S: New asm code.
40237 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40238 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40239 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40240 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40241 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40242 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40243 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40244 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40245 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40246 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40247 * sysdeps/s390/s390-32/memcpy.S: New asm code.
40248 * sysdeps/s390/s390-32/memset.S: New asm code.
40249 * sysdeps/s390/s390-32/memcmp.S: New asm code.
40251 2012-07-17 Marek Polacek <polacek@redhat.com>
40254 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40255 * sysdeps/s390/s390-64/configure.in: Likewise.
40256 * sysdeps/sparc/configure.in: Likewise.
40257 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
40258 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
40259 * sysdeps/i386/configure.in: Likewise.
40260 * sysdeps/x86_64/configure.in: Likewise.
40261 * sysdeps/sh/configure.in: Likewise.
40262 * sysdeps/s390/s390-32/configure: Regenerated.
40263 * sysdeps/s390/s390-64/configure: Likewise.
40264 * sysdeps/x86_64/configure: Likewise.
40265 * sysdeps/sh/configure: Likewise.
40266 * sysdeps/powerpc/powerpc64/configure: Likewise.
40267 * sysdeps/powerpc/powerpc32/configure: Likewise.
40268 * sysdeps/sparc/configure: Likwise.
40269 * sysdeps/i386/configure: Likewise.
40271 * elf/dl-open.c: Comment fixes.
40273 2012-07-17 Joseph Myers <joseph@codesourcery.com>
40275 * Makefile [CXX] (check-data): Remove.
40276 [CXX] (c++-types.data): New vpath directive.
40277 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
40278 vpath. Do not allow for C++ type data being missing.
40279 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
40280 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
40281 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
40282 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
40283 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
40284 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
40285 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
40286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40288 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
40289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40291 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
40292 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
40294 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
40295 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
40297 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
40298 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
40300 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
40301 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
40303 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
40304 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
40306 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
40307 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
40309 * elf/tls-macros.h (TLS_LE): Move architecture-specific
40310 definitions to architecture-specific files.
40311 (TLS_IE): Likewise.
40312 (TLS_LD): Likewise.
40313 (TLS_GD): Likewise.
40314 * sysdeps/i386/tls-macros.h: New file.
40315 * sysdeps/powerpc/tls-macros.h: Likewise.
40316 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
40317 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
40318 * sysdeps/sh/tls-macros.h: Likewise.
40319 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
40320 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
40321 * sysdeps/x86_64/tls-macros.h: Likewise.
40323 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40325 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
40326 zero value for regular exit case.
40328 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
40329 (__start_context): Preserve zero value for regular exit case.
40331 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40332 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40334 * manual/setjmp.texi (setcontext): Clarify normal process
40335 termination when uc_link is the null pointer.
40336 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
40339 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
40341 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
40342 preprocessor. Test for each exception mask separately.
40344 2012-07-16 Andreas Jaeger <aj@suse.de>
40346 * po/ru.po: Update from translation team.
40348 2012-07-15 Joseph Myers <joseph@codesourcery.com>
40350 * conform/data/string.h-data (NULL): Use macro-constant. Require
40352 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40353 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40354 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
40355 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
40356 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40358 2012-07-13 Andreas Jaeger <aj@suse.de>
40360 * po/fr.po: Update from translation team.
40362 2012-07-12 Marek Polacek <polacek@redhat.com>
40365 * math/libm-test.inc (yn_test): Add test for BZ #14173.
40366 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
40369 2012-07-12 Joseph Myers <joseph@codesourcery.com>
40372 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40373 Change to 2.4.1 where previously 2.4.0.
40374 * sysdeps/unix/sysv/linux/configure: Regenerated.
40375 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
40376 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
40378 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
40379 (__ASSUME_AT_CLKTCK): Remove.
40380 (__ASSUME_AT_PAGESIZE): Likewise.
40381 (__ASSUME_AT_XID): Likewise.
40382 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
40383 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
40384 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
40386 (HAVE_AUX_PAGESIZE): Likewise.
40387 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
40388 [__ASSUME_AT_CLKTCK]: Make code unconditional.
40389 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
40391 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
40394 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
40395 the temporary buffer used to invoke __gethostbyname2_r,
40396 __gethostbyaddr_r and gethostbyname4_r to make room for struct
40397 host_data / struct gaih_addrtuple.
40398 * resolv/nss_dns/dns-host.c (global scope): Move definition of
40399 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
40400 header file nss/nsswitch.h.
40401 * nss/nsswitch.h (global scope): Add definition of implementation
40402 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
40403 resolv/nss_dns/dns-host.c).
40405 2012-07-11 Andreas Jaeger <aj@suse.de>
40407 * po/fr.po: Update from translation team.
40409 * po/sv.po: Update from translation team
40410 * po/fr.po: Another update from translation team.
40412 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40414 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
40415 for subnormals or multiply small sinh result by itself.
40416 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40417 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40419 2012-07-11 David S. Miller <davem@davemloft.net>
40421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40423 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
40426 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
40427 (INTERNAL_MARK): Shift it here.
40429 2012-07-10 Marek Polacek <polacek@redhat.com>
40432 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
40433 libc_cv_asm_global_directive with .globl.
40434 * configure: Regenerated.
40435 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
40437 * sysdeps/i386/configure: Regenerated.
40438 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
40440 * sysdeps/x86_64/configure: Regenerated.
40441 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
40442 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
40443 * elf/tst-unique2mod2.c: Likewise.
40444 * elf/tst-unique2mod1.c: Likewise.
40445 * elf/tst-unique1mod2.c: Likewise.
40446 * elf/tst-unique1mod1.c: Likewise.
40447 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40448 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40449 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40450 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40451 * sysdeps/mach/sysdep.h: Likewise.
40452 * sysdeps/i386/sysdep.h: Likewise.
40453 * sysdeps/i386/i386-mcount.S: Likewise.
40454 * sysdeps/x86_64/_mcount.S: Likewise.
40455 * sysdeps/x86_64/sysdep.h: Likewise.
40456 * sysdeps/sh/_mcount.S: Likewise.
40457 * sysdeps/sh/sysdep.h: Likewise.
40458 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
40459 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
40460 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
40461 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40462 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
40463 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
40464 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
40465 * locale/localeinfo.h: Likewise.
40466 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
40467 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
40469 2012-07-09 Roland McGrath <roland@hack.frob.com>
40472 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
40474 * manual/message.texi (The Uniforum approach): Likewise.
40475 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
40476 (glibc iconv Implementation): Likewise.
40478 2012-07-09 Joseph Myers <joseph@codesourcery.com>
40481 * math/s_clog.c (__clog): Avoid scaling a value down where that
40482 could result in underflow.
40483 * math/s_clog10.c (__clog10): Likewise.
40484 * math/s_clog10f.c (__clog10f): Likewise.
40485 * math/s_clog10l.c (__clog10l): Likewise.
40486 * math/s_clogf.c (__clogf): Likewise.
40487 * math/s_clogl.c (__clogl): Likewise.
40488 * math/libm-test.inc (clog_test): Add more tests.
40489 (clog10_test): Likewise.
40490 * sysdeps/i386/fpu/libm-test-ulps: Update.
40491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40493 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
40496 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
40497 by 7 not 8 to examine high bit of fractional part.
40500 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
40501 for call to __mcount_internal.
40502 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
40503 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
40504 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
40506 2012-07-06 Joseph Myers <joseph@codesourcery.com>
40509 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
40510 approximation for values within 0x1p-13f of an odd multiple of
40512 * math/libm-test.inc (tan_test): Do not allow spurious underflow
40513 exception. Add more tests.
40514 * sysdeps/i386/fpu/libm-test-ulps: Update.
40517 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
40518 inputs and return -1 for them. Do not check for +Inf in case not
40519 reachable for +Inf.
40520 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40521 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
40522 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40523 and return -1 for them. Do not check for +Inf in case not
40524 reachable for +Inf.
40525 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
40527 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40528 and return -1 for them. Do not check for +Inf in case not
40529 reachable for +Inf.
40530 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
40531 spurious underflow.
40532 * sysdeps/i386/fpu/libm-test-ulps: Update.
40533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40535 2012-07-06 Mike Frysinger <vapier@gentoo.org>
40537 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
40539 2012-07-05 Joseph Myers <joseph@codesourcery.com>
40543 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
40544 could result in spurious underflow. Scale down values above
40545 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
40546 * math/s_csqrtf.c (__csqrtf): Likewise.
40547 * math/s_csqrtl.c (__csqrtl): Likewise.
40548 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
40549 spurious underflow.
40550 * sysdeps/i386/fpu/libm-test-ulps: Update.
40551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40553 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
40555 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
40557 * catgets/xopen-msg.awk: New file.
40558 * catgets/xopen-msg.sed: Removed.
40560 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
40562 * intl/po2test.awk: New file.
40563 * intl/po2test.sed: Removed.
40565 2012-07-04 Joseph Myers <joseph@codesourcery.com>
40568 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
40569 or multiply small sinh result by itself.
40570 * math/s_ctanf.c (__ctanf): Likewise.
40571 * math/s_ctanh.c (__ctanh): Likewise.
40572 * math/s_ctanhf.c (__ctanhf): Likewise.
40573 * math/s_ctanhl.c (__ctanhl): Likewise.
40574 * math/s_ctanl.c (__ctanl): Likewise.
40575 * math/libm-test.inc (ctan_test_tonearest): New function.
40576 (ctan_test_towardzero): Likewise.
40577 (ctan_test_downward): Likewise.
40578 (ctan_test_upward): Likewise.
40579 (ctanh_test_tonearest): Likewise.
40580 (ctanh_test_towardzero): Likewise.
40581 (ctanh_test_downward): Likewise.
40582 (ctanh_test_upward): Likewise.
40583 (main): Call these new functions.
40584 * sysdeps/i386/fpu/libm-test-ulps: Update.
40585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40587 2012-07-03 Mike Frysinger <vapier@gentoo.org>
40589 * .gitignore: Delete /ports entry.
40591 2012-07-03 Andreas Jaeger <aj@suse.de>
40593 * po/bg.po: Update from translation team.
40594 * po/cs.po: Likewise.
40595 * po/de.po: Likewise.
40596 * po/hr.po: Likewise.
40597 * po/nl.pl: Likewise.
40598 * po/pl.po: Likewise.
40599 * po/vi.po: Likewise.
40601 2012-07-03 Joseph Myers <joseph@codesourcery.com>
40603 * Makeconfig [!+link] (+link-before-libc): New variable.
40604 [!+link] (+link-after-libc): Likewise.
40605 [!+link] (+link-tests): Likewise.
40606 [!+link] (+link): Define in terms of $(+link-before-libc) and
40607 $(+link-after-libc).
40608 [!+link-static] (+link-static-before-libc): New variable.
40609 [!+link-static] (+link-static-after-libc): Likewise.
40610 [!+link-static] (+link-static-tests): Likewise.
40611 [!+link-static] (+link-static): Define in terms of
40612 $(+link-static-before-libc) and $(+link-static-after-libc).
40613 [build-shared] (link-libc-before-gnulib): New variable.
40614 [build-shared] (link-libc-tests): Likewise.
40615 [build-shared] (link-libc): Define in terms of
40616 $(link-libc-before-gnulib).
40617 [!build-shared] (link-libc-tests): New variable.
40618 (link-libc-static-tests): New variable.
40619 [!gnulib] (gnulib-arch): New variable.
40620 [!gnulib] (gnulib-tests): Likewise.
40621 [!gnulib] (static-gnulib-arch): Likewise.
40622 [!gnulib] (static-gnulib-tests): Likewise.
40623 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
40624 Define with "=" instead of ":=".
40625 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
40626 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
40627 * Rules (binaries-all-notests): New variable.
40628 (binaries-all-tests): Likewise.
40629 (binaries-static-notests): Likewise.
40630 (binaries-static-tests): Likewise.
40631 (binaries-all): Define using $(binaries-all-notests) and
40632 $(binaries-all-tests).
40633 (binaries-static): Define using $(binaries-static-notests) and
40634 $(binaries-static-tests).
40635 (binaries-shared-tests): New variable.
40636 (binaries-shared-notests): Likewise.
40637 (binaries-shared): Remove variable.
40638 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
40639 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
40640 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
40641 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
40642 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
40643 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
40644 * elf/Makefile (sln-modules): New variable.
40645 (extra-objs): Add $(sln-modules:=.o).
40646 (ldconfig-modules): Add static-stubs.
40647 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
40648 * elf/static-stubs.c: New file.
40651 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
40652 by 7 not 8 to examine high bit of fractional part. Use volatile
40653 variables when splitting into final array of floats if
40654 __FLT_EVAL_METHOD__ != 0.
40655 * math/libm-test.inc (cos_test): Add another test.
40656 (sin_test): Likewise.
40657 * sysdeps/i386/fpu/libm-test-ulps: Update.
40660 * math/libm-test.inc (cosh_test): Add more tests.
40662 * version.h (RELEASE): Set to "development".
40663 (VERSION): Set to "2.16.90".
40665 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
40667 * NEWS: Update copyright. Remove last-updated date.
40668 Mention math library bug fixes and timezone data changes.
40669 * README: Mention GNU/Hurd, x32, and HPPA support status.
40671 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
40673 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
40675 2012-06-27 Andreas Jaeger <aj@suse.de>
40677 * manual/contrib.texi (Contributors): Add Samuel Thibault.
40679 2012-06-25 Andreas Jaeger <aj@suse.de>
40681 * sysdeps/s390/fpu/libm-test-ulps: Update.
40683 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
40684 Thomas Schwinge <thomas@codesourcery.com>
40686 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
40687 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
40688 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
40691 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
40693 * sysdeps/mach/start.c: Remove file.
40694 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
40695 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
40696 * sysdeps/sh/init-first.c: Likewise.
40698 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
40699 registers for frame unwinding purposes, add CFI directives.
40700 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40701 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
40702 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
40705 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
40706 __fortify_fail returning.
40707 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40709 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
40710 sysdeps/sh/____longjmp_chk.S.
40711 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
40712 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
40713 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40714 (gen-as-const-headers): Append sigaltstack-offsets.sym.
40716 * sysdeps/sh/abort-instr.h: New file.
40717 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
40718 process in case exit returns.
40720 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
40721 initialize the GOT register before use.
40723 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
40724 calculation of ARGC > 4.
40726 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
40727 meaningful names to some local labels.
40729 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40730 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40732 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
40733 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
40734 (__arch_compare_and_exchange_val_16_acq): Likewise.
40735 (__arch_compare_and_exchange_val_32_acq): Likewise.
40736 (atomic_exchange_and_add): Fix gUSA sequence.
40737 (atomic_add): Likewise.
40738 (atomic_add_negative): Likewise.
40739 (atomic_add_zero): Likewise.
40740 (atomic_bit_test_set): Likewise.
40742 2012-06-22 Andreas Schwab <schwab@redhat.com>
40745 * include/link.h (struct link_map): Add l_free_initfini.
40746 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
40748 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
40749 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
40750 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
40753 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
40755 * configure.in: Use AC_LANG_SOURCE.
40756 * configure: Regenerate.
40758 2012-06-22 Roland McGrath <roland@hack.frob.com>
40760 * configure.in (libc_cv_localstatedir): New substituted variable.
40761 * configure: Regenerated.
40762 * config.make.in (localstatedir): New variable, substituted from
40763 libc_cv_localstatedir.
40764 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
40765 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
40766 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
40767 * sysdeps/gnu/configure: Regenerated.
40769 2012-06-21 Jeff Law <law@redhat.com>
40772 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40773 free. Simplify list management for _LIBC case.
40775 2012-06-21 Joseph Myers <joseph@codesourcery.com>
40778 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40779 Clear sign bit of 64-bit integer value before comparing against
40782 * sysdeps/mach/configure: Regenerated.
40784 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
40787 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40789 2012-06-21 Jeff Law <law@redhat.com>
40792 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
40793 uint16_t for elements in the "seen" array to avoid char overflows.
40794 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40795 * elf/dl-open.c (dl_open_worker): Likewise.
40797 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
40799 * scripts/list-sources.sh: Scan PORTS for translations.
40800 * po/libc.pot: Regenerated.
40802 2012-06-21 Andreas Jaeger <aj@suse.de>
40805 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40807 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40808 * bits/byteswap-16.h (__bswap_16): Likewise.
40809 * bits/byteswap.h (__bswap_constant_16): Likewise.
40811 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
40814 * sysdeps/i386/fpu_control.h: Removed.
40815 * sysdeps/x86_64/fpu_control.h: Moved to ...
40816 * sysdeps/x86/fpu_control.h: Here.
40818 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40819 (_FPU_SETCW): Likewise.
40821 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
40824 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40825 * sysdeps/x86/fpu/bits/mathinline.h: This.
40826 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40830 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40831 functions if __x86_64__ is defined.
40833 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
40835 * string/endian.h: Add !__ASSEMBLER__ condition for including
40836 conversion interfaces.
40838 2012-06-15 Joseph Myers <joseph@codesourcery.com>
40841 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40842 of ABS(x) in calculating zero to negative powers other than odd
40844 * math/libm-test.inc (pow_test): Add more tests.
40846 2012-06-15 Andreas Jaeger <aj@suse.de>
40848 * manual/contrib.texi (Contributors): Update entry of Liubov
40849 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40852 2012-06-15 Cyril Hrubis <metan@ucw.cz>
40854 * string/string.h: Add __wur to GNU version of strerror_r.
40856 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
40859 * string/Makefile (tests): Add tst-strtok_r.
40860 * string/tst-strtok_r.c: New file.
40861 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
40862 RAX_LP/RDX_LP on SAVE_PTR.
40864 2012-06-14 Roland McGrath <roland@hack.frob.com>
40866 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
40868 2012-06-14 Joseph Myers <joseph@codesourcery.com>
40870 * libm_test.inc (csqrt_test): Allow more spurious underflow
40872 (j0_test): Likewise.
40873 (j1_test): Likewise.
40874 (y0_test): Likewise.
40875 (y1_test): Likewise.
40877 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
40879 * po/Makefile (libc.pot): Use UTF-8 charset.
40881 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
40884 Suppress sign-conversion warning from FD_SET.
40885 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
40886 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
40887 not unsigned long int.
40888 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
40890 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
40894 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
40895 __extern_always_inline instead of __extern_inline.
40896 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
40897 (__signbit): Likewise.
40898 (__signbitl): Support C++ namespace.
40899 (lrintf): New inline function.
40901 (llrintf): Likewise.
40902 (llrint): Likewise.
40912 (floorf): Likewise.
40913 (nearbyint): Likewise.
40914 (nearbyintf): Likewise.
40916 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
40918 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
40919 non-default versions.
40921 2012-06-11 Roland McGrath <roland@hack.frob.com>
40924 * manual/argp.texi (Argp): Reword argp_parse description slightly.
40926 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
40928 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
40929 (FE_UPWARD, FE_DOWNWARD): Don't define.
40930 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40931 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40933 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40935 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40936 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40938 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40940 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40941 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40942 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40943 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40945 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
40948 * sysdeps/i386/fpu/bits/fenv.h: Removed.
40949 * sysdeps/i386/fpu/Implies: New file.
40950 * sysdeps/x86_64/fpu/Implies: Likewise.
40951 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40952 * sysdeps/x86/fpu/bits/fenv.h: This.
40954 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40957 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
40960 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40961 character 0xffff that matches the last element of the
40964 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40966 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40969 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40971 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40972 values higher than 25.6283.
40974 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40976 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40977 subnormal exponent extraction and add some __builtin_expect.
40978 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40979 Fix for subnormal mantissa calculation.
40981 2012-06-04 Mike Frysinger <vapier@gentoo.org>
40983 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40984 cpu2 is -1 and errno is not ENOSYS.
40986 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
40989 * sysdeps/i386/i486/bits/string.h: Renamed to ...
40990 * sysdeps/x86/bits/string.h: This.
40991 * sysdeps/x86_64/bits/string.h: Removed.
40993 * sysdeps/i386/i486/bits/string.h: Define inline functions only
40994 if not compiling for x86-64, but compiling for >= i486.
40996 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40997 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40999 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41000 New macro from Linux kernel 3.4.0.
41001 (FP_XSTATE_MAGIC2): Likewise.
41002 (FP_XSTATE_MAGIC2_SIZE): Likewise.
41003 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41004 (struct _fpx_sw_bytes): New struct.
41005 (struct _xsave_hdr): Likewise.
41006 (struct _ymmh_state): Likewise.
41007 (struct _xstate): Likewise.
41009 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41010 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41011 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41012 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41013 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41014 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
41016 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
41017 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
41018 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
41019 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
41020 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41021 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
41023 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41026 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
41027 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
41028 (sysdep_headers): Include sys/platform/ppc.h.
41029 * sysdeps/powerpc/test-gettimebase.c: Test for
41030 __ppc_get_timebase() to catch future ISA opcode/insn changes.
41031 * manual/Makefile (appendices): Include platform.texi.
41032 * manual/contrib.texi (Contributors): Update @node pointers.
41033 * manual/maint.texi (Maintenance): Likewise.
41034 (Platform): New node.
41035 * manual/platform.texi: New file. Document the new features.
41037 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41038 Jakub Jelinek <jakub@redhat.com>
41041 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
41042 where __builtin_expect is unavailable.
41044 2012-06-03 David S. Miller <davem@davemloft.net>
41046 * stdlib/longlong.h: Updated from GCC.
41048 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
41051 * sysdeps/powerpc/powerpc32/mcount.c: New file.
41052 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41055 (GLIBC_2.16): Likewise.
41057 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41059 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41061 2012-06-01 Joseph Myers <joseph@codesourcery.com>
41063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41064 (default-abi): New variable.
41065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41066 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41068 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41070 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41072 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
41075 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
41076 definition. Document in comment.
41078 2012-06-01 David S. Miller <davem@davemloft.net>
41080 * stdlib/longlong.h: Updated from GCC.
41082 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41085 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41086 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41087 sys/debugreg.h sys/io.h here.
41088 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41089 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41091 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41092 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41093 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41094 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41095 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41096 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41098 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41099 Define only if __x86_64__ is defined.
41101 2012-06-01 Joseph Myers <joseph@codesourcery.com>
41104 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41105 Use int64_t for variable i.
41106 * math/libm-test.inc (fmod_test): Add more tests.
41108 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41109 z computation is not scheduled after fetestexcept.
41110 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41111 Use math_force_eval instead of asm to ensure calculation scheduled
41112 before exception test.
41113 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41114 Ensure a1 + u.d computation is not scheduled after fetestexcept.
41116 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
41118 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41119 computation is not scheduled after fetestexcept.
41121 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41124 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41125 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41127 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41129 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41130 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41132 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41135 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41137 (__WCHAR_MIN): Support __WORDSIZE == 64.
41138 (__WCHAR_MAX): Likewise.
41140 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41141 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41144 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41145 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41148 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41149 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41151 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41152 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41154 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41155 Defined to 1 if __x86_64__ isn't defined.
41156 (_STAT_VER_LINUX_OLD): New.
41157 (st_atime): Remove duplicate.
41158 (st_mtime): Likewise.
41159 (st_ctime): Likewise.
41161 2012-05-31 David S. Miller <davem@davemloft.net>
41163 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41166 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
41168 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41172 * elf/dl-reloc.c: Include <_itoa.h>.
41173 (_dl_reloc_bad_type): Remove use of INTUSE.
41174 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41175 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41176 * stdio-common/psiginfo.c (psiginfo): Likewise.
41177 * stdio-common/psignal.c (psignal): Likewise.
41178 * string/strsignal.c (strsignal): Likewise.
41179 * include/signal.h (_sys_siglist): Declare hidden proto.
41180 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
41181 INTVARDEF with libc_hidden_data_def.
41182 * stdio-common/itoa-udigits.c: Likewise.
41183 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41184 (_itoa_lower_digits_internal): Remove declaration.
41185 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41186 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41187 (_sys_sigabbrev_internal): Remove aliases.
41188 (_sys_siglist): Define hidden alias.
41190 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
41192 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41195 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41198 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41199 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41201 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41202 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41203 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41204 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41205 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41206 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41208 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41209 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41210 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41212 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41220 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41221 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41222 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41224 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41225 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41226 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41227 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41228 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41229 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41231 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41232 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41234 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41235 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41237 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41238 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41239 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41241 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41242 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41244 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41246 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41247 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41248 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41250 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41252 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41254 2012-05-31 Joseph Myers <joseph@codesourcery.com>
41256 * math/math.h (M_El): Use two more decimal places.
41257 (M_LOG2El): Likewise.
41258 (M_LOG10El): Likewise.
41259 (M_LN2l): Likewise.
41260 (M_LN10l): Likewise.
41262 (M_PI_2l): Likewise.
41263 (M_PI_4l): Likewise.
41264 (M_1_PIl): Likewise.
41265 (M_2_PIl): Likewise.
41266 (M_2_SQRTPIl): Likewise.
41267 (M_SQRT2l): Likewise.
41268 (M_SQRT1_2l): Likewise.
41270 2012-05-31 David S. Miller <davem@davemloft.net>
41272 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
41273 values between float registers.
41274 * sysdeps/sparc/sparc64/memset.S: Likewise.
41275 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41277 2012-05-31 Mike Frysinger <vapier@gentoo.org>
41279 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
41280 -D_FORTIFY_SOURCE=1.
41281 (CPPFLAGS-tst-longjmp_chk.c): Define.
41282 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
41283 (CPPFLAGS-tst-longjmp_chk2.c): Define.
41284 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
41285 CFLAGS-tst-wchar-h.c.
41287 2012-05-31 Marek Polacek <polacek@redhat.com>
41290 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
41291 __endmntent_internal): Remove declaration.
41292 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
41293 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
41294 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
41296 2012-05-30 David S. Miller <davem@davemloft.net>
41298 * sysdeps/sparc/sparc32/soft-fp/q_util.c
41299 (___Q_simulate_exceptions): Use real FP ops rather than writing
41301 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
41304 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41307 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
41308 * sysdeps/x86/bits/xtitypes.h: This.
41310 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
41311 * sysdeps/x86/bits/wordsize.h: This.
41313 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
41314 * sysdeps/x86/bits/huge_vall.h: This.
41316 * sysdeps/i386/bits/select.h: Removed.
41317 * sysdeps/x86_64/bits/select.h: Renamed to ...
41318 * sysdeps/x86/bits/select.h: This.
41320 * sysdeps/i386/bits/setjmp.h: Removed.
41321 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
41322 * sysdeps/x86/bits/setjmp.h: This.
41324 * sysdeps/i386/bits/mathdef.h: Removed.
41325 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
41326 * sysdeps/x86/bits/mathdef.h: This.
41328 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
41331 * include/sys/socket.h (__connect_internal)
41332 (__libc_sa_len_internal): Remove declaration.
41333 (__connect, __libc_sa_len): Declare hidden_proto.
41334 (SA_LEN): Remove use of INTUSE.
41335 * socket/connect.c: Add libc_hidden_def.
41336 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
41337 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
41338 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
41340 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41341 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
41342 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
41343 of adding _internal alias.
41345 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41348 * sysdeps/i386/bits/link.h: Removed.
41349 * sysdeps/i386/bits/linkmap.h: Likewise.
41350 * sysdeps/x86_64/bits/link.h: Renamed to ...
41351 * sysdeps/x86/bits/link.h: This.
41352 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
41353 * sysdeps/x86/bits/linkmap.h: This.
41355 * sysdeps/i386/bits/endian.h: Removed.
41356 * sysdeps/x86_64/bits/endian.h: Renamed to ...
41357 * sysdeps/x86/bits/endian.h: This.
41359 * sysdeps/i386/bits/byteswap.h: Removed.
41360 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41361 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
41362 * sysdeps/x86/bits/byteswap.h: This.
41363 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
41364 * sysdeps/x86/bits/byteswap-16.h: This.
41365 * sysdeps/i386/Implies: Add x86.
41366 * sysdeps/x86_64/Implies: Likewise.
41368 2012-05-30 David S. Miller <davem@davemloft.net>
41370 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
41371 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
41372 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41373 (FP_TRAPPING_EXCEPTIONS): Define.
41374 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41375 (FP_TRAPPING_EXCEPTIONS): Define.
41376 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
41377 subnormals only when inexact has been signalled or underflow
41378 exceptions are enabled.
41379 (_FP_PACK_CANONICAL): Likewise.
41381 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41384 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
41385 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
41387 2012-05-30 Richard Henderson <rth@twiddle.net>
41389 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
41390 with #ifndef NOT_IN_libc.
41392 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
41393 marked to avoid plt entry.
41395 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41398 * Makeconfig (default-abi): New macro.
41399 (abi-includes): Likewise.
41400 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
41401 $(abi-$(default-abi)-lib-soname) for soname if defined.
41402 ($(common-objpfx)gnu/lib-names.stmp): Generate from
41404 * Makefile (installed-stubs): Likewise.
41405 * include/stubs-biarch.h: Removed.
41406 * scripts/lib-names.awk: Only handle one library at a time.
41407 * scripts/soversions.awk: Remove WORDSIZE support.
41408 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
41410 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
41412 (syscall-list-default-condition): Likewise.
41413 (syscall-list-default-condition): Likewise.
41414 (syscall-list-includes): Likewise.
41415 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
41416 syscall-list-* with abi-*. Handle undefined abi-variants.
41417 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
41418 * sysdeps/unix/sysv/linux/i386/Implies: New file.
41419 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
41420 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
41421 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
41422 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
41424 (syscall-list-32-options): Likewise.
41425 (syscall-list-32-condition): Likewise.
41426 (syscall-list-64-options): Likewise.
41427 (syscall-list-64-condition): Likewise.
41428 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
41430 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
41433 (abi-64-ld-soname): New macro.
41434 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
41435 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
41438 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
41439 * sysdeps/x86_64/x32/shlib-versions: Likewise.
41441 2012-05-30 Joseph Myers <joseph@codesourcery.com>
41443 * sysdeps/unix/sysv/linux/kernel-features.h
41444 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
41445 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
41446 include <kernel-features.h>.
41447 [!__NR_ftruncate64]: Remove conditional code.
41448 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41449 [__NR_ftruncate64]: Make code unconditional.
41450 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41451 * sysdeps/unix/sysv/linux/truncate64.c: Do not
41452 include <kernel-features.h>.
41453 [!__NR_ftruncate64]: Remove conditional code.
41454 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41455 [__NR_ftruncate64]: Make code unconditional.
41456 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
41458 include <kernel-features.h>.
41459 [!__NR_ftruncate64]: Remove conditional code.
41460 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41461 [__NR_ftruncate64]: Make code unconditional.
41462 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41464 include <kernel-features.h>.
41465 [!__NR_ftruncate64]: Remove conditional code.
41466 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41467 [__NR_ftruncate64]: Make code unconditional.
41468 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41470 * configure.in (libc_cv_fpie): Weaken to a compile test using
41471 LIBC_TRY_CC_OPTION.
41472 * configure: Regenerated.
41474 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41476 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
41477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
41478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
41479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
41482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
41483 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
41484 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
41485 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
41486 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41489 2012-05-27 David S. Miller <davem@davemloft.net>
41491 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
41493 (__Q_simulate_exceptions): Return void. Change to simulate
41494 exceptions by writing into the %fsr.
41495 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
41496 (__Qp_handle_exceptions): Likewise.
41498 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
41499 __Qp_handle_exceptions.
41500 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
41501 __Qp_handle_exceptions.
41502 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41503 as unused and give dummy FP_RND_NEAREST initializer.
41504 (FP_INHIBIT_RESULTS): Define.
41505 (___Q_simulate_exceptions): Update declaration.
41506 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
41508 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41509 as unused and give dummy FP_RND_NEAREST initializer.
41510 (__Qp_handle_exceptions): Update declaration.
41511 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
41514 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
41516 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
41517 the temporary FPU control word.
41518 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
41519 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
41520 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41521 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41522 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41523 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41524 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41525 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41526 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41527 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
41528 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41530 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41532 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
41535 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
41537 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
41538 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
41539 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
41540 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
41542 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
41543 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
41546 2012-05-27 Ulrich Drepper <drepper@gmail.com>
41548 * po/h.po: Update from translation team.
41550 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
41552 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
41554 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
41555 handling of denormals.
41556 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41557 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41558 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41559 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41560 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41561 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
41562 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
41565 2012-05-26 Marek Polacek <polacek@redhat.com>
41568 * math/libm-test.inc (fma_test): Don't always expect underflow
41571 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41574 * elf/tst-execstack.c: Include stackinfo.h.
41575 (do_test): Adjust test case to ensure that pthread_getattr_np
41576 behaviour remains the same after marking stack executable.
41578 2012-05-25 Joseph Myers <joseph@codesourcery.com>
41580 * sysdeps/unix/sysv/linux/kernel-features.h
41581 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
41582 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
41584 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41585 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41586 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
41588 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41589 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41591 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
41593 * configure.in: Define the default includes to being none.
41594 * configure: Regenerated.
41596 2012-05-25 Roland McGrath <roland@hack.frob.com>
41598 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
41599 * sysdeps/x86_64/setjmp.S: Likewise.
41600 * sysdeps/i386/bsd-setjmp.S: Likewise.
41601 * sysdeps/i386/bsd-_setjmp.S: Likewise.
41602 * sysdeps/i386/setjmp.S: Likewise.
41603 * sysdeps/i386/__longjmp.S: Likewise.
41604 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41605 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
41607 * include/stap-probe.h: New file.
41608 * configure.in: Handle --enable-systemtap.
41609 * configure: Regenerated.
41610 * config.h.in (USE_STAP_PROBE): New #undef.
41611 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
41612 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
41613 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41615 2012-05-25 Joseph Myers <joseph@codesourcery.com>
41618 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41619 to 2.4.0 where earlier.
41620 * sysdeps/unix/sysv/linux/configure: Regenerated.
41621 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41622 <kernel-features.h>.
41623 [__ASSUME_32BITUIDS]: Make code unconditional.
41624 [!__ASSUME_32BITUIDS]: Remove conditional code.
41625 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
41626 <kernel-features.h>.
41627 [__ASSUME_32BITUIDS]: Make code unconditional.
41628 [!__ASSUME_32BITUIDS]: Remove conditional code.
41629 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
41630 [__ASSUME_32BITUIDS]: Make code unconditional.
41631 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
41632 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
41633 <kernel-features.h>.
41634 [__ASSUME_32BITUIDS]: Make code unconditional.
41635 [!__ASSUME_32BITUIDS]: Remove conditional code.
41636 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
41637 <kernel-features.h>.
41638 [__ASSUME_32BITUIDS]: Make code unconditional.
41639 [!__ASSUME_32BITUIDS]: Remove conditional code.
41640 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
41641 <kernel-features.h>.
41642 [__ASSUME_32BITUIDS]: Make code unconditional.
41643 [!__ASSUME_32BITUIDS]: Remove conditional code.
41644 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
41645 <kernel-features.h>.
41646 [__ASSUME_32BITUIDS]: Make code unconditional.
41647 [!__ASSUME_32BITUIDS]: Remove conditional code.
41648 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41649 <kernel-features.h>.
41650 [__ASSUME_32BITUIDS]: Make code unconditional.
41651 [!__ASSUME_32BITUIDS]: Remove conditional code.
41652 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41653 <kernel-features.h>.
41654 [__ASSUME_32BITUIDS]: Make code unconditional.
41655 [!__ASSUME_32BITUIDS]: Remove conditional code.
41656 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
41657 <kernel-features.h>.
41658 [__ASSUME_32BITUIDS]: Make code unconditional.
41659 [!__ASSUME_32BITUIDS]: Remove conditional code.
41660 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41661 <kernel-features.h>.
41662 [__ASSUME_32BITUIDS]: Make code unconditional.
41663 [!__ASSUME_32BITUIDS]: Remove conditional code.
41664 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41665 <kernel-features.h>.
41666 [__ASSUME_32BITUIDS]: Make code unconditional.
41667 [!__ASSUME_32BITUIDS]: Remove conditional code.
41668 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
41669 <kernel-features.h>.
41670 [__ASSUME_32BITUIDS]: Make code unconditional.
41671 [!__ASSUME_32BITUIDS]: Remove conditional code.
41672 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
41673 <kernel-features.h>.
41674 [__NR_setresgid] (__setresgid): Do not declare.
41675 [__ASSUME_32BITUIDS]: Make code unconditional.
41676 [!__ASSUME_32BITUIDS]: Remove conditional code.
41677 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
41678 <kernel-features.h>.
41679 [__NR_setresuid] (__setresuid): Do not declare.
41680 [__ASSUME_32BITUIDS]: Make code unconditional.
41681 [!__ASSUME_32BITUIDS]: Remove conditional code.
41682 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
41683 <kernel-features.h>.
41684 [__ASSUME_32BITUIDS]: Make code unconditional.
41685 [!__ASSUME_32BITUIDS]: Remove conditional code.
41686 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
41687 <kernel-features.h>.
41688 [__ASSUME_32BITUIDS]: Make code unconditional.
41689 [!__ASSUME_32BITUIDS]: Remove conditional code.
41690 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
41691 <kernel-features.h>.
41692 [__ASSUME_32BITUIDS]: Make code unconditional.
41693 [!__ASSUME_32BITUIDS]: Remove conditional code.
41694 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
41695 <kernel-features.h>.
41696 [__ASSUME_32BITUIDS]: Make code unconditional.
41697 [!__ASSUME_32BITUIDS]: Remove conditional code.
41698 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
41699 <kernel-features.h>.
41700 [__ASSUME_32BITUIDS]: Make code unconditional.
41701 [!__ASSUME_32BITUIDS]: Remove conditional code.
41702 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
41703 <kernel-features.h>.
41704 [__ASSUME_32BITUIDS]: Make code unconditional.
41705 [!__ASSUME_32BITUIDS]: Remove conditional code.
41706 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
41707 <kernel-features.h>.
41708 [__ASSUME_32BITUIDS]: Make code unconditional.
41709 [!__ASSUME_32BITUIDS]: Remove conditional code.
41710 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
41711 <kernel-features.h>.
41712 [__ASSUME_32BITUIDS]: Make code unconditional.
41713 [!__ASSUME_32BITUIDS]: Remove conditional code.
41714 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
41715 <kernel-features.h>.
41716 [__ASSUME_32BITUIDS]: Make code unconditional.
41717 [!__ASSUME_32BITUIDS]: Remove conditional code.
41718 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41719 <kernel-features.h>.
41720 [__ASSUME_32BITUIDS]: Make code unconditional.
41721 [!__ASSUME_32BITUIDS]: Remove conditional code.
41722 * sysdeps/unix/sysv/linux/kernel-features.h
41723 (__ASSUME_SETRESUID_SYSCALL): Remove.
41724 (__ASSUME_SETRESGID_SYSCALL): Likewise.
41725 (__ASSUME_32BITUIDS): Likewise.
41726 (__ASSUME_LDT_WORKS): Likewise.
41727 (__ASSUME_O_DIRECTORY): Likewise.
41728 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
41729 architecture but not kernel version.
41730 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41731 (__ASSUME_MMAP2_SYSCALL): Likewise.
41732 (__ASSUME_STAT64_SYSCALL): Likewise.
41733 (__ASSUME_IPC64): Likewise.
41734 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
41735 <kernel-features.h>.
41736 [__ASSUME_32BITUIDS]: Make code unconditional.
41737 [!__ASSUME_32BITUIDS]: Remove conditional code.
41738 * sysdeps/unix/sysv/linux/opendir.c: Do not include
41739 <kernel-features.h>.
41740 [__ASSUME_O_DIRECTORY]: Make code unconditional.
41741 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
41742 132096]: Remove conditional code.
41743 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
41744 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41745 <kernel-features.h>.
41746 [__ASSUME_32BITUIDS]: Make code unconditional.
41747 [!__ASSUME_32BITUIDS]: Remove conditional code.
41748 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41749 <kernel-features.h>.
41750 [__ASSUME_32BITUIDS]: Make code unconditional.
41751 [!__ASSUME_32BITUIDS]: Remove conditional code.
41752 * sysdeps/unix/sysv/linux/setegid.c: Do not include
41753 <kernel-features.h>.
41754 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
41756 (__setresgid): Do not declare.
41757 [__ASSUME_32BITUIDS]: Make code unconditional.
41758 [!__ASSUME_32BITUIDS]: Remove conditional code.
41759 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
41760 <kernel-features.h>.
41761 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
41763 (__setresuid): Do not declare.
41764 [__ASSUME_32BITUIDS]: Make code unconditional.
41765 [!__ASSUME_32BITUIDS]: Remove conditional code.
41766 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41767 <kernel-features.h>.
41768 [__ASSUME_32BITUIDS]: Make code unconditional.
41769 [!__ASSUME_32BITUIDS]: Remove conditional code.
41770 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
41771 <kernel-features.h>.
41772 [__ASSUME_32BITUIDS]: Make code unconditional.
41773 [!__ASSUME_32BITUIDS]: Remove conditional code.
41775 2012-05-25 Richard Henderson <rth@twiddle.net>
41777 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41778 dl_hwcap to ifunc resolver.
41779 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41781 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41782 dl_hwcap to ifunc resolver.
41783 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41785 2012-05-24 Joseph Myers <joseph@codesourcery.com>
41788 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41789 for |x| <= 2**-26, not 2**-57.
41790 * math/libm-test.inc (acos_test): Do not allow spurious underflow
41793 2012-05-24 Jeff Law <law@redhat.com>
41795 * stdio-common/Makefile (tests): Add bug25.
41796 * stdio-common/bug25.c: New test.
41798 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41801 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41802 multiple of MALLOC_ALIGNMENT in size.
41803 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41805 2012-05-24 Joseph Myers <joseph@codesourcery.com>
41807 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41809 (FILENAME_MAX): Use macro-int-constant.
41810 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
41811 (_IOFBF): Use macro-int-constant.
41812 (_IOLBF): Likewise.
41813 (_IONBF): Likewise.
41814 (SEEK_CUR): Likewise.
41815 (SEEK_END): Likewise.
41816 (SEEK_SET): Likewise.
41817 (TMP_MAX): Likewise.
41818 (EOF): Use macro-int-constant. Require < 0.
41819 (NULL): Use macro-constant. Require == 0.
41820 (stdin): Require type to be FILE *.
41821 (stdout): Likewise.
41822 (stderr): Likewise.
41823 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41824 macro-int-constant.
41825 (EXIT_SUCCESS): Likewise.
41826 (NULL): Use macro-constant. Require == 0.
41827 (RAND_MAX): Use macro-int-constant.
41828 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41829 [C99-based standards] (strtof): Require function.
41830 [C99-based standards] (strtold): Likewise.
41831 [C99-based standards] (strtoll): Likewise.
41832 [C99-based standards] (strtoull): Likewise.
41833 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41834 [ISO || ISO99 || ISO11] (limits.h): Likewise.
41835 [ISO || ISO99 || ISO11] (math.h): Likewise.
41836 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41837 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41838 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41840 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
41843 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41844 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41845 * intl/dgettext.c (DCGETTEXT): Likewise.
41846 * intl/gettext.c (DCGETTEXT): Likewise.
41847 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41848 * posix/regex_internal.h (gettext): Likewise.
41849 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41850 Remove declaration.
41851 * include/argz.h (__argz_count_internal)
41852 (__argz_stringify_internal): Remove declaration.
41853 (__argz_count, __argz_stringify): Declare hidden proto.
41854 * intl/dcgettext.c: Remove use of INTDEF.
41855 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
41856 * string/argz-stringify.c: Likewise.
41857 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41858 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41859 Declare hidden proto.
41860 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41861 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41862 Declare hidden proto.
41863 * include/stdio.h (__asprintf_internal): Don't declare.
41864 (__asprintf): Don't define as macro. Declare hidden proto.
41865 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
41866 (__fsetlocking): Declare hidden proto.
41867 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
41868 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
41870 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
41871 (_IO_setlinebuf): Remove use of INTUSE.
41872 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
41873 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
41874 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
41875 Remove declaration.
41876 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
41877 (_IO_do_flush): Remove use of INTUSE.
41878 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
41879 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
41880 (_IO_adjust_column, _IO_least_wmarker)
41881 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
41882 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
41883 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
41884 (_IO_default_doallocate, _IO_wdefault_doallocate)
41885 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
41886 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
41887 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
41888 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
41889 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
41890 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
41891 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
41892 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
41893 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
41894 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
41895 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
41896 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
41897 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
41899 (_IO_flush_all_internal, _IO_adjust_column_internal)
41900 (_IO_default_uflow_internal, _IO_default_finish_internal)
41901 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
41902 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
41903 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
41904 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
41905 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
41906 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
41907 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
41908 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
41909 (_IO_file_close_internal, _IO_file_close_it_internal)
41910 (_IO_file_underflow_internal, _IO_file_overflow_internal)
41911 (_IO_file_init_internal, _IO_file_attach_internal)
41912 (_IO_file_fopen_internal, _IO_file_read_internal)
41913 (_IO_file_sync_internal, _IO_file_seek_internal)
41914 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
41915 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
41916 (_IO_str_underflow_internal, _IO_str_overflow_internal)
41917 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
41918 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
41919 (_IO_list_all_internal, _IO_link_in_internal)
41920 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
41921 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
41922 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
41923 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
41924 (_IO_do_write_internal, _IO_padn_internal)
41925 (_IO_getline_info_internal, _IO_getline_internal)
41926 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
41927 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
41928 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
41929 (_IO_vfscanf_internal, _IO_vfprintf_internal)
41930 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41931 (_IO_init_internal, _IO_un_link_internal): Don't declare.
41932 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41933 with libc_hidden_ver, remove use of INTUSE.
41934 * libio/genops.c: Likewise.
41935 * libio/freopen.c: Likewise.
41936 * libio/freopen64.c: Likewise.
41937 * libio/iofclose.c: Likewise.
41938 * libio/iofdopen.c: Likewise.
41939 * libio/iofflush.c: Likewise.
41940 * libio/iofflush_u.c: Likewise.
41941 * libio/iofgets.c: Likewise.
41942 * libio/iofgets_u.c: Likewise.
41943 * libio/iofopen.c: Likewise.
41944 * libio/iofopncook.c: Likewise.
41945 * libio/iofread.c: Likewise.
41946 * libio/iofread_u.c: Likewise.
41947 * libio/ioftell.c: Likewise.
41948 * libio/iofwrite.c: Likewise.
41949 * libio/iogetline.c: Likewise.
41950 * libio/iogets.c: Likewise.
41951 * libio/iogetwline.c: Likewise.
41952 * libio/iopadn.c: Likewise.
41953 * libio/iopopen.c: Likewise.
41954 * libio/ioseekoff.c: Likewise.
41955 * libio/ioseekpos.c: Likewise.
41956 * libio/iosetbuffer.c: Likewise.
41957 * libio/iosetvbuf.c: Likewise.
41958 * libio/ioungetc.c: Likewise.
41959 * libio/ioungetwc.c: Likewise.
41960 * libio/iovdprintf.c: Likewise.
41961 * libio/iovsprintf.c: Likewise.
41962 * libio/iovsscanf.c: Likewise.
41963 * libio/memstream.c: Likewise.
41964 * libio/obprintf.c: Likewise.
41965 * libio/oldfileops.c: Likewise.
41966 * libio/oldiofclose.c: Likewise.
41967 * libio/oldiofdopen.c: Likewise.
41968 * libio/oldiofopen.c: Likewise.
41969 * libio/oldiopopen.c: Likewise.
41970 * libio/oldstdfiles.c: Likewise.
41971 * libio/putc.c: Likewise.
41972 * libio/setbuf.c: Likewise.
41973 * libio/setlinebuf.c: Likewise.
41974 * libio/stdfiles.c: Likewise.
41975 * libio/strops.c: Likewise.
41976 * libio/vasprintf.c: Likewise.
41977 * libio/vscanf.c: Likewise.
41978 * libio/vsnprintf.c: Likewise.
41979 * libio/vswprintf.c: Likewise.
41980 * libio/wfiledoalloc.c: Likewise.
41981 * libio/wfileops.c: Likewise.
41982 * libio/wgenops.c: Likewise.
41983 * libio/wmemstream.c: Likewise.
41984 * libio/wstrops.c: Likewise.
41985 * libio/__fpurge.c: Likewise.
41986 * libio/__fsetlocking.c: Likewise.
41987 * assert/assert.c: Likewise.
41988 * debug/fgets_chk.c: Likewise.
41989 * debug/fgets_u_chk.c: Likewise.
41990 * debug/fread_chk.c: Likewise.
41991 * debug/fread_u_chk.c: Likewise.
41992 * debug/gets_chk.c: Likewise.
41993 * debug/obprintf_chk.c: Likewise.
41994 * debug/vasprintf_chk.c: Likewise.
41995 * debug/vdprintf_chk.c: Likewise.
41996 * debug/vsnprintf_chk.c: Likewise.
41997 * debug/vsprintf_chk.c: Likewise.
41998 * malloc/mtrace.c: Likewise.
41999 * misc/error.c: Likewise.
42000 * misc/syslog.c: Likewise.
42001 * stdio-common/asprintf.c: Likewise.
42002 * stdio-common/fxprintf.c: Likewise.
42003 * stdio-common/getw.c: Likewise.
42004 * stdio-common/isoc99_fscanf.c: Likewise.
42005 * stdio-common/isoc99_scanf.c: Likewise.
42006 * stdio-common/isoc99_vfscanf.c: Likewise.
42007 * stdio-common/isoc99_vscanf.c: Likewise.
42008 * stdio-common/isoc99_vsscanf.c: Likewise.
42009 * stdio-common/printf-prs.c: Likewise.
42010 * stdio-common/printf_fp.c: Likewise.
42011 * stdio-common/printf_fphex.c: Likewise.
42012 * stdio-common/printf_size.c: Likewise.
42013 * stdio-common/putw.c: Likewise.
42014 * stdio-common/scanf.c: Likewise.
42015 * stdio-common/sprintf.c: Likewise.
42016 * stdio-common/tmpfile.c: Likewise.
42017 * stdio-common/vfprintf.c: Likewise.
42018 * stdio-common/vfscanf.c: Likewise.
42019 * stdlib/strfmon_l.c: Likewise.
42020 * sunrpc/openchild.c: Likewise.
42021 * sunrpc/xdr_stdio.c: Likewise.
42022 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
42023 * sysdeps/mach/hurd/tmpfile.c: Likewise.
42025 2012-05-24 Roland McGrath <roland@hack.frob.com>
42027 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42029 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
42030 in the third column, to generate for the shared library an IFUNC
42031 that uses _dl_vdso_vsym.
42032 * Makerules (COMPILE.c, compile-stdin.c): New variables.
42033 * Makeconfig (object-suffixes-noshared): New variable.
42035 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
42036 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
42037 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
42038 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
42041 * include/sys/time.h (__gettimeofday): Remove macro.
42042 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
42043 * time/gettimeofday.c (__gettimeofday): Remove #undef.
42045 (__gettimeofday): Add libc_hidden_def.
42046 (gettimeofday): Add libc_hidden_weak.
42047 * sysdeps/mach/gettimeofday.c: Likewise.
42048 * sysdeps/posix/gettimeofday.c: Likewise.
42049 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42050 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42051 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42052 (__gettimeofday_internal): Remove strong_alias.
42053 (__gettimeofday): Add libc_hidden_def.
42054 (gettimeofday): Add libc_hidden_weak.
42055 * sysdeps/unix/syscalls.list (gettimeofday):
42056 Remove __gettimeofday_internal alias.
42058 2012-05-24 Daniel Jacobowitz <drow@false.org>
42059 H.J. Lu <hongjiu.lu@intel.com>
42062 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42063 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42064 (largebin_index_32_big): New.
42065 (largebin_index): Use it for 16-byte alignment.
42066 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
42067 correction with front_misalign.
42069 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42071 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42072 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42074 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
42076 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42078 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42080 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42082 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42084 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42086 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42088 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42090 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42092 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42094 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42097 * scripts/data/c++-types-x32-linux-gnu.data: New file.
42098 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42100 2012-05-24 Joseph Myers <joseph@codesourcery.com>
42104 * math/libm-test.inc (exp_test): Add test from bug 14036.
42105 (pow_test): Add test from bug 10846.
42107 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42109 (special_function): Do not include flags in test name.
42110 (parse_args): Likewise.
42111 * sysdeps/i386/fpu/libm-test-ulps: Update.
42112 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42113 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42114 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42117 * math/gen-libm-test.pl (%beautify): Add entries for underflow
42119 * math/libm-test.inc ("Philosophy"): Update comment about
42121 (UNDERFLOW_EXCEPTION): New macro.
42122 (UNDERFLOW_EXCEPTION_OK): Likewise.
42123 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42124 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42125 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42126 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42127 (INVALID_EXCEPTION_OK): Update value.
42128 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42129 (OVERFLOW_EXCEPTION_OK): Likewise.
42130 (IGNORE_ZERO_INF_SIGN): Likewise.
42131 (test_exceptions): Handle underflow exceptions.
42132 (acos_test): Update for underflow exception expectations.
42133 (cexp_test): Likewise.
42134 (clog_test): Likewise.
42135 (clog10_test): Likewise.
42136 (csqrt_test): Likewise.
42137 (ctan_test): Likewise.
42138 (ctanh_test): Likewise.
42139 (exp_test): Likewise.
42140 (exp10_test): Likewise.
42141 (exp2_test): Likewise.
42142 (expm1_test): Likewise.
42143 (fma_test): Likewise.
42144 (j0_test): Likewise.
42145 (jn_test): Likewise.
42146 (nexttoward_test): Likewise.
42147 (pow_test): Likewise.
42148 (scalbn_test): Likewise.
42149 (scalbln_test): Likewise.
42150 (tan_test): Likewise.
42151 (y1_test): Likewise.
42152 * sysdeps/i386/fpu/libm-test-ulps: Update.
42153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42155 2012-05-23 David S. Miller <davem@davemloft.net>
42157 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42158 (__libc_sigaction): Remove unused local variables.
42160 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42162 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
42164 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
42166 mktime: avoid signed integer overflow
42167 * time/mktime.c (__mktime_internal): Do not mishandle the case
42168 where diff == INT_MIN.
42170 mktime: simplify computation of average
42171 * time/mktime.c (ranged_convert): Use new time_t_avg function
42172 instead of rolling our own (probably-slower) code.
42174 mktime: do not assume signed right shift propagates sign bit
42175 * time/mktime.c (isdst_differ): New static function.
42176 (__mktime_internal): No need to normalize tm_isdst now.
42177 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42180 mktime: merge another wrapv change from gnulib
42181 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42182 from some compilers.
42184 mktime: remove incorrect attempt at unusual arithmetics
42185 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42186 The code didn't really work on such machines anyway.
42187 (TYPE_MINIMUM): Assume two's complement.
42188 (twos_complement_arithmetic): Verify that long_int and time_t
42189 are two's complement (or unsigned, in the latter case).
42191 mktime: check signed shifts on long_int and time_t, too
42192 * time/mktime.c (SHR): Check that shifts work as desired
42193 on the types long_int and time_t too, as SHR is used on
42196 mktime: do not assume 'long' is wide enough
42197 * time/mktime.c (verify): Move decl up.
42198 (long_int): New type.
42199 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42200 to remove assumption in the code that 'long' is wide enough to
42201 store year values. This assumption is not true on x32 and on
42202 some non-glibc platforms.
42204 mktime: merge wrapv change from gnulib
42205 * time/mktime.c (WRAPV): New macro.
42206 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42207 (guess_time_tm, __mktime_internal): Do not assume that signed
42208 integer overflow wraps around; modern compilers generate code
42209 where this assumption is no longer valid.
42211 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42213 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42214 Replace "jmp L(pseudo_end)" with "ret".
42215 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42218 2012-05-23 Andreas Jaeger <aj@suse.de>
42220 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42221 * sysdeps/unix/sysv/linux/poll.c: Remove file.
42223 2012-05-23 Andreas Jaeger <aj@suse.de>
42224 Maximilian Attems <max@stro.at>
42226 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42229 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42231 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42232 code so that pseudo_end is just ret and the stack pointer is
42233 correct also for static library in error case.
42235 2012-05-23 Joseph Myers <joseph@codesourcery.com>
42237 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42238 move to syscalls.list.
42239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42244 * manual/install.texi (Running make install): Do not mention Linux
42245 kernel version for which pt_chown is not needed.
42246 (Linux): Do not mention problems with nscd with 2.0 kernels.
42247 * INSTALL: Regenerated.
42249 2012-05-23 Andreas Jaeger <aj@suse.de>
42251 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42252 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42254 * sysdeps/unix/sysv/linux/s390/bits/mman.h
42255 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42256 * sysdeps/unix/sysv/linux/sh/bits/mman.h
42257 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42258 * sysdeps/unix/sysv/linux/i386/bits/mman.h
42259 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42260 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
42261 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42262 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
42263 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42264 * sysdeps/unix/sysv/linux/bits/in.h
42265 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
42267 2012-05-22 Roland McGrath <roland@hack.frob.com>
42269 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
42270 (PREPARE_VERSION): Just use assert instead, it will be elided
42271 under [NDEBUG] anyway.
42273 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42275 * sysdeps/unix/sysv/linux/Makefile: Include
42276 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
42277 (sysdep_routines): Remove sysctl.
42278 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
42279 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
42280 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
42281 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
42282 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
42284 2012-05-22 Andreas Jaeger <aj@suse.de>
42286 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
42287 that pseudo_end is just ret and the stack pointer is correct also
42288 for static library in error case.
42290 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
42293 * nss/nsswitch.c (defconfig_entries): New variable.
42294 (__nss_database_lookup): Don't leak defconfig entries.
42295 (nss_parse_service_list): Don't leak on error paths.
42296 (free_database_entries): New function.
42297 (free_defconfig): New function.
42298 (free_mem): Move common code to free_database_entries.
42300 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42302 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
42304 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
42306 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42307 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
42308 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
42310 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
42311 (INTERNAL_SYSCALL_TYPES): Likewise.
42312 (LOAD_ARGS_TYPES_[1-6]): Likewise.
42313 (LOAD_REGS_TYPES_[1-6]): Likewise.
42314 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
42315 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
42317 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42319 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
42320 copysignl for GLIBC_2_0.
42321 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
42322 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
42323 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
42324 logbl for GLIBC_2_0.
42325 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42326 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42328 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42330 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
42331 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42333 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42336 * time/mktime.c: Update copyright years.
42338 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
42340 mktime: merge comment-quoting-style change from gnulib
42341 * time/mktime.c: Quote 'like this' in comments.
42342 The GNU coding standards suggest that we no longer quote `like this',
42343 as "`" and "'" are typically rendered asymmetrically nowadays.
42344 The typical gnulib style is to quote 'like this' when quoting
42345 code, and "like this" when quoting English.
42347 * time/mktime.c (compile-command): Add "-I.".
42349 mktime: merge mktime-internal.h change from gnulib
42350 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
42352 mktime: merge time_r change from gnulib
42353 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
42355 mktime: merge DEBUG change from gnulib
42356 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
42357 case system <time.h> has a #define.
42359 mktime: merge <sys/types.h> change from gnulib
42360 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
42361 since <time.t> is now guaranteed to define time_t.
42363 mktime: merge HAVE_CONFIG_H change from gnulib
42364 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
42366 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42368 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42371 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
42373 (struct rusage): Use anonymous union to pad each field to
42376 2012-05-21 David S. Miller <davem@davemloft.net>
42378 * Makefules (o-iterator): Remove .s cases.
42379 (compile-command.s): Delete.
42380 (COMPILE.s): Delete.
42381 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
42383 2012-05-21 Joseph Myers <joseph@codesourcery.com>
42385 * configure.in (libc_cv_predef_stack_protector): Only consider
42386 "foobar" and "__stack_chk_fail" lines in libc_undefs.
42387 * configure: Regenerated.
42389 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42391 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42392 New macro. Use R*LP on int and pointer.
42393 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
42394 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
42395 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
42396 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
42398 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
42399 [__WORDSIZE_TIME64_COMPAT32] instead of
42400 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
42401 (struct utmp): Likewise.
42402 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
42403 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
42405 (__WORDSIZE_TIME64_COMPAT32): This.
42406 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
42407 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
42408 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
42409 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
42410 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
42411 (__WORDSIZE_TIME64_COMPAT32): New macro.
42413 2012-05-21 Andreas Jaeger <aj@suse.de>
42415 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
42416 only if [SHARED]. Add prototype for __wcschr_ia32.
42418 2012-05-21 Roland McGrath <roland@hack.frob.com>
42420 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
42421 of %rbp unmolested in the jmp_buf while mangling the low bits.
42422 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
42423 unmolested high bits of %rbp while demangling the low bits.
42424 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42426 2012-05-21 Andreas Jaeger <aj@suse.de>
42428 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
42429 * sunrpc/svc_simple.c: Use it for registerrpc.
42430 * sunrpc/xcrypt.c: Use it for passwd2des.
42432 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
42434 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42436 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
42437 Don't define if [__SYSCALL_WORDSIZE != 32].
42438 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
42441 2012-05-21 Bruno Haible <bruno@clisp.org>
42442 Andreas Jaeger <aj@suse.de>
42444 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
42445 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
42446 inptr and inend for must_buffer_ch.
42447 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
42448 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
42449 * stdio-common/Makefile (tests): Remove bug15.
42450 (bug15-ENV): Remove macro.
42451 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
42454 2012-05-19 Andreas Jaeger <aj@suse.de>
42455 Roland McGrath <roland@hack.frob.com>
42457 * manual/contrib.texi: Completely rewritten. It contains now an
42458 alphabetical list of contributors and their contributions.
42460 2012-05-21 Richard Henderson <rth@twiddle.net>
42462 * misc/getauxval.c (__getauxval): Use unsigned long int.
42463 * misc/sys/auxv.h: Include <sys/cdefs.h>.
42464 (getauxval): Use unsigned long int.
42466 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42468 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42470 2012-05-21 Roland McGrath <roland@hack.frob.com>
42472 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
42473 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
42474 __alignof__ (long double).
42476 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42480 2012-05-20 Richard Henderson <rth@twiddle.net>
42482 * misc/getauxval.c: New file.
42483 * misc/sys/auxv.h: New file.
42484 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
42485 (routines): Add getauxval.
42486 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
42487 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
42488 * elf/dl-sysdep.c (_dl_auxv): Remove.
42489 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
42490 * elf/dl-support.c (_dl_auxv): New variable.
42491 (_dl_aux_init): Initialize it.
42492 * manual/startup.texi (Auxiliary Vector): New node.
42493 * sysdeps/generic/bits/hwcap.h: New file.
42494 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
42495 * sysdeps/powerpc/sysdep.h: ... here. Include it.
42496 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
42497 * sysdeps/sparc/sysdep.h: ... here. Include it.
42498 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
42499 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
42500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
42503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
42504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
42505 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
42506 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42507 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42508 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
42509 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
42511 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42513 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42515 2012-05-19 David S. Miller <davem@davemloft.net>
42517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42519 2012-05-19 Joseph Myers <joseph@codesourcery.com>
42522 * math/s_ccosh.c: Include <float.h>
42523 (__ccosh): Avoid internal overflow calculating sinh and cosh
42524 values before multiplying by sin and cos values.
42525 * math/s_ccoshf.c: Likewise.
42526 * math/s_ccoshl.c: Likewise.
42527 * math/s_csin.c: Likewise.
42528 * math/s_csinf.c: Likewise.
42529 * math/s_csinl.c: Likewise.
42530 * math/s_csinh.c: Likewise.
42531 * math/s_csinhf.c: Likewise.
42532 * math/s_csinhl.c: Likewise.
42533 * math/libm-test.inc (ccos_test): Add more tests.
42534 (ccosh_test): Likewise.
42535 (csin_test): Likewise.
42536 (csinh_test): Likewise.
42537 * sysdeps/i386/fpu/libm-test-ulps: Update.
42538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42540 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
42542 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
42543 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
42545 * sysdeps/x86_64/x32/_itoa.h: Add comment.
42547 2012-05-19 Joseph Myers <joseph@codesourcery.com>
42549 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
42550 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
42551 * sysdeps/powerpc/soft-fp/Versions: Likewise.
42552 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
42553 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
42554 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
42555 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
42556 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
42557 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
42558 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
42559 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
42560 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
42561 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
42562 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
42563 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
42564 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
42565 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
42566 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
42567 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
42568 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
42569 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
42570 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
42571 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
42572 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
42573 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
42574 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
42575 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
42576 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
42577 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
42578 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
42579 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
42581 2012-05-18 Andreas Jaeger <aj@suse.de>
42583 * csu/.gitignore: Delete.
42585 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42587 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
42588 (timex): Use __syscall_slong_t.
42590 2012-05-18 Andreas Jaeger <aj@suse.de>
42591 Carlos O'Donell <carlos_odonell@mentor.com>
42593 * manual/install.texi (Configuring and compiling): Update
42594 description about files modified in the source directory.
42595 * INSTALL: Regenerated.
42597 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42599 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
42600 value. Use "or" to set return value to -1.
42601 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
42602 negate return value.
42604 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42606 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
42607 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
42608 failure if the compiler has Graphite support disabled.
42609 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
42611 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
42612 (CFLAGS-memmove.c): Likewise.
42613 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
42616 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42618 * sysdeps/x86_64/x32/_itoa.h: New file.
42620 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
42621 getdents system call only if kernel and user dirents have the
42622 same d_ino and d_off.
42624 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42625 LLONG_MAX != LONG_MAX.
42626 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42627 (_fitoa_word): Likewise.
42629 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
42631 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
42632 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
42633 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
42635 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
42636 include <bits/wordsize.h>. Check __x86_64__ instead of
42638 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
42639 if __x86_64__ is defined. Use anonymous union on fpstate.
42641 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
42644 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
42646 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
42647 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
42648 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
42649 Refer to _rtld_local_ro instead of _rtld_global_ro.
42650 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
42652 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
42654 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
42656 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
42657 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
42658 of _rtld_global, and rtld_progname instead of _dl_argv[0].
42660 * sysdeps/powerpc/powerpc32/dl-machine.c
42661 (__elf_machine_runtime_setup) [PROF]: Don't reference
42664 2012-05-18 Andreas Jaeger <aj@suse.de>
42666 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
42667 function only available for GCCs before 3.4 since GCC 3.4
42668 introduced a builtin.
42670 (llrintf): Likewise.
42671 (llrint): Likewise.
42678 (nearbyint): Likewise.
42679 (nearbyintf): Likewise.
42683 (floorf): Likewise.
42685 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42687 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
42688 on both fields and cast pointer to __syscall_ulong_t.
42690 * bits/types.h (__fsword_t): New type.
42691 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
42692 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
42693 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42694 (__FSWORD_T_TYPE): Likewise.
42695 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42696 (__FSWORD_T_TYPE): Likewise.
42697 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42698 (__FSWORD_T_TYPE): Likewise.
42699 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
42700 (__FSWORD_T_TYPE): Likewise.
42701 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
42702 __SWORD_TYPE with __fsword_t.
42703 (statfs64): Likewise.
42705 2012-05-17 David S. Miller <davem@davemloft.net>
42707 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
42709 2012-05-17 Andreas Jaeger <aj@suse.de>
42711 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
42714 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42716 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
42718 2012-05-17 Andreas Jaeger <aj@suse.de>
42720 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
42723 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42725 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
42727 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42729 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
42730 * sysdeps/x86_64/tst-mallocalign1.c: New file.
42732 2012-05-17 Andreas Jaeger <aj@suse.de>
42733 Carlos O'Donell <carlos_odonell@mentor.com>
42736 * sysdeps/x86_64/multiarch/init-arch.h
42737 (bit_YMM_Usable): Rename to...
42738 (bit_AVX_Usable): ... this.
42739 (bit_FMA4_Usable): New macro.
42740 (bit_XMM_state): New macro.
42741 (bit_YMM_state): New macro.
42742 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
42743 [__ASSEMBLER__] (index_AVX_Usable): ... this.
42744 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
42745 (CPUID_OSXSAVE): New macro.
42746 (CPUID_AVX): New macro.
42747 (CPUID_FMA4): New macro.
42748 (index_YMM_Usable): Rename to...
42749 (index_AVX_Usable): ... this.
42750 (HAS_AVX): Use HAS_ARCH_FEATURE.
42751 (HAS_FMA4): Likewise.
42752 (HAS_YMM_USABLE): Remove.
42753 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42754 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
42756 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
42757 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
42758 * sysdeps/x86_64/multiarch/Makefile: Likewise.
42759 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
42760 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
42762 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42764 * math/libm-test.c: Support platforms without multiple rounding modes.
42765 * math/bug-nextafter.c: Support platforms without FP exceptions.
42766 * math/bug-nexttoward.c: Likewise.
42767 * math/test-fenv.c: Likewise.
42768 * math/test-misc.c: Likewise.
42769 * stdlib/bug-getcontext.c: Likewise.
42771 2012-05-17 Andreas Jaeger <aj@suse.de>
42773 * manual/examples/search.c (critter_cmp): Change signature to
42775 * manual/string.texi (Collation Functions): Likewise.
42777 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42779 * bits/types.h: Fold copyright years.
42780 * bits/typesizes.h: Likewise.
42781 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42782 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42783 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42784 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42785 * time/time.h: Likewise.
42787 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
42790 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42791 in instead of returning them. Return void.
42792 (__libc_mallinfo): Accumulate over all arenas.
42793 (__malloc_stats): Adjust for change in int_mallinfo interface.
42795 2012-05-16 Roland McGrath <roland@hack.frob.com>
42798 * configure.in (NM): Add AC_CHECK_TOOL for it.
42799 (libc_extra_cflags): New substituted variable.
42800 Check for -fstack-protector being used implicitly.
42801 * configure: Regenerated.
42802 * config.make.in (config-extra-cflags): New variable,
42803 gets @libc_extra_cflags@.
42804 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42807 * configure.in: Check for _FORTIFY_SOURCE being predefined.
42808 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42809 * configure: Regenerated.
42810 * config.make.in (CPPUNDEFS): New substituted variable.
42811 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42812 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42813 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42815 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42817 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42818 (mq_attr): Use __syscall_slong_t.
42820 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42822 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42823 Check __x86_64__ instead of __WORDSIZE.
42824 (_STAT_VER_LINUX): Likewise.
42825 (stat): Check __x86_64__ instead of __WORDSIZE. Use
42826 __syscall_ulong_t and __syscall_slong_t.
42827 (stat64): Likewise.
42829 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42831 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42833 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42835 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42837 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42839 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42842 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42843 include <bits/wordsize.h>. Check __x86_64__ instead of
42845 (greg_t): Use "__extension__ long long int" if __x86_64__ is
42847 (mcontext_t): Replace "unsigned long" with "unsigned long long".
42849 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42850 include <bits/wordsize.h>. Check __x86_64__ instead of
42852 (user_regs_struct): Use "__extension__ unsigned long long"
42853 instead of "unsigned long" if __x86_64__ is defined.
42854 (user): Likewise. Pad after pointer field if __ILP32__ is
42857 2012-05-16 Joseph Myers <joseph@codesourcery.com>
42859 * configure.in (makeinfo): Require version 4.5 or later. Allow
42861 * configure: Regenerated.
42862 * manual/install.texi (texinfo): Increase version requirement to
42864 * INSTALL: Regenerated.
42866 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
42868 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42870 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
42872 * sysdeps/x86_64/x32/ffs.c: New file.
42874 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
42876 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
42877 defined. Use __syscall_ulong_t.
42878 (shminfo): Use __syscall_ulong_t.
42879 (shm_info): Likewise.
42881 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
42884 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
42886 (msgqnum_t): Use __syscall_ulong_t.
42887 (msglen_t): Likewise.
42888 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
42891 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
42892 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42894 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
42896 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
42897 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
42899 * sysvipc/sys/msg.h (msgbuf): Replace long int with
42902 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
42903 include <bits/wordsize.h>. Check __x86_64__ instead of
42906 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
42907 "unsigned long long int" if __x86_64__ is defined.
42908 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
42910 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
42911 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42912 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
42914 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
42916 (GET_PC): Cast to uintptr_t first.
42917 (GET_FRAME): Likewise.
42918 (GET_STACK): Likewise.
42920 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
42921 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
42922 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
42923 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
42924 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
42925 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
42926 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
42927 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
42928 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
42929 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
42930 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42931 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42932 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42933 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42934 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42935 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42936 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42937 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42938 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42939 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42940 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42941 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42942 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42943 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42944 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42945 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42946 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42947 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42948 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42950 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
42952 * Makerules (+depfiles): Also collect depfiles from .oS in
42954 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42955 .oS, $(libnldbl-routines)).
42957 * Makerules (native-compile-mkdep-flags): Define.
42958 * sunrpc/Makefile (extra-objs): Add $(addprefix
42959 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42960 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42961 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
42962 calling $(make-target-directory).
42964 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42966 * bits/types.h (__snseconds_t): Removed.
42967 * time/time.h (struct timespec): Replace __snseconds_t with
42969 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42970 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42972 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42973 (__SNSECONDS_T_TYPE): Likewise.
42974 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42975 (__SNSECONDS_T_TYPE): Likewise.
42976 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42977 (__SNSECONDS_T_TYPE): Likewise.
42979 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42981 * sysdeps/mach/hurd/bits/typesizes.h
42982 (__SYSCALL_SLONG_TYPE): New macro.
42983 (__SYSCALL_ULONG_TYPE): Likewise.
42985 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42987 * bits/types.h (__syscall_slong_t): New type.
42988 (__syscall_ulong_t): Likewise.
42990 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42991 (__SYSCALL_ULONG_TYPE): Likewise.
42992 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42993 (__SYSCALL_SLONG_TYPE): Likewise.
42994 (__SYSCALL_ULONG_TYPE): Likewise.
42995 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42996 (__SYSCALL_SLONG_TYPE): Likewise.
42997 (__SYSCALL_ULONG_TYPE): Likewise.
42998 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42999 (__SYSCALL_SLONG_TYPE): Likewise.
43000 (__SYSCALL_ULONG_TYPE): Likewise.
43002 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43004 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43005 Add sigaltstack-offsets.sym.
43006 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43007 <sigaltstack-offsets.h>.
43008 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
43009 longjmp_msg pointer.
43010 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
43011 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43013 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
43015 2012-05-15 Joseph Myers <joseph@codesourcery.com>
43017 * elf/stackguard-macros.h: Remove file.
43018 * sysdeps/generic/stackguard-macros.h: New file.
43019 * sysdeps/i386/stackguard-macros.h: Likewise.
43020 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43021 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43022 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43023 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43024 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43025 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43026 * sysdeps/x86_64/stackguard-macros.h: Likewise.
43027 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
43028 <elf/stackguard-macros.h>.
43031 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
43032 __aligned__ in attribute.
43033 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
43034 (gregset_t): Likewise.
43036 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43038 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
43039 * sysdeps/x86_64/64/Implies-after: Here. New file.
43040 * sysdeps/x86_64/x32/Implies-after: New file.
43042 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43044 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43045 and access return value for _dl_profile_fixup. Use R10_LP to
43048 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43050 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43052 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43054 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43055 * sysdeps/x86_64/x32/sysdep.h: New file.
43057 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43059 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43060 * sysdeps/x86_64/setjmp.S: Likewise.
43062 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43064 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43065 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43066 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43067 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43068 remove unused global constant.
43070 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
43072 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
43073 include of <not-cancel.h>.
43075 2012-05-15 Roland McGrath <roland@hack.frob.com>
43077 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
43079 2012-05-15 Jeff Law <law@redhat.com>
43080 Andreas Jaeger <aj@suse.de>
43083 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43085 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43086 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43087 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43088 code changing __hst_map_handle.map.
43090 2012-05-15 Roland McGrath <roland@hack.frob.com>
43092 * configure.in (sysnames): Look for Implies-before and Implies-after
43094 * configure: Regenerated.
43096 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43098 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43099 8-byte data alignment with LP_SIZE alignment.
43101 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43103 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43106 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43108 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43110 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43112 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43113 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43114 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43116 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43118 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43120 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43121 (stackinfo_sub_sp): Likewise.
43123 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43125 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43128 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43130 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43133 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43135 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43138 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43140 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43142 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43144 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43145 into R11_LP and load __x86_64_shared_cache_size_half into
43148 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43150 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43153 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43155 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43157 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43159 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43161 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
43162 powerpc32/power7/fpu/s_logb.c via #include.
43163 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43164 powerpc32/power7/fpu/s_logbf.c via #include.
43165 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43166 powerpc32/power7/fpu/s_logbl.c via #include.
43168 2012-05-15 Joseph Myers <joseph@codesourcery.com>
43170 * README.libm: Remove file.
43172 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43174 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43175 count for x32. Use R*_LP and omit operand-size suffix.
43177 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43179 * shlib-versions: Move x86_64-.*-linux.* entries to ...
43180 * sysdeps/x86_64/64/shlib-versions: Here. New file.
43181 * sysdeps/x86_64/x32/shlib-versions: New file.
43183 2012-05-14 Roland McGrath <roland@hack.frob.com>
43185 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43186 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43187 Use _dl_fatal_printf instead.
43189 2012-05-14 Joseph Myers <joseph@codesourcery.com>
43191 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43192 set if not set by the user. Do not allow for being unset.
43193 * sysdeps/unix/sysv/linux/configure: Regenerated.
43195 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43197 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43198 the `q' suffix from lea and replace .quad with ASM_ADDR.
43200 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43202 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43203 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
43205 (PTR_DEMANGLE): Likewise.
43207 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43209 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43211 (ASM_ADDR): Likewise.
43212 (RAX_LP): Likewise.
43213 (RBP_LP): Likewise.
43214 (RBX_LP): Likewise.
43215 (RCX_LP): Likewise.
43216 (RDI_LP): Likewise.
43217 (RSI_LP): Likewise.
43218 (RSP_LP): Likewise.
43221 (R10_LP): Likewise.
43222 (R10_LP): Likewise.
43223 (R11_LP): Likewise.
43224 (R12_LP): Likewise.
43225 (R13_LP): Likewise.
43226 (R14_LP): Likewise.
43227 (R15_LP): Likewise.
43229 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43231 * sysdeps/x86_64/x32/dl-machine.h: New file.
43233 2012-05-14 Andreas Jaeger <aj@suse.de>
43235 * manual/Makefile (subdir): Remove export of subdir.
43236 (all): Remove target.
43237 (.PHONY): Remove all from list.
43238 (mkinstalldirs): Remove.
43239 (.PHONY): Remove installdirs from list.
43240 ($(inst_infodir)/libc.info): Use make-target-directory.
43241 (installdirs): Remove.
43242 (subdir_%): Remove.
43243 (glibc-targets): Remove.
43246 ($(objpfx)stubs ../po/manual.pot): Remove.
43247 ($(objpfx)stamp%): Remove.
43248 (make-target-directory): Remove.
43249 (subdir_install): Remove.
43250 (routines): Remove.
43257 * manual/.gitignore: Remove, it's not needed anymore.
43258 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
43260 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
43262 (texis): Renamed to $(objpfx)texis.
43263 (texis-path): New, contains path to generated files.
43264 (chapters.%): Use texis-path for complete path, add extra argument
43266 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
43267 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
43268 (summary,texi, stamp-summary): Use complete path of
43269 files. Generate files in build dir.
43270 (dir-add.texi): Build in build dir.
43271 (libm-err.texi,stamp-libm-err): Likewise.
43272 (version.texi, stamp-version): Likewise.
43273 (.%c.texi): Likewise.
43274 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
43275 (mostlyclean): Remove target.
43276 (realclean): Remove target.
43277 (generated): Add new variable with contents from mostlyclean and
43278 realclean, remove entries duplicated in common-mostlyclean, add
43279 stamp-libm-err and stamp-version.
43280 (generated-dirs): Add libc directory.
43281 ($(inst_infodir)/libc.info): Install files from build dir.
43283 * manual/install.texi (Configuring and compiling): Adjust since
43284 the info files are not part of the tar ball anymore.
43286 2012-05-14 Andreas Jaeger <aj@suse.de>
43288 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
43291 2012-05-14 Joseph Myers <joseph@codesourcery.com>
43294 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43295 to 2.2.0 where earlier.
43296 * sysdeps/unix/sysv/linux/configure: Regenerated.
43297 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
43298 Remove conditional code.
43299 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
43300 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
43301 Remove conditional code.
43302 [!__NR_lchown]: Likewise.
43303 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43304 [__NR_lchown]: Likewise.
43305 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
43306 comment referencing __ASSUME_LCHOWN_SYSCALL.
43307 * sysdeps/unix/sysv/linux/i386/sigaction.c
43308 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43309 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43310 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
43311 Remove conditional code.
43312 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
43313 (__protocol_available): Remove #if 0 code.
43314 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
43316 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
43317 * sysdeps/unix/sysv/linux/kernel-features.h
43318 (__ASSUME_GETCWD_SYSCALL): Don't define.
43319 (__ASSUME_REALTIME_SIGNALS): Likewise.
43320 (__ASSUME_PREAD_SYSCALL): Likewise.
43321 (__ASSUME_PWRITE_SYSCALL): Likewise.
43322 (__ASSUME_POLL_SYSCALL): Likewise.
43323 (__ASSUME_LCHOWN_SYSCALL): Likewise.
43324 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
43326 (__ASSUME_SIOCGIFNAME): Don't define.
43327 (__ASSUME_MSG_NOSIGNAL): Likewise.
43328 (__ASSUME_SENDFILE): Define unconditionally.
43329 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
43330 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
43332 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
43333 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
43334 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43335 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43336 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
43337 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43338 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
43340 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43341 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
43343 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43344 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
43346 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43347 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
43349 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43350 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
43352 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43353 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
43355 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43356 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
43358 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43359 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
43361 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43362 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43363 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
43364 Remove conditional code.
43365 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43366 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43367 Remove conditional code.
43368 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43369 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
43370 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
43371 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43372 Remove conditional code.
43373 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43374 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
43375 Remove conditional code.
43376 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43377 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
43378 Remove conditional code.
43379 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43380 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43381 Remove conditional code.
43382 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43383 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43384 Remove conditional code.
43385 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43386 * sysdeps/unix/sysv/linux/sh/pwrite64.c
43387 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43388 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43389 * sysdeps/unix/sysv/linux/sigaction.c
43390 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43391 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43392 * sysdeps/unix/sysv/linux/sigpending.c
43393 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43394 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43395 * sysdeps/unix/sysv/linux/sigprocmask.c
43396 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43397 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43398 * sysdeps/unix/sysv/linux/sigsuspend.c
43399 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43400 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43401 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43402 (__libc_missing_rt_sigs): Remove.
43403 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
43404 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
43405 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
43406 Remove conditional code.
43407 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
43408 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
43410 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
43411 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
43412 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
43413 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
43415 2012-05-14 Andreas Jaeger <aj@suse.de>
43417 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
43418 it's not used in glibc.
43419 (__coshm1): Likewise.
43420 (__acosh1p): Likewise.
43423 * manual/string.texi (Copying and Concatenation): Add missing
43424 variable in concat example.
43425 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43427 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43430 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
43431 __builtin_clzl with __builtin_clzll.
43433 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43436 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
43439 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43441 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
43442 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
43443 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
43444 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
43446 2012-05-14 Mike Frysinger <vapier@gentoo.org>
43448 * NEWS: Update ia64 info.
43450 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
43452 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
43455 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
43457 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
43458 * sysdeps/unix/syscalls.list (dup3): Likewise.
43459 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
43460 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
43462 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43464 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
43465 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
43467 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43469 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
43471 (TLS_IE): Use mov/add instead of movq/addq to load thread
43473 (TLS_GD_PREFIX): New.
43476 2012-05-11 David S. Miller <davem@davemloft.net>
43478 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
43479 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
43480 (_FPU_SETCW): Likewise.
43482 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43484 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
43485 is 32-byte aligned.
43487 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
43490 * iconvdata/gb18030.c: Update tables.
43491 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
43492 characters specially.
43493 (BODY for TO_LOOP): Add encoding of missing ranges.
43495 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
43498 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
43499 * sysdeps/mach/hurd/dup3.c: Likewise.
43500 * sysdeps/mach/hurd/readlinkat.c: Likewise.
43501 * sysdeps/powerpc/memmove.c:: Likewise.
43503 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43505 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
43506 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
43508 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43510 * elf/elf.h (R_X86_64_RELATIVE64): New.
43511 (R_X86_64_NUM): Updated.
43512 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
43513 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
43514 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
43515 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
43516 tst-quad1pie tst-quad2pie
43517 (modules-names): Add tst-quadmod1 tst-quadmod2.
43518 ($(objpfx)tst-quad1): New dependency.
43519 ($(objpfx)tst-quad2): Likewise.
43520 ($(objpfx)tst-quad1pie): Likewise.
43521 ($(objpfx)tst-quad2pie): Likewise.
43522 * sysdeps/x86_64/tst-quad1.c: New file.
43523 * sysdeps/x86_64/tst-quad1pie.c: New file.
43524 * sysdeps/x86_64/tst-quad2.c: Likewise.
43525 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
43526 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
43527 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
43528 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
43529 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
43531 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43533 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
43534 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
43535 * streams/stropts.h (t_scalar_t): Define type.
43537 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
43538 (_PATH_PRESERVE): Set to "/var/lib".
43539 (_PATH_RWHODIR): Set to "/var/spool/rwho".
43541 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
43544 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
43545 if __dir_mkfile succeeded.
43547 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
43548 checking for _hurd_dtablesize. Unlock it right after having
43549 finished _hurd_dtable allocation.
43551 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43553 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
43554 * sysdeps/mach/hurd/configure: Regenerated.
43555 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
43556 special-casing to...
43557 * sysdeps/gnu/configure.in: ... this new file.
43558 * sysdeps/unix/sysv/linux/configure: Regenerated.
43559 * sysdeps/gnu/configure: New generated file.
43561 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
43562 for Linux: use nsec instead of usec, as well as:
43563 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
43564 members of type struct timespec.
43565 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
43567 (struct stat64): Likewise.
43568 (_STATBUF_ST_NSEC): New macro.
43569 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
43571 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43572 __strtoul_internal rather than strtoul.
43574 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43576 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
43579 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43581 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
43582 which preserves existing values.
43583 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
43585 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43587 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
43588 TIMEOUT values. Return EINVAL for NFDS values either negative or
43589 greater than FD_SETSIZE.
43591 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43593 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
43594 allocated, call __vm_protect to finish enabling the existing space, and
43595 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
43596 allocate the remainder.
43598 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43600 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
43601 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
43603 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43605 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
43606 sysdeps/mach/hurd/readlink.c.
43608 * posix/tst-sysconf.c (posix_options): Only use
43609 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
43610 _POSIX_SYNCHRONIZED_IO when they are defined
43611 * sysdeps/mach/hurd/bits/posix_opt.h:
43612 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
43613 (_XOPEN_REALTIME): Undefine macro.
43614 (_XOPEN_REALTIME_THREADS): Undefine macro.
43615 (_XOPEN_SHM): Undefine macro.
43616 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
43618 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
43620 (_POSIX_ASYNC_IO): Undefine macro.
43621 (_POSIX_PRIORITIZED_IO): Undefine macro.
43622 (_POSIX_SPIN_LOCKS): Define macro to -1.
43624 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
43625 SA_NODEFER, SA_RESETHAND.
43626 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
43627 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
43630 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43632 * elf/Makefile (pldd-modules): Define unconditionally.
43634 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43636 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
43638 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43640 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
43641 Return ENOENT when name is empty.
43642 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
43644 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43646 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
43648 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
43650 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43652 Fix mlock in all cases except non-readable pages.
43653 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
43654 instead of VM_PROT_ALL as parameter to __vm_wire function.
43656 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
43657 (__mkdir): When path is `/', just fail with EEXIST.
43658 * sysdeps/mach/hurd/mkdirat.c: Likewise.
43660 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43662 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
43663 <sys/uio.h> (for writev).
43664 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
43665 and <sys/param.h> (for MIN).
43667 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43669 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
43670 REQUESTED_TIME. Properly set the remaining time and return EINTR
43673 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43675 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
43676 Depend on against $(link-rpcuserlibs).
43678 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43680 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
43681 (__libc_stack_end): Do not use attribute_relro.
43682 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
43683 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
43684 to libthread-provided value.
43685 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
43688 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43691 * bits/libc-lock.h (__libc_once_get): New macro.
43692 * sysdeps/mach/bits/libc-lock.h: Likewise.
43693 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
43694 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
43695 instead of using implementation details.
43697 * libio/fileops.c: Unconditionally include <kernel-features.h>.
43698 * libio/freopen.c: Likewise.
43699 * libio/freopen64.c: Likewise.
43700 * misc/syslog.c: Likewise.
43701 * nscd/connections.c: Likewise.
43702 * nscd/netgroupcache.c: Likewise.
43703 * sysdeps/posix/getcwd.c: Likewise.
43705 2012-05-10 Roland McGrath <roland@hack.frob.com>
43707 * math/w_ilogbf.c: Add #include <limits.h>.
43709 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43711 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
43712 path instead of returning without unlocking.
43714 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
43715 immediate-write ioctls.
43716 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
43718 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43720 * sysdeps/mach/hurd/i386/init-first.c (init): Use
43721 __builtin_frame_address instead of making assumptions about the
43722 location of the return address relative to DATA. Force early load of
43723 the return address.
43724 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
43725 __builtin_frame_address.
43728 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
43729 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
43730 implement dup3 and do some further code clean-ups.
43731 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
43732 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
43734 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43736 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43738 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
43739 HURD_CRITICAL_END around holding _hurd_dtable_lock.
43740 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
43741 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
43742 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
43745 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
43746 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
43747 when handler == SIG_ERR, not when handler != SIG_ERR.
43749 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43751 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
43752 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
43755 accept4 for GNU Hurd.
43756 * include/sys/socket.h (__libc_accept4): New prototype.
43757 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
43758 to implement __libc_accept4.
43759 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
43761 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
43763 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
43764 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
43765 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
43766 signal-defines.sym.
43768 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43770 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
43772 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43774 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43775 assertion on O_CLOEXEC flag.
43776 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43777 * hurd/intern-fd.c: Likewise.
43778 * hurd/port2fd.c: Likewise.
43780 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43783 * bits/in.h (IPV6_PKTINFO): Define new macro.
43784 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43786 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43791 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43792 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43793 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43794 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43795 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43796 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43797 * math/libm-test.inc (logb_test) : Additional logb tests.
43799 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
43800 Andreas Jaeger <aj@suse.de>
43802 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43803 * configure: Regenerated.
43804 * config.h.in (LINK_OBSOLETE_RPC): New macro.
43805 * config.make.in (link-obsolete-rpc): New substituted variable.
43806 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43807 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43808 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43809 (shared-only-routines): Don't set it under [link-obsolete-rpc],
43810 so that libc.a contains the symbols.
43811 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43812 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43813 * sunrpc/auth_none.c: Likewise.
43814 * sunrpc/auth_unix.c: Likewise.
43815 * sunrpc/authdes_prot.c: Likewise.
43816 * sunrpc/authuxprot.c: Likewise.
43817 * sunrpc/clnt_gen.c: Likewise.
43818 * sunrpc/clnt_perr.c: Likewise.
43819 * sunrpc/clnt_raw.c: Likewise.
43820 * sunrpc/clnt_simp.c: Likewise.
43821 * sunrpc/clnt_tcp.c: Likewise.
43822 * sunrpc/clnt_udp.c: Likewise.
43823 * sunrpc/clnt_unix.c: Likewise.
43824 * sunrpc/des_crypt.c: Likewise.
43825 * sunrpc/des_soft.c: Likewise.
43826 * sunrpc/get_myaddr.c: Likewise.
43827 * sunrpc/key_call.c: Likewise.
43828 * sunrpc/key_prot.c: Likewise.
43829 * sunrpc/netname.c: Likewise.
43830 * sunrpc/pm_getmaps.c: Likewise.
43831 * sunrpc/pm_getport.c: Likewise.
43832 * sunrpc/pmap_clnt.c: Likewise.
43833 * sunrpc/pmap_prot.c: Likewise.
43834 * sunrpc/pmap_prot2.c: Likewise.
43835 * sunrpc/pmap_rmt.c: Likewise.
43836 * sunrpc/publickey.c: Likewise.
43837 * sunrpc/rpc_cmsg.c: Likewise.
43838 * sunrpc/rpc_common.c: Likewise.
43839 * sunrpc/rpc_dtable.c: Likewise.
43840 * sunrpc/rpc_prot.c: Likewise.
43841 * sunrpc/rpc_thread.c: Likewise.
43842 * sunrpc/rtime.c: Likewise.
43843 * sunrpc/svc.c: Likewise.
43844 * sunrpc/svc_auth.c: Likewise.
43845 * sunrpc/svc_raw.c: Likewise.
43846 * sunrpc/svc_run.c: Likewise.
43847 * sunrpc/svc_tcp.c: Likewise.
43848 * sunrpc/svc_udp.c: Likewise.
43849 * sunrpc/svc_unix.c: Likewise.
43850 * sunrpc/svcauth_des.c: Likewise.
43851 * sunrpc/xcrypt.c: Likewise.
43852 * sunrpc/xdr.c: Likewise.
43853 * sunrpc/xdr_array.c: Likewise.
43854 * sunrpc/xdr_float.c: Likewise.
43855 * sunrpc/xdr_intXX_t.c: Likewise.
43856 * sunrpc/xdr_mem.c: Likewise.
43857 * sunrpc/xdr_rec.c: Likewise.
43858 * sunrpc/xdr_ref.c: Likewise.
43859 * sunrpc/xdr_sizeof.c: Likewise.
43860 * sunrpc/xdr_stdio.c: Likewise.
43862 2012-05-10 Roland McGrath <roland@hack.frob.com>
43864 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
43865 change. Update copyright years.
43867 2012-05-10 Joseph Myers <joseph@codesourcery.com>
43869 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
43871 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
43872 Joseph Myers <joseph@codesourcery.com>
43873 Paul Pluzhnikov <ppluzhnikov@google.com>
43876 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
43878 [cross-compiling] (extra-libs): Likewise.
43879 [cross-compiling] (extra-libs-others): Likewise.
43880 [cross-compiling] (librpcsvc-routines): Likewise.
43881 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
43882 [cross-compiling] (omit-deps): Likewise.
43883 (sunrpc-CPPFLAGS): New variable.
43884 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
43885 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
43886 (cross-rpcgen-objs): New variable.
43887 (extra-objs): Append $(cross-rpcgen-objs).
43888 ($(cross-rpcgen-objs)): New rule.
43889 ($(objpfx)cross-rpcgen): Likewise.
43890 (rpcgen-cmd): Define to use $(built-program-file). Expand
43892 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
43893 ($(objpfx)x%.stmp): Likewise.
43894 * sunrpc/proto.h [IS_IN_build] (_): Define.
43895 [IS_IN_build] (_libc_intl_domainname): Likewise.
43897 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43899 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
43900 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
43901 and R_X86_64_TPOFF64.
43903 2012-05-10 Joseph Myers <joseph@codesourcery.com>
43905 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
43906 sysdeps/unix/sysv/syscalls.list.
43909 * sysdeps/unix/sysv/syscalls.list: Remove file.
43911 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
43914 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
43915 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
43916 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
43917 (__LC_IDENTIFICATION): Make these macros useful in #if
43918 expressions, as required by C99.
43920 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
43922 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
43923 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
43926 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
43928 * stdlib/longlong.h: Updated from GCC.
43930 2012-05-09 Andreas Jaeger <aj@suse.de>
43932 * nscd/nscd.c (run_modes): Make named enum, reorder so that
43933 default is first entry.
43934 (run_mode): Set type.
43935 (main): Remove informal message about syslog.
43936 (options): Fix typo.
43939 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
43942 (llrintf): Likewise.
43943 (llrint): Likewise.
43946 (nearbyint): Likewise.
43947 (nearbyintf): Likewise.
43949 2012-05-09 Andreas Jaeger <aj@suse.de>
43950 Pedro Alves <palves@redhat.com>
43952 * nscd/nscd.c (run_mode): Use enum.
43953 (main): Cleanup coding style issue.
43955 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
43956 Andreas Jaeger <aj@suse.de>
43958 * nscd/nscd.c (go_background): Replaced with...
43959 (run_mode): ... this.
43960 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
43961 (options): Add -F --foreground.
43962 (main): Implement it.
43963 (parse_opt): Parse it.
43965 2012-05-09 Andreas Jaeger <aj@suse.de>
43968 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43969 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43970 -Wconversion warning.
43971 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43974 2012-05-09 Joseph Myers <joseph@codesourcery.com>
43976 * conform/data/locale.h-data (NULL): Use macro-constant. Require
43978 (LC_ALL): Use macro-int-constant.
43979 (LC_COLLATE): Likewise.
43980 (LC_CTYPE): Likewise.
43981 (LC_MESSAGES): Likewise.
43982 (LC_MONETARY): Likewise.
43983 (LC_NUMERIC): Likewise.
43984 (LC_TIME): Likewise.
43985 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43986 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43987 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43988 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43990 [C99-based standards] (float_t): Expect type.
43991 [C99-based standards] (double_t): Expect type.
43992 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
43994 [C99-based standards] (HUGE_VALL): Likewise.
43995 [C99-based standards] (INFINITY): Likewise.
43996 [C99-based standards] (NAN): Likewise.
43997 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43998 [C99-based standards] (FP_NAN): Likewise.
43999 [C99-based standards] (FP_NORMAL): Likewise.
44000 [C99-based standards] (FP_SUBNORMAL): Likewise.
44001 [C99-based standards] (FP_ZERO): Likewise.
44002 [C99-based standards] (FP_FAST_FMA): Use
44003 optional-macro-int-constant. Specify type. Require == 1.
44004 [C99-based standards] (FP_FAST_FMAF): Likewise.
44005 [C99-based standards] (FP_FAST_FMAL): Likewise.
44006 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44007 [C99-based standards] (FP_ILOGBNAN): Likewise.
44008 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44010 [C99-based standards] (MATH_ERREXCEPT): Likewise.
44011 [C99-based standards] (math_errhandling): Specify type.
44012 [ISO99 || ISO11] (signgam): Do not allow.
44013 [non-C99-based standards] (copysignf): Do not allow.
44014 [non-C99-based standards] (exp2f): Likewise.
44015 [non-C99-based standards] (log2f): Likewise.
44016 [non-C99-based standards] (modff): Allow.
44017 [non-C99-based standards] (erff): Do not allow.
44018 [non-C99-based standards] (erfcf): Likewise.
44019 [non-C99-based standards] (gammaf): Likewise.
44020 [non-C99-based standards] (hypotf): Likewise.
44021 [non-C99-based standards] (j0f): Likewise.
44022 [non-C99-based standards] (j1f): Likewise.
44023 [non-C99-based standards] (jnf): Likewise.
44024 [non-C99-based standards] (lgammaf): Likewise.
44025 [non-C99-based standards] (tgammaf): Likewise.
44026 [non-C99-based standards] (y0f): Likewise.
44027 [non-C99-based standards] (y1f): Likewise.
44028 [non-C99-based standards] (ynf): Likewise.
44029 [non-C99-based standards] (isnanf): Likewise.
44030 [non-C99-based standards] (acoshf): Likewise.
44031 [non-C99-based standards] (asinhf): Likewise.
44032 [non-C99-based standards] (atanhf): Likewise.
44033 [non-C99-based standards] (cbrtf): Likewise.
44034 [non-C99-based standards] (expm1f): Likewise.
44035 [non-C99-based standards] (ilogbf): Likewise.
44036 [non-C99-based standards] (log1pf): Likewise.
44037 [non-C99-based standards] (logbf): Likewise.
44038 [non-C99-based standards] (nextafterf): Likewise.
44039 [non-C99-based standards] (remainderf): Likewise.
44040 [non-C99-based standards] (rintf): Likewise.
44041 [non-C99-based standards] (scalbf): Likewise.
44042 [non-C99-based standards] (copysignl): Likewise.
44043 [non-C99-based standards] (exp2l): Likewise.
44044 [non-C99-based standards] (log2l): Likewise.
44045 [non-C99-based standards] (modfl): Allow.
44046 [non-C99-based standards] (erfl): Do not allow.
44047 [non-C99-based standards] (erfcl): Likewise.
44048 [non-C99-based standards] (gammal): Likewise.
44049 [non-C99-based standards] (hypotl): Likewise.
44050 [non-C99-based standards] (j0l): Likewise.
44051 [non-C99-based standards] (j1l): Likewise.
44052 [non-C99-based standards] (jnl): Likewise.
44053 [non-C99-based standards] (lgammal): Likewise.
44054 [non-C99-based standards] (tgammal): Likewise.
44055 [non-C99-based standards] (y0l): Likewise.
44056 [non-C99-based standards] (y1l): Likewise.
44057 [non-C99-based standards] (ynl): Likewise.
44058 [non-C99-based standards] (isnanl): Likewise.
44059 [non-C99-based standards] (acoshl): Likewise.
44060 [non-C99-based standards] (asinhl): Likewise.
44061 [non-C99-based standards] (atanhl): Likewise.
44062 [non-C99-based standards] (cbrtl): Likewise.
44063 [non-C99-based standards] (expm1l): Likewise.
44064 [non-C99-based standards] (ilogbl): Likewise.
44065 [non-C99-based standards] (log1pl): Likewise.
44066 [non-C99-based standards] (logbl): Likewise.
44067 [non-C99-based standards] (nextafterl): Likewise.
44068 [non-C99-based standards] (remainderl): Likewise.
44069 [non-C99-based standards] (rintl): Likewise.
44070 [non-C99-based standards] (scalbl): Likewise.
44071 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44072 [non-C99-based standards] (FP_*): Do not allow.
44073 [C99-based standards] (FP_*): Change to
44074 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44075 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44077 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
44078 (SIG_ERR): Likewise.
44079 [X/Open-based standards] (SIG_HOLD): Likewise.
44080 (SIG_IGN): Likewise.
44081 (SIGABRT): Use macro-int-constant. Specify type. Require
44083 (SIGFPE): Likewise.
44084 (SIGILL): Likewise.
44085 (SIGINT): Likewise.
44086 (SIGSEGV): Likewise.
44087 (SIGTER): Likewise.
44088 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44089 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44090 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44091 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44092 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44093 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44094 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44095 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44096 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44097 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44098 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44099 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44100 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44101 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44102 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44103 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44104 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44105 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44106 [X/Open-based standards] (SIGTRAP): Likewise.
44107 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44108 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44109 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44110 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44111 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44114 2012-05-08 Ian Wienand <ianw@vmware.com>
44117 * time/tzset.c (__tzset_parse_tz): Update default rules for
44118 daylight time changes in the Energy Policy Act of 2005.
44120 2012-05-09 Andreas Jaeger <aj@suse.de>
44123 * elf/ldconfig.c (parse_conf): Change string to make clear that
44124 ldconfig only issued a warning if ld.so.conf does not exist.
44126 2012-05-08 David S. Miller <davem@davemloft.net>
44128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44129 movxtod instead of popping the value on the stack.
44131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44133 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
44135 * config.h.in: Add HAVE_ARM_PCS_VFP.
44137 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
44140 * include/features.h: Warn if user requests __FORTIFY_SOURCE
44141 checking but the checks are disabled for any reason.
44143 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
44145 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44146 and ELF64_R_TYPE with ELFW(R_TYPE).
44148 2012-05-08 Joseph Myers <joseph@codesourcery.com>
44150 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44151 (ulimit): Likewise.
44153 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44154 (settimeofday): Likewise.
44156 2012-05-08 Mike Frysinger <vapier@gentoo.org>
44158 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
44159 a struct th_u2 inside the union, and move tu_block/tu_code into
44160 a new th_u3 union of tu_block/tu_code inside of that. Move
44161 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
44162 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
44163 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44164 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44165 (th_stuff): Change to th_u1.tu_stuff.
44167 (th_msg): Change to th_u1.th_u2.tu_data.
44169 2012-05-07 David S. Miller <davem@davemloft.net>
44171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44174 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44175 (SETUP_PIC_REG): Use it.
44176 (SETUP_PIC_REG_LEAF): Use it.
44178 2012-05-07 Joseph Myers <joseph@codesourcery.com>
44182 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44184 (EXPL_FINITE): Likewise.
44185 (FLDLOG): Likewise.
44186 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44187 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44189 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44191 (EXPL_FINITE): Likewise.
44192 (FLDLOG): Likewise.
44193 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44194 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44196 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
44197 test of -max_value argument for long double.
44198 * sysdeps/i386/fpu/libm-test-ulps: Update.
44199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44201 2012-05-06 David S. Miller <davem@davemloft.net>
44203 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44204 quad soft-float symbols whose references which are compiler
44206 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44208 2012-05-06 Joseph Myers <joseph@codesourcery.com>
44212 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44214 (EXPL_FINITE): Likewise.
44215 (FLDLOG): Likewise.
44218 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44219 Adjust comments for base varying.
44220 (__expl_finite): Change alias to EXPL_FINITE.
44221 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44223 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44224 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44225 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44226 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44227 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44229 (EXPL_FINITE): Likewise.
44230 (FLDLOG): Likewise.
44233 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44234 Adjust comments for base varying.
44235 (__expl_finite): Change alias to EXPL_FINITE.
44236 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
44238 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44241 * math/libm-test.inc (check_float_internal): Correct ulp
44242 calculation for subnormal expected results.
44244 2012-05-06 Andreas Jaeger <aj@suse.de>
44246 * Makeconfig (+math-flags): New, set to -frounding-math.
44247 (+cflags): Add +math-flags so that all of glibc gets compiled with
44250 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44252 2012-05-05 Joseph Myers <joseph@codesourcery.com>
44254 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44260 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
44261 (__ieee754_expl): Allow for and saturate large arguments.
44262 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
44263 (u_threshold): Likewise.
44264 (__exp): Call __ieee754_exp before checking for overflow and
44266 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
44267 (u_threshold): Likewise.
44268 (__expf): Call __ieee754_expf before checking for overflow and
44270 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
44271 (u_threshold): Likewise.
44272 (__expl): Call __ieee754_expl before checking for overflow and
44274 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
44275 (__ieee754_expl): Allow for and saturate large arguments.
44276 * math/libm-test.inc (exp_test): Add another test. Do not allow
44277 missing overflow exception on overflow.
44278 (expm1_test): Do not allow missing overflow exception on overflow.
44280 * sysdeps/i386/fpu/e_expl.c: Move to ...
44281 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
44282 rather than using inline asm.
44283 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
44284 * sysdeps/x86_64/fpu/e_expl.S: Copy from
44285 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
44287 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
44290 (signal): Likewise.
44294 2012-05-04 Joseph Myers <joseph@codesourcery.com>
44296 * sysdeps/unix/syscalls.list (adjtime): Add entry from
44297 sysdeps/unix/common/syscalls.list.
44298 (fchmod): Likewise.
44299 (fchown): Likewise.
44300 (ftruncate): Likewise.
44301 (getrusage): Likewise.
44302 (gettimeofday): Likewise.
44303 (setpgid): Likewise.
44304 (setregid): Likewise.
44305 (setreuid): Likewise.
44306 (sigaction): Likewise.
44307 (truncate): Likewise.
44308 (vhangup): Likewise.
44309 * sysdeps/unix/common/syscalls.list: Remove file.
44310 * sysdeps/unix/bsd/Implies: Don't include unix/common.
44311 * sysdeps/unix/sysv/linux/Implies: Likewise.
44313 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
44315 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
44316 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
44317 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
44319 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44321 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
44323 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
44324 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
44326 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
44327 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
44329 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
44330 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
44332 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
44333 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
44335 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
44336 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
44338 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
44339 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
44341 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44343 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
44345 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
44347 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
44349 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
44350 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
44352 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
44354 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
44356 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
44358 2012-05-04 Joseph Myers <joseph@codesourcery.com>
44360 * sysdeps/unix/common/bits/dirent.h: Remove file.
44361 * sysdeps/unix/common/bits/fcntl.h: Likewise.
44363 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
44364 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
44365 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
44366 * sysdeps/unix/bsd/isatty.c: Likewise.
44367 * sysdeps/unix/bsd/tcdrain.c: Likewise.
44368 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
44369 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
44371 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44374 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
44375 long double comparison inaccuracies.
44376 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44379 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
44381 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
44382 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
44384 2012-05-04 Joseph Myers <joseph@codesourcery.com>
44387 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
44388 nonzero digits before rounding a hex value.
44389 * stdlib/tst-strtod.c (tests): Add another test.
44391 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44393 * sysdeps/s390/fpu/libm-test-ulps: Update.
44395 2012-05-03 Andreas Jaeger <aj@suse.de>
44397 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
44398 does not get optimized out.
44399 (malloc_opt_barrier): New.
44401 2012-05-03 Andreas Jaeger <aj@suse.de>
44402 Roland McGrath <roland@hack.frob.com>
44404 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
44405 intermediate file deletion.
44406 (generated): Add .symlist files.
44408 2012-05-03 Joseph Myers <joseph@codesourcery.com>
44411 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
44412 Redirect under this condition.
44413 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44414 [__USE_GNU] (__dprintf_chk): Not under this condition.
44415 [__USE_GNU] (__vdprintf_chk): Likewise.
44416 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
44417 under this condition.
44418 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44419 [__USE_XOPEN2K8] (dprintf): Define under this condition.
44420 [__USE_XOPEN2K8] (vdprintf): Likewise.
44421 [__USE_GNU] (__dprintf_chk): Not under this condition.
44422 [__USE_GNU] (__vdprintf_chk): Likewise.
44423 [__USE_GNU] (dprintf): Likewise.
44424 [__USE_GNU] (vdprintf): Likewise.
44426 2012-05-03 Roland McGrath <roland@hack.frob.com>
44428 * elf/Makefile (common-generated): Set this instead of generated for
44429 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
44430 $(all-built-dso)-derived lists.
44432 2012-05-03 Andreas Jaeger <aj@suse.de>
44434 * sysdeps/i386/fpu/libm-test-ulps: Update.
44437 * FAQ.in: Likewise.
44438 * scripts/gen-FAQ.pl: Likewise.
44439 * manual/install.texi (Installation): Point to online location of
44441 * Makefile (files-for-dist): Remove FAQ.
44444 2012-05-02 Allan McRae <allan@archlinux.org>
44446 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
44447 (LDFLAGS-reldepmod5.so): Likewise.
44448 (LDFLAGS-reldep6mod1.so): Likewise.
44449 (LDFLAGS-reldep6mod4.so): Likewise.
44450 (LDFLAGS-reldep8mod3.so): Likewise.
44451 (LDFLAGS-unload4mod1.so): Likewise.
44452 (LDFLAGS-unload4mod2.so): Likewise.
44453 (LDFLAGS-tst-initorder): Likewise.
44454 (LDFLAGS-tst-initordera2.so): Likewise.
44455 (LDFLAGS-tst-initordera3.so): Likewise.
44456 (LDFLAGS-tst-initordera4.so): Likewise.
44457 (LDFLAGS-tst-initorderb2.so): Likewise.
44458 (LDFLAGS-noload): Likewise.
44459 (LDFLAGS-next): Likewise.
44460 (LDFLAGS-order2mod1.so): Likewise.
44461 (LDFLAGS-order2mod2.so): Likewise.
44462 (LDFLAGS-tst-initorder2): Likewise.
44463 (LDFLAGS-tst-initorder2a.so): Likewise.
44464 (LDFLAGS-tst-initorder2b.so): Likewise.
44465 (LDFLAGS-tst-initorder2c.so): Likewise.
44466 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
44468 2012-05-02 David S. Miller <davem@davemloft.net>
44470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44472 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
44475 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
44477 2012-05-02 Andreas Jaeger <aj@suse.de>
44479 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
44480 since we manipulate rounding mode.
44481 (CPPFLAGS-test-idouble.c): Likewise.
44482 (CPPFLAGS-test-ifloat.c): Likewise.
44483 (CFLAGS-test-ldouble.c): Likewise.
44484 (CFLAGS-test-double.c): Likewise.
44485 (CFLAGS-test-float.c): Likewise.
44486 (CFLAGS-test-misc.c): Likewise.
44487 (CFLAGS-test-test-fenv.c): Likewise.
44489 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44493 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
44494 comparisons to determine direction to adjust input.
44496 2012-05-01 Roland McGrath <roland@hack.frob.com>
44498 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
44499 output to the target.
44501 * scripts/localplt.awk: New file.
44502 * elf/Makefile ($(objpfx)check-localplt): Target removed.
44503 (check-localplt-CFLAGS): Variable removed.
44504 ($(all-built-dso:=.jmprel)): New static pattern rule.
44505 (generated): Add those targets.
44506 (localplt-built-dso): New variable.
44507 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
44509 * elf/check-localplt.c: File removed.
44511 * scripts/check-execstack.awk: New file.
44512 * elf/Makefile ($(objpfx)check-execstack): Target removed.
44513 (check-execstack-CFLAGS): Variable removed.
44514 ($(objpfx)check-execstack.h): Target removed.
44515 ($(objpfx)execstack-default): New target.
44516 (generated): Add that instead of check-execstack.h.
44517 ($(all-built-dso:=.phdr)): New static pattern rule.
44518 (generated): Add those targets.
44519 * elf/check-execstack.c: File removed.
44521 * scripts/check-textrel.awk: New file.
44522 * elf/Makefile ($(objpfx)check-textrel): Target removed.
44523 (check-textrel-CFLAGS): Variable removed.
44524 (all-built-dso): Use := to define.o
44525 ($(all-built-dso:=.dyn)): New static pattern rule.
44526 (generated): Add those targets.
44527 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
44528 * config.make.in (READELF): New substituted variable.
44529 * elf/check-textrel.c: File removed.
44531 2012-05-01 Joseph Myers <joseph@codesourcery.com>
44533 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44535 * conform/data/ctype.h-data [C99-based standards] (isblank):
44537 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
44538 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
44539 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44540 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
44541 Specify type. Require positive value.
44542 (EILSEQ): Likewise.
44543 (ERANGE): Likewise.
44544 [ISO || POSIX] (EILSEQ): Do not expect.
44545 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
44546 Specify type. Require positive value.
44547 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
44548 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
44549 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
44550 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
44551 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
44552 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
44553 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
44554 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
44555 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
44556 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
44557 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
44558 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
44559 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
44560 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
44561 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
44562 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
44563 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
44564 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
44565 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
44566 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
44567 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
44568 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
44569 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
44570 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
44571 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
44572 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
44573 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
44574 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
44575 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
44576 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
44577 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
44578 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
44579 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
44580 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
44581 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
44582 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
44583 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
44584 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
44585 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
44586 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
44587 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
44588 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
44589 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
44590 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
44591 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
44592 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
44593 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
44594 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
44595 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
44596 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
44597 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
44598 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
44599 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
44600 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
44601 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
44602 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
44603 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
44604 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
44605 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
44606 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
44607 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
44608 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
44609 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
44610 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
44611 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
44612 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
44613 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
44614 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
44615 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
44616 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
44617 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
44618 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
44619 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
44620 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
44621 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
44622 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
44623 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
44625 (FLT_ROUNDS): Expect as macro, not constant.
44626 (FLT_MANT_DIG): Use macro-int-constant.
44627 (DBL_MANT_DIG): Likewise.
44628 (LDBL_MANT_DIG): Likewise.
44629 (FLT_DIG): Likewise.
44630 (DBL_DIG): Likewise.
44631 (LDBL_DIG): Likewise.
44632 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
44633 (DBL_MIN_EXP): Likewise.
44634 (LDBL_MIN_EXP): Likewise.
44635 (FLT_MAX_EXP): Use macro-int-constant.
44636 (DBL_MAX_EXP): Likewise.
44637 (LDBL_MAX_EXP): Likewise.
44638 (FLT_MAX_10_EXP): Likewise.
44639 (DBL_MAX_10_EXP): Likewise.
44640 (LDBL_MAX_10_EXP): Likewise.
44641 (FLT_MAX): Use macro-constant.
44642 (DBL_MAX): Likewise.
44643 (LDBL_MAX): Likewise.
44644 (FLT_EPSILON): Use macro-constant. Give upper bound.
44645 (DBL_EPSILON): Likewise.
44646 (LDBL_EPSILON): Likewise.
44647 (FLT_MIN): Likewise.
44648 (DBL_MIN): Likewise.
44649 (LDBL_MIN): Likewise.
44650 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
44651 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
44652 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
44653 [ISO11] (FLT_HAS_SUBNORM): Likewise.
44654 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
44655 [ISO11] (DBL_DECIMAL_DIG): Likewise.
44656 [ISO11] (FLT_DECIMAL_DIG): Likewise.
44657 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
44658 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
44659 [ISO11] (FLT_TRUE_MIN): Likewise.
44660 [ISO11] (LDBL_TRUE_MIN): Likewise.
44661 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44662 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
44663 (SCHAR_MIN): Use macro-int-constant. Specify type.
44664 (SCHAR_MAX): Likewise.
44665 (UCHAR_MAX): Likewise.
44666 (CHAR_MIN): Likewise.
44667 (CHAR_MAX): Likewise.
44668 (MB_LEN_MAX): Use macro-int-constant.
44669 (SHRT_MIN): Use macro-int-constant. Specify type.
44670 (SHRT_MAX): Likewise.
44671 (USHRT_MAX): Likewise.
44672 (INT_MAX): Likewise.
44673 (INT_MIN): Use macro-int-constant. Specify type. Make upper
44675 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
44677 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44679 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
44680 bound negative. Suffix upper bound with "L".
44681 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44683 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
44685 [C99-based standards] (LLONG_MAX): Likewise.
44686 [C99-based standards] (ULLONG_MAX): Likewise.
44687 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
44689 [ISO11] (max_align_t): Require type.
44690 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44692 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
44693 from $CFLAGS, without defining away __attribute__ calls.
44694 (checknamespace): Use $CFLAGS_namespace.
44696 * conform/conformtest.pl (@keywords): Only include C99 keywords
44697 for standards based on C99 or C11.
44699 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
44701 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
44704 * conform/conformtest.pl: Handle "macro-int-constant" and test for
44705 usability of symbols in #if.
44707 * conform/conformtest.pl: If macro or constant types start
44708 "promoted:", expect the symbol to be of the following type
44709 promoted by the integer promotions.
44711 * conform/conformtest.pl: Parse all "constant" and "macro" lines
44712 in one place. Also handle "macro-constant".
44714 * conform/conformtest.pl: Only accept expected macro values with
44715 "==". Parse all "macro" lines in one place.
44716 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
44718 * conform/conformtest.pl: Handle braced types on "constant" lines
44719 instead of handling "typed-constant".
44720 * conform/data/signal.h-data: Use "constant" instead of
44723 * conform/conformtest.pl: Handle "optional-" at start of lines in
44724 one place rather than duplicating several cases. Handle each
44725 format of "macro" line with initial "optional-".
44727 * conform/conformtest.pl: Only accept expected constant or
44728 optional-constant values with "==". Parse all "constant" lines in
44729 one place. Parse all "optional-constant" lines in one place.
44730 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
44731 * conform/data/fmtmsg.h-data: Likewise.
44732 * conform/data/netinet/in.h-data: Likewise.
44733 * conform/data/tar.h-data: Likewise.
44734 * conform/data/limits.h-data: Use "==" form on "constant" and
44735 "optional-constant" lines.
44737 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
44738 Use -std=c99 for XOPEN2K.
44739 (@knownproblems): Remove.
44740 (newtoken): Don't check %isknown.
44742 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
44743 Do not expect macro.
44744 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44745 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
44746 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
44747 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
44748 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
44749 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
44750 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
44751 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
44752 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
44753 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
44754 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
44755 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
44756 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
44757 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
44758 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
44759 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
44760 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
44761 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
44762 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
44763 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44764 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
44765 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
44766 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
44767 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44768 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44769 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44770 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44771 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44772 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44773 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44774 [XPG3] (acosh): Likewise.
44775 [XPG3] (asinh): Likewise.
44776 [XPG3] (atanh): Likewise.
44777 [XPG3] (cbrt): Likewise.
44778 [XPG3] (expm1): Likewise.
44779 [XPG3] (ilogb): Likewise.
44780 [XPG3] (log1p): Likewise.
44781 [XPG3] (logb): Likewise.
44782 [XPG3] (nextafter): Likewise.
44783 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44784 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44785 [XPG3] (remainder): Likewise.
44786 [XPG3] (rint): Likewise.
44787 [XPG3 || XPG4 || UNIX98] (round): Likewise.
44788 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44789 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44790 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44791 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44792 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44793 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44794 [UNIX98 || XOPEN2K] (scalb): Expect.
44795 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44796 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44797 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44798 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44799 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44800 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44801 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44802 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44803 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44804 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44805 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44806 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44807 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44808 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44809 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44810 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44811 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44812 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44813 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44814 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44815 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44816 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44817 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44818 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44819 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44820 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44821 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44822 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44823 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44824 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44825 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44826 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44827 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44828 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44829 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44830 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44831 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44832 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44833 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44834 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44835 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44836 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44837 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44838 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44839 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44840 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44841 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44842 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44843 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44844 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44845 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44846 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44847 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44848 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44849 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44850 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
44851 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
44852 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
44853 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
44854 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
44855 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
44856 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
44857 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
44858 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
44859 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
44860 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
44861 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
44862 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
44863 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
44864 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
44865 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
44866 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
44867 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
44868 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
44869 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
44870 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
44871 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
44872 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
44873 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
44874 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
44875 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
44876 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
44877 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
44878 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
44879 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
44880 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
44881 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
44882 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
44883 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
44884 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
44885 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
44886 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
44887 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
44888 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
44889 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
44890 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
44891 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
44892 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
44893 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
44894 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
44895 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
44896 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
44897 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
44898 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
44899 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
44900 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
44901 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
44902 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
44903 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
44904 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
44905 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
44906 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
44907 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
44908 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
44909 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
44910 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
44911 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
44912 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
44913 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
44914 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
44915 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
44916 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
44917 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
44918 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
44919 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
44920 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
44921 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
44922 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
44923 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
44924 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
44925 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
44926 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
44927 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
44928 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
44929 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
44930 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44931 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44933 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44934 _XOPEN_SOURCE_EXTENDED for XPG4.
44936 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44938 * Makeconfig (localtime): Remove variable.
44939 (inst_localtime-file): Likewise.
44941 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44962 2012-05-01 Joseph Myers <joseph@codesourcery.com>
44966 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44967 comparisons to determine direction to adjust input.
44968 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44969 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44970 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44972 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44974 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44976 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44977 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44979 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44981 * math/libm-test.inc (nexttoward_test): Add more tests.
44983 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44986 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44987 in version GLIBC_2.1, not GLIBC_2.0.
44988 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44991 2012-04-30 Joseph Myers <joseph@codesourcery.com>
44994 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44996 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44997 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44998 * math/libm-test.inc (acos_test): Add more tests.
44999 (asin_test): Likewise.
45000 * sysdeps/i386/fpu/libm-test-ulps: Update.
45001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45004 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45006 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45007 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45008 * math/libm-test.inc (acos_test_tonearest): New function.
45009 (acos_test_towardzero): Likewise.
45010 (acos_test_downward): Likewise.
45011 (acos_test_upward): Likewise.
45012 (asin_test_tonearest): Likewise.
45013 (asin_test_towardzero): Likewise.
45014 (asin_test_downward): Likewise.
45015 (asin_test_upward): Likewise.
45016 (main): Call the new functions.
45017 * sysdeps/i386/fpu/libm-test-ulps: Update.
45018 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45022 * math/e_exp10.c: Include <float.h>.
45023 (__ieee754_exp10): Handle underflow here rather than multiplying
45024 large negative argument by M_LN10.
45025 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
45027 * math/e_exp10l.c: Include <float.h>.
45028 (__ieee754_exp10l): Handle underflow here rather than multiplying
45029 large negative argument by M_LN10l.
45030 * math/libm-test.inc (exp10_test): Add another test. Do not allow
45031 spurious overflow exception on underflow.
45033 2012-04-29 Marek Polacek <polacek@redhat.com>
45035 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
45036 (__fortify_function): New macro.
45037 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
45038 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
45039 __extern_always_inline.
45040 * libio/bits/stdio2.h: Likewise.
45041 * libio/bits/stdio.h: Likewise.
45042 * string/string.h: Likewise.
45043 * string/bits/string3.h: Likewise.
45044 * include/stdio.h: Likewise.
45045 * stdlib/bits/stdlib.h: Likewise.
45046 * stdlib/stdlib.h: Likewise.
45047 * rt/bits/mqueue2.h: Likewise.
45048 * rt/mqueue.h: Likewise.
45049 * posix/bits/unistd.h: Likewise.
45050 * posix/unistd.h: Likewise.
45051 * io/bits/poll2.h: Likewise.
45052 * io/bits/fcntl2.h: Likewise.
45053 * io/fcntl.h: Likewise.
45054 * io/sys/poll.h: Likewise.
45055 * misc/bits/syslog.h: Likewise.
45056 * misc/bits/syslog-ldbl.h: Likewise.
45057 * misc/sys/syslog.h: Likewise.
45058 * socket/bits/socket2.h: Likewise.
45059 * socket/sys/socket.h: Likewise.
45060 * debug/tst-chk1.c: Likewise.
45061 * wcsmbs/bits/wchar2.h: Likewise.
45062 * wcsmbs/bits/wchar-ldbl.h: Likewise.
45063 * wcsmbs/wchar.h: Likewise.
45065 2012-04-29 Andreas Jaeger <aj@suse.de>
45067 * Makerules (tests): Remove enable-check-abi protection.
45068 (check-abi-warn): Remove.
45069 (check-abi-%): Remove check-abi-warn usage.
45071 * configure.in: Remove check-abi configure option.
45072 * configure: Regenerated.
45073 * config.make.in (enable-check-abi): Remove.
45075 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
45078 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
45079 double functions to double *_finite functions.
45082 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45083 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45085 * stdio-common/Makefile (tests): Add tst-sprintf3.
45086 * stdio-common/tst-sprintf3.c: New file.
45088 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45089 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45091 2012-04-28 Joseph Myers <joseph@codesourcery.com>
45093 * conform/conformtest.pl: Remove duplicate typed-constant
45096 2012-04-28 David S. Miller <davem@davemloft.net>
45098 * Makerules (%.abilist): Add vpath on sysdep_dirs.
45099 (check-abi-%): Remove AWK script prerequisite and explicit
45101 (check-abi): Rewrite to just diff the symlist with the abilist.
45102 (config-tls, config-abi-config): Delete, no longer used.
45103 (update-abi-%): Remove AWK script and explicit abilist directory.
45104 (update-abi): Rewrite to simply compare and conditionally copy the
45105 symlist and the sysdep abilist file. Remove update-abi-config
45107 * abilist/ld.abilist: Remove.
45108 * abilist/libBrokenLocale.abilist: Remove.
45109 * abilist/libanl.abilist: Remove.
45110 * abilist/libcrypt.abilist: Remove.
45111 * abilist/libdl.abilist: Remove.
45112 * abilist/librt.abilist: Remove.
45113 * abilist/libthread_db.abilist: Remove.
45114 * abilist/libutil.abilist: Remove.
45115 * scripts/extract-abilist.awk: Remove.
45116 * scripts/merge-abilist.awk: Remove.
45117 * sysdeps/generic/libcidn.abilist: New file.
45118 * sysdeps/generic/libnss_compat.abilist: New file.
45119 * sysdeps/generic/libnss_db.abilist: New file.
45120 * sysdeps/generic/libnss_dns.abilist: New file.
45121 * sysdeps/generic/libnss_files.abilist: New file.
45122 * sysdeps/generic/libnss_hesiod.abilist: New file.
45123 * sysdeps/generic/libnss_nis.abilist: New file.
45124 * sysdeps/generic/libnss_nisplus.abilist: New file.
45125 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45126 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45127 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45129 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45130 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45131 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45132 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45133 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45134 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45135 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45136 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45137 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45139 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45140 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45141 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45142 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45144 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45145 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45146 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45147 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45148 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45149 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45151 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45152 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45153 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45155 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45156 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45158 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45160 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45162 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
45164 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45166 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45168 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45170 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45172 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45174 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45176 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45178 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45180 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45215 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45234 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45242 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
45258 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45259 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
45260 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
45262 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
45263 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
45264 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
45265 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
45266 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
45267 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
45268 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
45269 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
45270 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
45271 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
45272 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
45273 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
45275 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45277 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
45279 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
45281 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
45283 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
45285 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
45287 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45289 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45291 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
45293 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45295 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
45297 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
45298 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
45300 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45302 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
45304 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
45306 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
45308 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
45310 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
45312 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45314 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45316 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
45318 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45320 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
45323 2012-04-28 Joseph Myers <joseph@codesourcery.com>
45325 * conform/conformtest.pl: Fix typo in handling typed-constant from
45328 2012-04-27 Joseph Myers <joseph@codesourcery.com>
45330 * README: Cut down references to pre-2.6 Linux kernels and
45331 Linuxthreads. Update lists of configurations in libc and ports
45332 and sort alphabetically. Say "or newer" with Linux kernel version
45335 * config.h.in [IS_IN_build]: Allow compiling without optimization.
45337 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45340 * math/libm-test.inc (logb_test_downward): New test to expose
45341 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
45344 2012-04-27 Joseph Myers <joseph@codesourcery.com>
45347 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
45349 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
45350 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
45352 2012-04-26 Joseph Myers <joseph@codesourcery.com>
45354 * sysdeps/unix/i386/brk.S: Remove file.
45355 * sysdeps/unix/i386/dl-brk.S: Likewise.
45356 * sysdeps/unix/i386/pipe.S: Likewise.
45357 * sysdeps/unix/i386/sigreturn.S: Likewise.
45358 * sysdeps/unix/i386/syscall.S: Likewise.
45359 * sysdeps/unix/i386/vfork.S: Likewise.
45360 * sysdeps/unix/i386/wait.S: Likewise.
45362 * sysdeps/unix/common/tcsendbrk.c: Move to ...
45363 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
45365 * configure.in (arm*-none*): Do not allow without
45366 --enable-hacker-mode.
45367 (netbsd*): Remove case setting base_os.
45368 (386bsd*): Likewise.
45369 (freebsd*): Likewise.
45372 (sunos*): Likewise.
45373 (ultrix*): Likewise.
45374 (newsos*): Likewise.
45375 (dynix*): Likewise.
45381 (minix*): Likewise.
45382 (irix4*): Likewise.
45383 (irix6*): Likewise.
45384 (solaris[2-9]*): Likewise.
45386 * configure: Regenerated.
45388 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45391 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
45392 overflow or cancellation in calculating denominator.
45393 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
45394 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
45395 down expression to avoid unexpected rounding in newer GCCs.
45396 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
45398 2012-04-26 David S. Miller <davem@davemloft.net>
45400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
45401 long-double compat symbols.
45402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
45406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
45408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
45409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
45410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
45411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
45412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
45413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
45414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45416 2012-04-25 David S. Miller <davem@davemloft.net>
45418 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
45419 HWCAP_* values only after the memory barriers have been defined.
45420 (atomic_full_barrier): Define.
45421 (atomic_read_barrier): Define.
45422 (atomic_write_barrier): Define.
45424 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45426 * shlib-versions: Add libgcc_s version information.
45427 * sysdeps/generic/libgcc_s.h: Remove.
45428 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
45430 * sysdeps/gnu/unwind-resume.c: Likewise.
45431 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
45433 2012-04-25 David S. Miller <davem@davemloft.net>
45435 * sysdeps/unix/sparc/brk.S: Delete.
45436 * sysdeps/unix/sparc/dl-brk.S: Delete.
45437 * sysdeps/unix/sparc/pipe.S: Delete.
45438 * sysdeps/unix/sparc/sysdep.S: Delete.
45439 * sysdeps/unix/sparc/sysdep.h: Delete.
45440 * sysdeps/unix/sparc/vfork.S: Delete.
45441 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
45442 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
45443 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
45444 (ret_ERRVAL, r0, r1, MOVE): Define.
45445 (JUMPTARGET): Remove.
45446 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
45447 sysdeps/unix/sparc/sysdep.h
45448 (ENTRY, END): Remove.
45449 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45451 2012-04-25 Joseph Myers <joseph@codesourcery.com>
45453 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
45454 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
45457 * timezone/README: Update upstream location and email address for
45459 * timezone/zdump.c: Update from tzcode 2012b.
45460 * timezone/zic.c: Likewise.
45462 * configure.in (libc_cv_as_needed): Remove test.
45463 * configure: Regenerated.
45464 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
45465 conditional definition.
45466 [$(have-as-needed) != yes] (no-as-needed): Likewise.
45467 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
45468 * config.make.in (have-as-needed): Remove variable.
45470 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45471 Paul Pluzhnikov <ppluzhnikov@google.com>
45473 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
45476 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
45478 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
45479 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
45480 * sysdeps/sh/strlen.S: Likewise.
45482 2012-04-24 Joseph Myers <joseph@codesourcery.com>
45484 * sysdeps/unix/fork.S: Remove file.
45485 * sysdeps/unix/i386/fork.S: Likewise.
45486 * sysdeps/unix/sparc/fork.S: Likewise.
45488 * sysdeps/unix/system.c: Remove file.
45489 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
45491 * sysdeps/unix/getegid.S: Remove file.
45492 * sysdeps/unix/geteuid.S: Likewise.
45494 2012-04-24 Roland McGrath <roland@hack.frob.com>
45496 * scripts/check-localplt.awk: New file.
45497 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
45499 * scripts/data/localplt-generic.data: Add a comment.
45501 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
45502 NODE when __dir_mkfile failed.
45503 * sysdeps/mach/hurd/symlinkat.c: Likewise.
45504 Reported by Ludovic Courtès <ludo@gnu.org>.
45506 2012-04-24 Andreas Jaeger <aj@suse.de>
45508 * Makerules (common-clean): Also remove gen-as-const-headers
45511 2012-04-24 Joseph Myers <joseph@codesourcery.com>
45513 * Makerules (native-compile): Do not change working directory for
45514 build. Use $(OUTPUT_OPTION) in command.
45515 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
45517 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45520 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
45521 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
45522 * math/libm-test.inc (floor_test): Add more tests.
45523 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
45525 2012-04-24 Joseph Myers <joseph@codesourcery.com>
45527 * sysdeps/unix/getdents.c: Remove file.
45528 * sysdeps/unix/sysv/getdents.c: Likewise.
45529 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
45531 * sysdeps/unix/syscalls.list (madvise): Add syscall from
45532 sysdeps/unix/mman/syscalls.list.
45534 (mprotect): Likewise.
45536 (munmap): Likewise.
45537 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
45538 * sysdeps/unix/mman/syscalls.list: Remove.
45539 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
45541 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
45542 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
45543 * configure: Regenerated.
45544 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
45545 $(libgcc_s_suffix).
45546 * config.make.in (libgcc_s_suffix): Remove variable.
45548 2012-04-23 Joseph Myers <joseph@codesourcery.com>
45550 * sysdeps/unix/sysv/gethostname.c: Move to ...
45551 * sysdeps/posix/gethostname.c: ... here.
45553 * sysdeps/unix/execve.S: Remove file.
45555 * sysdeps/unix/_exit.S: Remove file.
45557 2012-04-23 Andreas Jaeger <aj@suse.de>
45560 * manual/Makefile: Remove make dist support, there's no
45561 need for a stand-alone documentation tar ball.
45562 (TEXI2DVI): Define always, it's not in Makeconfig.
45565 (edition): Removed.
45566 (glibc-doc-$(edition).tar): Removed
45570 (ETAGS): Remove, it's in Makeconfig.
45571 (move-if-change): Remove, it's in Makeconfig.
45573 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
45576 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
45577 (strtod, strtof, strtold, strtol, strtoul, strtoq)
45578 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
45579 (strtod_l, strtof_l, strtold_l): Remove __wur.
45580 It is not necessarily an error to ignore strtol's return value.
45581 One can reliably look at the stored endptr to decide whether
45582 the number had valid syntax.
45584 2012-04-21 Andreas Jaeger <aj@suse.de>
45587 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
45589 2012-04-21 Joseph Myers <joseph@codesourcery.com>
45591 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
45592 * sysdeps/unix/sysv/Versions: Remove file.
45594 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
45597 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45599 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
45602 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
45603 version from __vm86.
45605 2012-04-20 Joseph Myers <joseph@codesourcery.com>
45607 * sysdeps/unix/common/lxstat.c: Remove file.
45608 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
45610 * sysdeps/unix/sysv/Makefile: Remove file.
45612 * sysdeps/unix/sysv/direct.h: Remove file.
45614 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
45615 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
45616 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
45617 * sysdeps/unix/sysv/bits/signum.h: Likewise.
45618 * sysdeps/unix/sysv/bits/stat.h: Likewise.
45619 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
45620 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
45622 * sysdeps/unix/sysv/setrlimit.c: Remove file.
45624 * sysdeps/unix/xmknod.c: Remove file.
45625 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
45627 * sysdeps/unix/sysv/settimeofday.c: Remove file.
45629 * sysdeps/unix/sysv/i386/time.S: Remove file.
45631 * sysdeps/unix/fxstat.c: Remove file.
45632 * sysdeps/unix/xstat.c: Likewise.
45633 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
45635 * sysdeps/unix/sysv/sigaction.c: Remove file.
45637 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
45638 (sysdep_headers): Remove variable.
45639 [termio.h not in sysdep_headers] (generated): Likewise.
45640 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
45641 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
45642 * sysdeps/unix/sysv/tcdrain.c: Likewise.
45643 * sysdeps/unix/sysv/tcflow.c: Likewise.
45644 * sysdeps/unix/sysv/tcflush.c: Likewise.
45645 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
45646 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
45647 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
45648 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
45649 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
45651 * sysdeps/unix/siglist.c: Remove file.
45653 * sysdeps/unix/getppid.S: Remove file.
45655 * sysdeps/unix/mkdir.c: Remove file.
45656 * sysdeps/unix/rmdir.c: Likewise.
45658 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
45660 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
45662 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
45663 errlist-compat value.
45665 2012-04-18 David S. Miller <davem@davemloft.net>
45667 * sysdeps/generic/memcopy.h (reg_char): Delete.
45668 * debug/strcat_chk.c: Use char, not reg_char.
45669 * debug/strcpy_chk.c: Likewise.
45670 * debug/strncat_chk.c: Likewise.
45671 * debug/strncpy_chk.c: Likewise.
45672 * string/memchr.c: Likewise.
45673 * string/memrchr.c: Likewise.
45674 * string/rawmemchr.c: Likewise.
45675 * string/strcat.c: Likewise.
45676 * string/strchr.c: Likewise.
45677 * string/strchrnul.c: Likewise.
45678 * string/strcmp.c: Likewise.
45679 * string/strcpy.c: Likewise.
45680 * string/strncat.c: Likewise.
45681 * string/strncmp.c: Likewise.
45682 * string/strncpy.c: Likewise.
45684 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45686 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
45687 __builtin_memcopy is called when src and dest ranges are known to not
45690 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45692 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
45693 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
45694 fwd_align_merge macro call.
45695 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
45696 bwd_align_merge macro call.
45697 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45699 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45701 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
45702 bwd_align_merge macros.
45703 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
45704 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
45705 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45707 2012-04-18 David S. Miller <davem@davemloft.net>
45709 * sysdeps/sparc/sparc64/memcopy.h: Delete.
45711 2012-04-18 Andreas Jaeger <aj@suse.de>
45714 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
45715 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
45716 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45718 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
45719 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
45720 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45722 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
45723 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
45724 Adjust for changed ldbl-128 files.
45726 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
45727 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
45728 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45730 2012-04-17 David S. Miller <davem@davemloft.net>
45732 * sysdeps/sparc/sparc32/memcopy.h: Delete.
45734 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
45736 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
45737 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
45738 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
45739 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
45740 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45741 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
45743 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45746 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
45747 * math/libm-test.inc: Add ilogb errno and exception tests.
45748 * math/w_ilogb.c: New file: ilogb wrapper.
45749 * math/w_ilogbf.c: New file: ilogbf wrapper.
45750 * math/w_ilogbl.c: New file: ilogbl wrapper.
45751 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
45752 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
45753 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
45754 exception being thrown with 0.0 as argument.
45755 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
45756 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
45757 exception being thrown with 0.0 as argument.
45758 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
45759 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45760 exception being thrown with 0.0 as argument.
45761 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
45762 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45763 exception being thrown with 0.0 as argument.
45764 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
45765 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
45766 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
45767 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45768 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45769 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45770 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45771 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45772 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45774 2012-04-17 Petr Baudis <pasky@ucw.cz>
45776 * include/sys/uio.h: Change __vector to __iovec to avoid clash
45779 2012-04-16 Marek Polacek <polacek@redhat.com>
45781 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45783 2012-04-16 Marek Polacek <polacek@redhat.com>
45785 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45786 operands of fdivp instruction.
45788 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45790 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45791 * elf/tst-auditmod3b.c: Likewise.
45792 * elf/tst-auditmod4b.c: Likewise.
45793 * elf/tst-auditmod5b.c: Likewise.
45794 * elf/tst-auditmod6b.c: Likewise.
45795 * elf/tst-auditmod6c.c: Likewise.
45796 * elf/tst-auditmod7b.c: Likewise.
45797 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45798 * sysdeps/x86_64/preconfigure.in: Likewise.
45799 * sysdeps/x86_64/preconfigure: Regenerated.
45801 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45803 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45806 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
45808 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45809 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45811 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
45814 * locale/iso-639.def: Fix gl language name. Spotted by
45817 2012-04-12 Roland McGrath <roland@hack.frob.com>
45820 * libio/libio.h (__io_write_fn): Update comment.
45822 2012-04-12 Petr Baudis <pasky@ucw.cz>
45825 * stdio.texi (Hook Functions): The user provided writer function
45826 is not allowed to return -1.
45828 2012-04-11 David S. Miller <davem@davemloft.net>
45830 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45832 2012-04-11 Mike Frysinger <vapier@gentoo.org>
45834 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45835 Add a leading slash to rtkaio.
45837 2012-04-11 Jim Meyering <meyering@redhat.com>
45840 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45841 It is not necessarily an error to ignore fwrite's return
45842 value. One can reliably use ferror to test for errors after
45845 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45847 * bits/types.h (__snseconds_t): New type.
45848 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45850 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
45851 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45852 (__SNSECONDS_T_TYPE): Likewise.
45853 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45854 (__SNSECONDS_T_TYPE): Likewise.
45855 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45856 (__SNSECONDS_T_TYPE): Likewise.
45858 2012-04-10 Andreas Jaeger <aj@suse.de>
45861 * manual/time.texi (Processor Time): Return type of times is
45862 elapsed real time since an arbitrary point in the past.
45863 (CPU Time): Move CLK_TCK from here...
45864 (Processor Time): ...to here. Correct description.
45865 * manual/conf.texi (Constants for Sysconf): Correct description of
45868 2012-04-10 David S. Miller <davem@davemloft.net>
45871 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
45872 where the is a gap between DT_REL(A) and DT_JMPREL.
45874 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45876 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
45877 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45878 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45880 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
45882 * elf/dl-support.c (_dl_inhibit_cache): New variable.
45883 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
45884 (dl_main): Handle --inhibit-cache.
45885 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
45887 * elf/dl-load.c (_dl_map_object): Use it.
45888 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
45890 2012-04-09 Joseph Myers <joseph@codesourcery.com>
45893 * sysdeps/i386/fpu/e_powl.S (p78): New object.
45894 (__ieee754_powl): Saturate large exponents rather than testing for
45895 overflow of y*log2(x).
45896 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45897 * math/libm-test.inc (pow_test): Do not permit spurious overflow
45901 * math/s_ctan.c: Include <float.h>.
45902 (__ctan): Avoid internal overflow or cancellation in calculating
45904 * math/s_ctanf.c: Likewise.
45905 * math/s_ctanl.c: Likewise.
45906 * math/s_ctanh.c: Likewise.
45907 * math/s_ctanhf.c: Likewise.
45908 * math/s_ctanhl.c: Likewise.
45909 * math/libm-test.inc (ctan_test): Add more tests.
45910 (ctanh_test): Likewise.
45911 * sysdeps/i386/fpu/libm-test-ulps: Update.
45912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45914 2012-04-09 Andreas Jaeger <aj@suse.de>
45917 * manual/filesys.texi (Directory Entries): Mention that d_namlen
45918 is an optional BSD extension.
45921 * manual/stdio.texi (Opening Streams): Document additional fopen
45924 2012-04-09 Roland McGrath <roland@hack.frob.com>
45926 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
45927 %eax without telling the compiler.
45929 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
45932 * manual/install.texi: Use sourceware.org.
45934 2012-04-09 Joseph Myers <joseph@codesourcery.com>
45937 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45938 (__ieee754_pow): Generate overflow and underflow using huge*huge
45939 and tiny*tiny rather than just returning constant infinity or zero
45940 for large exponents.
45941 * math/libm-test.inc (pow_test): Require overflow exceptions for
45942 applicable cases of large exponents.
45945 * sysdeps/i386/fpu/e_pow.S (p10): New object.
45946 (__ieee754_pow): Use iterative multiplication algorithm only for
45947 integer exponents with absolute value below 1024. Check for odd
45948 integer exponents when using algorithm for real exponents.
45949 * math/libm-test.inc (pow_test): Add more tests.
45950 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45952 2012-04-08 Joseph Myers <joseph@codesourcery.com>
45955 * math/libm-test.inc (exp_test): Do not allow overflow exception
45958 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
45961 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45962 instead of __kernel_standard_f.
45964 2012-04-08 Mike Frysinger <vapier@gentoo.org>
45966 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45967 * sysdeps/x86_64/memset_chk.S: Likewise.
45969 2012-04-08 Andreas Jaeger <aj@suse.de>
45972 * manual/startup.texi (Environment Access): Describe return value
45973 for putenv and setenv.
45976 * manual/filesys.texi (Directory Entries): Add description for
45980 * manual/filesys.texi (Directory Entries): Clarify that it's file
45981 system not operating system in the description of DT_UNKNOWN.
45984 * manual/syslog.texi (closelog): Fix reference, it's openlog.
45986 2012-04-08 Stephen Compall <s11@member.fsf.org>
45989 * manual/llio.texi (Opening and Closing Files): Add cross
45990 reference to explain mode argument.
45992 2012-04-07 Mike Frysinger <vapier@gentoo.org>
45994 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45995 * sysdeps/x86_64/memset_chk.S: Likewise.
45997 2012-04-07 David S. Miller <davem@davemloft.net>
45999 * elf/elf.h (R_SPARC_WDISP10): Define.
46000 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46002 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46003 R_SPARC_SIZE64 and R_SPARC_H34.
46005 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
46007 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46008 conditions and remove no longer applicable assertion.
46010 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46012 * bits/byteswap.h: Include <features.h>.
46013 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46014 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46016 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46018 * bits/byteswap.h (__bswap_16): Removed.
46019 Include <bits/byteswap-16.h> to get __bswap_16.
46020 * sysdeps/i386/bits/byteswap.h: Likewise.
46021 * sysdeps/s390/bits/byteswap.h: Likewise.
46022 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46023 * bits/byteswap-16.h: New file.
46024 * sysdeps/i386/bits/byteswap-16.h: Likewise.
46025 * sysdeps/s390/bits/byteswap-16.h: Likewise.
46026 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
46027 * string/Makefile (headers): Add bits/byteswap-16.h.
46029 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46032 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
46034 * nss/Makefile (tests-static, tests): Add tst-nss-static.
46035 * nss/tst-nss-static.c: New.
46037 2012-04-06 Robert Millan <rmh@gnu.org>
46040 * manual/llio.texi (File Position Primitive): lseek
46041 refers to WHENCE when it really means OFFSET.
46043 2012-04-06 Andreas Jaeger <aj@suse.de>
46045 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46046 strncmp declarations.
46048 * abilist/libc.abilist: Add __poll and __ppoll.
46050 2012-04-05 David S. Miller <davem@davemloft.net>
46052 * scripts/check-local-headers.sh: Accept a host triplet in the
46053 path matched by the exclude regexp.
46055 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46057 * sysdeps/powerpc/powerpc32/dl-machine.h
46058 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46059 * sysdeps/s390/s390-32/dl-machine.h
46060 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46061 * sysdeps/sparc/sparc32/dl-machine.h
46062 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46063 * sysdeps/sparc/sparc64/dl-machine.h
46064 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46066 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46068 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
46069 undefined symbol errors.
46071 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
46074 2012-04-05 Michael Matz <matz@suse.de>
46077 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
46079 2012-04-05 Andreas Jaeger <aj@suse.de>
46082 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46085 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46087 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46088 which ROUND is no valid rounding mode.
46090 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46092 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46094 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46096 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46098 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46099 an exception using FPU order intentionally.
46101 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46103 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46104 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46105 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46106 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46108 2012-04-05 Simon Josefsson <simon@josefsson.org>
46111 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46112 EINVAL when BUFLEN is too smal.
46114 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
46117 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46118 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46120 2012-04-03 Andreas Jaeger <aj@suse.de>
46123 * manual/setjmp.texi (System V contexts): Fix sentence.
46126 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46127 New macro for this case.
46128 [!__GNUC__] (__bswap_64): New inline function for this case.
46129 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46130 * bits/byteswap.h: Likewise.
46131 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46132 ull, guard with __GLIBC_HAVE_LONG_LONG.
46134 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46135 __GLIBC_HAVE_LONG_LONG.
46137 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46138 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46140 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46143 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46144 inptr and inend, rather than using last_ch.
46146 2012-04-02 David S. Miller <davem@davemloft.net>
46148 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46149 * stdio-common/printf-parse.h (read_int): Change return type to
46150 'int', return -1 on INT_MAX overflow.
46151 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46152 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
46153 overflows INT_MAX. Check for overflow of in-format-string precision
46154 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
46155 SIZE_MAX not INT_MAX for integer overflow test.
46156 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46157 skip the construct in the format string but do not record anything.
46158 * stdio-common/bug22.c: Adjust to test both width/prevision
46159 INT_MAX overflow as well as total length INT_MAX overflow. Check
46160 explicitly for proper errno values.
46162 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
46164 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46166 * string/test-strcmp.c [! WIDE]: Likewise.
46167 * time/tst-mktime2.c: Likewise for INT_MAX.
46168 * string/test-string.h: #include <sys/param.h> for MIN.
46170 * csu/init-first.c (__libc_init_first): Call __ctype_init.
46171 * sysdeps/i386/init-first.c (init): Likewise.
46172 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46173 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46174 * sysdeps/sh/init-first.c (init): Likewise.
46176 2012-04-01 Ulrich Drepper <drepper@gmail.com>
46178 * po/ru.po: Update from translation team.
46179 * po/vi.po: Likewise.
46181 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
46183 * resolv/nss_dns/dns-host.c: Merge copyright years.
46185 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46187 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46188 Optimize memcpy with prefetch if
46189 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
46190 src, dst pointers have unequal 16 byte alignments.
46192 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
46195 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46196 from a CNAME entry and return the minimum ttl for the query.
46197 (gaih_getanswer_slice): Likewise.
46199 2012-03-30 Jeff Law <law@redhat.com>
46201 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46203 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46204 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46206 * resolv/nss_dns/dns-host.c: Update copyright year.
46208 2012-03-30 Ulrich Drepper <drepper@gmail.com>
46210 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
46211 requests to save a system call. Fix check that all bytes are sent.
46213 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46214 comments for sendmmsg.
46216 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46219 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46220 with only 1 character between 0x0041 and 0x01b0.
46221 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46222 * wcsmbs/tst-mbsnrtowcs.c: New file.
46224 2012-03-29 David S. Miller <davem@davemloft.net>
46226 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46227 small copies by hand.
46229 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46232 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46233 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46236 2012-03-28 David S. Miller <davem@davemloft.net>
46238 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46239 that branches into memcpy.
46240 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46241 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46242 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46243 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46244 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46246 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46247 implementation too.
46248 * sysdeps/sparc/mempcpy.S: New file.
46250 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46251 the IFUNC routine in the libc case.
46252 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46254 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46255 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46256 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
46257 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
46258 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
46259 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
46260 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
46261 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
46263 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
46264 loop to 256 bytes instead of 64 bytes and fix test signedness.
46266 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
46267 * sysdeps/sparc/sparc32/Makefile: rather than here...
46268 * sysdeps/sparc/sparc64/Makefile: and here.
46270 2012-03-28 Ulrich Drepper <drepper@gmail.com>
46272 * malloc/mallocbug.c: Avoid warnings about unused variables.
46274 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
46277 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
46278 in the right place. Discard and retry query if response is
46279 larger than input buffer size.
46281 2012-03-28 Joseph Myers <joseph@codesourcery.com>
46286 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
46287 x for large integer exponent.
46288 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46289 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
46290 sign of result as needed afterwards.
46291 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46292 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
46293 result for underflowing pow the same as for overflow.
46294 (__kernel_standard_l): Handle powl overflow and underflow here
46295 rather than calling __kernel_standard.
46296 * math/libm-test.inc (pow_test): Add more tests.
46311 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
46312 * sysdeps/ieee754/k_standard.c: Include <float.h>.
46313 (__kernel_standard_l): New function.
46314 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
46316 * math/w_acosl.c (__acosl): Likewise.
46317 * math/w_asinl.c (__asinl): Likewise.
46318 * math/w_atan2l.c (__atan2l): Likewise.
46319 * math/w_atanhl.c (__atanhl): Likewise.
46320 * math/w_coshl.c (__coshl): Likewise.
46321 * math/w_exp10l.c (__exp10l): Likewise.
46322 * math/w_exp2l.c (__exp2l): Likewise.
46323 * math/w_fmodl.c (__fmodl): Likewise.
46324 * math/w_hypotl.c (__hypotl): Likewise.
46325 * math/w_j0l.c (__j0l, __y0l): Likewise.
46326 * math/w_j1l.c (__j1l, __y1l): Likewise.
46327 * math/w_jnl.c (__jnl, __ynl): Likewise.
46328 * math/w_lgammal.c (__lgammal): Likewise.
46329 * math/w_log10l.c (__log10l): Likewise.
46330 * math/w_log2l.c (__log2l): Likewise.
46331 * math/w_logl.c (__logl): Likewise.
46332 * math/w_powl.c (__powl): Likewise.
46333 * math/w_remainderl.c (__remainderl): Likewise.
46334 * math/w_scalbl.c (sysv_scalbl): Likewise.
46335 * math/w_sinhl.c (__sinhl): Likewise.
46336 * math/w_sqrtl.c (__sqrtl): Likewise.
46337 * math/w_tgammal.c (__tgammal): Likewise.
46338 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
46339 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
46340 * math/libm-test.inc (acos_test): Add more tests.
46341 (acosh_test): Likewise.
46342 (asin_test): Likewise.
46343 (atanh_test): Likewise.
46344 (exp_test): Likewise.
46345 (exp10_test): Likewise.
46346 (exp2_test): Likewise.
46347 (expm1_test): Likewise.
46348 (lgamma_test): Likewise.
46349 (log_test): Likewise.
46350 (log10_test): Likewise.
46351 (log1p_test): Likewise.
46352 (log2_test): Likewise.
46353 (pow_test): Do not allow some spurious overflow exceptions.
46354 (sqrt_test): Add more tests.
46355 (tgamma_test): Likewise.
46356 (y0_test): Likewise.
46357 (y1_test): Likewise.
46358 (yn_test): Likewise.
46360 2012-03-27 Anton Blanchard <anton@samba.org>
46362 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
46364 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46365 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46366 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46368 2012-03-27 David S. Miller <davem@davemloft.net>
46370 * conform/Makefile: Run run-conformtest.sh using $(BASH).
46372 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
46373 have-as-vis3 check.
46375 2012-03-27 Andreas Jaeger <aj@suse.de>
46377 * sysdeps/x86_64/elf/configure.in: Moved to ...
46378 * sysdeps/x86_64/configure.in: ... here.
46379 * sysdeps/x86_64/elf/start.S: Moved to ...
46380 * sysdeps/x86_64/start.S: ... here.
46381 * sysdeps/x86_64/elf/configure: Delete.
46383 * sysdeps/x86_64/configure.in: Merge contents from
46384 sysdeps/i386/configure.in (without i686 check).
46386 * sysdeps/i386/elf/Versions: Merge into ...
46387 * sysdeps/i386/Versions: ... this.
46388 * sysdeps/i386/elf/Versions: Delete file.
46389 * sysdeps/i386/elf/start.S: Moved to ...
46390 * sysdeps/i386/start.S: ...here.
46391 * sysdeps/i386/elf/configure.in: Merge into...
46392 * sysdeps/i386/configure.in: ...here.
46393 * sysdeps/i386/elf/configure.in: Delete file.
46394 * sysdeps/i386/elf/configure: Delete file.
46396 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
46397 * debug/backtracesyms.c: ... here.
46398 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
46399 * debug/backtracesymsfd.c: ... here.
46400 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
46401 * sysdeps/generic/ifunc-sel.h: ... here.
46403 * sysdeps/unix/i386/start.c: Delete file.
46404 * sysdeps/unix/sparc/start.c: Delete file.
46405 * sysdeps/unix/start.c: Delete file.
46407 * sysdeps/sh/elf/configure.in: Moved to ...
46408 * sysdeps/sh/configure.in: ... here.
46409 * sysdeps/sh/elf/start.S: Moved to ...
46410 * sysdeps/sh/start.S: ... here.
46411 * sysdeps/sh/elf/configure: Delete file.
46413 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
46414 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
46415 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
46416 * sysdeps/powerpc/powerpc64/entry.h: ... here.
46417 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
46418 * sysdeps/powerpc/powerpc64/start.S: here.
46419 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
46420 * sysdeps/powerpc/powerpc64/Makefile: ... this.
46421 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
46422 * sysdeps/powerpc/powerpc64/configure.in: ... this.
46423 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
46425 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
46426 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
46427 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
46428 * sysdeps/powerpc/powerpc32/start.S: ... here.
46429 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
46430 * sysdeps/powerpc/powerpc32/configure.in: ... this.
46431 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
46433 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
46434 * sysdeps/powerpc/ifunc-sel.h: ... here.
46435 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
46436 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
46438 * sysdeps/sparc/elf/configure.in: Moved to ...
46439 * sysdeps/sparc/configure.in: ... here.
46440 * sysdeps/sparc/elf/configure: Delete file.
46441 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
46442 * sysdeps/sparc/sparc32/start.S: ... here.
46443 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
46444 * sysdeps/sparc/sparc64/start.S: ... here.
46445 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
46446 * sysdeps/sparc/sparc32/Makefile: ... this.
46447 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
46448 * sysdeps/sparc/sparc64/Makefile: ... this.
46450 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
46451 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
46452 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
46453 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
46454 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
46455 * sysdeps/s390/s390-32/setjmp.S: ... here.
46456 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
46457 * sysdeps/s390/s390-32/configure.in: ... here.
46458 * sysdeps/s390/s390-32/elf/configure: Delete file.
46459 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
46460 * sysdeps/s390/s390-32/start.S: ... here.
46462 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
46463 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
46464 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
46465 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
46466 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
46467 * sysdeps/s390/s390-64/setjmp.S: ... here.
46468 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
46469 * sysdeps/s390/s390-64/configure.in: ... here
46470 * sysdeps/s390/s390-64/elf/configure: Delete file.
46471 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
46472 * sysdeps/s390/s390-64/start.S: ... here.
46473 * sysdeps/s390/s390-64/elf/configure: Delete.
46475 * configure.in: Remove support for elf directories in sysdeps.
46477 * configure: Regenerated.
46478 * sysdeps/i386/configure: Regenerated.
46479 * sysdeps/powerpc/powerpc32/configure: Regenerated.
46480 * sysdeps/powerpc/powerpc64/configure: Regenerated.
46481 * sysdeps/s390/s390-32/configure: Regenerated.
46482 * sysdeps/s390/s390-64/configure: Regenerated.
46483 * sysdeps/sh/configure: Regenerated.
46484 * sysdeps/sparc/configure: Regenerated.
46485 * sysdeps/x86_64/configure: Regenerated.
46487 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
46489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46491 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
46492 denormal result into account.
46494 2012-03-25 Roland McGrath <roland@hack.frob.com>
46496 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
46497 Reported by Allan McRae <allan@archlinux.org>.
46499 2012-03-23 Jeff Law <law@redhat.com>
46501 * nss/getnssent.c (__nss_getent): Fix typo.
46503 2012-03-23 David S. Miller <davem@davemloft.net>
46505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46507 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
46509 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
46510 to pad to uint64_t for each field.
46511 (dl_tls_index): Replace unsigned long with uint64_t.
46513 2012-03-23 Daniel Jacobowitz <dmj@google.com>
46514 Paul Pluzhnikov <ppluzhnikov@google.com>
46517 * grp/Makefile (otherlibs): Don't set it.
46518 * inet/Makefile (otherlibs): Likewise.
46519 * login/Makefile (otherlibs): Likewise.
46520 * nscd/Makefile (otherlibs): Likewise.
46521 * posix/Makefile (otherlibs): Likewise.
46522 * pwd/Makefile (otherlibs): Likewise.
46523 * rt/Makefile (otherlibs): Likewise.
46524 * sunrpc/Makefile (otherlibs): Likewise.
46525 * nss/Makefile (otherlibs): Likewise.
46526 Add libnss_files to routines and static-only-routines.
46527 ($(objpfx)getent): Remove rule.
46528 * resolv/Makefile: Add libnss_dns and libresolv to routines and
46529 static-only-routines.
46531 2012-03-22 Joseph Myers <joseph@codesourcery.com>
46534 * math/s_cexp.c: Include <float.h>.
46535 (__cexp): Handle exp result overflowing not necessarily
46536 overflowing both real and imaginary parts of result.
46537 * math/s_cexpf.c: Likewise.
46538 * math/s_cexpl.c: Likewise.
46539 * math/libm-test.inc (cexp_test): Add more tests.
46540 * sysdeps/i386/fpu/libm-test-ulps: Update.
46541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46543 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46545 * include/link.h (ELFW): New macro.
46546 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
46547 Replace ELF64_R_TYPE with ELFW(R_TYPE).
46549 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46551 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
46554 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46556 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
46558 (struct La_x32_retval): Likewise.
46560 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46562 * sysdeps/x86_64/preconfigure.in: New file.
46563 * sysdeps/x86_64/preconfigure: New generated file.
46565 2012-03-22 Joseph Myers <joseph@codesourcery.com>
46568 * math/e_exp2l.c: Include <float.h>.
46569 (__ieee754_exp2l): Handle overflow and underflow cases
46570 separately. Only pass fractional part of argument to
46572 * math/libm-test.inc (exp2_test): Add more tests.
46574 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
46575 negating x to take absolute value.
46576 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
46578 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46579 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
46581 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
46582 computing low part if x was negated.
46583 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46585 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46587 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
46588 la_x32_gnu_pltexit.
46589 (pltexit): Cast int_retval to ptrdiff_t.
46590 * elf/tst-auditmod3b.c: Likewise.
46591 * elf/tst-auditmod4b.c: Likewise.
46592 * elf/tst-auditmod5b.c: Likewise.
46593 * elf/tst-auditmod6b.c: Likewise.
46594 * elf/tst-auditmod6c.c: Likewise.
46595 * elf/tst-auditmod7b.c: Likewise.
46597 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
46598 and x32_gnu_pltexit.
46600 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
46601 __ELF_NATIVE_CLASS.
46602 (La_x32_regs): New macro.
46603 (La_x32_retval): Likewise.
46604 (la_x32_gnu_pltenter): New function prototype.
46605 (la_x32_gnu_pltexit): Likewise.
46607 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
46609 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
46612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46614 * configure.in (libc_cv_cc_nofma): Check for option to disable
46615 generation of FMA instructions.
46616 * configure: Regenerate.
46617 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
46618 * sysdeps/ieee754/dbl-64/Makefile: New file.
46619 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
46620 Remove brandred-fma4.
46621 (CFLAGS-brandred-fma4.c): Remove.
46622 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
46623 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
46625 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
46628 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46630 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46631 LLONG_MAX != LONG_MAX.
46632 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46633 (_fitoa_word): Likewise.
46634 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
46635 LLONG_MAX != LONG_MAX.
46636 * stdio-common/_itowa.h: Include <_itoa.h>.
46637 (_itowa_word): Use _ITOA_WORD_TYPE on value.
46638 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
46639 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
46640 only if not defined.
46641 (_ITOA_WORD_TYPE): Likewise.
46642 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46643 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
46645 2012-03-21 David S. Miller <davem@davemloft.net>
46647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46649 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46651 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
46652 of x86_64 when setting libc_cv_slibdir, libdir and
46654 * sysdeps/unix/sysv/linux/configure: Regenerated.
46656 2012-03-21 Joseph Myers <joseph@codesourcery.com>
46658 * manual/lang.texi (Old Varargs): Remove section.
46659 (How Variadic): Update menu.
46660 (va_start): Do not mention varargs.h.
46662 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46663 Joseph Myers <joseph@codesourcery.com>
46665 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
46667 * configure: Regenerated.
46669 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46671 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
46672 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
46675 2012-03-21 Joseph Myers <joseph@codesourcery.com>
46678 * Makefile (files-for-dist): Remove NOTES.
46679 (NOTES): Remove rule.
46680 * README: Don't refer to NOTES.
46681 * manual/creature.texi: Don't include macros.texi.
46682 * manual/intro.texi (creature.texi): Remove comment referring to
46685 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
46686 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
46687 * configure: Regenerated.
46688 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
46689 LIBC_TRY_CC_OPTION.
46690 (libc_cv_as_i686): Likewise.
46691 (libc_cv_cc_avx): Likewise.
46692 (libc_cv_cc_sse2avx): Likewise.
46693 (libc_cv_cc_fma4): Likewise.
46694 (libc_cv_cc_novzeroupper): Likewise.
46695 * sysdeps/i386/configure: Regenerated.
46698 * sysdeps/i386/fpu/s_cexp.S: Remove.
46699 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46700 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46701 * math/libm-test.inc (cexp_test): Add more tests.
46702 * sysdeps/i386/fpu/libm-test-ulps: Update.
46703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46705 2012-03-21 Allan McRae <allan@archlinux.org>
46707 * timezone/Makefile: Do not install iso3166.tab and zone.tab
46709 2012-03-21 Joseph Myers <joseph@codesourcery.com>
46712 * math/w_exp2.c: Do not include <float.h>.
46713 (o_threshold, u_threshold): Remove.
46714 (__exp2): Calculate result before checking finiteness and calling
46716 * math/w_exp2f.c: Likewise.
46717 * math/w_exp2l.c: Likewise.
46718 * math/libm-test.inc (exp2_test): Require overflow exception for
46722 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
46723 range of signed 64-bit integers before using fistpll. Remove
46724 checks for whether integers fit in mantissa bits.
46725 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
46726 the range of signed 32-bit integers before using fistpl. Remove
46727 checks for whether integers fit in mantissa bits.
46728 * sysdeps/i386/fpu/e_powl.S (p64): New object.
46729 (__ieee754_powl): Test for y outside the range of signed 64-bit
46730 integers before using fistpll. Reduce 64-bit values to 63-bit
46732 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
46733 divide-by-zero is raised for zero to large negative powers.
46734 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
46735 (__ieee754_powl): Test for y outside the range of signed 64-bit
46736 integers before using fistpll. Reduce 64-bit values to 63-bit
46738 * math/libm-test.inc (pow_test): Add more tests.
46740 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46742 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
46743 <stdio-common/_itoa.h>.
46744 * debug/segfault.c: Likewise.
46745 * elf/dl-cache.c: Likewise.
46746 * elf/dl-minimal.c: Likewise.
46747 * elf/dl-misc.c: Likewise.
46748 * elf/dl-sysdep.c: Likewise.
46749 * elf/dl-version.c: Likewise.
46750 * elf/rtld.c: Likewise.
46751 * hurd/hurdsock.c: Likewise.
46752 * hurd/lookup-retry.c: Likewise.
46753 * malloc/malloc.c: Likewise.
46754 * malloc/mtrace.c: Likewise.
46755 * nscd/nscd_getgr_r.c: Likewise.
46756 * nscd/nscd_getpw_r.c: Likewise.
46757 * nscd/nscd_getserv_r.c: Likewise.
46758 * posix/getopt_init.c: Likewise.
46759 * posix/wordexp.c: Likewise.
46760 * stdio-common/_itoa.c: Likewise.
46761 * stdio-common/printf_fphex.c: Likewise.
46762 * stdio-common/vfprintf.c: Likewise.
46763 * string/_strerror.c: Likewise.
46764 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
46765 * sysdeps/i386/i686/hp-timing.h: Likewise.
46766 * sysdeps/mach/_strerror.c: Likewise.
46767 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46768 * sysdeps/mach/hurd/sethostid.c: Likewise.
46769 * sysdeps/mach/hurd/xmknodat.c: Likewise.
46770 * sysdeps/mach/xpg-strerror.c: Likewise.
46771 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46772 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46773 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46774 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46775 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46776 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46777 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46778 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46779 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46780 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46781 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46782 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46783 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46784 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46785 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46786 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46787 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46788 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46789 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46790 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46791 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46793 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46795 * stdio-common/_itoa.h: Moved to ...
46796 * sysdeps/generic/_itoa.h: Here.
46798 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46800 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46801 instead of "_itoa.h" and "_itowa.h".
46802 * stdio-common/vfprintf.: Likewise.
46804 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46806 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46808 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46809 (__signbit): Likwise.
46810 (llrintf): Likwise.
46813 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46815 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46818 2012-03-20 Joseph Myers <joseph@codesourcery.com>
46820 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46821 OVERFLOW_EXCEPTION_OK.
46822 * math/libm-test.inc ("Philosophy"): Update comment about
46824 (OVERFLOW_EXCEPTION): Define.
46825 (OVERFLOW_EXCEPTION_OK): Likewise.
46826 (INVALID_EXCEPTION_OK): Renumber.
46827 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46828 (IGNORE_ZERO_INF_SIGN): Likewise.
46829 (test_exceptions): Handle FE_OVERFLOW.
46830 (exp10_test): Expect overflow exceptions.
46831 (exp2_test): Likewise.
46832 (expm1_test): Likewise.
46833 (nextafter_test): Likewise.
46834 (pow_test): Likewise.
46835 (scalbn_test): Likewise.
46836 (scalbln_test): Likewise.
46838 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46840 * sysdeps/x86_64/bits/atomic.h
46841 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46843 (atomic_exchange_acq): Likewise.
46844 (__arch_exchange_and_add_body): Likewise.
46845 (__arch_add_body): Likewise.
46846 (atomic_add_negative): Likewise.
46847 (atomic_add_zero): Likewise.
46849 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46851 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
46852 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
46854 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46856 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
46857 Check __x86_64__ instead of __WORDSIZE.
46859 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46861 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
46863 2012-03-19 David S. Miller <davem@davemloft.net>
46865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46867 * sysdeps/sparc/fpu/fenv_private.h: New file.
46868 * sysdeps/sparc/fpu/math_private.h: Use it.
46869 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
46871 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
46872 (libc_feholdexcept_setroundl): Remove.
46873 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
46875 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
46876 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
46878 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46880 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
46881 int64_t instead of long int.
46882 (INSERT_WORDS64): Likwise.
46884 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46886 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
46887 _Unwind_GetCFA return to _Unwind_Ptr first.
46889 2012-03-19 Joseph Myers <joseph@codesourcery.com>
46892 * math/s_clog.c: Include <float.h>.
46893 (__clog): Scale large or subnormal inputs.
46894 * math/s_clogf.c: Likewise.
46895 * math/s_clogl.c: Likewise.
46896 * math/s_clog10.c: Include <float.h>.
46897 (M_LOG10_2): Define.
46898 (__clog10): Scale large or subnormal inputs.
46899 * math/s_clog10f.c: Likewise.
46900 * math/s_clog10l.c: Likewise.
46901 * math/libm-test.inc (clog_test): Add more tests.
46902 (clog10_test): Likewise.
46903 * sysdeps/i386/fpu/libm-test-ulps: Update.
46904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46907 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
46909 * math/libm-test.inc (atan2_test): Add another test.
46911 * Makerules (common-objdir-compile): Remove.
46912 * sysdeps/unix/Makefile (config-generated): Do not add
46913 $(unix-generated) to variable.
46914 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
46915 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
46917 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
46919 [generic bits/local_lim.h] (before-compile): Do not append to
46921 [generic bits/local_lim.h] (common-generated): Likewise.
46922 [generic sys/param.h] (before-compile): Do not append to variable.
46923 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
46924 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
46925 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
46926 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
46928 [generic sys/param.h] (sys/param.h-includes): Remove variable.
46929 [generic sys/param.h] (sys/param.h-includes): Remove rule.
46930 [generic sys/param.h] ($(addprefix
46931 $(common-objpfx),$(sys/param.h-includes))): Likewise.
46932 [generic sys/param.h] (common-generated): Do not append to
46934 [generic sys/param.h] (sysdep_headers): Likewise.
46935 [generic bits/errno.h] (before-compile): Do not append to
46937 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46939 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46940 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46941 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46942 [generic bits/errno.h] (common-generated): Do not append to
46944 [generic bits/ioctls.h] (before-compile): Do not append to
46946 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46948 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46949 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46950 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46952 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46953 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46954 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46955 [generic bits/ioctls.h] (common-generated): Do not append to
46957 [generic sys/syscall.h] (syscall.h): Remove variable.
46958 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46960 [generic sys/syscall.h] (before-compile): Do not append to
46962 [generic sys/syscall.h] (common-generated): Likewise.
46963 * sysdeps/unix/errnos-tmpl.c: Remove file.
46964 * sysdeps/unix/errnos.awk: Likewise.
46965 * sysdeps/unix/ioctls-tmpl.c: Likewise.
46966 * sysdeps/unix/ioctls.awk: Likewise.
46967 * sysdeps/unix/mk-local_lim.c: Likewise.
46968 * sysdeps/unix/snarf-ioctls: Likewise.
46970 2012-03-19 Richard Henderson <rth@twiddle.net>
46972 * sysdeps/i386/fpu/fenv_private.h: New file.
46973 * sysdeps/i386/fpu/math_private.h: Use it.
46974 (math_opt_barrier, math_force_eval): Remove.
46975 (libc_feholdexcept_setround_53bit): Remove.
46976 (libc_feupdateenv_53bit): Remove.
46977 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46978 (math_opt_barrier, math_force_eval): Remove.
46979 (libc_feholdexcept): Remove.
46980 (libc_feholdexcept_setround): Remove.
46981 (libc_fetestexcept, libc_fesetenv): Remove.
46982 (libc_feupdateenv_test): Remove.
46983 (libc_feupdateenv, libc_feholdsetround): Remove.
46984 (libc_feresetround): Remove.
46986 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46987 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46989 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46990 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46991 (libc_feupdateenv_testl): New.
46992 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46993 (libc_feupdateenv_testf): New.
46994 (libc_feupdateenv): Use libc_feupdateenv_test.
46995 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46996 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46998 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46999 (libc_feholdsetroundf, libc_feholdsetroundl): New.
47000 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47001 (libc_feresetround_noex): New.
47002 (libc_feresetround_noexf): New.
47003 (libc_feresetround_noexl): New.
47004 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47005 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47006 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47007 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47009 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47010 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47012 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47013 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47014 SET_RESTORE_ROUND_NOEX.
47015 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
47016 SET_RESTORE_ROUND_NOEXF.
47017 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
47018 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
47019 (libc_feholdsetroundf): New.
47020 (libc_feresetround, libc_feresetroundf): New.
47022 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
47023 (libc_feholdexcept_setround_53bit): Convert from macro to function.
47024 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
47026 * sysdeps/generic/math_private.h: Include <fenv.h>.
47027 (default_libc_feholdexcept): New.
47028 (default_libc_feholdexcept_setround): New.
47029 (default_libc_fesetenv, default_libc_feupdateenv): New.
47030 (libc_feholdexcept): Only define if undefined.
47031 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
47032 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47033 (libc_feholdexcept_setroundl): Likewise.
47034 (libc_feholdexcept_setround_53bit): Likewise.
47035 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
47036 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
47037 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
47038 (libc_feupdateenv_53bit): Likewise.
47039 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
47040 (libc_feholdexcept): Convert from macro to inline function.
47041 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47042 (libc_fesetenv, libc_feupdateenv): Likewise.
47044 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47045 not previously defined.
47046 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47047 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47048 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47049 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47050 * sysdeps/ieee754/flt-32/math_private.h: New file.
47051 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47052 math_private.h below SET_FLOAT_WORD.
47053 (__isnan, __isinf_ns, __finite): Remove.
47054 (__isnanf, __isinf_nsf, __finitef): Remove.
47056 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
47058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47060 2012-03-17 David S. Miller <davem@davemloft.net>
47063 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47066 2012-03-16 David S. Miller <davem@davemloft.net>
47068 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47072 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
47074 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
47075 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
47076 sysdep_routines when subdir is sysvipc.
47077 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
47078 __getshmlba helper.
47080 * sysdeps/sparc/fpu/libm-test/ulps: Update.
47082 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47084 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47087 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47089 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47090 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47091 (__lround): Renamed to ...
47092 (__llround): This. Replace long int with long long int.
47093 Define lround functions as aliases of llround functions.
47094 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47096 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47098 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47099 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
47100 adresses to uintptr_t. Replace "long int" and "unsigned long
47101 int" with "greg_t" on va_arg.
47103 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47105 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47106 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47108 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47109 Move e_machine check before EI_CLASS check. Handle x32
47110 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47111 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47112 SKIP_EM_IA_64 and include
47113 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47115 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47116 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47117 (add_system_dir): New macro.
47119 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47120 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47122 2012-03-16 Joseph Myers <joseph@codesourcery.com>
47133 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47135 * math/w_j0f.c (j0f): Likewise.
47137 * math/w_j0l.c (__j0l): Likewise.
47139 * math/w_j1.c (j1): Likewise.
47141 * math/w_j1f.c (j1f): Likewise.
47143 * math/w_j1l.c (__j1l): Likewise.
47145 * math/w_jn.c (jn): Likewise.
47147 * math/w_jnf.c (jnf): Likewise.
47149 * math/w_jnl.c (__jnl): Likewise.
47151 * math/libm-test.inc (j0_test): Add more tests.
47152 (j1_test): Likewise.
47153 (jn_test): Likewise. Add trailing semicolon to existing test.
47154 (y0_test): Likewise.
47155 (y1_test): Likewise.
47156 * sysdeps/i386/fpu/libm-test-ulps: Update.
47157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47161 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
47162 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
47163 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47164 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47165 (__tanl): Set errno for infinite argument.
47166 * sysdeps/i386/fpu/mptan.c: Remove.
47167 * sysdeps/i386/fpu/s_tan.S: Likewise.
47168 * sysdeps/i386/fpu/s_tanl.S: Likewise.
47169 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47170 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47171 * math/libm-test.inc (tan_test): Add more tests and enable more
47172 tests for double and long double.
47173 * sysdeps/i386/fpu/libm-test-ulps: Update.
47174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47176 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
47178 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47179 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47181 2012-03-16 Roland McGrath <roland@hack.frob.com>
47183 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47184 * configure.in: Use it for both main tree and add-ons.
47185 * configure: Regenerated.
47187 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47189 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47191 2012-03-16 Joseph Myers <joseph@codesourcery.com>
47193 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47197 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47198 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47199 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47200 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47201 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47203 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47204 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47205 != 0 for prec == 2.
47206 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47207 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47208 * sysdeps/i386/fpu/s_cosl.S: Likewise.
47209 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47210 * sysdeps/i386/fpu/s_sinl.S: Likewise.
47211 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47212 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47213 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47214 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47215 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47216 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47217 * math/libm-test.inc (cos_test): Add more tests and enable more
47218 tests for long double.
47219 (sin_test): Likewise.
47220 (sincos_test): Likewise.
47221 * sysdeps/i386/fpu/libm-test-ulps: Update.
47222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47224 2012-03-16 David S. Miller <davem@davemloft.net>
47226 * sysdeps/sparc/fpu/math_private.h: New file.
47228 2012-03-15 David S. Miller <davem@davemloft.net>
47230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
47233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47236 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47237 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47238 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47239 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47240 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47244 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47245 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47247 * sysdeps/sparc/sparc-ifunc.h: New file.
47248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
47251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
47256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
47257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
47262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
47264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
47266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
47268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
47270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
47271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
47272 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47273 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47274 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
47275 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
47276 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47277 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47278 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
47279 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
47280 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
47281 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
47282 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
47283 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
47284 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
47285 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
47286 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
47287 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
47288 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
47289 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
47290 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
47291 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
47293 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47295 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
47297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47299 2012-03-15 Andreas Jaeger <aj@suse.de>
47302 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
47303 ieee754/flt-32 implementation for sin, cos and sincos.
47304 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
47305 * sysdeps/i386/fpu/s_cosf.S: Likewise.
47306 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
47307 * sysdeps/i386/fpu/s_sinf.S: Likewise.
47308 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
47309 ieee754/flt-32 implementation for tan.
47311 * math/libm-test.inc (cos_test): Enable some large input tests for
47313 (sin_test): Likewise.
47314 (sincos_test): Likewise.
47315 (tan_test): Add tests for large input.
47317 * sysdeps/i386/fpu/libm-test-ulps: Update.
47319 2012-03-15 Andreas Jaeger <aj@suse.de>
47322 * math/libm-test.inc (cos_test): Add more test cases.
47323 (sin_test): Likewise.
47324 (sincos_test): Likewise.
47326 2012-03-15 Andreas Jaeger <aj@suse.de>
47329 * math/libm-test.inc (cos_test): Add a test case for large input
47331 (sin_test): Likewise.
47332 (sincos_test): Likewise.
47334 2012-03-15 Andreas Jaeger <aj@suse.de>
47335 Joseph Myers <joseph@codesourcery.com>
47338 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
47339 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
47340 * sysdeps/i386/fpu/branred.c: Likewise.
47341 * sysdeps/i386/fpu/dosincos.c: Likewise.
47342 * sysdeps/i386/fpu/mpa.c: Likewise.
47343 * sysdeps/i386/fpu/s_cos.S: Likewise.
47344 * sysdeps/i386/fpu/s_sin.S: Likewise.
47345 * sysdeps/i386/fpu/s_sincos.S: Likewise.
47346 * sysdeps/i386/fpu/sincos32.c: Likewise.
47348 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
47350 (libc_feupdateenv_53bit): Define.
47351 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
47353 (libc_feupdateenv_53bit): Define.
47355 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
47356 53 bit (without extend i386 double precision).
47358 * math/libm-test.inc (sincos_test): Add tests for large input.
47362 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47364 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47368 2012-03-15 David S. Miller <davem@davemloft.net>
47370 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
47371 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
47372 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
47373 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
47374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
47375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
47376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
47377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
47378 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
47379 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
47380 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
47381 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
47382 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
47383 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
47384 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
47385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
47387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
47388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
47390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
47391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
47393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
47394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
47396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
47397 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
47398 fmin/fmax sysdep routines.
47399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47401 2012-03-14 David S. Miller <davem@davemloft.net>
47403 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
47404 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
47405 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
47406 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
47407 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
47408 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
47409 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
47410 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
47411 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
47412 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
47413 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
47414 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
47415 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
47416 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
47417 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
47418 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
47419 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
47420 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
47421 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
47422 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
47423 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
47424 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
47425 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
47426 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
47427 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
47428 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
47429 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
47430 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
47431 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
47433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
47435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
47436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
47438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
47439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
47441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
47442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
47444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
47445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
47447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
47448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
47450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
47452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
47454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
47456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
47458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
47460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
47462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
47463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
47465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
47466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
47468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
47469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
47471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
47472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
47475 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47478 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47480 * sysdeps/sparc/configure.in: New file.
47481 * sysdeps/sparc/configure: Generate.
47482 * configure.in (libc_cv_sparc_as_vis3): Substitute.
47483 * configure: Regenerate.
47484 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
47485 * config.make.in (have-as-vis3): New.
47486 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
47487 available use -Av9d instead of -Av9a.
47488 * sysdeps/sparc/sparc64/Makefile: Likewise.
47489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
47490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
47492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
47494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
47496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
47498 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
47499 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
47500 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
47501 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
47502 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
47504 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
47505 fzeros/fnegs to load 0x80000000 into a float register instead of
47507 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
47509 2012-03-14 Joseph Myers <joseph@codesourcery.com>
47511 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47513 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
47514 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
47515 ($(inst_includedir)/bits/syscall.h): Remove rule.
47516 ($(objpfx)bits/syscall.d): Include instead of
47517 $(objpfx)syscall-list.d.
47518 (generated): Change syscall-list.h and syscall-list.d to
47519 bits/syscall.h and bits/syscall.d.
47521 2012-03-14 Roland McGrath <roland@hack.frob.com>
47524 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
47526 2012-03-14 Joseph Myers <joseph@codesourcery.com>
47529 * math/s_csqrt.c: Include <float.h>.
47530 (__csqrt): Scale large or subnormal inputs.
47531 * math/s_csqrtf.c: Likewise.
47532 * math/s_csqrtl.c: Likewise.
47533 * math/libm-test.inc (csqrt_test): Add more tests.
47534 * sysdeps/i386/fpu/libm-test-ulps: Update.
47535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47538 * math/libm-test.inc (hypot_test): Add more tests.
47540 2012-03-13 David S. Miller <davem@davemloft.net>
47543 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
47544 double-precision for the calculation instead of scaling.
47546 2012-03-13 Joseph Myers <joseph@codesourcery.com>
47548 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
47549 manipulate bits before adding and subtracting TWO52[sx].
47550 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
47551 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
47553 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
47555 2012-03-13 David S. Miller <davem@davemloft.net>
47557 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
47558 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
47559 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
47560 rtld-global-offsets.h
47561 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47563 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
47566 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
47568 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
47569 'err' in the ifdef scope in which it is actually used.
47571 * nss/nss_db/db-init.c: Include string.h
47573 2012-03-12 David S. Miller <davem@davemloft.net>
47575 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47576 masking out of the most significant byte of random value used.
47577 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47578 Fix coding style in previous change.
47580 * sysdeps/unix/sysv/linux/kernel-features.h
47581 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
47582 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
47584 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
47587 2012-03-11 David S. Miller <davem@davemloft.net>
47589 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47590 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
47591 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
47592 for 'resultvar' otherwise things get truncated on 64-bit.
47594 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47595 Fix masking out of the most significant byte of random value used.
47597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47599 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
47601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47603 2012-03-09 David S. Miller <davem@davemloft.net>
47605 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
47606 variables with appropriate CPP guards.
47607 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
47608 from the frame pointer, not the stack pointer. Correct layout
47609 comments. Fix test on resulting framesize and the management of
47610 the outregs buffer for pltexit. Preserve floating point return
47611 values across _dl_call_pltexit call.
47612 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
47613 framesize and the management of the outregs buffer for pltexit.
47614 Preserve floating point return values across _dl_call_pltexit
47616 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
47617 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
47618 (la_sparc64_gnu_pltexit): New functions.
47619 (print_exit): Fix format string for return register value.
47621 2012-03-10 Joseph Myers <joseph@codesourcery.com>
47623 * sunrpc/Makefile (others): Add rpcgen.
47624 ($(objpfx)rpcgen): Remove special build rule and dependency on
47626 * sunrpc/rpcgen.c: New file.
47628 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
47631 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
47632 * stdio-common/bug-vfprintf-nargs.c: Likewise.
47633 * sysdeps/i386/crti.S: Likewise.
47634 * sysdeps/i386/crtn.S: Likewise.
47635 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
47636 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
47637 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
47638 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
47639 * sysdeps/sh/crti.S: Likewise.
47640 * sysdeps/sh/crtn.S: Likewise.
47641 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47644 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
47646 * locale/programs/locfile-kw.gperf: Likewise.
47647 * locale/programs/charmap-kw.h: Regenerated.
47648 * locale/programs/locfile-kw.h: Likewise.
47651 * intl/plural.y: Replace FSF snail mail address with URL.
47652 * intl/plural.c: Regenerated.
47654 2012-03-09 Richard Henderson <rth@twiddle.net>
47656 * include/math_private.h: Remove file.
47657 * math/math_private.h: Move file ...
47658 * sysdeps/generic/math_private.h: ... here.
47660 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
47661 * sysdeps/powerpc/fpu/math_private.h: Likewise.
47662 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47664 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
47665 and <math_private.h>.
47666 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47667 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47668 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47669 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47670 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47671 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
47672 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47673 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47674 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47675 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47676 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47677 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47678 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47679 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47680 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47681 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47682 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47683 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47684 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47685 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47686 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47687 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47688 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47689 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47690 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47691 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47692 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47693 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47694 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47695 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47696 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47697 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47698 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47699 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47700 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47701 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47702 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47703 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47704 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47705 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47706 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
47707 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47708 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47709 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47710 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47711 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47712 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
47713 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47714 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47715 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47716 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47717 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
47718 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47719 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47720 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47721 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47722 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47723 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47724 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47725 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
47726 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47727 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47728 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47729 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47730 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
47731 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47732 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47733 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47734 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
47735 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
47736 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47737 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47738 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47739 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47740 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
47741 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
47742 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
47743 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47744 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
47745 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
47746 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47747 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
47748 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47749 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47750 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47751 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47752 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
47753 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
47754 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47755 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47756 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47757 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47758 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47759 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47760 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47761 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47762 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47763 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47764 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47765 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47766 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47767 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47768 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47769 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47770 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47771 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47772 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47773 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47774 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47775 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47776 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47777 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47778 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47779 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47780 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47781 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47782 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47783 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47784 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47785 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47786 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47787 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47788 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47789 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47790 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47791 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47792 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47793 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47794 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47795 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47796 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47797 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47798 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47799 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47800 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47801 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47802 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47803 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47804 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47805 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47806 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47807 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47808 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47809 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47810 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47811 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47812 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47813 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47814 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47815 * sysdeps/ieee754/k_standard.c: Likewise.
47816 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47817 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47818 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47819 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47820 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47821 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47822 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47823 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47824 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47825 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47826 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47827 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47828 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47829 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47830 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47831 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47832 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47833 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47834 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47835 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47836 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47837 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47838 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47839 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47840 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47841 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47842 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47843 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47844 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47845 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47846 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47847 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47848 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47849 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47850 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47851 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47852 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47853 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
47854 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
47855 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47856 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47857 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47858 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47859 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47860 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47861 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47862 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47863 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47864 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47865 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47866 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47867 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47868 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47869 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
47870 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47871 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47872 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
47873 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
47874 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47875 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47876 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47877 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47878 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47879 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47880 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47881 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47882 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47883 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47884 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47885 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47886 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47887 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47888 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47889 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47890 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47891 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47892 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
47893 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47894 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47895 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47896 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47897 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47898 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47899 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47900 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
47901 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47902 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47903 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
47904 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47905 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47906 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
47907 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47908 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
47909 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47910 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47911 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47912 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
47913 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
47914 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
47915 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
47916 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47917 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47918 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47919 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47920 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
47921 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47922 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47923 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
47924 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
47925 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47926 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47927 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47928 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47929 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47930 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47931 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47932 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47933 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47934 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47935 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47936 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47937 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47938 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47939 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47940 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47941 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47942 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47943 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47944 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47945 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47946 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47947 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47948 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47949 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47950 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47951 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47952 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47953 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47954 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47955 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47956 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47957 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47958 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47959 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47960 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47961 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47962 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47963 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47964 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47965 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47966 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47967 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47968 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47969 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47970 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47971 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47972 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47973 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47974 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47975 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47976 * sysdeps/ieee754/s_lib_version.c: Likewise.
47977 * sysdeps/ieee754/s_matherr.c: Likewise.
47978 * sysdeps/ieee754/s_signgam.c: Likewise.
47979 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47980 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47981 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47982 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47983 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47984 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47985 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47986 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47987 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47988 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47989 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47990 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47991 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47992 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47993 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47994 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47995 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47996 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47997 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47998 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47999 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48001 2012-03-09 Joseph Myers <joseph@codesourcery.com>
48003 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48004 * sunrpc/rpc_main.c: Likewise.
48005 * sunrpc/rpc_svcout.c: Likewise.
48007 2012-03-09 David S. Miller <davem@davemloft.net>
48009 * include/math_private.h: New file.
48011 2012-03-09 Joseph Myers <joseph@codesourcery.com>
48013 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48014 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
48015 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
48016 from <bits/socket_type.h>.
48017 (enum __socket_type): Don't define here.
48018 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
48019 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48020 bits/socket_type.h.
48023 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
48024 checking __USE_GNU.
48026 * Makerules ($(inst_includedir)/%.h): New rule.
48027 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
48028 (install-others): Remove variable setting.
48029 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
48031 2012-03-08 Richard Henderson <rth@twiddle.net>
48033 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
48034 from macro to inline function; merge with the
48035 !__LIBC_INTERNAL_MATH_INLINES version.
48036 (__ieee754_sqrtf): Likewise.
48038 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
48039 to inline function.
48040 (__rintf, __floor, __floorf): Likewise.
48042 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
48043 macro to inline function.
48044 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48046 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48047 not <math/math_private.h>.
48049 2012-03-08 David S. Miller <davem@davemloft.net>
48051 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48053 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48055 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
48057 * resolv/gai_misc.c (handle_requests): Fix struct timespec
48059 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48060 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48062 2012-03-08 Ulrich Drepper <drepper@gmail.com>
48064 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
48065 be defined individually, they must be defined as a block. Define
48066 S for printing a string instead of hidint the different by using a
48067 macro for adding the 'l'.
48068 * stdio-common/tst-fphex-wide.c: Adjust.
48070 2012-03-07 Marek Polacek <polacek@redhat.com>
48072 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
48074 2012-03-08 Marek Polacek <polacek@redhat.com>
48077 * stdio-common/Makefile (tests): Add tst-fphex-wide.
48078 * stdio-common/tst-fphex.c: Define a few macros to make the
48079 test reusable. Use them.
48080 * stdio-common/tst-fphex-wide.c: New file.
48082 2012-03-08 Joseph Myers <joseph@codesourcery.com>
48085 * manual/macros.texi (gnusystems): New macro.
48086 (nongnusystems): Likewise.
48087 (gnulinuxhurdsystems): Likewise.
48088 (gnuhurdsystems): Likewise..
48089 (gnulinuxsystems): Likewise.
48090 * manual/charset.texi: Use new macros or @theglibc{} to refer to
48091 variants of the GNU system, not "GNU system".
48092 * manual/conf.texi: Likewise.
48093 * manual/errno.texi: Likewise. Update example of errno macro
48095 * manual/filesys.texi: Likewise.
48096 (getumask): Document as specific to GNU/Hurd.
48097 * manual/install.texi: Likewise. Reword some references to
48099 * manual/intro.texi: Likewise.
48100 * manual/io.texi: Likewise.
48101 (File Name Portability): Detail which constraints are inapplicable
48102 to all GNU systems and which are only inapplicable to GNU/Hurd.
48103 * manual/job.texi: Likewise.
48104 * manual/llio.texi: Likewise.
48105 (O_NOCTTY): Document as present on GNU/Linux.
48106 * manual/maint.texi: Likewise.
48107 * manual/memory.texi: Likewise.
48108 * manual/pattern.texi: Likewise.
48109 * manual/pipe.texi: Likewise.
48110 * manual/process.texi: Likewise.
48111 * manual/resource.texi: Likewise.
48112 (RUSAGE_CHILDREN): Remove statement about specifying a particular
48114 * manual/setjmp.texi: Likewise.
48115 * manual/signal.texi: Likewise.
48116 * manual/startup.texi: Likewise.
48117 * manual/stdio.texi: Likewise.
48118 * manual/terminal.texi: Likewise.
48119 (ONLCR): Document as POSIX.
48120 (OXTABS): Document availability on GNU/Linux as XTABS.
48121 (ONOEOT): Document availability separately from other bits.
48122 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48123 * manual/time.texi: Likewise.
48124 * manual/users.texi: Likewise.
48125 * INSTALL: Regenerated.
48126 * sysdeps/gnu/errlist.c: Regenerated.
48128 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48129 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48130 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
48132 * configure: Regenerated.
48134 2012-03-07 Joseph Myers <joseph@codesourcery.com>
48136 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48137 default includes instead of AC_HEADER_CHECK.
48138 * sysdeps/i386/configure: Regenerated.
48141 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48142 * math/s_cacoshf.c (__cacoshf): Likewise.
48143 * math/s_cacoshl.c (__cacoshl): Likewise.
48144 * math/s_casinh.c (__casinh): Set signs of result from argument.
48145 * math/s_casinhf.c (__casinhf): Likewise.
48146 * math/s_casinhl.c (__casinhl): Likewise.
48147 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48148 (casinh_test): Add more tests.
48149 * sysdeps/i386/fpu/libm-test-ulps: Update.
48150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48152 2012-03-07 Ulrich Drepper <drepper@gmail.com>
48154 * po/zh_TW.po: Update from translation team.
48156 * login/Makefile (distribute): Remove variable.
48157 * catgets/Makefile: Likewise.
48158 * mach/Makefile: Likewise.
48159 * malloc/Makefile: Likewise.
48160 * misc/Makefile: Likewise.
48161 * iconv/Makefile: Likewise.
48162 * nscd/Makefile: Likewise.
48163 * hurd/Makefile: Likewise.
48164 * manual/Makefile: Likewise.
48165 * locale/Makefile: Likewise.
48166 * intl/Makefile: Likewise.
48167 * conform/Makefile: Likewise.
48168 * nss/Makefile: Likewise.
48169 * time/Makefile: Likewise.
48170 * soft-fp/Makefile: Likewise.
48171 * dirent/Makefile: Likewise.
48172 * gmon/Makefile: Likewise.
48173 * po/Makefile: Likewise.
48174 * rt/Makefile: Likewise.
48175 * socket/Makefile: Likewise.
48176 * math/Makefile: Likewise.
48177 * signal/Makefile: Likewise.
48178 * debug/Makefile: Likewise.
48179 * elf/Makefile: Likewise.
48180 * timezone/Makefile: Likewise.
48181 * stdlib/Makefile: Likewise.
48182 * iconvdata/Makefile: Likewise.
48183 * sunrpc/Makefile: Likewise.
48184 * io/Makefile: Likewise.
48185 * argp/Makefile: Likewise.
48186 * inet/Makefile: Likewise.
48187 * hesiod/Makefile: Likewise.
48188 * grp/Makefile: Likewise.
48189 * csu/Makefile: Likewise.
48190 * wctype/Makefile: Likewise.
48191 * crypt/Makefile: Likewise.
48192 * libio/Makefile: Likewise.
48193 * string/Makefile: Likewise.
48194 * nis/Makefile: Likewise.
48195 * resolv/Makefile: Likewise.
48196 * stdio-common/Makefile: Likewise.
48197 * wcsmbs/Makefile: Likewise.
48198 * dlfcn/Makefile: Likewise.
48199 * posix/Makefile: Likewise.
48202 * timezone/Makefile: Don't install timezone files, just the programs
48205 2012-03-06 Ulrich Drepper <drepper@gmail.com>
48207 * nss/databases.def: Add missing gshadow entry.
48209 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
48211 2012-03-06 Marek Polacek <polacek@redhat.com>
48214 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48215 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48216 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48217 * stdio-common/tst-long-dbl-fphex.c: New file.
48219 2012-03-06 David S. Miller <davem@davemloft.net>
48221 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48222 (set_obp_int): New function.
48223 (get_obp_int): New function.
48224 (__get_clockfreq_via_dev_openprom): Likewise.
48225 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48226 Avoid unused variable warnings on 'val' and use builtin_expect.
48227 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48229 (INLINE_CLONE_SYSCALL): Likewise.
48231 2012-03-05 David S. Miller <davem@davemloft.net>
48233 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48235 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
48237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48239 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48240 only for |x| >= 40.
48241 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48243 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
48245 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48246 Replace gettimeofday with __vdso_gettimeofday.
48248 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48249 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48250 __vdso_clock_gettime and __vdso_getcpu.
48252 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48253 time with __vdso_time.
48255 2012-03-05 Joseph Myers <joseph@codesourcery.com>
48257 * manual/lang.texi (size_t): Note types to which size_t may be
48258 equivalent with the GNU C Library, but do not describe when
48259 differences between them are significant.
48261 2012-03-05 Andreas Jaeger <aj@suse.de>
48263 * sysdeps/i386/fpu/libm-test-ulps: Update.
48265 2012-03-05 Joseph Myers <joseph@codesourcery.com>
48268 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
48269 (__ieee754_pow): Save and restore rounding mode and use
48270 round-to-nearest for main computations.
48271 * math/libm-test.inc (pow_test_tonearest): New function.
48272 (pow_test_towardzero): Likewise.
48273 (pow_test_downward): Likewise.
48274 (pow_test_upward): Likewise.
48275 (main): Call the new functions.
48276 * sysdeps/i386/fpu/libm-test-ulps: Update.
48277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48280 * math/libm-test.inc (cosh_test_tonearest): New function.
48281 (cosh_test_towardzero): Likewise.
48282 (cosh_test_downward): Likewise.
48283 (cosh_test_upward): Likewise.
48284 (sinh_test_tonearest): Likewise.
48285 (sinh_test_towardzero): Likewise.
48286 (sinh_test_downward): Likewise.
48287 (sinh_test_upward): Likewise.
48288 (main): Call the new functions.
48289 * sysdeps/i386/fpu/libm-test-ulps: Update.
48290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48292 2012-03-05 Tom de Vries <tom@codesourcery.com>
48294 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
48295 default stack guard is set in last bytes.
48296 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
48298 2012-03-05 Kees Cook <keescook@chromium.org>
48300 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
48303 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
48304 possibly allocate from heap instead of stack.
48305 * stdio-common/bug-vfprintf-nargs.c: New file.
48306 * stdio-common/Makefile (tests): Add nargs overflow test.
48308 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
48310 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48312 2012-03-03 Marek Polacek <polacek@redhat.com>
48314 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
48315 * math/math_private.h: Likewise.
48316 * stdlib/tst-strtod.c: Likewise.
48317 * sysdeps/i386/i486/bits/atomic.h: Likewise.
48318 * sysdeps/x86_64/bits/atomic.h: Likewise.
48320 2012-03-02 David S. Miller <davem@davemloft.net>
48322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
48323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
48324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
48325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
48326 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
48327 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
48328 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
48329 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
48331 2012-03-02 Roland McGrath <roland@hack.frob.com>
48334 * manual/examples/README: New file, says the example source files
48335 can be used under GPL>=2.
48336 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
48337 line containing just "*/".
48338 * manual/examples/add.c: Add copyright header (GPL>=2).
48339 * manual/examples/argp-ex1.c: Likewise.
48340 * manual/examples/argp-ex2.c: Likewise.
48341 * manual/examples/argp-ex3.c: Likewise.
48342 * manual/examples/argp-ex4.c: Likewise.
48343 * manual/examples/atexit.c: Likewise.
48344 * manual/examples/db.c: Likewise.
48345 * manual/examples/dir.c: Likewise.
48346 * manual/examples/dir2.c: Likewise.
48347 * manual/examples/execinfo.c: Likewise.
48348 * manual/examples/filecli.c: Likewise.
48349 * manual/examples/filesrv.c: Likewise.
48350 * manual/examples/fmtmsgexpl.c: Likewise.
48351 * manual/examples/genpass.c: Likewise.
48352 * manual/examples/inetcli.c: Likewise.
48353 * manual/examples/inetsrv.c: Likewise.
48354 * manual/examples/isockad.c: Likewise.
48355 * manual/examples/longopt.c: Likewise.
48356 * manual/examples/memopen.c: Likewise.
48357 * manual/examples/memstrm.c: Likewise.
48358 * manual/examples/mkfsock.c: Likewise.
48359 * manual/examples/mkisock.c: Likewise.
48360 * manual/examples/mygetpass.c: Likewise.
48361 * manual/examples/pipe.c: Likewise.
48362 * manual/examples/popen.c: Likewise.
48363 * manual/examples/rprintf.c: Likewise.
48364 * manual/examples/search.c: Likewise.
48365 * manual/examples/select.c: Likewise.
48366 * manual/examples/setjmp.c: Likewise.
48367 * manual/examples/sigh1.c: Likewise.
48368 * manual/examples/sigusr.c: Likewise.
48369 * manual/examples/stpcpy.c: Likewise.
48370 * manual/examples/strdupa.c: Likewise.
48371 * manual/examples/strftim.c: Likewise.
48372 * manual/examples/strncat.c: Likewise.
48373 * manual/examples/subopt.c: Likewise.
48374 * manual/examples/swapcontext.c: Likewise.
48375 * manual/examples/termios.c: Likewise.
48376 * manual/examples/testopt.c: Likewise.
48377 * manual/examples/testpass.c: Likewise.
48378 * manual/examples/timeval_subtract.c: Likewise.
48381 * manual/time.texi (Elapsed Time): Move timeval_subtract example
48383 * manual/timeval_subtract.c.texi: ... here, new file.
48385 2012-03-02 David S. Miller <davem@davemloft.net>
48387 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
48389 2012-03-02 Joseph Myers <joseph@codesourcery.com>
48392 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
48393 (__sin): Save and restore rounding mode and use round-to-nearest
48394 for all computations.
48395 (__cos): Save and restore rounding mode and use round-to-nearest
48396 for all computations.
48397 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
48399 (tan): Save and restore rounding mode and use round-to-nearest for
48401 * math/libm-test.inc (cos_test_tonearest): New function.
48402 (cos_test_towardzero): Likewise.
48403 (cos_test_downward): Likewise.
48404 (cos_test_upward): Likewise.
48405 (sin_test_tonearest): Likewise.
48406 (sin_test_towardzero): Likewise.
48407 (sin_test_downward): Likewise.
48408 (sin_test_upward): Likewise.
48409 (tan_test_tonearest): Likewise.
48410 (tan_test_towardzero): Likewise.
48411 (tan_test_downward): Likewise.
48412 (tan_test_upward): Likewise.
48413 (main): Call the new functions.
48414 * sysdeps/i386/fpu/libm-test-ulps: Update.
48415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48418 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
48419 small n, then large n, before computing and testing k+n.
48420 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48421 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
48423 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
48425 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
48426 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
48427 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
48428 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
48429 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
48430 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
48431 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
48432 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
48433 * math/libm-test.inc (scalbn_test): Add more tests.
48434 (scalbln_test): Likewise.
48436 * manual/filesys.texi (mode_t): Describe constraints on size and
48437 signedness, not exact equivalence to a particular type.
48439 (ino64_t): Likewise.
48441 (nlink_t): Likewise.
48442 (blkcnt_t): Likewise.
48443 (blkcnt64_t): Likewise.
48444 * manual/llio.texi (off_t): Likewise.
48447 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
48448 (__ieee754_exp): Save and restore rounding mode and use
48449 round-to-nearest for all computations.
48450 * math/libm-test.inc (exp_test_tonearest): New function.
48451 (exp_test_towardzero): Likewise.
48452 (exp_test_downward): Likewise.
48453 (exp_test_upward): Likewise.
48454 (main): Call the new functions.
48455 * sysdeps/i386/fpu/libm-test-ulps: Update.
48456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48458 2012-03-01 Chris Demetriou <cgd@google.com>
48460 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
48461 have predictable order.
48463 2012-03-01 David S. Miller <davem@davemloft.net>
48465 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
48467 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
48468 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
48469 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
48470 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
48472 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
48473 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
48474 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
48475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
48476 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
48477 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
48478 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
48479 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
48480 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
48482 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48484 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
48485 * sysdeps/sparc/fpu/libm-test-ulps: to here.
48486 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
48488 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
48489 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48490 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48491 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
48492 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
48493 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
48494 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
48495 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48496 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48497 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
48498 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
48499 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48500 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48501 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48502 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48503 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48504 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
48505 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
48506 * sysdeps/sparc/elf/configure: Regenerated.
48508 2012-03-01 Joseph Myers <joseph@codesourcery.com>
48510 * configure.in (AS, LD): Require binutils 2.20 or later.
48511 * configure: Regenerated.
48512 * manual/install.texi (Tools for Compilation): Give binutils 2.20
48513 as required minimum version.
48514 * INSTALL: Regenerated.
48518 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
48519 before squaring exponent.
48520 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
48521 bottom long double and 27 bits of top long double before squaring
48523 * math/libm-test.inc (erfc_test): Add more tests.
48524 * sysdeps/i386/fpu/libm-test-ulps: Update.
48525 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48528 2012-03-01 Kai Tietz <ktietz@redhat.com>
48530 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
48531 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
48532 containing bit-fields.
48533 * soft-fp/extended.h (_FP_UNION_E): Likewise.
48534 * soft-fp/single.h (_FP_UNION_S): Likewise.
48535 * soft-fp/double.h (_FP_UNION_D): Likewise.
48537 2012-02-29 Joseph Myers <joseph@codesourcery.com>
48540 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
48541 not include ../strcmp.S.
48542 [USE_AS_STRNCASECMP_L]: Likewise.
48543 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
48544 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
48545 * sysdeps/i386/i686/multiarch/strncase_l-c.c
48546 (__strncasecmp_l_ia32): Define as alias to
48547 __strncasecmp_l_nonascii.
48550 * math/libm-test.inc (expm1_test): Add test for bug 5794.
48551 * sysdeps/i386/fpu/libm-test-ulps: Update.
48552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48554 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
48555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48557 2012-02-29 Jeff Law <law@redhat.com>
48559 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
48560 out of bounds read.
48562 2012-02-29 Marek Polacek <polacek@redhat.com>
48565 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
48566 * elf/Makefile: Add rules to run tst-unused-dep.out.
48568 2012-02-28 David S. Miller <davem@davemloft.net>
48570 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
48571 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
48572 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
48573 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
48574 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
48575 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
48577 2012-02-29 Joseph Myers <joseph@codesourcery.com>
48579 * math/libm-test.inc (llround_test): Move one test from
48580 lround_test. Use TEST_f_L in moved test.
48581 (lround_test): Move misplaced test to llround_test. Add testcase
48584 2012-02-28 Ulrich Drepper <drepper@gmail.com>
48586 * sysdeps/x86_64/fpu/e_expf.S: New file.
48587 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
48589 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
48592 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
48593 of remain_len that may cause incomplete multi-byte character and
48595 * posix/bug-regex33.c: New file.
48596 * posix/Makefile (tests): Add bug-regex33.
48598 2012-02-28 Joseph Myers <joseph@codesourcery.com>
48600 * manual/macros.texi: New file.
48601 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
48602 * manual/libc.texinfo: Include macros.texi.
48603 * manual/creatute.texi: Likewise.
48604 * manual/install.texi: Likewise.
48605 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
48606 @glibcadj{} in references to the GNU C Library.
48607 * manual/charset.texi: Likewise.
48608 * manual/conf.texi: Likewise.
48609 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
48610 when not using those macros.
48611 * manual/creature.texi: Likewise.
48612 * manual/crypt.texi: Likewise.
48613 * manual/errno.texi: Likewise.
48614 * manual/filesys.texi: Likewise.
48615 * manual/header.texi: Likewise.
48616 * manual/install.texi: Likewise.
48617 * manual/intro.texi: Likewise.
48618 * manual/io.texi: Likewise.
48619 * manual/job.texi: Likewise.
48620 * manual/lang.texi: Likewise.
48621 * manual/libc.texiinfo: Likewise.
48622 * manual/llio.texi: Likewise.
48623 * manual/locale.texi: Likewise.
48624 * manual/maint.texi: Likewise.
48625 * manual/math.texi: Likewise.
48626 * manual/memory.texi: Likewise.
48627 * manual/message.texi: Likewise.
48628 * manual/nss.texi: Likewise.
48629 * manual/pattern.texi: Likewise.
48630 * manual/process.texi: Likewise.
48631 * manual/resource.texi: Likewise.
48632 * manual/search.texi: Likewise.
48633 * manual/setjmp.texi: Likewise.
48634 * manual/signal.texi: Likewise.
48635 * manual/socket.texi: Likewise.
48636 * manual/startup.texi: Likewise.
48637 * manual/stdio.texi: Likewise.
48638 * manual/string.texi: Likewise.
48639 * manual/sysinfo.texi: Likewise.
48640 * manual/syslog.texi: Likewise.
48641 * manual/terminal.texi: Likewise.
48642 * manual/time.texi: Likewise.
48643 * manual/users.texi: Likewise.
48644 * INSTALL: Regenerated.
48645 * NOTES: Regenerated.
48646 * sysdeps/gnu/errlist.c: Regenerated.
48648 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
48650 * include/dirent.h: Include <dirstream.h> before
48653 2012-02-28 David S. Miller <davem@davemloft.net>
48655 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
48656 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
48657 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
48658 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
48660 2012-02-27 David S. Miller <davem@davemloft.net>
48662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
48663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
48664 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
48665 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
48667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
48668 frame pointer instead of stack pointer relative arg slot.
48669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48670 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48671 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48673 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
48676 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
48678 2012-02-27 David S. Miller <davem@davemloft.net>
48680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
48681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
48684 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48685 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48686 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
48687 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
48689 2012-02-27 Joseph Myers <joseph@codesourcery.com>
48691 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
48692 later. Allow versions 5-9.
48693 * configure: Regenerated.
48694 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
48695 required minimum version and 4.6 as recommended version. Do not
48696 mention bugs in GCC 2.7 and 2.8.
48697 * INSTALL: Regenerated.
48699 2012-02-27 David S. Miller <davem@davemloft.net>
48701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
48702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
48703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
48704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
48705 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
48706 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
48707 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
48708 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
48710 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
48711 manipulate bits before adding and subtracting TWO112[sx].
48712 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48714 2012-02-27 Roland McGrath <roland@hack.frob.com>
48717 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
48718 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
48719 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
48720 being in POSIX, because they are in 1003.1-2008.
48722 * rt/tst-aio.c: Include <fcntl.h>.
48723 * rt/tst-aio7.c: Likewise.
48724 * rt/tst-aio64.c: Likewise.
48726 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
48728 2012-02-27 Joseph Myers <joseph@codesourcery.com>
48730 * manual/install.texi (--with-headers): Describe headers as
48731 interface headers, not private headers.
48732 (Specific advice for GNU/Linux systems): Describe use of headers
48733 from "make headers_install", not private headers from older
48735 * INSTALL: Regenerated.
48736 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
48738 * sysdeps/unix/sysv/linux/configure: Regenerated.
48740 * manual/llio.texi (fclean): Remove documentation.
48742 * manual/Makefile (libc-texi-generated): New variable. Include
48744 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
48745 $(libc-texi-generated), not duplicated list of files.
48746 (version.texi, stamp-version): New rules.
48747 (realclean): Remove $(libc-texi-generated), not individual files
48748 from that list. Do not remove dir-add.texinfo.
48749 * manual/libc.texinfo: Comment out uses of edition numbers and
48750 references to printed manual. Remove last-updated dates.
48751 (EDITION): Comment out.
48753 (VERSION, UPDATED): Remove.
48754 (version.texi): Include.
48756 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
48758 * sysdeps/posix/spawni.c: Include <signal.h>.
48759 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
48760 * sysdeps/pthread/aio_fsync.c: Likewise.
48762 2012-02-26 Ulrich Drepper <drepper@gmail.com>
48764 * conform/Makefile (tests): Run only when not cross-compiling and
48765 when fast-check is not defined.
48767 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48768 * conform/data/limits.h-data: Fixes for POSIX2008.
48769 * conform/run-conformtest.sh: Run all tests.
48770 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48772 * include/bits/dlfcn.h: Likewise.
48773 * include/langinfo.h: Likewise.
48774 * include/monetary.h: Likewise.
48775 * include/sys/poll.h: Likewise.
48777 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48779 * posix/spawn.h: Define __need_sigset_t.
48780 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48781 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48782 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
48783 to get sigevent_t only.
48784 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48785 only for __USE_GNU.
48786 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48787 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48788 process_vm_writev only for __USE_GNU.
48789 * termios/termios.h: Declare tcgetsid also for POSIX2008.
48791 * conform/Makefile: For now ignore errors from run-conformtest.
48792 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
48793 POSIX to avoid namespace pollution. Don't prepend headers.
48794 * conform/data/aio.h-data: Fixes for POSIX testing.
48795 * conform/data/fcntl.h-data: Likewise.
48796 * conform/data/glob.h-data: Likewise.
48797 * conform/data/grp.h-data: Likewise.
48798 * conform/data/pthread.h-data: Likewise.
48799 * conform/data/pwd.h-data: Likewise.
48800 * conform/data/signal.h-data: Likewise.
48801 * conform/data/spawn.h-data: Likewise.
48802 * conform/data/stdio.h-data: Likewise.
48803 * conform/data/stdlib.h-data: Likewise.
48804 * conform/data/stropts.h-data: Likewise.
48805 * conform/data/sys/mman.h-data: Likewise.
48806 * conform/data/sys/stat.h-data: Likewise.
48807 * conform/data/sys/types.h-data: Likewise.
48808 * conform/data/sys/wait.h-data: Likewise.
48809 * conform/data/time.h-data: Likewise.
48810 * conform/data/unistd.h-data: Likewise.
48811 * conform/data/utime.h-data: Likewise.
48813 * io/sys/stat.h: fchmod was always in POSIX.
48814 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48815 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48816 * rt/aio.h: Define __need_timespec before including <time.h>.
48817 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48818 struct. Add forward declaration of pthread_attr_t and use it in
48820 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48821 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48822 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48823 always remove CLK_TCK definition.
48825 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
48827 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48829 2012-02-25 Ulrich Drepper <drepper@gmail.com>
48831 * conform/run-conformtest.sh: New file.
48832 * conform/Makefile: Run run-conformtest for tests.
48833 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
48836 * conform/data/uchar.h-data: New file.
48837 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48838 * conform/data/arpa/inet.h-data: Likewise.
48839 * conform/data/assert.h-data: Likewise.
48840 * conform/data/complex.h-data: Likewise.
48841 * conform/data/cpio.h-data: Likewise.
48842 * conform/data/ctype.h-data: Likewise.
48843 * conform/data/dirent.h-data: Likewise.
48844 * conform/data/dlfcn.h-data: Likewise.
48845 * conform/data/errno.h-data: Likewise.
48846 * conform/data/fcntl.h-data: Likewise.
48847 * conform/data/float.h-data: Likewise.
48848 * conform/data/fmtmsg.h-data: Likewise.
48849 * conform/data/fnmatch.h-data: Likewise.
48850 * conform/data/ftw.h-data: Likewise.
48851 * conform/data/glob.h-data: Likewise.
48852 * conform/data/grp.h-data: Likewise.
48853 * conform/data/iconv.h-data: Likewise.
48854 * conform/data/inttypes.h-data: Likewise.
48855 * conform/data/langinfo.h-data: Likewise.
48856 * conform/data/libgen.h-data: Likewise.
48857 * conform/data/limits.h-data: Likewise.
48858 * conform/data/locale.h-data: Likewise.
48859 * conform/data/math.h-data: Likewise.
48860 * conform/data/monetary.h-data: Likewise.
48861 * conform/data/mqueue.h-data: Likewise.
48862 * conform/data/ndbm.h-data: Likewise.
48863 * conform/data/net/if.h-data: Likewise.
48864 * conform/data/netdb.h-data: Likewise.
48865 * conform/data/netinet/in.h-data: Likewise.
48866 * conform/data/nl_types.h-data: Likewise.
48867 * conform/data/poll.h-data: Likewise.
48868 * conform/data/pthread.h-data: Likewise.
48869 * conform/data/pwd.h-data: Likewise.
48870 * conform/data/regex.h-data: Likewise.
48871 * conform/data/sched.h-data: Likewise.
48872 * conform/data/search.h-data: Likewise.
48873 * conform/data/semaphore.h-data: Likewise.
48874 * conform/data/setjmp.h-data: Likewise.
48875 * conform/data/signal.h-data: Likewise.
48876 * conform/data/spawn.h-data: Likewise.
48877 * conform/data/stdarg.h-data: Likewise.
48878 * conform/data/stdio.h-data: Likewise.
48879 * conform/data/stdlib.h-data: Likewise.
48880 * conform/data/string.h-data: Likewise.
48881 * conform/data/strings.h-data: Likewise.
48882 * conform/data/stropts.h-data: Likewise.
48883 * conform/data/sys/ipc.h-data: Likewise.
48884 * conform/data/sys/mman.h-data: Likewise.
48885 * conform/data/sys/msg.h-data: Likewise.
48886 * conform/data/sys/resource.h-data: Likewise.
48887 * conform/data/sys/select.h-data: Likewise.
48888 * conform/data/sys/sem.h-data: Likewise.
48889 * conform/data/sys/shm.h-data: Likewise.
48890 * conform/data/sys/socket.h-data: Likewise.
48891 * conform/data/sys/stat.h-data: Likewise.
48892 * conform/data/sys/statvfs.h-data: Likewise.
48893 * conform/data/sys/time.h-data: Likewise.
48894 * conform/data/sys/timeb.h-data: Likewise.
48895 * conform/data/sys/times.h-data: Likewise.
48896 * conform/data/sys/types.h-data: Likewise.
48897 * conform/data/sys/uio.h-data: Likewise.
48898 * conform/data/sys/un.h-data: Likewise.
48899 * conform/data/sys/utsname.h-data: Likewise.
48900 * conform/data/sys/wait.h-data: Likewise.
48901 * conform/data/syslog.h-data: Likewise.
48902 * conform/data/tar.h-data: Likewise.
48903 * conform/data/termios.h-data: Likewise.
48904 * conform/data/utime.h-data: Likewise.
48905 * conform/data/utmpx.h-data: Likewise.
48906 * conform/data/varargs.h-data: Likewise.
48907 * conform/data/wchar.h-data: Likewise.
48908 * conform/data/wctype.h-data: Likewise.
48909 * conform/data/wordexp.h-data: Likewise.
48911 * include/stropts.h: New file.
48912 * include/uchar.h: New file.
48913 * include/aio.h: Changes to allow conformtest.pl to use the headers.
48914 * include/assert.h: Likewise.
48915 * include/ctype.h: Likewise.
48916 * include/dirent.h: Likewise.
48917 * include/dlfcn.h: Likewise.
48918 * include/fcntl.h: Likewise.
48919 * include/fnmatch.h: Likewise.
48920 * include/glob.h: Likewise.
48921 * include/grp.h: Likewise.
48922 * include/libio.h: Likewise.
48923 * include/locale.h: Likewise.
48924 * include/math.h: Likewise.
48925 * include/net/if.h: Likewise.
48926 * include/netdb.h: Likewise.
48927 * include/netinet/in.h: Likewise.
48928 * include/pthread.h: Likewise.
48929 * include/pwd.h: Likewise.
48930 * include/regex.h: Likewise.
48931 * include/sched.h: Likewise.
48932 * include/search.h: Likewise.
48933 * include/setjmp.h: Likewise.
48934 * include/signal.h: Likewise.
48935 * include/stdio.h: Likewise.
48936 * include/stdlib.h: Likewise.
48937 * include/string.h: Likewise.
48938 * include/sys/cdefs.h: Likewise.
48939 * include/sys/mman.h: Likewise.
48940 * include/sys/msg.h: Likewise.
48941 * include/sys/resource.h: Likewise.
48942 * include/sys/select.h: Likewise.
48943 * include/sys/socket.h: Likewise.
48944 * include/sys/stat.h: Likewise.
48945 * include/sys/statvfs.h: Likewise.
48946 * include/sys/time.h: Likewise.
48947 * include/sys/times.h: Likewise.
48948 * include/sys/uio.h: Likewise.
48949 * include/sys/utsname.h: Likewise.
48950 * include/sys/wait.h: Likewise.
48951 * include/termios.h: Likewise.
48952 * include/time.h: Likewise.
48953 * include/ulimit.h: Likewise.
48954 * include/unistd.h: Likewise.
48955 * include/utime.h: Likewise.
48956 * include/wchar.h: Likewise.
48957 * include/wctype.h: Likewise.
48958 * include/wordexp.h: Likewise.
48960 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48962 * time/time.h: TIME_UTC must be a macro.
48963 Make timespec_get available for ISO C11 only as well.
48965 2012-02-24 Ulrich Drepper <drepper@gmail.com>
48967 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48968 Reported by Peng Haitao <penght@cn.fujitsu.com>.
48970 2012-02-24 Joseph Myers <joseph@codesourcery.com>
48972 * configure.in: Use -o not -a in test for unsupported multi-arch.
48974 2012-02-24 Joseph Myers <joseph@codesourcery.com>
48976 * manual/texinfo.tex: Update to version 2012-01-19.16.
48978 2012-02-24 Joseph Myers <joseph@codesourcery.com>
48980 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48982 2012-02-24 Roland McGrath <roland@hack.frob.com>
48985 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48986 * manual/fdl-1.3.texi: New file.
48987 * manual/fdl-1.1.texi: File removed.
48990 * manual/libc.texinfo (FDL_VERSION): New @set.
48991 Use it for mention of FDL in cover text.
48992 (Documentation License): Use it in @include file name.
48994 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48995 Roland McGrath <roland@hack.frob.com>
48998 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48999 (not LONG_LONG_MAX and LONG_LONG_MIN.
49000 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49001 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
49003 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49005 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49009 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49010 manipulate bits before adding and subtracting TWO23[sx].
49011 * math/libm-test.inc (nearbyint_test): Add more tests.
49013 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49016 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
49017 bits before adding and subtracting TWO23[sx].
49018 * math/libm-test.inc (rint_test): Add more tests.
49019 (rint_test_tonearest): Likewise.
49020 (rint_test_towardzero): Likewise.
49021 (rint_test_downward): Likewise.
49022 (rint_test_upward: Likewise.
49024 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49027 * include/stdc-predef.h: New file. Extracted from features.h.
49028 * include/features.h: Include stdc-predef.h.
49029 * Makefile (headers): Add stdc-predef.h.
49030 * CONFORMANCE (Compiler limitations): Update.
49032 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49034 * manual/libc.texinfo (VERSION, UPDATED): Revert.
49036 2012-02-21 David S. Miller <davem@davemloft.net>
49038 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
49039 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49041 2012-02-20 David S. Miller <davem@davemloft.net>
49043 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
49044 using a normal save/restore sequence, rather than allocating a
49045 dummy stack frame just to store a frame pointer and restore.
49046 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49048 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49050 * manual/install.texi: Fix stray word in line-wrapped comment.
49052 2012-02-20 David S. Miller <davem@davemloft.net>
49054 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49055 both binutils and gcc support GOTDATA.
49057 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49058 "rd %pc" in the PIC register setup sequences.
49060 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49061 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49062 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49063 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49064 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49065 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49066 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49067 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49068 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49069 (SYSCALL_ERROR_HANDLER): Likewise.
49070 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49071 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49072 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
49073 (SYSCALL_ERROR_HANDLER): Likewise.
49075 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
49076 (HAVE_GCC_GOTDATA): New.
49077 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
49078 relocation support in both binutils and gcc.
49079 * sysdeps/sparc/elf/configure: Regenerate.
49081 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49082 * sysdeps/sparc/sparc32/elf/configure: Delete.
49083 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49084 * sysdeps/sparc/sparc64/elf/configure: Delete.
49085 * sysdeps/sparc/elf/configure.in: New file.
49086 * sysdeps/sparc/elf/configure: Generate.
49088 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49089 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49090 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49091 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49092 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49094 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49096 * manual/install.texi: Do not mention specific glibc version
49098 * manual/libc.texinfo (VERSION, UPDATED): Update.
49099 (@copying): Use @copyright{} and range of years.
49101 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49104 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49105 [crti.S not in sysdirs] (generated): Do not append.
49106 [crti.S not in sysdirs] (omit-deps): Likewise.
49107 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49108 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49109 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49110 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49111 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49113 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49114 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49115 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49116 * csu/defs.awk: Remove file.
49117 * sysdeps/generic/initfini.c: Likewise.
49118 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49120 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49123 2012-02-20 Joseph Myers <joseph@codesourcery.com>
49125 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49126 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49127 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49128 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49129 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49130 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49132 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49133 (__EPOLL_PACKED): Define to empty if not defined by
49135 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49136 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49139 2012-02-20 Joseph Myers <joseph@codesourcery.com>
49141 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49142 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49143 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49144 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49146 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49147 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49150 2012-02-20 Joseph Myers <joseph@codesourcery.com>
49152 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49154 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49155 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49156 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49159 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
49161 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49162 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49164 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
49166 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49167 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49169 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49171 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49174 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
49176 * math/w_acos.c: Use non-signaling floating-point comparisons.
49177 * math/w_acosf.c: Likewise.
49178 * math/w_acosh.c: Likewise.
49179 * math/w_acoshf.c: Likewise.
49180 * math/w_acoshl.c: Likewise.
49181 * math/w_acosl.c: Likewise.
49182 * math/w_asin.c: Likewise.
49183 * math/w_asinf.c: Likewise.
49184 * math/w_asinl.c: Likewise.
49185 * math/w_atanh.c: Likewise.
49186 * math/w_atanhf.c: Likewise.
49187 * math/w_atanhl.c: Likewise.
49188 * math/w_exp2.c: Likewise.
49189 * math/w_exp2f.c: Likewise.
49190 * math/w_exp2l.c: Likewise.
49191 * math/w_j0.c: Likewise.
49192 * math/w_j0f.c: Likewise.
49193 * math/w_j0l.c: Likewise.
49194 * math/w_j1.c: Likewise.
49195 * math/w_j1f.c: Likewise.
49196 * math/w_j1l.c: Likewise.
49197 * math/w_jn.c: Likewise.
49198 * math/w_jnf.c: Likewise.
49199 * math/w_log.c: Likewise.
49200 * math/w_log10.c: Likewise.
49201 * math/w_log10f.c: Likewise.
49202 * math/w_log10l.c: Likewise.
49203 * math/w_log2.c: Likewise.
49204 * math/w_log2f.c: Likewise.
49205 * math/w_log2l.c: Likewise.
49206 * math/w_logf.c: Likewise.
49207 * math/w_logl.c: Likewise.
49208 * math/w_sqrt.c: Likewise.
49209 * math/w_sqrtf.c: Likewise.
49210 * math/w_sqrtl.c: Likewise.
49211 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49212 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49213 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49214 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49215 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49217 2012-02-19 Joseph Myers <joseph@codesourcery.com>
49220 * manual/string.texi (strnlen): Use correct parameter name in
49221 equivalent expression.
49223 2012-02-19 Joseph Myers <joseph@codesourcery.com>
49226 * manual/users.texi (seteuid): Consistently use neweuid for
49229 2012-02-19 Joseph Myers <joseph@codesourcery.com>
49232 * manual/nss.texi (Services in the NSS configuration): Correct
49233 list of services in example configuration file.
49235 2012-02-19 Nick Bowler <nbowler@draconx.ca>
49238 * manual/arith.texi: Remove statements about negative zero
49239 behaving identically to zero.
49241 2012-02-18 Joseph Myers <joseph@codesourcery.com>
49244 * manual/install.texi: Do not document upgrading from libc5.
49246 2012-02-18 Joseph Myers <joseph@codesourcery.com>
49249 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49251 2012-02-18 David S. Miller <davem@davemloft.net>
49253 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49254 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49255 %o7 across the call.
49256 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
49258 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
49259 SETUP_PIC_REG_LEAF.
49260 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49261 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
49262 * sysdeps/sparc/crtn.S: Likewise.
49264 2012-02-17 Ulrich Drepper <drepper@gmail.com>
49266 * aout/Makefile: Remove.
49268 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
49271 * manual/examples/argp-ex1.c (main): Format definition in GNU
49273 * manual/examples/argp-ex2.c (main): Likewise.
49274 * manual/examples/argp-ex3.c (main): Likewise.
49275 * manual/examples/argp-ex4.c (main): Likewise.
49276 * manual/examples/longopt.c (main): Use new-style prototype
49278 * manual/examples/strncat.c (main): Specify return type and use
49279 (void) for arguments.
49280 * manual/examples/subopt.c (main): Use char **argv argument.
49282 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49285 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
49288 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
49291 * manual/string.texi (strchr): Change when strchrnul is
49294 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
49297 * manual/locale.texi (setlocale): Document LOCPATH.
49299 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49302 * manual/process.texi (execle): Move @dots{} before last argument.
49304 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
49307 * manual/charset.texi (Generic Charset Conversion): Fix typo
49308 (LC_TYPE -> LC_CTYPE).
49310 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
49313 * manual/arith.texi (scalbn): Use @var{} on parameter names.
49314 (scalbnf): Likewise.
49315 (scalbnl): Likewise.
49316 (scalbln): Likewise.
49317 (scalblnf): Likewise.
49318 (scalblnl): Likewise.
49319 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
49320 (vwarnx): Likewise.
49323 * manual/filesys.texi (telldir): Use braces around return type.
49324 * manual/llio.texi (mmap): Add space after comma.
49325 (mmap64): Likewise.
49326 * manual/math.texi (jn): Use @var{} on parameter names.
49332 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
49334 * manual/resource.texi (ulimit): Use @dots{} instead of literal
49336 (sched_get_priority_min): Remove semicolon on @deftypefun line.
49337 (sched_get_priority_max): Likewise.
49338 * manual/signal.texi (sigvec): Add space after comma.
49339 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
49341 (if_indextoname): Likewise.
49342 (if_freenameindex): Likewise.
49343 (sendto): Use ',' instead of '.' in prototype.
49344 * manual/startup.texi (syscall): Use @dots{} instead of literal
49346 * manual/stdio.texi (__fpending): Separate initial words of
49347 paragraph from @deftypefun line.
49348 * manual/syslog.texi (syslog): Use @dots{} instead of literal
49350 (vsyslog): Use @var{} on parameter names.
49351 * manual/terminal.texi (stty): Use @var{} on parameter names.
49352 * manual/users.texi (getutmp): Use @var{} on parameter names.
49353 (getutmpx): Likewise.
49355 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49358 * manual/stdio.texi (fopen): Fix typos in description of
49361 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
49364 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
49365 get clock_id definition.
49367 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
49370 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
49371 (madvise): Cast every argument to void on its own.
49373 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49376 * manual/startup.texi (Exit Status): Fix typo.
49378 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49381 * manual/examples/argp-ex1.c: Include <stdlib.h>.
49382 * manual/examples/argp-ex2.c: Likewise.
49383 * manual/examples/argp-ex3.c: Likewise.
49385 2012-02-16 Richard Henderson <rth@redhat.com>
49387 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
49388 * sysdeps/s390/s390-32/initfini.c: Remove.
49389 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
49390 * sysdeps/s390/s390-64/initfini.c: Remove.
49392 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49394 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
49395 compiler output for sysdeps/generic/initfini.c.
49396 * sysdeps/sh/elf/initfini.c: Remove file.
49398 2012-02-16 David S. Miller <davem@davemloft.net>
49401 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
49403 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
49404 * sysdeps/sparc/crti.S: New file.
49405 * sysdeps/sparc/crtn.S: New file.
49406 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
49407 * sysdeps/sparc/sparc64/Makefile: Likewise.
49409 2012-02-15 Mike Frysinger <vapier@gentoo.org>
49412 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
49414 2012-02-15 Roland McGrath <roland@hack.frob.com>
49417 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
49419 * mach/devstream.c (cookie_io_functions_t): Macro removed.
49420 (write, read, close): Likewise.
49421 Patch by Aurelien Jarno <aurelien@aurel32.net>.
49423 2012-02-15 Joseph Myers <joseph@codesourcery.com>
49425 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
49426 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
49427 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
49428 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
49430 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
49431 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49434 2012-02-14 Marek Polacek <polacek@redhat.com>
49436 * sysdeps/x86_64/crti.S: New file.
49437 * sysdeps/x86_64/crtn.S: New file.
49438 * sysdeps/x86_64/elf/initfini.c: Remove file.
49440 2012-02-13 Joseph Myers <joseph@codesourcery.com>
49442 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
49443 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
49444 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
49445 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
49447 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
49448 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49451 2012-02-13 Joseph Myers <joseph@codesourcery.com>
49453 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
49454 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
49455 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
49456 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
49458 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
49459 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49462 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
49464 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
49465 __feraiseexcept instead of feraiseexcept.
49467 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
49468 nanosleep invocations.
49469 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
49470 strings, and add error checking for a nanosleep invocations.
49472 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
49474 Replace FSF snail mail address with URLs, as per GNU coding standards.
49475 Most of the snail mail addresses were wrong anyway, and omitting
49476 them makes the source code easier to maintain. Almost all of the
49477 changes are to license notices and to locale LC_IDENTIFICATION
49478 addresses, except for this one:
49479 * manual/libc.texinfo: In "Published by", give the FSF's URL,
49480 not its snail mail address.
49482 2012-02-09 Richard Henderson <rth@twiddle.net>
49484 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
49485 of kernel-features.h.
49487 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
49489 2012-02-08 Marek Polacek <polacek@redhat.com>
49491 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
49492 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
49493 * sysdeps/gnu/_G_config.h: Likewise.
49494 * sysdeps/generic/_G_config.h: Likewise.
49496 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
49498 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
49500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49502 * sysdeps/powerpc/powerpc32/crti.S: New file.
49503 * sysdeps/powerpc/powerpc32/crtn.S: New file.
49504 * sysdeps/powerpc/powerpc64/crti.S: New file.
49505 * sysdeps/powerpc/powerpc64/crtn.S: New file.
49507 * Makeconfig (have-initfini): Don't set.
49508 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
49509 * configure.in (nopic_initfini): Don't substitute.
49510 * config.h.in (HAVE_INITFINI): Don't #undef.
49511 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
49512 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
49514 2012-02-08 Joseph Myers <joseph@codesourcery.com>
49516 Support crti.S and crtn.S provided directly by architectures.
49517 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
49518 [crti.S in sysdirs] (omit-deps): Likewise.
49519 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
49520 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
49521 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
49522 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
49523 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
49524 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
49525 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
49526 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
49527 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
49528 compiler output for sysdeps/generic/initfini.c.
49529 * sysdeps/i386/elf/Makefile: Remove file.
49530 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
49532 2012-02-07 Marek Polacek <polacek@redhat.com>
49534 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
49535 * sysdeps/gnu/_G_config.h: Likewise.
49536 * sysdeps/mach/hurd/_G_config.h: Likewise.
49538 2012-02-07 Marek Polacek <polacek@redhat.com>
49540 * math/Makefile (tests): Add tst-CMPLX2.
49541 * math/tst-CMPLX2.c: New file.
49543 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
49545 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49547 * math/libm-test.inc (jn_test): Add missing L suffix.
49549 2012-02-06 Marek Polacek <polacek@redhat.com>
49551 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
49552 * sysdeps/i386/fpu/e_powf.S: Likewise.
49553 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49554 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49555 * sysdeps/i386/fpu/e_acosh.S: Likewise.
49556 * sysdeps/i386/fpu/e_pow.S: Likewise.
49557 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
49558 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49559 * sysdeps/i386/fpu/s_expm1.S: Likewise.
49560 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
49561 * sysdeps/i386/fpu/e_log2.S: Likewise.
49562 * sysdeps/i386/fpu/e_log2l.S: Likewise.
49563 * sysdeps/i386/fpu/e_scalb.S: Likewise.
49564 * sysdeps/i386/fpu/e_powl.S: Likewise.
49565 * sysdeps/i386/fpu/s_log1p.S: Likewise.
49566 * sysdeps/i386/fpu/e_log10f.S: Likewise.
49567 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
49568 * sysdeps/i386/fpu/e_logl.S: Likewise.
49569 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
49570 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
49571 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
49572 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
49573 * sysdeps/i386/fpu/e_log2f.S: Likewise.
49574 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49575 * sysdeps/i386/fpu/e_log.S: Likewise.
49576 * sysdeps/i386/fpu/s_cexp.S: Likewise.
49577 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49578 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
49579 * sysdeps/i386/fpu/e_logf.S: Likewise.
49580 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49581 * sysdeps/i386/fpu/e_atanh.S: Likewise.
49582 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
49583 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
49584 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49585 * sysdeps/i386/fpu/e_log10.S: Likewise.
49586 * sysdeps/i386/fpu/s_frexp.S: Likewise.
49587 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49588 * sysdeps/i386/fpu/s_asinh.S: Likewise.
49589 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
49590 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49591 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
49592 * sysdeps/i386/asm-syntax.h: Likewise.
49593 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49594 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49595 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49596 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
49597 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
49598 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49599 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
49600 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
49601 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49602 * sysdeps/powerpc/sysdep.h: Likewise.
49603 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
49604 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49606 2012-02-06 Joseph Myers <joseph@codesourcery.com>
49609 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
49611 2012-02-06 Joseph Myers <joseph@codesourcery.com>
49613 * sysdeps/i386/sysdep.h: Include <features.h>.
49614 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
49617 2012-02-05 Joseph Myers <joseph@codesourcery.com>
49619 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
49621 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
49624 2012-02-03 Joseph Myers <joseph@codesourcery.com>
49626 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
49627 (SETUP_PIC_REG): Use GET_PC_THUNK.
49628 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
49631 2012-02-03 Joseph Myers <joseph@codesourcery.com>
49633 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
49634 for non-PIC compilation.
49635 (SETUP_PIC_REG): Add .p2align directive.
49636 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
49637 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
49638 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
49639 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
49640 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49641 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
49642 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
49643 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49644 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
49645 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
49646 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
49647 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
49648 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
49649 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
49650 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
49651 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49652 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49653 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
49654 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
49655 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
49656 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49657 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49658 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
49659 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
49660 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49661 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49662 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49663 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49664 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49665 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49666 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49667 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49668 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49669 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49670 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49671 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49672 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49673 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49674 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49675 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49676 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49678 2012-02-03 Joseph Myers <joseph@codesourcery.com>
49680 * math/tst-CMPLX.c: Include <stdio.h>.
49682 2012-01-31 Joseph Myers <joseph@codesourcery.com>
49684 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
49686 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49687 * sysdeps/sparc/bits/mathdef.h: Likewise.
49689 2012-01-31 Marek Polacek <polacek@redhat.com>
49691 * libio/libio.h: Don't define _PARAMS.
49692 * locale/programs/config.h: Don't define PARAMS.
49693 * stdlib/strtol_l.c: Likewise.
49694 (__strtol_l): Remove PARAMS from the prototype.
49696 2012-01-31 Ulrich Drepper <drepper@gmail.com>
49698 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
49699 names. Just use the correct names. Remove unnecessary wrapper
49701 * malloc/arena.c: Likewise.
49702 * malloc/hooks.c: Likewise.
49704 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
49705 ARENA_TEST says not to. Simplify test for creation of a new arena.
49706 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
49708 2012-01-30 Ulrich Drepper <drepper@gmail.com>
49710 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
49712 (update_get_addr): New function.
49713 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
49714 GET_ADDR_MODULE parameter.
49716 2012-01-30 Joseph Myers <joseph@codesourcery.com>
49718 * crypt/cert.c: Remove __STDC__ conditionals.
49719 * crypt/crypt-entry.c: Likewise.
49720 * crypt/crypt_util.c: Likewise.
49721 * libio/filedoalloc.c: Likewise.
49722 * libio/fileops.c: Likewise.
49723 * libio/genops.c: Likewise.
49724 * libio/iofclose.c: Likewise.
49725 * libio/iofdopen.c: Likewise.
49726 * libio/iofopen.c: Likewise.
49727 * libio/iofopen64.c: Likewise.
49728 * libio/iogetdelim.c: Likewise.
49729 * libio/iopopen.c: Likewise.
49730 * libio/obprintf.c: Likewise.
49731 * libio/oldfileops.c: Likewise.
49732 * libio/oldiofclose.c: Likewise.
49733 * libio/oldiofdopen.c: Likewise.
49734 * libio/oldiofopen.c: Likewise.
49735 * libio/oldiopopen.c: Likewise.
49736 * libio/wfiledoalloc.c: Likewise.
49737 * libio/wgenops.c: Likewise.
49738 * locale/programs/xmalloc.c: Likewise.
49739 * misc/syslog.c: Likewise.
49740 * stdio-common/xbug.c: Likewise.
49741 * string/memchr.c: Likewise.
49742 * string/memcmp.c: Likewise.
49743 * string/memrchr.c: Likewise.
49744 * string/rawmemchr.c: Likewise.
49745 * sysdeps/posix/getcwd.c: Likewise.
49746 * time/strftime_l.c: Likewise.
49748 2012-01-30 Joseph Myers <joseph@codesourcery.com>
49750 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
49751 * config.make.in (config-cflags-sse2avx): Define.
49752 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
49755 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
49757 * scripts/config.guess: Update from upstream config git repository.
49758 * scripts/config.sub: Likewise.
49760 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
49762 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
49764 (R_TILEPRO_*, R_TILEGX_*): New macros.
49766 * scripts/firstversions.awk: Fix bug in version range handling.
49768 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49770 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49772 * include/sys/epoll.h: New file.
49773 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49776 2012-01-28 Ulrich Drepper <drepper@gmail.com>
49778 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49779 Avoid unnecessary __WORDSIZE == 64 test.
49780 (fmaxf): Use VEX format if possible.
49785 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49786 * math/math_private.h: Remove libc_fegetround* and
49788 * sysdeps/i386/configure.in: Check for -msse2avx.
49789 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49790 also if SSE2AVX is defined.
49791 Remove libc_fegetround* and libc_fesetround*.
49792 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49793 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
49794 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49796 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49797 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49798 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49799 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49800 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49802 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49804 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49806 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49808 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49810 2012-01-27 Ulrich Drepper <drepper@gmail.com>
49813 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49815 * Makeconfig (libm): Define.
49816 * elf/Makefile: Add rules to build and run tst-relsort1.
49817 * elf/tst-relsort1.c: New file.
49818 * elf/tst-relsort1mod1.c: New file.
49819 * elf/tst-relsort1mod2.c: New file.
49821 2012-01-27 Joseph Myers <joseph@codesourcery.com>
49823 * math/s_ldexp.c: Remove __STDC__ conditionals.
49824 * math/s_ldexpf.c: Likewise.
49825 * math/s_ldexpl.c: Likewise.
49826 * math/s_nextafter.c: Likewise.
49827 * math/s_nexttowardf.c: Likewise.
49828 * math/s_significand.c: Likewise.
49829 * math/s_significandf.c: Likewise.
49830 * math/s_significandl.c: Likewise.
49831 * math/w_jnl.c: Likewise.
49832 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49833 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49834 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49835 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49836 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49837 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49838 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49839 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49840 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49841 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49842 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49843 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49844 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49845 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49846 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49847 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49848 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49849 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49850 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49851 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49852 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49853 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49854 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49855 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49856 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49857 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49858 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49859 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49860 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49861 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49862 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49863 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49864 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49865 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49866 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49867 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49868 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49869 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49870 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49871 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49872 * sysdeps/ieee754/k_standard.c: Likewise.
49873 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49874 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49875 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49876 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49877 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49878 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49879 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49880 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49881 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49882 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49883 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49884 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49885 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49886 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49887 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49888 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49889 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49890 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49891 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49892 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49893 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49894 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49895 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49896 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49897 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49898 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49899 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49900 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49901 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49902 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49903 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49904 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
49905 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49906 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49907 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49908 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49909 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
49910 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49911 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49912 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
49913 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
49914 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49915 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
49916 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
49917 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49918 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49919 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49920 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49921 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49922 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
49923 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
49924 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49925 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49926 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49927 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49928 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49929 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
49930 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49931 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49932 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49933 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49934 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49935 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49936 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49937 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49938 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49939 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49940 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49941 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49942 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49943 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49944 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49945 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49946 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49947 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49948 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49949 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49950 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49951 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49952 * sysdeps/ieee754/s_matherr.c: Likewise.
49953 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49954 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49955 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49956 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49958 2012-01-26 Joseph Myers <joseph@codesourcery.com>
49960 * crypt/md5.h: Remove __STDC__ conditionals.
49961 * libio/libioP.h: Likewise.
49962 * locale/programs/config.h: Likewise.
49963 * sysdeps/generic/sysdep.h: Likewise.
49964 * sysdeps/i386/asm-syntax.h: Likewise.
49965 * sysdeps/s390/asm-syntax.h: Likewise.
49966 * sysdeps/unix/sysdep.h: Likewise.
49967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49970 2012-01-26 Joseph Myers <joseph@codesourcery.com>
49972 * libio/libio.h: Remove __STDC__ conditionals.
49973 * malloc/obstack.h: Likewise.
49974 * math/complex.h: Likewise.
49975 * math/math.h: Likewise.
49976 * sysdeps/generic/_G_config.h: Likewise.
49977 * sysdeps/gnu/_G_config.h: Likewise.
49978 * sysdeps/mach/hurd/_G_config.h: Likewise.
49979 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49980 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49981 * sysdeps/sparc/bits/mathdef.h: Likewise.
49983 2012-01-26 Ulrich Drepper <drepper@gmail.com>
49986 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
49987 Clean up HAS_* macros.
49988 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
49989 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49991 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49993 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49994 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49995 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49996 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49997 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49999 2012-01-25 Joseph Myers <joseph@codesourcery.com>
50001 * elf/tst-unique3.cc (gets): Remove declaration.
50002 * elf/tst-unique3lib.cc (gets): Likewise.
50003 * elf/tst-unique3lib2.cc (gets): Likewise.
50004 * elf/tst-unique4.cc (gets): Likewise.
50006 2012-01-24 Ulrich Drepper <drepper@gmail.com>
50008 * include/stdio.h: Add C++ protection. Add gets declarations and
50010 * debug/tst-chk1.c: Don't declare gets here.
50011 * stdio-common/tst-gets.c: Likewise.
50013 2012-01-24 Joseph Myers <joseph@codesourcery.com>
50015 * posix/glob: Remove directory.
50017 2012-01-24 Joseph Myers <joseph@codesourcery.com>
50019 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
50021 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
50023 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
50024 of the non-standard EPFNOSUPPORT.
50026 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
50028 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
50029 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
50030 ANYWHERE set to 1 only on KERN_NO_SPACE error.
50032 2012-01-21 Ulrich Drepper <drepper@gmail.com>
50034 * wcsmbs/uchar.h: Test __STDC_VERSION__.
50036 2012-01-20 Ulrich Drepper <drepper@gmail.com>
50038 * nscd/aicache.c (addhstaiX): Do not cache negative results of
50040 * nscd/grpcache.c (cache_addgr): Likewise.
50041 * nscd/hstcache.c (cache_addhst): Likewise.
50042 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50043 * nscd/pwdcache.c (cache_addpw): Likewise.
50044 * nscd/servicescache.c (cache_addserv): Likewise.
50046 2012-01-16 Ulrich Drepper <drepper@gmail.com>
50048 * malloc/malloc.c: Various cleanups.
50049 * malloc/hooks.c: Likewise.
50051 * stdlib/Makefile (tests): Add bug-fmtmsg1.
50052 * stdlib/bug-fmtmsg1.c: New file.
50054 * stdlib/fmtmsg.c (init): Add missing unlock.
50055 Patch by Peng Haitao <penght@cn.fujitsu.com>.
50057 2012-01-12 Marek Polacek <polacek@redhat.com>
50059 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50062 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50064 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50065 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50066 macro to ensure uniqueness of label name.
50067 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50068 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50070 2012-01-11 Ulrich Drepper <drepper@gmail.com>
50072 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
50074 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
50075 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50076 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50077 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
50079 2012-01-10 Ulrich Drepper <drepper@gmail.com>
50081 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50083 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50084 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50085 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50087 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50089 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
50090 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50091 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50092 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
50094 * math/bits/math-finite.h: Add ldexp support.
50096 2012-01-10 Marek Polacek <polacek@redhat.com>
50098 * locale/programs/localedef.h (show_archive_content): Add noreturn
50101 2012-01-09 Ulrich Drepper <drepper@gmail.com>
50103 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50105 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50107 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50109 * io/Makefile (headers): Add bits/poll2.h.
50111 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
50113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50114 typo #include statement.
50116 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50118 * include/sys/cdefs.h: Define __attribute_alloc_size.
50119 * catgets/gencat.c: Add alloc_size attribute and apply consistently
50120 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50121 * elf/pldd.c: Likewise.
50122 * iconv/iconv_charmap.c: Likewise.
50123 * iconv/iconvconfig.c: Likewise.
50124 * iconv/strtab.c: Likewise.
50125 * locale/programs/locale.c: Likewise.
50126 * locale/programs/localedef.h: Likewise.
50127 * locale/programs/simple-hash.c: Likewise.
50128 * nscd/nscd.h: Likewise.
50129 * nss/makedb.c: Likewise.
50130 * sysdeps/generic/ldconfig.h: Likewise.
50131 * locale/programs/localedef.c: Remove xmalloc prototype.
50132 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50134 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50136 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50139 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50141 * math/Makefile (tests): Add tst-CMPLX.
50142 * math/tst-CMPLX.c: New file.
50144 * math/complex.h (CMPLXL): Fix typo.
50146 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50147 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50149 * debug/tst-chk1.c: Add poll and ppoll tests.
50150 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50151 * include/sys/poll.h: Add hidden proto for ppoll.
50152 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50153 * sysdeps/mach/hurd/ppoll.c: Likewise.
50154 * io/ppoll.c: Likewise.
50155 * debug/poll_chk.c: New file.
50156 * debug/ppoll_chk.c: New file.
50157 * include/bits/poll2.h: New file.
50158 * io/bits/poll2.h: New file.
50161 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
50163 * configure.in: static is always set to yes. Remove.
50164 * config.make.in: Don't set build-static.
50165 * Makeconfig: Remove use of build-static.
50166 * dlfcn/Makefile: Likewise.
50167 * elf/Makefile: Likewise.
50168 * math/Makefile: Likewise.
50169 * misc/Makefile: Likewise.
50170 * nptl/Makefile: Likewise.
50171 * sysdeps/mach/hurd/Makefile: Likewise.
50173 * configure.in: PWD_P is not used anymore.
50174 * config.make.in: Remove PWD_P entry.
50176 * configure.in: Remove last remnants of RANLIB.
50177 No need to check for signed size_t anymore.
50178 Don't set libc_commonpagesize and libc_relro_required here for Alpha
50180 Remove __builtin_expect test because we require at least gcc 3.4.
50181 * aclocal.m4: Likewise.
50183 * wcsmbs/mbrtoc16.c: Implement using towc function.
50184 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50185 * wcsmbs/wcsmbsload.c: Likewise.
50186 * iconv/gconv_simple.c: Likewise.
50187 * iconv/gconv_int.h: Likewise.
50188 * iconv/gconv_builtin.h: Likewise.
50189 * iconv/iconv_prog.c: Remove CHAR16 handling.
50191 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50193 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50195 * configure.in: Remove --with-elf and --enable-bounded options.
50196 Dont set base_machine for ia64. More non-ELF conditions removed.
50197 Remove testing and setting of leading underscore information.
50198 * config.make.in (build-bounded): Set to no.
50199 * config.h.in: Remove NO_UNDERSCORES entry.
50200 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
50202 * csu/start.c: Remove !NO_UNDERSCORE code.
50203 * locale/localeinfo.h: Likewise.
50204 * sysdeps/generic/machine-gmon.h: Likewise.
50205 * sysdeps/generic/sysdep.h: Likewise.
50206 * sysdeps/i386/sysdep.h: Likewise.
50207 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50208 * sysdeps/mach/sysdep.h: Likewise.
50209 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50210 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50211 * sysdeps/sh/sysdep.h: Likewise.
50212 * sysdeps/sparc/sparc32/alloca.S: Likewise.
50213 * sysdeps/unix/i386/sysdep.S: Likewise.
50214 * sysdeps/unix/sparc/start.c: Likewise.
50215 * sysdeps/unix/sparc/sysdep.S: Likewise.
50216 * sysdeps/unix/sparc/sysdep.h: Likewise.
50217 * sysdeps/unix/start.c: Likewise.
50218 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50219 * sysdeps/x86_64/sysdep.h: Likewise.
50221 2012-01-07 Ulrich Drepper <drepper@gmail.com>
50224 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50226 * argp/argp-fmtstream.h: Use const instead __const.
50227 * argp/argp.h: Likewise.
50228 * assert/assert.h: Likewise.
50229 * bits/fenv.h: Likewise.
50230 * bits/sched.h: Likewise.
50231 * bits/sigset.h: Likewise.
50232 * bits/sigthread.h: Likewise.
50233 * catgets/nl_types.h: Likewise.
50234 * conform/data/pthread.h-data: Likewise.
50235 * crypt/crypt-private.h: Likewise.
50236 * crypt/crypt.h: Likewise.
50237 * crypt/crypt_util.c: Likewise.
50238 * ctype/ctype.h: Likewise.
50239 * debug/execinfo.h: Likewise.
50240 * debug/mbsnrtowcs_chk.c: Likewise.
50241 * debug/mbsrtowcs_chk.c: Likewise.
50242 * debug/wcsnrtombs_chk.c: Likewise.
50243 * debug/wcsrtombs_chk.c: Likewise.
50244 * debug/wcstombs_chk.c: Likewise.
50245 * dirent/dirent.h: Likewise.
50246 * dlfcn/dlfcn.h: Likewise.
50247 * elf/neededtest4.c: Likewise.
50248 * grp/grp.h: Likewise.
50249 * gshadow/gshadow.h: Likewise.
50250 * iconv/gconv.h: Likewise.
50251 * iconv/gconv_int.h: Likewise.
50252 * iconv/gconv_simple.c: Likewise.
50253 * iconv/iconv.h: Likewise.
50254 * iconv/loop.c: Likewise.
50255 * iconv/skeleton.c: Likewise.
50256 * include/aio.h: Likewise.
50257 * include/aliases.h: Likewise.
50258 * include/argz.h: Likewise.
50259 * include/arpa/inet.h: Likewise.
50260 * include/assert.h: Likewise.
50261 * include/dirent.h: Likewise.
50262 * include/dlfcn.h: Likewise.
50263 * include/execinfo.h: Likewise.
50264 * include/fcntl.h: Likewise.
50265 * include/fenv.h: Likewise.
50266 * include/glob.h: Likewise.
50267 * include/grp.h: Likewise.
50268 * include/libintl.h: Likewise.
50269 * include/mntent.h: Likewise.
50270 * include/netdb.h: Likewise.
50271 * include/pwd.h: Likewise.
50272 * include/rpc/netdb.h: Likewise.
50273 * include/sched.h: Likewise.
50274 * include/search.h: Likewise.
50275 * include/shadow.h: Likewise.
50276 * include/signal.h: Likewise.
50277 * include/stdio.h: Likewise.
50278 * include/stdlib.h: Likewise.
50279 * include/string.h: Likewise.
50280 * include/sys/socket.h: Likewise.
50281 * include/sys/stat.h: Likewise.
50282 * include/sys/statfs.h: Likewise.
50283 * include/sys/statvfs.h: Likewise.
50284 * include/sys/syslog.h: Likewise.
50285 * include/sys/time.h: Likewise.
50286 * include/sys/uio.h: Likewise.
50287 * include/time.h: Likewise.
50288 * include/unistd.h: Likewise.
50289 * include/utmp.h: Likewise.
50290 * include/wchar.h: Likewise.
50291 * include/wctype.h: Likewise.
50292 * inet/aliases.h: Likewise.
50293 * inet/arpa/inet.h: Likewise.
50294 * inet/netinet/ether.h: Likewise.
50295 * inet/netinet/in.h: Likewise.
50296 * intl/libintl.h: Likewise.
50297 * io/bits/fcntl2.h: Likewise.
50298 * io/fcntl.h: Likewise.
50299 * io/ftw.h: Likewise.
50300 * io/sys/poll.h: Likewise.
50301 * io/sys/stat.h: Likewise.
50302 * io/sys/statfs.h: Likewise.
50303 * io/sys/statvfs.h: Likewise.
50304 * io/utime.h: Likewise.
50305 * libio/bits/stdio.h: Likewise.
50306 * libio/bits/stdio2.h: Likewise.
50307 * libio/libio.h: Likewise.
50308 * libio/libioP.h: Likewise.
50309 * libio/stdio.h: Likewise.
50310 * locale/lc-ctype.c: Likewise.
50311 * locale/locale.h: Likewise.
50312 * login/utmp.h: Likewise.
50313 * malloc/arena.c: Likewise.
50314 * malloc/malloc.c: Likewise.
50315 * malloc/malloc.h: Likewise.
50316 * malloc/mcheck.c: Likewise.
50317 * malloc/mtrace.c: Likewise.
50318 * math/bits/mathcalls.h: Likewise.
50319 * math/fenv.h: Likewise.
50320 * math/math_private.h: Likewise.
50321 * misc/bits/error.h: Likewise.
50322 * misc/bits/syslog.h: Likewise.
50323 * misc/err.h: Likewise.
50324 * misc/error.h: Likewise.
50325 * misc/fstab.h: Likewise.
50326 * misc/mntent.h: Likewise.
50327 * misc/regexp.h: Likewise.
50328 * misc/search.h: Likewise.
50329 * misc/sgtty.h: Likewise.
50330 * misc/sys/mman.h: Likewise.
50331 * misc/sys/syslog.h: Likewise.
50332 * misc/sys/uio.h: Likewise.
50333 * misc/sys/xattr.h: Likewise.
50334 * misc/ttyent.h: Likewise.
50335 * nis/rpcsvc/ypclnt.h: Likewise.
50336 * nss/nss.h: Likewise.
50337 * posix/bits/unistd.h: Likewise.
50338 * posix/fnmatch.h: Likewise.
50339 * posix/glob.h: Likewise.
50340 * posix/sched.h: Likewise.
50341 * posix/spawn.h: Likewise.
50342 * posix/sys/wait.h: Likewise.
50343 * posix/unistd.h: Likewise.
50344 * posix/wordexp.h: Likewise.
50345 * pwd/pwd.h: Likewise.
50346 * resolv/netdb.h: Likewise.
50347 * resource/sys/resource.h: Likewise.
50348 * rt/aio.h: Likewise.
50349 * rt/bits/mqueue2.h: Likewise.
50350 * rt/mqueue.h: Likewise.
50351 * shadow/shadow.h: Likewise.
50352 * signal/signal.h: Likewise.
50353 * socket/send.c: Likewise.
50354 * socket/sendto.c: Likewise.
50355 * socket/sys/socket.h: Likewise.
50356 * stdio-common/printf.h: Likewise.
50357 * stdlib/bits/stdlib.h: Likewise.
50358 * stdlib/fmtmsg.h: Likewise.
50359 * stdlib/monetary.h: Likewise.
50360 * stdlib/stdlib.h: Likewise.
50361 * stdlib/ucontext.h: Likewise.
50362 * streams/stropts.h: Likewise.
50363 * string/argz.h: Likewise.
50364 * string/bits/string2.h: Likewise.
50365 * string/string.h: Likewise.
50366 * string/strings.h: Likewise.
50367 * sunrpc/rpc/auth.h: Likewise.
50368 * sunrpc/rpc/auth_des.h: Likewise.
50369 * sunrpc/rpc/clnt.h: Likewise.
50370 * sunrpc/rpc/netdb.h: Likewise.
50371 * sunrpc/rpc/pmap_clnt.h: Likewise.
50372 * sunrpc/rpc/xdr.h: Likewise.
50373 * sysdeps/generic/inttypes.h: Likewise.
50374 * sysdeps/generic/net/if.h: Likewise.
50375 * sysdeps/generic/sys/swap.h: Likewise.
50376 * sysdeps/gnu/net/if.h: Likewise.
50377 * sysdeps/gnu/utmpx.h: Likewise.
50378 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
50379 * sysdeps/i386/i486/bits/string.h: Likewise.
50380 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
50381 * sysdeps/s390/bits/string.h: Likewise.
50382 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
50383 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
50384 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
50385 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
50386 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
50387 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
50388 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
50389 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
50390 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
50391 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
50392 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
50393 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50394 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
50395 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50396 * sysdeps/unix/sysv/linux/readv.c: Likewise.
50397 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
50398 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50399 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50400 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
50401 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
50402 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50403 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
50404 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
50405 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
50406 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
50407 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
50408 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
50409 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50410 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
50411 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
50412 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
50413 * sysvipc/sys/ipc.h: Likewise.
50414 * sysvipc/sys/msg.h: Likewise.
50415 * sysvipc/sys/sem.h: Likewise.
50416 * sysvipc/sys/shm.h: Likewise.
50417 * termios/termios.h: Likewise.
50418 * time/sys/time.h: Likewise.
50419 * time/time.h: Likewise.
50420 * wcsmbs/bits/wchar2.h: Likewise.
50421 * wcsmbs/uchar.h: Likewise.
50422 * wcsmbs/wchar.h: Likewise.
50423 * wctype/wctype.h: Likewise.
50426 * Makeconfig: Remove all but ELF support including AIX support.
50427 * Makerules: Likewise.
50428 * config.h.in: Likewise.
50429 * config.make.in: Likewise.
50430 * configure: Likewise.
50431 * configure.in: Likewise.
50432 * csu/Makefile: Likewise.
50433 * csu/version.c: Likewise.
50434 * debug/Makefile: Likewise.
50435 * dlfcn/Makefile: Likewise.
50436 * elf/Makefile: Likewise.
50437 * extra-lib.mk: Likewise.
50438 * iconv/Makefile: Likewise.
50439 * include/libc-symbols.h: Likewise.
50440 * include/shlib-compat.h: Likewise.
50441 * resolv/Makefile: Likewise.
50442 * resolv/res_libc.c: Likewise.
50443 * rt/Makefile: Likewise.
50444 * sysdeps/i386/asm-syntax.h: Likewise.
50445 * sysdeps/i386/sysdep.h: Likewise.
50446 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50447 * sysdeps/mach/sysdep.h: Likewise.
50448 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
50449 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
50450 * sysdeps/s390/asm-syntax.h: Likewise.
50451 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50452 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50453 * sysdeps/sh/sysdep.h: Likewise.
50454 * sysdeps/unix/sparc/sysdep.h: Likewise.
50455 * sysdeps/wordsize-32/divdi3.c: Likewise.
50456 * sysdeps/x86_64/sysdep.h: Likewise.
50458 * argp/Versions: Remove _argp_unlock_xxx.
50461 * abilist/ld.abilist: Update. Adjust for removal of tls option.
50462 * abilist/libBrokenLocale.abilist: Likewise.
50463 * abilist/libanl.abilist: Likewise.
50464 * abilist/libc.abilist: Likewise.
50465 * abilist/libcrypt.abilist: Likewise.
50466 * abilist/libdl.abilist: Likewise.
50467 * abilist/libm.abilist: Likewise.
50468 * abilist/libnsl.abilist: Likewise.
50469 * abilist/libpthread.abilist: Likewise.
50470 * abilist/libresolv.abilist: Likewise.
50471 * abilist/librt.abilist: Likewise.
50472 * abilist/libthread_db.abilist: Likewise.
50473 * abilist/libutil.abilist: Likewise.
50474 * abilist/libnss_db.abilist: New file.
50476 * scripts/abilist.awk: Add support for indirect functions.
50478 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
50480 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
50482 * shlib-versions: Remove entries for ports architectures.
50484 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
50486 * elf/stackguard-macros.h: Remove support for IA-64.
50487 * elf/tst-auditmod1.c: Likewise.
50488 * sysdeps/generic/ldsodefs.h: Likewise.
50490 * sysdeps/unix/sysv/linux/configure.in: Ports should define
50491 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
50495 * configure.in: Remove --enable-omitfp support.
50497 * config.make.in: Likewise.
50498 * Makeconfig: Likewise.
50499 * manual/install.texi: Likewise.
50501 In case anyone cares, the IA-64 architecture could move to ports.
50502 * sysdeps/ia64/*: Removed.
50503 * sysdeps/unix/sysv/linux/ia64/*: Removed.
50504 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
50507 * configure.in: Remove entries for unsupported architectures.
50510 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
50511 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
50513 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
50514 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
50515 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
50516 fall back to using wcrtomb.
50517 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
50518 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
50520 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
50521 * wcsmbs/tst-c16c32-1.c: New file.
50523 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
50526 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
50528 * elf/tst-unique3.cc: Add explicit declaration of gets.
50529 * elf/tst-unique3lib.cc: Likewise.
50530 * elf/tst-unique3lib2.cc: Likewise.
50531 * elf/tst-unique4.cc: Likewise.
50533 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
50535 2012-01-06 Joseph Myers <joseph@codesourcery.com>
50538 * assert/assert.h (static_assert): Don't define for C++.
50539 * libio/stdio.h (gets): Do declare for C++ <= C++11.
50540 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
50542 2012-01-03 Ulrich Drepper <drepper@gmail.com>
50544 * iconv/loop.c (single loop): Fix assertion in storing of
50547 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
50549 2012-01-01 Ulrich Drepper <drepper@gmail.com>
50551 * posix/getconf.c: Update copyright year.
50552 * nss/getent.c: Likewise.
50553 * nss/makedb.c: Likewise.
50554 * iconv/iconvconfig.c: Likewise.
50555 * iconv/iconv_prog.c: Likewise.
50556 * elf/ldconfig.c: Likewise.
50557 * elf/pldd.c: Likewise.
50558 * elf/sotruss.ksh: Likewise.
50559 * catgets/gencat.c: Likewise.
50560 * csu/version.c: Likewise.
50561 * elf/ldd.bash.in: Likewise.
50562 * elf/sprof.c (print_version): Likewise.
50563 * locale/programs/locale.c: Likewise.
50564 * locale/programs/localedef.c: Likewise.
50565 * login/programs/pt_chown.c: Likewise.
50566 * nscd/nscd.c (print_version): Likewise.
50567 * debug/xtrace.sh: Likewise.
50568 * malloc/memusage.sh: Likewise.
50569 * malloc/mtrace.pl: Likewise.
50570 * debug/catchsegv.sh: Likewise.
50572 2011-12-30 Jakub Jelinek <jakub@redhat.com>
50574 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
50577 2011-12-24 Ulrich Drepper <drepper@gmail.com>
50580 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
50581 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
50583 * iconv/gconv_int.h: Likewise.
50584 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
50585 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
50586 from libc for GLIBC_2.16.
50587 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
50588 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
50589 * wcsmbs/uchar.h: Really define mbstate_t.
50590 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
50591 * wcsmbs/c16rtomb.c: New file.
50592 * wcsmbs/mbrtoc16.c: New file.
50593 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
50594 for C/POSIX locale.
50595 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
50596 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
50598 * wcsmbs/wchar.h: Add missing __restrict.
50600 2011-12-23 Ulrich Drepper <drepper@gmail.com>
50603 * time/Makefile (routines): Add timespec_get.
50604 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
50605 * time/time.h: Define TIME_UTC and declare timespec_get. Define
50606 timespec for ISO C11.
50607 * time/timespec_get.c: New file.
50608 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
50609 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
50612 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
50613 * stdlib/stdlib.h: Declare aligned_alloc.
50614 * Versions.def: Add GLIBC_2.16 for libc.
50615 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
50618 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
50621 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
50625 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
50628 * assert/assert.h (static_assert): Define.
50630 * version.h: Update for 2.16 development version.
50633 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
50636 * version.h (RELEASE): Bump for 2.15 release.
50637 * include/features.h (__GLIBC_MINOR__): Bump to 15.
50639 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
50640 Patch by Marek Polacek <mpolacek@redhat.com>.
50642 * bits/byteswap.h: Protect long long constants with __extension__.
50643 * sysdeps/i386/bits/byteswap.h: Likewise.
50644 * sysdeps/ia64/bits/byteswap.h: Likewise.
50645 * sysdeps/s390/bits/byteswap.h: Likewise.
50646 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50648 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50651 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
50652 destination buffer.
50653 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
50655 2011-12-23 Marek Polacek <polacek@redhat.com>
50657 * elf/dl-addr.c (determine_info): Add inline keyword.
50658 * elf/tst-auditmod4b.c (check_avx): Likewise.
50659 * elf/tst-auditmod6b.c (check_avx): Likewise.
50660 * elf/tst-auditmod6c.c (check_avx): Likewise.
50661 * elf/tst-auditmod7b.c (check_avx): Likewise.
50663 2011-12-23 Ulrich Drepper <drepper@gmail.com>
50665 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
50668 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50671 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
50672 processing for last bytes.
50674 2011-08-06 Bruno Haible <bruno@clisp.org>
50677 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
50678 U+0385, not to U+1FEE.
50681 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
50682 entry for U+00A5 U+0301.
50684 2011-12-22 Ulrich Drepper <drepper@gmail.com>
50687 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
50688 buffer for the output is too small.
50690 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
50694 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
50695 SSE flags if possible.
50697 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50700 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
50701 processing for last bytes.
50703 2011-12-22 Joseph Myers <joseph@codesourcery.com>
50705 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
50706 (syscall-list-default-options, syscall-list-default-condition)
50707 (syscall-list-includes): Define.
50708 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
50709 list of ABIs and options and #if conditions for each ABI. Do not
50710 handle common syscalls between ABIs specially.
50711 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
50713 (syscall-list-variants, syscall-list-32bit-options)
50714 (syscall-list-32bit-condition, syscall-list-64bit-options)
50715 (syscall-list-64bit-condition): Define.
50716 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
50717 (syscall-list-variants, syscall-list-32bit-options)
50718 (syscall-list-32bit-condition, syscall-list-64bit-options)
50719 (syscall-list-64bit-condition): Define.
50720 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
50722 (syscall-list-variants, syscall-list-32bit-options)
50723 (syscall-list-32bit-condition, syscall-list-64bit-options)
50724 (syscall-list-64bit-condition): Define.
50725 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
50727 (syscall-list-variants, syscall-list-32bit-options)
50728 (syscall-list-32bit-condition, syscall-list-64bit-options)
50729 (syscall-list-64bit-condition): Define.
50731 2011-12-22 Ulrich Drepper <drepper@gmail.com>
50733 * locale/iso-639.def: Add brx entry.
50736 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
50737 Proposed by Mariusz_Cukr <marcukr@op.pl>.
50739 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
50740 __feraiseexcept_renamed.
50742 2011-12-21 Ulrich Drepper <drepper@gmail.com>
50745 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
50746 EPOLLET with unsigned values.
50747 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50748 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50750 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
50751 to large cancellation.
50752 * math/s_cacoshf.c: Likewise.
50753 * math/s_cacoshl.c: Likewise.
50755 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
50759 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
50760 * math/s_cacoshf.c: Likewise.
50761 * math/s_cacoshl.c: Likewise.
50763 2011-12-21 Ulrich Drepper <drepper@gmail.com>
50766 * iconv/gconv.h: Define __GCONV_SWAP.
50767 * iconvdata/unicode.c: The swap bit must be stored in __flags.
50768 * iconvdata/utf-16.c: Likewise.
50769 * iconvdata/utf-32.c: Likewise.
50771 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
50774 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50775 numerator after shifting it by one limb.
50777 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
50779 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50780 under [__USE_EXTERN_INLINES].
50782 2011-12-17 Ulrich Drepper <drepper@gmail.com>
50785 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50787 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50789 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50790 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50792 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50793 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50794 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50795 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50796 for strncasecmp/strncasecmp_l compilation.
50797 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50798 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50800 2011-12-08 Marek Polacek <mpolacek@redhat.com>
50803 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50806 2011-12-17 Ulrich Drepper <drepper@gmail.com>
50809 * time/tzfile.c (__tzfile_read): Check values from file header.
50811 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
50813 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50814 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50815 * powerpc/powerpc32/dl-start.S: Likewise.
50816 * powerpc/powerpc32/elf/start.S: Likewise.
50817 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50818 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50819 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50820 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50821 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50822 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50823 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50824 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50825 * powerpc/powerpc32/fpu/s_round.S: Likewise.
50826 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50827 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50828 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50829 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50830 * powerpc/powerpc32/memset.S: Likewise.
50831 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50832 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50833 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50834 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50835 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50836 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50837 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50838 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50839 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50840 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50841 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50842 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50843 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50845 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50847 * math/libm-test.inc: Added more nearbyint tests.
50848 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50849 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50850 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
50851 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
50853 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
50855 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
50858 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50860 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
50861 Add wcscpy-ssse3 wcscpy-c.
50862 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
50863 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
50864 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
50865 * sysdeps/x86_64/wcschr.S: New file.
50866 * sysdeps/x86_64/wcsrchr.S: New file.
50867 * string/test-strcmp.c: Remove checking of wcscmp function for
50869 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
50870 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
50871 wcsrchr-sse2 wcsrchr-c.
50872 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
50873 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
50874 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
50875 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
50876 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
50877 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
50878 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
50879 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
50880 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
50881 * wcsmbc/wcschr.c (WCSCHR): New macro.
50883 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50885 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
50886 * wcsmbs/test-wcsrchr.c: New file.
50887 * string/test-strrchr.c: Add wcsrchr support.
50889 * wcsmbs/test-wcscpy.c: New file.
50890 * string/test-strcpy.c: Add wcscpy support.
50893 2011-12-10 Ulrich Drepper <drepper@gmail.com>
50895 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
50898 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
50901 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
50903 2011-12-04 Ulrich Drepper <drepper@gmail.com>
50905 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
50906 Minor optimizations.
50908 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
50909 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
50910 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
50912 2011-12-03 Ulrich Drepper <drepper@gmail.com>
50914 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
50915 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
50916 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
50917 for gcc to avoid warnings.
50918 * inet/Makefile (tests): Add tst-checks.
50919 * inet/tst-checks.c: New file.
50921 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
50924 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
50927 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
50928 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
50930 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50932 2011-12-02 Ulrich Drepper <drepper@gmail.com>
50934 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50937 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50939 2011-11-29 Joseph Myers <joseph@codesourcery.com>
50941 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50942 conditional on GCC version.
50943 (__arch_compare_and_exchange_val_8_acq)
50944 (__arch_compare_and_exchange_val_16_acq)
50945 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50946 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50947 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50949 2011-12-02 Joseph Myers <joseph@codesourcery.com>
50951 * sysdeps/sh/backtrace.c: New file.
50953 2011-12-02 Andreas Schwab <schwab@redhat.com>
50955 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
50958 2011-12-01 Andreas Schwab <schwab@redhat.com>
50960 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50961 falling back to utime.
50963 2011-11-30 Andreas Schwab <schwab@redhat.com>
50965 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50966 expectations for float.
50968 2011-11-29 Andreas Schwab <schwab@redhat.com>
50970 * locale/weight.h (findidx): Add parameter len.
50971 * locale/weightwc.h (findidx): Likewise.
50972 * posix/fnmatch_loop.c (FCT): Adjust caller.
50973 * posix/regcomp.c (build_equiv_class): Likewise.
50974 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50975 * posix/regexec.c (check_node_accept_bytes): Likewise.
50976 * string/strcoll_l.c (STRCOLL): Likewise.
50977 * string/strxfrm_l.c (STRXFRM): Likewise.
50979 2011-11-17 Ulrich Drepper <drepper@gmail.com>
50981 * Makefile.in: Remove CVSOPT handling.
50982 * configure.in: Remove use of AC_REVISION.
50983 * iconvdata/Makefile (distribute): No need to filter out CVS.
50984 * scripts/list-sources.sh: Remove CVS, subversion and monotone
50987 2011-11-16 Andreas Schwab <schwab@redhat.com>
50989 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50990 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50991 [USE_AS_STRNCASECMP_L]: Likewise.
50992 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50993 NO_TLS_DIRECT_SEG_REFS.
50994 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50995 Fix argument offsets for non-PIC.
50996 [USE_AS_STRNCASECMP_L]: Likewise.
50997 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50998 NO_TLS_DIRECT_SEG_REFS.
51000 2011-11-15 Ulrich Drepper <drepper@gmail.com>
51002 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
51004 * locale/loadlocale.c (_nl_load_locale): Likewise.
51006 2011-11-15 Andreas Schwab <schwab@redhat.com>
51008 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51009 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51010 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51011 (SYSCALL_GETTIME): Set errno on error.
51013 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51014 count references to noai6ai_cached.
51016 2011-11-15 Ulrich Drepper <drepper@gmail.com>
51018 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
51020 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
51021 FD_CLOEXEC for /proc/self/maps.
51023 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
51024 FD_CLOEXEC for /proc/meminfo.
51026 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
51029 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
51030 FD_CLOEXEC for given file.
51032 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
51034 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
51035 FD_CLOEXEC for /etc/hosts.
51036 (_gethtent): Likewise.
51038 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
51040 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
51041 cancellation and set FD_CLOEXEC for /etc/netgroup.
51043 * nss/nss_files/files-key.c (search): Don't allow cancellation when
51044 reading /etc/publickey.
51046 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51047 allow cancellation when reading /etc/group.
51049 * nss/nss_files/files-alias.c (internal_setent): Don't allow
51051 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
51053 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51054 when using data file.
51056 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51058 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51059 (write_nis_obj): Use "c" and "e" in fopen.
51061 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51063 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51065 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51067 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51069 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51072 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
51074 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
51076 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
51078 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
51079 file parsing and set FD_CLOEXEC.
51081 2011-11-14 Ulrich Drepper <drepper@gmail.com>
51083 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51085 2011-11-14 Andreas Schwab <schwab@redhat.com>
51087 * malloc/arena.c (arena_get2): Don't call reused_arena when
51088 _int_new_arena failed.
51090 2011-11-14 Ulrich Drepper <drepper@gmail.com>
51092 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51093 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51094 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51095 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51096 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51097 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51098 to compile strcasecmp and strncasecmp.
51099 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51100 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51102 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51104 2011-11-13 Ulrich Drepper <drepper@gmail.com>
51106 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51107 locale-defines.sym to gen-as-const-headers.
51108 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51109 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51110 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51111 to compile strcasecmp and strncasecmp.
51112 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51113 strcasecmp_l and strncasecmp_l.
51114 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51115 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51116 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51117 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51118 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51119 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51120 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51121 * sysdeps/i386/i686/multiarch/strncase.S: New file.
51122 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51123 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51124 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51126 2011-11-12 Ulrich Drepper <drepper@gmail.com>
51128 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51129 result of SYSDEP_GETTIME_CPU to retval.
51130 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51131 parameter list to macro. Remove trailing semicolon. Adjust users.
51133 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51136 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51138 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51140 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51141 from unused variable.
51143 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51145 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51148 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51151 * sunrpc/rpc_prot.c (rejected): Fix case value.
51153 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51154 unsigned long long int to avoid warnings in shift.
51156 * posix/regex_internal.c (re_string_reconstruct): Actually use result
51158 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51161 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
51162 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
51163 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51165 * nis/nis_table.c (nis_list): Use variable of correct type for
51166 result of __follow_path call.
51168 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51170 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51171 of math functions ceil, trunc, floor, round, and sqrt, when
51172 avaliable on the platform.
51173 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51175 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51176 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51177 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51179 2011-10-30 Marek Polacek <mpolacek@redhat.com>
51181 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51182 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51184 2011-11-11 Roland McGrath <roland@hack.frob.com>
51186 * include/unistd.h: Fix __readlink return type.
51187 Reported by Chris Metcalf <cmetcalf@tilera.com>.
51189 2011-11-11 Ulrich Drepper <drepper@gmail.com>
51191 * stdlib/ucontext.h: Undo last change for makecontext.
51193 2011-11-11 Andreas Schwab <schwab@redhat.com>
51195 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51197 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51198 * setjmp/setjmp.h: Mark functions as non-leaf.
51199 * setjmp/bits/setjmp2.h: Likewise.
51200 * stdlib/ucontext.h: Likewise.
51202 2011-11-10 Andreas Schwab <schwab@redhat.com>
51204 * malloc/arena.c (_int_new_arena): Don't increment narenas.
51205 (reused_arena): Don't check arena limit.
51206 (arena_get2): Atomically check arena limit.
51208 2011-11-08 Ulrich Drepper <drepper@gmail.com>
51210 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51211 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51213 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51216 2011-11-07 Andreas Schwab <schwab@redhat.com>
51218 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51219 handler when locking.
51221 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51222 Fix size of allocated buffer.
51224 2011-11-04 Andreas Schwab <schwab@redhat.com>
51227 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51228 declarations for long double functions.
51229 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51231 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51233 2011-11-03 Andreas Schwab <schwab@redhat.com>
51235 * nscd/nscd.c (main): Don't start AVC thread until credentials are
51238 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51241 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
51243 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51245 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
51247 * include/alloca.h (stackinfo_alloca_round): Define.
51248 (extend_alloca): Use it.
51249 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51250 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51253 * scripts/check-local-headers.sh: Ignore libaudit.h.
51255 * nscd/Makefile (extra-objs): Make recursively expanded.
51257 2011-11-01 Ulrich Drepper <drepper@gmail.com>
51259 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
51260 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51262 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
51263 * posix/tst-rfc3484-2.c: Likewise.
51264 * posix/tst-rfc3484-3.c: Likewise.
51266 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51268 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
51270 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
51271 process_vm_writev from libc using GLIBC_2.15 version.
51273 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
51275 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
51277 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
51280 2011-10-31 Ulrich Drepper <drepper@gmail.com>
51283 * nss/getent.c (initgroups_keys): Show error message in case no group
51286 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
51287 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
51288 __bump_nl_timestamp.
51289 * nscd/connections (nscd_init): When host database is served open
51290 netlink socket and request notification about configuration changes.
51291 (main_loop_poll): Track netlink file descriptor and bump timestamp
51292 in case data becomes available.
51293 (main_loop_epoll): Likewise.
51294 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
51295 (database_pers_head): Add extra_data fileds.
51296 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
51297 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
51298 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
51300 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
51301 in6ai data, call __free_in6ai.
51302 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
51303 Add -DHAVE_NETLINK.
51304 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
51305 interface information. Reuse previous data if netlink timestamp
51307 (__bump_nl_timestamp): New function.
51308 (__free_in6ai): New function.
51310 2011-10-30 Ulrich Drepper <drepper@gmail.com>
51312 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
51313 close_not_cancel_no_status here.
51314 (__check_pf): Reorganize code a bit to not call close twice if OOM.
51316 2011-10-29 Ulrich Drepper <drepper@gmail.com>
51319 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
51322 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
51323 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
51324 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
51326 2011-07-03 Andreas Jaeger <aj@suse.de>
51329 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
51330 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
51331 * math/libm-test.inc (sin_test): Add test case.
51333 2011-10-29 Ulrich Drepper <drepper@gmail.com>
51336 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
51337 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51339 * elf/chroot_canon.c (chroot_canon): Cleanups.
51341 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
51344 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
51345 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51347 * string/test-strchr.c: Make usable for strchrnul testing.
51348 * string/test-strchrnul.c: New file.
51349 * string/Makefile (strop-tests): Add strchrnul.
51351 * po/it.po: Update from translation team.
51352 * po/es.po: Likewise.
51354 2011-10-28 Ulrich Drepper <drepper@gmail.com>
51356 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
51357 the three constants needed as parameters. Drop the others.
51358 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
51359 __m128i_strloadu_tolower.
51360 Create and initialize variable zero and use it in all the places
51361 where _mm_setzero_si128 was used.
51363 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
51364 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
51365 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
51366 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
51368 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
51369 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
51370 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
51371 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
51372 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
51373 __mpranred, __mptan.
51374 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
51375 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
51376 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
51377 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
51378 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
51379 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
51380 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
51381 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
51382 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
51384 2011-10-28 Andreas Schwab <schwab@redhat.com>
51386 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
51387 redefine if SHARED.
51388 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
51390 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
51391 wide char related routines to wcsmbs subdir.
51393 2011-10-27 Andreas Schwab <schwab@redhat.com>
51396 * misc/sys/cdefs.h (__THROWNL): Define.
51397 * posix/unistd.h: Use __THREADNL instead of __THREAD
51398 for memory synchronization functions.
51400 2011-10-26 Roland McGrath <roland@hack.frob.com>
51403 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
51405 * manual/stdio.texi (Obstack Streams): Node removed.
51407 2011-10-26 Andreas Schwab <schwab@redhat.com>
51409 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
51410 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51411 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51413 * math/math_private.h (math_force_eval): Allow non-addressable
51415 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
51417 2011-10-25 Ulrich Drepper <drepper@gmail.com>
51419 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
51420 file is not needed.
51422 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
51423 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
51424 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51425 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51426 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51427 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51428 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51429 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
51431 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
51432 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
51433 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
51434 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
51435 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
51436 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
51437 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
51438 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
51439 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
51440 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
51441 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
51442 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
51443 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
51444 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
51445 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
51446 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
51447 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
51448 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
51449 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
51451 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
51452 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
51454 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
51455 place. Use VEX encoding when compiling for AVX.
51457 2011-10-25 Andreas Schwab <schwab@redhat.com>
51459 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
51460 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
51462 * string/test-strchr.c (do_test): Don't generate NUL bytes.
51464 2011-10-25 Ulrich Drepper <drepper@gmail.com>
51466 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
51467 useless if() expression.
51468 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51469 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51470 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51471 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51472 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51473 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51474 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51475 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51476 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51477 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51478 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51479 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51480 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51481 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51482 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51483 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51484 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51485 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51486 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51488 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
51490 2011-10-25 Andreas Schwab <schwab@redhat.com>
51492 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
51494 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51496 2011-10-25 Ulrich Drepper <drepper@gmail.com>
51498 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
51499 .text section. Avoid duplicate constants.
51500 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51501 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51502 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51503 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51504 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51505 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51506 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51507 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51508 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51509 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
51510 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51511 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51512 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51513 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51514 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51515 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51516 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51517 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51518 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51519 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51520 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51521 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51522 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51523 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
51524 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
51525 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
51526 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
51527 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
51528 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
51529 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
51530 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
51531 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
51532 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51533 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
51534 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
51535 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
51536 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
51537 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
51538 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
51539 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
51540 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
51541 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
51542 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
51543 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
51544 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
51546 2011-10-24 Ulrich Drepper <drepper@gmail.com>
51548 * sysdeps/x86_64/dla.h: Move to ...
51549 * sysdeps/x86_64/fpu/dla.h: ...here.
51550 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
51551 situations. Use __builtin_fma only for gcc 4.6 and up.
51553 * config.make.in: Add have-mfma4 entry.
51554 * configure.in: Substitute libc_cv_cc_fma4.
51555 * math/Makefile (dbl-only-routines): Add sincostab.
51556 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
51557 Use __sincostab not sincos.
51558 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
51560 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51561 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51562 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51563 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
51565 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
51566 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
51567 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
51568 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
51570 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
51571 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
51573 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
51574 define aliases when function name is a macro.
51575 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
51576 sysdeps/ieee754/dbl-64/sincos.tbl.
51577 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
51578 fma4-enabled routines.
51579 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
51580 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
51581 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
51582 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
51583 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
51584 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
51585 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
51586 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
51587 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
51588 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
51589 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
51590 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
51591 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
51592 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
51593 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
51594 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
51595 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
51596 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
51597 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
51598 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
51599 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
51600 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
51601 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
51602 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
51603 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
51604 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
51605 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
51606 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
51607 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
51608 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
51610 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
51612 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51613 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51614 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51615 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51616 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51617 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51618 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51619 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51621 2011-10-24 Andreas Schwab <schwab@redhat.com>
51623 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
51625 2011-10-23 Ulrich Drepper <drepper@gmail.com>
51627 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
51629 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
51631 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
51633 * string/strnlen.c: Don't define STRNLEN, reverse logic.
51634 Remove unused variable magic_bits.
51635 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
51637 * string/strnlen.c: Define and use STRNLEN macro.
51638 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
51639 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
51640 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
51641 * wcsmbs/wcslen.c: Define and use WCSLEN.
51642 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
51643 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
51644 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
51645 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
51646 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
51647 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
51648 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51650 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51652 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51653 strnlen-sse2-no-bsf.
51654 Rename strlen-no-bsf to strlen-sse2-no-bsf.
51655 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
51656 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
51657 Add strnlen support.
51658 (USE_AS_STRNLEN): New macro.
51659 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
51660 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
51661 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
51662 * sysdeps/x86_64/wcslen.S: New file.
51664 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
51666 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51667 XMM-moves are used for copying on small sizes.
51669 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51671 * wcsmbs/Makefile (strop-tests): Add wcschr.
51672 * wcsmbs/test-wcschr.c: New file.
51673 * string/test-strchr.c: Update.
51674 Add wcschr support.
51677 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51679 * wcsmbs/Makefile (strop-tests): Add wcslen.
51680 * wcsmbs/test-wcslen.c: New file.
51681 * string/test-strlen.c: Update.
51682 Add wcslen support.
51685 2011-10-23 Ulrich Drepper <drepper@gmail.com>
51687 * po/it.po: Update from translation team.
51689 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51691 * sysdeps/x86_64/wcscmp.S: Update.
51692 Fix wrong comparison semantics.
51693 wcscmp shall use signed comparison not unsigned.
51694 Don't use substraction to avoid overflow bug.
51695 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
51696 * wcsmbc/wcscmp.c: Likewise.
51697 * string/test-strcmp.c: Likewise.
51698 Add new tests to check cases with negative values.
51700 2011-10-23 Ulrich Drepper <drepper@gmail.com>
51702 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
51703 * sysdeps/x86_64/dla.h: ...here. New file.
51704 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
51705 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51706 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51707 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51708 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51709 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51710 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51711 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51712 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51714 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
51716 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
51717 __ynl_finite aliases.
51719 2011-10-22 Ulrich Drepper <drepper@gmail.com>
51721 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51723 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
51725 [DLA_FMA] (EMULV): Use DLA_FMA.
51726 [DLA_FMA] (MUL12): Use EMULV.
51727 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
51728 that are not needed.
51729 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51730 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51731 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51732 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51733 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51734 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51735 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51737 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
51739 * math/s_nan.c: Undef __nan.
51740 * math/s_nanf.c: Undef __nanf.
51741 * math/s_nanl.c: Undef __nanl.
51742 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
51745 2011-10-22 Ulrich Drepper <drepper@gmail.com>
51747 * math/s_catan.c: Add branch predictions.
51748 * math/s_catanf.c: Likewise.
51749 * math/s_catanh.c: Likewise.
51750 * math/s_catanhf.c: Likewise.
51751 * math/s_catanhl.c: Likewise.
51752 * math/s_catanl.c: Likewise.
51753 * math/s_cexp.c: Likewise.
51754 * math/s_cexpf.c: Likewise.
51755 * math/s_cexpl.c: Likewise.
51756 * math/s_clog.c: Likewise.
51757 * math/s_clog10.c: Likewise.
51758 * math/s_clog10f.c: Likewise.
51759 * math/s_clog10l.c: Likewise.
51760 * math/s_clogf.c: Likewise.
51761 * math/s_clogl.c: Likewise.
51762 * math/s_csqrt.c: Likewise.
51763 * math/s_csqrtf.c: Likewise.
51764 * math/s_csqrtl.c: Likewise.
51765 * math/s_ctanf.c: Likewise.
51766 * math/s_ctanh.c: Likewise.
51767 * math/s_ctanhf.c: Likewise.
51768 * math/s_ctanhl.c: Likewise.
51769 * math/s_ctanl.c: Likewise.
51771 * math/math_private.h: Define __nan, __nanf, __nanl.
51772 * math/s_cacosh.c: Include <math_private.h>.
51773 * math/s_cacoshl.c: Likewise.
51774 * math/s_casinh.c: Likewise.
51775 * math/s_casinhf.c: Likewise.
51776 * math/s_casinhl.c: Likewise.
51777 * math/s_ccos.c: Rely entire on ccosh.
51778 * math/s_ccosf.c: Rely entire on ccoshf.
51779 * math/s_ccosl.c: Rely entirely on ccoshl.
51780 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
51781 Remove tests for FE_INVALID.
51782 * math/s_ccoshf.c: Likewise.
51783 * math/s_ccoshl.c: Likewise.
51784 * math/s_csin.c: Likewise.
51785 * math/s_csinf.c: Likewise.
51786 * math/s_csinh.c Likewise.
51787 * math/s_csinhf.c: Likewise.
51788 * math/s_csinhl.c: Likewise.
51789 * math/s_csinl.c: Likewise.
51790 * math/s_ctan.c: Likewise.
51791 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51792 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51793 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51795 2011-10-21 Ulrich Drepper <drepper@gmail.com>
51797 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51798 compilation problems.
51800 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51803 2011-10-20 Ulrich Drepper <drepper@gmail.com>
51805 * sysdeps/i386/configure.in: Test for -mfma4 option.
51806 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51807 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51808 COMMON_CPUID_INDEX_80000001.
51809 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51810 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51811 use it if FMA3 is not supported.
51812 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51814 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51815 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51817 2011-10-20 Andreas Schwab <schwab@redhat.com>
51820 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51821 it would create a cycle with a link time dependency.
51823 2011-10-19 Ulrich Drepper <drepper@gmail.com>
51825 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51827 * string/Makefile (strop-tests): Add rawmemchr.
51828 * string/test-rawmemchr.c: New file.
51830 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51831 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
51832 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
51833 when compiling str{,n}casecmp and when AVX is available. Hook up
51834 new optimized code in initializers.
51836 2011-10-19 Andreas Schwab <schwab@redhat.com>
51838 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51839 __feraiseexcept instead of feraiseexcept.
51841 2011-10-18 Ulrich Drepper <drepper@gmail.com>
51843 * math/math_private.h: Define defaults for libc_fetestexcept and
51845 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51846 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51847 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51848 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51849 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51850 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51851 libc_fetestexcept and libc_feupdateenv.
51853 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
51854 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
51855 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
51856 * sysdeps/x86_64/fpu/math_private.h: Define special version of
51857 libc_feholdexcept_setround.
51859 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
51860 Add s_nearbyint-c and s_nearbyintf-c.
51861 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
51862 nearbyintf inlines.
51863 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
51864 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
51865 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
51866 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
51868 * math/math_private.h: Define defaults for libc_fegetround,
51869 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
51870 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
51871 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
51872 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
51873 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
51874 standard functions.
51875 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51876 Remove comments and hacks for old compiler versions.
51877 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51878 libc_fegetround, libc_fesetround, libc_feholdexcept, and
51879 libc_feholdexceptl.
51881 2011-10-18 Andreas Schwab <schwab@redhat.com>
51883 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
51884 (__feraiseexcept_renamed): Add __NTH.
51885 (feraiseexcept): Add __NTH. Rename local variables to fix
51886 namespace violations.
51888 2011-10-17 Ulrich Drepper <drepper@gmail.com>
51890 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
51892 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
51894 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
51895 recently added interfaces.
51896 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
51898 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
51899 about macro parameter expansion.
51901 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
51902 __NO_MATH_INLINES is defined. Cleanups.
51904 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
51905 and __floorf is target has SSE4.1.
51906 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
51907 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
51908 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
51909 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
51911 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
51913 (floorf): Likewise.
51915 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
51917 2011-10-17 Andreas Schwab <schwab@redhat.com>
51919 * misc/sys/cdefs.h: Fix last change.
51921 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
51924 2011-10-16 Ulrich Drepper <drepper@gmail.com>
51926 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
51928 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
51929 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51930 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51931 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51932 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51933 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51934 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51935 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51936 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51937 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51938 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51939 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51940 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51941 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51942 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51943 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51944 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51945 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51946 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51947 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51948 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51949 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51951 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51952 ceil, ceilf, floor, floorf.
51954 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51955 Perform IRELATIVE relocations last.
51957 * elf/do-rel.h: Add another parameter nrelative, replacing the
51958 local variable with the same name. Change name of the function
51959 to end in Rel or Rela (uppercase).
51960 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51961 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
51962 elf_dynamic_do_##reloc function.
51964 2011-10-15 Ulrich Drepper <drepper@gmail.com>
51966 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51967 is sufficient, at least on modern CPUs.
51969 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51971 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51972 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51974 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51976 * math/bits/math-finite.h: Add entries for exp.
51977 * math/e_expl.c: Add __*_finite alias.
51978 * sysdeps/i386/fpu/e_exp.S: Likewise.
51979 * sysdeps/i386/fpu/e_expf.S: Likewise.
51980 * sysdeps/i386/fpu/e_expl.c: Likewise.
51981 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51982 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51983 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51984 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51985 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51986 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51987 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51989 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51990 is sufficient, at least on modern CPUs.
51992 * ctype/ctype-info.c (__ctype_init): Define.
51993 * include/ctype.h (__ctype_init): Declare.
51994 (__ctype_b_loc): The variable is always initialized.
51995 (__ctype_toupper_loc): Likewise.
51996 (__ctype_tolower_loc): Likewise.
51997 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51998 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52000 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
52002 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52004 * configure.in: Also look in $cxxmachine/include for C++ system
52007 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52009 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52010 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52011 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52012 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
52013 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52014 (USE_AS_WMEMCMP): New macro.
52016 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
52017 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
52018 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
52019 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
52020 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52021 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
52022 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
52023 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
52024 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
52025 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
52026 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
52027 (USE_AS_WMEMCMP): New macro.
52028 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
52029 * sysdeps/string/test-memcmp.c: Update.
52030 Fix simple_wmemcmp.
52032 * wcsmbs/wmemcmp.c: Update.
52033 (WMEMCMP): New macro.
52036 2011-10-12 Andreas Jaeger <aj@suse.de>
52039 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
52041 2011-10-15 Ulrich Drepper <drepper@gmail.com>
52043 * libio/iofwide.c (do_length): Avoid warning.
52045 * ctype/ctype.h (__isctype_f): Add missing __THROW.
52047 2011-10-14 Ulrich Drepper <drepper@gmail.com>
52049 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52051 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52052 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52053 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52054 * sysdeps/i386/i686/fpu/e_log.S: New file.
52055 * sysdeps/i386/i686/fpu/e_logf.S: New file.
52056 * sysdeps/i386/i686/fpu/e_logl.S: New file.
52058 * ctype/ctype.h: Add support for inlined isXXX functions when
52059 compiling C++ code.
52061 2011-10-14 Andreas Schwab <schwab@redhat.com>
52063 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52065 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52067 2011-10-13 Roland McGrath <roland@hack.frob.com>
52070 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52072 2011-10-13 Andreas Schwab <schwab@redhat.com>
52074 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
52075 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
52078 * sysdeps/x86_64/memrchr.S: Check for zero size.
52080 * string/stratcliff.c: Add memrchr tests.
52082 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52084 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52085 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52086 rawmemchr-sse2 rawmemchr-sse2-bsf.
52087 * sysdeps/i386/i686/multiarch/memchr.S: New file.
52088 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52089 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52090 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52091 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52092 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52093 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52094 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52095 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52096 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52097 * string/memrchr.c (MEMRCHR): New macro.
52099 2011-10-12 Ulrich Drepper <drepper@gmail.com>
52101 Add integration with gcc's -ffinite-math-only and optimize wrapper
52103 * Versions.def: Define GLIBC_2.15 version for libm.
52104 * math/Makefile (headers): Add bits/math-finite.h.
52105 * math/bits/math-finite.h: New file.
52106 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52107 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52108 * math/e_acoshl.c: Add __*_finite alias.
52109 * math/e_acosl.c: Likewise.
52110 * math/e_asinl.c: Likewise.
52111 * math/e_atan2l.c: Likewise.
52112 * math/e_atanhl.c: Likewise.
52113 * math/e_coshl.c: Likewise.
52114 * math/e_exp10.c: Likewise.
52115 * math/e_exp10f.c: Likewise.
52116 * math/e_exp10l.c: Likewise.
52117 * math/e_exp2l.c: Likewise.
52118 * math/e_fmodl.c: Likewise.
52119 * math/e_gammal_r.c: Likewise.
52120 * math/e_hypotl.c: Likewise.
52121 * math/e_j0l.c: Likewise.
52122 * math/e_j1l.c: Likewise.
52123 * math/e_jnl.c: Likewise.
52124 * math/e_lgammal_r.c: Likewise.
52125 * math/e_log10l.c: Likewise.
52126 * math/e_log2l.c: Likewise.
52127 * math/e_logl.c: Likewise.
52128 * math/e_powl.c: Likewise.
52129 * math/e_sinhl.c: Likewise.
52130 * math/e_sqrtl.c: Likewise.
52131 * math/e_scalb.c: Completely rewritten and optimized.
52132 * math/e_scalbf.c: Likewise.
52133 * math/e_scalbl.c: Likewise.
52134 * math/w_acos.c: Likewise.
52135 * math/w_acosf.c: Likewise.
52136 * math/w_acosl.c: Likewise.
52137 * math/w_acosh.c: Likewise.
52138 * math/w_acoshf.c: Likewise.
52139 * math/w_acoshl.c: Likewise.
52140 * math/w_asin.c: Likewise.
52141 * math/w_asinf.c: Likewise.
52142 * math/w_asinl.c: Likewise.
52143 * math/w_atan2.c: Likewise.
52144 * math/w_atan2f.c: Likewise.
52145 * math/w_atan2l.c: Likewise.
52146 * math/w_atanh.c: Likewise.
52147 * math/w_atanhf.c: Likewise.
52148 * math/w_atanhl.c: Likewise.
52149 * math/w_exp10.c: Likewise.
52150 * math/w_exp10f.c: Likewise.
52151 * math/w_exp10l.c: Likewise.
52152 * math/w_fmod.c: Likewise.
52153 * math/w_fmodf.c: Likewise.
52154 * math/w_fmodl.c: Likewise.
52155 * math/w_j0.c: Likewise.
52156 * math/w_j0f.c: Likewise.
52157 * math/w_j0l.c: Likewise.
52158 * math/w_j1.c: Likewise.
52159 * math/w_j1f.c: Likewise.
52160 * math/w_j1l.c: Likewise.
52161 * math/w_jn.c: Likewise.
52162 * math/w_jnf.c: Likewise.
52163 * math/w_log.c: Likewise.
52164 * math/w_logf.c: Likewise.
52165 * math/w_logl.c: Likewise.
52166 * math/w_log10.c: Likewise.
52167 * math/w_log10f.c: Likewise.
52168 * math/w_log10l.c: Likewise.
52169 * math/w_log2.c: Likewise.
52170 * math/w_log2f.c: Likewise.
52171 * math/w_log2l.c: Likewise.
52172 * math/w_pow.c: Likewise.
52173 * math/w_powf.c: Likewise.
52174 * math/w_powl.c: Likewise.
52175 * math/w_remainder.c: Likewise.
52176 * math/w_remainderf.c: Likewise.
52177 * math/w_remainderl.c: Likewise.
52178 * math/w_scalb.c: Likewise.
52179 * math/w_scalbf.c: Likewise.
52180 * math/w_scalbl.c: Likewise.
52181 * math/w_sqrt.c: Likewise.
52182 * math/w_sqrtf.c: Likewise.
52183 * math/w_sqrtl.c: Likewise.
52184 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52185 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
52187 * math/math_private.h: Declare __kernel_standard_f.
52188 * math/w_cosh.c: Remove cruft and optimize a bit.
52189 * math/w_coshf.c: Likewise.
52190 * math/w_coshl.c: Likewise.
52191 * math/w_exp2.c: Likewise.
52192 * math/w_exp2f.c: Likewise.
52193 * math/w_exp2l.c: Likewise.
52194 * math/w_hypot.c: Likewise.
52195 * math/w_hypotf.c: Likewise.
52196 * math/w_hypotl.c: Likewise.
52197 * math/w_lgamma.c: Likewise.
52198 * math/w_lgamma_r.c: Likewise.
52199 * math/w_lgammaf.c: Likewise.
52200 * math/w_lgammaf_r.c: Likewise.
52201 * math/w_lgammal.c: Likewise.
52202 * math/w_lgammal_r.c: Likewise.
52203 * math/w_sinh.c: Likewise.
52204 * math/w_sinhf.c: Likewise.
52205 * math/w_sinhl.c: Likewise.
52206 * math/w_tgamma.c: Likewise.
52207 * math/w_tgammaf.c: Likewise.
52208 * math/w_tgammal.c: Likewise.
52209 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52210 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52211 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52212 Minor optimizations. Pretty printing. Remove cruft.
52213 * sysdeps/i386/fpu/e_acosf.S: Likewise.
52214 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52215 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52216 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52217 * sysdeps/i386/fpu/e_acosl.c: Likewise.
52218 * sysdeps/i386/fpu/e_asin.S: Likewise.
52219 * sysdeps/i386/fpu/e_asinf.S: Likewise.
52220 * sysdeps/i386/fpu/e_atan2.S: Likewise.
52221 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52222 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52223 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52224 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52225 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52226 * sysdeps/i386/fpu/e_exp10.S: Likewise.
52227 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52228 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52229 * sysdeps/i386/fpu/e_exp2.S: Likewise.
52230 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52231 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52232 * sysdeps/i386/fpu/e_fmod.S: Likewise.
52233 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52234 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52235 * sysdeps/i386/fpu/e_hypot.S: Likewise.
52236 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52237 * sysdeps/i386/fpu/e_log.S: Likewise.
52238 * sysdeps/i386/fpu/e_log10.S: Likewise.
52239 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52240 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52241 * sysdeps/i386/fpu/e_log2.S: Likewise.
52242 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52243 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52244 * sysdeps/i386/fpu/e_logf.S: Likewise.
52245 * sysdeps/i386/fpu/e_logl.S: Likewise.
52246 * sysdeps/i386/fpu/e_pow.S: Likewise.
52247 * sysdeps/i386/fpu/e_powf.S: Likewise.
52248 * sysdeps/i386/fpu/e_powl.S: Likewise.
52249 * sysdeps/i386/fpu/e_remainder.S: Likewise.
52250 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52251 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52252 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52253 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52254 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52255 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
52256 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
52257 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
52258 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52259 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52260 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52261 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52262 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52263 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52264 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52265 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52266 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52267 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52268 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52269 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52270 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52271 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52272 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52273 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52274 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52275 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52276 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52277 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52278 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52279 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52280 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52281 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52282 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52283 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52284 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52285 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52286 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
52287 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52288 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52289 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52290 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52291 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52292 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52293 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52294 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52295 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52296 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52297 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52298 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52299 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52300 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52301 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52302 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52303 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52304 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52305 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52306 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52307 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
52308 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52309 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52310 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52311 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52312 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52313 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52314 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52315 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52316 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52317 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52318 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52319 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52320 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52321 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52322 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52323 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52324 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52325 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52326 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
52327 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52328 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52329 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52330 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52331 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52332 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52333 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52334 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52335 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52336 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52337 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52338 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52339 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52340 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
52341 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52342 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52343 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52344 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52345 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52346 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52347 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52348 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52349 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52350 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52351 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52352 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52353 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52354 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52355 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
52356 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
52357 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
52358 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
52359 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
52360 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
52361 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
52362 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52363 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52364 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52365 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52366 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
52367 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52368 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
52369 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
52370 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
52371 (__isnanf): Likewise.
52372 (__isinf_ns): Likewise.
52373 (__isinf_nsf): Likewise.
52374 (__finite): Likewise.
52375 (__finitef): Likewise.
52376 (__ieee754_sqrt): Define as macro.
52377 (__ieee754_sqrtf): Define as macro.
52378 (__ieee754_sqrtl): Define as macro.
52379 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
52381 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
52382 __FINITE_MATH_ONLY__ consistent.
52383 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
52385 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
52387 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
52390 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
52392 2011-10-09 Ulrich Drepper <drepper@gmail.com>
52394 * po/ja.po: Update from translation team.
52396 2011-10-08 Roland McGrath <roland@hack.frob.com>
52398 * locale/programs/locarchive.c (prepare_address_space): New function.
52399 (create_archive, enlarge_archive, open_archive): Use it.
52401 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
52402 inside [SHARED], where it is used.
52404 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
52406 * nss/getent.c (netgroup_keys): Remove unused variable.
52407 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52409 2011-10-08 Ulrich Drepper <drepper@gmail.com>
52411 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
52412 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
52413 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
52414 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
52415 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
52416 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
52417 * math/Makefile (libm-calls): Add s_isinf_ns.
52418 * math/divtc3.c: Use __isinf_nsl instead of isinf.
52419 * math/multc3.c: Likewise.
52420 * math/s_casin.c: Likewise.
52421 * math/s_casinf.c: Likewise.
52422 * math/s_casinl.c: Likewise.
52423 * math/s_ccos.c: Likewise.
52424 * math/s_ccosf.c: Likewise.
52425 * math/s_ccosl.c: Likewise.
52426 * math/s_ctan.c: Likewise.
52427 * math/s_ctanf.c: Likewise.
52428 * math/s_ctanh.c: Likewise.
52429 * math/s_ctanhf.c: Likewise.
52430 * math/s_ctanhl.c: Likewise.
52431 * math/s_ctanl.c: Likewise.
52432 * math/w_fmod.c: Likewise.
52433 * math/w_fmodf.c: Likewise.
52434 * math/w_fmodl.c: Likewise.
52435 * math/w_remainder.c: Likewise.
52436 * math/w_remainderf.c: Likewise.
52437 * math/w_remainderl.c: Likewise.
52438 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
52439 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
52440 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
52441 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
52442 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
52443 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
52444 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
52445 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
52447 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
52449 * stdio-common/printf_fphex.c: Likewise.
52450 * stdio-common/printf_size.c: Likewise.
52452 * math/e_exp10.c: Include math_private.h using <...> not "...".
52453 * math/e_exp10f.c: Likewise.
52454 * math/e_exp10l.c: Likewise.
52455 * math/e_exp2l.c: Likewise.
52456 * math/e_j0l.c: Likewise.
52457 * math/e_j1l.c: Likewise.
52458 * math/e_jnl.c: Likewise.
52459 * math/e_lgammal_r.c: Likewise.
52460 * math/e_rem_pio2l.c: Likewise.
52461 * math/e_scalb.c: Likewise.
52462 * math/e_scalbf.c: Likewise.
52463 * math/e_scalbl.c: Likewise.
52464 * math/k_cosl.c: Likewise.
52465 * math/k_sinl.c: Likewise.
52466 * math/k_tanl.c: Likewise.
52467 * math/s_cacoshf.c: Likewise.
52468 * math/s_catan.c: Likewise.
52469 * math/s_catanf.c: Likewise.
52470 * math/s_catanh.c: Likewise.
52471 * math/s_catanhf.c: Likewise.
52472 * math/s_catanhl.c: Likewise.
52473 * math/s_catanl.c: Likewise.
52474 * math/s_ccosh.c: Likewise.
52475 * math/s_ccoshf.c: Likewise.
52476 * math/s_ccoshl.c: Likewise.
52477 * math/s_cexp.c: Likewise.
52478 * math/s_cexpf.c: Likewise.
52479 * math/s_cexpl.c: Likewise.
52480 * math/s_clog.c: Likewise.
52481 * math/s_clog10.c: Likewise.
52482 * math/s_clog10f.c: Likewise.
52483 * math/s_clog10l.c: Likewise.
52484 * math/s_clogf.c: Likewise.
52485 * math/s_clogl.c: Likewise.
52486 * math/s_csin.c: Likewise.
52487 * math/s_csinf.c: Likewise.
52488 * math/s_csinh.c: Likewise.
52489 * math/s_csinhf.c: Likewise.
52490 * math/s_csinhl.c: Likewise.
52491 * math/s_csinl.c: Likewise.
52492 * math/s_csqrt.c: Likewise.
52493 * math/s_csqrtf.c: Likewise.
52494 * math/s_csqrtl.c: Likewise.
52495 * math/s_ctan.c: Likewise.
52496 * math/s_ctanf.c: Likewise.
52497 * math/s_ctanh.c: Likewise.
52498 * math/s_ctanhf.c: Likewise.
52499 * math/s_ctanhl.c: Likewise.
52500 * math/s_ctanl.c: Likewise.
52501 * math/s_ldexp.c: Likewise.
52502 * math/s_ldexpf.c: Likewise.
52503 * math/s_ldexpl.c: Likewise.
52504 * math/s_significand.c: Likewise.
52505 * math/s_significandf.c: Likewise.
52506 * math/s_significandl.c: Likewise.
52507 * math/w_acos.c: Likewise.
52508 * math/w_acosf.c: Likewise.
52509 * math/w_acosh.c: Likewise.
52510 * math/w_acoshf.c: Likewise.
52511 * math/w_acoshl.c: Likewise.
52512 * math/w_acosl.c: Likewise.
52513 * math/w_asin.c: Likewise.
52514 * math/w_asinf.c: Likewise.
52515 * math/w_asinl.c: Likewise.
52516 * math/w_atan2.c: Likewise.
52517 * math/w_atan2f.c: Likewise.
52518 * math/w_atan2l.c: Likewise.
52519 * math/w_atanh.c: Likewise.
52520 * math/w_atanhf.c: Likewise.
52521 * math/w_atanhl.c: Likewise.
52522 * math/w_cosh.c: Likewise.
52523 * math/w_coshf.c: Likewise.
52524 * math/w_coshl.c: Likewise.
52525 * math/w_dremf.c: Likewise.
52526 * math/w_exp10.c: Likewise.
52527 * math/w_exp10f.c: Likewise.
52528 * math/w_exp10l.c: Likewise.
52529 * math/w_exp2.c: Likewise.
52530 * math/w_exp2f.c: Likewise.
52531 * math/w_fmod.c: Likewise.
52532 * math/w_fmodf.c: Likewise.
52533 * math/w_fmodl.c: Likewise.
52534 * math/w_hypot.c: Likewise.
52535 * math/w_hypotf.c: Likewise.
52536 * math/w_hypotl.c: Likewise.
52537 * math/w_j0.c: Likewise.
52538 * math/w_j0f.c: Likewise.
52539 * math/w_j0l.c: Likewise.
52540 * math/w_j1.c: Likewise.
52541 * math/w_j1f.c: Likewise.
52542 * math/w_j1l.c: Likewise.
52543 * math/w_jn.c: Likewise.
52544 * math/w_jnf.c: Likewise.
52545 * math/w_jnl.c: Likewise.
52546 * math/w_lgamma.c: Likewise.
52547 * math/w_lgamma_r.c: Likewise.
52548 * math/w_lgammaf.c: Likewise.
52549 * math/w_lgammaf_r.c: Likewise.
52550 * math/w_lgammal.c: Likewise.
52551 * math/w_lgammal_r.c: Likewise.
52552 * math/w_log.c: Likewise.
52553 * math/w_log10.c: Likewise.
52554 * math/w_log10f.c: Likewise.
52555 * math/w_log10l.c: Likewise.
52556 * math/w_log2.c: Likewise.
52557 * math/w_log2f.c: Likewise.
52558 * math/w_log2l.c: Likewise.
52559 * math/w_logf.c: Likewise.
52560 * math/w_logl.c: Likewise.
52561 * math/w_pow.c: Likewise.
52562 * math/w_powf.c: Likewise.
52563 * math/w_powl.c: Likewise.
52564 * math/w_remainder.c: Likewise.
52565 * math/w_remainderf.c: Likewise.
52566 * math/w_remainderl.c: Likewise.
52567 * math/w_scalb.c: Likewise.
52568 * math/w_scalbf.c: Likewise.
52569 * math/w_scalbl.c: Likewise.
52570 * math/w_sinh.c: Likewise.
52571 * math/w_sinhf.c: Likewise.
52572 * math/w_sinhl.c: Likewise.
52573 * math/w_sqrt.c: Likewise.
52574 * math/w_sqrtf.c: Likewise.
52575 * math/w_sqrtl.c: Likewise.
52576 * math/w_tgamma.c: Likewise.
52577 * math/w_tgammaf.c: Likewise.
52578 * math/w_tgammal.c: Likewise.
52580 * po/ja.po: Update from translation team.
52582 2011-09-29 Andreas Jaeger <aj@suse.de>
52585 * sunrpc/netname.c (netname2host): Fix logic.
52589 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
52591 * math/w_remainder.c (__remainder): Likewise.
52592 * math/w_remainderf.c (__remainderf): Likewise.
52593 * math/libm-test.inc (remainder_test): Add test cases.
52595 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52597 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
52600 2011-10-07 Ulrich Drepper <drepper@gmail.com>
52602 * string/test-memcmp.c: Avoid unncessary #defines.
52603 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52605 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52607 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
52608 Use new sse2 version for core i3 - i7 as it's faster
52609 than sse42 version.
52610 (bit_Prefer_PMINUB_for_stringop): New.
52611 * sysdeps/x86_64/rawmemchr.S: Update.
52612 Replace with faster SSE2 version.
52613 * sysdeps/x86_64/memrchr.S: New file.
52614 * sysdeps/x86_64/memchr.S: Update.
52615 Replace with faster SSE2 version.
52617 2011-09-12 Marek Polacek <mpolacek@redhat.com>
52619 * elf/dl-load.c (lose): Add cast to avoid warning.
52621 2011-10-07 Ulrich Drepper <drepper@gmail.com>
52623 * po/ca.po: Update from translation team.
52625 * inet/getnetgrent_r.c: Hook up nscd.
52626 * nscd/Makefile (routines): Add nscd_netgroup.
52627 (nscd-modules): Add netgroupcache.
52628 (CFLAGS-netgroupcache.c): Define.
52629 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
52630 (cache_search): Add const to second parameter.
52631 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
52633 (dbs): Add netgrdb entry.
52634 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
52635 (verify_persistent_db): Handle netgrdb.
52636 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
52637 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
52639 (netgroup_response_header): Define.
52640 (innetgroup_response_header): Define.
52641 (datahead): Add netgroup_response_header and innetgroup_response_header
52643 * nscd/nscd.conf: Add entries for netgroup cache.
52644 * nscd/nscd.h (dbtype): Add netgrdb.
52645 (_PATH_NSCD_NETGROUP_DB): Define.
52646 (netgroup_iov_disabled): Declare.
52647 (xmalloc, xcalloc, xrealloc): Move declarations here.
52648 (cache_search): Adjust prototype.
52649 Add netgroup-related prototypes.
52650 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
52651 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
52652 (__nscd_innetgr): Declare.
52653 * nscd/selinux.c (perms): Use access_vector_t as element type and
52654 add netgroup-related initializers.
52655 * nscd/netgroupcache.c: New file.
52656 * nscd/nscd_netgroup.c: New file.
52657 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
52658 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
52659 For four parameters use innetgr.
52660 * nss/nss_files/files-init.c: Add definition and callback for netgr.
52661 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
52662 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
52663 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
52665 * nscd/connections.c (register_traced_file): Don't register file
52666 for disabled databases.
52668 2011-10-06 Ulrich Drepper <drepper@gmail.com>
52670 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
52672 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
52673 from tree and freeing node.
52675 2011-09-25 Jiri Olsa <jolsa@redhat.com>
52677 * nss/nsswitch.c (__nss_database_lookup): Handle
52678 nss_parse_service_list out of memory case.
52680 2011-09-15 Jiri Olsa <jolsa@redhat.com>
52682 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
52683 out of memory case.
52685 2011-10-04 Andreas Schwab <schwab@redhat.com>
52687 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
52688 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
52690 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
52691 elf_machine_rela, elf_machine_lazy_rel.
52692 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
52693 (ELF_DYNAMIC_DO_REL): Likewise.
52694 (ELF_DYNAMIC_DO_RELA): Likewise.
52695 (ELF_DYNAMIC_RELOCATE): Likewise.
52696 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
52697 to ELF_DYNAMIC_DO_REL.
52698 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
52699 (dl_main): In trace mode always set __RTLD_NOIFUNC.
52700 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
52702 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
52703 skip_ifunc, don't call ifunc function if non-zero.
52704 (elf_machine_rela): Likewise.
52705 (elf_machine_lazy_rel): Likewise.
52706 (elf_machine_lazy_rela): Likewise.
52707 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
52708 (elf_machine_lazy_rel): Likewise.
52709 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
52711 (elf_machine_lazy_rel): Likewise.
52712 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52714 (elf_machine_lazy_rel): Likewise.
52715 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
52716 (elf_machine_lazy_rel): Likewise.
52717 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
52718 (elf_machine_lazy_rel): Likewise.
52719 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52720 (elf_machine_lazy_rel): Likewise.
52721 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
52722 (elf_machine_lazy_rel): Likewise.
52723 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
52724 (elf_machine_lazy_rel): Likewise.
52725 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52726 (elf_machine_lazy_rel): Likewise.
52728 2011-09-28 Ulrich Drepper <drepper@gmail.com>
52730 * nss/nss_files/files-init.c (_nss_files_init): Use static
52731 initialization for all the *_traced_file variables.
52733 2011-09-28 Andreas Schwab <schwab@redhat.com>
52735 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52737 2011-09-27 Roland McGrath <roland@hack.frob.com>
52740 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
52742 2011-09-27 Andreas Schwab <schwab@redhat.com>
52744 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52745 Reread the line before reparsing it.
52747 2011-09-26 Andreas Schwab <schwab@redhat.com>
52749 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
52751 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
52752 Maxim Kuvyrkov <maxim@codesourcery.com>
52753 Joseph Myers <joseph@codesourcery.com>
52755 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
52756 if needed for __stack_chk_guard.
52758 2011-09-19 Roland McGrath <roland@hack.frob.com>
52760 * sysdeps/posix/spawni.c (script_execute): Always define it.
52761 It will be optimized away if unused.
52762 (maybe_script_execute): New function.
52763 (__spawni): Call it.
52765 * Makerules: Don't include tls.make.
52766 (config-tls): Always set to thread.
52767 * tls.make.c: File removed.
52769 2011-09-19 Mike Frysinger <vapier@gentoo.org>
52771 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52772 * config.make.in (CPPFLAGS-config): New substituted variable.
52774 2011-09-15 Ulrich Drepper <drepper@gmail.com>
52776 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52779 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52780 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52782 2011-09-15 Roland McGrath <roland@hack.frob.com>
52784 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52785 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52786 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52787 (CALL_FAIL): Likewise.
52788 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52789 (CALL_FAIL): Macro removed.
52790 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52792 2011-09-15 Ulrich Drepper <drepper@gmail.com>
52794 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52795 for __FINITE_MATH_ONLY__ == 1.
52797 2011-09-15 Andreas Schwab <schwab@redhat.com>
52799 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52800 __ieee754_sqrt instead of sqrt.
52801 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52802 __ieee754_sqrtf instead of sqrtf.
52803 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52804 __floorf instead of floorf.
52805 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52806 __floorf, __truncf instead of floorf, truncf.
52808 2011-09-14 Ulrich Drepper <drepper@gmail.com>
52810 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52812 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52813 __extern_always_inline.
52814 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52817 2011-09-14 Andreas Schwab <schwab@redhat.com>
52819 * elf/rtld.c (dl_main): Also relocate in dependency order when
52820 doing symbol dependency testing.
52822 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
52824 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52825 Always define `refsym'.
52827 2011-09-13 Andreas Schwab <schwab@redhat.com>
52829 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52830 (__FD_ELT): Renamed from __FDELT.
52831 * misc/bits/select2.h (__FD_ELT): Likewise.
52832 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52833 __FD_MASK instead of __FDELT, __FDMASK.
52834 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52836 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52839 * elf/Makefile (gen-ldd): Fix pattern.
52841 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52842 (init_tls): Likewise.
52844 2011-09-12 Ulrich Drepper <drepper@gmail.com>
52846 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52848 2011-09-12 Andreas Schwab <schwab@redhat.com>
52850 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
52851 `struct cmsghdr *' instead of `void *'.
52852 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
52855 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
52857 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
52859 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
52860 ldd_rewrite_script.
52862 2011-09-11 Ulrich Drepper <drepper@gmail.com>
52864 * configure.in: Remove --with-tls option.
52865 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
52866 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
52867 out in case it is missing.
52868 * sysdeps/ia64/elf/configure.in: Likewise.
52869 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
52870 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
52871 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
52872 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
52873 * sysdeps/sh/elf/configure.in: Likewise.
52874 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
52875 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52876 * sysdeps/x86_64/elf/configure.in: Likewise.
52877 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
52878 * sysdeps/mach/hurd/tls.h: Likewise.
52881 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
52884 * configure.in: Fix use of AC_INIT.
52886 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
52888 2011-09-10 Ulrich Drepper <drepper@gmail.com>
52890 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
52892 * malloc/hooks.c: Likewise.
52895 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
52896 variables statically.
52897 (narenas): Initialize.
52898 (list_lock): Initialize.
52899 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
52900 initializtion of main_arena and list_lock. Small cleanups.
52901 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
52902 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
52903 Add initializers to main_arena and mp_.
52904 (malloc_state): Remove pagesize member. Change all users to use
52907 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
52908 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
52909 is always initialized.
52911 * malloc/malloc.c: Removed unused configurations and dead code.
52912 * malloc/arena.c: Likewise.
52913 * malloc/hooks.c: Likewise.
52914 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
52916 * include/tls.h: Removed. USE___THREAD must always be defined.
52917 * bits/libc-tsd.h: Don't handle !USE___THREAD.
52918 * elf/dl-libc.c: Likewise.
52919 * elf/dl-tsd.c: Likewise.
52920 * include/errno.h: Likewise.
52921 * include/netdb.h: Likewise.
52922 * include/resolv.h: Likewise.
52923 * inet/herrno-loc.c: Likewise.
52924 * inet/herrno.c: Likewise.
52925 * malloc/arena.c: Likewise.
52926 * malloc/hooks.c: Likewise.
52927 * malloc/malloc.c: Likewise.
52928 * resolv/res-state.c: Likewise.
52929 * resolv/res_libc.c: Likewise.
52930 * sysdeps/i386/dl-machine.h: Likewise.
52931 * sysdeps/ia64/dl-machine.h: Likewise.
52932 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52933 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52934 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52935 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52936 * sysdeps/sh/dl-machine.h: Likewise.
52937 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52938 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52939 * sysdeps/unix/i386/sysdep.S: Likewise.
52940 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52941 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52942 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52943 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52944 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52945 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52946 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52947 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52948 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52949 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52950 * sysdeps/unix/x86_64/sysdep.S: Likewise.
52951 * sysdeps/x86_64/dl-machine.h: Likewise.
52952 * tls.make.c: Likewise.
52954 * configure.in: Remove --with-__thread option. Make tests for
52955 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52956 tls_model attribute fail if no support is available. Remove
52958 * Makeconfig: Adjust for dropped configure option. All features are
52960 * Makerules: Likewise.
52961 * Versions.def: Likewise.
52962 * argp/argp-fmtstream.c: Likewise.
52963 * argp/argp-fmtstream.h: Likewise.
52964 * argp/argp-help.c: Likewise.
52965 * assert/assert.c: Likewise.
52966 * config.h.in: Likewise.
52967 * config.make.in: Likewise.
52968 * configure: Likewise.
52969 * configure.in: Likewise.
52970 * csu/Versions: Likewise.
52971 * csu/init.c: Likewise.
52972 * elf/tst-audit2.c: Likewise.
52973 * elf/tst-tls10.c: Likewise.
52974 * elf/tst-tls10.h: Likewise.
52975 * elf/tst-tls11.c: Likewise.
52976 * elf/tst-tls12.c: Likewise.
52977 * elf/tst-tls14.c: Likewise.
52978 * elf/tst-tlsmod11.c: Likewise.
52979 * elf/tst-tlsmod12.c: Likewise.
52980 * elf/tst-tlsmod13.c: Likewise.
52981 * elf/tst-tlsmod13a.c: Likewise.
52982 * elf/tst-tlsmod14a.c: Likewise.
52983 * elf/tst-tlsmod15b.c: Likewise.
52984 * elf/tst-tlsmod16a.c: Likewise.
52985 * elf/tst-tlsmod16b.c: Likewise.
52986 * elf/tst-tlsmod7.c: Likewise.
52987 * elf/tst-tlsmod8.c: Likewise.
52988 * elf/tst-tlsmod9.c: Likewise.
52989 * gmon/gmon.c: Likewise.
52990 * grp/fgetgrent_r.c: Likewise.
52991 * grp/putgrent.c: Likewise.
52992 * hurd/fopenport.c: Likewise.
52993 * include/libc-symbols.h: Likewise.
52994 * include/tls.h: Likewise.
52995 * intl/gettextP.h: Likewise.
52996 * intl/loadinfo.h: Likewise.
52997 * locale/global-locale.c: Likewise.
52998 * locale/localeinfo.h: Likewise.
52999 * mach/devstream.c: Likewise.
53000 * malloc/arena.c: Likewise.
53001 * malloc/set-freeres.c: Likewise.
53002 * misc/err.c: Likewise.
53003 * misc/getttyent.c: Likewise.
53004 * misc/mntent_r.c: Likewise.
53005 * posix/getopt.c: Likewise.
53006 * posix/wordexp.c: Likewise.
53007 * pwd/fgetpwent_r.c: Likewise.
53008 * resolv/Versions: Likewise.
53009 * resolv/res_hconf.c: Likewise.
53010 * shadow/fgetspent_r.c: Likewise.
53011 * shadow/putspent.c: Likewise.
53012 * stdio-common/printf_fphex.c: Likewise.
53013 * stdio-common/tmpfile.c: Likewise.
53014 * stdlib/abort.c: Likewise.
53015 * stdlib/fmtmsg.c: Likewise.
53016 * sunrpc/auth_unix.c: Likewise.
53017 * sunrpc/clnt_perr.c: Likewise.
53018 * sunrpc/clnt_tcp.c: Likewise.
53019 * sunrpc/clnt_udp.c: Likewise.
53020 * sunrpc/clnt_unix.c: Likewise.
53021 * sunrpc/openchild.c: Likewise.
53022 * sunrpc/svc_simple.c: Likewise.
53023 * sunrpc/svc_tcp.c: Likewise.
53024 * sunrpc/svc_udp.c: Likewise.
53025 * sunrpc/svc_unix.c: Likewise.
53026 * sunrpc/xdr.c: Likewise.
53027 * sunrpc/xdr_array.c: Likewise.
53028 * sunrpc/xdr_rec.c: Likewise.
53029 * sunrpc/xdr_ref.c: Likewise.
53030 * sunrpc/xdr_stdio.c: Likewise.
53032 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53034 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53036 2011-07-03 Andreas Jaeger <aj@suse.de>
53038 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
53039 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
53040 regenerate with gen-libm-tests.pl.
53042 2010-05-12 Petr Baudis <pasky@suse.cz>
53045 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53046 around j0() zero points by switching to j1().
53047 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53048 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53049 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53050 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53052 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53054 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53056 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
53058 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53059 Patch in part by Pavel Roskin <proski@gnu.org>.
53062 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53064 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
53065 Free memory block if necessary.
53068 * libio/genops.c (INTDEF): For string streams the _lock pointer can
53069 be NULL. Don't lock in this case.
53071 2011-09-09 Roland McGrath <roland@hack.frob.com>
53073 * elf/elf.h (ELFOSABI_GNU): New macro.
53074 (ELFOSABI_LINUX): Define to that.
53076 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
53078 * string/strncat.c (strncat): Undef the symbol in case it has been
53079 defined in bits/string.h.
53081 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53083 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53085 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
53088 2011-08-17 Andreas Jaeger <aj@suse.de>
53090 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53092 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
53093 Ian Lance Taylor <iant@google.com>
53095 * math/libm-test.inc (lround_test): New testcase.
53096 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53098 2011-09-08 Ulrich Drepper <drepper@gmail.com>
53100 * Makefile: Remove support for automatic cvs check-ins.
53101 * Makerules: Likewise.
53102 * config.make.in: Likewise.
53103 * configure.in: Likewise.
53104 * intl/Makefile: Likewise.
53105 * locale/Makefile: Likewise.
53106 * po/Makefile: Likewise.
53107 * posix/Makefile: Likewise.
53108 * sysdeps/gnu/Makefile: Likewise.
53109 * sysdeps/mach/hurd/Makefile: Likewise.
53110 * sysdeps/sparc/sparc32/Makefile: Likewise.
53113 * posix/Makefile (bug-regex32-ENV): Define.
53114 Patch by John Stanley <jpsinthemix@verizon.net>.
53116 * misc/Makefile (headers): Add bits/select2.h.
53117 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53118 * misc/bits/select2.h: New file.
53119 * include/bits/select2.h: New file.
53120 * debug/Makefile (routines): Add fdelt_chk.
53121 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53122 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53124 * debug/fdelt_chk.c: New file.
53126 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
53127 * wcsmbs/test-wmemcmp.c: Likewise.
53128 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
53129 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
53131 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53133 * string/Makefile (strop-tests): Add memcmp.
53134 * string/test-wmemcmp.c: New file.
53135 * string/test-memcmp.c: Add wmemcmp support.
53137 2011-09-08 Roland McGrath <roland@hack.frob.com>
53140 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53143 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53144 garbage value in a __mach_port_mod_refs call in the cases of the
53145 task-self and thread-self ports.
53147 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53149 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53151 2011-09-08 Andreas Schwab <schwab@redhat.com>
53153 * elf/dl-load.c (lose): Check for non-null L.
53155 2011-09-07 Ulrich Drepper <drepper@gmail.com>
53157 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53159 * elf/dl-libc.c (dlerror_run): Pass back error code from
53163 * elf/dl-load.c (lose): Free l_origin if it is valid.
53165 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53167 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53168 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53169 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53170 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53171 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53172 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53174 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53176 * sysdeps/powerpc/fpu/e_hypot.c: New file.
53177 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53178 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53179 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53180 * sysdeps/powerpc/fpu/k_cosf.c: New file.
53181 * sysdeps/powerpc/fpu/k_sinf.c: New file.
53182 * sysdeps/powerpc/fpu/s_cosf.c: New file.
53183 * sysdeps/powerpc/fpu/s_sinf.c: New file.
53184 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53185 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53187 2011-08-15 Alan Modra <amodra@gmail.com>
53190 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53191 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53192 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
53193 ppc_mcount to static-only-routines.
53194 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53196 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53197 __mcount_internal with usual JUMPTARGET. Remove useless nop.
53199 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
53201 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53202 for finite and infinity parameters.
53204 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53206 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53207 and add nop instructions for throughput optimization.
53208 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53210 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
53212 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53213 aligned copy for power7 with vector-scalar instructions.
53214 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53216 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
53218 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53221 2011-09-07 Andreas Schwab <schwab@redhat.com>
53224 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53227 2011-09-07 Ulrich Drepper <drepper@gmail.com>
53229 * sysdeps/unix/sysv/linux/x86_64/init-first.c
53230 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53231 syscall wrapper around clock_gettime in __vdso_clock_gettime.
53232 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53235 2011-09-06 Ulrich Drepper <drepper@gmail.com>
53237 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53238 Forgot to demangle the pointer.
53240 * sysdeps/i386/sysdep.h: Define atom_text_section.
53241 * sysdeps/x86_64/sysdep.h: Likewise.
53242 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53243 section with atom_text_section.
53244 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53245 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53246 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53247 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53248 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53250 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53251 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53252 already be defined. Change to take two parameters and don't assign
53253 result to variable. Adjust all users.
53254 Define INTERNAL_GETTIME if not already defined.
53255 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
53257 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
53258 HAVE_CLOCK_GETTIME_VSYSCALL.
53259 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
53261 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
53262 gettimeofday vsyscall, just use time.
53264 2011-09-06 Andreas Schwab <schwab@redhat.com>
53266 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
53269 2011-09-06 Ulrich Drepper <drepper@gmail.com>
53271 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
53273 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
53275 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
53276 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
53277 syscall if possible.
53279 2011-09-05 Ulrich Drepper <drepper@gmail.com>
53281 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
53282 e_ident. Don't pass to find_mapsXX.
53283 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
53285 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53287 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53288 strchr-sse2-no-bsf strrchr-sse2-no-bsf
53289 * sysdeps/x86_64/multiarch/strchr.S: Update.
53290 Check bit_slow_BSF bit.
53291 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53292 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
53293 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
53295 2011-09-05 Ulrich Drepper <drepper@gmail.com>
53298 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
53300 (tryshell): Define.
53301 (__spawni): Change last parameter to be flag. Test
53302 SPAWN_XFLAGS_USE_PATH flag to use path or not.
53303 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
53304 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
53305 * posix/spawni.c: Likewise.
53306 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
53307 * posix/spawnp.c: Likewise. Change normal version to use
53308 SPAWN_XFLAGS_USE_PATH.
53309 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
53310 SPAWN_XFLAGS_TRY_SHELL.
53313 * posix/glob.h: Remove gcc 1.x support.
53316 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
53318 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53320 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53321 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
53323 * sysdeps/i386/i686/multiarch/strchr.S: New file.
53324 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
53325 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
53326 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
53327 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
53328 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
53330 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53332 * sysdeps/x86_64/wcscmp.S: New file.
53334 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
53335 wcscmp-c wcscmp-sse2
53336 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
53337 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
53338 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
53339 * wcsmbs/wcscmp.c: Allow renaming.
53341 2011-09-05 David S. Miller <davem@davemloft.net>
53343 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
53344 stack slot, rather than the struct return pointer slot.
53345 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
53346 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
53347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
53348 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
53350 2011-09-05 Ulrich Drepper <drepper@gmail.com>
53352 * po/ja.po: Update from translation team.
53355 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
53356 kernel in 64-bit binaries.
53358 2011-09-01 David S. Miller <davem@davemloft.net>
53360 * elf/elf.h (HWCAP_SPARC_*): Move to..
53361 * sysdeps/sparc/sysdep.h: this new file and add new values.
53362 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
53363 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
53364 _DL_HWCAP_COUNT to 24.
53365 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53367 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
53368 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
53369 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
53370 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
53371 instead of magic constants.
53372 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53374 2011-08-31 David S. Miller <davem@davemloft.net>
53376 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
53377 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
53378 Reimplement to do errno handling inline.
53379 (SYSCALL_ERROR_HANDLER): New macro.
53380 (__SYSCALL_STRING): Do not do errno handling in asm.
53381 (__CLONE_SYSCALL_STRING): Delete.
53382 (__INTERNAL_SYSCALL_STRING): Delete.
53383 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
53384 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
53385 (PSEUDO): Reimplement to do errno handling inline.
53386 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
53387 (SYSCALL_ERROR_HANDLER): New macro.
53388 (__SYSCALL_STRING): Do not do errno handling in asm.
53389 (__CLONE_SYSCALL_STRING): Delete.
53390 (__INTERNAL_SYSCALL_STRING): Delete.
53391 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
53392 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
53394 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
53395 (inline_syscall*): Add 'err' argument.
53396 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
53397 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
53398 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
53399 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
53401 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
53402 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53404 2011-08-30 Andreas Schwab <schwab@redhat.com>
53406 * elf/rtld.c (dl_main): Relocate objects in dependency order.
53408 2011-08-29 Jiri Olsa <jolsa@redhat.com>
53410 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
53413 2011-08-24 David S. Miller <davem@davemloft.net>
53415 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
53417 2011-08-24 Andreas Schwab <schwab@redhat.com>
53419 * elf/Makefile: Add rules to build and run unload8 test.
53420 * elf/unload8.c: New file.
53421 * elf/unload8mod1.c: New file.
53422 * elf/unload8mod1x.c: New file.
53423 * elf/unload8mod2.c: New file.
53424 * elf/unload8mod3.c: New file.
53426 * elf/dl-close.c (_dl_close_worker): Reset private search list if
53429 2011-08-23 David S. Miller <davem@davemloft.net>
53431 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
53432 subtract stack bias.
53433 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
53434 %sp not %fp in calculations.
53435 (_JMPBUF_UNWINDS_ADJ): Likewise.
53437 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
53438 (aio_suspend): Call it to force an exception region around the
53439 AIO_MISC_WAIT() invocation.
53441 2011-08-23 Andreas Schwab <schwab@redhat.com>
53443 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
53446 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
53448 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
53450 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
53451 and <dl-machine.h>.
53452 (Elf64_FuncDesc): Remove.
53454 2011-08-22 David S. Miller <davem@davemloft.net>
53456 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
53457 sigaltstack check, add missing cfi directives.
53458 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
53459 missing cfi directives, and sigaltstack handling.
53461 2011-08-16 Andreas Schwab <schwab@redhat.com>
53464 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
53465 object is seen twice.
53466 * elf/dl-fini.c (_dl_sort_fini): Likewise.
53468 * elf/Makefile (distribute): Add tst-initorder2.c.
53469 (tests): Add tst-initorder2.
53470 (modules-names): Add tst-initorder2a tst-initorder2b
53471 tst-initorder2c tst-initorder2d. Add rules to build them.
53472 ($(objpfx)tst-initorder2.out): New rule.
53473 * elf/tst-initorder2.c: New file.
53474 * elf/tst-initorder2.exp: New file.
53476 2011-08-22 Andreas Schwab <schwab@redhat.com>
53478 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
53480 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
53481 dependencies back to end of function.
53483 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53484 $(elfobjdir)/ld.so.
53486 2011-08-21 Ulrich Drepper <drepper@gmail.com>
53488 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
53489 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
53490 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
53491 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
53492 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
53493 of __vdso_gettimeofday.
53494 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
53495 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
53497 (_libc_vdso_platform_setup): Remove initialization of
53498 __vdso_gettimeofday and __vdso_time.
53500 2011-08-20 Ulrich Drepper <drepper@gmail.com>
53502 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
53503 and fgetc_unlocked.
53504 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
53507 * elf/dl-open.c (add_to_global): Report additions to the global scope
53508 for LD_DEBUG=scopes.
53509 (dl_open_worker): Also print scope of newly loaded dependencies.
53510 (_dl_show_scope): Indicate if there is no scope.
53513 * stdio-common/Makefile (tests): Add bug24.
53514 * stdio-common/bug24.c: New file.
53516 2011-08-19 Andreas Jaeger <aj@suse.de>
53519 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
53520 non-existant file when using close-on-exec mode.
53522 2011-08-20 Ulrich Drepper <drepper@gmail.com>
53524 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
53525 the very first instruction.
53527 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
53528 the CFI state in the end.
53529 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
53530 inclusion of dl-trampoline.h.
53531 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
53533 2011-08-19 Andreas Schwab <schwab@redhat.com>
53535 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
53536 expectations for long double.
53538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
53539 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
53541 2011-08-14 David S. Miller <davem@davemloft.net>
53543 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
53544 artificual limit depends upon the system page size.
53546 2011-08-17 Ulrich Drepper <drepper@gmail.com>
53548 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
53549 * resolv/Makefile: Define CFLAGS-libresolv.
53551 2011-08-17 Andreas Schwab <schwab@redhat.com>
53553 * nss/makedb.c (compute_tables): Make variables used in nested
53556 2011-08-17 Ulrich Drepper <drepper@gmail.com>
53558 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
53559 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
53560 if buffer was too small.
53562 * elf/pldd.c (main): Attach to all threads in the process.
53563 Rewrite /proc handling to use *at functions.
53565 2011-08-16 Ulrich Drepper <drepper@gmail.com>
53567 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
53568 specifies first scope to show.
53569 (dl_open_worker): Update callers. Move printing scope of new
53570 object to before the relocation.
53571 * elf/rtld.c (dl_main): Update _dl_show_scope call.
53572 * sysdeps/generic/ldsodefs.h: Update declaration.
53574 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
53575 string for the scope number.
53577 2011-08-14 Ulrich Drepper <drepper@gmail.com>
53579 * nscd/servicescache.c (cache_addserv): Make sure written is always
53582 2011-08-14 Roland McGrath <roland@hack.frob.com>
53584 * sysdeps/i386/i486/bits/atomic.h
53585 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
53586 statement expression, so as to suppress "set but not used" warning.
53587 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
53589 * string/strncat.c (STRNCAT): Use prototype definition.
53591 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
53592 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
53594 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
53595 (localedef-modules): Add localedef.
53596 (locale-modules): Add locale.
53598 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
53599 * elf/rtld.c (dl_main): Invert order of assignment in last change,
53600 to avoid a warning.
53602 2011-08-14 David S. Miller <davem@davemloft.net>
53604 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
53605 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
53607 2011-08-13 Ulrich Drepper <drepper@gmail.com>
53609 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
53610 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
53611 * elf/rtld.c (dl_main): Set l_name of vDSO.
53612 Call _dl_show_scope when DL_DEBUG_SCOPES.
53613 (process_dl_debug): Recognize scopes flag and also set it for all.
53614 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
53615 Declare _dl_show_scope.
53617 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
53618 (do_dlopen): Pass caller_dlopen to dl_open.
53619 (__libc_dlopen_mode): Initialize caller_dlopen.
53621 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
53622 of libc. Make tolower call locale-independent. Optimize a bit by
53623 using isdigit instead of isalnum.
53624 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
53626 2011-08-12 Ulrich Drepper <drepper@gmail.com>
53628 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
53629 was a dependency or dynamically loaded.
53631 2011-08-11 Ulrich Drepper <drepper@gmail.com>
53633 * intl/l10nflist.c: Allow architecture-specific pop function.
53634 * sysdeps/x86_64/l10nflist.c: New file.
53636 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
53639 2011-08-10 Andreas Schwab <schwab@redhat.com>
53641 * include/dirent.h: Add libc_hidden_proto for scandirat and
53642 scandirat64. Don't declare __scandirat64.
53643 * dirent/scandirat.c: Add libc_hidden_def.
53644 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
53645 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
53647 2011-08-10 David S. Miller <davem@davemloft.net>
53649 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
53651 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53652 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53653 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53655 2011-08-09 Ulrich Drepper <drepper@gmail.com>
53657 * Versions.def [libc]: Add GLIBC_2.15.
53658 * dirent/Makefile (routines): Add scandirat and scandirat64.
53659 * dirent/Versions [libc]: Export scandirat and scandirat64 for
53661 * dirent/dirent.h: Declare scandirat and scandirat64.
53662 * dirent/scandirat.c: New file.
53663 * dirent/scandirat64.c: New file.
53664 * sysdeps/wordsize-64/scandirat.c: New file.
53665 * sysdeps/wordsize-64/scandirat64.c: New file.
53666 * dirent/opendir.c: Define opendirat.
53667 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
53669 * dirent/scandir64.c: Adjust for scandir.c change.
53670 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
53671 __scandirat64, and __scandir_cancel_handler.
53672 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
53673 additional parameter and use openat instead of open (outside of ld.so).
53674 Add new __opendir as wrapper around __opendirat.
53675 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
53676 here without requiring old scandirat implementation.
53678 2011-08-08 Ulrich Drepper <drepper@gmail.com>
53680 * dirent/scandir.c (cancel_handler): Renamed to
53681 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
53682 defined. Adjust users.
53683 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
53684 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
53686 2011-08-04 Ulrich Drepper <drepper@gmail.com>
53688 * string/test-string.h (IMPL): Use __STRING to expand name and then
53691 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
53694 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53696 * string/Makefile: Update.
53697 (strop-tests): Append strncat.
53698 * string/test-wcscmp.c: New file.
53699 New comprehensive test for wcscmp.
53700 * string/test-strcmp.c: Update.
53701 (WIDE): New define.
53703 2011-07-22 Andreas Schwab <schwab@redhat.com>
53705 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
53708 2011-07-26 Andreas Schwab <schwab@redhat.com>
53710 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53711 encoding to ACE if AI_IDN.
53713 2011-08-01 Jakub Jelinek <jakub@redhat.com>
53715 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
53716 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
53718 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53720 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
53721 Fix overflow bug in strncat.
53722 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
53724 * string/test-strncat.c: Update.
53725 Add new tests for checking overflow bugs.
53727 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53729 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53730 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
53731 * sysdeps/i386/i686/multiarch/strcat.S: New file.
53732 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
53733 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
53734 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
53735 * sysdeps/i386/i686/multiarch/strncat.S: New file.
53736 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
53737 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
53739 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
53740 (USE_AS_STRCAT): Define.
53741 Add strcat and strncat support.
53742 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53744 2011-07-25 Andreas Schwab <schwab@redhat.com>
53746 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
53747 __n bigger than INT_MAX+1.
53748 (__strncmp_g): Likewise.
53750 2011-07-23 Ulrich Drepper <drepper@gmail.com>
53752 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
53753 * libio/stido.h: Likewise.
53755 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
53757 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
53760 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
53761 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53762 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53763 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
53764 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53767 * scripts/test-installation.pl: Don't expect libnss_test1 to be
53770 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53772 (_dl_x86_64_save_sse): Likewise.
53774 2011-07-22 Ulrich Drepper <drepper@gmail.com>
53776 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53778 (_dl_x86_64_save_sse): Likewise.
53780 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53782 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53784 2011-07-21 Andreas Schwab <schwab@redhat.com>
53786 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53788 (_dl_x86_64_save_sse): Use correct AVX check.
53790 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53792 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53793 bug in strncpy/strncat.
53794 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53796 2011-07-21 Ulrich Drepper <drepper@gmail.com>
53798 * string/tester.c (test_strcat): Add tests for different alignments
53799 of source and destination.
53800 (test_strncat): Likewise.
53802 2011-07-20 Ulrich Drepper <drepper@gmail.com>
53805 * posix/glob.c (glob): Check passed in values before using them in
53806 expressions to avoid some overflows.
53807 (glob_in_dir): Likewise.
53810 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53811 check for AVX enablement so that we don't crash with old kernels and
53813 * elf/tst-audit4.c: Add same checks here.
53814 * elf/tst-audit6.c: Likewise.
53816 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
53818 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
53820 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53822 2011-07-20 Ulrich Drepper <drepper@gmail.com>
53824 * po/cs.po: Update from translation team.
53825 * po/bg.po: Likewise.
53827 2011-07-12 Marek Polacek <mpolacek@redhat.com>
53829 * misc/sys/cdefs.h: Add support for const attribute.
53830 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53831 to gnu_dev_{major,minor,makedev} functions.
53833 2011-07-20 Marek Polacek <mpolacek@redhat.com>
53835 * intl/dcigettext.c (get_output_charset): Add missing bracket.
53837 2011-07-20 Andreas Schwab <schwab@redhat.com>
53839 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53842 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53844 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53845 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53846 register in order to avoid conflicts with the soft frame pointer
53847 being held in r11 when necessary.
53848 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53849 (INTERNAL_VSYSCALL_NCS): Likewise.
53851 2011-07-14 Marek Polacek <mpolacek@redhat.com>
53853 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
53854 * elf/dl-fini.c (_dl_fini): Adjust caller.
53855 * elf/dl-close.c (_dl_close_worker): Likewise.
53856 * sysdeps/generic/ldsodefs.h: Adjust declaration.
53858 2011-07-15 Marek Polacek <mpolacek@redhat.com>
53860 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
53861 "aux_cache->nlibs < 0".
53863 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
53864 in the reload-count case.
53866 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53868 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53869 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
53870 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
53871 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
53872 * sysdeps/x86_64/multiarch/strcat.S: New file.
53873 * sysdeps/x86_64/multiarch/strncat.S: New file.
53874 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
53875 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
53876 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
53877 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
53878 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
53879 (USE_AS_STRCAT): Define.
53880 Add strcat and strncat support.
53881 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53882 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53883 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
53884 * string/strncat.c: Update.
53885 (USE_AS_STRNCAT): Define.
53886 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53887 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
53889 * sysdeps/x86_64/multiarch/init-arch.h
53890 (bit_Prefer_PMINUB_for_stringop): New.
53891 (index_Prefer_PMINUB_for_stringop): Likewise.
53892 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
53893 bit_Prefer_PMINUB_for_stringop.
53895 2011-07-19 Ulrich Drepper <drepper@gmail.com>
53897 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
53899 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
53900 of casting of buffer.
53901 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
53902 buffer32 and buffer64.
53903 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
53904 writes instead of casting of buffer.
53905 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
53907 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
53910 2011-07-19 Andreas Schwab <schwab@redhat.com>
53912 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
53914 2011-07-19 Ulrich Drepper <drepper@gmail.com>
53916 * nscd/nscd.c (termination_handler): Don't do anything for a database
53917 if it has not yet been initialized.
53919 2011-07-18 Ulrich Drepper <drepper@gmail.com>
53921 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53923 2011-07-15 Marek Polacek <mpolacek@redhat.com>
53925 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53927 2011-07-18 Ulrich Drepper <drepper@gmail.com>
53929 * po/nl.po: Update from translation team.
53930 * po/sv.po: Likewise.
53932 2011-07-16 Roland McGrath <roland@hack.frob.com>
53934 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53935 now disallowed by GCC.
53937 * configure.in (use-default-link): Default to yes if a test -shared
53938 link meets our qualifications.
53939 * configure: Regenerated.
53941 * config.make.in (output-format): New variable.
53942 * configure.in: Check for ld --print-output-format support.
53943 * configure: Regenerated.
53944 * Makerules ($(common-objpfx)format.lds)
53945 [$(output-format) != unknown]: Just use $(output-format),
53946 instead of the linker-script munging.
53948 2011-07-14 Roland McGrath <roland@hack.frob.com>
53950 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53951 of $(common-objpfx)shlib.lds.
53952 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53954 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53955 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53957 * configure.in (-z relro check): Adjust test code to add a large
53958 writable data section after it.
53959 * configure: Regenerated.
53961 2011-07-11 Roland McGrath <roland@hack.frob.com>
53963 * configure.in (-z relro check): Fix test code to make the variable
53965 * configure: Regenerated.
53967 2011-07-11 Ulrich Drepper <drepper@gmail.com>
53969 * nscd/nscd.h (struct traced_file): Define.
53970 (struct database_dyn): Remove inotify_descr, reset_res, and filename
53971 elements. Add traced_files.
53972 (inotify_fd): Declare.
53973 (register_traced_file): Declare.
53974 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53975 (inotify_fd): Export.
53976 (resolv_conf_descr): Remove.
53977 (nscd_init): Move inotify descriptor creation to main.
53978 Don't register files for notification here.
53979 (register_traced_file): New function.
53980 (invalidate_cache): Don't use reset_res to determine whether to call
53981 res_init, go through the list of registered files.
53982 (main_loop_poll): The inotify descriptors are now stored in the
53983 structures for the traced files.
53984 (main_loop_epoll): Likewise
53985 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
53986 to __nss_disable_nscd.
53987 * nscd/cache.c (prune_cache): There is no single inotify descriptor
53988 for a database anymore. Check the records for all the registered
53990 * nss/Makefile (libnss_files-routines): Add files-init.
53991 (libnss_db-routines): Add db-init.
53992 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53993 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53994 * nss/nss_db/db-init.c: New file.
53995 * nss/nss_files/files-init.c: New file.
53996 * nss/nsswitch.c (nss_load_library): New function. Broken out of
53997 __nss_lookup_function.
53998 (__nss_lookup_function): Call nss_load_library.
53999 (nss_load_all_libraries): New function.
54000 (__nss_disable_nscd): Take parameter with callback function for files
54001 to register. Set is_nscd. Load all the DSOs for the NSS modules
54002 used for the cached services.
54003 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54004 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54005 options for features to all the files in nscd.
54007 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54009 2011-07-10 Roland McGrath <roland@hack.frob.com>
54011 * csu/elf-init.c (__libc_csu_init): Comment typo.
54013 2011-07-09 Ulrich Drepper <drepper@gmail.com>
54015 * po/pl.po: Update from translation team.
54016 * po/ja.po: Likewise.
54017 * po/ru.po: Likewise.
54018 * po/ko.po: Likewise.
54019 * po/fr.po: Likewise.
54021 2011-07-09 Roland McGrath <roland@hack.frob.com>
54023 * configure.in (.ctors/.dtors header and trailer check):
54024 Use an empirical test on a built program.
54025 * configure: Regenerated.
54027 * configure.in (-z relro check): Use an empirical test on a built DSO.
54028 Detect, but do not require, on ia64.
54029 * configure: Regenerated.
54031 * configure.in (READELF): Find it with AC_CHECK_TOOL.
54032 Update tests that use readelf to use $READELF instead.
54033 * configure: Regenerated.
54035 2011-07-08 Ulrich Drepper <drepper@gmail.com>
54037 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
54038 if the result is not used.
54040 2011-07-05 Andreas Jaeger <aj@suse.de>
54043 * stdlib/tst-strtod.c: Add testcase.
54045 2011-07-07 Ulrich Drepper <drepper@gmail.com>
54047 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
54048 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
54049 The latter has a higher limit. Take additional parameter to pass to
54051 (__pathconf): Pass file to __statfs_link_max.
54052 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54054 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54058 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54059 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54061 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54062 (__statfs_filesize_max): Likewise.
54063 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54065 2011-07-05 Andreas Jaeger <aj@suse.de>
54067 * resolv/res_comp.c (dn_skipname): Remove unused variable.
54069 2011-07-06 Marek Polacek <mpolacek@redhat.com>
54071 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54073 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
54076 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
54078 * Makefile (strop-tests): Add strncat.
54079 * string/test-strncat.c: New file.
54081 2011-06-30 Marek Polacek <mpolacek@redhat.com>
54083 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54085 2011-06-21 Andreas Jaeger <aj@suse.de>
54087 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54088 Copy rule from iconvdata/Makefile.
54090 2011-07-06 Ulrich Drepper <drepper@gmail.com>
54093 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54094 but no long options are defined, just return 'W'.
54096 2011-06-22 Marek Polacek <mpolacek@redhat.com>
54099 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54101 2011-07-06 Ulrich Drepper <drepper@gmail.com>
54103 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54105 (innetgr): Likewise.
54107 2011-07-05 Roland McGrath <roland@hack.frob.com>
54109 * config.make.in (install_root): Default to $(DESTDIR).
54111 2011-07-05 Ulrich Drepper <drepper@gmail.com>
54113 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54115 2011-07-02 Roland McGrath <roland@hack.frob.com>
54117 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54119 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54120 containing directory rather than embedding absolute directory names.
54122 * scripts/check-local-headers.sh: Rewritten using awk.
54123 Match by word, not by line. Print error messages for matches.
54124 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54126 * Makerules [shlib-lds-flags empty]:
54127 ($(common-objpfx)libc_pic.opts): New target.
54128 ($(common-objpfx)libc_pic.os.clean): New target.
54129 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54131 * config.make.in (OBJCOPY): New variable.
54132 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54133 * configure: Regenerated.
54135 * config.make.in (use-default-link): New variable.
54136 * configure.in (use_default_link): Grok --with-default-link to set it.
54137 * configure: Regenerated.
54138 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54139 (shlib-lds, shlib-lds-flags): Define to empty.
54141 * Makerules (shlib-lds): New variable.
54142 (shlib-lds-flags): New variable.
54143 (build-shlib, build-moduile, build-module-asneeded): Use it.
54144 ($(common-objpfx)libc.so): Use $(shlib-lds).
54145 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54146 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54148 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54149 DT_FLAGS/DT_FLAGS_1 with zero flags.
54151 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54152 linker script munging.
54154 2011-07-02 Ulrich Drepper <drepper@gmail.com>
54156 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54158 * crypt/sha512.c (sha512_process_block): Perform total addition using
54159 128-bit if possible.
54160 (__sha512_finish_ctx): Likewise.
54161 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
54163 * crypt/sha256.c (SWAP64): Define.
54164 (sha256_process_block): Perform total addition using 64-bit if
54166 (__sha256_finish_ctx): Likewise.
54168 2011-07-01 Ulrich Drepper <drepper@gmail.com>
54170 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
54171 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54172 * nscd/hstcache.c (cache_addhst): Likewise.
54173 * nscd/grpcache.c (cache_addgr): Likewise.
54174 * nscd/aicache.c (addhstaiX): Likewise
54175 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54177 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
54179 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
54180 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54181 * nscd/hstcache.c (cache_addhst): Likewise.
54182 * nscd/grpcache.c (cache_addgr): Likewise.
54183 * nscd/aicache.c (addhstaiX): Likewise
54185 2011-07-01 Andreas Schwab <schwab@redhat.com>
54187 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54188 domain only when needed.
54190 2011-06-30 Andreas Schwab <schwab@redhat.com>
54192 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54193 is always restored.
54195 2011-06-29 Ulrich Drepper <drepper@gmail.com>
54197 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54198 are re-adding the entry.
54199 * nscd/servicescache.c (cache_addserv): Likewise.
54201 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
54203 * sysdeps/generic/dl-irel.h: fix protection against multiple
54205 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54207 2011-06-28 Ulrich Drepper <drepper@gmail.com>
54210 * malloc/memusage.sh: Fix quoting in message.
54211 * debug/xtrace.sh: Likewise.
54213 * configure.in: Remove support for --experimental-malloc option, make
54215 * config.make.in: Likewise.
54216 * malloc/Makefile: Likewise.
54218 2011-06-27 Andreas Schwab <schwab@redhat.com>
54220 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54221 two-byte characters.
54223 2011-06-27 Roland McGrath <roland@hack.frob.com>
54225 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54226 AC_CACHE_CHECK invocation.
54227 * configure: Regenerated.
54229 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54231 2011-06-27 Ulrich Drepper <drepper@gmail.com>
54234 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
54235 bit from old_res_options.
54237 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54239 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54240 value type for setfct.
54242 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
54244 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54245 __gettimeofday instead of gettimeofday.
54247 2011-06-26 Ulrich Drepper <drepper@gmail.com>
54249 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54251 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
54253 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54255 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
54258 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54260 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54261 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54262 strcpy-sse2-unaligned strncpy-sse2-unaligned
54263 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
54264 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
54265 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
54266 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
54267 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
54268 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
54269 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
54270 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
54271 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
54272 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
54273 (STRCPY): Support SSE2 and SSSE3 versions.
54275 2011-06-24 Ulrich Drepper <drepper@gmail.com>
54278 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
54279 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
54280 kernels which artificially limit size of requests.
54282 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54284 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54285 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54286 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
54287 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
54288 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
54289 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
54290 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
54291 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
54292 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
54293 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
54294 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
54295 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
54296 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
54297 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
54298 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
54299 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54300 Enable unaligned load optimization for Intel Core i3, i5 and i7
54302 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
54304 (index_Fast_Unaligned_Load): Define.
54305 (HAS_FAST_UNALIGNED_LOAD): Define.
54307 2011-06-23 Marek Polacek <mpolacek@redhat.com>
54309 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
54311 2011-06-22 Ulrich Drepper <drepper@gmail.com>
54314 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
54315 until it is clear that the information is realy needed.
54316 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
54318 2011-06-22 Andreas Schwab <schwab@redhat.com>
54320 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
54322 2011-06-22 Ulrich Drepper <drepper@gmail.com>
54324 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54325 /sys/devices/system/cpu/online if it is usable.
54327 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
54328 reading the information from the /proc filesystem to once a second.
54330 2011-06-21 Andreas Jaeger <aj@suse.de>
54332 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
54333 NULL after inclusion of kernel headers.
54335 2011-06-21 Ulrich Drepper <drepper@gmail.com>
54337 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
54338 calls to internal_setent.
54341 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
54342 addresses using gethostbyname4_r ignore IPv4 addresses.
54344 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
54345 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
54347 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
54349 2011-06-20 David S. Miller <davem@davemloft.net>
54351 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
54353 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
54355 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
54356 (elf_irel): Use it.
54357 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
54358 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
54359 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
54360 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
54361 * sysdeps/x86_64/dl-irel.h: Likewise.
54363 * elf/dl-runtime.c: Use elf_ifunc_invoke.
54364 * elf/dl-sym.c: Likewise.
54366 2011-06-15 Ulrich Drepper <drepper@gmail.com>
54368 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
54369 need to dereference resplen2.
54371 2011-06-14 Andreas Schwab <schwab@redhat.com>
54373 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
54375 2011-06-15 Ulrich Drepper <drepper@gmail.com>
54377 * Makeconfig: Define vardbdir and inst_vardbdir.
54378 * nss/Makefile: Add rules to install db-Makefile.
54380 * nss/nss_db/db-XXX.c: Cleanup.
54382 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
54383 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
54385 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
54386 * nss/makedb.c: Implement -g option to specify that value strings
54387 are generated and should not be added to table iterated over for
54389 * nss/nss_db/db-initgroups.c: New file.
54391 * nss/getent.c: Add support for initgroups lookups through getgrouplist
54394 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
54395 (internal_getgrouplist): Adjust to name change.
54396 Update use_initgroups_entry if this is not the first call.
54397 * nss/databases.def: Add initgroups entry.
54399 * nss/makedb.c (compute_tables): Check result of multiple hash table
54400 sizes to minimize maximum chain length.
54402 2011-06-14 Ulrich Drepper <drepper@gmail.com>
54404 * Versions.def: Add entry for libnss_db.
54405 * shlib-versions: Likewise.
54406 * nss/Makefile: Add rules to build libnss_db.
54407 * nss/Versions: Add libnss_db information. Organize libnss_files
54409 * nss/db-Makefile: Add gshadow support. Change rules for the new
54410 makedb progra. Some minor improvements to generate smaller files.
54411 * nss/nss_db/nss_db.h: Move NSS database header data structures to
54413 * nss/makedb.c: ...here.
54414 Improve database format to be smaller and require less memory at
54416 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
54418 * nss/nss_db/db-netgrp.c: Likewise.
54419 * nss/nss_db/db-open.c: Likewise.
54420 * nss/nss_files/flies-XXX.x: Adjust comments.
54421 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
54422 * nss/nss_files/files-grp.c: Likewise.
54423 * nss/nss_files/files-hosts.c: Likewise.
54424 * nss/nss_files/files-network.c: Likewise.
54425 * nss/nss_files/files-proto.c: Likewise.
54426 * nss/nss_files/files-pwd.c: Likewise.
54427 * nss/nss_files/files-rpc.c: Likewise.
54428 * nss/nss_files/files-service.c: Likewise.
54429 * nss/nss_files/files-sgrp.c: Likewise.
54430 * nss/nss_files/files-spwd.c: Likewise.
54431 * nss/nss_db/db-alias.c: Removed.
54432 * nss/nss_db/dummy-db.h: Removed.
54434 2011-06-02 Ulrich Drepper <drepper@gmail.com>
54436 * nss/makedb.c: Rewritten to not use database library.
54437 * nss/Makefile: Update to build new makedb program.
54439 2011-06-14 Andreas Jaeger <aj@suse.de>
54441 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
54442 memset declaration.
54444 2011-06-10 Andreas Schwab <schwab@redhat.com>
54446 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
54449 2011-06-10 Roland McGrath <roland@hack.frob.com>
54451 * Makerules (shlib.lds): Fail if the linker script comes out empty.
54452 * elf/Makefile ($(objpfx)ld.so): Likewise.
54454 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
54455 Don't list ld.so twice in dependencies.
54457 * posix/bug-regex31.c: Include <stdlib.h>.
54459 * nscd/hstcache.c (cache_addhst): Remove unused variable.
54461 * nis/nss_compat/compat-spwd.c
54462 (getspent_next_nss_netgr): Remove unused variable.
54463 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
54465 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
54466 nonmembers" output to use the right array.
54468 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
54470 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
54472 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
54473 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
54474 * catgets/gencat.c (read_input_file): Likewise.
54475 * locale/programs/locarchive.c (enlarge_archive): Likewise.
54477 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
54478 variable definition inside #if's controlling its use.
54480 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
54482 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
54484 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
54486 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
54489 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
54491 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
54492 * configure: Regenerated.
54494 * Makerules: Revert last change.
54495 * elf/Makefile: Likewise.
54497 2011-06-09 Roland McGrath <roland@hack.frob.com>
54499 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
54500 * elf/Makefile ($(objpfx)librtld.os): Likewise.
54501 (reloc-link): Likewise.
54503 2011-06-09 Ulrich Drepper <drepper@gmail.com>
54505 * elf/Makefile: Add rules to build pldd.
54506 * elf/pldd.c: New file.
54507 * elf/pldd-xx.c: New file.
54509 2011-06-07 Ulrich Drepper <drepper@gmail.com>
54511 * version.h: Update for 2.15 development version.
54513 2011-06-07 David S. Miller <davem@davemloft.net>
54515 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
54517 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
54518 elf_machine_lazy_rel): Likewise.
54519 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54520 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
54521 elf_machine_lazy_rel): Likewise.
54522 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
54523 dl_hwcap via passed in argument.
54524 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
54527 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54529 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
54531 2011-06-06 Roland McGrath <roland@hack.frob.com>
54534 * manual/fdl-1.1.texi: New file, verbatim from:
54535 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
54536 * manual/lgpl-2.1.texi: New file, verbatim from:
54537 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
54538 * manual/Makefile (licenses): New variable, list those new file names.
54540 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
54542 * manual/fdl.texi: File removed.
54543 * manual/lesser.texi: File removed.
54544 * manual/libc.texinfo (Copying, Documentation License):
54545 Use new @include file names, put @appendix directive before @include.
54547 2011-06-04 Jakub Jelinek <jakub@redhat.com>
54550 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
54551 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
54552 (mq_open): Add __NTH.
54554 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
54556 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54557 Assume Intel Core i3/i5/i7 processor if AVX is available.
54559 2011-05-31 Ulrich Drepper <drepper@gmail.com>
54561 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54564 2011-05-31 Andreas Schwab <schwab@redhat.com>
54566 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
54567 memory. Use alloca_account. Fix memory leak when retrying.
54569 2011-05-31 Ulrich Drepper <drepper@gmail.com>
54571 * version.h (RELEASE): Bump for 2.14 release.
54572 * include/features.h (__GLIBC_MINOR__): Bump to 14.
54574 * config.make.in (RANLIB): Remove entry.
54576 2011-05-30 Ulrich Drepper <drepper@gmail.com>
54578 * po/Makefile (po-sed-cmd): Add ksh to extensions.
54579 (libc.pot): Work around missing support for .ksh extension in xgettext.
54582 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
54583 if both request failed.
54584 (send_dg): In case of server errors clear resplen or *resplen2.
54587 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
54588 when there are multiple maps.
54589 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
54590 (_dl_fini): Remove test here.
54592 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
54594 2011-05-29 Ulrich Drepper <drepper@gmail.com>
54597 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
54598 bit from old_res_options.
54599 (gaih_inet): Likewise.
54602 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
54605 * resolv/res_init.c (res_setoptions): Make the code more compact.
54608 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
54612 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
54614 * malloc/malloc.h: Mark malloc hook variables as deprecated.
54617 * malloc/malloc.h: Declare malloc hook variables as volatile.
54619 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
54623 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
54624 raise in the comment.
54625 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54626 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54627 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
54629 2011-05-28 Ulrich Drepper <drepper@gmail.com>
54632 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
54633 grow the buffers more if it already has to be sufficient.
54634 (build_wcs_upper_buffer): Likewise.
54635 * posix/regexec.c (check_matching): Likewise.
54636 (clean_state_log_if_needed): Likewise.
54637 (extend_buffers): Don't enlarge buffers beyond size of the input
54639 Patches mostly by Emil Wojak <emil@wojak.eu>.
54640 * posix/bug-regex32.c: New file.
54641 * posix/Makefile (tests): Add bug-regex32.
54643 * locale/findlocale.c (_nl_find_locale): Return right away if
54644 _nl_explode_name failed.
54645 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
54647 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
54649 * debug/xtrace.sh: Unify messages.
54650 * malloc/memusage.sh: Likewise.
54653 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
54654 time symbol from vDSO. Substitute with vsyscall if not available.
54655 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
54658 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
54659 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
54660 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
54661 Add sendmmsg and internal_sendmmsg.
54662 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
54663 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
54664 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
54666 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
54667 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
54668 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
54670 2011-05-27 Ulrich Drepper <drepper@gmail.com>
54673 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
54674 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
54676 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
54680 * iconvdata/Makefile (tests): Add bug-iconv9.
54681 * iconvdata/bug-iconv9.c: New file.
54683 2011-05-27 Andreas Schwab <schwab@redhat.com>
54686 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
54688 2011-05-25 Jakub Jelinek <jakub@redhat.com>
54690 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54691 (struct user_regs_struct): Change intcs field back to cs.
54693 2011-05-25 Ulrich Drepper <drepper@gmail.com>
54695 * po/ja.po: Update from translation team.
54697 2011-05-23 Ulrich Drepper <drepper@gmail.com>
54700 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
54701 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
54703 2011-05-20 Andreas Schwab <schwab@redhat.com>
54705 * stdlib/longlong.h: Update from GCC.
54707 2011-05-23 Andreas Schwab <schwab@redhat.com>
54709 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
54711 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
54712 Add parameter name.
54713 (__sysconf): Pass it down.
54715 2011-05-22 Ulrich Drepper <drepper@gmail.com>
54718 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
54720 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54721 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
54722 add in in __libc_use_alloca calls. Adjust callers.
54723 (glob): Use malloc in some situations.
54725 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
54726 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
54729 2011-05-21 Ulrich Drepper <drepper@gmail.com>
54731 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
54732 and CLOCK_BOOTTIME_ALARM.
54735 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
54738 * string/_strerror.c (__strerror_r): Print negative errors as signed
54742 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
54743 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
54744 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
54746 * configure.in: Fix typo in redirection and correct removal of test
54747 files in two cases.
54750 * locale/setlocale.c (new_composite_name): Fix test to check for
54751 identical name of all categories.
54754 * libio/filedoalloc.c (local_isatty): New function.
54755 (_IO_file_doallocate): Use local_isatty.
54756 * stdio-common/perror.c (perror): In case a new stream is used
54757 forward the stream error.
54758 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
54761 2011-05-20 Ulrich Drepper <drepper@gmail.com>
54764 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
54766 * include/alloca.h (extend_alloca_account): Define.
54769 * posix/regex.h: Fix comments with documentation of user-accessible
54770 fields after compilation and describe correct free'ing of pattern
54771 after re_compile_pattern.
54772 Patch by Reuben Thomas <rrt@sc3d.org>.
54774 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
54776 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54777 and -mno-altivec to prevent the compiler from using Altivec and/or
54778 VSX instructions when the corresponding registers are not available.
54780 2011-05-19 Andreas Schwab <schwab@redhat.com>
54782 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54784 2011-05-19 Ulrich Drepper <drepper@gmail.com>
54786 * libio/freopen.c (freopen): Use __dup2, not dup2.
54787 * libio/freopen64.c (freopen64): Likewise.
54789 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
54792 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54793 * math/Makefile (tests): Add test-powl.
54794 (CFLAGS-test-powl.c): Define.
54795 * math/test-powl.c: New file.
54797 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
54799 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54801 2011-05-17 Ulrich Drepper <drepper@gmail.com>
54804 * iconvdata/gb18030.c: Update to GB18020-2005.
54806 2011-05-16 Ulrich Drepper <drepper@gmail.com>
54808 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54809 RE_SYNTAX_POSIX_AWK): Update to match recent development.
54810 Patch by Aharon Robbins <arnold@skeeve.com>.
54813 * stdlib/putenv.c (putenv): Don't always create copy of the variable
54817 * misc/pselect.c (__pselect): Handle timeout value errors hidden
54818 through underflows.
54821 * misc/error.c (error_at_line): Ensure file_name and old_file_name
54822 point to strings before performing equality test for error_one_per_line
54826 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54829 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54830 (struct user_fpregs_struct): Avoid __uint*_t types.
54833 * malloc/mtrace.c (tr_where): Add additional parameter to point to
54834 symbol info. Use it instead of calling _dl_addr locally.
54835 (lock_and_info): New function.
54836 (tr_freehook): Call lock_and_info and pass symbol info as additional
54837 parameter to tr_where.
54838 (tr_mallochook): Likewise.
54839 (tr_reallochook): Likewise.
54840 (tr_memalignhook): Likewise.
54842 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
54843 used and couldn't be at all thread-safe.
54845 2011-05-15 Ulrich Drepper <drepper@gmail.com>
54847 * libio/freopen.c (freopen): Don't close old file descriptor
54848 before the new one is opened. Instead dup the new file descriptor
54849 to the old one after the new stream is created.
54850 * libio/freopen64.c (freopen64): Likewise.
54851 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
54852 * libio/fileops.c (_IO_new_file_close_it): Handle new
54853 _IO_FLAGS2_NOCLOSE flag.
54854 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
54855 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
54856 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
54857 _IO_FLAGS2_NOCLOSE flag.
54858 * include/unistd.h: Add hidden_proto for dup3.
54859 Define __have_dup3.
54860 * io/dup3.c: Define hidden symbol.
54861 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
54864 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
54865 when an incomplete long option is used.
54866 * posix/tst-getopt_long1.c: New file.
54867 * posix/Makefile (tests): Add tst-getopt_long1.
54870 * scripts/config.guess: Update from autoconf-2.68.
54871 * scripts/config.sub: Likewise.
54874 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
54876 (has_cpuclock): ...this. New function.
54877 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
54878 macro here based on has_cpuclock code.
54881 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54882 First byte (not low byte) is now always NUL.
54883 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
54885 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54886 Use non-cancelable interfaces.
54889 * locale/iso-639.def: Add entry for Sorani.
54892 * include/stdlib.h: Move include protection to the right place.
54893 Define abort_msg_s. Declare __abort_msg with it.
54894 * stdlib/abort.c (__abort_msg): Adjust type.
54895 * assert/assert.c (__assert_fail_base): New function. Majority
54896 of code from __assert_fail. Allocate memory for __abort_msg with
54898 (__assert_fail): Now call __assert_fail_base.
54899 * assert/assert-perr.c: Remove bulk of implementation. Use
54900 __assert_fail_base.
54901 * include/assert.hL Declare __assert_fail_base.
54902 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
54904 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
54906 2011-05-14 Ulrich Drepper <drepper@gmail.com>
54910 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
54911 until all modules are registered in the DTV.
54912 * elf/Makefile: Add rules to build and run tst-tls19.
54913 * elf/tst-tls19.c: New file.
54914 * elf/tst-tls19mod1.c: New file.
54915 * elf/tst-tls19mod2.c: New file.
54916 * elf/tst-tls19mod3.c: New file.
54917 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
54920 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
54924 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
54925 two-byte sequence errors.
54926 * iconvdata/Makefile (tests): Add bug-iconv8.
54927 * iconvdata/bug-iconv8.c: New file.
54930 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54933 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54936 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54937 (dummy_getcfa): New function.
54938 (init): Get _Unwind_GetCFA address, use dummy if not found.
54939 (backtrace_helper): In recursion check, also check whether CFA changes.
54940 (__backtrace): Completely initialize arg.
54942 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
54943 storing incomplete byte sequence in state object. Avoid testing for
54944 guaranteed too small input if we know there is enough data available.
54946 2011-05-11 Andreas Schwab <schwab@redhat.com>
54948 * Makeconfig (+link-pie): Indent.
54949 * Rules (binaries-pie): Define if $(have-fpie) and
54951 (binaries-shared): Also filter out $(binaries-pie).
54952 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54953 * nscd/Makefile (others-pie): Add nscd.
54954 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54955 ($(objpfx)nscd): Remove command override.
54956 * login/Makefile (others-pie): Add pt_chown.
54957 ($(objpfx)pt_chown): Remove command override.
54958 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54959 remove command overrides.
54961 2011-05-13 Ulrich Drepper <drepper@gmail.com>
54963 * libio/tst_putwc.c: Fix error messages.
54966 * libio/fileops.c (_IO_new_file_close_it): Always flush when
54967 currently writing and seek to current position when not.
54968 * libio/Makefile (tests): Add bug-fclose1.
54969 * libio/bug-fclose1.c: New file.
54971 2011-05-12 Ulrich Drepper <drepper@gmail.com>
54974 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54975 don't set DF_1_NODELETE here.
54976 (do_lookup_x): When entering new entry test for copy relocation
54977 and if necessary set DF_1_NODELETE flag.
54978 * elf/tst-unique4.cc: New file.
54979 * elf/tst-unique4.h: New file.
54980 * elf/tst-unique4lib.cc: New file.
54981 * elf/Makefile: Add rules to build and run tst-unique4.
54982 Patch by Piotr Bury <pbury@goahead.com>.
54984 2011-05-11 Ulrich Drepper <drepper@gmail.com>
54987 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54990 * misc/mntent_r.c (addmntent): Flush the stream after the output
54993 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54994 (is_trusted_path_normalize): Skip initial colon. Append slash
54995 to empty buffer. Duplicate is_trusted_path code but allow
54996 constructed patch to be prefix.
54997 (is_dst): Allow $ORIGIN followed by /.
54998 (_dl_dst_substitute): Correct clearing of check_for_trusted.
54999 Correct testing of result of is_trusted_path_normalize
55000 (decompose_rpath): Fix warning.
55002 2011-05-10 Ulrich Drepper <drepper@gmail.com>
55005 * grp/initgroups.c (internal_getgrouplist): When we found the service
55006 list through the initgroups entry in nsswitch.conf do not always
55007 continue on a successful lookup. Don't always use the
55008 __nss_group_database value if it is set.
55009 * nss/nsswitch.conf (initgroups): Change action for successful db
55010 lookup to continue for compatibility.
55012 2011-05-09 Ulrich Drepper <drepper@gmail.com>
55015 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
55017 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
55019 * iconvdata/tst-tables.sh: Likewise.
55020 * iconvdata/cp770.c: New file.
55021 * iconvdata/cp771.c: New file.
55022 * iconvdata/cp772.c: New file.
55023 * iconvdata/cp773.c: New file.
55024 * iconvdata/cp774.c: New file.
55025 * iconvdata/testdata/CP770: New file.
55026 * iconvdata/testdata/CP770..UTF8: New file.
55027 * iconvdata/testdata/CP771: New file.
55028 * iconvdata/testdata/CP771..UTF8: New file.
55029 * iconvdata/testdata/CP772: New file.
55030 * iconvdata/testdata/CP772..UTF8: New file.
55031 * iconvdata/testdata/CP773: New file.
55032 * iconvdata/testdata/CP773..UTF8: New file.
55033 * iconvdata/testdata/CP774: New file.
55034 * iconvdata/testdata/CP774..UTF8: New file.
55036 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
55038 * iconvdata/gen-8bit-gap.sh: Likewise.
55039 * iconvdata/gen-8bit.sh: Likewise.
55041 * locale/iso-639.def: Add ary entry.
55044 * locale/C-translit.h.in: Add U20A1 transliteration.
55047 * locale/iso-639.def: Add wae entry.
55048 Patch by Kevin Bortis <bortis@translate-wae.ch>.
55051 * locale/programs/localedef.c (construct_output_path): Use ssize_t
55055 * locale/C-translit.h.in: Add entry for U20B9.
55056 Patch by pravin.d.s@gmail.com.
55058 2011-05-08 Ulrich Drepper <drepper@gmail.com>
55061 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55062 ENAMETOOLONG use generic getcwd.
55063 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
55064 in rtld. Use *stat64.
55065 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
55066 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
55067 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
55068 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55069 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55070 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55071 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55072 __fstatat64 macros.
55073 * include/dirent.h: Add libc_hidden_proto for rewinddir.
55074 * dirent/rewinddir.c: Add libc_hidden_def.
55075 * sysdeps/mach/hurd/rewinddir.c: Likewise.
55076 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
55078 * include/dirent.h (__alloc_dir): Add flags parameter.
55079 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55080 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55082 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
55083 from fdopendir if O_CLOEXEC is already set.
55085 2011-03-15 Alan Modra <amodra@gmail.com>
55087 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55088 l_tls_firstbyte_offset non-zero. Save padding offset in
55089 l_tls_firstbyte_offset for later use.
55090 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55091 freeing static tls block.
55093 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
55095 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55096 where #ifdef was intended. The intent is to prevent ARG_MAX from
55097 being defined by the kernel headers.
55099 2011-05-07 Ulrich Drepper <drepper@gmail.com>
55102 * resolv/resolv.h: Define RES_NOTLDQUERY.
55103 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55104 no-tld-query and set RES_NOTLDQUERY.
55105 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55106 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55107 modern BIND to search name as TLD unless forbidden.
55109 2011-05-07 Petr Baudis <pasky@suse.cz>
55110 Ulrich Drepper <drepper@gmail.com>
55113 * elf/dl-load.c (fillin_rpath): Move trusted path check...
55114 (is_trusted_path): ...to here.
55115 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
55116 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
55117 using is_trusted_path_normalize() in setuid scripts.
55119 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
55121 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55122 __BEGIN/__END_DECLS.
55124 2011-05-06 Ulrich Drepper <drepper@gmail.com>
55126 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55127 NSS_STATUS_NOTFOUND if no record was found.
55129 2011-05-05 Andreas Schwab <schwab@redhat.com>
55131 * sunrpc/Makefile (headers): Add rpc/netdb.h.
55132 (headers-not-in-tirpc): Remove rpc/netdb.h
55133 * resolv/netdb.h: Revert last change.
55135 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
55137 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55138 circular dependency between libgcc.a and libc.a.
55140 2011-05-05 Andreas Schwab <schwab@redhat.com>
55142 * resolv/netdb.h: Don't include <rpc/netdb.h>.
55143 * nis/Makefile: Don't install rpcsvc/*.
55144 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55145 instead of <rpc/types.h>.
55146 (MAXHOSTNAMELEN): Define.
55148 2011-05-03 Andreas Schwab <schwab@redhat.com>
55150 * elf/ldconfig.c (add_dir): Don't crash on empty path.
55152 2011-04-28 Maciej Babinski <mbabinski@google.com>
55155 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55156 gethostbyname4_r when IPv6 results are possible.
55158 2011-05-02 Ulrich Drepper <drepper@gmail.com>
55161 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
55162 _PC_PIPE_BUF handling.
55164 2011-04-30 Bruno Haible <bruno@clisp.org>
55167 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55168 * resolv/netdb.h (getnameinfo): Change type of flags parameter
55170 * inet/getnameinfo.c (getnameinfo): Likewise.
55172 2011-04-29 Ulrich Drepper <drepper@gmail.com>
55174 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55175 to groups setting in database lookup.
55176 * nss/nsswitch.conf: Add initgroups entry.
55178 2011-04-22 Ulrich Drepper <drepper@gmail.com>
55181 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55183 Patch by Eric Blake <eblake@redhat.com>.
55185 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
55187 * sunrpc/Makefile (need-export-routines): Add svc_run.
55188 (routines): Remove svc_run.
55189 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55190 * sunrpc/clnt_perr.c (clnt_perrno): Export.
55191 * sunrpc/svc_run.c (svc_run): Likewise.
55192 * sunrpc/svc_udp.c (svcudp_create): Likewise.
55194 2011-04-21 Ulrich Drepper <drepper@gmail.com>
55196 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55197 problem in reallocation in last patch.
55199 2011-04-20 Ulrich Drepper <drepper@gmail.com>
55201 * sunrpc/Makefile: Move inclusion of Rules.
55203 2011-04-19 Ulrich Drepper <drepper@gmail.com>
55205 * nss/nss_files/files-initgroups.c: New file.
55206 * nss/Makefile (libnss_files-routines): Add files-initgroups.
55207 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55208 _nss_files_initgroups_dyn.
55210 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
55212 * elf/elf.h (R_ARM_IRELATIVE): Define.
55214 2011-04-19 Ulrich Drepper <drepper@gmail.com>
55216 * po/ru.po: Update from translation team.
55218 2011-04-17 Ulrich Drepper <drepper@gmail.com>
55220 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55223 2011-02-06 Mike Frysinger <vapier@gentoo.org>
55226 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55227 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55228 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55229 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55230 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55232 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
55234 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55236 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55237 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55238 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55240 2011-04-17 Ulrich Drepper <drepper@gmail.com>
55243 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55245 * stdlib/bug-getcontext.c: New file.
55246 * stdlib/Makefile: Add rules to build and run bug-getcontext.
55248 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55250 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55251 instructions into .machine "z9-109".
55252 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55253 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55255 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55257 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
55258 between environment variables and auxiliary vector.
55260 2011-04-16 Ulrich Drepper <drepper@gmail.com>
55262 * Makefile: Add rules to build linkobj/libc.so.
55263 * include/libc-symbols.h: Define libc_hidden_nolink.
55264 * include/rpc/auth.h: Mark functions which are to be hidden.
55265 * include/rpc/auth_des.h: Likewise.
55266 * include/rpc/auth_unix.h: Likewise.
55267 * include/rpc/clnt.h: Likewise.
55268 * include/rpc/des_crypt.h: Likewise.
55269 * include/rpc/key_prot.h: Likewise.
55270 * include/rpc/pmap_clnt.h: Likewise.
55271 * include/rpc/pmap_prot.h: Likewise.
55272 * include/rpc/pmap_rmt.h: Likewise.
55273 * include/rpc/rpc_msg.h: Likewise.
55274 * include/rpc/svc.h: Likewise.
55275 * include/rpc/svc_auth.h: Likewise.
55276 * include/rpc/xdr.h: Likewise.
55277 * nis/Makefile: Link all DSOs against linkobj/libc.so.
55278 * nss/Makefile: Likewise.
55279 * sunrpc/Makefile: Don't install headers. Build library with normal
55280 entry points. Don't build rpcinfo. Link RPC tests appropriately.
55281 * sunrpc/auth_des.c: Hide exported symbols by default, export some
55282 for the compat linking library. Remove use of INTDEF/INTUSE.
55283 * sunrpc/auth_none.c: Likewise.
55284 * sunrpc/auth_unix.c: Likewise.
55285 * sunrpc/authdes_prot.c: Likewise.
55286 * sunrpc/authuxprot.c: Likewise.
55287 * sunrpc/clnt_gen.c: Likewise.
55288 * sunrpc/clnt_perr.c: Likewise.
55289 * sunrpc/clnt_raw.c: Likewise.
55290 * sunrpc/clnt_simp.c: Likewise.
55291 * sunrpc/clnt_tcp.c: Likewise.
55292 * sunrpc/clnt_udp.c: Likewise.
55293 * sunrpc/clnt_unix.c: Likewise.
55294 * sunrpc/des_crypt.c: Likewise.
55295 * sunrpc/des_soft.c: Likewise.
55296 * sunrpc/get_myaddr.c: Likewise.
55297 * sunrpc/key_call.c: Likewise.
55298 * sunrpc/key_prot.c: Likewise.
55299 * sunrpc/netname.c: Likewise.
55300 * sunrpc/pm_getmaps.c: Likewise.
55301 * sunrpc/pm_getport.c: Likewise.
55302 * sunrpc/pmap_clnt.c: Likewise.
55303 * sunrpc/pmap_prot.c: Likewise.
55304 * sunrpc/pmap_prot2.c: Likewise.
55305 * sunrpc/pmap_rmt.c: Likewise.
55306 * sunrpc/publickey.c: Likewise.
55307 * sunrpc/rpc_cmsg.c: Likewise.
55308 * sunrpc/rpc_common.c: Likewise.
55309 * sunrpc/rpc_dtable.c: Likewise.
55310 * sunrpc/rpc_prot.c: Likewise.
55311 * sunrpc/rpc_thread.c: Likewise.
55312 * sunrpc/rtime.c: Likewise.
55313 * sunrpc/svc.c: Likewise.
55314 * sunrpc/svc_auth.c: Likewise.
55315 * sunrpc/svc_authux.c: Likewise.
55316 * sunrpc/svc_raw.c: Likewise.
55317 * sunrpc/svc_run.c: Likewise.
55318 * sunrpc/svc_simple.c: Likewise.
55319 * sunrpc/svc_tcp.c: Likewise.
55320 * sunrpc/svc_udp.c: Likewise.
55321 * sunrpc/svc_unix.c: Likewise.
55322 * sunrpc/svcauth_des.c: Likewise.
55323 * sunrpc/xcrypt.c: Likewise.
55324 * sunrpc/xdr.c: Likewise.
55325 * sunrpc/xdr_array.c: Likewise.
55326 * sunrpc/xdr_float.c: Likewise.
55327 * sunrpc/xdr_intXX_t.c: Likewise.
55328 * sunrpc/xdr_mem.c: Likewise.
55329 * sunrpc/xdr_rec.c: Likewise.
55330 * sunrpc/xdr_ref.c: Likewise.
55331 * sunrpc/xdr_sizeof.c: Likewise.
55332 * sunrpc/xdr_stdio.c: Likewise.
55334 2011-04-10 Ulrich Drepper <drepper@gmail.com>
55337 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
55338 * sysdeps/ia64/dl-tls.h: Likewise.
55339 * sysdeps/powerpc/dl-tls.h: Likewise.
55340 * sysdeps/s390/dl-tls.h: Likewise.
55341 * sysdeps/sh/dl-tls.h: Likewise.
55342 * sysdeps/sparc/dl-tls.h: Likewise.
55343 * sysdeps/x86_64/dl-tls.h: Likewise.
55344 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
55346 2011-03-14 Andreas Schwab <schwab@redhat.com>
55348 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
55349 rpath element also skip the following colon.
55350 (expand_dynamic_string_token): Add is_path parameter and pass
55351 down to DL_DST_REQUIRED and _dl_dst_substitute.
55352 (decompose_rpath): Call expand_dynamic_string_token with
55353 non-zero is_path. Ignore empty rpaths.
55354 (_dl_map_object_from_fd): Call expand_dynamic_string_token
55357 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
55359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55362 2011-04-09 Ulrich Drepper <drepper@gmail.com>
55365 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
55366 Patch by Filipe David Manana <fdmanana@apache.org>.
55368 2011-04-07 Andreas Schwab <schwab@redhat.com>
55370 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
55371 Maintain aligned stack.
55372 (CHECK_RSP): Remove unused macro.
55374 2011-04-03 Ulrich Drepper <drepper@gmail.com>
55376 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
55377 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
55379 2011-04-02 Ulrich Drepper <drepper@gmail.com>
55381 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
55383 * include/features.h: Mention __USE_XOPEN2K8 in comment.
55385 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
55388 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
55389 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
55390 * sysdeps/x86_64/memmove.c: New file.
55391 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
55392 (memcpy): Renamed to ...
55393 (__new_memcpy): This.
55394 (memcpy): Provide GLIBC_2_14 memcpy.
55395 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
55396 (memcpy): Provide GLIBC_2_2_5 memcpy.
55398 2011-04-01 Ulrich Drepper <drepper@gmail.com>
55401 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
55403 2011-03-30 Andreas Schwab <schwab@redhat.com>
55405 * misc/syncfs.c: New file.
55406 * misc/Makefile (routines): Add syncfs.
55407 * posix/unistd.h: Declare syncfs.
55408 * sysdeps/unix/syscalls.list: Add syncfs.
55410 2011-04-01 Andreas Schwab <schwab@redhat.com>
55412 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
55414 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55415 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55416 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55417 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55418 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55419 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
55420 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55422 2011-04-01 Ulrich Drepper <drepper@gmail.com>
55424 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
55425 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55426 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
55427 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55428 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55429 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55430 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55432 * io/Makefile: Compile fallocate.c, fallocate64.c, and
55433 sync_file_range.c with -fexceptions.
55434 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
55435 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
55436 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
55437 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
55438 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
55439 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55440 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
55441 sync_file_range as cancellation point
55442 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
55443 now a wrapper around __call_sync_file_range with cancellation handling.
55444 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
55445 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
55446 function name to __call_sync_file_range.
55447 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
55448 Add call_sync_file_range.
55450 2011-04-01 Andreas Schwab <schwab@redhat.com>
55452 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55455 2011-04-01 Ulrich Drepper <drepper@gmail.com>
55457 * iconv/iconv.h: Fix typo in comment.
55458 * io/fcntl.h: Likewise.
55459 * libio/stdio.h: Likewise.
55460 * posix/spawn.h: Likewise.
55461 * posix/unistd.h: Likewise.
55462 * stdlib/stdlib.h: Likewise.
55463 * time/time.h: Likewise.
55464 * wcsmbs/wchar.h: Likewise.
55466 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
55467 open_by_handle): Add.
55468 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
55469 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
55470 Augment a few comments.
55471 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55472 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55473 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55474 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55475 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55476 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
55479 * io/fcntl.h (AT_EMPTY_PATH): Define.
55481 2011-03-30 Ulrich Drepper <drepper@gmail.com>
55483 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
55484 * sysdeps/unix/sysv/linux/bits/time.h: New file.
55485 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
55487 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
55488 * Versions.def: Add GLIBC_2.14.
55489 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
55492 2011-03-22 Ulrich Drepper <drepper@gmail.com>
55494 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
55496 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55498 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
55501 * string/test-strncmp.c (do_page_test): New function.
55502 (check2): Likewise.
55503 (test_main): Call check2.
55504 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
55506 2011-03-20 Ulrich Drepper <drepper@gmail.com>
55509 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
55510 Handle cache information in CPU leaf 4.
55511 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55513 2011-03-18 Ulrich Drepper <drepper@gmail.com>
55516 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
55517 character representation.
55518 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
55520 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
55522 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
55523 END(__isnan) to END(__isnanf) to match function entry point/label
55524 EALIGN(__isnanf,...).
55526 2011-03-10 Jakub Jelinek <jakub@redhat.com>
55528 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
55530 2011-03-10 Ulrich Drepper <drepper@gmail.com>
55533 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
55534 copy from the symbol referenced in the relocation to initialize the
55536 Patch by Piotr Bury <pbury@goahead.com>.
55537 * elf/Makefile: Add rules to build and tst-unique3.
55538 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
55539 * elf/tst-unique3.cc: New file.
55540 * elf/tst-unique3.h: New file.
55541 * elf/tst-unique3lib.cc: New file.
55542 * elf/tst-unique3lib2.cc: New file.
55544 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
55546 2011-03-10 Mike Frysinger <vapier@gentoo.org>
55548 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
55549 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
55552 2011-03-06 Ulrich Drepper <drepper@gmail.com>
55554 * elf/dl-load.c (_dl_map_object): If we are looking for the first
55555 to-be-loaded object along a path to loader is ld.so.
55557 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55558 Ulrich Drepper <drepper@gmail.com>
55560 * sysdeps/x86_64/memset.S: After aligning destination, code
55561 branches to different locations depending on the value of
55562 misalignment, when multiarch is enabled. Fix this.
55564 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55566 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
55567 Set _x86_64_preferred_memory_instruction for AMD processsors.
55568 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55569 Set bit_Prefer_SSE_for_memop for AMD processors.
55571 2011-03-04 Ulrich Drepper <drepper@gmail.com>
55573 * libio/fmemopen.c (fmemopen): Optimize a bit.
55575 2011-03-03 Andreas Schwab <schwab@redhat.com>
55577 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
55579 2011-03-03 Roland McGrath <roland@redhat.com>
55581 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
55583 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
55585 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
55586 __bzero_ultra1 instead of __memset_ultra1.
55588 2011-02-23 Andreas Schwab <schwab@redhat.com>
55589 Ulrich Drepper <drepper@gmail.com>
55592 * include/link.h (struct link_map): Add l_orig_initfini.
55593 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
55594 returning unsuccessfully.
55595 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
55596 close of a file loaded at startup, restore the original l_initfini
55598 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
55599 list, store the pointer.
55600 * elf/Makefile ($(objpfx)noload-mem): New rule.
55601 (noload-ENV): Define.
55602 (tests): Add $(objpfx)noload-mem.
55603 * elf/noload.c: Include <memcheck.h>.
55604 (main): Call mtrace. Close all opened handles.
55606 2011-02-17 Andreas Schwab <schwab@redhat.com>
55609 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
55610 dependencies are missing.
55612 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
55614 Fix __if_freereq crash: Unlike the generic version which uses free,
55616 * sysdeps/mach/hurd/ifreq.h: New file.
55618 2011-01-27 Petr Baudis <pasky@suse.cz>
55619 Ulrich Drepper <drepper@gmail.com>
55622 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
55623 to extend_alloca().
55624 * stdio-common/bug23.c: New file.
55625 * stdio-common/Makefile (tests): Add bug23.
55627 2010-09-28 Andreas Schwab <schwab@redhat.com>
55628 Ulrich Drepper <drepper@gmail.com>
55631 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
55632 before performing relro protection. At old place add assertion
55633 to make sure nothing changed.
55635 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
55636 Glauber de Oliveira Costa <glommer@gmail.com>
55638 * elf/elf.h: Add new ARM TLS relocs.
55640 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
55642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55643 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
55645 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
55647 * sysdeps/wordsize-64/tst-writev.c: New file.
55649 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
55651 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
55652 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
55653 insns in _dl_start to prevent a TOC reference before relocs are
55656 2011-02-15 Ulrich Drepper <drepper@gmail.com>
55659 * Makeconfig: Remove RANLIB definition.
55660 * Makerules: Don't use RANLIB.
55661 * aclocal.m4: Remove ranlib test.
55662 * configure.in: No need to check for ranlib.
55663 * elf/rtld-Rules: Don't use RANLIB.
55665 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
55667 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
55669 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
55670 inclusion protection macro.
55672 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
55673 SIGRTMIN and SIGRTMAX and print information in that case only when
55674 SIGRTMIN is defined.
55676 2011-02-11 Jakub Jelinek <jakub@redhat.com>
55678 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
55679 arginfo fn returning -1.
55681 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
55682 and thousands string is zero terminated.
55684 2011-02-03 Andreas Schwab <schwab@redhat.com>
55686 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
55687 sysdeps/unix/sysv/linux/bits/socket.h.
55689 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
55691 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
55692 (__CPU_COUNT): Remove old macros.
55693 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
55694 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
55695 (__CPU_ALLOC, __CPU_FREE): Add macros.
55696 (__sched_cpualloc, __sched_cpufree): Add declarations.
55698 2011-02-05 Ulrich Drepper <drepper@gmail.com>
55700 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
55701 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
55702 * nscd/aicache.c (addhstaiX): Return timeout of added value.
55703 (readdhstai): Return value of addhstaiX call.
55704 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
55705 (addgrbyX): Return value returned by cache_addgr.
55706 (readdgrbyname): Return value returned by addgrbyX.
55707 (readdgrbygid): Likewise.
55708 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
55709 (addpwbyX): Return value returned by cache_addpw.
55710 (readdpwbyname): Return value returned by addhstbyX.
55711 (readdpwbyuid): Likewise.
55712 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
55713 (addservbyX): Return value returned by cache_addserv.
55714 (readdservbyname): Return value returned by addservbyX:
55715 (readdservbyport): Likewise.
55716 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
55717 (addhstbyX): Return value returned by cache_addhst.
55718 (readdhstbyname): Return value returned by addhstbyX.
55719 (readdhstbyaddr): Likewise.
55720 (readdhstbynamev6): Likewise.
55721 (readdhstbyaddrv6): Likewise.
55722 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
55723 (readdinitgroups): Return value returned by addinitgroupsX.
55724 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
55725 (prune_cache): Keep track of timeout value of re-added entries.
55726 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
55727 * nscd/nscd.h: Adjust prototypes of readd* functions.
55729 2011-02-04 Roland McGrath <roland@redhat.com>
55731 * nis/nis_server.c (nis_servstate): Use the right name for 0.
55732 (nis_stats): Likewise.
55733 * nis/nis_modify.c (nis_modify): Likewise.
55734 * nis/nis_remove.c (nis_remove): Likewise.
55735 * nis/nis_add.c (nis_add): Likewise.
55737 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
55739 * posix/fnmatch_loop.c: Add some consts.
55741 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
55743 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
55746 * config.make.in (config-cflags-novzeroupper): Define.
55747 * configure.in: Substitute libc_cv_cc_novzeroupper.
55748 * elf/Makefile (AVX-CFLAGS): Define.
55749 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
55750 (CFLAGS-tst-auditmod4a.c): Likewise.
55751 (CFLAGS-tst-auditmod4b.c): Likewise.
55752 (CFLAGS-tst-auditmod6b.c): Likewise.
55753 (CFLAGS-tst-auditmod6c.c): Likewise.
55754 (CFLAGS-tst-auditmod7b.c): Likewise.
55755 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
55757 2011-02-02 Ulrich Drepper <drepper@gmail.com>
55759 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
55760 function to the callback.
55761 Patch partly by Jiri Olsa <jolsa@redhat.com>.
55763 2011-02-02 Andreas Schwab <schwab@redhat.com>
55765 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
55768 2011-01-19 Ulrich Drepper <drepper@gmail.com>
55771 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55773 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55775 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55778 * elf/Makefile: Add rules to build and run new test.
55779 * elf/tst-initorder.c: New file.
55780 * elf/tst-initorder.exp: New file.
55781 * elf/tst-initordera1.c: New file.
55782 * elf/tst-initordera2.c: New file.
55783 * elf/tst-initordera3.c: New file.
55784 * elf/tst-initordera4.c: New file.
55785 * elf/tst-initorderb1.c: New file.
55786 * elf/tst-initorderb2.c: New file.
55787 * elf/tst-order-a1.c: New file.
55788 * elf/tst-order-a2.c: New file.
55789 * elf/tst-order-a3.c: New file.
55790 * elf/tst-order-a4.c: New file.
55791 * elf/tst-order-b1.c: New file.
55792 * elf/tst-order-b2.c: New file.
55793 * elf/tst-order-main.c: New file.
55794 New test case by George Gensure <werkt0@gmail.com>.
55796 2010-10-01 Andreas Schwab <schwab@redhat.com>
55798 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55799 decoding ACE if AI_CANONIDN.
55801 2011-01-18 Ulrich Drepper <drepper@gmail.com>
55803 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55805 2011-01-17 Ulrich Drepper <drepper@gmail.com>
55807 * version.h (RELEASE): Bump for 2.13 release.
55808 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55810 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55812 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55814 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55815 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55816 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55817 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55818 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55819 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55821 * posix/getconf.c: Update copyright year.
55822 * catgets/gencat.c: Likewise.
55823 * csu/version.c: Likewise.
55824 * debug/catchsegv.sh: Likewise.
55825 * debug/xtrace.sh: Likewise.
55826 * elf/ldconfig.c: Likewise.
55827 * elf/ldd.bash.in: Likewise.
55828 * elf/sprof.c (print_version): Likewise.
55829 * iconv/iconv_prog.c: Likewise.
55830 * iconv/iconvconfig.c: Likewise.
55831 * locale/programs/locale.c: Likewise.
55832 * locale/programs/localedef.c: Likewise.
55833 * malloc/memusage.sh: Likewise.
55834 * malloc/mtrace.pl: Likewise.
55835 * nscd/nscd.c (print_version): Likewise.
55836 * nss/getent.c: Likewise.
55838 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55839 PF_CAIF, and PF_ALG.
55840 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55842 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
55844 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55845 (modules-names): Use them.
55846 (ifunc-test-modules, ifunc-pie-tests): Define.
55847 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55848 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55849 (test-extras): Likewise.
55850 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
55851 $(compile-command.c).
55852 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
55853 (all-built-dso): Define.
55854 (check-textrel.out, check-execstack.out): Depend on it.
55856 * configure.in: Don't override --enable-multi-arch.
55858 2011-01-15 Ulrich Drepper <drepper@gmail.com>
55861 * nscd/hstcache.c (tryagain): Define.
55862 (cache_addhst): Return tryagain not notfound for temporary errors.
55863 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
55866 2011-01-14 Ulrich Drepper <drepper@gmail.com>
55869 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
55870 to make the syscall.
55871 * sysdeps/unix/sysv/linux/setgroups.c: New file.
55874 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
55875 and fall back to matching as normal character if the string ends before
55876 the matching ']' is found. This is what POSIX requires.
55877 * posix/testfnm.c: Adjust test result.
55878 * posix/globtest.sh: Adjust test result. Add new test.
55879 * posix/tst-fnmatch.input: Likewise.
55880 * posix/tst-fnmatch2.c: Add new test.
55882 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
55884 * elf/Makefile (check-execstack): Revert last change. Depend on
55886 (check-execstack.h): New target.
55887 (generated): Add check-execstack.h.
55888 * elf/check-execstack.c: Include "check-execstack.h".
55889 (main): Revert last change.
55890 (handle_file): Return zero if GNU_STACK is absent and
55891 DEFAULT_STACK_PERMS doesn't include PF_X.
55893 2011-01-13 Ulrich Drepper <drepper@gmail.com>
55895 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
55896 in child fails because the descriptor is already closed.
55897 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
55898 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
55899 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
55902 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
55906 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
55907 temporary buffer used to handle multi lookups locally.
55908 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
55910 2011-01-12 Ulrich Drepper <drepper@gmail.com>
55912 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
55915 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
55917 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
55918 alignment for SSE2.
55920 2011-01-12 Ulrich Drepper <drepper@gmail.com>
55923 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
55924 characters. When rounding increased number of integer digits recompute
55926 * stdio-common/tst-grouping.c: New file.
55927 * stdio-common/Makefile: Add rules to build and run tst-grouping.
55929 2011-01-09 Ulrich Drepper <drepper@gmail.com>
55931 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55932 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
55934 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55936 * bits/select.h: Likewise.
55938 2011-01-08 Ulrich Drepper <drepper@gmail.com>
55940 * po/ja.po: Update from translation team.
55942 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
55945 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55946 implementation just like for lxstat, fxstatat, et al.
55948 2010-12-27 Jim Meyering <meyering@redhat.com>
55951 * posix/regexec.c (build_trtable): Return failure indication upon
55952 calloc failure. Otherwise, re_search_internal could infloop on OOM.
55954 2010-12-25 Ulrich Drepper <drepper@gmail.com>
55957 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55958 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55959 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55960 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55963 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55966 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55967 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55969 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
55971 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55972 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55973 script has SORT_BY_INIT_PRIORITY.
55974 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55975 NO_CTORS_DTORS_SECTIONS is defined.
55976 * elf/soinit.c: Likewise.
55977 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55978 NO_CTORS_DTORS_SECTIONS is defined.
55979 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55980 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55981 * sysdeps/sh/init-first.c: Likewise.
55982 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55984 2010-12-24 Ulrich Drepper <drepper@gmail.com>
55986 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55987 always use the slow path.
55989 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
55991 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55992 similar rule which adds the sysdep directories to the header search in
55993 order to pick up the correct platform stackinfo.h.
55994 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55995 perform test if it is, otherwise return successfully without testing.
55996 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55997 DEFAULT_STACK_PERMS define in stackinfo.h.
55998 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55999 defined in stackinfo.h.
56000 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56001 DEFAULT_STACK_PERMS defined in stackinfo.h.
56002 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56003 * sysdeps/ia64/stackinfo.h: Likewise.
56004 * sysdeps/s390/stackinfo.h: Likewise.
56005 * sysdeps/sh/stackinfo.h: Likewise.
56006 * sysdeps/sparc/stackinfo.h: Likewise.
56007 * sysdeps/x86_64/stackinfo.h: Likewise.
56008 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56009 PF_X for powerpc64. Retain PF_X for powerpc32.
56011 2010-12-19 Ulrich Drepper <drepper@gmail.com>
56013 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
56015 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
56016 GETDENTS_64BIT_ALIGNED.
56018 2010-12-14 Ulrich Drepper <dreper@gmail.com>
56020 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
56022 2010-12-10 Andreas Schwab <schwab@redhat.com>
56024 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
56027 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
56028 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
56030 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
56031 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
56033 2010-12-09 Ulrich Drepper <drepper@gmail.com>
56036 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
56039 2010-12-09 Jakub Jelinek <jakub@redhat.com>
56041 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
56043 2010-12-03 Ulrich Drepper <drepper@gmail.com>
56045 * po/it.po: Update from translation team.
56047 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
56049 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56052 2010-11-30 Ulrich Drepper <drepper@gmail.com>
56054 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56056 2010-11-24 Andreas Schwab <schwab@redhat.com>
56058 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56060 (gaih_getanswer_slice): Likewise.
56062 2010-10-20 Jakub Jelinek <jakub@redhat.com>
56064 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56066 2010-05-31 Petr Baudis <pasky@suse.cz>
56069 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56070 silently even in the chroot mode.
56072 2010-11-22 Ulrich Drepper <drepper@gmail.com>
56074 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
56075 last patch a bit. Pretty printing
56077 2010-05-31 Petr Baudis <pasky@suse.cz>
56080 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56081 initialization of skip_initgroups_dyn.
56083 2010-11-19 Ulrich Drepper <drepper@gmail.com>
56085 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56086 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56088 2010-11-16 Ulrich Drepper <drepper@gmail.com>
56090 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56092 2010-11-11 Andreas Schwab <schwab@redhat.com>
56094 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56095 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56096 (tst-fnmatch-ENV): Set MALLOC_TRACE.
56097 ($(objpfx)tst-fnmatch-mem): New rule.
56098 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56099 * posix/tst-fnmatch.c (main): Call mtrace.
56101 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
56103 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56104 Support Intel processor model 6 and model 0x2c.
56106 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
56108 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56111 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
56114 * string/test-strncasecmp.c (check_result): New function.
56115 (do_one_test): Use it.
56116 (check1): New function.
56117 (test_main): Use it.
56118 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56119 Support strcasecmp and strncasecmp.
56121 2010-11-08 Ulrich Drepper <drepper@gmail.com>
56124 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56125 * sysdeps/x86_64/bits/byteswap.h: Likewise.
56127 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
56129 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56131 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56133 * sysdeps/x86_64/multiarch/bzero.S: New file.
56134 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56135 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56136 * sysdeps/x86_64/multiarch/memset.S: New file.
56137 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56138 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56139 Set bit_Prefer_SSE_for_memop for Intel processors.
56140 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56142 (index_Prefer_SSE_for_memop): Define.
56143 (HAS_PREFER_SSE_FOR_MEMOP): Define.
56145 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
56147 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56148 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56150 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
56153 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56154 (__x86_64_raw_data_cache_size_half): Likewise.
56155 (__x86_64_raw_shared_cache_size): Likewise.
56156 (__x86_64_raw_shared_cache_size_half): Likewise.
56158 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56159 (__x86_64_raw_data_cache_size_half): Likewise.
56160 (__x86_64_raw_shared_cache_size): Likewise.
56161 (__x86_64_raw_shared_cache_size_half): Likewise.
56162 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
56163 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56164 and __x86_64_raw_shared_cache_size_half. Round
56165 __x86_64_data_cache_size_half, __x86_64_data_cache_size
56166 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56167 to multiple of 256 bytes.
56169 2010-11-03 Ulrich Drepper <drepper@gmail.com>
56172 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56173 of inacessible symlinks. Verify result of symlink before returning it.
56174 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56175 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56177 2010-10-28 Erich Ritz <erichritz@gmail.com>
56179 * math/math.h (isinf): Fix typo in comment.
56181 2010-11-01 Ulrich Drepper <drepper@gmail.com>
56183 * po/da.po: Update from translation team.
56185 2010-10-26 Ulrich Drepper <drepper@gmail.com>
56187 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56188 is added to the list.
56190 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56191 Ulrich Drepper <drepper@gmail.com>
56193 * elf/dl-object.c (_dl_new_object): Don't append the new object to
56194 the global list here. Move code to...
56195 (_dl_add_to_namespace_list): ...here. New function.
56196 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56197 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56198 * elf/dl-load.c (lose): Don't remove the element from the list.
56199 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56200 (_dl_map_object): Likewise.
56202 2010-10-25 Ulrich Drepper <drepper@gmail.com>
56205 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56206 into all bytes of SSE register.
56207 Patch by Richard Li <richardpku@gmail.com>.
56209 2010-10-24 Ulrich Drepper <drepper@gmail.com>
56212 * malloc/malloc.c (_int_free): Fill correct number of bytes when
56215 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
56217 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56218 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56219 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56220 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56225 2010-10-22 Andreas Schwab <schwab@redhat.com>
56227 * include/dlfcn.h (__RTLD_SECURE): Define.
56228 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
56229 mode & __RTLD_SECURE instead.
56230 (open_path): Rename preloaded parameter to secure.
56231 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56232 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56233 * elf/dl-deps.c (openaux): Likewise.
56234 * elf/rtld.c (struct map_args): Remove is_preloaded.
56235 (map_doit): Don't use it.
56236 (dl_main): Likewise.
56237 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56238 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56240 2010-09-09 Andreas Schwab <schwab@redhat.com>
56242 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56243 (sysd-rules-targets): Remove duplicates.
56244 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56245 rtld-%.$o dependency.
56247 2010-10-18 Andreas Schwab <schwab@redhat.com>
56249 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56250 _dl_map_object do it.
56252 2010-10-19 Ulrich Drepper <drepper@gmail.com>
56254 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56255 fast fma builtins, define the macros in the C99 standard.
56256 (FP_FAST_FMAF): Likewise.
56257 (FP_FAST_FMAL): Likewise.
56258 * sysdeps/x86_64/bits/mathdef.h: Likewise.
56260 * bits/mathdef.h: Update copyright year.
56261 * sysdeps/powerpc/bits/mathdef.h: Likewise.
56263 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
56265 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
56266 builtins, define the macros in the C99 standard.
56267 (FP_FAST_FMAF): Likewise.
56268 (FP_FAST_FMAL): Likewise.
56269 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
56271 (FP_FAST_FMAF): Likewise.
56273 2010-10-15 Jakub Jelinek <jakub@redhat.com>
56276 * math/libm-test.inc (fma_test): Some new testcases.
56277 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
56278 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
56279 y and infinite z. Do multiplication by C already in long double.
56280 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
56281 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
56282 y and infinite z. Do bitwise or of inexact bit into u.d.
56283 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
56284 * sysdeps/i386/fpu/s_fmaf.S: Removed.
56285 * sysdeps/i386/fpu/s_fma.S: Removed.
56286 * sysdeps/i386/fpu/s_fmal.S: Removed.
56288 2010-10-16 Jakub Jelinek <jakub@redhat.com>
56291 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
56292 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
56293 computation is not scheduled after fetestexcept. Fix value
56294 of minimum denormal long double.
56296 2010-10-14 Jakub Jelinek <jakub@redhat.com>
56299 * math/libm-test.inc (fma_test): Add some more tests.
56300 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
56303 2010-10-15 Andreas Schwab <schwab@redhat.com>
56305 * scripts/data/localplt-s390-linux-gnu.data: New file.
56306 * scripts/data/localplt-s390x-linux-gnu.data: New file.
56308 2010-10-13 Jakub Jelinek <jakub@redhat.com>
56311 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
56312 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
56314 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
56316 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
56317 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
56318 if one of x and y is very large and the other is subnormal.
56319 * sysdeps/s390/fpu/s_fmaf.c: New file.
56320 * sysdeps/s390/fpu/s_fma.c: New file.
56321 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
56322 * sysdeps/powerpc/fpu/s_fma.S: New file.
56323 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
56324 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
56325 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
56327 2010-10-12 Jakub Jelinek <jakub@redhat.com>
56330 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
56332 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
56333 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
56334 * sysdeps/i386/i686/multiarch/s_fma.c: Include
56335 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
56336 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
56337 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
56338 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
56340 2010-10-12 Ulrich Drepper <drepper@redhat.com>
56343 * posix/regcomp.c (parse_branch): One more memory leak plugged.
56344 * posix/bug-regex31.input: Add test case.
56346 2010-10-11 Ulrich Drepper <drepper@gmail.com>
56348 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
56349 * posix/bug-regex31.input: New file.
56352 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
56353 (parse_sub_exp): Fix last change, use postorder.
56355 * posix/bug-regex31.c: New file.
56356 * posix/Makefile: Add rules to build and run bug-regex31.
56358 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
56361 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
56364 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
56365 to have entries in sys_siglist.
56368 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
56371 2010-10-07 Jakub Jelinek <jakub@redhat.com>
56374 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
56375 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
56376 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
56377 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
56378 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56379 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
56380 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
56381 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
56382 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
56383 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
56384 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
56385 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
56386 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
56387 * math/ftestexcept.c (fetestexcept): Likewise.
56388 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
56389 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
56390 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
56391 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
56392 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
56393 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
56394 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56396 2010-10-11 Ulrich Drepper <drepper@gmail.com>
56399 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
56402 2010-10-06 Ulrich Drepper <drepper@gmail.com>
56404 * string/bug-strstr1.c: New file.
56405 * string/Makefile: Add rules to build and run bug-strstr1.
56407 2010-10-05 Eric Blake <eblake@redhat.com>
56410 * string/str-two-way.h (two_way_long_needle): Always clear memory
56411 when skipping input due to the shift table.
56413 2010-10-03 Ulrich Drepper <drepper@gmail.com>
56416 * malloc/mcheck.c: Handle large requests.
56419 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
56420 for strncmp and strncasecmp.
56421 * string/stratcliff.c: Add tests for strcmp and strncmp.
56422 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
56424 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
56426 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
56429 2010-09-30 Andreas Jaeger <aj@suse.de>
56431 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
56432 (CGROUP_SUPER_MAGIC): Define.
56433 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56434 Handle btrfs and cgroup file systems.
56435 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56438 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
56440 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
56441 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
56443 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56446 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
56447 trying to locate the ELF header.
56449 2010-09-27 Andreas Schwab <schwab@redhat.com>
56452 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
56453 Mask out sign-bit copies when constructing f_fsid.
56455 2010-09-24 Petr Baudis <pasky@suse.cz>
56457 * debug/stack_chk_fail_local.c: Add missing licence exception.
56458 * debug/warning-nop.c: Likewise.
56460 2010-09-15 Joseph Myers <joseph@codesourcery.com>
56462 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
56463 implementing getdents64 using getdents syscall, set d_type if
56464 __ASSUME_GETDENTS32_D_TYPE.
56466 2010-09-16 Andreas Schwab <schwab@redhat.com>
56468 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
56469 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
56471 2010-09-21 Ulrich Drepper <drepper@redhat.com>
56474 * posix/unistd.h: Undo change of feature selection for ftruncate from
56477 2010-09-20 Ulrich Drepper <drepper@redhat.com>
56479 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
56482 2010-09-20 Andreas Schwab <schwab@redhat.com>
56484 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
56486 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56488 2010-09-14 Andreas Schwab <schwab@redhat.com>
56490 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
56491 variables after CHECK_SP call.
56492 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
56494 2010-09-13 Andreas Schwab <schwab@redhat.com>
56495 Ulrich Drepper <drepper@redhat.com>
56497 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
56498 re-relocationg ld.so.
56499 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
56500 _dl_init_paths call.
56501 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
56504 2010-09-14 Ulrich Drepper <drepper@redhat.com>
56506 * resolv/res_init.c (__res_vinit): Count the default server we added.
56508 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
56509 Ulrich Drepper <drepper@redhat.com>
56512 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56513 (____longjmp_chk): Use %ebx for saving value across system call.
56516 2010-09-06 Andreas Schwab <schwab@redhat.com>
56518 * manual/Makefile: Don't mix pattern rules with normal rules.
56520 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
56522 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
56524 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
56525 * libio/iofopncook.c (_IO_cookie_init): Likewise.
56526 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
56527 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
56528 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56531 2010-09-04 Ulrich Drepper <drepper@redhat.com>
56534 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
56535 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
56537 2010-09-02 Ulrich Drepper <drepper@redhat.com>
56539 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
56540 * sysdeps/x86_64/addmul_1.S: Likewise.
56541 * sysdeps/x86_64/lshift.S: Likewise.
56542 * sysdeps/x86_64/mul_1.S: Likewise.
56543 * sysdeps/x86_64/rshift.S: Likewise.
56544 * sysdeps/x86_64/sub_n.S: Likewise.
56545 * sysdeps/x86_64/submul_1.S: Likewise.
56547 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
56549 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
56550 Define __sched_param instead of SCHED_* and sched_param when
56551 <bits/sched.h> is included with __need_schedparam defined.
56552 * bits/sched.h [__need_schedparam]
56553 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
56554 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
56555 (__defined_schedparam): Define to 1.
56556 (__sched_param): New structure, identical to sched_param.
56557 (__need_schedparam): Undefine.
56559 2010-08-31 Mike Frysinger <vapier@gentoo.org>
56561 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
56562 (epoll_create1): Declare.
56564 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
56566 2010-08-31 Andreas Schwab <schwab@redhat.com>
56569 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
56570 shifting retval into place.
56572 2010-09-01 Ulrich Drepper <drepper@redhat.com>
56574 * nis/rpcsvc/nis.h: Update copyright notice.
56575 * nis/rpcsvc/nis.x: Likewise.
56576 * nis/rpcsvc/nis_callback.h: Likewise.
56577 * nis/rpcsvc/nis_callback.x: Likewise.
56578 * nis/rpcsvc/nis_object.x: Likewise.
56579 * nis/rpcsvc/nis_tags.h: Likewise.
56580 * nis/rpcsvc/yp.h: Likewise.
56581 * nis/rpcsvc/yp.x: Likewise.
56582 * nis/rpcsvc/ypupd.h: Likewise.
56583 * nis/yp_xdr.c: Likewise.
56584 * nis/ypupdate_xdr.c: Likewise.
56586 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
56587 mainly the body of pmap_getport. Add parameters to specify timeouts.
56588 (pmap_getport): Use __libc_rpc_getport.
56589 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
56590 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
56591 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
56593 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
56595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
56598 2010-08-27 Roland McGrath <roland@redhat.com>
56600 * sysdeps/i386/i686/multiarch/Makefile
56601 (CFLAGS-varshift.c): New variable.
56603 2010-08-27 Ulrich Drepper <drepper@redhat.com>
56605 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
56606 * sysdeps/i386/i686/multiarch/varshift.c: New file.
56608 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
56610 * sysdeps/x86_64/strlen.S: Minimal code improvement.
56612 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
56614 * sysdeps/x86_64/strlen.S: Unroll the loop.
56615 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56616 strlen-sse2 strlen-sse2-bsf.
56617 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
56618 __strlen_no_bsf if bit_Slow_BSF is set.
56619 (__strlen_sse42): Removed.
56620 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
56621 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
56623 2010-08-25 Roland McGrath <roland@redhat.com>
56625 * sysdeps/x86_64/multiarch/varshift.S: File removed.
56626 * sysdeps/x86_64/multiarch/varshift.c: New file.
56627 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
56628 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
56629 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
56630 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56632 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
56634 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56635 strlen-sse2 strlen-sse2-bsf.
56636 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
56637 __strlen_sse2_bsf if bit_Slow_BSF is unset.
56638 (__strlen_sse2): Removed.
56639 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
56640 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
56641 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
56642 bit_Slow_BSF for Atom.
56643 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
56644 (index_Slow_BSF): Define.
56645 (HAS_SLOW_BSF): Define.
56647 2010-08-25 Ulrich Drepper <drepper@redhat.com>
56650 * resolv/res_init.c (__res_vinit): When no server address at all
56651 is given default to loopback.
56653 2010-08-24 Roland McGrath <roland@redhat.com>
56655 * configure.in: Remove config-name.h generation.
56656 * configure: Regenerated.
56657 * config-name.in: File removed.
56658 * scripts/config-uname.sh: New file.
56659 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
56660 ($(objdir)config-name.h): New target.
56662 * sunrpc/rpc_parse.h: Avoid nested comment.
56664 2010-08-24 Richard Henderson <rth@redhat.com>
56665 Ulrich Drepper <drepper@redhat.com>
56666 H.J. Lu <hongjiu.lu@intel.com>
56668 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
56669 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
56670 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
56671 Replace _mm_srli_si128 with __m128i_shift_right. Replace
56672 _mm_alignr_epi8 with _mm_loadu_si128.
56673 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
56674 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
56675 (__m128i_shift_right): Removed.
56676 * sysdeps/i386/i686/multiarch/varshift.h: New file.
56677 * sysdeps/i386/i686/multiarch/varshift.S: New file.
56678 * sysdeps/x86_64/multiarch/varshift.h: New file.
56679 * sysdeps/x86_64/multiarch/varshift.S: New file.
56681 2010-08-21 Mike Frysinger <vapier@gentoo.org>
56683 * configure.in: Move assembler checks to before sysdep dir checking.
56685 2010-08-20 Petr Baudis <pasky@suse.cz>
56687 * LICENSES: Sync the sunrpc license.
56689 2010-08-19 Ulrich Drepper <drepper@redhat.com>
56691 * sunrpc/auth_des.c: Update copyright notice once again.
56692 * sunrpc/auth_none.c: Likewise.
56693 * sunrpc/auth_unix.c: Likewise.
56694 * sunrpc/authdes_prot.c: Likewise.
56695 * sunrpc/authuxprot.c: Likewise.
56696 * sunrpc/bindrsvprt.c: Likewise.
56697 * sunrpc/clnt_gen.c: Likewise.
56698 * sunrpc/clnt_perr.c: Likewise.
56699 * sunrpc/clnt_raw.c: Likewise.
56700 * sunrpc/clnt_simp.c: Likewise.
56701 * sunrpc/clnt_tcp.c: Likewise.
56702 * sunrpc/clnt_udp.c: Likewise.
56703 * sunrpc/clnt_unix.c: Likewise.
56704 * sunrpc/des_crypt.c: Likewise.
56705 * sunrpc/des_soft.c: Likewise.
56706 * sunrpc/get_myaddr.c: Likewise.
56707 * sunrpc/getrpcport.c: Likewise.
56708 * sunrpc/key_call.c: Likewise.
56709 * sunrpc/key_prot.c: Likewise.
56710 * sunrpc/openchild.c: Likewise.
56711 * sunrpc/pm_getmaps.c: Likewise.
56712 * sunrpc/pm_getport.c: Likewise.
56713 * sunrpc/pmap_clnt.c: Likewise.
56714 * sunrpc/pmap_prot.c: Likewise.
56715 * sunrpc/pmap_prot2.c: Likewise.
56716 * sunrpc/pmap_rmt.c: Likewise.
56717 * sunrpc/rpc/auth.h: Likewise.
56718 * sunrpc/rpc/auth_unix.h: Likewise.
56719 * sunrpc/rpc/clnt.h: Likewise.
56720 * sunrpc/rpc/des_crypt.h: Likewise.
56721 * sunrpc/rpc/key_prot.h: Likewise.
56722 * sunrpc/rpc/netdb.h: Likewise.
56723 * sunrpc/rpc/pmap_clnt.h: Likewise.
56724 * sunrpc/rpc/pmap_prot.h: Likewise.
56725 * sunrpc/rpc/pmap_rmt.h: Likewise.
56726 * sunrpc/rpc/rpc.h: Likewise.
56727 * sunrpc/rpc/rpc_des.h: Likewise.
56728 * sunrpc/rpc/rpc_msg.h: Likewise.
56729 * sunrpc/rpc/svc.h: Likewise.
56730 * sunrpc/rpc/svc_auth.h: Likewise.
56731 * sunrpc/rpc/types.h: Likewise.
56732 * sunrpc/rpc/xdr.h: Likewise.
56733 * sunrpc/rpc_clntout.c: Likewise.
56734 * sunrpc/rpc_cmsg.c: Likewise.
56735 * sunrpc/rpc_common.c: Likewise.
56736 * sunrpc/rpc_cout.c: Likewise.
56737 * sunrpc/rpc_dtable.c: Likewise.
56738 * sunrpc/rpc_hout.c: Likewise.
56739 * sunrpc/rpc_main.c: Likewise.
56740 * sunrpc/rpc_parse.c: Likewise.
56741 * sunrpc/rpc_parse.h: Likewise.
56742 * sunrpc/rpc_prot.c: Likewise.
56743 * sunrpc/rpc_sample.c: Likewise.
56744 * sunrpc/rpc_scan.c: Likewise.
56745 * sunrpc/rpc_scan.h: Likewise.
56746 * sunrpc/rpc_svcout.c: Likewise.
56747 * sunrpc/rpc_tblout.c: Likewise.
56748 * sunrpc/rpc_util.c: Likewise.
56749 * sunrpc/rpc_util.h: Likewise.
56750 * sunrpc/rpcinfo.c: Likewise.
56751 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
56752 * sunrpc/rpcsvc/key_prot.x: Likewise.
56753 * sunrpc/rpcsvc/klm_prot.x: Likewise.
56754 * sunrpc/rpcsvc/mount.x: Likewise.
56755 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
56756 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
56757 * sunrpc/rpcsvc/rex.x: Likewise.
56758 * sunrpc/rpcsvc/rstat.x: Likewise.
56759 * sunrpc/rpcsvc/rusers.x: Likewise.
56760 * sunrpc/rpcsvc/sm_inter.x: Likewise.
56761 * sunrpc/rpcsvc/spray.x: Likewise.
56762 * sunrpc/rpcsvc/yppasswd.x: Likewise.
56763 * sunrpc/rtime.c: Likewise.
56764 * sunrpc/svc.c: Likewise.
56765 * sunrpc/svc_auth.c: Likewise.
56766 * sunrpc/svc_authux.c: Likewise.
56767 * sunrpc/svc_raw.c: Likewise.
56768 * sunrpc/svc_run.c: Likewise.
56769 * sunrpc/svc_simple.c: Likewise.
56770 * sunrpc/svc_tcp.c: Likewise.
56771 * sunrpc/svc_udp.c: Likewise.
56772 * sunrpc/svc_unix.c: Likewise.
56773 * sunrpc/svcauth_des.c: Likewise.
56774 * sunrpc/xcrypt.c: Likewise.
56775 * sunrpc/xdr.c: Likewise.
56776 * sunrpc/xdr_array.c: Likewise.
56777 * sunrpc/xdr_float.c: Likewise.
56778 * sunrpc/xdr_mem.c: Likewise.
56779 * sunrpc/xdr_rec.c: Likewise.
56780 * sunrpc/xdr_ref.c: Likewise.
56781 * sunrpc/xdr_sizeof.c: Likewise.
56782 * sunrpc/xdr_stdio.c: Likewise.
56784 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56787 2010-08-19 Andreas Schwab <schwab@redhat.com>
56789 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56791 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
56793 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56794 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56795 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56796 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56797 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56798 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56799 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56800 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56801 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56802 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56803 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56804 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56805 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56806 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56808 2010-07-26 Anton Blanchard <anton@samba.org>
56810 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56811 * malloc/arena.c (heap_trim): Likewise.
56813 2010-08-16 Ulrich Drepper <drepper@redhat.com>
56815 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56817 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56818 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56820 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
56822 * sysdeps/i386/elf/Makefile: New file.
56824 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56826 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56827 from fanotify_init.
56828 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56829 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56831 2010-08-15 Ulrich Drepper <drepper@redhat.com>
56833 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56835 * sysdeps/multiarch/strcmp.S: Likewise.
56837 2010-08-14 Ulrich Drepper <drepper@redhat.com>
56839 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56840 strncase_l-nonascii.
56841 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56842 Add strncase_l-ssse3.
56843 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56844 * sysdeps/x86_64/strcmp.S: Likewise.
56845 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56846 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56847 * sysdeps/x86_64/strncase.S: New file.
56848 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56849 * sysdeps/x86_64/strncase_l.S: New file.
56850 * string/Makefile (strop-tests): Add strncasecmp.
56851 * string/test-strncasecmp.c: New file.
56853 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
56856 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
56857 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
56859 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56861 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
56863 2010-08-12 Ulrich Drepper <drepper@redhat.com>
56865 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
56866 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
56867 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
56869 2010-05-01 Alan Modra <amodra@gmail.com>
56871 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
56872 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
56873 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
56874 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
56875 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
56876 tidying. Don't tail-call __sigjmp_save for static lib.
56877 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
56879 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
56880 (CALL_MCOUNT): Add eh info, and nop after bl.
56881 (TAIL_CALL_SYSCALL_ERROR): New macro.
56882 (PSEUDO_RET): Use it.
56883 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56884 Correct save location of integer regs and cr.
56885 (_dl_profile_resolve): Correct cr save location. Delete nops
56886 after bl when SHARED. Reduce cfi size a little by better
56887 placement of cfi directives.
56888 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
56889 make a stack frame. Instead use parm save area as a temp.
56890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
56891 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
56892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56893 Don't make a stack frame for parent, use parm save area.
56894 Increase child stack frame to 112 bytes. Don't save unused reg,
56895 and adjust reg usage. Set up cfi on error recovery and
56896 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
56897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56898 (__makecontext): Add dummy nop after jump to exit.
56899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
56900 Use correct parm save area and cr save, reduce stack frame.
56901 Correct cfi for possible PSEUDO_RET frame setup.
56902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
56903 Branch to local label emitted by PSEUDO_RET rather than
56906 2010-08-12 Andreas Schwab <schwab@redhat.com>
56909 * locale/programs/locale.c (print_assignment): New function.
56910 (show_locale_vars): Use it.
56912 2010-08-11 Ulrich Drepper <drepper@redhat.com>
56914 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
56916 (struct statfs64): Likewise.
56917 (_STATFS_F_FLAGS): Define.
56918 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
56919 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56920 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
56921 (ST_VALID): Define locally.
56922 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
56923 __statvfs_getflags, use the provided value.
56924 * sysdeps/unix/sysv/linux/kernel-features.h: Define
56925 __ASSUME_STATFS_F_FLAGS.
56927 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
56929 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
56930 Add sys/fanotify.h.
56931 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56932 fanotify_mask for GLIBC_2.13.
56933 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56934 fanotify_init and fanotify_mark.
56935 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56936 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56938 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56940 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56941 prlimit64 for GLIBC_2.13.
56942 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56944 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56947 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56948 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56949 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56950 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
56952 * sysdeps/unix/sysv/linux/prlimit.c: New file.
56955 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56956 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56958 * nss/Makefile: Add rules to build and run tst-nss-test1.
56959 * shlib-versions: Add entry for libnss_test1.
56960 * nss/nss_test1.c: New file.
56961 * nss/tst-nss-test1.c: New file.
56963 * nss/nsswitch.c (__nss_database_custom): Define new variable.
56964 (__nss_configure_lookup): Set appropriate entry in
56965 __nss_configure_lookup to true.
56966 * nss/nsswitch.h: Define enum with indeces of databases in
56967 databases and __nss_database_custom arrays. Declare
56968 __nss_database_custom.
56969 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56970 to avoid using nscd when custom rules are installed.
56971 * nss/getXXbyYY_r.c: Likewise.
56972 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56974 * nss/nss_files/files-parse.c: Whitespace fixes.
56976 2010-08-09 Ulrich Drepper <drepper@redhat.com>
56979 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56980 * posix/fnmatch_loop.c: Likewise.
56982 2010-07-17 Andi Kleen <ak@linux.intel.com>
56984 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56985 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56986 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56987 * Versions.def [GLIBC_2.13]: Add.
56989 2010-08-06 Ulrich Drepper <drepper@redhat.com>
56991 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56992 Also fail if tpwd after pwuid call is NULL.
56994 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
56996 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56997 when converting to ms.
56999 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57001 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57002 EOPNOTSUPP errors with ENOTTY.
57003 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57004 EOPNOTSUPP errors with ENOTTY.
57006 2010-07-31 Ulrich Drepper <drepper@redhat.com>
57008 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57009 Add strcasecmp_l-ssse3.
57010 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57012 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57013 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57014 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
57016 2010-07-30 Ulrich Drepper <drepper@redhat.com>
57018 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
57020 * string/Makefile (strop-tests): Add strcasecmp.
57021 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57022 strcasecmp_l-nonascii.
57023 (gen-as-const-headers): Add locale-defines.sym.
57024 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
57025 * sysdeps/x86_64/strcasecmp.S: New file.
57026 * sysdeps/x86_64/strcasecmp_l.S: New file.
57027 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
57028 * sysdeps/x86_64/locale-defines.sym: New file.
57029 * string/test-strcasecmp.c: New file.
57031 * string/test-strcasestr.c: Test both ends of the range of characters.
57032 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
57034 2010-07-29 Roland McGrath <roland@redhat.com>
57037 * manual/locale.texi (Yes-or-No Questions): Fix example code.
57039 2010-07-27 Ulrich Drepper <drepper@redhat.com>
57041 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
57044 2010-07-27 Andreas Schwab <schwab@redhat.com>
57046 * manual/memory.texi (Malloc Tunable Parameters): Document
57049 2010-07-26 Roland McGrath <roland@redhat.com>
57052 * configure.in (-fgnu89-inline check): Set and substitute
57053 gnu89_inline, not libc_cv_gnu89_inline.
57054 * configure: Regenerated.
57055 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57057 2010-07-26 Ulrich Drepper <drepper@redhat.com>
57059 * string/test-strnlen.c: New file.
57060 * string/Makefile (strop-tests): Add strnlen.
57061 * string/tester.c (test_strnlen): Add a few more test cases.
57062 * string/tst-strlen.c: Better error reporting.
57064 * sysdeps/x86_64/strnlen.S: New file.
57066 2010-07-24 Ulrich Drepper <drepper@redhat.com>
57068 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57069 lower-latency instructions.
57071 2010-07-23 Ulrich Drepper <drepper@redhat.com>
57073 * string/test-strcasestr.c: New file.
57074 * string/test-strstr.c: New file.
57075 * string/Makefile (strop-tests): Add strstr and strcasestr.
57076 * string/str-two-way.h: Don't undefine MAX.
57077 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
57079 2010-07-21 Andreas Schwab <schwab@redhat.com>
57081 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57082 strcasestr-nonascii.
57083 (CFLAGS-strcasestr-nonascii.c): Define.
57084 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57085 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57086 Remove unused attribute.
57088 2010-07-20 Roland McGrath <roland@redhat.com>
57090 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57091 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
57092 ld.so.cache was broken. With it, there is no way to disable dsocaps
57093 like LD_HWCAP_MASK can disable hwcaps.
57095 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57097 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57099 2010-07-16 Ulrich Drepper <drepper@redhat.com>
57101 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57102 call in strcasestr.
57103 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57104 __strcasestr_sse42_nonascii.
57105 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57106 strcasestr-nonascii.c.
57107 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57109 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
57111 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57112 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57113 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57114 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57116 2010-07-09 Ulrich Drepper <drepper@redhat.com>
57118 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57121 2010-07-06 Andreas Schwab <schwab@redhat.com>
57124 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57127 2010-07-06 Ulrich Drepper <drepper@redhat.com>
57129 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57130 _PC_PIPE_BUF using F_GETPIPE_SZ.
57132 2010-07-05 Roland McGrath <roland@redhat.com>
57134 * manual/arith.texi (Rounding Functions): Fix rint description
57135 implicit in round description.
57137 2010-07-02 Ulrich Drepper <drepper@redhat.com>
57139 * elf/Makefile: Fix linking for a few tests to make recent linker
57142 2010-06-30 Andreas Schwab <schwab@redhat.com>
57144 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57145 $(common-objpfx)libc_nonshared.a.
57147 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
57149 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57150 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57151 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57152 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57153 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57154 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57155 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57156 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
57162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57171 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57172 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57173 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57174 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57175 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57176 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57177 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57178 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57179 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57180 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57181 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57182 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57198 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
57200 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57201 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
57202 * string/memmove.c (memmove): Renamed to ...
57203 (MEMMOVE): ...this. Default to memmove.
57204 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57205 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57207 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57208 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57209 mempcpy-ssse3-back memmove-ssse3-back.
57210 * sysdeps/x86_64/multiarch/bcopy.S: New file .
57211 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57212 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57213 * sysdeps/x86_64/multiarch/memcpy.S: New file.
57214 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57215 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57216 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57217 * sysdeps/x86_64/multiarch/memmove.c: New file.
57218 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57219 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57220 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57221 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57222 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57223 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57225 (index_Fast_Copy_Backward): Define.
57226 (HAS_ARCH_FEATURE): Define.
57227 (HAS_FAST_REP_STRING): Define.
57228 (HAS_FAST_COPY_BACKWARD): Define.
57230 2010-06-21 Andreas Schwab <schwab@redhat.com>
57232 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57233 Restore proper fallback handling.
57235 2010-06-19 Ulrich Drepper <drepper@redhat.com>
57238 * posix/group_member.c (__group_member): Correct checking loop.
57240 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57241 OOM in getpwuid_r correctly. Return error number when the caller
57242 should return, otherwise -1.
57243 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57244 call returning > 0 value.
57245 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57247 2010-06-07 Andreas Schwab <schwab@redhat.com>
57249 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57250 libc_nonshared.a from targets in modules-names.
57252 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
57254 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57257 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
57259 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
57260 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
57261 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
57262 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
57264 2010-06-02 Andreas Schwab <schwab@redhat.com>
57266 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
57268 2010-06-14 Ulrich Drepper <drepper@redhat.com>
57270 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
57272 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57273 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57274 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57275 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57276 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57277 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
57279 2010-06-14 Roland McGrath <roland@redhat.com>
57281 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
57283 2010-06-07 Jakub Jelinek <jakub@redhat.com>
57285 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
57286 __REDIRECT followed by __THROW.
57287 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
57288 * posix/getopt.h (getopt): Likewise.
57290 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57292 * hurd/lookup-at.c (__file_name_lookup_at): Accept
57293 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
57294 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
57296 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
57297 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
57299 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
57301 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
57303 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
57306 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57307 Properly check family and model.
57309 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
57311 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
57313 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
57315 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
57317 2010-05-21 Ulrich Drepper <drepper@redhat.com>
57319 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
57322 2010-05-19 Andreas Schwab <schwab@redhat.com>
57324 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
57327 2010-05-21 Andreas Schwab <schwab@redhat.com>
57329 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
57330 and internal_recvmmsg.
57331 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
57332 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
57333 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
57334 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
57336 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
57337 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57338 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57340 2010-05-20 Andreas Schwab <schwab@redhat.com>
57342 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
57344 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
57346 POWER7 optimizations.
57347 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
57348 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
57350 2010-05-19 Ulrich Drepper <drepper@redhat.com>
57352 * version.h: Update for 2.13 development version.
57354 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
57356 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
57357 exceptions. Return 0.
57359 2010-05-07 Roland McGrath <roland@redhat.com>
57361 * elf/ldconfig.c (main): Add a const.
57363 2010-05-06 Ulrich Drepper <drepper@redhat.com>
57365 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
57366 (args_options): Add no-idn option.
57367 (ahosts_keys_int): Add idn_flags to ai_flags.
57368 (parse_option): Handle 'i' option to clear idn_flags.
57370 * malloc/malloc.c (_int_free): Possible race in the most recently
57371 added check. Only act on the data if no current modification
57374 See ChangeLog.17 for earlier changes.