powerpc: Fix PPC64/POWER7 conform tests
[glibc.git] / ChangeLog
blob4a7f5a4781064bb728d7a76d863e5594a6d62d3f
1 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
4         __bcopy and add a weak_alias to bcopy.
5         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
6         for static build.
8         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
9         cleanup macro usage.
10         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
11         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
12         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
13         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
14         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
15         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
16         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
17         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
18         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
19         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
20         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
21         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
22         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
23         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
24         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
25         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
26         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
27         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
28         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
30         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
31         libc_hidden_def.
32         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
34         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
35         (sysdep_routines): Add strstr-ppc64.
36         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
38 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
40         [BZ #18778]
41         * elf/Makefile (tests): Add Add tst-nodelete2.
42         (modules-names): Add tst-nodelete2mod.
43         (tst-nodelete2mod.so-no-z-defs): New.
44         ($(objpfx)tst-nodelete2): Likewise.
45         ($(objpfx)tst-nodelete2.out): Likewise.
46         (LDFLAGS-tst-nodelete2): Likewise.
47         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
48         out of loop through all loaded libraries.
49         * elf/tst-nodelete2.c: New file.
50         * elf/tst-nodelete2mod.c: Likewise.
52 2015-08-11  Andreas Schwab  <schwab@suse.de>
54         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
55         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
56         (__openat64_nocancel): Likewise.
58 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
60         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
61         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
62         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
63         * math/auto-libm-test-out: Regenerated.
64         * sysdeps/i386/fpu/libm-test-ulps: Update.
65         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
69         [BZ #18790]
70         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
71         threshold for returning +/- 1.
72         * math/auto-libm-test-in: Add more tests of tanh.
73         * math/auto-libm-test-out: Regenerated.
74         * sysdeps/i386/fpu/libm-test-ulps: Update.
76 2015-08-10  Andreas Schwab  <schwab@suse.de>
78         [BZ #18781]
79         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
80         MORE_OFLAGS to oflag.
81         * io/test-lfs.c (do_test): Test openat64.
83 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
85         [BZ #18789]
86         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
87         smaller threshold for returning the argument.
88         * math/auto-libm-test-in: Add more tests of sinh.
89         * math/auto-libm-test-out: Regenerated.
90         * sysdeps/i386/fpu/libm-test-ulps: Update.
92 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
94         [BZ #18674]
95         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
96         break.
98 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
100         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
101         (generated): Don't add $(addprefix z.,$(tzfiles)).
103 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
105         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
106         * scripts/sysd-rules.awk: Likewise.
108 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
110         * iconvdata/tst-tables.sh: Change echo -n to printf.
111         * nss/db-Makefile: Likewise.
112         * posix/tst-getconf.sh: Likewise.
113         * stdio-common/tst-unbputc.sh: Likewise.
115 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
117         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
118         MADV_*_PAGES defines behind this feature check.
120 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
122         [BZ #18480]
123         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
124         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
125         Define.
126         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
127         LOAD_REGS_5, LOAD_REGS_6): Update.
128         (INTERNAL_SYSCALL): Update using new LOAD defines.
129         (INTERNAL_SYSCALL_NCS): Likewise.
130         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
132 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
134         [BZ #16734]
135         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
137 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
139         [BZ #17905]
140         * catgets/Makefile (tst-catgets-mem): New test.
141         * catgets/catgets.c (catopen): Don't use unbounded alloca.
142         * catgets/open_catalog.c (__open_catalog): Likewise.
143         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
145 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
147         [BZ #18787]
148         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
149         clobber registers.
150         (atomic_compare_and_exchange_val_acq): Use register asms to assign
151         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
152         Cast return to __typeof (oldval).
154 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
156         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
157         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
158         and delete sys/syscall.h include.
160 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
162         [BZ #16517]
163         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
164         (tan): Force underflow exception for arguments with small absolute
165         value.
166         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
167         (__kernel_tanf): Force underflow exception for arguments with
168         small absolute value.
169         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
170         (__kernel_tanl): Force underflow exception for arguments with
171         small absolute value.
172         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
173         (__kernel_tanl): Force underflow exception for arguments with
174         small absolute value.
175         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
176         (__kernel_tanl): Force underflow exception for arguments with
177         small absolute value.
178         * math/auto-libm-test-in: Add more tests of tan.
179         * math/auto-libm-test-out: Regenerated.
181 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
183         Fix sysdeps/i386/fpu/s_scalbn.S build
185         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
187 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
189         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
191 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
193         Fix gcrt0.o compilation
195         When static-start-installed-name is different from
196         start-installed-name, we must not use the shared objects.
198         * csu/Makefile
199         (extra-objs): Add gmon-start.o when building shared library and
200         $(static-start-installed-name) is different from
201         $(start-installed-name).
202         $(objpfx)g$(static-start-installed-name): When building shared
203         library and $(static-start-installed-name) is different from
204         $(static-start-installed-name), revert to non-shared rule,
205         i.e. using $(objpfx)% and gmon-start.o.
207 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
209         [BZ #16519]
210         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
211         (__ieee754_sinh): Force underflow exception for arguments with
212         small absolute value.
213         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
214         (__ieee754_sinhf): Force underflow exception for arguments with
215         small absolute value.
216         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
217         (__ieee754_sinhl): Force underflow exception for arguments with
218         small absolute value.
219         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
220         (__ieee754_sinhl): Force underflow exception for arguments with
221         small absolute value.
222         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
223         (__ieee754_sinhl): Force underflow exception for arguments with
224         small absolute value.
225         * math/auto-libm-test-in: Add more tests of sinh.
226         * math/auto-libm-test-out: Regenerated.
227         * sysdeps/i386/fpu/libm-test-ulps: Update.
229 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
231         * libio/oldfileops.c: Include unistd.h.
233 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
235         * stdlib/isomac.c: Include ctype.h.
237 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
239         * dirent/tst-seekdir.c (main): Converted to ...
240         (do_test): ... this.
241         (TEST_FUNCTION): New macro.
242         Include test-skeleton.c.
243         * elf/tst-dlmodcount.c (main): Converted to ...
244         (do_test): ... this.
245         (TEST_FUNCTION): New macro.
246         Include test-skeleton.c.
247         * elf/tst-order-main.c (main): Converted to ...
248         (do_test): ... this.
249         (TEST_FUNCTION): New macro.
250         Include test-skeleton.c.
251         * elf/tst-pie2.c (main): Converted to ...
252         (do_test): ... this.
253         (TEST_FUNCTION): New macro.
254         Include test-skeleton.c.
255         * inet/tst-ether_aton.c (main): Converted to ...
256         (do_test): ... this.
257         (TEST_FUNCTION): New macro.
258         Include test-skeleton.c.
259         * misc/tst-mntent.c (main): Converted to ...
260         (do_test): ... this.
261         (TEST_FUNCTION): New macro.
262         Include test-skeleton.c.
263         * misc/tst-tsearch.c (main): Converted to ...
264         (do_test): ... this.
265         (TEST_FUNCTION): New macro.
266         Include test-skeleton.c.
267         * posix/tst-regexloc.c (main): Converted to ...
268         (do_test): ... this.
269         (TEST_FUNCTION): New macro.
270         Include test-skeleton.c.
271         * resolv/tst-aton.c (main): Converted to ...
272         (do_test): ... this.
273         (TEST_FUNCTION): New macro.
274         Include test-skeleton.c.
275         * stdio-common/test-fwrite.c (main): Converted to ...
276         (do_test): ... this.
277         (TEST_FUNCTION): New macro.
278         Include test-skeleton.c.
279         * stdio-common/tst-ferror.c (main): Converted to ...
280         (do_test): ... this.
281         (TEST_FUNCTION): New macro.
282         Include test-skeleton.c.
283         * stdio-common/tst-printf.c (main): Converted to ...
284         (do_test): ... this.
285         (TEST_FUNCTION): New macro.
286         Include test-skeleton.c.
287         * stdio-common/tst-printfsz.c (main): Converted to ...
288         (do_test): ... this.
289         (TEST_FUNCTION): New macro.
290         Include test-skeleton.c.
291         * stdlib/tst-strtod.c (main): Converted to ...
292         (do_test): ... this.
293         (TEST_FUNCTION): New macro.
294         Include test-skeleton.c.
295         * string/tst-strlen.c (main): Converted to ...
296         (do_test): ... this.
297         (TEST_FUNCTION): New macro.
298         Include test-skeleton.c.
299         * string/tst-svc.c (main): Converted to ...
300         (do_test): ... this.
301         (TEST_FUNCTION): New macro.
302         Include test-skeleton.c.
303         * time/tst-strptime.c (main): Converted to ...
304         (do_test): ... this.
305         (TEST_FUNCTION): New macro.
306         Include test-skeleton.c.
307         * timezone/tst-timezone.c (main): Converted to ...
308         (do_test): ... this.
309         (TEST_FUNCTION): New macro.
310         Include test-skeleton.c.
312 2015-08-05  Zack Weinberg  <zackw@panix.com>
314         * misc/regexp.h: Update comments.
316 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
318         [BZ #18635]
319         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
320         before return label.
322 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
324         [BZ #18661]
325         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
326         when calling __errno_location.
327         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
328         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
330 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
332         [BZ #18661]
333         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
334         (__lll_timedwait_tid): Align stack to 16 bytes when calling
335         __gettimeofday.
337 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
339         [BZ #18661]
340         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
341         (__start_context): Don't use pop to restore %rdi so that stack
342         is aligned to 16 bytes when calling __setcontext.
344 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
346         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
347         only for libc.
348         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
350 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
352         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
353         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
354         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
356 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
358         * string/memccpy.c (memccpy):
359         Improve performance by using memchr/memcpy/__mempcpy.
361 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
363         * string/strncpy.c (strncpy):
364         Improve performance by using __strnlen/memcpy.
366 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
368         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
369         Optimize to avoid an unnecessary FPCR read.
371 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
373         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
374         Optimize to reduce FPCR/FPSR accesses.
376 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
378         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
379         dead->data[category] != NULL.
381 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
383         [BZ #18647]
384         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
385         and |x| close to 1, use absolute value of x when computing log.
386         * math/auto-libm-test-in: Add more tests of pow.
387         * math/auto-libm-test-out: Regenerated.
389 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
391         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
392         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
393         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
395 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
397         [BZ #18525]
398         * locales/km_KH: Remove timezone definition.
399         * locales/lo_LA: Likewise.
400         * locales/my_MM: Likewise.
401         * locales/nan_TW@latin: Likewise.
402         * locales/th_TH: Likewise.
403         * locales/uk_UA: Likewise.
405 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
407         [BZ #18265]
408         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
409         (wcsncat): Likewise.
410         (wcscmp): Likewise.
411         (wcsncmp): Likewise.
413 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
415         * test-skeleton.c (usage): New function.
416         (main): Call usage when opt is '?'.
418 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
420         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
421         before first use.
423 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
425         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
426         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
427         in there too.
429 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
431         * version.h (RELEASE): Set to "development".
432         (VERSION): Set to "2.22.90"
434         * version.h (RELEASE): Set to "stable".
435         (VERSION): Set to "2.22"
436         * include/features.h (__GLIBC_MINOR__): Set to 22.
438 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
440         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
441         Restructure macro to avoid "value computed is not used" warning.
442         (atomic_compare_and_exchange_val_acq): Likewise.
444 2015-08-04  Andreas Schwab  <schwab@suse.de>
446         [BZ #18635]
447         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
448         ret.
449         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
451 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
453         * po/pl.po: Updated translation.
454         * po/uk.po: Likewise.
455         * po/fi.po: Likewise.
456         * po/ko.po: Likewise.
457         * po/ru.po: Likewise.
458         * po/vi.po: Likewise.
460 2015-07-31  Zack Weinberg  <zackw@panix.com>
462         [BZ #18681]
463         * regexp.h: Add unconditional #warning stating that this header
464         will be removed soon.  Revise banner comment to match.
465         (compile): Consistently use ERROR instead of RETURN to report
466         errors (partial fix for bz#18681).
467         * regexp.c: Don't include regexp.h. Remove some unnecessary
468         declarations.
470 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
472         * po/libc.pot: Regenerated.
474 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
476         [BZ #18740]
477         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
478         float-vlen4-arch-ext-cflags): Removed.
479         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
480         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
482 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
484         [BZ #14113]
485         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
486         aligned to __aligned__.
487         (pthread_cond_t, pthread_rwlock_t): Likewise.
489 2015-07-30  Torvald Riegel  <triegel@redhat.com>
491         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
493 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
495         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
496         (struct sigaction): Change sa_flags from a long to an int, and add
497         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
499 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
501         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
502         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
503         sysdeps/generic/sysdep.h include.
504         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
505         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
506         sysdeps/hppa/sysdep.h.
507         (ENTRY, PSEUDO): Undefine before defining.
509 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
511         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
512         from scratch to use INTERNAL_SYSCALL.
514 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
516         [BZ #18078]
517         * scripts/check-localplt.awk: Support alternate relocations.
518         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
519         sections.
520         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
521         malloc entries with + REL R_386_GLOB_DAT.
522         * sysdeps/x86_64/localplt.data: New file.
524 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
526         [BZ #18731]
527         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
528         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
529         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
531 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
533         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
535 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
537         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
538         directly in terms of __sync_fetch_and_add and delete (int) cast.
540 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
542         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
543         the -D_ASM_IA64_CURRENT_H flag.
545 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
547         [BZ #18641]
548         * pwd/pwd.h (putpwent): Delete __nonnull markings.
550 2015-07-27  Andreas Schwab  <schwab@suse.de>
552         * conform/conformtest.pl (checknamespace): Filter out string
553         literals while tokenizing.
555 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
557         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
558         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
559         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
561 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
563         * nptl/tst-join7mod.c: Add #include <string.h>.
565 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
567         * sysdeps/nios2/libm-test-ulps: Update.
569 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
571         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
572         Fix order of arguments to the rt_sigprocmask syscall.
573         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
574         Likewise.
576 2015-07-24  Roland McGrath  <roland@hack.frob.com>
578         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
580 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
582         [BZ #18457]
583         * nptl/Makefile (tests): New test case tst-join7.
584         (modules-names): New test case module tst-join7mod.
585         * nptl/tst-join7.c: New file.
586         * nptl/tst-join7mod.c: New file.
587         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
588         all translation units in libc.so, libpthread.so and rtld.
590 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
592         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
594 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
596         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
597         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
598         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
599         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
600         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
601         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
602         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
603         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
604         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
605         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
606         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
607         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
608         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
609         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
610         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
611         implementation.
613 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
615         [BZ #17711]
616         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
617         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
618         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
619         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
620         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
621         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
623 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
625         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
626         instead of just saying load lock in the comments.
628 2015-07-23  Roland McGrath  <roland@hack.frob.com>
630         * sysdeps/unix/Subdirs: Moved ...
631         * sysdeps/posix/Subdirs: ... here.
632         * login/pty.h (struct termios, struct winsize): Add forward decls.
633         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
634         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
635         * sysdeps/arm/nacl/libc.abilist: Updated.
636         * sysdeps/nacl/libutil.abilist: New file.
638         * bits/signum.h: Update comments to mention 1003.1-2013 too.
639         (SIGWINCH): New macro.
641         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
642         * sysdeps/arm/nacl/libc.abilist: Add it.
644 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
646         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
648 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
650         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
651         Swap __glibc_reserved0 and sa_flags order.
653 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
655         [BZ #18657]
656         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
657         are pending TLS destructor calls.
658         * include/link.h (struct link_map): Add concurrency note for
659         L_TLS_DTOR_COUNT.
660         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
661         Don't touch the link map flag.  Atomically increment
662         l_tls_dtor_count.
663         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
664         Avoid taking the load lock and don't touch the link map flag.
665         * stdlib/tst-tls-atexit-nodelete.c: New test case.
666         * stdlib/Makefile (tests): Use it.
667         * stdlib/tst-tls-atexit.c (do_test): dlopen
668         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
669         to allow tst-tls-atexit-nodelete test case to use it.
671 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
673         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
674         to bits/types.h.
675         (msgqnum_t): New typedef.
676         (msglen_t): Likewise.
677         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
678         and msg_qbytes type to msglen_t.
680 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
682         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
683         pad0 to __glibc_reserved0.
684         (struct stat64): Likewise.
686 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
688         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
689         Change sa_flags from a long to an int and add __glibc_reserved0 before
690         it for padding.
692 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
694         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
695         anonymous by deleting "siginfo" name.
697 2015-07-21  Roland McGrath  <roland@hack.frob.com>
699         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
700         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
701         rather than __nacl_irt_filename.
702         * sysdeps/nacl/xstat.c (__xstat): Likewise.
704         * NEWS: New item for arm-nacl port.
705         * sysdeps/arm/nacl/libc.abilist: New file.
706         * sysdeps/nacl/ld.abilist: New file.
707         * sysdeps/nacl/libBrokenLocale.abilist: New file.
708         * sysdeps/nacl/libanl.abilist: New file.
709         * sysdeps/nacl/libcrypt.abilist: New file.
710         * sysdeps/nacl/libdl.abilist: New file.
711         * sysdeps/nacl/libm.abilist: New file.
712         * sysdeps/nacl/libpthread.abilist: New file.
713         * sysdeps/nacl/libresolv.abilist: New file.
714         * sysdeps/nacl/librt.abilist: New file.
716 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
718         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
719         __startcontext to initialize the new context.
720         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
721         up CFI directive to forbid further backtracing.
723 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
725         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
726         reference.
727         * charmaps/ANSI_X3.4-1968: Likewise.
728         * charmaps/BS_4730: Likewise.
729         * charmaps/BS_VIEWDATA: Likewise.
730         * charmaps/CP1250: Likewise.
731         * charmaps/CP1251: Likewise.
732         * charmaps/CP1252: Likewise.
733         * charmaps/CP1253: Likewise.
734         * charmaps/CP1254: Likewise.
735         * charmaps/CP1255: Likewise.
736         * charmaps/CP1256: Likewise.
737         * charmaps/CSN_369103: Likewise.
738         * charmaps/EBCDIC-DK-NO: Likewise.
739         * charmaps/GB_1988-80: Likewise.
740         * charmaps/GREEK-CCITT: Likewise.
741         * charmaps/GREEK7: Likewise.
742         * charmaps/INIS-8: Likewise.
743         * charmaps/ISIRI-3342: Likewise.
744         * charmaps/ISO_2033-1983: Likewise.
745         * charmaps/ISO_5427-EXT: Likewise.
746         * locales/POSIX: Likewise.
747         * locales/ar_SA: Likewise.
748         * locales/be_BY: Likewise.
749         * locales/be_BY@latin: Likewise.
750         * locales/ca_ES: Likewise.
751         * locales/cs_CZ: Likewise.
752         * locales/da_DK: Likewise.
753         * locales/de_BE: Likewise.
754         * locales/de_CH: Likewise.
755         * locales/de_LU: Likewise.
756         * locales/en_AU: Likewise.
757         * locales/en_BW: Likewise.
758         * locales/en_CA: Likewise.
759         * locales/en_DK: Likewise.
760         * locales/en_GB: Likewise.
761         * locales/en_IE: Likewise.
762         * locales/en_NZ: Likewise.
763         * locales/en_ZA: Likewise.
764         * locales/en_ZW: Likewise.
765         * locales/es_AR: Likewise.
766         * locales/es_BO: Likewise.
767         * locales/es_CL: Likewise.
768         * locales/es_CO: Likewise.
769         * locales/es_DO: Likewise.
770         * locales/es_EC: Likewise.
771         * locales/es_ES: Likewise.
772         * locales/es_HN: Likewise.
773         * locales/es_MX: Likewise.
774         * locales/es_PA: Likewise.
775         * locales/es_PE: Likewise.
776         * locales/es_PY: Likewise.
777         * locales/es_SV: Likewise.
778         * locales/es_US: Likewise.
779         * locales/es_UY: Likewise.
780         * locales/es_VE: Likewise.
781         * locales/et_EE: Likewise.
782         * locales/fa_IR: Likewise.
783         * locales/fo_FO: Likewise.
784         * locales/fr_CA: Likewise.
785         * locales/fr_CH: Likewise.
786         * locales/gv_GB: Likewise.
787         * locales/he_IL: Likewise.
788         * locales/hr_HR: Likewise.
789         * locales/id_ID: Likewise.
790         * locales/is_IS: Likewise.
791         * locales/it_CH: Likewise.
792         * locales/iw_IL: Likewise.
793         * locales/kl_GL: Likewise.
794         * locales/ko_KR: Likewise.
795         * locales/kw_GB: Likewise.
796         * locales/lg_UG: Likewise.
797         * locales/lt_LT: Likewise.
798         * locales/lv_LV: Likewise.
799         * locales/mi_NZ: Likewise.
800         * locales/nhn_MX: Likewise.
801         * locales/nl_BE: Likewise.
802         * locales/pl_PL: Likewise.
803         * locales/sk_SK: Likewise.
804         * locales/sl_SI: Likewise.
805         * locales/sv_FI: Likewise.
806         * locales/tl_PH: Likewise.
807         * locales/tr_TR: Likewise.
808         * locales/vi_VN: Likewise.
810 2015-07-21  Khem Raj  <raj.khem@gmail.com>
812         [BZ #17475]
813         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
814         of tu_IN and bh_IN.
816 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
818         [BZ #18694]
819         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
820         bits/wordsize.h.
821         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
823 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
825         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
826         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
827         (spawn_thread): New function.
828         (load): Rename to reg_dtor_and_close.  Move dlopen to...
829         (do_test): ... here.  Use IS_LOADED to test for its
830         availability.
832 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
834         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
836 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
838         [BZ #18696]
839         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
840         si_addr_bnd.
841         (si_lower): New.
842         (si_upper): Likewise.
844 2015-07-16  David S. Miller  <davem@davemloft.net>
846         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
848 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
850         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
851         buffer.
852         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
853         fail output information.
855 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
857         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
858         and strstr-ppc64..
859         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
860         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
861         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
862         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
863         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
865 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
867         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
868         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
869         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
870         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
872 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
874         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
875         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
876         rtld_hidden_proto.
877         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
879 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
881         * tst-nodelete-opened.c (do_test): Add comment to clarify how
882         the test can fail.
884         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
886         [BZ #18676]
887         * elf/tst-nodelete-opened.c: New test case.
888         * elf/tst-nodelete-opened-lib.c: New test case module.
889         * elf/Makefile (tests, modules-names): Use them.
890         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
891         early.
893 2015-07-15  David S. Miller  <davem@davemloft.net>
895         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
896         futex-intenal.h
897         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
898         * sysdeps/sparc/sparc64/Makefile: Likewise.
899         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
900         Remove space from macro define.
901         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
903 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
905         [BZ #17475]
906         * locale/iso-639.def: Update Bhili and Tulu language codes as
907         per iso639-3.
909 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
911         * elf/tst-leaks1.c (main): Converted to ...
912         (do_test): ... this.
913         (TEST_FUNCTION): New macro.
914         Include test-skeleton.c.
915         * localedata/tst-langinfo.c (main): Converted to ...
916         (do_test): ... this.
917         (TEST_FUNCTION): New macro.
918         Include test-skeleton.c.
919         * math/test-fpucw.c (main): Converted to ...
920         (do_test): ... this.
921         (TEST_FUNCTION): New macro.
922         Include test-skeleton.c.
923         * math/test-tgmath.c (main): Converted to ...
924         (do_test): ... this.
925         (TEST_FUNCTION): New macro.
926         Include test-skeleton.c.
927         * math/test-tgmath2.c (main): Converted to ...
928         (do_test): ... this.
929         (TEST_FUNCTION): New macro.
930         Include test-skeleton.c.
931         * setjmp/tst-setjmp.c (main): Converted to ...
932         (do_test): ... this.
933         (TEST_FUNCTION): New macro.
934         Include test-skeleton.c.
935         * stdio-common/tst-sscanf.c (main): Converted to ...
936         (do_test): ... this.
937         (TEST_FUNCTION): New macro.
938         Include test-skeleton.c.
939         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
940         (do_test): ... this.
941         (TEST_FUNCTION): New macro.
942         Include test-skeleton.c.
944         * elf/tst-audit9.c (main): Converted to ...
945         (do_test): ... this.
946         (TEST_FUNCTION): New macro.
947         Include test-skeleton.c.
949 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
951         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
953 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
955         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
956         New variable.
958 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
960         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
962 2015-07-14  Roland McGrath  <roland@hack.frob.com>
964         * sysdeps/generic/dl-fileid.h: New file.
965         * sysdeps/posix/dl-fileid.h: New file.
966         * sysdeps/nacl/dl-fileid.h: New file.
967         * include/link.h: Include <dl-fileid.h>.
968         (struct link_map): Replace l_dev and l_ino with l_file_id.
969         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
970         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
971         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
973 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
975         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
977 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
979         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
980         Add iff $CXX is set.
981         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
982         Likewise.
983         (tst-nodelete-zmodiff): Likewise.
984         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
986 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
988         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
990 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
992         * sysdeps/aarch64/fpu/math_private.h
993         (define math_opt_barrier): Add AArch64 version.
994         (math_force_eval): Likewise.
996 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
998         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
1000 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
1002         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
1003         %ld with %jd and cast to intmax_t.
1004         (do_test_length_zero): Likewise.
1006 2015-07-10  Roland McGrath  <roland@hack.frob.com>
1008         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
1010 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
1012         * sysdeps/tile/libm-test-ulps: Regenerated.
1014         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
1015         Comment out the whole function, not just its body.
1017 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1019         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
1020         locks.
1022         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
1024 2015-07-10  Torvald Riegel  <triegel@redhat.com>
1026         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
1027         (sem_assume_only_signals_cause_futex_EINTR): Remove.
1029 2015-07-10  Torvald Riegel  <triegel@redhat.com>
1031         * sysdeps/nptl/futex-internal.h: New file.
1032         * sysdeps/nacl/futex-internal.h: New file.
1033         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
1034         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
1035         error checking.
1036         (setxid_unmark_thread): Likewise.
1037         (__nptl_setxid): Likewise.
1038         (__wait_lookup_done): Likewise.
1039         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
1040         * nptl/nptl-init.c (sighandler_setxid): Likewise.
1041         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1042         * nptl/pthread_once.c (clear_once_control): Likewise.
1043         (__pthread_once_slow): Likewise.
1044         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
1045         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
1046         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
1047         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1048         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
1049         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
1050         Likewise.
1051         (__pthread_rwlock_rdlock): Likewise.
1052         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1053         Likewise.
1054         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1055         Likewise.
1056         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1057         Likewise.
1058         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
1059         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
1060         Likewise.
1061         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
1062         __ASSUME_PRIVATE_FUTEX check.
1063         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
1064         Check that shared futexes are supported.
1065         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
1066         wrappers with error checking.
1067         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
1068         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
1069         * nptl/pthread_barrierattr_setpshared.c
1070         (pthread_barrierattr_setpshared): Check that shared futexes are
1071         supported.
1072         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
1073         Likewise.
1074         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
1075         Likewise.
1076         * nptl/sem_init.c (futex_private_if_supported): Remove.
1077         (__new_sem_init): Adapt and check that shared futexes are supported.
1078         * nptl/sem_open.c (sem_open): Likewise.
1079         * nptl/sem_post.c (futex_wake): Remove.
1080         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
1081         (do_futex_wait): Use futex wrappers with error checking.
1082         * nptl/sem_wait.c: Include lowlevellock.h.
1083         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
1084         Use futex_supports_pshared.
1085         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
1086         Use futex wrappers with error checking.
1087         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
1088         Likewise.
1089         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
1090         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
1091         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
1092         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
1093         (futex_wake): Likewise.
1094         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
1095         (do_futex_wait): Use futex wrappers with error checking.
1096         (__new_sem_wait_slow): Update EINTR handling.
1097         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
1099 2015-07-09  Martin Sebor  <msebor@redhat.com>
1101         [BZ #18435]
1102         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1103         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
1104         * nptl/Makefile (test-xfail-tst-once5): Define.
1106 2015-07-09  Roland McGrath  <roland@hack.frob.com>
1108         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
1109         * elf/dl-minimal.c: For readability, reorder some definitions and
1110         introduce more page breaks.  Include <stdio.h>.
1111         (__libc_fatal): New function.
1113         * include/unistd.h: Add rtld_hidden_proto for _exit.
1114         * posix/_exit.c: Add rtld_hidden_def.
1115         * sysdeps/mach/hurd/_exit.c: Likewise.
1116         * sysdeps/nacl/_exit.c: Likewise.
1117         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
1118         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
1120 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
1122         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
1123         bndmov encoding with zero displacement.
1125 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
1126             H.J. Lu  <hongjiu.lu@intel.com>
1128         [BZ #18134]
1129         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
1130         * sysdeps/i386/configure: Regenerated.
1131         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
1132         (_dl_runtime_profile): Save and restore Intel MPX return bound
1133         registers when calling _dl_call_pltexit.  Add
1134         PRESERVE_BND_REGS_PREFIX before return.
1135         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
1136         (LRV_BND1_OFFSET): Likewise.
1137         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
1138         lrv_bnd1.
1139         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
1140         typo in bndmov encoding.
1141         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
1142         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
1143         branch instructions to preserve bounds.
1145 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1148         [GLIBC_2.22]: Add fmemopen.
1150 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1152         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
1153         returns an error, also try to use host port from __mach_host_self for
1154         the __vm_wire call.
1155         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
1157 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1159         [BZ #18400]
1160         [BZ #18648]
1161         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
1162         Fix pr_uid and pr_gid members.
1163         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
1164         definition to elf_greg_t.
1166 2015-07-08  Roland McGrath  <roland@hack.frob.com>
1168         [BZ #18383]
1169         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
1170         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
1171         * sysdeps/arm/configure: Regenerated.
1172         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
1173         (test-xfail-tst-tlsalign-static): Variable removed.
1175         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
1176         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
1177         rather than explicit 'ln -s'.
1179         * resolv/rpc/netdb.h: New file.
1180         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
1182 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1184         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
1185         length buffers.
1186         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1187         test-skeleton.c.
1189         [BZ #6544]
1190         [BZ #11216]
1191         [BZ #12836]
1192         [BZ #13151]
1193         [BZ #13152]
1194         [BZ #14292]
1195         * include/stdio.h (fmemopen): Remove hidden prototype.
1196         (__fmemopen): Add new hidden prototype.
1197         * libio/Makefile: Add oldfmemopen object.
1198         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
1199         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
1200         compliance.
1201         * libio/oldfmemopen.c: New file: old fmemopen implementation for
1202         symbol compatibility.
1203         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
1204         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
1205         fmemopen.
1206         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
1207         on append and read mode.
1208         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
1209         fmemopen.
1210         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
1211         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
1212         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
1213         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
1214         Likewise.
1215         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1216         [GLIBC_2.22]: Likewise.
1217         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
1218         Likewise.
1219         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
1220         Likewise.
1221         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1222         [GLIBC_2.22]: Likewise.
1223         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1224         [GLIBC_2.22]: Likewise.
1225         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1226         [GLIBC_2.22]: Likewise.
1227         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1228         [GLIBC_2.22]: Likewise.
1229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1230         [GLIBC_2.22]: Likewise.
1231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1232         [GLIBC_2.22]: Likewise.
1233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1234         [GLIBC_2.22]: Likewise.
1235         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
1236         Likewise.
1237         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
1238         Likewise.
1239         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
1240         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1241         [GLIBC_2.22]: Likewise.
1242         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1243         [GLIBC_2.22]: Likewise.
1244         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1245         [GLIBC_2.22]: Likewise.
1246         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1247         [GLIBC_2.22]: Likewise.
1248         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
1249         Likewise.
1250         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
1251         Likewise.
1252         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
1253         Likewise.
1254         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
1255         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
1257 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
1259         [BZ #18643]
1260         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
1261         IPV6_PATHMTU, and IPV6_DONTFRAG.
1263 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
1265         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
1266         and _IO_UNBUFFERED.
1267         * libio/oldfileops.c: Likewise.
1268         * libio/wfileops.c: Likewise.
1270 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
1272         * nscd/selinux.c: Delete selinux/flask.h include.
1274 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
1276         [BZ #18641]
1277         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
1278         (putpwent): Likewise.
1279         (getpwnam): Likewise.
1280         (getpwent_r): Likewise.
1281         (getpwuid_r): Likewise.
1282         (getpwnam_r): Likewise.
1283         (fgetpwent_r): Likewise.
1285 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
1287         [BZ #18557]
1288         * inet/rcmd.c (__validuser2_sa): Check user first to
1289         short-circuit host check.
1291 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
1292             Mikhail Ilin  <m.ilin@samsung.com>
1294         [BZ #17833]
1295         * elf/Makefile (tests): Add tst-nodelete.
1296         (modules-names): Add tst-nodelete-uniquemod.
1297         (tst-nodelete-uniquemod.so-no-z-defs): New.
1298         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
1299         (tst-nodelete-zmod.so-no-z-defs): Likewise.
1300         ($(objpfx)tst-nodelete): Likewise.
1301         ($(objpfx)tst-nodelete.out): Likewise.
1302         (LDFLAGS-tst-nodelete): Likewise.
1303         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
1304         * elf/dl-close.c (_dl_close_worker): Add a parameter to
1305         implement forced object deletion.
1306         (_dl_close): Pass false to _dl_close_worker.
1307         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
1308         * elf/tst-nodelete.cc: New file.
1309         * elf/tst-nodeletelib.cc: Likewise.
1310         * elf/tst-znodeletelib.cc: Likewise.
1311         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
1313 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1315         [BZ #18508]
1316         * stdlib/Makefile ($(objpfx)tst-makecontext3):
1317         Depend on $(libdl).
1318         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
1319         is not called infinitely times.
1320         (backtrace_helper): New function.
1321         (trace_arg): New struct.
1322         (st1): Enlarge stack size.
1323         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1324         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
1325         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1326         Likewise.
1328 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1330         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1332 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1334         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
1335         Include sys/types.h instead of bits/types.h.
1336         Remove inclusion of bits/wordsize.h.
1338 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1340         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
1341         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
1342         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
1343         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
1344         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
1345         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
1347 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1349         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
1350         link-defines.sym.
1351         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
1352         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
1353         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
1354         and LR_SIZE.
1355         * sysdeps/i386/link-defines.sym: New file.
1357 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1359         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
1360         (modules-names): Add tst-auditmod3a tst-auditmod3b.
1361         ($(objpfx)tst-audit3): New rule.
1362         ($(objpfx)tst-audit3.out): Likewise.
1363         * sysdeps/i386/tst-audit3.c: New file.
1364         * sysdeps/i386/tst-audit3.h: Likewise.
1365         * sysdeps/i386/tst-auditmod3a.c: Likewise.
1366         * sysdeps/i386/tst-auditmod3b.c: Likewise.
1368 2015-07-07  Torvald Riegel  <triegel@redhat.com>
1370         [BZ #18633]
1371         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
1372         pointer in C code.
1373         (__strcat_c): Likewise.
1374         (__strcat_g): Likewise.
1376 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
1378         [BZ #18592]
1379         * misc/sbrk.c: Set errno to ENOMEM on overflow.
1381 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
1383         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
1384         New function.  (__ieee754_sqrtf): New function.
1385         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
1386         New function.
1387         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
1388         New function.
1390 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
1392         * sysdeps/ieee754/support.c: Remove unused file.
1394 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1396         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
1397         registers instead of d ones so the layout is kernel abi compatible.
1398         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
1399         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
1400         Likewise.
1402 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1404         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1406 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
1408         [BZ #18619]
1409         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
1410         and return argument in case of subnormal argument.
1412 2015-07-01  Martin Sebor  <msebor@redhat.com>
1414         [BZ #18435]
1415         * nptl/Makefile: Add tst-once5.cc.
1416         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1417         Remove macro redefinitions.
1418         * nptl/tst-once5.cc: New test.
1420 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
1422         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1424         * sysdeps/arm/libm-test-ulps: Regenerated.
1426         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1427         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1429 2015-06-30  Torvald Riegel  <triegel@redhat.com>
1431         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
1432         lll_lock_wait_private and lll_futex_wake probes.
1434         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
1435         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
1436         Likewise.
1437         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
1438         atomic_spin_nop.
1439         * sysdeps/x86_64/bits/atomic.h: Likewise.
1440         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
1441         to atomic_spin_nop and move ...
1442         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1443         ... here and ...
1444         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
1445         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
1446         atomic_spin_nop instead of BUSY_WAIT_NOP.
1447         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
1448         Likewise.
1449         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
1450         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
1451         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
1452         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
1453         instead of atomic_delay.
1455 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
1457         [BZ #18613]
1458         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
1459         X_ADJ not X when adjusting exponent.
1460         (__ieee754_gamma_r): Do intermediate computations in
1461         round-to-nearest then adjust overflowing and underflowing results
1462         as needed.
1463         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
1464         of X_ADJ not X when adjusting exponent.
1465         (__ieee754_gammaf_r): Do intermediate computations in
1466         round-to-nearest then adjust overflowing and underflowing results
1467         as needed.
1468         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
1469         log of X_ADJ not X when adjusting exponent.
1470         (__ieee754_gammal_r): Do intermediate computations in
1471         round-to-nearest then adjust overflowing and underflowing results
1472         as needed.  Use 1.0L not 1.0f as numerator of division.
1473         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
1474         log of X_ADJ not X when adjusting exponent.
1475         (__ieee754_gammal_r): Do intermediate computations in
1476         round-to-nearest then adjust overflowing and underflowing results
1477         as needed.  Use 1.0L not 1.0f as numerator of division.
1478         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
1479         of X_ADJ not X when adjusting exponent.
1480         (__ieee754_gammal_r): Do intermediate computations in
1481         round-to-nearest then adjust overflowing and underflowing results
1482         as needed.  Use 1.0L not 1.0f as numerator of division.
1483         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
1484         to auto-libm-test-in.
1485         (tgamma_test): Use ALL_RM_TEST.
1486         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
1487         tests of tgamma with spurious-overflow.
1488         * math/auto-libm-test-out: Regenerated.
1489         * math/gen-libm-have-vector-test.sh: Do not check for START.
1490         * sysdeps/i386/fpu/libm-test-ulps: Update.
1491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1493         [BZ #18612]
1494         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
1495         arguments, just return 0.5 times the argument, with underflow
1496         forced as needed.
1497         * math/auto-libm-test-in: Add more tests of j1.
1498         * math/auto-libm-test-out: Regenerated.
1500         [BZ #16559]
1501         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
1502         (__ieee754_j1): Force underflow exception for small results.
1503         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
1504         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
1505         (__ieee754_j1f): Force underflow exception for small results.
1506         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1507         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1508         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1509         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
1510         (__ieee754_j1l): Force underflow exception for small results.
1511         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1512         * math/auto-libm-test-in: Add more tests of j1 and jn.
1513         * math/auto-libm-test-out: Regenerated.
1515         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
1516         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
1517         (PF_MPLS): Likewise.
1518         (AF_IB): Likewise.
1519         (AF_MPLS): Likewise.
1520         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
1521         value and macro.
1522         (MS_RMT_MASK): Include MS_LAZYTIME.
1524 2015-06-26  Mel Gorman  <mgorman@suse.de>
1526         [BZ #18502]
1527         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
1528         already minimal.
1530 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
1532         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
1533         (DT_MIPS_NUM): Update.
1534         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
1535         DT_MIPS_RLD_MAP_REL.
1537 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
1539         [BZ #16559]
1540         [BZ #18602]
1541         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
1542         round-to-nearest internally then recompute results that
1543         underflowed to zero in the original rounding mode.
1544         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1545         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1546         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1547         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
1548         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
1549         * sysdeps/i386/fpu/libm-test-ulps: Update.
1550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1552 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
1554         * NEWS: Fixed description of link with vector math library.
1556 2015-06-25  Andreas Schwab  <schwab@suse.de>
1558         [BZ #18549]
1559         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
1560         * libio/test-fmemopen.c (do_test): Add test for it.
1562 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
1564         [BZ #17841]
1565         * Makeconfig (no-pie-ldflag): New.
1566         (+link): Set to $(+link-pie) if default to PIE.
1567         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
1568         * config.make.in (build-pie-default): New.
1569         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
1570         is default.  AC_SUBST.
1571         * configure: Regenerated.
1572         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
1574 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1576         * nptl/descr.h (struct pthread): Change type of field setxid_futex
1577         to 'unsigned int'.
1579         * resolv/gai_misc.h (struct waitlist): Change type of field
1580         counterp to 'volatile unsigned int *'.
1581         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
1582         FUTEXADDR and OLDVAL.
1583         * resolv/getaddrinfo_a.c (getaddrinfo_a):
1584         Give local variable TOTAL type 'volatile unsigned int'.
1585         (struct async_waitlist): Change type of field counter to 'unsigned int'.
1586         * resolv/gai_suspend.c (gai_suspend):
1587         Give local variable CNTR type 'unsigned int'.
1589         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
1590         counterp to 'volatile unsigned int *'.
1591         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
1592         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
1593         (aio_suspend): Give local variable CNTR type 'unsigned int'.
1594         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
1595         Give local variable TOTAL type 'volatile unsigned int'.
1596         (struct async_waitlist): Change type of field counter to 'unsigned int'.
1598 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
1600         [BZ #18383]
1601         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
1602         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
1603         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
1604         comment for i386/x86-64.
1605         (test-xfail-tst-tlsalign-extern-static): Removed.
1607 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1609         * math/test-double.h: New file.
1610         * math/test-float.h: Likewise.
1611         * math/test-ldouble.h: Likewise.
1612         * math/test-math-inline.h: Likewise.
1613         * math/test-math-no-inline.h: Likewise.
1614         * math/test-math-scalar.h: Likewise.
1615         * math/test-math-vector.h: Likewise.
1616         * math/test-vec-loop.h: Remove file.  Contents moved into
1617         test-math-vector.h.
1618         * math/libm-test.inc (MATHCONST): Do not document macro.
1619         * math/test-double.c: Include test-double.h, test-math-no-inline.h
1620         and test-math-scalar.h.
1621         (FUNC): Remove macro.
1622         (FUNC_TEST): Likewise.
1623         (FLOAT): Likewise.
1624         (MATHCONST): Likewise.
1625         (PRINTF_EXPR): Likewise.
1626         (PRINTF_XEXPR): Likewise.
1627         (PRINTF_NEXPR): Likewise.
1628         (TEST_DOUBLE): Likewise.
1629         (TEST_MATHVEC): Likewise.
1630         (__NO_MATH_INLINES): Likewise.
1631         * math/test-float.c: Include test-float.h, test-math-no-inline.h
1632         and test-math-scalar.h.
1633         (FUNC): Remove macro.
1634         (FUNC_TEST): Likewise.
1635         (FLOAT): Likewise.
1636         (MATHCONST): Likewise.
1637         (PRINTF_EXPR): Likewise.
1638         (PRINTF_XEXPR): Likewise.
1639         (PRINTF_NEXPR): Likewise.
1640         (TEST_FLOAT): Likewise.
1641         (TEST_MATHVEC): Likewise.
1642         (__NO_MATH_INLINES): Likewise.
1643         * math/test-idouble.c: Include test-double.h, test-math-inline.h
1644         and test-math-scalar.h.
1645         (FUNC): Remove macro.
1646         (FUNC_TEST): Likewise.
1647         (FLOAT): Likewise.
1648         (MATHCONST): Likewise.
1649         (PRINTF_EXPR): Likewise.
1650         (PRINTF_XEXPR): Likewise.
1651         (PRINTF_NEXPR): Likewise.
1652         (TEST_DOUBLE): Likewise.
1653         (TEST_MATHVEC): Likewise.
1654         (TEST_INLINE): Likewise.
1655         (__NO_MATH_INLINES): Likewise.
1656         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
1657         test-math-scalar.h.
1658         (FUNC): Remove macro.
1659         (FUNC_TEST): Likewise.
1660         (FLOAT): Likewise.
1661         (MATHCONST): Likewise.
1662         (PRINTF_EXPR): Likewise.
1663         (PRINTF_XEXPR): Likewise.
1664         (PRINTF_NEXPR): Likewise.
1665         (TEST_FLOAT): Likewise.
1666         (TEST_MATHVEC): Likewise.
1667         (TEST_INLINE): Likewise.
1668         (__NO_MATH_INLINES): Likewise.
1669         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
1670         and test-math-scalar.h.
1671         (FUNC): Remove macro.
1672         (FUNC_TEST): Likewise.
1673         (FLOAT): Likewise.
1674         (MATHCONST): Likewise.
1675         (PRINTF_EXPR): Likewise.
1676         (PRINTF_XEXPR): Likewise.
1677         (PRINTF_NEXPR): Likewise.
1678         (TEST_LDOUBLE): Likewise.
1679         (TEST_MATHVEC): Likewise.
1680         (TEST_INLINE): Likewise.
1681         (__NO_MATH_INLINES): Likewise.
1682         * math/test-ldouble.c: Include test-ldouble.h,
1683         test-math-no-inline.h and test-math-scalar.h.
1684         (FUNC): Remove macro.
1685         (FUNC_TEST): Likewise.
1686         (FLOAT): Likewise.
1687         (MATHCONST): Likewise.
1688         (PRINTF_EXPR): Likewise.
1689         (PRINTF_XEXPR): Likewise.
1690         (PRINTF_NEXPR): Likewise.
1691         (TEST_LDOUBLE): Likewise.
1692         (TEST_MATHVEC): Likewise.
1693         (__NO_MATH_INLINES): Likewise.
1694         * math/test-double-vlen2.h: Include test-double.h,
1695         test-math-no-inline.h and test-math-vector.h.
1696         (FLOAT): Remove macro.
1697         (FUNC): Likewise.
1698         (MATHCONST): Likewise.
1699         (PRINTF_EXPR): Likewise.
1700         (PRINTF_XEXPR): Likewise.
1701         (PRINTF_NEXPR): Likewise.
1702         (TEST_DOUBLE): Likewise.
1703         (TEST_MATHVEC): Likewise.
1704         (__NO_MATH_INLINES): Likewise.
1705         (CNCT): Likewise.
1706         (CONCAT): Likewise.
1707         (WRAPPER_NAME): Likewise.
1708         (WRAPPER_DECL): Likewise.
1709         (WRAPPER_DECL_ff): Likewise.
1710         (WRAPPER_DECL_fFF): Likewise.
1711         (VECTOR_WRAPPER): Likewise.
1712         (VECTOR_WRAPPER_ff): Likewise.
1713         (VECTOR_WRAPPER_fFF): Likewise.
1714         (VEC_LEN): New macro.
1715         * math/test-double-vlen4.h: Include test-double.h,
1716         test-math-no-inline.h and test-math-vector.h.
1717         (FLOAT): Remove macro.
1718         (FUNC): Likewise.
1719         (MATHCONST): Likewise.
1720         (PRINTF_EXPR): Likewise.
1721         (PRINTF_XEXPR): Likewise.
1722         (PRINTF_NEXPR): Likewise.
1723         (TEST_DOUBLE): Likewise.
1724         (TEST_MATHVEC): Likewise.
1725         (__NO_MATH_INLINES): Likewise.
1726         (CNCT): Likewise.
1727         (CONCAT): Likewise.
1728         (WRAPPER_NAME): Likewise.
1729         (WRAPPER_DECL): Likewise.
1730         (WRAPPER_DECL_ff): Likewise.
1731         (WRAPPER_DECL_fFF): Likewise.
1732         (VECTOR_WRAPPER): Likewise.
1733         (VECTOR_WRAPPER_ff): Likewise.
1734         (VECTOR_WRAPPER_fFF): Likewise.
1735         (VEC_LEN): New macro.
1736         * math/test-double-vlen8.h: Include test-double.h,
1737         test-math-no-inline.h and test-math-vector.h.
1738         (FLOAT): Remove macro.
1739         (FUNC): Likewise.
1740         (MATHCONST): Likewise.
1741         (PRINTF_EXPR): Likewise.
1742         (PRINTF_XEXPR): Likewise.
1743         (PRINTF_NEXPR): Likewise.
1744         (TEST_DOUBLE): Likewise.
1745         (TEST_MATHVEC): Likewise.
1746         (__NO_MATH_INLINES): Likewise.
1747         (CNCT): Likewise.
1748         (CONCAT): Likewise.
1749         (WRAPPER_NAME): Likewise.
1750         (WRAPPER_DECL): Likewise.
1751         (WRAPPER_DECL_ff): Likewise.
1752         (WRAPPER_DECL_fFF): Likewise.
1753         (VECTOR_WRAPPER): Likewise.
1754         (VECTOR_WRAPPER_ff): Likewise.
1755         (VECTOR_WRAPPER_fFF): Likewise.
1756         (VEC_LEN): New macro.
1757         * math/test-float-vlen4.h: Include test-float.h,
1758         test-math-no-inline.h and test-math-vector.h.
1759         (FLOAT): Remove macro.
1760         (FUNC): Likewise.
1761         (MATHCONST): Likewise.
1762         (PRINTF_EXPR): Likewise.
1763         (PRINTF_XEXPR): Likewise.
1764         (PRINTF_NEXPR): Likewise.
1765         (TEST_FLOAT): Likewise.
1766         (TEST_MATHVEC): Likewise.
1767         (__NO_MATH_INLINES): Likewise.
1768         (CNCT): Likewise.
1769         (CONCAT): Likewise.
1770         (WRAPPER_NAME): Likewise.
1771         (WRAPPER_DECL): Likewise.
1772         (WRAPPER_DECL_ff): Likewise.
1773         (WRAPPER_DECL_fFF): Likewise.
1774         (VECTOR_WRAPPER): Likewise.
1775         (VECTOR_WRAPPER_ff): Likewise.
1776         (VECTOR_WRAPPER_fFF): Likewise.
1777         (VEC_LEN): New macro.
1778         * math/test-float-vlen8.h: Include test-float.h,
1779         test-math-no-inline.h and test-math-vector.h.
1780         (FLOAT): Remove macro.
1781         (FUNC): Likewise.
1782         (MATHCONST): Likewise.
1783         (PRINTF_EXPR): Likewise.
1784         (PRINTF_XEXPR): Likewise.
1785         (PRINTF_NEXPR): Likewise.
1786         (TEST_FLOAT): Likewise.
1787         (TEST_MATHVEC): Likewise.
1788         (__NO_MATH_INLINES): Likewise.
1789         (CNCT): Likewise.
1790         (CONCAT): Likewise.
1791         (WRAPPER_NAME): Likewise.
1792         (WRAPPER_DECL): Likewise.
1793         (WRAPPER_DECL_ff): Likewise.
1794         (WRAPPER_DECL_fFF): Likewise.
1795         (VECTOR_WRAPPER): Likewise.
1796         (VECTOR_WRAPPER_ff): Likewise.
1797         (VECTOR_WRAPPER_fFF): Likewise.
1798         (VEC_LEN): New macro.
1799         * math/test-float-vlen16.h: Include test-float.h,
1800         test-math-no-inline.h and test-math-vector.h.
1801         (FLOAT): Remove macro.
1802         (FUNC): Likewise.
1803         (MATHCONST): Likewise.
1804         (PRINTF_EXPR): Likewise.
1805         (PRINTF_XEXPR): Likewise.
1806         (PRINTF_NEXPR): Likewise.
1807         (TEST_FLOAT): Likewise.
1808         (TEST_MATHVEC): Likewise.
1809         (__NO_MATH_INLINES): Likewise.
1810         (CNCT): Likewise.
1811         (CONCAT): Likewise.
1812         (WRAPPER_NAME): Likewise.
1813         (WRAPPER_DECL): Likewise.
1814         (WRAPPER_DECL_ff): Likewise.
1815         (WRAPPER_DECL_fFF): Likewise.
1816         (VECTOR_WRAPPER): Likewise.
1817         (VECTOR_WRAPPER_ff): Likewise.
1818         (VECTOR_WRAPPER_fFF): Likewise.
1819         (VEC_LEN): New macro.
1820         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
1821         test-vec-loop.h.
1822         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1823         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1824         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1825         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1826         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1827         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1828         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1830 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1832         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
1833         (__getlogin_r): ... this.
1835 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1837         [BZ #18594]
1838         * math/s_ccosh.c (__ccosh): Compare with least normal value
1839         instead of comparing class with FP_SUBNORMAL.
1840         * math/s_ccoshf.c (__ccoshf): Likewise.
1841         * math/s_ccoshl.c (__ccoshl): Likewise.
1842         * math/s_cexp.c (__cexp): Likewise.
1843         * math/s_cexpf.c (__cexpf): Likewise.
1844         * math/s_cexpl.c (__cexpl): Likewise.
1845         * math/s_csin.c (__csin): Likewise.
1846         * math/s_csinf.c (__csinf): Likewise.
1847         * math/s_csinh.c (__csinh): Likewise.
1848         * math/s_csinhf.c (__csinhf): Likewise.
1849         * math/s_csinhl.c (__csinhl): Likewise.
1850         * math/s_csinl.c (__csinl): Likewise.
1851         * math/s_ctan.c (__ctan): Likewise.
1852         * math/s_ctanf.c (__ctanf): Likewise.
1853         * math/s_ctanh.c (__ctanh): Likewise.
1854         * math/s_ctanhf.c (__ctanhf): Likewise.
1855         * math/s_ctanhl.c (__ctanhl): Likewise.
1856         * math/s_ctanl.c (__ctanl): Likewise.
1857         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
1858         csin, csinh, ctan and ctanh.
1859         * math/auto-libm-test-out: Regenerated.
1860         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
1861         * sysdeps/i386/fpu/libm-test-ulps: Update.
1862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1864 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1866         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
1867         return value is wrong, print the expected value too.
1869 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
1871         [BZ #18585]
1872         * elf/readlib.c (is_gdb_python_file): New.
1873         (process_file): Don't issue errors on filenames with -gdb.py
1874         suffix.
1876 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1878         * math/auto-libm-test-in: Add more tests of csin and csinh.
1879         * math/auto-libm-test-out: Regenerated.
1880         * math/libm-test.inc (csin_test_data): Remove tests moved to
1881         auto-libm-test-in.
1882         (csinh_test_data): Likewise.
1884         [BZ #18593]
1885         * math/s_csin.c (__csin): Negate before rather than after possibly
1886         overflowing multiplication.
1887         * math/s_csinf.c (__csinf): Likewise.
1888         * math/s_csinh.c (__csinh): Likewise.
1889         * math/s_csinhf.c (__csinhf): Likewise.
1890         * math/s_csinhl.c (__csinhl): Likewise.
1891         * math/s_csinl.c (__csinl): Likewise.
1892         * math/auto-libm-test-in: Add some tests of csin and csinh.
1893         * math/auto-libm-test-out: Regenerated.
1894         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
1895         (csinh_test_data): Likewise.
1896         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1898         [BZ #18586]
1899         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
1900         underflow exception for small results.
1902 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1904         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1905         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
1906         variable and included header.
1907         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
1908         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
1909         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
1910         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
1911         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
1912         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
1913         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
1914         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
1915         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
1916         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
1917         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
1918         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
1919         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
1920         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
1921         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
1922         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
1924 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1926         [BZ #16526]
1927         [BZ #16538]
1928         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
1929         (__sin): Force underflow exception for arguments with small
1930         absolute value.
1931         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
1932         (__kernel_sinf): Force underflow exception for arguments with
1933         small absolute value.
1934         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
1935         (__kernel_sincosl): Force underflow exception for arguments with
1936         small absolute value.
1937         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
1938         (__kernel_sinl): Force underflow exception for arguments with
1939         small absolute value.
1940         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
1941         (__kernel_sincosl): Force underflow exception for arguments with
1942         small absolute value.
1943         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
1944         (__kernel_sinl): Force underflow exception for arguments with
1945         small absolute value.
1946         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
1947         (__kernel_sinl): Force underflow exception for arguments with
1948         small absolute value.
1949         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
1950         (__kernel_sinf): Force underflow exception for arguments with
1951         small absolute value.
1952         * math/auto-libm-test-in: Add more tests of sin and sincos.
1953         * math/auto-libm-test-out: Regenerated.
1955         [BZ #18245]
1956         [BZ #18583]
1957         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
1958         (__kernel_standard_l): Use feholdexcept and fesetenv around
1959         conversion to double instead of special-casing overflow and
1960         underflow.
1961         * math/libm-test.inc (fmod_test_data): Add more tests.
1962         (remainder_test_data): Likewise.
1963         (sqrt_test_data): Likewise.
1965 2015-06-23  Torvald Riegel  <triegel@redhat.com>
1967         [BZ #17403]
1968         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
1969         atomic_read_barrier, atomic_write_barrier): Define.
1970         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
1971         atomic_read_barrier, atomic_write_barrier): Define.
1973 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1975         * math/Makefile [$(PERL) != no]
1976         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
1977         dependency on libm-test.stmp below the inclusion of Rules.
1979 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
1981         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1982         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
1983         and included header.
1984         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
1985         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
1986         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
1987         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
1988         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
1989         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
1990         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
1991         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
1992         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
1993         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
1994         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
1995         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
1996         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
1997         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
1998         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
1999         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
2000         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
2001         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
2002         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
2004 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2006         [BZ #18371]
2007         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
2008         intermediate but not final result might underflow.
2009         * math/s_csqrtf.c (__csqrtf): Likewise.
2010         * math/s_csqrtl.c (__csqrtl): Likewise.
2011         * math/auto-libm-test-in: Add more tests of csqrt.
2012         * math/auto-libm-test-out: Regenerated.
2013         * sysdeps/i386/fpu/libm-test-ulps: Update.
2015         [BZ #18219]
2016         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
2017         threshold on absolute value of exponent for which scaling is used.
2018         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2019         * math/auto-libm-test-in: Add more tests of exp2.
2020         * math/auto-libm-test-out: Regenerated.
2022 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
2024         [BZ #17977]
2025         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
2026         when initializing interface list, based on the bug analysis
2027         and the patch proposed by Eric Newton.
2028         * resolv/tst-res_hconf_reorder.c: New test.
2029         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
2030         tst-res_hconf_reorder.
2031         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
2032         and $(shared-thread-library).
2033         (tst-res_hconf_reorder-ENV): New variable.
2035         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
2036         in comment.
2038 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
2040         [BZ #16353]
2041         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
2042         (__expm1): Force underflow exception for arguments with small
2043         absolute value.
2044         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
2045         (__expm1f): Force underflow exception for arguments with small
2046         absolute value.
2047         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
2048         (__expm1): Force underflow exception for arguments with small
2049         absolute value.
2050         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
2051         (__expm1f): Force underflow exception for arguments with small
2052         absolute value.
2053         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2054         Check for small arguments before calling __expm1.
2055         * math/auto-libm-test-in: Do not mark underflow exceptions as
2056         possibly missing for bug 16353.
2057         * math/auto-libm-test-out: Regenerated.
2059 2015-06-22  Andreas Schwab  <schwab@suse.de>
2061         [BZ #18513]
2062         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
2063         PTR queries.
2065 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
2067         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
2069         * string/strcoll_l.c: Remove unused struct element idxnow.
2071 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
2073         [BZ #18569]
2074         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
2075         underflow and return argument in case of subnormal argument.
2076         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2077         Likewise.
2078         * math/auto-libm-test-in: Add more tests of expm1.
2079         * math/auto-libm-test-out: Regenerated.
2081         [BZ #16361]
2082         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2083         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2084         tiny results.
2085         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2086         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2087         tiny results.
2088         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
2089         mark underflow exceptions as possibly missing for bug 16361.
2090         * math/auto-libm-test-out: Regenerated.
2092 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
2094         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
2095         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
2096         Remove variable.
2097         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2098         (test-xfail-XOPEN2K8/utmpx.h/conform).
2100         * conform/conformtest.pl ($xerrors): New variable.
2101         (note_error): New function.
2102         (compiletest): New argument $xfail.  Use not_error.
2103         (runtest): Likewise.
2104         (top level): Handle xfail- lines.  Update calls to compiletest and
2105         runtest.  Handle xfail- and optional- in headers listed with
2106         allow-header.
2107         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
2108         (O_EXEC): Likewise.
2109         (O_SEARCH): Likewise.
2110         * conform/data/stropts.h-data (ioctl): Likewise.
2111         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
2112         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
2113         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
2114         (msghdr.msg_controllen): Likewise.
2115         (cmsghdr.cmsg_len): Likewise.
2116         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
2117         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
2118         variable.
2119         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2120         (test-xfail-XPG4/stropts.h/conform): Likewise.
2121         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2122         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2123         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2124         (test-xfail-UNIX98/stropts.h/conform): Likewise.
2125         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2126         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2127         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2128         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2129         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2130         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2131         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2132         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2133         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2134         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2135         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2136         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2137         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2138         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2139         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2141 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2143         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
2144         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
2145         definitions for proper unfolding of __MATHDECL_VEC.
2147 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2149         * benchtests/bench-strcoll.c:
2150         Include string.h.
2151         (main): Remove unused variable res.
2153 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2155         * timezone/Makefile (%/UTC %/Universal):
2156         Generate test-result files for UTC and Universal.
2158 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2160         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2162 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
2164         [BZ #16350]
2165         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
2166         for arguments with small absolute value.
2167         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
2168         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
2169         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
2170         (__asinh): Force underflow exception for arguments with small
2171         absolute value.
2172         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
2173         (__asinhf): Force underflow exception for arguments with small
2174         absolute value.
2175         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
2176         (__asinhl): Force underflow exception for arguments with small
2177         absolute value.
2178         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
2179         (__asinhl): Force underflow exception for arguments with small
2180         absolute value.
2181         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
2182         (__asinhl): Force underflow exception for arguments with small
2183         absolute value.
2184         * math/auto-libm-test-in: Do not mark underflow exceptions as
2185         possibly missing for bug 16350.
2186         * math/auto-libm-test-out: Regenerated.
2188         * include/bits/ipc.h: Remove file.
2189         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
2190         variable.
2191         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2192         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2193         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2194         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2195         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2196         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2197         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2198         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2199         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2201         * math/auto-libm-test-in: Remove spurious underflow allowance for
2202         tests of cexp.
2203         * math/auto-libm-test-out: Regenerated.
2205         [BZ #18558]
2206         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
2207         unconditional definition.
2208         (MCAST_BLOCK_SOURCE): Likewise.
2209         (MCAST_UNBLOCK_SOURCE): Likewise.
2210         (MCAST_LEAVE_GROUP): Likewise.
2211         (MCAST_JOIN_SOURCE_GROUP): Likewise.
2212         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
2213         (MCAST_MSFILTER): Likewise.
2214         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
2215         Remove variable.
2216         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2217         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2218         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2219         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2220         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2222 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
2224         * NEWS: Mention addition of x86_64 vector sincosf.
2225         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
2226         * math/test-float-vlen4.h: Likewise.
2227         * math/test-float-vlen8.h: Likewise.
2228         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2229         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
2230         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2231         * sysdeps/x86_64/fpu/Versions: New versions added.
2232         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2233         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2234         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2235         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
2236         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
2237         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
2238         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
2239         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
2240         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
2241         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
2242         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
2243         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
2244         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
2245         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
2246         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
2247         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
2248         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
2249         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2250         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2251         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2252         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2253         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2254         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2255         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2257         * NEWS: Mention addition of x86_64 vector sincos.
2258         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
2259         * math/math.h (__MATHDECL_VEC): New macro.
2260         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
2261         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
2262         declaration under condition.
2263         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
2264         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
2265         TEST_VEC_LOOP change.
2266         * math/test-double-vlen4.h: Likewise.
2267         * math/test-double-vlen8.h: Likewise.
2268         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
2269         * math/test-float-vlen4.h: Likewise.
2270         * math/test-float-vlen8.h: Likewise.
2271         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2272         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
2273         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2274         * sysdeps/x86_64/fpu/Versions: New versions added.
2275         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2276         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2277         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2278         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
2279         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
2280         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
2281         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
2282         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
2283         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
2284         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
2285         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
2286         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
2287         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
2288         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
2289         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
2290         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
2291         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
2292         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2293         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2294         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2295         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2296         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2297         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2298         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2300         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2301         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2302         redirections for powf.
2303         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2304         * sysdeps/x86_64/fpu/Versions: New versions added.
2305         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2306         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2307         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2308         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
2309         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
2310         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
2311         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
2312         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
2313         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
2314         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
2315         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
2316         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
2317         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
2318         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
2319         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
2320         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
2321         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
2322         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2323         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2324         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2325         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2326         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2327         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2328         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2329         * math/test-float-vlen16.h: Fixed 2 argument macro.
2330         * math/test-float-vlen4.h: Likewise.
2331         * math/test-float-vlen8.h: Likewise.
2332         * NEWS: Mention addition of x86_64 vector powf.
2334 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
2336         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2337         and redefine.
2338         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2339         and redefine.
2340         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
2341         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2342         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2344         [BZ #18553]
2345         * resource/getpriority.c (getpriority): Rename to __getpriority
2346         and define as weak alias of __getpriority.
2347         * resource/setpriority.c (setpriority): Rename to __setpriority
2348         and define as weak alias of __setpriority.
2349         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
2350         __getpriority and define as weak alias of __getpriority.
2351         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
2352         __setpriority and define as weak alias of __setpriority.
2353         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
2354         strong name.
2355         (setpriority): Use __setpriority as strong name.
2356         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
2357         __getpriority and define as weak alias of __getpriority.
2358         * include/sys/resource.h (__getpriority): Declare.  Use
2359         libc_hidden_proto.
2360         (__setpriority): Likewise.
2361         (getpriority): Don't use libc_hidden_proto.
2362         (setpriority): Likewise.
2363         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
2364         getpriority.  Call __setpriority instead of setpriority.
2365         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
2366         Remove variable.
2368         [BZ #18547]
2369         * misc/getttyent.c (getttynam): Rename to __getttynam and define
2370         as weak alias of __getttynam.  Use prototype function definition.
2371         Call __setttyent, __getttyent and __endttyent instead of
2372         setttyent, getttyent and endttyent.
2373         (getttyent): Rename to __getttyent and define as weak alias of
2374         __getttyent.  Call __setttyent instead of setttyent.  Call
2375         __fgets_unlocked instead of fgets_unlocked.
2376         (setttyent): Rename to __setttyent and define as weak alias of
2377         __setttyent.
2378         (endttyent): Rename to __endttyent and define as weak alias of
2379         __endttyent.
2380         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
2381         (__setttyent): Likewise.
2382         (__endttyent): Likewise.
2383         (getttyent): Don't use libc_hidden_proto.
2384         (setttyent): Likewise.
2385         (endttyent): Likewise.
2386         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
2387         __endttyent instead of setttyent, getttyent and endttyent.
2388         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
2389         Remove variable.
2391         [BZ #18546]
2392         * socket/recv.c (__recv): Use libc_hidden_def.
2393         * socket/socket.c (__socket): Likewise.
2394         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
2395         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2396         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
2397         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
2398         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
2399         libc_hidden_def.
2400         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
2401         libc_hidden_weak.
2402         * include/sys/socket.h (__socket): Do not use attribute_hidden.
2403         Use libc_hidden_proto.
2404         (__recv): Likewise.
2405         * socket/Versions (libc): Export __recv and __socket at version
2406         GLIBC_PRIVATE.
2407         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
2408         instead of recv.
2409         (init_mq_netlink): Call __socket instead of socket.
2410         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
2411         Remove variable.
2413         [BZ #18545]
2414         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
2415         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
2416         hidden_weak.
2417         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
2418         define as alias of __mq_timedsend.  Use hidden_weak.
2419         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
2420         __mq_timedsend as strong name.
2421         (mq_timedreceive): Use __mq_timedreceive as strong name.
2422         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
2423         (__mq_timedreceive): Likewise.
2424         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
2425         __mq_timedreceive instead of mq_timedreceive.
2426         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
2427         instead of mq_timedsend.
2428         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
2429         Remove variable.
2431         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
2432         hidden_def and hidden_weak instead of libc_hidden_def and
2433         libc_hidden_weak.
2434         (top level): Refer to hidden_def in comment.
2435         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
2436         macro.  Use it instead of libc_hidden_def.
2437         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
2438         specify __GI_* name explicitly.
2439         (mq_timedreceive): Likewise.
2440         (mq_setattr): Likewise.
2442         [BZ #18544]
2443         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
2444         __pthread_barrier_init and define as weak alias of
2445         __pthread_barrier_init.
2446         * sysdeps/sparc/nptl/pthread_barrier_init.c
2447         (pthread_barrier_init): Likewise.
2448         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
2449         __pthread_barrier_wait and define as weak alias of
2450         __pthread_barrier_wait.
2451         * sysdeps/sparc/nptl/pthread_barrier_wait.c
2452         (pthread_barrier_wait): Likewise.
2453         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
2454         (pthread_barrier_wait): Likewise.
2455         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
2456         (pthread_barrier_wait): Likewise.
2457         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
2458         (pthread_barrier_wait): Likewise.
2459         * nptl/Versions (libpthread): Export __pthread_barrier_init and
2460         __pthread_barrier_wait at version GLIBC_PRIVATE.
2461         * include/pthread.h (__pthread_barrier_init): Declare.
2462         (__pthread_barrier_wait): Likewise.
2463         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
2464         Call __pthread_barrier_wait instead of pthread_barrier_wait.
2465         (helper_thread): Likewise.
2466         (init_mq_netlink): Call __pthread_barrier_init instead of
2467         pthread_barrier_init.
2469         [BZ #18542]
2470         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
2471         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
2472         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
2473         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
2474         vswscanf.
2475         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
2476         Remove variable.
2478         [BZ #18540]
2479         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
2480         strong alias of _IO_fflush.  Use libc_hidden_def.
2481         * libio/iofflush_u.c (fflush_unlocked): Rename to
2482         __fflush_unlocked and define as weak alias of __fflush_unlocked.
2483         Use libc_hidden_weak.
2484         * include/stdio.h (__fflush_unlocked): Declare.  Use
2485         libc_hidden_proto.
2486         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
2487         fflush_unlocked.
2488         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
2489         Remove variable.
2491         [BZ #18539]
2492         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
2493         define as weak alias of __addseverity.
2494         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
2495         Remove variable.
2496         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2497         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2498         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2500         [BZ #18536]
2501         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
2502         (__tfind): Likewise.
2503         (__tdelete): Likewise.
2504         (__twalk): Likewise.
2505         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
2506         __twalk to GLIBC_PRIVATE.
2507         * include/search.h (__tsearch): Use libc_hidden_proto.
2508         (__tfind): Likewise.
2509         (__tdelete): Likewise.
2510         (__twalk): Likewise.
2511         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
2512         Call __tdelete instead of tdelete.
2513         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
2514         tfind.  Call __tsearch instead of tsearch.
2515         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
2516         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
2517         Remove variable.
2518         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2520         [BZ #18534]
2521         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
2522         (dprintf): Define as a weak alias of __dprintf, not a strong
2523         alias.
2524         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
2525         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
2526         dprintf.
2527         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
2528         Remove variable.
2529         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2530         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2532         [BZ #18533]
2533         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
2534         not a strong alias.
2535         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
2536         Remove variable.
2538         [BZ #18532]
2539         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
2540         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
2541         (in6addr_loopback): Rename to __in6addr_loopback and define as
2542         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
2543         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
2544         libc_hidden_proto.
2545         (__in6addr_any): Likewise.
2546         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
2547         in6addr_any.
2548         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
2549         variable.
2550         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2552 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
2554         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
2555         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
2556         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2557         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2558         redirections for pow.
2559         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2560         * sysdeps/x86_64/fpu/Versions: New versions added.
2561         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2562         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2563         build of SSE, AVX2 and AVX512 IFUNC versions.
2564         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
2565         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
2566         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
2567         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
2568         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
2569         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
2570         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
2571         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
2572         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
2573         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
2574         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
2575         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
2576         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
2577         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
2578         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2579         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2580         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2581         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2582         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2583         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2584         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2585         * NEWS: Mention addition of x86_64 vector pow.
2587         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2588         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2589         redirections for expf.
2590         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2591         * sysdeps/x86_64/fpu/Versions: New versions added.
2592         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2593         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2594         build of SSE, AVX2 and AVX512 IFUNC versions.
2595         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
2596         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
2597         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
2598         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
2599         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
2600         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
2601         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
2602         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
2603         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
2604         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
2605         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
2606         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
2607         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
2608         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2609         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2610         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2611         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2612         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2613         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2614         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2615         * NEWS: Mention addition of x86_64 vector expf.
2617         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
2618         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
2619         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2620         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2621         redirections for exp.
2622         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2623         * sysdeps/x86_64/fpu/Versions: New versions added.
2624         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2625         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2626         build of SSE, AVX2 and AVX512 IFUNC versions.
2627         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
2628         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
2629         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
2630         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
2631         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
2632         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
2633         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
2634         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
2635         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
2636         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
2637         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
2638         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
2639         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
2640         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2641         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2642         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2643         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2644         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2645         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2646         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2647         * NEWS: Mention addition of x86_64 vector exp.
2649         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2650         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2651         redirections for logf.
2652         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2653         * sysdeps/x86_64/fpu/Versions: New versions added.
2654         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2655         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2656         build of SSE, AVX2 and AVX512 IFUNC versions.
2657         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
2658         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
2659         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
2660         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
2661         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
2662         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
2663         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
2664         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
2665         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
2666         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
2667         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
2668         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
2669         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
2670         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2671         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2672         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2673         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2674         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2675         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2676         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2677         * NEWS: Mention addition of x86_64 vector logf.
2679         * bits/libm-simd-decl-stubs.h: Added stubs for log.
2680         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
2681         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2682         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2683         redirections for log.
2684         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2685         * sysdeps/x86_64/fpu/Versions: New versions added.
2686         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2687         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2688         build of SSE, AVX2 and AVX512 IFUNC versions.
2689         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
2690         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
2691         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
2692         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
2693         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
2694         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
2695         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
2696         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
2697         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
2698         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
2699         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
2700         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
2701         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
2702         test.
2703         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2704         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2705         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2706         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2707         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2708         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2709         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2710         * NEWS: Mention addition of x86_64 vector log.
2712 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2714         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
2715         cfi_adjust_cfa_offset argument.
2716         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
2717         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
2719         [BZ #18034]
2720         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
2721         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
2722         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
2723         ordering using ldar.
2724         (_dl_tlsdesc_dynamic): Likewise.
2725         (_dl_tlsdesc_return_lazy): Likewise.
2726         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
2727         relaxed atomics instead of volatile and synchronize with release store.
2728         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
2729         volatile.
2730         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2732 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
2734         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2735         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
2736         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2737         * sysdeps/x86_64/fpu/Versions: New versions added.
2738         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2739         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2740         build of SSE, AVX2 and AVX512 IFUNC versions.
2741         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
2742         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
2743         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
2744         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
2745         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
2746         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
2747         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
2748         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
2749         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
2750         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
2751         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
2752         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
2753         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
2754         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2755         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2756         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2757         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2758         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2759         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2760         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2761         * NEWS: Mention addition of x86_64 vector sinf.
2763 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
2765         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
2766         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
2767         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
2768         Remove variable.
2769         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2770         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2772 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
2774         [BZ #18530]
2775         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
2776         strong alias of _IO_fputs.  Use libc_hidden_def.
2777         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
2778         and define as weak alias of __fputs_unlocked.  Use
2779         libc_hidden_weak.
2780         * include/stdio.h (__fputs_unlocked): Declare.  Use
2781         libc_hidden_proto.
2782         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
2783         fputs_unlocked.
2785         [BZ #18529]
2786         * resolv/netdb.h [__USE_POSIX]: Change condition to
2787         [__USE_XOPEN2K].
2788         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
2789         not expect.
2790         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
2791         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
2792         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
2793         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
2794         [XPG4 || UNIX98] (AI_ALL): Likewise.
2795         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
2796         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
2797         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
2798         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
2799         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
2800         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
2801         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
2802         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
2803         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
2804         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
2805         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
2806         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
2807         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
2808         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
2809         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
2810         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2811         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2812         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
2813         [XPG4 || UNIX98] (gai_strerror): Likewise.
2814         [XPG4 || UNIX98] (getaddrinfo): Likewise.
2815         [XPG4 || UNIX98] (getnameinfo): Likewise.
2817         [BZ #18528]
2818         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
2819         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
2820         __USE_XOPEN2K8].
2821         (getgrent): Likewise.
2822         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
2823         expect.
2824         [XPG3 || POSIX2008] (endgrent): Likewise.
2825         [XPG3] (setgrent): Likewise.
2826         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
2827         variable.
2828         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2830         [BZ #18527]
2831         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
2832         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
2833         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
2834         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
2835         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
2836         * include/unistd.h (__getlogin_r): Declare.  Use
2837         libc_hidden_proto.
2838         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
2839         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
2840         variable.
2841         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2842         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2843         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2845 2015-06-12  Martin Sebor  <msebor@redhat.com>
2847         [BZ #18512]
2848         * Makerules (check-install-supported): New target.
2849         (install): Add check-install-supported as a dependency.
2850         * manual/install.texi (Installing the C Library): Document
2851         that overriding prefix and exec_prefix is not supported.
2852         Mention DESTDIR.
2853         * INSTALL: Regenerate from the above.
2855 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
2857         [BZ #18519]
2858         * posix/Versions (libc): Export __libc_pread at version
2859         GLIBC_PRIVATE.
2860         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
2861         instead of pread.
2862         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
2863         variable.
2865         [BZ #18522]
2866         * misc/efgcvt_r.c
2867         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
2868         (cvt_symbol): Use weak_alias instead of strong_alias.
2869         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
2870         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
2871         Remove variable.
2872         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2873         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2875         [BZ #18520]
2876         * inet/herrno.c (h_errno): Rename to __h_errno.
2877         (__libc_h_errno): Define as alias of __h_errno not h_errno.
2878         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
2879         to __h_errno instead of h_errno.
2880         * nptl/herrno.c (h_errno): Rename to __h_errno.
2881         (__h_errno_location): Refer to __h_errno not h_errno.
2882         * resolv/Versions (h_errno): Rename to __h_errno.
2883         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
2884         Remove variable.
2885         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2887 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
2889         * configure.ac: More strict check for AVX512 assembler support.
2890         * configure: Regenerated.
2892         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
2893         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
2894         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2895         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
2896         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2897         * sysdeps/x86_64/fpu/Versions: New versions added.
2898         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2899         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2900         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2901         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
2902         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
2903         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
2904         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
2905         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
2906         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
2907         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
2908         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
2909         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
2910         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
2911         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
2912         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
2913         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
2914         test.
2915         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2916         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2917         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2918         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2919         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2920         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2921         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2922         * NEWS: Mention addition of x86_64 vector sin.
2924 2015-06-11  Florian Weimer  <fweimer@redhat.com>
2926         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
2927         comment.
2929 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
2931         [BZ #18479]
2932         * nptl/pt-interp.c: New file.
2933         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
2934         Add pt-interp.
2935         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
2936         $(common-objpfx)runtime-linker.h.
2938 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
2940         * Makeconfig (+interp): Remove unused variable.
2941         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
2942         only.  Depend on $(common-objpfx)runtime-linker.h instead of
2943         $(elf-objpfx)runtime-linker.h.
2944         ($(elf-objpfx)runtime-linker.h): Rename to
2945         $(common-objpfx)runtime-linker.h and move ...
2946         * Makerules [$(build-shared) = yes]: ... here.
2947         * elf/interp.c: Include <runtime-linker.h> instead of
2948         <elf/runtime-linker.h>.
2950 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2952         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
2953         (__gettimeofday_syscall): Remove vsyscall fallback.
2954         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
2955         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
2956         Add syscall fallback function.
2957         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
2958         if vDSO is not present.
2959         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
2960         fallback function.
2961         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
2962         present.
2963         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
2964         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
2966 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
2968         [BZ #18497]
2969         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
2970         of wcscmp.
2971         (wcscmp): Define as weak alias of WCSCMP.
2972         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
2973         wcscoll.
2974         (USE_HIDDEN_DEF): Define.
2975         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
2976         __wcscoll.  Don't use libc_hidden_weak.
2977         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
2978         wcscmp.
2979         * sysdeps/i386/i686/multiarch/wcscmp-c.c
2980         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
2981         __GI_wcscmp.
2982         (weak_alias): Undefine and redefine.
2983         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
2984         __wcscmp and define as weak alias of __wcscmp.
2985         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
2986         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
2987         (__wcscoll): Likewise.
2988         (wcscmp): Don't use libc_hidden_proto.
2989         (wcscoll): Likewise.
2990         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
2991         wcscoll.
2992         * posix/regexec.c (check_node_accept_bytes): Likewise.
2993         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
2994         variable.
2995         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2996         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2998         [BZ #18507]
2999         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
3000         __fstatvfs and define as weak alias of __fstatvfs.  Use
3001         libc_hidden_weak.
3002         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
3003         and define as weak alias of __statvfs.  Use libc_hidden_weak.
3004         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
3005         Define as alias of __fstatvfs, not fstatvfs.
3006         (fstatvfs64): Likewise.
3007         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
3008         Define as alias of __statvfs, not statvfs.
3009         (statvfs64): Likewise.
3010         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
3011         Remove variable.
3013 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3016         (HAVE_GETCPU_VSYSCALL): Define.
3017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3018         (HAVE_GETCPU_VSYSCALL): Likewise.
3019         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
3020         * sysdeps/unix/sysv/linux/sched_getcpu.c
3021         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
3022         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
3023         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
3024         prototype.
3025         * sysdeps/unix/sysv/linux/x86_64/init-first.c
3026         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
3027         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
3028         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
3029         Define.
3030         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
3031         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3032         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
3033         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3035 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
3037         * sysdeps/x86_64/fpu/Makefile: New file.
3038         * sysdeps/x86_64/fpu/Versions: New file.
3039         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
3040         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
3041         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
3042         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
3043         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
3044         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
3045         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
3046         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
3047         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
3048         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
3049         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
3050         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
3051         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
3052         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3053         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3054         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
3055         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
3056         * sysdeps/x86_64/configure.ac: Options for libmvec build.
3057         * sysdeps/x86_64/configure: Regenerated.
3058         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
3059         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
3060         * manual/install.texi (Configuring and compiling): Document
3061         --disable-mathvec.
3062         * INSTALL: Regenerated.
3063         * NEWS: Mention addition of libmvec and x86_64 vector cos.
3065         * math/Makefile: Added rules for vector tests.
3066         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
3067         declaration under condition.
3068         * math/test-double-vlen2.h: New file.
3069         * math/test-double-vlen4.h: New file.
3070         * math/test-double-vlen8.h: New file.
3071         * math/test-vec-loop.h: Added initialization macro.
3072         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
3073         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
3074         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
3075         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
3076         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
3077         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
3078         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
3079         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
3080         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
3081         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
3082         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
3084         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3085         * sysdeps/x86_64/fpu/Versions: New versions added.
3086         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
3087         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
3088         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
3089         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
3090         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
3091         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
3092         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
3093         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
3094         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
3095         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
3096         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
3097         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
3098         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
3099         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3100         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3101         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3102         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
3103         * NEWS: Mention addition of x86_64 vector cosf.
3105         * math/Makefile: Added CFLAGS for new tests.
3106         * math/test-float-vlen16.h: New file.
3107         * math/test-float-vlen4.h: New file.
3108         * math/test-float-vlen8.h: New file.
3109         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
3110         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
3111         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3112         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
3113         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
3114         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
3115         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
3116         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
3117         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
3118         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
3119         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
3121 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
3123         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
3124         * locale/programs/ld-ctype.c: Likewise.
3126 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
3128         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
3129         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
3130         bit_ZMM16_31_state): New macro.
3131         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3132         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
3134 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
3136         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
3138 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
3140         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
3142 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
3144         [BZ #18498]
3145         * libio/memstream.c (open_memstream): Rename to __open_memstream
3146         and define as weak alias of __open_memstream.
3147         * include/stdio.h (__open_memstream): Declare.  Use
3148         libc_hidden_proto.
3149         (open_memstream): Don't use libc_hidden_proto.
3150         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
3151         open_memstream.
3152         * posix/getopt.c (_getopt_internal_r): Likewise.
3153         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
3154         variable.
3155         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3156         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3157         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3159         [BZ #18496]
3160         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
3161         instead of wcrtomb.
3163         [BZ #18483]
3164         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
3165         [__USE_XOPEN2K8].  Remove redundant #endif.
3166         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
3167         Remove redundant #if.
3168         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
3169         Remove variable.
3170         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3171         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3173         [BZ #18495]
3174         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
3175         (__iswlower): Likewise.
3176         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
3177         (__iswlower): Likewise.
3178         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
3179         instead of towlower.
3180         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
3181         instead of iswlower.  Call __towupper instead of towupper.
3182         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
3183         instead of iswalnum.
3185 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3187         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
3188         errors to stderr.
3190 2015-06-05  Florian Weimer  <fweimer@redhat.com>
3192         [BZ #15661]
3193         [BZ #17322]
3194         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
3195         Check for overflow properly.  Check for O_APPEND.  Ignore large
3196         file system block sizes.  Add comments about problems.
3197         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
3198         * manual/filesys.texi (Storage Allocation): New node.
3200 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3202         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
3203         cancellable syscalls.
3204         (SYS_ify): Add guard to no redefine it.
3205         (INLINE_SYSCALL): Likewise.
3206         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
3207         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
3208         SYSCALL_CANCEL instead.
3209         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
3210         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3211         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3212         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3213         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3214         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
3215         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
3216         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
3217         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3218         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3219         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
3220         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
3221         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
3222         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
3223         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
3224         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3225         Likewise.
3226         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3227         (__libc_pread64): Likewise.
3228         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
3229         (__libc_preadv): Likewise.
3230         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
3231         (__libc_readv64): Likewise.
3232         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3233         (__libc_pwrite): Likewise.
3234         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3235         (__libc_pwrite64): Likewise.
3236         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
3237         (__libc_pwritev): Likewise.
3238         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
3239         (__libc_pwritev64): Likewise.
3240         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
3241         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
3242         (sync_file_range): Likewise.
3243         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
3244         Likewise.
3245         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
3246         Likewise.
3247         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3248         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3249         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3250         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3251         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3252         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3253         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3254         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
3255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3256         Likewise.
3257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3258         (__libc_read64): Likewise.
3259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
3260         Likewise.
3261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
3262         Likewise.
3263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
3264         Likewise.
3265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
3266         Likewise.
3267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3268         (__libc_pread64): Likewise.
3269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
3270         Likewise.
3271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3272         (__libc_pwrite64): Likewise.
3273         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
3274         (sync_file_range): Likewise.
3275         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
3276         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3277         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3278         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
3279         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
3280         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3281         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3282         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
3283         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
3284         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3285         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3286         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3287         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3288         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3289         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
3290         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3291         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3292         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3293         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3294         Likewise.
3295         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
3296         Likewise.
3297         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
3298         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
3299         Likewise.
3300         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
3301         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
3302         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
3303         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
3304         Likewise.
3305         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
3306         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
3307         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
3308         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
3309         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
3311 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
3313         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
3314         Include dl-vdso.
3315         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
3316         Use VDSO routines for gettimeofday, clock_gettime if
3317         available.
3318         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
3319         Declare VDSO symbols.
3320         * sysdeps/unix/sysv/linux/arm/sysdep.h:
3321         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
3322         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3323         * sysdeps/unix/sysv/linux/arm/Versions: Add
3324         __vdso_clock_gettime.
3326 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3328         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
3329         be an inline implementation regardless of library is built within.
3330         (open_not_cancel_2): Likewise.
3331         (__read_nocancel): Likewise.
3332         (__write_nocancel): Likewise.
3333         (openat_not_cancel): Likewise.
3334         (openat_not_cancel_3): Likewise.
3335         (openat64_not_cancel): Likewise.
3336         (openat64_not_cancel_3): Likewise.
3337         (__close_nocancel): Likewise.
3338         (pause_not_cancel): Likewise.
3339         (nanosleep_not_cancel): Likewise.
3340         (sigsuspend_not_cancel): Likewise.
3342 2015-06-04  Torvald Riegel  <triegel@redhat.com>
3344         [BZ #14958]
3345         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
3346         wake-up.
3347         (__pthread_rwlock_rdlock_slow): Likewise.
3348         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3349         Likewise.
3350         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3351         Likewise.
3352         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
3353         * nptl/tst-rwlock16.c: New file.
3354         * nptl/Makefile (tests): Add new test.
3356 2015-06-04  Torvald Riegel  <triegel@redhat.com>
3358         [BZ #18324]
3359         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
3360         missing wake-up of readers.
3361         * nptl/tst-rwlock15.c: New file.
3362         * nptl/Makefile (tests): Add new test.
3364 2015-06-03  Roland McGrath  <roland@hack.frob.com>
3366         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
3367         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
3368         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
3369         and __nacl_supply_interface_rtld.
3370         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
3371         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
3372         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
3373         Add __nacl_supply_interface_rtld.
3374         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
3376 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
3378         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
3379         isfinite.
3380         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3381         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
3383 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
3385         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
3386         __signbit* with standard C99 macros.
3387         * math/e_exp10l.c: Likewise.
3388         * math/e_exp2l.c: Likewise.
3389         * math/e_scalb.c: Likewise.
3390         * math/e_scalbf.c: Likewise.
3391         * math/e_scalbl.c: Likewise.
3392         * math/s_ldexp.c: Likewise.
3393         * math/s_ldexpf.c: Likewise.
3394         * math/s_ldexpl.c: Likewise.
3395         * math/w_atan2.c: Likewise.
3396         * math/w_atan2f.c: Likewise.
3397         * math/w_atan2l.c: Likewise.
3398         * math/w_cosh.c: Likewise.
3399         * math/w_coshf.c: Likewise.
3400         * math/w_coshl.c: Likewise.
3401         * math/w_exp10.c: Likewise.
3402         * math/w_exp10f.c: Likewise.
3403         * math/w_exp10l.c: Likewise.
3404         * math/w_exp2.c: Likewise.
3405         * math/w_exp2f.c: Likewise.
3406         * math/w_exp2l.c: Likewise.
3407         * math/w_fmod.c: Likewise.
3408         * math/w_fmodf.c: Likewise.
3409         * math/w_fmodl.c: Likewise.
3410         * math/w_hypot.c: Likewise.
3411         * math/w_hypotf.c: Likewise.
3412         * math/w_hypotl.c: Likewise.
3413         * math/w_jnl.c: Likewise.
3414         * math/w_lgamma.c: Likewise.
3415         * math/w_lgamma_r.c: Likewise.
3416         * math/w_lgammaf.c: Likewise.
3417         * math/w_lgammaf_r.c: Likewise.
3418         * math/w_lgammal.c: Likewise.
3419         * math/w_lgammal_r.c: Likewise.
3420         * math/w_pow.c: Likewise.
3421         * math/w_powf.c: Likewise.
3422         * math/w_powl.c: Likewise.
3423         * math/w_remainder.c: Likewise.
3424         * math/w_remainderf.c: Likewise.
3425         * math/w_remainderl.c: Likewise.
3426         * math/w_scalb.c: Likewise.
3427         * math/w_scalbf.c: Likewise.
3428         * math/w_scalbl.c: Likewise.
3429         * math/w_scalbln.c: Likewise.
3430         * math/w_scalblnf.c: Likewise.
3431         * math/w_scalblnl.c: Likewise.
3432         * math/w_sinh.c: Likewise.
3433         * math/w_sinhf.c: Likewise.
3434         * math/w_sinhl.c: Likewise.
3435         * math/w_tgamma.c: Likewise.
3436         * math/w_tgammaf.c: Likewise.
3437         * math/w_tgammal.c: Likewise.
3438         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3439         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
3440         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3441         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3442         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3443         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3444         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3445         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3446         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3447         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3448         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3449         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3450         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3451         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3452         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3453         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3454         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3455         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3456         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3457         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3458         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3459         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3460         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3461         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3462         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3463         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3464         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
3465         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3466         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3467         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3468         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
3469         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
3470         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
3471         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
3472         * stdio-common/printf_fp.c: Likewise.
3473         * stdio-common/printf_fphex.c: Likewise.
3474         * stdio-common/printf_size.c: Likewise.
3476 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
3478         [BZ #18470]
3479         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
3480         strnlen.
3481         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
3482         Remove variable.
3483         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3484         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3485         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3486         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3487         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3488         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3489         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3490         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3491         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3492         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3494         [BZ #18468]
3495         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
3496         weak alias of __wmemchr.  Use libc_hidden_weak.
3497         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
3498         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
3499         instead of wmemchr.
3501 2015-06-02  Roland McGrath  <roland@hack.frob.com>
3503         [BZ #18383]
3504         * elf/tst-tlsalign-extern.c: New file.
3505         * elf/tst-tlsalign-extern-static.c: New file.
3506         * elf/tst-tlsalign-vars.c: New file.
3507         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
3508         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
3509         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
3510         ($(objpfx)tst-tlsalign-extern-static): Likewise.
3511         (test-xfail-tst-tlsalign-extern-static): New variable.
3513 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
3515         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
3516         Use variable name _sc_err instead of err.
3517         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
3518         instead of ret.
3519         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
3520         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
3521         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
3522         (INLINE_SYSCALL): Likewise.
3524         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
3525         * include/string.h (__strnlen): Use libc_hidden_proto.
3526         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
3527         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
3528         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
3529         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
3530         (libc_hidden_def): Undefine and redefine.
3531         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
3532         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
3533         __GI_strnlen.
3534         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
3535         libc_hidden_def.
3536         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
3538         [BZ #18469]
3539         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
3540         weak alias of __towlower.  Use libc_hidden_weak.
3541         (towupper): Rename to __towupper and define as weak alias of
3542         __towupper.  Use libc_hidden_weak.
3543         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
3544         (__towupper): Likewise.
3545         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
3546         __towlower instead of towlower.
3548 2015-06-02  Roland McGrath  <roland@hack.frob.com>
3550         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
3551         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
3553 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3555         * sysdeps/aarch64/libm-test-ulps: Update.
3557 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3559         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
3560         Define.
3561         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3562         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
3563         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3564         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3565         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
3566         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
3567         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
3569 2015-06-01  Martin Sebor  <msebor@redhat.com>
3571         [BZ #18116]
3572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3573         (__setcontext): Use extended four-operand version of mtsf whenever
3574         possible.
3575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3576         (__novec_swapcontext): Likewise.
3578 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
3580         * benchtests/scripts/compare_bench.py: New file.
3581         * benchtests/scripts/import_bench.py (mean): New function.
3582         (split_list): Likewise.
3583         (do_for_all_timings): Likewise.
3584         (compress_timings): Likewise.
3586         * benchtests/scripts/import_bench.py: New file.
3587         * benchtests/scripts/validate_benchout.py: Import import_bench
3588         instead of jsonschema.
3589         (validate_bench): Remove function.
3590         (main): Use import_bench.
3592 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
3594         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
3595         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
3597 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3599         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3601 2015-05-28  Roland McGrath  <roland@hack.frob.com>
3603         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
3604         set THREAD_SELF->tid to a magic value and futex-wake it.
3605         Pass its address to the thread_exit system call.
3606         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
3607         bit is clear.
3608         * sysdeps/nacl/lowlevellock.h: New file.
3609         * sysdeps/nacl/lll_timedwait_tid.c: New file.
3611         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
3612         Add TIMEOUT to current time, don't subtract it.
3614 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
3616         [BZ #2981]
3617         [BZ #18422]
3618         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
3619         ($(objpfx)tst-audit2.out): Also depend on
3620         $(objpfx)tst-auditmod9b.so.
3621         * elf/tst-audit2.c: Include <dlfcn.h>.
3622         (calloc_called): New.
3623         (calloc): Allow to be called more than once.
3624         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
3626 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
3628         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
3629         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
3631 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
3633         * stdlib/monetary.h: Fix comment.
3635 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
3637         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
3638         Avoid using variables in #defines that might cause shadowing.
3639         (INTERNAL_VSYSCALL_CALL): Likewise.
3641 2015-05-26  Roland McGrath  <roland@hack.frob.com>
3643         * sysdeps/nacl/lll_timedlock_wait.c: New file.
3645         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
3646         * nptl/lll_timedlock_wait.c: ... to this new file.
3647         * nptl/Makefile (libpthread-routines): Add it.
3648         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
3649         * nptl/lll_timedwait_tid.c: ... to this new file.
3650         * nptl/Makefile (libpthread-routines): Add it.
3651         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
3652         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
3653         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
3654         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
3655         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
3656         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
3657         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
3658         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
3659         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
3660         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
3662 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3664         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
3665         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3666         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3667         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
3668         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3669         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3670         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3671         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3672         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3673         * sysdeps/unix/sysv/linux/tile/sysdep.h
3674         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3675         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
3676         using vDSO syscall macro.
3678 2015-05-26  Andriy Rysin  <arysin@gmail.com>
3680         [BZ #17293]
3681         * uk_UA: Fix sorting order for Ukrainian locale
3683 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
3685         * stdlib/monetary.h: Fix comment.
3687 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3689         [BZ #18234]
3690         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
3691         st_mtim and st_ctim members.
3692         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
3693         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
3694         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
3695         (struct stat64): Likewise.
3696         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
3697         (struct stat64): Likewise.
3698         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
3699         (struct stat64): Likewise.
3701 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3703         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
3704         Define and include sysdep-vdso.h.
3705         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
3706         Likewise.
3707         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
3708         Likewise.
3709         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
3710         Define with VDSO_SYMBOL and use PTR_MANGLE.
3711         (__vdso_clock_gettime): Likewise.
3712         (__vdso_clock_getres): Likewise.
3713         (_libc_vdso_platform_setup): Likewise.
3714         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3715         Likewise.
3716         (_libc_vdso_platform_setup): Likewise.
3717         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
3718         Likewise.
3719         (__vdso_clock_gettime): Likewise.
3720         (__vdso_clock_getres): Likewise.
3721         (__vdso_get_tbfreq): Likewise.
3722         (__vdso_getcpu): Likewise.
3723         (__vdso_time): Likewise.
3724         (__vdso_sigtramp_rt64): Likewise.
3725         (__vdso_signtramp32): Likewise.
3726         (__vdso_sigtramp_rt32): Likewise.
3727         (_libc_vdso_platform_setup): Likewise.
3728         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
3729         Likewise.
3730         (__vdso_clock_gettime): Likewise.
3731         (__vdso_clock_getres): Likewise.
3732         (_libc_vdso_platform_setup): Likewise.
3733         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
3734         Likewise.
3735         (__vdso_clock_gettime): Likewise.
3736         (_libc_vdso_platform_setup): Likewise.
3737         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
3738         Likewise.
3739         (__vdso_getcpu): Likewise.
3740         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
3741         Use VDSO_SYMBOL macro to define.
3742         (__vdso_clock_gettime): Likewise.
3743         (__vdso_clock_getres): Likewise.
3744         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
3745         Likewise.
3746         (__vdso_clock_gettime): Likewise.
3747         (__vdso_clock_getres): Likewise.
3748         (__vdso_get_tbfreq): Likewise.
3749         (__vdso_getcpu): Likewise.
3750         (__vdso_time): Likewise.
3751         (__vdso_sigtramp_rt64): Likewise.
3752         (__vdso_signtramp32): Likewise.
3753         (__vdso_sigtramp_rt32): Likewise.
3754         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
3755         Likewise.
3756         (__vdso_clock_gettime): Likewise.
3757         (__vdso_clock_getres): Likewise.
3758         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
3759         Likewise.
3760         (__vdso_clock_gettime): Likewise.
3761         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
3762         Likewise.
3763         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
3764         macro.
3765         (INTERNAL_VSYSCALL): Likewise.
3766         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
3767         Remove macro.
3768         (INTERNAL_VSYSCALL): Likewise.
3769         (INTERNAL_VSYSCALL_NCS): Likewise.
3770         (INTERNAL_VSYSCALL_CALL): New macro.
3771         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3772         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
3773         Likewise.
3774         (INTERNAL_VSYSCALL): Likewise.
3775         (INTERNAL_VSYSCALL_NCS): Likewise.
3776         (INTERNAL_VSYSCALL_CALL): New macro.
3777         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3779         (INLINE_VSYSCALL): Remove macro.
3780         (INTERNAL_VSYSCALL): Remove macro.
3781         (INTERNAL_VSYSCALL_NCS): Remove macro.
3782         (INTERNAL_VSYSCALL_CALL): New macro.
3783         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
3784         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
3785         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3786         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
3787         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3789         (INLINE_VSYSCALL): Remove macro.
3790         (INTERNAL_VSYSCALL): Likewise.
3791         (INTERNAL_VSYSCALL_NCS): Likewise.
3792         (INTERNAL_VSYSCALL_CALL): New macro.
3793         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
3794         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
3795         PTR_DEMANGLE on vDSO pointer.
3796         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3797         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
3798         macro.
3799         (INTERNAL_SYSCALL): Likewise.
3800         (INTERNAL_VSYSCALL_NCS): Remove macro.
3801         (INTERNAL_VSYSCALL_CALL): New macro.
3802         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
3803         Remove macro.
3804         (INTERNAL_VSYSCALL): Likewise.
3805         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
3806         sysdep-vdso.h instead of libc-vdso.h.
3807         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
3808         definition.
3809         (INLINE_VSYSCALL): Likewise.
3810         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
3811         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
3812         definition.
3813         (INLINE_VSYSCALL): Likewise.
3814         (INTERNAL_VSYSCALL): Likewise.
3815         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3816         * sysdeps/unix/sysv/linux/timespec_get.c
3817         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3818         (timespec_get): Use ANSI prototype.
3819         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
3820         and definition for Linux.
3822 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
3824         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
3825         * include/libc-symbols.h: libmvec_hidden_* macro series added.
3827 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
3829         [BZ #2981]
3830         [BZ #18410]
3831         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
3832         for missing DT_PLTRELSZ.
3834 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
3836         Remove obsolete aliases that broke 'locale -a'
3837         [BZ #18412]
3838         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
3839         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
3840         breaking some applications that use 'locale -a' output.
3841         Change the encoding of this file from Latin-1 to ASCII to avoid
3842         other potential problems with people grepping this file.
3844 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3846         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
3847         -fasynchronous-unwind-tables.
3848         (CFLAGS-sendto.c): Likewise.
3849         (CFLAGS-sendmsg.c): Likewise.
3850         (CFLAGS-connect.c): Likewise.
3851         (CFLAGS-recvmsg.c): Likewise.
3852         (CFLAGS-recvfrom.c): Likewise.
3853         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
3854         (SOCKETCALL): New macro: non-cancellable socketcall.
3855         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
3856         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
3857         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
3858         * sysdeps/unix/sysv/linux/accept.c: New file.
3859         * sysdeps/unix/sysv/linux/bind.c: Likewise.
3860         * sysdeps/unix/sysv/linux/connect.c: Likewise.
3861         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
3862         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
3863         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
3864         * sysdeps/unix/sysv/linux/listen.c: Likewise.
3865         * sysdeps/unix/sysv/linux/recv.c: Likewise.
3866         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
3867         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3868         * sysdeps/unix/sysv/linux/send.c: Likewise.
3869         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3870         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
3871         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
3872         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
3873         * sysdeps/unix/sysv/linux/socket.c: Likewise.
3874         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
3875         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
3876         prototype.
3877         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
3878         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3879         instead of __internal_xxx function.
3880         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
3881         prototype.
3882         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
3883         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3884         instead of __internal_xxx function.
3885         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
3886         prototype.
3887         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
3888         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3889         instead of __internal_xxx function.
3890         * sysdeps/unix/sysv/linux/accept.S: Remove file.
3891         * sysdeps/unix/sysv/linux/bind.S: Likewise.
3892         * sysdeps/unix/sysv/linux/connect.S: Likewise.
3893         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
3894         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
3895         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
3896         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
3897         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
3898         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
3899         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
3900         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
3901         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3902         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
3903         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
3904         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
3905         * sysdeps/unix/sysv/linux/listen.S: Likewise.
3906         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
3907         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
3908         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
3909         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
3910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
3911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
3912         * sysdeps/unix/sysv/linux/recv.S: Likewise.
3913         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
3914         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
3915         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
3916         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3917         * sysdeps/unix/sysv/linux/send.S: Likewise.
3918         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
3919         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
3920         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
3921         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
3922         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
3923         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
3924         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
3925         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
3926         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
3927         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
3928         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
3929         socketcall is implemented in GLIBC.
3931 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
3933         * soft-fp/fmadf4.c: Include <libc-internal.h>.
3934         (__fma): Ignore uninitialized warnings around packing.
3935         * soft-fp/fmasf4.c: Include <libc-internal.h>.
3936         (__fmaf): Ignore uninitialized warnings around packing.
3937         * soft-fp/fmatf4.c: Include <libc-internal.h>.
3938         (__fmal): Ignore uninitialized warnings around packing.
3940         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
3941         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3942         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
3943         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3945         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
3946         switch statement into default case.
3947         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
3949         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
3950         a conditional in forcing "inexact".
3951         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3952         Likewise.
3954 2015-05-22  Roland McGrath  <roland@hack.frob.com>
3956         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3957         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
3958         for each INTERNAL_SYSCALL use.
3960 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
3962         [BZ #438]
3963         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
3964         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
3965         variable.
3967         [BZ #18444]
3968         * string/basename.c (basename): Rename to __basename and define as
3969         weak alias of __basename.  Use libc_hidden_weak.
3970         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
3971         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
3972         __basename instead of basename.
3973         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
3974         Remove variable.
3975         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3977 2015-05-18  Florian Weimer  <fweimer@redhat.com>
3979         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
3980         (_IO_JUMPS_FILE_plus): New.
3981         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
3982         _IO_CAST_FIELD_ACCESS.
3983         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
3984         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
3985         * libio/freopen.c (freopen): Likewise.
3986         * libio/freopen64.c (freopen64): Likewise.
3987         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
3988         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
3989         * libio/iofwide.c (_IO_fwide): Likewise.
3990         * libio/memstream.c (open_memstream): Likewise.
3991         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3992         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3993         * libio/oldiopopen.c (_IO_old_popen): Likewise.
3995 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
3997         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
3998         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
3999         NADJ.
4000         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
4001         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
4002         NADJ.
4003         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
4004         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
4005         NADJ.
4007         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
4008         (p == 4) case.
4010         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
4011         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
4012         Remove variable.
4013         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4014         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4015         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4017 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4019         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
4020         Adjust jump table label generation macros.
4022 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4024         * stdio-common/vfprintf.c (vfprintf): Move local variables
4025         args_malloced, specs, specs_malloced, and the code after
4026         do_positional to the printf_positional function.
4027         (printf_positional): New function.
4029 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4031         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
4032         function.
4033         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
4034         STEP4_TABLE, process_arg): Move macro definitions
4035         out of the vfprintf function.  (Cosmetic change only.)
4037 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
4039         * benchtests/Makefile (stdio-common-bench): Define.
4040         (benchset): Add stdio-common-bench.
4041         * sprintf-inputs: New file.
4042         * sprintf-source.c: New file.
4044 2015-05-21  Andreas Schwab  <schwab@suse.de>
4046         [BZ #13028]
4047         [BZ #17053]
4048         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
4049         of struct __res_state.
4050         * resolv/res_send.c (__libc_res_nsend): Likewise.
4051         (get_nsaddr): New function.
4052         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
4053         statp directly.
4055 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
4057         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
4058         -D_POSIX_C_SOURCE=199506L.
4060         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
4062         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
4063         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
4064         Do not mention otherwise.
4065         [POSIX] (_XOPEN_VERSION): Do not expect.
4066         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
4067         [POSIX] (_POSIX2_C_BIND): Likewise.
4068         [POSIX] (_POSIX2_VERSION): Likewise.
4069         [POSIX] (_XOPEN_XPG2): Likewise.
4070         [POSIX] (_XOPEN_XPG3): Likewise.
4071         [POSIX] (_XOPEN_XPG4): Likewise.
4072         [POSIX] (_XOPEN_UNIX): Likewise.
4073         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
4074         [POSIX] (_POSIX_BARRIERS): Likewise.
4075         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
4076         [POSIX] (_POSIX_CPUTIME): Likewise.
4077         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
4078         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
4079         [POSIX] (_POSIX_SHELL): Likewise.
4080         [POSIX] (_POSIX_SPAWN): Likewise.
4081         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
4082         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
4083         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
4084         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
4085         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
4086         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
4087         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
4088         [POSIX] (_XBS5_LP64_OFF64): Likewise.
4089         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
4090         [POSIX] (_POSIX_TIMEOUTS): Likewise.
4091         [POSIX] (_POSIX2_PBS): Likewise.
4092         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
4093         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
4094         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
4095         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
4096         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
4097         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
4098         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
4099         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
4100         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
4101         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
4102         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
4103         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
4104         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
4105         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
4106         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
4107         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
4108         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
4109         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
4110         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
4111         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
4112         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
4113         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
4114         [POSIX] (_SC_2_C_BIND): Likewise.
4115         [POSIX] (_SC_2_C_VERSION): Likewise.
4116         [POSIX] (_SC_2_PBS): Likewise.
4117         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
4118         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
4119         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
4120         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
4121         [POSIX] (_SC_2_PBS_TRACK): Likewise.
4122         [POSIX] (_SC_ATEXIT_MAX): Likewise.
4123         [POSIX] (_SC_BARRIERS): Likewise.
4124         [POSIX] (_SC_BASE): Likewise.
4125         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
4126         [POSIX] (_SC_DEVICE_IO): Likewise.
4127         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
4128         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
4129         [POSIX] (_SC_FD_MGMT): Likewise.
4130         [POSIX] (_SC_FIFO): Likewise.
4131         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
4132         [POSIX] (_SC_FILE_LOCKING): Likewise.
4133         [POSIX] (_SC_FILE_SYSTEM): Likewise.
4134         [POSIX] (_SC_IOV_MAX): Likewise.
4135         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
4136         [POSIX] (_SC_NETWORKING): Likewise.
4137         [POSIX] (_SC_PAGE_SIZE): Likewise.
4138         [POSIX] (_SC_PASS_MAX): Likewise.
4139         [POSIX] (_SC_PIPE): Likewise.
4140         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
4141         [POSIX] (_SC_REGEXP): Likewise.
4142         [POSIX] (_SC_SHELL): Likewise.
4143         [POSIX] (_SC_SIGNALS): Likewise.
4144         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
4145         [POSIX] (_SC_SPIN_LOCKS): Likewise.
4146         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
4147         [POSIX] (_SC_USER_GROUPS): Likewise.
4148         [POSIX] (_SC_USER_GROUPS_R): Likewise.
4149         [POSIX] (_SC_STREAMS): Likewise.
4150         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
4151         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
4152         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
4153         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
4154         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
4155         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
4156         [POSIX] (_PC_FILESIZEBITS): Likewise.
4157         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
4158         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
4159         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
4160         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
4161         [POSIX] (uid_t): Likewise.
4162         [POSIX] (gid_t): Likewise.
4163         [POSIX] (off_t): Likewise.
4164         [POSIX] (pid_t): Likewise.
4165         [POSIX] (cuserid): Allow.
4166         (_SC_2_CHAR_TERM): Require constant.
4167         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
4168         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
4169         variable.
4171 2015-05-20  Roland McGrath  <roland@hack.frob.com>
4173         * sysdeps/nacl/pthread-pids.h: New file.
4174         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
4175         (create_thread): Use __nacl_get_tid to initialize PD->tid.
4177         * nptl/pthread-pids.h: New file.
4178         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
4179         * nptl/nptl-init.c: Include <pthread-pids.h>.
4180         (__pthread_initialize_minimal_internal):
4181         Call __pthread_initialize_pids instead of set_tid_address syscall.
4183         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
4184         * sysdeps/posix/usleep.c: ... here.
4186 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4188         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
4189         call_pselect6 object.
4190         [$(subdir) = io]: Remove call_sync_file_range object.
4191         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
4192         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
4193         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
4194         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
4196 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
4198         * math/s_cproj.c: Add include "math_private.h".
4199         * math/s_cprojf.c: Likewise.
4200         * math/s_cprojl.c: Likewise.
4202 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
4204         [BZ #18244]
4205         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
4206         high mantissa bit when testing whether P is a NaN.
4207         * math/libm-test.inc (remainder_test_data): Add more tests.
4208         (remquo_test_data): Likewise.
4210         [BZ #18049]
4211         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
4212         below -32, return the argument, with underflow if subnormal.
4213         * math/auto-libm-test-in: Add more tests of atanh.
4214         * math/auto-libm-test-out: Regenerated.
4216 2015-05-19  Roland McGrath  <roland@hack.frob.com>
4218         [BZ #18434]
4219         * nptl/tst-sem15.c: New file.
4220         * nptl/Makefile (tests): Add it.
4221         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
4222         s/<</>>/ to fix typo in EOVERFLOW check.
4223         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
4225 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4227         * manual/strings.texi (envz_remove): Fix typo in safety
4228         annotations.
4230 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
4231             Steve Ellcey  <sellcey@imgtec.com>
4233         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
4234         in order to avoid strict alias warnings.
4235         (iruserok_af): Ditto for ra.
4237 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
4239         [BZ #17581]
4240         * malloc/hooks.c
4241         (magicbyte): Convert to a function and avoid returning 0x01.
4242         (mem2mem_check): Avoid using a length byte equal to the magic byte.
4243         (mem2chunk_check): Fix unsigned comparisons to zero.
4244         Hoist defs of sz and magic.
4246 2015-05-19  Richard Henderson  <rth@redhat.com>
4248         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
4250         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4252 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4254         [BZ #16159]
4255         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
4256         * malloc/arena.c (arena_lock): Check if arena is corrupt.
4257         (reused_arena): Find a non-corrupt arena.
4258         (heap_trim): Pass arena to unlink.
4259         * malloc/hooks.c (malloc_check_get_size): Pass arena to
4260         malloc_printerr.
4261         (top_check): Likewise.
4262         (free_check): Likewise.
4263         (realloc_check): Likewise.
4264         * malloc/malloc.c (malloc_printerr): Add arena argument.
4265         (unlink): Likewise.
4266         (munmap_chunk): Adjust.
4267         (ARENA_CORRUPTION_BIT): New macro.
4268         (arena_is_corrupt): Likewise.
4269         (set_arena_corrupt): Likewise.
4270         (sysmalloc): Use mmap if there are no usable arenas.
4271         (_int_malloc): Likewise.
4272         (__libc_malloc): Don't fail if arena_get returns NULL.
4273         (_mid_memalign): Likewise.
4274         (__libc_calloc): Likewise.
4275         (__libc_realloc): Adjust for additional argument to
4276         malloc_printerr.
4277         (_int_free): Likewise.
4278         (malloc_consolidate): Likewise.
4279         (_int_realloc): Likewise.
4280         (_int_memalign): Don't touch corrupt arenas.
4281         * malloc/tst-malloc-backtrace.c: New test case.
4283         * Makefile (summarize-tests): Fix return value on success.
4285         * manual/string.texi (Envz Functions): Add envz_remove.
4287 2015-05-18  Roland McGrath  <roland@hack.frob.com>
4289         * sysdeps/posix/opendir.c: Include <stdbool.h>.
4290         (invalid_name): New function, broken out of ...
4291         (__opendirat): ... here.  Call it.
4292         (need_isdir_precheck): New function, broken out of ...
4293         (__opendirat): ... here.  Call it.
4294         Use __fxstatat64, not __xstatat64.
4295         (opendir_oflags): New function, broken out of ...
4296         (__opendirat): ... here.  Call it.
4297         (opendir_tail): New function, broken out of ...
4298         (__opendirat): ... here.  Call it.
4299         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
4300         opendir_tail, rather than punting to __opendirat.
4301         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
4303 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4305         * .gitignore: Ignore generated *.pyc.
4307 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
4309         * include/stdio.h: Define __need_wint_t.
4310         * test-skeleton.c: Avoid `for' loop initial declaration.
4311         * nptl/tst-initializers1.c: Use test-skeleton.c.
4313 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4315         [BZ #18418]
4316         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
4318 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
4320         [BZ #16352]
4321         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
4322         (__ieee754_atanh): Force underflow exception for results with
4323         small absolute value.
4324         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
4325         (__ieee754_atanhf): Force underflow exception for results with
4326         small absolute value.
4327         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
4328         (__ieee754_atanh): Force underflow exception for results with
4329         small absolute value.
4330         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
4331         (__ieee754_atanhf): Force underflow exception for results with
4332         small absolute value.
4333         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
4334         (__ieee754_atanhl): Force underflow exception for results with
4335         small absolute value.
4336         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
4337         (__ieee754_atanhl): Force underflow exception for results with
4338         small absolute value.
4339         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
4340         (__ieee754_atanhl): Force underflow exception for results with
4341         small absolute value.
4342         * math/auto-libm-test-in: Do not allow missing underflow
4343         exceptions from atanh.
4344         * math/auto-libm-test-out: Regenerated.
4346         [BZ #18221]
4347         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
4348         2**-28 as threshold for returning x or +/- 1/x.
4349         * math/auto-libm-test-in: Add more tests of tan.
4350         * math/auto-libm-test-out: Regenerated.
4352         [BZ #18220]
4353         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4354         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
4355         * math/auto-libm-test-in: Add another test of lgamma.
4356         * math/auto-libm-test-out: Regenerated.
4358 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
4360         * stdio-common/printf_fp.c (___printf_fp): Use abs.
4361         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
4362         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
4363         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
4364         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
4365         (ADD2A): Use fabs.  (SUB2A): Use fabs.
4366         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
4367         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
4368         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
4369         (log1): Use fabs.  (my_log2): Use fabs.
4370         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
4371         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
4372         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
4373         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
4374         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
4375         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
4376         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
4377         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
4378         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
4379         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
4380         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
4382 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
4384         [BZ #18217]
4385         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
4386         as threshold for returning 1 - x.
4387         * math/auto-libm-test-in: Add more tests of erfc.
4388         * math/auto-libm-test-out: Regenerated.
4390 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
4392         [BZ #18196]
4393         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
4394         threshold for large arguments.
4395         * math/auto-libm-test-in: Add another test of atan.
4396         * math/auto-libm-test-out: Regenerated.
4398         [BZ #16339]
4399         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
4400         (__log1p): Force underflow exception for results with small
4401         absolute value.
4402         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
4403         (__log1pf): Force underflow exception for results with small
4404         absolute value.
4405         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
4406         (__log1p): Force underflow exception for results with small
4407         absolute value.
4408         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
4409         (__log1pf): Force underflow exception for results with small
4410         absolute value.
4411         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
4412         (__log1pl): Force underflow exception for results with small
4413         absolute value.
4414         * math/auto-libm-test-in: Do not allow missing underflow
4415         exceptions from log1p.
4416         * math/auto-libm-test-out: Regenerated.
4418 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
4419             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4421         [BZ #16704]
4422         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
4424 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
4426         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
4427         (libmvec): New variable.
4428         * configure.ac: Added option for mathvec build.
4429         * configure: Regenerated.
4430         * mathvec/Depend: New file.
4431         * mathvec/Makefile: New file.
4432         * shlib-versions: Added libmvec.
4433         * math/Makefile: Added rule for libm.so installation.
4435         * bits/math-vector.h: New file.
4436         * bits/libm-simd-decl-stubs.h: New header.
4437         * math/Makefile (headers): Added new header
4438         libm-simd-decl-stubs.h.
4439         * math/math.h (__MATHCALL_VEC): New macro.
4441         * math/gen-libm-have-vector-test.sh: Script generates series of macros
4442         for conditions in testing functions.
4443         * math/Makefile: Added call of libm-have-vector-test.sh.
4444         * math/libm-test.inc (HAVE_VECTOR): New macros.
4446         * math/libm-test.inc: START refactored.
4447         * math/test-double.c (TEST_MATHVEC): Add define.
4448         * math/test-float.c: Likewise.
4449         * math/test-idouble.c: Likewise.
4450         * math/test-ifloat.c: Likewise.
4451         * math/test-ildoubl.c: Likewise.
4452         * math/test-ldouble.c: Likewise.
4453         * sysdeps/generic/math-tests-arch.h
4454         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
4455         architecture check.
4457         * math/test-double.c (FUNC_TEST): New macro.
4458         * math/test-float.c: Likewise.
4459         * math/test-idouble.c: Likewise.
4460         * math/test-ifloat.c: Likewise.
4461         * math/test-ildoubl.c: Likewise.
4462         * math/test-ldouble.c: Likewise.
4463         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
4465 2015-05-13  Roland McGrath  <roland@hack.frob.com>
4467         * sysdeps/nacl/fdopendir.c: New file.
4469         * dirent/scandir-tail.c: New file.
4470         * dirent/scandir64-tail.c: New file.
4471         * dirent/Makefile (routines): Add them.
4472         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
4473         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
4474         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
4475         [!SCANDIR] (SCANDIR_TAIL): New macro.
4476         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
4477         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
4478         (SCANDIRAT): Macro removed.
4479         (SCANDIR_TAIL): New macro.
4480         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
4481         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
4482         (SCANDIRAT): Just call __opendirat and __scandir_tail.
4483         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
4484         (READDIR): Macro removed.
4485         (SCANDIR_TAIL): New macro.
4486         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
4487         (SCANDIR_TAIL): New macro.
4489         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
4490         * dirent/scandir-cancel.c: ... to this new file.
4491         * dirent/Makefile (routines): Add it.
4492         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
4493         * sysdeps/unix/sysv/linux/i386/scandir64.c
4494         (SKIP_SCANDIR_CANCEL): Macro removed.
4495         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
4497         * dirent/tst-scandir.c: New file.
4498         * dirent/tst-scandir64.c: New file.
4499         * dirent/Makefile (tests): Add them.
4501 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
4503         [BZ #18409]
4504         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
4506 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4508         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
4509         list.
4511 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
4513         * benchtests/bench-strcoll.c: New benchmark.
4514         * benchtests/Makefile: Generate locales and run benchmark.
4515         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
4516         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
4517         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
4518         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
4519         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
4520         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
4521         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
4522         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
4523         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
4524         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
4525         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
4526         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
4527         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
4528         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
4529         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
4530         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
4531         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
4532         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
4533         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
4534         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
4535         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
4536         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
4537         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
4538         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
4540 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
4542         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
4543         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4545 2015-05-12  Roland McGrath  <roland@hack.frob.com>
4547         * posix/uname-values.h: New file.
4548         * posix/uname.c: Include that instead of <config-name.h>.
4549         * sysdeps/nacl/uname-values.h: New file.
4550         * sysdeps/arm/nacl/uname-values.h: New file.
4552 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
4554         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
4555         splitting into fields.
4557 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
4559         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
4560         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
4561         * locale/localeinfo.h: Add enum collation_encoding_type.
4562         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
4563         * programs/ld-collate.c (collate_output): Add encoding type info.
4564         * string/strcoll_l.c (STRDIFF): New function.
4565         * (STRCOLL): Use STRDIFF to skip over equal prefix.
4566         * wcsmbs/wcscoll_l.c: Define STRDIFF.
4568 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
4570         [BZ #18397]
4571         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
4572         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
4573         <fpu_control.h> instead of <math/fpu_control.c>.
4574         * sysdeps/mips/mips32/fpu/Makefile: New file.
4576 2015-05-11  Andreas Schwab  <schwab@suse.de>
4578         [BZ #18007]
4579         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
4580         nss_endgrent.
4581         (_nss_compat_endgrent): Call nss_endgrent.
4582         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
4583         nss_endpwent.
4584         (_nss_compat_endpwent): Call nss_endpwent.
4585         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
4586         needent, call nss_setspent only if non-zero.
4587         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
4588         (internal_endspent): Don't call nss_endspent.
4589         (_nss_compat_endspent): Call nss_endspent.
4590         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
4591         Remove.  All uses removed.
4592         (internal_setent): Remove parameter stayopen, add parameter
4593         stream.  Use it instead of global variable.
4594         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
4595         (internal_endent, internal_getent): Add parameter stream.  Use it
4596         instead of global variable.
4597         (CONCAT(_nss_files_end,ENTNAME))
4598         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
4599         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
4600         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
4601         uses removed.
4602         (internal_setent, internal_endent): Add parameter stream.  Use it
4603         instead of global variable.
4604         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
4605         stream.
4606         (get_next_alias): Add parameter stream.
4607         (_nss_files_getaliasent_r): Pass global stream.
4608         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
4609         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
4610         (_nss_files_gethostbyname4_r): Pass local stream to
4611         internal_setent, internal_getent and internal_endent.  Remove
4612         locking.
4614 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4616         * tst-strfmon1.c (tests): Update expected currency symbol.
4618 2015-05-08  Roland McGrath  <roland@hack.frob.com>
4620         * sysdeps/nacl/gethostname.c: New file.
4622 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
4624         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
4625         and sinh.
4626         * math/auto-libm-test-out: Regenerated.
4627         * sysdeps/i386/fpu/libm-test-ulps: Update.
4628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4630 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
4632         [BZ #18125]
4633         * stdlib/tst-setcontext3.c: New file.
4634         * stdlib/tst-setcontext3.sh: New file.
4635         * stdlib/Makefile (tests): Add tst-setcontext3.
4636         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
4637         to verify test program created output file.
4638         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
4639         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
4640         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
4641         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
4643 2015-05-06  Roland McGrath  <roland@hack.frob.com>
4645         [BZ #18383]
4646         * elf/tst-tlsalign.c: New file.
4647         * elf/tst-tlsalign-static.c: New file.
4648         * elf/tst-tlsalign-lib.c: New file.
4649         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
4650         (tests-static): Add tst-tlsalign-static.
4651         (modules-names): Add tst-tlsalign-lib.
4652         (test-xfail-tst-tlsalign): New variable.
4653         (test-xfail-tst-tlsalign-static): New variable.
4655         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
4656         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
4658 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
4660         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
4661         csqrt, erfc, sin and sincos.
4662         * math/auto-libm-test-out: Regenerated.
4663         * sysdeps/i386/fpu/libm-test-ulps: Update.
4664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4666 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4668         * sysdeps/aarch64/libm-test-ulps: Update.
4670 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
4672         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
4673         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
4674         * math/auto-libm-test-out: Regenerated.
4675         * sysdeps/i386/fpu/libm-test-ulps: Update.
4676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4678 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
4680         [BZ #18265]
4681         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
4682         (wcsncpy): Likewise.
4684 2015-05-05  Florian Weimer  <fweimer@redhat.com>
4686         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4687         Assume __ASSUME_FALLOCATE is always true.
4688         * sysdeps/unix/sysv/linux/posix_fallocate64.c
4689         (__posix_fallocate64_l64): Likweise.
4690         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
4691         (posix_fallocate): Likewise.
4692         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
4693         (__posix_fallocate64_l64): Likewise.
4694         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4695         [!__ASSUME_FALLOCATE]: Add comment.
4697 2015-05-05  Florian Weimer  <fweimer@redhat.com>
4699         * sysdeps/unix/sysv/linux/i386/Makefile
4700         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
4701         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
4702         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
4703         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
4704         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
4705         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
4706         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
4708 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
4710         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
4711         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
4712         tgamma.
4713         * math/auto-libm-test-out: Regenerated.
4714         * sysdeps/i386/fpu/libm-test-ulps: Update.
4715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4717 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
4719         * math/auto-libm-test-in: Add more tests of tgamma.
4720         * math/auto-libm-test-out: Regenerated.
4721         * sysdeps/i386/fpu/libm-test-ulps: Update.
4722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4724         * math/auto-libm-test-in: Add more tests of tanh.
4725         * math/auto-libm-test-out: Regenerated.
4726         * sysdeps/i386/fpu/libm-test-ulps: Update.
4727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4729         * math/auto-libm-test-in: Add more tests of tan.
4730         * math/auto-libm-test-out: Regenerated.
4731         * sysdeps/i386/fpu/libm-test-ulps: Update.
4732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4734         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
4735         * math/auto-libm-test-out: Regenerated.
4736         * sysdeps/i386/fpu/libm-test-ulps: Update.
4737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4739         * math/auto-libm-test-in: Add another test of pow.
4740         * math/auto-libm-test-out: Regenerated.
4741         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4743         * math/auto-libm-test-in: Add more tests of lgamma.
4744         * math/auto-libm-test-out: Regenerated.
4745         * sysdeps/i386/fpu/libm-test-ulps: Update.
4746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4748         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
4749         log1p.
4750         * math/auto-libm-test-out: Regenerated.
4751         * sysdeps/i386/fpu/libm-test-ulps: Update.
4752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4754 2015-05-01  Mark Wielaard  <mjw@redhat.com>
4756         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
4757         Elf64_Chdr structs and ELFCOMPRESS constants.
4759 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
4761         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
4762         expm1.
4763         * math/auto-libm-test-out: Regenerated.
4764         * sysdeps/i386/fpu/libm-test-ulps: Update.
4765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4767         * math/auto-libm-test-in: Add more tests of erf and erfc.
4768         * math/auto-libm-test-out: Regenerated.
4769         * sysdeps/i386/fpu/libm-test-ulps: Update.
4770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4772 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4774         * config.h.in (HAVE_AARCH64_BE): Add.
4776 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
4778         * math/auto-libm-test-in: Add more tests of csqrt.
4779         * math/auto-libm-test-out: Regenerated.
4780         * sysdeps/i386/fpu/libm-test-ulps: Update.
4781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4783         * math/auto-libm-test-in: Add more tests of cosh and sinh.
4784         * math/auto-libm-test-out: Regenerated.
4785         * sysdeps/i386/fpu/libm-test-ulps: Update.
4786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4788         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
4790 2015-04-29  Roland McGrath  <roland@hack.frob.com>
4792         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
4793         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
4795         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
4796         (euidaccess, eaccess): Define as weak aliases.
4798         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
4799         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
4800         but __suseconds_t is often 'long int' so some sources assume that
4801         type is being used (e.g. they use %ld to print tv_usec).
4803 2015-04-29  Florian Weimer  <fweimer@redhat.com>
4805         [BZ #18007]
4806         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
4807         (CVE-2014-8121)
4808         * nss/tst-nss-getpwent.c: New file.
4809         * nss/Makefile (tests): Add new test.
4811 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
4813         [BZ #18346]
4814         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
4815         exponents less than 48 as cases where high part of mantissa needs
4816         examining to determine whether argument is integral.
4817         * math/libm-test.inc (round_test_data): Add more tests.
4819 2015-04-28  Mark Wielaard  <mjw@redhat.com>
4821         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
4823 2015-04-27  David S. Miller  <davem@davemloft.net>
4825         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
4826         __tls_get_addr.
4827         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4829 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
4831         [BZ#18333]
4832         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
4834 2015-04-27  Florian Weimer  <fweimer@redhat.com>
4836         [BZ#18333]
4837         * time/tzset.c (parse_tzname): Return error on memory allocation
4838         failure.
4839         * test-skeleton.c (struct temp_name_list): Change type of name
4840         member to non-const.
4841         (add_temp_file): Create a copy of the file name.
4842         (delete_temp_files): Deallocate memory.
4843         (create_temp_file): Add comment.
4845 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4847         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
4848         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
4850 2015-04-24  Roland McGrath  <roland@hack.frob.com>
4852         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
4853         * sysdeps/arm/configure: Regenerated.
4855 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4857         [BZ #17715]
4858         * time/tzfile.c (__tzfile_read): Check for large values of
4859         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
4860         * time/tzset.c (__tzstring_len): New function, based on the old
4861         __tzstring function.
4862         (__tzstring): Call __tzstring_len.
4863         (parse_tzname): New helper function extracted from
4864         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
4865         the input string.
4866         (parse_offset): New helper function extracted from
4867         __tzset_parse_tz.  Replace switch with fallthrough with
4868         initialization before sscanf.
4869         (parse_rule): Likewise.
4870         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
4871         new-style function definition.
4872         * timezone/Makefile (tests): Add tst-tzset.
4873         (tst-tzset.out): Dependencies on time zone files.
4874         (tst-tzset-ENV): Set TZDIR.
4875         (testdata/XT%): Copy crafted time zone files.
4876         * timezone/README: Mention crafted time zone files.
4877         * timezone/testdata/XT1, timezone/testdata/XT2,
4878         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
4879         files.
4880         * timezone/tst-tzset.c: New test.
4882 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4884         * Makeconfig (+gccwarn): Remove -Winline.
4886 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4888         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
4890 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4892         * NEWS: Mention sysconf() cache information support for s390.
4893         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
4895 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
4897         * math/k_casinh.c (__kernel_casinh): Use __copysign.
4898         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
4899         (__nearbyint): Likewise.
4900         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
4901         (copysignl): Likewise.
4903 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
4905         [BZ #18287]
4906         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
4907         based on padding.  (CVE-2015-1781)
4909 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4911         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
4912         libc-vdso.h.
4913         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
4914         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
4915         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
4916         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4917         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4918         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
4919         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
4920         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4921         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4922         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
4923         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4924         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4925         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4926         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
4927         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4928         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
4929         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
4930         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
4931         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
4932         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
4933         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
4934         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
4935         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
4937 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
4939         * stdlib/setenv.c (__add_to_environ):
4940         Dump core quickly if setenv (..., NULL, ...) is called.
4941         This time, do it the right way, and pacify GCC with a pragma.
4943 2015-04-17  Roland McGrath  <roland@hack.frob.com>
4945         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
4946         IMAP->l_prev cannot be null, and #if out the code for the contrary
4947         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
4948         believe that NS (&_dl_ns[NSID]) could point outside the array.
4950         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
4951         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
4952         before using NSID as an index.
4954 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
4956         [BZ #17825]
4957         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
4958         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
4959         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4961 2015-04-17  Roland McGrath  <roland@hack.frob.com>
4963         Add preliminary port to Google Native Client on ARM.
4964         * abi-tags (.*-.*-nacl.*): New entry.
4965         * sysdeps/arm/nacl: New directory.
4966         * sysdeps/nacl: New directory.
4968 2015-04-16  David S. Miller  <davem@davemloft.net>
4970         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
4971         lowlevellock-futex.h
4973 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
4975         * sysdeps/tile/configure.ac: New file.
4976         * sysdeps/tile/configure: Regenerated.
4978 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4980         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
4981         conditionals for weak_alias and libc_hidden_weak.
4982         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
4983         libc_hidden_weak and weak_alias.
4984         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
4985         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
4986         and weak_alias for static one.
4988 2015-04-15  David S. Miller  <davem@davemloft.net>
4990         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4992 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4994         [BZ #18206]
4995         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
4996           Use signed comparision instead of substraction to avoid
4997           overflow bug.
4998         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
4999           Take the sign of ret.
5000         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
5001           Do not expect precise return values. Only the sign matters.
5002         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
5003         * wcsmbs/test-wcsncmp.c: New File.
5004         * string/test-strncmp.c: Add wcsncmp support.
5006 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5008         [BZ #6792]
5009         * math/w_log1p.c: New file.
5010         * math/w_log1pf.c: Likewise.
5011         * math/w_log1pl.c: Likewise.
5012         * math/Makefile (libm-calls): Add w_log1p.
5013         * math/s_log1pl.c (log1pl): Remove weak_alias.
5014         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
5015         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
5016         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
5017         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
5018         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
5019         [NO_LONG_DOUBLE] (log1pl): Likewise.
5020         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
5021         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
5022         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
5023         (log1p): Remove long_double_symbol.
5024         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
5025         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
5026         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
5027         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
5028         remove weak_alias for corresponding log1p function.
5029         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
5030         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
5031         * sysdeps/ia64/fpu/w_log1p.c: New file.
5032         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
5033         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
5034         * math/libm-test.inc (log1p_test_data): Add errno expectations.
5036 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
5038         [BZ #18247]
5039         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
5040         decimal exponent by 1.
5041         * stdlib/tst-strtod-round-data: Add more tests.
5042         * stdlib/tst-strtod-round.c (tests): Regenerated.
5044 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
5046         * math/auto-libm-test-in: Add more tests of clog and clog10.
5047         * math/auto-libm-test-out: Regenerated.
5048         * sysdeps/i386/fpu/libm-test-ulps: Update.
5049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5051 2015-04-09  Roland McGrath  <roland@hack.frob.com>
5053         * Makeconfig (module-cppflags): Exclude all .v.i files.
5054         (skip-module-cppflags): Variable removed.
5056         * configure.ac (libc_config_ok): Initialize before reading
5057         preconfigure scripts, not after.
5058         * configure: Regenerated.
5060         * test-skeleton.c (TIMEOUT): Move #define to top level.
5061         (main): Grok environment variable TEST_DIRECT.  If set, print
5062         test expectation details into that file and then behave as if
5063         given --direct.
5065 2015-04-09  Florian Weimer  <fweimer@redhat.com>
5067         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
5068         warning on 32-bit.
5070 2015-04-08  David S. Miller  <davem@davemloft.net>
5072         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5074 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5076         * math/auto-libm-test-in: Add more tests of atanh.
5077         * math/auto-libm-test-out: Regenerated.
5078         * sysdeps/i386/fpu/libm-test-ulps: Update.
5079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5081         * math/auto-libm-test-in: Add more tests of atan.
5082         * math/auto-libm-test-out: Regenerated.
5083         * sysdeps/i386/fpu/libm-test-ulps: Update.
5084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5086 2015-04-08  Florian Weimer  <fweimer@redhat.com>
5088         * elf/pldd.c (main): Rewrite to use struct
5089         scratch_buffer instead of extend_alloca.
5090         * elf/pldd-xx.c (find_maps): Likewise.
5091         * grp/initgroups.c: Include <scratch_buffer.h> instead of
5092         <alloca.h>.
5093         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
5094         scratch_buffer instead of extend_alloca.
5095         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
5096         grp/compat-initgroups.c.
5097         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
5098         Rewrite to use struct scratch_buffer instead of extend_alloca.
5099         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
5100         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5102 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5104         * math/auto-libm-test-in: Add more tests of cbrt.
5105         * math/auto-libm-test-out: Regenerated.
5106         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5108         * math/auto-libm-test-in: Add more tests of cabs.
5109         * math/auto-libm-test-out: Regenerated.
5110         * sysdeps/i386/fpu/libm-test-ulps: Update.
5111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5113         [BZ #18210]
5114         [BZ #18211]
5115         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
5116         (__ieee754_atan2): Set FE_TONEAREST mode for internal
5117         computations.
5118         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
5119         clog10.
5120         * math/auto-libm-test-out: Regenerated.
5121         * sysdeps/i386/fpu/libm-test-ulps: Update.
5122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5124         [BZ #18197]
5125         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
5126         (atan): Set FE_TONEAREST mode for internal computations.
5127         * math/auto-libm-test-in: Add more tests of atan.
5128         * math/auto-libm-test-out: Regenerated.
5130 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
5132         [BZ #17930]
5133         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
5135 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5137         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
5139 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5141         * include/scratch_buffer.h: New file.
5142         * malloc/scratch_buffer_grow.c: Likewise.
5143         * malloc/scratch_buffer_grow_preserve.c: Likewise.
5144         * malloc/scratch_buffer_set_array_size.c: Likewise.
5145         * malloc/tst-scratch_buffer.c: Likewise.
5146         * malloc/Makefile (routines): Add scratch_buffer_grow.
5147         (tests): Add test case.
5148         * malloc/Versions (GLIBC_PRIVATE): Export
5149         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
5150         __libc_scratch_buffer_set_array_size.
5152 2015-04-06  Richard Henderson  <rth@redhat.com>
5154         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
5155         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5157         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
5158         unsigned int before printing.
5160 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5162         [BZ #17596]
5163         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
5164         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5166 2015-04-02  Florian Weimer  <fweimer@redhat.com>
5168         * include/libc-internal.h (libc_max_align_t): Define.
5170 2015-04-02  Andreas Schwab  <schwab@suse.de>
5172         [BZ #16850]
5173         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
5175 2015-04-02  Mel Gorman  <mgorman@suse.de>
5177         [BZ #17195]
5178         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
5179         as well as the main arena.
5181 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5183         [BZ #18185]
5184         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
5185         sharing L2 cache to 2 for Silvermont/Knights Landing.
5187 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5189         [BZ #17711]
5190         * config.make.in (have-protected-data): New.
5191         * configure.ac: Check linker support for protected data symbol.
5192         * configure: Regenerated.
5193         * elf/Makefile (modules-names): Add tst-protected1moda and
5194         tst-protected1modb if $(have-protected-data) is yes.
5195         (tests): Add tst-protected1a and tst-protected1b if
5196         $(have-protected-data) is yes.
5197         ($(objpfx)tst-protected1a): New.
5198         ($(objpfx)tst-protected1b): Likewise.
5199         (tst-protected1modb.so-no-z-defs): Likewise.
5200         * elf/tst-protected1a.c: New file.
5201         * elf/tst-protected1b.c: Likewise.
5202         * elf/tst-protected1mod.h: Likewise.
5203         * elf/tst-protected1moda.c: Likewise.
5204         * elf/tst-protected1modb.c: Likewise.
5206 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5208         [BZ #17711]
5209         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
5210         indicates it is called from do_lookup_x on relocation against
5211         protected data, skip the data definion in the executable from
5212         copy reloc.
5213         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
5214         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
5215         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
5216         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
5217         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
5218         otherwise to 0.
5219         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5220         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
5221         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
5222         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5223         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
5224         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
5226 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
5228         * sysdeps/nptl/pthread.h: Remove duplicate definition of
5229         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
5231 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
5233         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
5234         THREAD_SETMEM_NC.
5235         * sysdeps/x86_64/nptl/tls.h: Ditto.
5237 2015-03-27  Roland McGrath  <roland@hack.frob.com>
5239         * dlfcn/tststatic.c (main): Converted to ...
5240         (do_test): ... this.
5241         (TEST_FUNCTION): New macro.
5242         Include test-skeleton.c.
5244 2015-03-26  Alan Modra  <amodra@gmail.com>
5246         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
5247         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
5248         zero for undefined weak.
5249         (elf_machine_plt_conflict): Similarly.
5251 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
5253         * math/auto-libm-test-in: Add more tests of acosh, asinh and
5254         atanh.
5255         * math/auto-libm-test-out: Regenerated.
5256         * sysdeps/i386/fpu/libm-test-ulps: Update.
5257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5259         * math/auto-libm-test-in: Add another test of asin.
5260         * math/auto-libm-test-out: Regenerated.
5261         * sysdeps/i386/fpu/libm-test-ulps: Update.
5262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5264         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
5265         Remove macro.
5266         (LLL_EBX_REG): Likewise.
5267         (LLL_ENTER_KERNEL): Likewise.
5269         * math/auto-libm-test-in: Add more tests of asin.
5270         * math/auto-libm-test-out: Regenerated.
5271         * sysdeps/i386/fpu/libm-test-ulps: Update.
5272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5274         [BZ #18138]
5275         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
5276         libc_do_syscall_args): New structure.
5277         (INTERNAL_SYSCALL_MAIN_0): New macro.
5278         (INTERNAL_SYSCALL_MAIN_1): Likewise.
5279         (INTERNAL_SYSCALL_MAIN_2): Likewise.
5280         (INTERNAL_SYSCALL_MAIN_3): Likewise.
5281         (INTERNAL_SYSCALL_MAIN_4): Likewise.
5282         (INTERNAL_SYSCALL_MAIN_5): Likewise.
5283         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
5284         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
5285         Replace conditional definitions by conditional definitions of ....
5286         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
5287         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
5288         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
5289         (libpthread-sysdep_routines): Add libc-do-syscall.
5290         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
5291         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
5292         to __NR_futex not 240.
5294 2015-03-25  Alan Modra  <amodra@gmail.com>
5296         * NEWS: Advertise TLS optimization.
5297         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
5298         (DT_PPC_NUM): Increment.
5299         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
5300         (CHECK_STATIC_TLS): Use here.
5301         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
5302         TLS descriptors.
5303         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5304         * sysdeps/powerpc/dl-tls.c: New file.
5305         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
5306         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
5307         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
5308         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
5309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
5310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
5311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
5313 2015-03-25  Alan Modra  <amodra@gmail.com>
5315         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
5316         for overlapping .opd entries" to "support...".
5317         * sysdeps/powerpc/powerpc64/configure: Regenerate
5319 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
5321         * math/auto-libm-test-in: Add more tests of acos.
5322         * math/auto-libm-test-out: Regenerated.
5323         * sysdeps/i386/fpu/libm-test-ulps: Update.
5324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5326         * math/auto-libm-test-in: Add more tests of expm1.
5327         * math/auto-libm-test-out: Regenerated.
5328         * sysdeps/i386/fpu/libm-test-ulps: Update.
5329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5331 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
5333         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5334         * math/auto-libm-test-out: Regenerated.
5335         * sysdeps/i386/fpu/libm-test-ulps: Update.
5336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5338         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5341         * math/auto-libm-test-in: Add more tests of log2.
5342         * math/auto-libm-test-out: Regenerated.
5343         * sysdeps/i386/fpu/libm-test-ulps: Update.
5344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5346 2015-03-23  Roland McGrath  <roland@hack.frob.com>
5348         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
5349         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
5350         _IO_IS_APPENDING bit in READ_WRITE instead.
5352 2015-03-23  Florian Weimer  <fweimer@redhat.com>
5354         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
5355         (__determine_cpumask_size): Replace extend_alloca with a
5356         variable-length array.  Do not treat res == 0 as an error.
5358 2015-03-23  Florian Weimer  <fweimer@redhat.com>
5360         [BZ #18100]
5361         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
5362         and integer overflow.
5363         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
5364         (main): Add integer overflow tests.
5365         * manual/pattern.texi (Calling Wordexp): Document additional use
5366         for WRDE_SYNTAX.
5368 2015-03-23  Alan Modra  <amodra@gmail.com>
5370         * config.h.in: Remove HAVE_ASM_PPC_REL16.
5371         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
5372         and false branch of conditional.
5373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5374         Likewise.
5376 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
5378         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
5379         libc-modules.h
5380         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
5381         unused declaration of _hurd_intr_rpc_msg_in_trap.
5382         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
5383         defined instead of whether it is non-zero.
5384         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
5385         input constraint instead of both input and output constraint.  Use ecx
5386         clobber instead of %ecx.
5387         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
5388         mutex_unlock): Use a statement expression instead of an expression list.
5389         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
5390         type to vm_size_t instead of vm_address_t.
5391         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
5392         defined instead of whether it is non-zero.
5393         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
5394         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
5395         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
5396         comparisons with mapaddr.
5397         * nscd/nscd-client.h: Include <time.h>.
5398         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
5399         9th parameter to __vm_region instead of int.
5400         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
5401         * scripts/check-local-headers.sh (exclude): Add device/,
5402         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
5403         cthreads.h.
5405 2015-03-19  Roland McGrath  <roland@hack.frob.com>
5407         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
5408         to account for alignment padding.
5409         * sysdeps/arm/memmove.S: Likewise.
5411 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
5413         * sysdeps/unix/sysv/linux/generic/README: New file.
5415 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
5417         [BZ #18138]
5418         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
5419         (futex_abstimed_wait)
5420         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
5421         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
5422         of lll_futex_timed_wait.
5424 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
5426         [BZ #17542]
5427         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
5429 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
5431         [BZ #17090]
5432         [BZ #17620]
5433         [BZ #17621]
5434         [BZ #17628]
5435         * NEWS: Update.
5436         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
5437         entries with Static TLS too.  Skip entries past the end of the
5438         allocated DTV, from Alan Modra.
5439         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
5440         Static TLS DTV entry set up from...
5441         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
5442         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
5443         * nptl/allocatestack.c (init_one_static_tls): ... and here...
5444         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
5445         for Static TLS.
5446         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
5447         that the slot we find is associated with the given map before
5448         using its generation count.
5449         * nptl_db/db_info.c: Include ldsodefs.h.
5450         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
5451         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
5452         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
5453         (link_map::l_tls_offset): New struct field.
5454         (dtv_t::counter): Likewise.
5455         (rtld_global): New struct.
5456         (_rtld_global): New rtld variable.
5457         (dl_tls_dtv_slotinfo_list): New rtld global field.
5458         (dtv_slotinfo_list): New struct.
5459         (dtv_slotinfo): Likewise.
5460         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
5461         (td_lookup): Rename to...
5462         (td_mod_lookup): ... this.  Use new mod parameter instead of
5463         LIBPTHREAD_SO.
5464         * nptl_db/td_thr_tlsbase.c: Include link.h.
5465         (dtv_slotinfo_list, dtv_slotinfo): New functions.
5466         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
5467         addresses even if the DTV is out of date or missing them.
5468         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
5469         index zero-length arrays.
5470         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
5471         (td_lookup): Make it a macro implemented in terms of...
5472         (td_mod_lookup): ... this declaration.
5473         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
5474         (DB_MAIN_VARIABLE): Likewise.
5476 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
5478         [BZ #18134]
5479         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
5481 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
5483         * stdlib/setenv.c (__add_to_environ): Revert previous change.
5485 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
5487         [BZ #18128]
5488         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
5489         (atomic_add, atomic_increment_and_test)
5490         (atomic_decrement_and_test): Fix 64-bit arithmetic.
5492 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
5494         * stdlib/setenv.c (__add_to_environ):
5495         Dump core quickly if setenv (..., NULL, ...) is called.
5497 2015-03-13  Roland McGrath  <roland@hack.frob.com>
5499         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
5500         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
5501         all the necessary asm magic in one place.
5502         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
5503         using those.
5505 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
5507         [BZ #14906]
5508         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
5509         traced file mtime. Use consistent log message.
5510         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
5511         (register_traced_file): Call install_watches. Always set mtime.
5512         (invalidate_cache): Iterate over all trace files. Call install_watches.
5513         (inotify_check_files): Don't inline. Handle watching parent
5514         directories and configuration file movement in and out.
5515         (handle_inotify_events): New function.
5516         (main_loop_poll): Call handle_inotify_events.
5517         (main_loop_epoll): Likewise.
5518         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
5519         (struct traced_file): Use array of inotify fds. Add parent directory,
5520         and basename.
5521         (struct database_dyn): Remove unused file_mtime.
5522         (init_traced_file): New inline function.
5523         (define_traced_file): New macro.
5524         * nss/nss_db/db-init.c: Use define_traced_file.
5525         (_nss_db_init): Use init_traced_file.
5526         * nss/nss_files/files-init.c: Use define_traced_file.
5527         (_nss_files_init): Use init_traced_file.
5529 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
5531         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
5532         [_LIBC]: Do not include <stdlib.h>.
5533         [!_LIBC] (abort): Remove declaration.
5534         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
5535         _FP_STATIC_ASSERT instead of conditionally calling abort.
5536         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
5537         (_FP_EXTEND_CNAN): Likewise.
5538         (FP_TRUNC): Likewise.
5539         (__FP_CLZ): Likewise.
5540         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
5542 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
5544         * manual/string.texi (XPG basename): Fix prototype.
5546 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5548         [BZ #18080]
5549         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
5550         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5551         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
5552         (__setcontext): Likewise.
5553         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
5554         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5555         Call rt_sigprocmask syscall one time to set new signal mask
5556         and retrieve the current signal mask instead of two calls.
5557         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
5558         (__swapcontext): Likewise.
5559         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
5560         * stdlib/tst-setcontext2.c: New file.
5562 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5564         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5566 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
5568         [BZ #18093]
5569         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
5570         the wrong size.
5572 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5574         [BZ #18043]
5575         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
5577 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5579         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
5580         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
5581         Remove define.
5582         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
5583         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
5584         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
5585         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
5586         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
5587         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
5588         define.
5589         * nptl_db/td_symbol_list.c (td_lookup): Remove
5590         HAVE_ASM_GLOBAL_DOT_NAME code.
5591         * sysdeps/powerpc/powerpc64/configure.ac: Remove
5592         HAVE_ASM_GLOBAL_DOT_NAME check.
5593         * sysdeps/powerpc/powerpc64/configure: Regenerate.
5594         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
5595         (DOT_LABEL): Remove define.
5596         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
5597         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
5598         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
5599         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
5600         (__TLS_GET_ADDR): Likewise.
5601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
5602         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
5604 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
5606         [BZ #18111]
5607         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
5608         (_FPU_SETCW): Initialize cw from fpsr before storing.
5609         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
5610         (fesetexceptflag): Rewrite using fpu_control.h.
5611         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
5613 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
5615         [BZ #18110]
5616         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
5617         asms.
5618         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5620 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
5622         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
5623         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
5624         abort.
5625         (_FP_FMA): Likewise.
5626         (_FP_DIV): Likewise.
5628 2015-03-10  Roland McGrath  <roland@hack.frob.com>
5630         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
5631         with 0 in that case.
5632         * Makefile (summarize-tests): New canned sequence, factored out of
5633         commands for targets tests and xtests.  Display summary lines that
5634         don't start with PASS: or XFAIL: rather than ones that do start with
5635         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
5636         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
5637         do start with ERROR: or FAIL:.
5638         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
5639         (except for [$(build-shared) = yes]).
5640         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
5641         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
5642         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
5643         * nptl/Makefile: Revert 2015-03-04 changes.
5644         [$(CXX) empty] (tests-unsupported): New variable.
5645         * debug/Makefile: Likewise.
5647         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
5648         gnulib file.  Replace __attribute with __attribute__ throughout.
5650 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
5652         * sysdeps/hppa/fpu/libm-test-ulps: Update.
5654 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
5656         [BZ #18104]
5657         * math/auto-libm-test-in: Add another test of pow.
5658         * math/auto-libm-test-out: Regenerated.
5660 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5662         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
5663         $(config-cflags-nofma).
5665 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
5667         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
5668         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
5669         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
5670         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
5671         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
5672         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
5673         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
5674         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
5675         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
5676         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
5677         Add comment on closing #endif.
5679 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5681         * posix/wordexp.c (CHAR_IN_SET): New macro.
5682         (parse_param): Use it.
5684 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5686         * sysdeps/powerpc/fpu/libm-test-ulps: update.
5688 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5690         [BZ #18043]
5691         * posix/wordexp.c (parse_param): Fix buffer overflow.
5692         * posix/wordexp-test.c (test_case): Add test case.
5694 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5696         [BZ #18042]
5697         * posix/wordexp.c (parse_backtick): Fix off-by-one.
5698         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
5700 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5702         [BZ #18043]
5703         * posix/wordexp-test.c (test_case): Add test for BZ #18043
5704         (do_bz18043): Delete.
5705         (at_page_end): New.
5706         (testit): Refactor to have words at the edge of unreadable page.
5708 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
5710         [BZ #16734]
5711         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
5712         Cleanup read-only streams as well.
5713         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
5715 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5717         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
5718         <bits/libc-lockP.h>
5720 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
5722         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
5723         on [__KERNEL__].
5724         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
5725         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
5726         * soft-fp/op-common.h (_FP_DECL): Likewise.
5728 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
5730         * elf/ifuncdep2.c (global): Replace
5731         __attribute__((visibility("protected"))) with
5732         asm (".protected global").
5733         * elf/ifuncmod1.c (global): Likewise.
5734         * elf/ifuncmod5.c (global): Likewise.
5736 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
5738         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
5739         <asm/sfp-machine.h> instead of <sfp-machine.h>.
5741 2015-03-06  Roland McGrath  <roland@hack.frob.com>
5743         * manual/install.texi (Configuring and compiling):
5744         Document test-wrapper-env-only.
5745         * INSTALL: Regenerated.
5747 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
5749         [BZ #18043]
5750         * posix/wordexp.c (parse_param): Fix buffer overflow.
5751         * posix/wordexp-test.c (do_bz18043): Add test case.
5753 2015-03-06  Vincent Bernat  <vincent@bernat.im>
5755         * time/tst-strptime2.c (do_test): Ensure failing tests are
5756         reported correctly.
5757         * time/tst-strptime3.c (do_test): Likewise.
5759 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
5761         Fix aio_error thread-safety.
5762         * sysdeps/pthread/aio_error.c: New file
5763         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
5764         synchronization.
5766 2015-03-06  Florian Weimer  <fweimer@redhat.com>
5768         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
5769         (group_number, vfprintf): Use it.
5770         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
5771         (JUMP, REF): Use it.
5772         (WORK_BUFFER_SIZE): New enum constant.
5773         (process_arg, vfprintf): Use it.
5775 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
5777         * manual/errno.texi (Error Messages): Complete example function
5778         by adding missing #define.
5779         (program_invocation_name): Add statement indicating GNU
5780         extension and reference which header file declares the variable.
5781         (program_invocation_short_name): Likewise.
5783 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
5785         * manual/errno.texi (Error Messages): Delete strerror ISO C89
5786         compatibility note.
5788 2015-03-05  Roland McGrath  <roland@hack.frob.com>
5790         * Makeconfig (test-wrapper-env-only): New variable.
5791         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
5792         then use that with $(test-wrapper-env-only) rather than using
5793         $(test-wrapper-env) $(run-program-env) $($*-ENV).
5795 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
5797         [BZ #18082]
5798         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
5799         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
5800         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
5801         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
5802         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
5803         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
5804         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
5805         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
5806         Likewise.
5807         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
5808         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
5809         Likewise.
5810         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
5811         Likewise.
5812         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
5813         Likewise.
5814         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
5815         Likewise.
5816         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
5817         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
5818         Likewise.
5819         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
5820         Likewise.
5821         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
5822         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
5824 2015-03-04  Roland McGrath  <roland@hack.frob.com>
5826         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
5827         (ETH_ALEN): New macro.
5828         (struct ether_addr): Use it for length of ether_addr_octet.
5830         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
5831         (setdb): Don't call __nss_configure_lookup for "rpc".
5832         (do_test): Don't call test_rpc.
5833         (output_rpcent, test_rpc): Functions moved ...
5834         * sunrpc/test-rpcent.c: ... to this new file.
5835         * sunrpc/Makefile (tests): Add it.
5837         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
5838         __xpg_sigpause.
5839         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
5840         * nptl/tst-signal6.c: Likewise.
5841         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
5842         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
5844         * configure.ac (libc_cv_cxx_link_ok): New check.
5845         Reset CXX to empty if it fails to link.
5846         * configure: Regenerated.
5847         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
5848         bug-atexit3-lib only if $(CXX) is nonempty.
5849         * nptl/Makefile (tests): Likewise for tst-cancel24.
5850         (tests, tests-static): Likewise for tst-cancel24-static.
5851         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
5852         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
5853         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
5854         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
5856 2015-03-04  Andreas Schwab  <schwab@suse.de>
5858         [BZ #17631]
5859         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
5860         for non-GCC compilers.
5861         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5862         Likewise.
5864 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5866         [BZ #17776]
5867         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
5868         integer before bitwise and assembly operations.
5869         (feclearexcept): Likewise.
5870         * math/test-fenvinline.c: New file.
5871         * math/Makefile: Add test-fenvinline test.
5873 2015-03-03  Alan Modra  <amodra@gmail.com>
5875         [BZ #16512]
5876         * scripts/localplt.awk: Strip off symbol version.
5877         * NEWS: Mention bug fix.
5879 2015-03-02  Roland McGrath  <roland@hack.frob.com>
5881         * sysdeps/pthread/timer_routines.c
5882         (timer_free_list, thread_free_list, thread_active_list): Make static.
5884 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
5886         [BZ #17779]
5887         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5888         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5889         Undefine.
5890         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5891         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5892         Likewise.
5893         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5894         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5895         Likewise.
5897 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
5899         [BZ #18036]
5900         * posix/fnmatch_loop.c (END): Detect invalid pattern.
5901         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
5903 2015-03-02  Andreas Schwab  <schwab@suse.de>
5905         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
5906         variable name.
5908 2015-03-02  Florian Weimer  <fweimer@redhat.com>
5910         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
5911         Return error status.
5913 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
5915         [BZ #15969]
5916         * locale/findlocale.c (_nl_find_locale): Introduce const
5917         version of loc_name and drop unsafe type casts.
5919 2015-02-27  Roland McGrath  <roland@hack.frob.com>
5921         * dlfcn/tststatic2.c (main): Converted to ...
5922         (do_test): ... this.
5923         (TEST_FUNCTION): New macro.
5924         Include test-skeleton.c.
5926 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
5928         [BZ #17711]
5929         * elf/Makefile (tests): Add vismain only if PIE is enabled.
5930         (tests-pie): Add vismain.
5931         (CFLAGS-vismain.c): New.
5932         * elf/vismain.c: Add comments for PIE requirement.
5934 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
5936         [BZ #18046]
5937         [BZ #18047]
5938         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
5939         0x1p-56L as threshold for just returning the argument.
5940         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
5941         0x1p-32L as threshold for just returning the argument.
5942         * math/auto-libm-test-in: Add more tests of atanh.
5943         * math/auto-libm-test-out: Regenerated.
5944         * sysdeps/i386/fpu/libm-test-ulps: Update.
5945         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
5947 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
5949         * string/bcopy.c (bcopy): Call memmove for performance.
5951 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
5953         * string/bzero.c (__bzero): Call memset for performance.
5955 2015-02-27  John David Anglin  <dave.anglin@bell.net>
5957         [BZ #18068]
5958         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
5959         to 00100000.
5961 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
5963         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
5965 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
5967         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
5968         (__kernel_standard): Use CSTR macro when setting exc.name.
5969         * sysdeps/ieee754/Makefile [$(subdir) = math]
5970         (CFLAGS-k_standard.c): Remove variable.
5972         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
5973         setting p and q from "else if" to "else".
5974         (qzero): Likewise.
5975         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
5976         (qone): Likewise.
5977         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
5978         (qzerof): Likewise.
5979         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
5980         (qonef): Likewise.
5981         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
5982         (qzero): Likewise.
5983         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
5984         (qone): Likewise.
5986         [BZ #18038]
5987         [BZ #18039]
5988         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
5989         return pi/2 for arguments below 0x1p-113L.
5990         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
5991         return pi/2 for arguments below 0x1p-106L.
5992         * math/auto-libm-test-in: Add more tests of acos.
5993         * math/auto-libm-test-out: Regenerated.
5995         [BZ #16351]
5996         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
5997         (MO): New macro.
5998         (__ieee754_asin): Force underflow exception for results with small
5999         absolute value.
6000         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
6001         (MO): New macro.
6002         (__ieee754_asinf): Force underflow exception for results with
6003         small absolute value.
6004         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
6005         (__ieee754_asin): Force underflow exception for results with small
6006         absolute value.
6007         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
6008         (__ieee754_asinf): Force underflow exception for results with
6009         small absolute value.
6010         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
6011         (__ieee754_asinl): Force underflow exception for results with
6012         small absolute value.
6013         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
6014         (__ieee754_asinl): Force underflow exception for results with
6015         small absolute value.
6016         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
6017         (__ieee754_asinl): Force underflow exception for results with
6018         small absolute value.
6019         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
6020         Include <math.h>.
6021         * math/auto-libm-test-in: Do not mark underflow exceptions as
6022         possibly missing for bug 16351.
6023         * math/auto-libm-test-out: Regenerated.
6025         [BZ #18030]
6026         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
6027         of power of 2 down when low part has opposite sign.
6028         * math/libm-test.inc (logb_test_data): Add more tests.
6030 2015-02-26  Andreas Schwab  <schwab@suse.de>
6032         [BZ #18032]
6033         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
6034         over collating symbol inside a bracket expression.  Minor cleanup.
6035         * posix/tst-fnmatch3.c (do_test): Add test case.
6037 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
6039         [BZ #18029]
6040         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
6041         Adjust exponent of power of 2 down when low part has opposite
6042         sign.
6043         * math/libm-test.inc (ilogb_test_data): Add more tests.
6045 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
6047         [BZ #15969]
6048         * locale/findlocale.c (_nl_find_locale): Fix constness error in
6049         the previous change.
6051         [BZ #15969]
6052         * locale/findlocale.c (_nl_find_locale): Retry archive search
6053         after alias expansion.
6055 2015-02-25  Roland McGrath  <roland@hack.frob.com>
6057         * iconv/tst-iconv3.c (main): Converted to ...
6058         (do_test): ... this.
6059         (TEST_FUNCTION): New macro.
6060         Include test-skeleton.c.
6062         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
6063         (convert): Make function static.
6064         (test_unalign): Likewise.  Add const to argument pointee types.
6065         (main): Replace with static function do_test.
6066         Print "Succeeded." only if RET is zero.
6067         (TEST_FUNCTION): New macro.
6068         Include test-skeleton.c.
6070         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
6071         returns a null pointer.
6073 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6075         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
6076         to __memcpy_ppc only for static builds.
6078 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
6080         [BZ #18020]
6081         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
6082         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
6083         * math/auto-libm-test-in: Add more tests of asinh.
6084         * math/auto-libm-test-out: Regenerated.
6085         * sysdeps/i386/fpu/libm-test-ulps: Update.
6086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6088 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
6090         [BZ #15850]
6091         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
6092         and ip6_mtuinfo definitions here.
6093         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
6094         in this define too.  Update comment.
6096 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
6098         * elf/sprof.c (load_shobj): Tweak error message to match others.
6100 2015-02-24  Kevin Easton  <kevin@guarana.org>
6102         [BZ #16145] (partial fix)
6103         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
6104         to reduce lock contention.
6106 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
6108         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
6109         (struct timex): Update time comment.
6110         (ADJ_SETOFFSET): Define.
6112 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6114         [BZ #18019]
6115         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6116         2**56 not 2**28 as threshold for log (2x) formula.
6117         * math/auto-libm-test-in: Add more tests of acosh.
6118         * math/auto-libm-test-out: Regenerated.
6119         * sysdeps/i386/fpu/libm-test-ulps: Update.
6120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6122 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6124         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
6125         parenthesis around the buf assignment.
6126         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
6128 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6130         [BZ #16783]
6131         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
6132         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
6133         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
6134         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6135         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6136         * math/libm-test.inc (scalb_test_data): Add more tests.
6138 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6140         [BZ #17916]
6141         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
6142         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
6144 2015-02-24  Eric Rannaud  <e@nanocritical.com>
6146         [BZ #17523]
6147         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
6148         * io/bits/fcntl2.h (open): Use it.
6149         (openat): Likewise.
6150         * io/open.c (__libc_open): Likewise.
6151         * io/open64.c (__libc_open64): Likewise.
6152         * io/open64_2.c (__open64_2): Likewise.
6153         * io/open_2.c (__open_2): Likewise.
6154         * io/openat.c (__openat): Likewise.
6155         * io/openat64.c (__openat64): Likewise.
6156         * io/openat64_2.c (__openat64_2): Likewise.
6157         * io/openat_2.c (__openat_2): Likewise.
6158         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
6159         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
6160         * sysdeps/posix/open64.c (__libc_open64): Likewise.
6161         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6162         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
6163         (__open_nocancel): Likewise.
6164         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
6165         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
6166         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
6168 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6170         [BZ #14841]
6171         * resolv/gethnamaddr.c (getanswer): Skip logging if
6172         RES_USE_DNSSEC is set.
6173         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6175 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6177         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
6179 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
6181         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6182         201304L, for Unicode 7.
6184 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
6186         [BZ #17836]
6187         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
6188         shared library.  Add gmon-start.os otherwise.
6189         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
6190         $(objpfx)gmon-start.os if builing shared library.
6191         ($(objpfx)g$(static-start-installed-name)): Likewise.
6193 2015-02-23  Andreas Schwab  <schwab@suse.de>
6195         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
6197 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
6199         [BZ #17269]
6200         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
6201         (enlarge_userbuf): Likewise.
6203 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
6205         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
6206         * math/atest-exp.c (TIMEOUT): Adjust to 200.
6207         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
6208         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
6210 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
6212         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
6213         expression inside statement expression.
6215 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6217         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
6218         <sysdeps/nptl/lowlevellock.h> and remove macros and
6219         functions that are now defined there.
6220         (SYS_futex): Remove.
6221         (lll_compare_and_swap): Remove.
6222         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
6224 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
6226         [BZ #17999]
6227         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
6228         instead of scandirat.
6229         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
6230         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
6231         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
6232         __scandirat.
6233         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
6234         (__scandirat): Declare.  Use libc_hidden_proto.
6235         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
6236         Remove variable.
6237         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6239 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
6241         [BZ #15319]
6242         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
6243         (MO): New macro.
6244         (__ieee754_atan2): For results with small absolute value, force
6245         underflow exception and remove excess range and precision from
6246         return value.
6247         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
6248         (MO): New macro.
6249         (__ieee754_atan2f): For results with small absolute value, force
6250         underflow exception and remove excess range and precision from
6251         return value.
6252         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
6253         (MO): New macro.
6254         (__atan): For results with small absolute value, force underflow
6255         exception and remove excess range and precision from return value.
6256         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
6257         (MO): New macro.
6258         (__atanf): For results with small absolute value, force underflow
6259         exception and remove excess range and precision from return value.
6260         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
6261         <math.h>.
6262         (__ieee754_atan2): Force underflow exception for results with
6263         small absolute value.
6264         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
6265         <math_private.h>.
6266         (atan): Force underflow exception for results with small absolute
6267         value.
6268         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
6269         (__atanf): Force underflow exception for results with small
6270         absolute value.
6271         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
6272         <math.h>.
6273         (__atanl): Force underflow exception for results with small
6274         absolute value.
6275         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
6276         (__atanl): Force underflow exception for results with small
6277         absolute value.
6278         * sysdeps/x86/fpu/bits/mathinline.h
6279         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
6280         (__ieee754_atan2): Only define inline for long double.
6281         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6282         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
6283         * math/auto-libm-test-in: Do not mark underflow exceptions as
6284         possibly missing for bug 15319.  Add more tests of atan2.
6285         * math/auto-libm-test-out: Regenerated.
6286         * math/libm-test.inc (casin_test_data): Do not mark underflow
6287         exceptions as possibly missing for bug 15319.
6288         (casinh_test_data): Likewise.
6289         * sysdeps/i386/fpu/libm-test-ulps: Update.
6291 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
6293         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
6294         * sysdeps/mips/bits/endian.h: Fix comments.
6296 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
6298         [BZ #17996]
6299         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
6300         (hdestroy_r): Likewise.
6301         (hsearch_r): Likewise.
6302         (__hcreate_r): Declare and use libc_hidden_proto.
6303         (__hdestroy_r): Likewise.
6304         (__hsearch_r): Likewise.
6305         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
6306         (hcreate): Call __hcreate_r instead of hcreate_r.
6307         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
6308         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
6309         as weak alias of __hcreate_r.
6310         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
6311         __hdestroy_r.
6312         (hsearch_r): Rename to __hsearch_r and define as weak alias of
6313         __hsearch_r.
6314         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
6315         Remove variable.
6316         (test-xfail-XPG4/search.h/linknamespace): Likewise.
6317         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6318         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6319         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6321 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6323         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
6324         arena_lock into a single arena_get.
6326 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
6328         * dl-reloc.c: Inlucde libc-internal.h.
6329         (_dl_try_allocate_static_tls): Call ALIGN_UP.
6330         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
6331         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
6332         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
6333         (grow_heap): Likewise.
6334         * malloc/malloc.c: Include libc-internal.h.
6335         (do_check_malloc): Call powerof2.
6336         (sysmalloc): Use pagesize. Call ALIGN_UP.
6337         (systrim): Use pagesize.
6338         (mremap_chunk): Use pagesize. Call ALIGN_UP.
6339         (__libc_valloc): Use pagesize.
6340         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
6342 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6344         [BZ #17991]
6345         * include/sys/resource.h (__getrlimit64): Declare.  Use
6346         libc_hidden_proto.
6347         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
6348         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
6349         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
6350         getrlimit64.
6351         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
6352         __getrlimit64.
6353         [!getrlimit64] (getrlimit64): Define as weak alias of
6354         __getrlimit64.  Use libc_hidden_weak.
6355         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
6356         using __getrlimit64 not __new_getrlimit64.
6357         (__GI_getrlimit64): Likewise.
6358         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
6359         Likewise.
6360         (__GI_getrlimit64): Likewise.
6361         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
6362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
6363         (getrlimit): Add __getrlimit64 alias.
6364         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
6365         Likewise.
6366         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
6367         Remove variable.
6368         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6369         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6371 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
6373         * libio/fileops.c: Add missing sys/mman.h
6374         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
6376 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6378         * manual/math.texi (Errors in Math Functions): Clarify goals
6379         regarding inexact and underflow exceptions.
6381 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
6383         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
6384         * sysdeps/mips/memset.S: Ditto.
6386 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
6388         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
6390 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6392         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
6393         (__v1longjmp): Remove versioned symbol.
6394         (__v1siglongjmp): Remove alias and versioned symbol.
6395         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
6396         (__v2siglongjmp): Likewise.
6398 2015-02-16  Torvald Riegel  <triegel@redhat.com>
6400         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
6402 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
6404         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
6406 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
6408         [BZ #17987]
6409         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
6410         zero result does not depend on the sign resulting from
6411         subtraction.
6412         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6413         Likewise.
6414         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
6415         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
6416         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6417         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
6418         * math/libm-test.inc (remquo_test_data): Add more tests.
6420 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
6422         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
6423         Problem reported by J William Piggott.
6425 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
6427         [BZ #17978]
6428         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
6429         products 4 * y and 2 * y where those would overflow.
6430         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6431         Likewise.
6432         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
6433         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
6434         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6435         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
6436         * math/libm-test.inc (remquo_test_data): Add more tests.
6438         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
6440         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
6441         [defined _COMPILING_NEWLIB].
6442         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
6443         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
6445         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
6446         [!defined __mips_isa_rev || __mips_isa_rev < 6].
6448 2015-02-16  Torvald Riegel  <triegel@redhat.com>
6450         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
6451         acquired.
6453 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
6455         [BZ #17792]
6456         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
6457         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
6458         HOST_STACK_END_ADDR): Likewise.
6460 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
6462         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
6463         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
6464         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
6466 2015-02-13  Roland McGrath  <roland@hack.frob.com>
6468         * sysdeps/generic/c++-types.data: New file.
6469         * sysdeps/generic/ld.abilist: New file.
6470         * sysdeps/generic/libBrokenLocale.abilist: New file.
6471         * sysdeps/generic/libanl.abilist: New file.
6472         * sysdeps/generic/libc.abilist: New file.
6473         * sysdeps/generic/libcrypt.abilist: New file.
6474         * sysdeps/generic/libdl.abilist: New file.
6475         * sysdeps/generic/libm.abilist: New file.
6476         * sysdeps/generic/libpthread.abilist: New file.
6477         * sysdeps/generic/libresolv.abilist: New file.
6478         * sysdeps/generic/librt.abilist: New file.
6480 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
6482         [BZ #17569]
6483         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6484         Compute absolute value of x as modified by fmod, not original
6485         value of x.
6486         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
6487         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
6488         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
6489         RUN_TEST_ffI_f1_mod8.
6490         (remquo_test_data): Add more tests.
6492 2015-02-13  Roland McGrath  <roland@hack.frob.com>
6494         * sysdeps/init_array/pt-crti.S: New file.
6496 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
6498         [BZ #17967]
6499         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
6500         __builtin_fmaf instead of relying on contraction of a * b + c.
6502 2015-02-12  J William Piggott  <elseifthen@gmx.com>
6504         [BZ #17969]
6505         * manual/time.texi: correct the zoneinfo path in the TZ Variable
6506         node.
6508 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
6510         [BZ #17964]
6511         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
6512         __builtin_fma instead of relying on contraction of a * b + c.
6514 2015-02-12  Roland McGrath  <roland@hack.frob.com>
6516         * Makeconfig (ASFLAGS): Add -Werror=undef.
6517         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
6518         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
6519         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
6521         * Makeconfig (after-link): New variable.
6522         (+link-pie, +link-pie-tests): Use it.
6523         (+link-static, +link-static-tests): Likewise.
6524         (+link, +link-tests): Likewise.
6525         * Makerules (build-module, build-module-asneeded): Likewise.
6526         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
6527         Likewise.
6528         * elf/Makefile ($(objpfx)ld.so): Likewise.
6530 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
6532         [BZ #17965]
6533         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
6534         both struct timeval and struct timespec.
6536 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
6538         [BZ #16560]
6539         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6540         and redefine.
6541         (__ieee754_exp2l): Do not multiply small fractional parts by
6542         M_LN2l.
6543         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
6544         small argument.
6545         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6546         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
6547         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
6548         * math/auto-libm-test-in: Add more tests of exp2.
6549         * math/auto-libm-test-out: Regenerated.
6551 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6553         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
6554         unaligned path.
6556 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6558         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
6559         little endian.
6561 2015-02-12  Andreas Schwab  <schwab@suse.de>
6563         [BZ #15790]
6564         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
6565         Filter out elision flags from value returned in kind.
6566         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
6567         * nptl/tst-pthread-mutexattr.c: New file.
6569 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6571         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
6572         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
6573         into gnu-gnu, and update comment to refer to abi-tags.
6575 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
6577         [BZ #15467]
6578         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
6579         (__sincos): Set errno to EDOM for infinite argument.
6580         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
6581         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
6582         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
6583         (__sincosl): Set errno to EDOM for infinite argument.
6584         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
6585         (__sincosl): Set errno to EDOM for infinite argument.
6586         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
6587         (__sincosl): Set errno to EDOM for infinite argument.
6588         * math/libm-test.inc (sincos_test_data): Test errno setting.
6590 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
6592         * string/strxfrm_l.c: Remove #define STRCMP.
6593         * string/strcoll_l.c: Remove #define STRLEN.
6594         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
6595         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
6597 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
6599         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
6600         * sysdeps/mips/mips32/sfp-machine.h: ... here.
6601         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
6602         * sysdeps/mips/mips64/Makefile: ... here.
6603         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
6604         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
6605         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
6606         * sysdeps/mips/mips64/sfp-machine.h: ... here.
6607         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
6608         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
6609         * sysdeps/mips/mips64/n64/Implies: Likewise.
6611 2015-02-10  Roland McGrath  <roland@hack.frob.com>
6613         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
6614         <sys/time.h>, <string.h>, and <errno.h>.
6615         (dest_offset, dest_address, value, zero): Remove unused variables.
6616         (ldouble): Remove typedef.
6617         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
6618         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
6619         1).  Fix code style.
6620         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
6621         (check): Function removed.
6622         (CHECK): New macro.
6623         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
6624         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
6625         Don't call set_sigaction_FP and remove_sigaction_FP here.
6626         (ldouble_test): Just use 'long double' as macro argument, no need for
6627         the 'ldouble' typedef.
6628         (do_test): Set up SIGFPE handler at start, using plain signal rather
6629         than sigaction.  Fix code style.
6631 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
6633         [BZ #17949]
6634         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
6635         jump label.
6637 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6639         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
6640         * sysdeps/powerpc/powerpc32/configure: Regenerated.
6642         * sysdeps/powerpc/configure.ac: Remove file.
6643         * sysdeps/powerpc/configure: Likewise.
6645         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6646         [sysdep_routines]: Remove wordcopy-power6 object.
6647         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6648         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
6649         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
6650         (__memmove_ppc32): Likewise.
6651         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
6652         file.
6653         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
6654         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
6655         Remove preprocessor.
6657         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6658         [sysdep_routines]: Remove wide chars objects.
6659         [wcsmbs]: New rule for wide char objects.
6661         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6662         Remove wordcopy-power6 obejct.
6663         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
6664         Use local call for wordcopy and memcpy symbols.
6665         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
6666         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
6667         implementation for loader.
6668         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
6670         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6671         Remove wordcopy-power7 object.
6672         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
6673         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
6674         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
6675         (_wordcopy_fwd_dest_aligned): Likewise.
6676         (_wordcopy_bwd_aligned): Likewise.
6677         (_wordcopy_bwd_dest_aligned): Likewise.
6679         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
6680         Rewrite to call __memmove_ppc instead of include default
6681         implementation.
6683         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6684         Remove wide chars objects.
6685         [wcsmbs]: New rule for wide char objects.
6687 2015-02-09  Andreas Schwab  <schwab@suse.de>
6689         [BZ #17912]
6690         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6691         in terms of __O_DIRECTORY.
6693 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6695         * time/getdate.c: Include <stdbool.h>.
6696         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
6697         call PTR_MANGLE.
6698         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
6699         PTR_DEMANGLE.
6701 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
6703         Add ersatz _Static_assert on older C hosts
6704         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
6705         pre-C11 C platform that is not known to support _Static_assert.
6707 2015-02-07  Richard Braun  <rbraun@sceen.net>
6709         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
6710         sigstate.
6711         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
6713 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6715         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
6716         priority against unexistent AIO_PRIO_DELTA_MAX.
6717         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
6718         instead of int.
6719         * misc/fchflags.c (fchflags): Likewise.
6720         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
6721         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
6722         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
6723         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
6724         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
6725         Declare macros.
6726         [__USE_MISC] (chflags, fchflags): Declare functions.
6727         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
6728         EINVAL when nfds is greater than FD_SETSIZE.
6729         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
6730         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
6731         45.
6732         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
6733         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
6734         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
6735         MACH_RCV_TIMED_OUT.
6736         * hurd/hurd/signal.h (_hurd_self_sigstate,
6737         _hurd_critical_section_lock, _hurd_critical_section_unlock):
6738         Explicit casts from void *.
6739         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
6740         * abi-tags: Rename gnu-gnu os into gnu.
6742         [BZ #4719]
6743         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
6744         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
6745         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
6746         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
6747         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
6748         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
6750         [BZ #17944]
6751         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
6752         duplicates ADDR->sun_path with sockaddr LEN limitation.
6753         * sysdeps/mach/hurd/connect.c: Include <string.h>
6754         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
6755         * sysdeps/mach/hurd/sendmsg.c: Likewise.
6756         * sysdeps/mach/hurd/sendto.c: Likewise.
6757         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
6758         implementing it by hand.
6760 2015-02-06  Roland McGrath  <roland@hack.frob.com>
6762         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
6763         Use sfi_breg on ldr.
6764         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
6765         Likewise.
6767         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
6768         it's defined.
6769         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
6770         Test SIGSETXID only if it's defined.
6772         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
6774         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
6775         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
6777         * nptl/tst-align2.c: Moved ...
6778         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
6779         * nptl/Makefile (tests): Remove tst-align2.
6780         * sysdeps/unix/sysv/linux/Makefile
6781         [$(subdir) = nptl] (tests): Add tst-align-clone.
6782         * nptl/tst-getpid1.c: Moved ...
6783         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
6784         * nptl/tst-getpid2.c: Moved ...
6785         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
6786         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
6787         * sysdeps/unix/sysv/linux/Makefile
6788         [$(subdir) = nptl] (tests): ... here.
6789         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
6790         * sysdeps/unix/sysv/linux/Makefile
6791         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
6793         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
6794         Drop trailing \n from perror argument.  Use return rather than exit.
6796         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
6797         on [SA_SIGINFO].
6798         * nptl/tst-cancel21.c (do_test): Likewise.
6799         * debug/tst-backtrace6.c: Include <signal.h> first thing.
6800         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
6801         [!SA_SIGINFO]: Make it a stub test.
6803         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
6804         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
6806         * posix/tst-getlogin.c: Move to ...
6807         * login/tst-getlogin.c: ... here.
6808         * posix/Makefile (tests): Move tst-getlogin to ...
6809         * login/Makefile (tests): ... here.
6811         * libio/tst-atime.c (do_test): Move local variables SV and E
6812         inside [ST_NOATIME] conditional.
6814         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
6816         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
6818         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
6819         (wait_code): New function replaces macro.
6820         Call nanosleep rather than syscall.
6822         * nptl/pt-system.c: Rewritten.  Put everything under
6823         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6824         Use IFUNC to redirect when possible.
6826         * nptl/pt-longjmp.c: Rewritten.  Put everything under
6827         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6828         Use IFUNC to redirect when possible.
6830         * nptl/pt-fork.c: Rewritten.  Put everything under
6831         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6832         Use IFUNC to redirect when possible.
6833         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
6835         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
6836         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
6837         unconditionally nowadays.  This included the only reference to
6838         __vdso_clock_gettime that appears outside libc proper.
6839         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
6840         Remove version set (containing only __vdso_clock_gettime).
6841         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
6842         Add attribute_hidden.
6843         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
6844         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
6845         libc_hidden_data_def.
6846         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6847         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6849         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
6850         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
6851         setrpcent, and getrpcport to ...
6852         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
6853         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
6854         getrpcbynumber_r, and getrpcent_r to ...
6855         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
6856         * inet/getrpcbyname.c: Moved ...
6857         * sunrpc/getrpcbyname.c: ... here.
6858         * inet/getrpcbyname_r.c: Moved ...
6859         * sunrpc/getrpcbyname_r.c: ... here.
6860         * inet/getrpcbynumber.c: Moved ...
6861         * sunrpc/getrpcbynumber.c: ... here.
6862         * inet/getrpcbynumber_r.c: Moved ...
6863         * sunrpc/getrpcbynumber_r.c: ... here.
6864         * inet/getrpcent.c: Moved ...
6865         * sunrpc/getrpcent.c: ... here.
6866         * inet/getrpcent_r.c: Moved ...
6867         * sunrpc/getrpcent_r.c: ... here.
6868         * inet/Makefile (routines): Move those to ...
6869         * sunrpc/Makefile (routines): ... here.
6870         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
6871         the $(subdirs) list.
6872         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
6873         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
6874         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
6875         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
6877         * elf/Makefile (routines): Include $(all-dl-routines), not just
6878         $(dl-routines).
6879         (rtld-routines): Likewise.  Use = rather than :=.
6880         * sysdeps/aarch64/Makefile [$(subdir) = elf]
6881         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
6882         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
6883         * sysdeps/arm/Makefile: Likewise.
6884         * sysdeps/i386/Makefile: Likewise.
6885         * sysdeps/x86_64/Makefile: Likewise.
6886         * sysdeps/hppa/Makefile [$(subdir) = elf]
6887         (sysdep_routines, sysdep-rtld-routines): Don't add
6888         $(sysdep-dl-routines) to these.
6889         * sysdeps/ia64/Makefile: Likewise.
6890         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
6891         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
6892         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
6893         Don't add dl-static to these; sysdep-dl-routines alone is enough.
6894         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
6895         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
6896         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
6897         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
6898         * sysdeps/powerpc/Makefile [$(subdir) = elf]
6899         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
6900         these; sysdep-dl-routines alone is enough.
6902 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
6904         [BZ #17932]
6905         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
6906         where multiplication results in zero and third argument is finite
6907         and nonzero.
6908         * math/auto-libm-test-in: Add more tests of fma.
6909         * math/auto-libm-test-out: Regenerated.
6911         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
6912         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
6913         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
6914         (_FP_CMP_EQ): Likewise.
6915         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
6917         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
6918         extra argument CHECK_NAN.  Redefine as wrapper around
6919         _FP_EXTEND_CNAN.
6921 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
6923         * version.h (RELEASE): Set to "stable".
6924         (VERSION): Set to "2.21"
6925         * include/features.h (__GLIBC_MINOR__): Set to 21.
6927         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
6929 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6930             Paul Eggert  <eggert@cs.ucla.edu>
6932         [BZ #16618]
6933         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
6934         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
6935         size in bytes. Store needed elements in wpmax. Use needed size
6936         in bytes for extend_alloca.
6938 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
6940         * manual/install.texi: Latest tested versions are GCC 4.9.2,
6941         binutls 2.25, and texinfo 5.2.
6942         * INSTALL: Regenerate.
6943         * sysdeps/nios2/configure: Regenerate.
6944         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
6945         * manual/contrib.texi: Update.
6946         * po/be.po: Update.
6947         * po/bg.po: Update.
6948         * po/ca.po: Update.
6949         * po/cs.po: Update.
6950         * po/da.po: Update.
6951         * po/de.po: Update.
6952         * po/el.po: Update.
6953         * po/eo.po: Update.
6954         * po/es.po: Update.
6955         * po/fi.po: Update.
6956         * po/fr.po: Update.
6957         * po/gl.po: Update.
6958         * po/hr.po: Update.
6959         * po/hu.po: Update.
6960         * po/ia.po: Update.
6961         * po/id.po: Update.
6962         * po/it.po: Update.
6963         * po/ja.po: Update.
6964         * po/ko.po: Update.
6965         * po/lt.po: Update.
6966         * po/nb.po: Update.
6967         * po/nl.po: Update.
6968         * po/pl.po: Update.
6969         * po/pt_BR.po: Update.
6970         * po/ru.po: Update.
6971         * po/rw.po: Update.
6972         * po/sk.po: Update.
6973         * po/sl.po: Update.
6974         * po/sv.po: Update.
6975         * po/tr.po: Update.
6976         * po/uk.po: Update.
6977         * po/vi.po: Update.
6978         * po/zh_CN.po: Update.
6979         * po/zh_TW.po: Update.
6981         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
6982         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
6983         * sysdeps/hppa/dl-irel.h: Remove #warning.
6984         * sysdeps/hppa/entry.h: Provide prototype for
6985         __canonicalize_funcptr_for_compare and cast argument.
6986         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
6987         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
6988         * sysdeps/hppa/sotruss-lib.c: New file.
6989         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
6990         (atomic_compare_and_exchange_val_acq): Use __typeof__.
6991         (atomic_compare_and_exchange_bool_acq): Likewise.
6992         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
6993         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
6995         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
6996         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
6997         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
6999 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
7001         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
7002         called function in non-PIC case.
7004 2015-01-31  David S. Miller  <davem@davemloft.net>
7006         * sysdeps/sparc/sparc32/bits/atomic.h
7007         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
7008         unlock not after it.
7009         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
7010         volatile register usage warnings from the compiler.
7012         * sysdeps/sparc/nptl/sem_init.c: Delete.
7013         * sysdeps/sparc/nptl/sem_post.c: Delete.
7014         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
7015         * sysdeps/sparc/nptl/sem_wait.c: Delete.
7016         * sysdeps/sparc/sparc32/sem_init.c: New file.
7017         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
7018         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
7019         padding explicitly initialized.
7020         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
7021         padding for in-semaphore spinlock.
7022         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
7023         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
7024         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
7025         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
7026         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
7027         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
7028         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
7029         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
7030         version.
7031         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
7032         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
7034 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
7036         [BZ #17801]
7037         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7038         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
7039         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
7040         New.
7041         (index_AVX_Fast_Unaligned_Load): Likewise.
7042         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
7043         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
7044         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
7045         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
7046         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
7047         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
7048         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
7049         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
7050         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
7052 2015-01-29  Andreas Schwab  <schwab@suse.de>
7054         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
7056 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
7058         [BZ #17892]
7059         * nscd/nscd_stat.c (send_stats): Initialize DATA.
7061 2015-01-28  Martin Sebor  <msebor@redhat.com>
7063         * math/README.libm-test: Clarify. Add "How to read the test output."
7065 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
7067         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
7068         Define to 0.
7070 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
7072         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
7073         (__HAVE_64B_ATOMICS): Define to 0.
7075 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7077         [BZ #17885]
7078         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
7079         value to set as new flag.
7081         [BZ #16576]
7082         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
7083         and use _ARCH_PPCSQ instead.
7084         (__ieee754_sqrt): Likewise.
7085         (__ieee754_sqrtf): Likewise.
7086         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
7087         _ARCH_PPCSQ is defined.
7088         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
7089         fsqrt instruction.
7090         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
7091         _ARCH_PPCSQ is defined.
7092         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
7093         fsqrts instruction.
7094         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
7096 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7098         * iconv/loop.c: Suppress array out of bound warning caused by GCC
7099         bug (GCC BZ #64739).
7101 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
7103         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
7104         Mark _retval as used.
7105         (lll_futex_wake_unlock): Likewise.
7106         (lll_futex_timed_wait_requeue_pi): Likewise.
7108         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7109         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
7110         register variables.
7112         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
7113         libm_hidden_def.
7115         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
7116         (__bswap_64): Mark as __always_inline.
7118 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
7120         [BZ #15378]
7121         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
7122         when none of the search directories exist.
7124 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7126         [BZ #17869]
7127         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
7128         power8 in .machine directive.
7130         [BZ #17868]
7131         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
7132         set dependency from opd value.
7134 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7136         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7137         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
7138         architecture.
7140 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7142         [BZ #17870]
7143         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
7144         with uint64_t.
7145         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
7146         (uint64_t) 1.
7147         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
7148         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
7149         Replace 1UL with (uint64_t) 1.
7150         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
7151         int with uint64_t.
7153 2015-01-23  Roland McGrath  <roland@hack.frob.com>
7155         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
7156         (if_freenameindex): Likewise.
7158         * resource/getrlimit64.c: Add missing libc_hidden_def.
7160 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
7162         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
7163         __label__.
7164         (_FP_FMA): Likewise.
7165         (_FP_TO_INT_ROUND): Likewise.
7166         (_FP_FROM_INT): Likewise.
7168 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7170         [BZ #16418]
7171         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
7172         Make code racy and cancel safe.
7174 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
7176         * sysdeps/arm/unwind-resume.h: Fix copyright year.
7177         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
7178         attribution.
7180         * pwd/tst-getpw.c: Rewrite.
7182         [BZ #17702]
7183         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
7184         (modules-names): Add moddummy1 and moddummy2.
7185         ($(objpfx)tst-rec-dlopen): Define.
7186         * dlfcn/moddummy1.c: New file.
7187         * dlfcn/moddummy2.c: New file.
7188         * dlfcn/tst-rec-dlopen.c: New file.
7189         * elf/dl-cache.c (_dl_load_cache_lookup):
7190         Return char*. Copy result with alloca/strcpy/strdup.
7191         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
7192         returns char*. Free cached. If not saving realname
7193         free cached.
7194         * elf/dl-open.c (dl_open_worker): Do not assert that
7195         _r_debug->r_state is RT_CONSISTENT.
7196         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
7197         returns char*.
7199 2015-01-21  Torvald Riegel  <triegel@redhat.com>
7200             Carlos O'Donell  <carlos@redhat.com>
7202         [BZ #12674]
7203         * nptl/sem_waitcommon.c: New file.
7204         * nptl/sem_wait.c: Include sem_waitcommon.c.
7205         (__sem_wait_cleanup, do_futex_wait): Remove.
7206         (__new_sem_wait): Adapt.
7207         (__new_sem_trywait): New function.
7208         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
7209         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
7210         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
7211         (sem_timedwait): Adapt.
7212         * nptl/sem_post.c (__new_sem_post): Adapt.
7213         (futex_wake): New function.
7214         (__old_sem_post): Add release MO fence.
7215         * nptl/sem_open.c (sem_open): Adapt.
7216         * nptl/sem_init.c (__new_sem_init): Adapt.
7217         (futex_private_if_supported): New function.
7218         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
7219         (__old_sem_getvalue): Add using previous code.
7220         * sysdeps/nptl/internaltypes.h: Adapt.
7221         * nptl/tst-sem13.c (do_test): Adapt.
7222         * nptl/tst-sem11.c (main): Adapt.
7223         * nptl/sem_trywait.c: Remove.
7224         * nptl/DESIGN-sem.txt: Remove.
7225         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
7226         (gen-as-const-headers): Remove structsem.sym.
7227         * nptl/structsem.sym: Remove.
7228         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
7229         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
7230         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
7231         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
7232         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
7233         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
7234         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
7235         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
7236         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
7237         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
7238         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
7239         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
7240         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
7241         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
7242         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
7243         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
7244         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
7245         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
7246         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
7247         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
7248         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
7249         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
7251 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
7253         * INSTALL: Regenerated.
7255         * po/libc.pot: Regenerated.
7257 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
7258             Sandra Loosemore  <sandra@codesourcery.com>
7259             Andrew Jenner  <andrew@codesourcery.com>
7260             Joseph Myers  <joseph@codesourcery.com>
7261             Nathan Sidwell  <nathan@codesourcery.com>
7263         * NEWS: Mention new Nios II port.
7264         * sysdeps/nios2/Implies: New file.
7265         * sysdeps/nios2/Makefile: New file.
7266         * sysdeps/nios2/Subdirs: New file.
7267         * sysdeps/nios2/Versions: New file.
7268         * sysdeps/nios2/__longjmp.S: New file.
7269         * sysdeps/nios2/abort-instr.h: New file.
7270         * sysdeps/nios2/backtrace.c: New file.
7271         * sysdeps/nios2/bits/endian.h: New file.
7272         * sysdeps/nios2/bits/fenv.h: New file.
7273         * sysdeps/nios2/bits/link.h: New file.
7274         * sysdeps/nios2/bits/setjmp.h: New file.
7275         * sysdeps/nios2/bsd-_setjmp.S: New file.
7276         * sysdeps/nios2/bsd-setjmp.S: New file.
7277         * sysdeps/nios2/configure: New generated file.
7278         * sysdeps/nios2/configure.ac: New file.
7279         * sysdeps/nios2/crti.S: New file.
7280         * sysdeps/nios2/crtn.S: New file.
7281         * sysdeps/nios2/dl-init.c: New file.
7282         * sysdeps/nios2/dl-machine.h: New file.
7283         * sysdeps/nios2/dl-sysdep.h: New file.
7284         * sysdeps/nios2/dl-tls.h: New file.
7285         * sysdeps/nios2/dl-trampoline.S: New file.
7286         * sysdeps/nios2/gccframe.h: New file.
7287         * sysdeps/nios2/gmp-mparam.h: New file.
7288         * sysdeps/nios2/jmpbuf-offsets.h: New file.
7289         * sysdeps/nios2/jmpbuf-unwind.h: New file.
7290         * sysdeps/nios2/ldsodefs.h: New file.
7291         * sysdeps/nios2/libc-tls.c: New file.
7292         * sysdeps/nios2/libm-test-ulps: New file.
7293         * sysdeps/nios2/machine-gmon.h: New file.
7294         * sysdeps/nios2/math-tests.h: New file.
7295         * sysdeps/nios2/math_private.h: New file.
7296         * sysdeps/nios2/memusage.h: New file.
7297         * sysdeps/nios2/nptl/Makefile: New file.
7298         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
7299         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
7300         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
7301         * sysdeps/nios2/nptl/pthreaddef.h: New file.
7302         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
7303         * sysdeps/nios2/nptl/tls.h: New file.
7304         * sysdeps/nios2/preconfigure: New file.
7305         * sysdeps/nios2/s_fma.c: New file.
7306         * sysdeps/nios2/s_fmaf.c: New file.
7307         * sysdeps/nios2/setjmp.S: New file.
7308         * sysdeps/nios2/sfp-machine.h: New file.
7309         * sysdeps/nios2/sotruss-lib.c: New file.
7310         * sysdeps/nios2/stackguard-macros.h: New file.
7311         * sysdeps/nios2/stackinfo.h: New file.
7312         * sysdeps/nios2/start.S: New file.
7313         * sysdeps/nios2/sysdep.h: New file.
7314         * sysdeps/nios2/tls-macros.h: New file.
7315         * sysdeps/nios2/tst-audit.h: New file.
7316         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
7317         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
7318         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
7319         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
7320         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
7321         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
7322         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
7323         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
7324         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
7325         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
7326         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
7327         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
7328         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
7329         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
7330         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
7331         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
7332         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
7333         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
7334         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
7335         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
7336         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
7337         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
7338         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
7339         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
7340         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
7341         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
7342         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
7343         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
7344         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
7345         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
7346         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
7347         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
7348         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
7349         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
7350         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
7351         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
7352         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
7353         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
7354         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
7355         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
7356         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
7357         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
7358         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
7359         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
7361 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7363         [BZ #17844]
7364         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
7365         (getutent): Use weak_alias in non SHARED case
7366         and default_symbol_version in SHARED case.
7367         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
7368         (getutent_r, pututline): Likewise.
7369         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
7370         (getutid): Likewise.
7371         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
7372         (getutid_r): Likewise.
7373         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
7374         (getutline): Likewise.
7375         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
7376         (getutline_r): Likewise.
7377         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
7378         (updwtmp): Likewise.
7380 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7382         [BZ #17848]
7383         * sysdeps/s390/s390-32/memcmp.S
7384         (memcmp_g5): Rename to __memcmp_g5.
7385         * sysdeps/s390/s390-32/memcpy.S
7386         (memcpy_g5): Rename to __memcpy_g5.
7387         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7388         (memcpy_mvcle) Rename to __memcpy_mvcle.
7389         * sysdeps/s390/s390-32/memset.S
7390         (memset_g5): Rename to __memset_g5.
7391         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7392         (IFUNC_RESOLVE): Prefix ifunc-resolve function
7393         and use prefixed functions.
7394         * sysdeps/s390/s390-32/multiarch/memcmp.S
7395         (memcmp_z196): Rename to __memcmp_z196.
7396         (memcmp_z10): Rename to __memcmp_z10.
7397         (memcmp): Set alias to __memcmp_g5.
7398         (bcmp): Set alias to __memcmp_g5.
7399         * sysdeps/s390/s390-32/multiarch/memcpy.S
7400         (memcpy_z196): Rename to __memcpy_z196.
7401         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7402         (memcpy_z10): Rename to __memcpy_z10.
7403         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7404         (memcpy): Set alias to __memcpy_g5.
7405         * sysdeps/s390/s390-32/multiarch/memset.S
7406         (memset_z196): Rename to __memset_z196.
7407         Jump to __memset_mvcle instead of memset_mvcle.
7408         (memset_z10): Rename to __memset_z10.
7409         Jump to __memset_mvcle instead of memset_mvcle.
7410         (memset_mvcle) Rename to __memset_mvcle.
7411         (memset): Set alias to __memset_g5.
7412         * sysdeps/s390/s390-64/memcmp.S
7413         (memcmp_z900): Rename to __memcmp_z900.
7414         * sysdeps/s390/s390-64/memcpy.S
7415         (memcpy_z900): Rename to __memcpy_z900.
7416         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7417         (memcpy_mvcle) Rename to __memcpy_mvcle.
7418         * sysdeps/s390/s390-64/memset.S
7419         (memset_z900): Rename to __memset_z900.
7420         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
7421         (IFUNC_RESOLVE): Prefix ifunc-resolve function
7422         and use prefixed functions.
7423         * sysdeps/s390/s390-64/multiarch/memcmp.S
7424         (memcmp_z196): Rename to __memcmp_z196.
7425         (memcmp_z10): Rename to __memcmp_z10.
7426         (memcmp): Set alias to __memcmp_z900.
7427         (bcmp): Set alias to __memcmp_z900.
7428         * sysdeps/s390/s390-64/multiarch/memcpy.S
7429         (memcpy_z196): Rename to __memcpy_z196.
7430         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7431         (memcpy_z10): Rename to __memcpy_z10.
7432         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7433         (memcpy): Set alias to __memcpy_z900.
7434         * sysdeps/s390/s390-64/multiarch/memset.S
7435         (memset_z196): Rename to __memset_z196.
7436         Jump to __memset_mvcle instead of memset_mvcle.
7437         (memset_z10): Rename to __memset_z10.
7438         Jump to __memset_mvcle instead of memset_mvcle.
7439         (memset_mvcle) Rename to __memset_mvcle.
7440         (memset): Set alias to __memset_z900.
7442 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
7444         [BZ #17748]
7445         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
7446         __fesetenv instead of fesetenv.
7448 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7450         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
7451         macro.
7453 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7455         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
7456         regression on LE.
7458         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
7459         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
7460         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7461         strncmp-power8 object.
7462         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7463         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
7464         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
7465         * NEWS: Update.
7467 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7468             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7470         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
7471         trailing byte check.
7473 2015-01-13  David S. Miller  <davem@davemloft.net>
7475         * include/signal.h (__sigreturn): Guard with __USE_MISC.
7477 2015-01-13  Roland McGrath  <roland@hack.frob.com>
7479         * login/logout.c (logout): Use memset rather than bzero.
7480         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
7481         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
7482         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
7483         (_gethtbyaddr): Likewise.
7484         * locale/programs/simple-hash.c (bcopy): Macro removed.
7486 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7488         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7489         Add strcmp-power8 object.
7490         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7491         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
7492         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
7493         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
7494         __strcmp_power8 implementation.
7495         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
7496         * NEWS: Update.
7498         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7499         Add strncpy-power8 and stpncpy-power8 objects.
7500         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7501         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
7502         implementations.
7503         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
7504         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
7505         __stpncpy_power8 implementation.
7506         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
7507         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
7508         __strncpy_power8 implementation.
7509         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
7510         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
7511         * NEWS: Update.
7513         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
7514         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
7515         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
7517         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7518         strncat-power8 object.
7519         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
7520         __strcat_power8 implementation.
7521         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7522         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
7523         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
7524         optimized strcat for power8.
7526         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7527         strcpy-power8 and stpcpy-power8 objects.
7528         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7529         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
7530         implementations.
7531         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
7532         multiarch stpcpy implementation for POWER8.
7533         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
7534         multiarch strcpy implementation for POWER8.
7535         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
7536         __strcpy_power8 function.
7537         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
7538         stpcpy for POWER8.
7539         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
7540         strcpy for POWER8.
7541         * NEWS: Update.
7543 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
7545         [BZ #16009]
7546         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
7547         weights and rules. Use do_xfrm_cached if data fits in cache,
7548         do_xfrm otherwise.  Moved former main loop to...
7549         * (do_xfrm_cached): New function.
7550         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
7551         find_idx, find_position and stack_push.
7552         * (find_idx): New function.
7553         * (find_position): Likewise.
7554         * localedata/sort-test.sh: Added test run for do_xfrm.
7555         * localedata/xfrm-test.c (main): Added command line option
7556         -nocache to run the test with strings that are too large for
7557         the STRXFRM cache.
7559 2015-01-13  Torvald Riegel  <triegel@redhat.com>
7561         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
7562         variable to lll_futex_wake call, not the value itself.
7564 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
7566         [BZ #17803]
7567         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
7568         twom64.  Adjust value to 0x1p-64L.
7569         (__scalblnl): Only return standard underflowing result for K <=
7570         -64 not K <= -63; adjust exponent for underflowing result by 64
7571         not 63.
7572         * math/libm-test.inc (scalbn_test_data): Add more tests.
7573         (scalbln_test_data): Likewise.
7575         [BZ #17834]
7576         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
7577         0x1p63L.
7578         (__scalblnl): Get new exponent of adjusted subnormal value from ES
7579         not HX.
7580         * math/libm-test.inc (scalbn_test_data): Add more tests.
7581         (scalbln_test_data): Likewise.
7583 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7584             Stefani Seibold  <stefani@seibold.net>
7586         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
7587         (sysdep_routines): Add dl-vdso here, ...
7588         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
7589         (sysdep_routines): ... not here.
7590         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
7591         fallback when vDSO is not presented.
7592         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
7593         Define with libc_hidden_proto/libc_hidden_data_def definitions.
7594         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
7595         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
7596         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
7597         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
7598         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
7599         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
7600         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
7601         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
7602         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
7603         fallback configurable symbol when vDSO is not available.
7604         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
7605         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
7606         be able to redefine fallback symbol when vDSO is not available.
7607         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
7608         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
7610 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7612         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
7613         (TLS_INIT_TP): Add tm_capable initialization.
7614         (TLS_DEFINE_INIT_TP): Likewise.
7615         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
7616         TCB.
7617         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
7618         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
7619         calculation.
7620         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
7621         transactoion is lock elision is built and TCB tm_capable is set.
7622         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
7623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7624         (INTERNAL_SYSCALL_NCS): Likewise.
7625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7626         (INTERNAL_SYSCALL_NCS): Likewise.
7627         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
7629         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
7630         for powerpc.
7631         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7632         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
7633         and remove it for 32 bits case.
7634         [pthread_rwlock_t] (__rwelision): New field for lock elision.
7635         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
7636         initialization.
7637         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
7638         Disable lock elision with rdlocks if elision is not available.
7640         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
7641         (sysdep_routines): Add lock elision objects.
7642         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7643         [pthread_mutex_t] (__spins): Rework to add lock elision field.
7644         [pthread_mutex_t] (__elision): Add field.
7645         [__PTHREAD_SPINS]: Adjust to init lock elision field.
7646         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
7647         elision definitions for powerpc.
7648         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
7649         implementation of lock elision for powerpc.
7650         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
7651         implementation of timed lock elision for powerpc.
7652         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
7653         implementation of trylock with lock elision for powerpc.
7654         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
7655         implementaion of unlock for lock elision for powerpc.
7656         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
7657         automatic enable lock elision for mutexes.
7658         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
7659         transaction execution definitions for powerpc.
7660         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
7661         definitions.
7662         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
7663         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
7664         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
7665         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
7666         * NEWS: Update.
7668 2015-01-09  Roland McGrath  <roland@hack.frob.com>
7670         * sysdeps/posix/shm-directory.c: Use <> rather than ""
7671         for #include of <shm-directory.h>.
7673 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
7675         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
7676         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
7678 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
7680         [BZ #17791]
7681         * NEWS: Mention bug fix.
7682         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
7683         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
7684         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
7686 2015-01-09  Torvald Riegel <triegel@redhat.com>
7688         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
7690 2015-01-09  Torvald Riegel <triegel@redhat.com>
7692         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
7694 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7696         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
7697         pointer and cast to uintptr_t.
7699 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7701         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
7702         removed.
7703         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
7705 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7707         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
7708         of 0.
7710 2015-01-08  Roland McGrath  <roland@hack.frob.com>
7712         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
7713         <nptl/pthreadP.h> instead.
7714         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
7716         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
7717         already defined.
7718         [__SIGRTMIN] (init): Function removed.
7719         [__SIGRTMIN] (initialized): Variable removed.
7720         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
7721         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
7722         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
7723         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
7724         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
7725         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
7726         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
7727         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
7728         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
7729         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
7730         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
7731         * sysdeps/nptl/allocrtsig.c: New file.
7732         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
7733         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
7734         * sysdeps/generic/testrtsig.h: File removed.
7736         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
7737         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
7739         * nptl/nptl-init.c (pthread_functions): Conditionalize
7740         .ptr__nptl_setxid initialization on [SIGSETXID].
7742         * sysdeps/nptl/sys/procfs.h: New file.
7743         * nptl_db/Makefile (headers): Add it.
7744         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
7746         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
7747         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
7748         * nptl/pthread_attr_setaffinity.c: Include it.
7749         * nptl/pthread_setattr_default_np.c: Likewise.
7750         * nptl/check-cpuset.h: New file.
7752 2015-01-08  Richard Henderson  <rth@redhat.com>
7754         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
7755         (CFLAGS-tst-execstack-prog.c): Likewise.
7756         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
7758 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
7759             Sandra Loosemore  <sandra@codesourcery.com>
7760             Andrew Jenner  <andrew@codesourcery.com>
7761             Joseph Myers  <joseph@codesourcery.com>
7762             Nathan Sidwell  <nathan@codesourcery.com>
7764         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
7765         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
7766         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
7767         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
7768         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
7769         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
7770         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
7771         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
7772         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
7773         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
7774         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
7775         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
7776         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
7777         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
7778         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
7779         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
7780         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
7782 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7784         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
7785         timespec struct member in syscall macro.
7786         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
7787         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
7788         first timeval struct member in syscall macro.
7789         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
7791 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
7793         [BZ #17748]
7794         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
7795         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
7796         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
7797         __feupdateenv and define as weak alias of __feupdateenv.  Use
7798         libm_hidden_weak.
7799         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
7800         libm_hidden_def.
7801         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
7802         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
7803         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7804         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
7805         libm_hidden_def.
7806         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
7807         __feupdateenv and define as weak alias of __feupdateenv.  Use
7808         libm_hidden_weak.
7809         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
7810         libm_hidden_def.
7811         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
7812         __feupdateenv and define as weak alias of __feupdateenv.  Use
7813         libm_hidden_weak.
7814         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
7815         libm_hidden_def.
7816         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7817         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7818         (__feupdateenv): Likewise.
7819         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
7820         __feupdateenv and define as weak alias of __feupdateenv.  Use
7821         libm_hidden_weak.
7822         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7823         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
7824         libm_hidden_def.
7825         * sysdeps/tile/math_private.h (__feupdateenv): New inline
7826         function.
7827         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
7828         libm_hidden_def.
7829         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
7830         __feupdateenv instead of feupdateenv.
7831         (default_libc_feupdateenv_test): Likewise.
7832         (libc_feresetround_ctx): Likewise.
7834 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7836         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
7837         prototype.
7839 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
7841         * posix/regcomp.c (parse_bracket_exp): Initialize type to
7842         COLL_SYM in a couple of places to avoid uninitialized variable
7843         wanings on tilegx gcc 4.8.2.
7845 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
7847         * sysdeps/aarch64/strcpy.S: New file.
7848         * sysdeps/aarch64/stpcpy.S: New file.
7849         * NEWS: Updated.
7851 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
7853         * sysdeps/aarch64/strrchr.S: New file.
7854         * NEWS: Updated.
7856 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
7858         [BZ #17658]
7859         * stdlib/setenv.c: Fix memory leak when setting large,
7860         duplicate string.
7862 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
7864         [BZ #17273]
7865         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
7866         and tabs from buffer before parsing fstab entry.
7867         * misc/tst-mntent.c (main): Add test for mount entry with
7868         trailing spaces and tabs.
7870 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
7872         [BZ #17748]
7873         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
7874         * math/fesetround.c (fesetround): Rename to __fesetround and
7875         define as weak alias of __fesetround.  Use libm_hidden_weak.
7876         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
7877         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
7878         * sysdeps/arm/fesetround.c (fesetround): Likewise.
7879         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
7880         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
7881         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
7882         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
7883         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
7884         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
7885         __fesetround_inline.
7886         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
7887         __fesetround_inline instead of __fesetround.
7888         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
7889         __fesetround and define as weak alias of __fesetround.  Use
7890         libm_hidden_weak.  Call __fesetround_inline instead of
7891         __fesetround.
7892         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
7893         __fesetround and define as weak alias of __fesetround.  Use
7894         libm_hidden_weak.
7895         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
7896         Likewise.
7897         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
7898         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7899         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
7900         * sysdeps/tile/math_private.h (__fesetround): New inline function.
7901         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
7902         __fesetround and define as weak alias of __fesetround.  Use
7903         libm_hidden_weak.
7904         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
7905         __fesetround instead of fesetround.
7906         (default_libc_feholdexcept_setround): Likewise.
7907         (libc_feholdsetround_ctx): Likewise.
7908         (libc_feholdsetround_noex_ctx): Likewise.
7910         [BZ #17748]
7911         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
7912         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
7913         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7914         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
7915         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7916         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
7917         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7918         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7919         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7920         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7921         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7922         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7923         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7924         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7925         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
7926         libm_hidden_def.
7927         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
7928         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
7929         Likewise.
7930         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7931         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7932         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7933         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7934         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
7935         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7936         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
7937         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
7938         __fesetenv instead of fesetenv.
7939         (libc_feresetround_noex_ctx): Likewise.
7940         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7941         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7942         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
7943         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7944         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7945         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7946         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7947         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7948         (__feupdateenv): Likewise.
7949         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7950         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7951         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7952         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
7954 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
7956         [BZ #17806]
7957         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
7958         addresses have been freed.
7960 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
7962         * resolv/res_init.c (__res_vinit): Improve comments about nserv
7963         and nservall.
7965 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
7967         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
7968         Clean up check_pf allocation pattern. addresses
7970 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7972         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
7973         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
7974         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
7975         * nptl/pthread_exit.c (__pthread_exit): Likewise.
7976         * nptl/pthread_join.c (pthread_join): Likewise.
7977         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
7978         * sysdeps/posix/waitid.c (__waitid): Likewise.
7979         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
7980         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
7981         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
7982         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
7983         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
7984         Likewise.
7985         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
7986         (__libc_pread64): Likewise.
7987         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
7988         (__libc_pwrite): Likewise.
7989         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
7990         (__libc_pwrite64): Likewsie.
7991         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
7992         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
7993         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
7994         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
7995         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
7996         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
7997         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
7999         Likewise.
8000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8001         (__libc_pread64): Likewise.
8002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
8003         Likewise.
8004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8005         (__libc_pwrite64): Likewise.
8006         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
8007         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
8008         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
8009         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
8010         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8011         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
8012         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
8013         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
8014         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
8015         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
8016         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
8017         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
8018         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
8019         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
8020         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
8021         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
8022         Likewise.
8024 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
8026         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
8027         (CFLAGS-test-double.c): Likewise.
8028         (CFLAGS-test-ldouble.c): Likewise.
8029         (CPPFLAGS-test-ifloat.c): Likewise.
8030         (CPPFLAGS-test-idouble.c): Likewise.
8031         (CPPFLAGS-test-ildoubl.c): Likewise.
8032         (CFLAGS-test-test-fenv.c): Remove variable.
8033         (CFLAGS-test-misc.c): Likewise.
8035 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
8037         [BZ #17797]
8038         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
8039         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
8040         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
8041         CLOCKS_PER_SEC == 1000000.
8042         * time/clocktest.c (main): Replace %ld with %jd and cast to
8043         intmax_t.
8045 2015-01-05  Roland McGrath  <roland@hack.frob.com>
8047         * sysdeps/generic/unwind-resume.h: New file.
8048         * sysdeps/gnu/unwind-resume.c: Include it.
8049         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
8050         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
8051         argument list.
8052         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
8053         global rather than static.
8054         (_Unwind_Resume): Update user.
8055         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
8056         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
8057         rather than static.  Add __attribute__ ((cold)).
8058         (_Unwind_Resume, __gcc_personality_v0): Update callers.
8059         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
8060         * sysdeps/arm/arm-unwind-resume.S: New file.
8061         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
8062         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
8063         * sysdeps/arm/Makefile [$(subdir) = csu]
8064         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
8065         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8066         Add rt-arm-unwind-resume.
8067         [$(subdir) = nptl]
8068         (libpthread-sysdep_routines, libpthread-shared-only-routines):
8069         Add pt-arm-unwind-resume.
8070         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
8071         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
8073 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8075         [BZ #17748]
8076         * include/fenv.h (__feholdexcept): Declare.  Use
8077         libm_hidden_proto.
8078         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
8079         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
8080         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8081         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
8082         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
8083         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
8084         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
8085         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8086         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
8087         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
8088         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8089         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
8090         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
8091         (feholdexcept): Likewise.
8092         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8093         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8094         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8095         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8096         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
8097         __feholdexcept instead of feholdexcept.
8098         (default_libc_feholdexcept_setround): Likewise.
8100 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8102         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
8103         to avoid using stl/str to align destination.
8105 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8107         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
8109 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8111         [BZ #17796]
8112         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
8113         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
8114         Define as weak alias not strong alias.
8116 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8118         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
8119         bltzal with addiupc.
8120         (RTLD_START): Ditto.
8122 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
8124         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
8125         for __vdso_* functions in declarations.
8126         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
8127         definitions.
8128         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
8129         INTERNAL_VSYSCALL): Use struct return types to check for error.
8131         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
8132         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
8133         function with cast from llround().
8134         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
8135         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
8136         Define.
8138 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8140         [BZ #17793]
8141         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
8142         Define as weak alias not strong alias.
8144         [BZ #17635]
8145         * ctype/ctype-c99.c: New file.  isblank implementation moved from
8146         ...
8147         * ctype/ctype-extn.c: ... here.
8148         (__isblank_l): Move to ...
8149         * ctype/ctype-c99_l.c: ... here.  New file.
8150         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
8151         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
8152         Remove variable.
8153         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8154         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8155         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8156         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8157         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8159         [BZ #17777]
8160         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
8161         (posix_fadvise64): Define as weak alias not strong alias.
8162         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8163         (posix_fallocate64): Likewise.
8164         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
8165         Remove variable.
8166         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8167         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8168         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8169         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8170         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8172 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
8174         [BZ #16191]
8175         * NEWS: Mention bug fix.
8176         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
8177         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
8178         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
8179         (HOST_STACK_END_ADDR): Likewise.
8181 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
8183         [BZ #17748]
8184         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
8185         * math/fegetround.c (fegetround): Rename to __fegetround and
8186         define as weak alias of __fegetround.  Use libm_hidden_weak.
8187         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
8188         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
8189         * sysdeps/arm/fegetround.c (fegetround): Likewise.
8190         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
8191         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8192         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
8193         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
8194         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
8195         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8196         Undefine after rather than before function definition; use
8197         parentheses around function name in definition.
8198         (__fegetround): Also undefine macro after function definition.
8199         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
8200         __fegetround and define as weak alias of __fegetround.  Use
8201         libm_hidden_weak.  Do not undefine as macro.
8202         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8203         Likewise.
8204         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
8205         __fegetround and define as weak alias of __fegetround.  Use
8206         libm_hidden_weak.
8207         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8208         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8209         * sysdeps/tile/math_private.h (__fegetround): New inline function.
8210         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
8211         __fegetround and define as weak alias of __fegetround.  Use
8212         libm_hidden_weak.
8213         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
8214         __fegetround instead of fegetround.
8216         [BZ #17782]
8217         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
8218         Condition macro definition on [__USE_MISC].
8220         [BZ #17781]
8221         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
8222         (struct sigaction): Change type of sa_flags field to int.
8224         [BZ #17780]
8225         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
8226         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
8227         __glibc_reserved0.
8229         * nptl/version.c (banner): Use single year in copyright notice.
8231         * NEWS: Update copyright dates.
8232         * catgets/gencat.c (print_version): Likewise.
8233         * csu/version.c (banner): Likewise.
8234         * debug/catchsegv.sh: Likewise.
8235         * debug/pcprofiledump.c (print_version): Likewise.
8236         * debug/xtrace.sh (do_version): Likewise.
8237         * elf/ldconfig.c (print_version): Likewise.
8238         * elf/ldd.bash.in: Likewise.
8239         * elf/pldd.c (print_version): Likewise.
8240         * elf/sotruss.sh: Likewise.
8241         * elf/sprof.c (print_version): Likewise.
8242         * iconv/iconv_prog.c (print_version): Likewise.
8243         * iconv/iconvconfig.c (print_version): Likewise.
8244         * locale/programs/locale.c (print_version): Likewise.
8245         * locale/programs/localedef.c (print_version): Likewise.
8246         * login/programs/pt_chown.c (print_version): Likewise.
8247         * malloc/memusage.sh (do_version): Likewise.
8248         * malloc/memusagestat.c (print_version): Likewise.
8249         * malloc/mtrace.pl: Likewise.
8250         * manual/libc.texinfo: Likewise.
8251         * nptl/version.c (banner): Likewise.
8252         * nscd/nscd.c (print_version): Likewise.
8253         * nss/getent.c (print_version): Likewise.
8254         * nss/makedb.c (print_version): Likewise.
8255         * posix/getconf.c (main): Likewise.
8256         * scripts/test-installation.pl: Likewise.
8257         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8259 2015-01-02  Will Newton  <will.newton@linaro.org>
8261         * sysdeps/arm/armv7/configure: Removed.
8262         * sysdeps/arm/armv7/configure.ac: Likewise.
8264 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
8266         * All files with FSF copyright notices: Update copyright dates
8267         using scripts/update-copyrights.
8268         * intl/plural.c: Regenerated.
8269         * locale/programs/charmap-kw.h: Likewise.
8270         * locale/programs/locfile-kw.h: Likewise.
8272 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8274         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
8276 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
8278         [BZ #17748]
8279         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
8280         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
8281         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8282         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
8283         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8284         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
8285         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8286         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
8287         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8288         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8289         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8290         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8291         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8292         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8293         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
8294         libm_hidden_def.
8295         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
8296         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
8297         Likewise.
8298         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8299         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8300         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8301         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8302         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
8303         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8304         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
8305         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
8306         __fegetenv instead of fegetenv.
8307         (libc_feholdsetround_noex_ctx): Likewise.
8309 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
8311         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
8312         (Elf_MIPS_ABIFlags_v0): New structure.
8313         (EF_MIPS_FP64): Define.
8314         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
8315         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
8316         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
8317         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
8318         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
8319         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
8320         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
8321         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
8322         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
8323         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
8324         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
8325         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
8326         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
8327         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
8328         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
8329         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
8330         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
8331         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
8332         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
8333         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
8334         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
8335         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
8336         field.
8337         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
8338         EF_MIPS_FP64.
8339         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
8340         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
8341         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
8342         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
8343         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
8344         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
8345         * sysdeps/mips/tst-abi-interlink.c: Likewise.
8346         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
8347         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
8348         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
8349         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
8350         record the current FP ABI extension.
8351         (mips-mode-switch): Define to show if kernel headers support mode
8352         switching.
8353         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8354         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
8355         supported SYSV ABI version to 3.
8356         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
8357         feature.
8359 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8360             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8362         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
8363         path.
8364         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
8366 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
8368         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
8369         __fegetround and redefine to call __fegetround.  Remove condition
8370         on [!__NO_MATH_INLINES].
8371         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
8372         function.
8373         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
8374         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8375         Remove macro.
8376         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
8377         instead of <fenv_libc.h>.
8378         (__llrintl): Call fegetround instead of __fegetround.
8379         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
8380         instead of <fenv_libc.h>.
8381         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8382         (__lrintl): Call fegetround instead of __fegetround.
8383         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
8384         instead of <fenv_libc.h>.
8385         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8386         (__rintl): Call fegetround instead of __fegetround.
8388 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8390         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
8391         arrays.
8393 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
8395         [BZ #17775]
8396         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
8397         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
8398         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
8400 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8402         * sysdeps/i386/tls-macros.h: Include <features.h>.
8403         (TLS_LE): Use non-PIC version for GCC >= 5.0.
8404         (TLS_IE): Likewise.
8405         (TLS_LD): Likewise.
8406         (TLS_GD): Likewise.
8407         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
8408         define for GCC >= 5.0.
8410 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
8412         * math/test-fenv.c (test_single_exception, set_single_exc,
8413         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
8414         feexcp_mask_test, feenable_test, fe_single_test): Add
8415         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
8416         case where they are not used.
8417         * math/libm-test.inc: Likewise.
8418         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
8419         unused in the absence of FP rounding/exception support.
8420         * stdio-common/tst-printf-round.c: Likewise.
8421         * stdlib/tst-strtod-round.c: Likewise.
8422         * stdlib/tst-strtod-underflow.c: Likewise.
8424 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
8426         [BZ #17723]
8427         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
8428         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
8429         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8430         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8431         libm_hidden_weak.
8432         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
8433         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
8434         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
8435         libm_hidden_def.
8436         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8437         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8438         libm_hidden_weak.
8439         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
8440         Likewise.
8441         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
8442         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8443         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8444         libm_hidden_weak.
8445         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
8446         libm_hidden_def.
8447         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8448         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
8449         (__feraiseexcept): Likewise.
8450         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8451         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8452         libm_hidden_weak.
8453         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
8454         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
8455         libm_hidden_def.
8456         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
8457         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
8458         Use libm_hidden_def.
8459         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
8460         libm_hidden_def.
8461         (feraiseexcept): Define as weak not strong alias.  Use
8462         libm_hidden_weak.
8463         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
8464         New inline function.  Factored out of ...
8465         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
8466         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
8467         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
8468         feraiseexcept.
8469         * math/w_acos.c (__acos): Likewise.
8470         * math/w_asin.c (__asin): Likewise.
8471         * math/w_ilogb.c (__ilogb): Likewise.
8472         * math/w_j0.c (y0): Likewise.
8473         * math/w_j1.c (y1): Likewise.
8474         * math/w_jn.c (yn): Likewise.
8475         * math/w_log.c (__log): Likewise.
8476         * math/w_log10.c (__log10): Likewise.
8477         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
8478         * sysdeps/aarch64/fpu/math_private.h
8479         (libc_feupdateenv_test_aarch64): Likewise.
8480         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8481         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
8482         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
8483         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8484         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8485         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8486         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
8487         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8488         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8489         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8491 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
8493         [BZ #17732]
8494         * io/test-utime.c (main): Replace %ld with %jd and cast to
8495         intmax_t.
8496         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
8497         * nptl/tst-mutex5.c: Include <stdint.h>.
8498         (do_test): Replace %ld with %jd and cast to intmax_t.
8499         * posix/tst-regex.c (run_test): Likewise.
8500         (run_test_backwards): Likewise.
8501         * rt/tst-clock.c: Include <stdint.h>.
8502         (clock_test): Replace %ld with %jd and cast to intmax_t.
8503         * rt/tst-cpuclock1.c: Include <stdint.h>.
8504         (do_test): Replace %lu with %ju and cast to uintmax_t.
8505         * rt/tst-cpuclock2.c: Include <stdint.h>.
8506         (do_test): Replace %lu with %ju and cast to uintmax_t.
8507         * rt/tst-mqueue1.c: Include <stdint.h>.
8508         (check_attrs): Replace %ld with %jd and cast to intmax_t.
8509         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
8510         intmax_t.
8511         * rt/tst-mqueue4.c (do_test): Likewise.
8512         * rt/tst-timer4.c: Include <stdint.h>.
8513         (check_ts): Replace %ld with %jd and cast to intmax_t.
8514         (do_test): Likewise.
8515         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
8516         and cast to intmax_t.
8517         * sysdeps/pthread/tst-timer.c (main): Likewise.
8518         * time/clocktest.c (main): Likewise.
8519         * time/tst-posixtz.c (do_test): Likewise.
8520         * timezone/tst-timezone.c (main): Likewise.
8522 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8523             H.J. Lu  <hongjiu.lu@intel.com>
8525         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
8526         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
8527         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
8528         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
8529         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
8530         version if bit_Fast_Unaligned_Load is set.
8531         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8532         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8533         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8534         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8535         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8536         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8537         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8538         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
8539         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
8540         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
8541         to 4.
8542         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
8543         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
8544         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
8545         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
8547 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
8549         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
8550         instead of #if to avoid a Wundef warning.
8551         * stdlib/tst-limits.c (do_test): Likewise.
8553         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
8554         parallel other exception macros.
8555         (fegetenv): Convert from macro to extern inline so that it applies
8556         retroactively to inline functions already seen by the compiler.
8557         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
8559         * posix/Makefile (before-compile): Use $(objpfx) for
8560         posix-conf-vars-def.h.
8562 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8564         * posix/getconf.c (main): Use size_t for type of I.
8565         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
8566         NSPEC.
8568         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
8569         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
8570         * posix/posix-envs.def: Likewise.
8571         * sysdeps/posix/sysconf.c: Likewise.
8572         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
8573         (specs): Remove array.
8574         * scripts/gen-posix-conf-vars.awk: Support generation of specs
8575         array.
8577         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
8578         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
8579         (__sysconf): Use CONF_IS_* macros.
8581         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
8582         ($(objpfx)posix-conf-vars-def.h): New target.
8583         * posix/posix-conf-vars.list: New file.
8584         * posix/posix-conf-vars.h: New file.
8585         * posix/confstr.c: Include posix-conf-vars.h.
8586         (confstr): Use CONF_IS_* macros.
8587         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
8588         CONF_IS_* macros.
8589         * scripts/gen-posix-conf-vars.awk: New file.
8591 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
8593         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
8594         fegetround): Add no-op macros to avoid linknamespace issues.
8596         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
8597         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
8599         * sysdeps/unix/sysv/linux/tile/sysdep.h
8600         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
8601         assembly-specific section to avoid a redefinition warning.
8603         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
8604         long before casting to pointer to avoid a cast warning.
8606 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
8608         * sysdeps/tile/tilegx/Implies: New file.
8610 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
8612         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
8614 2014-12-23  Florian Weimer  <fweimer@redhat.com>
8616         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
8618 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8620         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
8621         not define.
8622         * sysdeps/unix/sysv/linux/utimes.c: Do not include
8623         <kernel-features.h>.
8624         (__utimes) [__NR_utimes]: Make code unconditional.
8625         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
8626         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8627         (__ASSUME_UTIMES): Do not undefine.
8628         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8629         (__ASSUME_UTIMES): Likewise.
8630         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8631         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
8632         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
8633         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
8635 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
8637         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
8639 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
8641         [BZ #17747]
8642         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
8643         alias to weak alias for j0l, y0l.
8644         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
8645         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
8647         [BZ #17746]
8648         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
8649         conversion.
8651 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
8653         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
8654         to zero if not already defined.
8656 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8658         [BZ #17724]
8659         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
8660         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
8661         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
8662         (char *) casts added.
8663         * sysdeps/ieee754/k_standardf.c: New file.
8664         * sysdeps/ieee754/k_standardl.c: Likewise.
8665         * math/Makefile (libm-support): Remove k_standard.
8666         (libm-calls): Add k_standard.
8668 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8670         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8671         Optimize to avoid an unnecessary FPCR read.
8673 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8675         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
8676         Optimize to reduce FPCR/FPSR accesses.
8678 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8680         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
8681         Call libc_fetestexcept_aarch64.
8683 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8685         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
8686         Call libc_fesetround_aarch64.
8688 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8690         [BZ #17733]
8691         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
8692         (__bind): Do not define as weak alias.
8693         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
8694         define.
8695         (__getsockname): Do not define as weak alias.
8697 2014-12-22  Will Newton  <will.newton@linaro.org>
8699         * manual/install.texi: Document that we require bison 2.7
8700         or above.
8701         * INSTALL: Regenerate.
8702         * configure.ac: Use AC_CHECK_PROG_VER instead of
8703         AC_PATH_PROG when checking for bison and check for
8704         version 2.7 or above.
8705         * configure: Regenerate.
8707 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
8709         [BZ #17745]
8710         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
8711         * sysdeps/tile/ffsll.c (ffsll): To here.
8713         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
8715 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
8717         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
8718         if not defined.
8719         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
8720         definition.
8721         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8722         hidden ___tls_get_addr.
8723         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8724         hidden __tls_get_addr.
8725         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
8726         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
8727         Likewise.
8729 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
8731         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
8732         _dl_init call.
8734 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
8736         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
8737         from "call _dl_init@PLT".
8738         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
8740 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
8742         * manual/search.texi: (Array Sort Function): Clarify stable sorting
8743         guarantees.
8745 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
8747         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
8749 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
8751         [BZ #17744]
8752         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
8753         strnlen.
8755 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
8757         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
8758         of multu on MIPSr6.
8759         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
8760         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
8761         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
8762         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
8763         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
8765 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
8767         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
8768         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
8769         (PTR_SUBU): Use subu for mips32r6/mips64r6.
8770         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
8771         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
8772         mips32r6/mips64r6.
8773         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
8775 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
8777         * string/strncat.c (STRNCAT): Simplify implementation.
8779 2014-12-19  David S. Miller  <davem@davemloft.net>
8781         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
8782         access the quad as both a long double and as a series of 4 words.
8784         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
8785         link_map->l_info array access.
8787 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
8789         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
8791         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
8792         * math/atest-exp2.c (TIMEOUT): Likewise.
8793         * math/atest-sincos.c (TIMEOUT): Likewise.
8795 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8797         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
8798         -Wno-error with -fno-builtin-lround.
8800 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8802         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
8803         Contains futex constants and functions moved over from ...
8804         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
8805         <lowlevellock-futex.h>.
8806         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8807         (lll_timedwait_tid): Add comments and parentheses around macro
8808         arguments.
8810 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8812         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
8813         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
8814         (__lll_private_flag): Remove.
8815         (lll_futex_wait): Likewise.
8816         (lll_futex_timed_wait): Likewise.
8817         (lll_futex_wake): Likewise.
8818         (lll_futex_requeue): Likewise.
8819         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8820         (__lll_timedwait_tid): Spell out argument names.
8821         (lll_timedwait_tid): Add comments and parentheses around macro
8822         arguments.
8823         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
8824         LLL_SHARED and LLL_PRIVATE usable from assembly code.
8826 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8828         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
8829         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8830         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8831         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
8832         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
8833         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
8834         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
8835         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
8836         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
8837         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
8838         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
8839         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
8840         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
8841         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
8842         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
8843         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
8844         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
8845         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
8846         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
8848 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8850         * sysdeps/x86_64/x32/Makefile: New file.
8852 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8854         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
8855         1L with (mp_limb_t) 1.
8857 2014-12-17  Roland McGrath  <roland@hack.frob.com>
8859         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
8860         * nptl/libc_pthread_init.c: ... here.
8861         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
8862         * nptl/register-atfork.c: ... here.
8864         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
8865         Use pthread_sigmask rather than INTERNAL_SYSCALL.
8866         Use assert_perror to check its return value.
8867         (__gai_create_helper_thread): Likewise.
8869         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
8871         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
8873 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
8875         [BZ #17725]
8876         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
8877         __profil_counter.
8878         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
8879         Likewise.
8880         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
8881         Likewise.
8882         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
8883         Likewise.
8884         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
8885         (profil_counter): Likewise.
8886         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
8887         (profil_counter): Likewise.
8888         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
8889         Likewise.
8890         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
8891         Likewise.
8892         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
8893         (profil_counter): Likewise.
8894         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
8895         Likewise.
8896         [!__profil_counter] (profil_counter): Define as weak alias of
8897         __profil_counter.
8898         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
8899         (profil_counter): Rename to __profil_counter.
8900         [!__profil_counter] (profil_counter): Define as weak alias of
8901         __profil_counter.
8902         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
8903         (profil_counter): Rename to __profil_counter.
8904         [!__profil_counter] (profil_counter): Define as weak alias of
8905         __profil_counter.
8906         * sysdeps/posix/profil.c: Update comment referring to
8907         profil_counter.
8908         (__profil): Use __profil_counter instead of profil_counter.
8909         * sysdeps/posix/sprofil.c (profil_counter): Rename to
8910         __profil_counter.  Use __profil_counter_ushort and
8911         __profil_counter_uint in definitions.
8912         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
8913         instead of profil_counter_uint and profil_counter_ushort.
8915         [BZ #17722]
8916         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
8917         define as weak alias of __inet_makeaddr.
8918         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
8919         as weak alias of __inet_addr.
8920         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
8921         as weak alias of __inet_pton.  Use libc_hidden_weak.
8922         * include/arpa/inet.h (__inet_pton): Declare.  Use
8923         libc_hidden_proto.
8924         (inet_makeaddr): Don't use libc_hidden_proto.
8925         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
8926         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
8927         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
8928         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
8929         Remove variable.
8930         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8931         (test-xfail-POSIX/time.h/linknamespace): Likewise.
8933 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
8935         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
8937 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8939         * stdio-common/bug-vfprintf-nargs.c (do_test):
8940         Cast value to intptr_t to avoid format warning
8941         for usage with PRIdPTR printing macro.
8943 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8945         * libio/tst-widetext.c (do_test):
8946         Use format type %td instead of %Zd for ptrdiff_t
8947         in order to avoid format warning.
8949 2014-12-17  Andreas Schwab  <schwab@suse.de>
8951         * nscd/mem.c (gc): Add size_t cast to match printf format.
8953 2014-12-16  Roland McGrath  <roland@hack.frob.com>
8955         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
8956         (init): Apply PTR_MANGLE to pointers before storing them.
8957         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
8958         before using them.
8960 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
8962         [BZ #17719]
8963         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
8964         define as weak alias of __memrchr.
8965         (__memrchr): Do not define as strong alias of memrchr.
8966         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
8967         Remove variable.
8968         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8969         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8970         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8972         [BZ #17717]
8973         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
8974         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
8975         (if_indextoname): Rename to __if_indextoname and define as weak
8976         alias of __if_indextoname.  Use libc_hidden_weak.
8977         (if_freenameindex): Rename to __if_freenameindex and define as
8978         weak alias of __if_freenameindex.
8979         (if_nameindex): Rename to __if_nameindex and define as weak alias
8980         of __if_nameindex.
8981         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
8982         __if_nametoindex and define as weak alias of __if_nametoindex.
8983         Use libc_hidden_weak.
8984         (if_freenameindex): Rename to __if_freenameindex and define as
8985         weak alias of __if_freenameindex.
8986         (if_nameindex): Rename to __if_nameindex and define as weak alias
8987         of __if_nameindex.
8988         (if_indextoname): Rename to __if_indextoname and define as weak
8989         alias of __if_indextoname.  Use libc_hidden_weak.
8990         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
8991         __if_nametoindex and define as weak alias of __if_nametoindex.
8992         Use libc_hidden_weak.
8993         (if_freenameindex): Rename to __if_freenameindex and define as
8994         weak alias of __if_freenameindex.  Use libc_hidden_weak.
8995         (if_nameindex_netlink): Use __if_freenameindex instead of
8996         if_freenameindex.
8997         (if_nameindex): Rename to __if_nameindex and define as weak alias
8998         of __if_nameindex.  Use libc_hidden_weak.
8999         (if_indextoname): Rename to __if_indextoname and define as weak
9000         alias of __if_indextoname.  Use libc_hidden_weak.
9001         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
9002         libc_hidden_proto.
9003         [!_ISOMAC] (__if_freenameindex): Likewise.
9004         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
9005         if_nametoindex.
9006         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
9007         variable.
9008         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9009         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9010         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9011         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9012         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9013         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9014         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9016         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
9017         Remove variable.
9018         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9019         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9021 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9023         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
9024         subscript above bounds'
9026         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
9027         bounds.
9029 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
9031         * libio/tst-fopenloc.c: Use test-skeleton.c.
9033         * stdlib/tst-bsearch.c: Use test-skeleton.c.
9034         (entry): Rename to ITEM.
9035         (do_test, comp): Adjust.
9037         * stdio-common/tst-fseek.c: Use test-skeleton.c.
9039 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9041         * string/tester.c: Include <libc-internal.h>.
9042         (test_memset): Ignore -Wmemset-transposed-args.
9044 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9046         * misc/tst-mntent2.c (do_test): Fix warning.
9048 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9050         * elf/tst-unique4lib.cc(a): Mark as used.
9052 2014-12-16  Florian Weimer  <fweimer@redhat.com>
9054         [BZ #17630]
9055         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
9056         names.
9058 2014-12-16  Allan McRae  <allan@archlinux.org>
9060         * stdio-common/Makefile (tests): Re-add bug26.
9062 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
9064         [BZ #17657]
9065         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
9066         static array.
9068 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
9070         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
9071         (__lll_lock_wait): Likewise.
9072         (__lll_timedlock_wait): Likewise.
9073         (__lll_timedwait_tid): Likewise.
9074         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
9075         (__lll_robust_timedlock_wait): Likewise.
9076         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
9077         (lll_cond_trylock): Likewise.
9078         (__lll_lock): Likewise.
9079         (__lll_robust_lock): Likewise.
9080         (__lll_cond_lock): Likewise.
9081         (lll_robust_cond_lock): Likewise.
9082         (__lll_timedlock): Likewise.
9083         (__lll_robust_timedlock): Likewise.
9084         (__lll_unlock): Likewise.
9085         (__lll_robust_unlock): Likewise.
9086         (lll_wait_tid): Likewise.
9087         (lll_timedwait_tid): Likewise.
9089 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9091         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
9093 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9095         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
9097 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
9099         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
9100         * stdio-common/tst-sprintf.c: Likewise.
9102 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9104         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
9106 2014-12-15  Jeff Law  <law@redhat.com>
9108         [BZ #16617]
9109         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
9110         on the heap.  (CVE-2012-3406)
9111         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
9112         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
9113         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
9115 2014-12-15  Will Newton  <will.newton@linaro.org>
9117         * manual/install.texi: Bump required version of texinfo
9118         to 4.7 from 4.5.
9119         * INSTALL: Regenerated.
9120         * configure.ac: Check for makeinfo version 4.7 and above.
9121         * configure: Regenerated.
9123 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9125         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
9126         PREFIX, string constant to insert between directory and name.
9127         * sysdeps/posix/shm_open.c: Update caller.
9128         * sysdeps/posix/shm_unlink.c: Likewise.
9129         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
9130         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
9131         (SEM_SHM_PREFIX): New macro.
9132         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
9133         [$(have-thread-library) = no].
9134         * nptl/Makefile (libpthread-routines): Add shm-directory.
9135         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
9136         * sysdeps/nptl/shm-directory.h: New file.
9137         * sysdeps/posix/shm-directory.c
9138         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
9139         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
9140         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
9141         INTERNAL_SYSCALL.
9142         (__where_is_shmfs): Function removed.
9143         (mountpoint, defaultmount, defaultdir, __namedsem_once):
9144         Variables removed.
9145         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
9146         Use SHM_GET_NAME.
9147         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
9149         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
9150         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
9151         unconditional for use inside libpthread.
9152         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
9154 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9156         * nptl/pthread_getaffinity.c: New file.
9157         * nptl/pthread_setaffinity.c: New file.
9158         * nptl/pthread_getname.c: New file.
9159         * nptl/pthread_setname.c: New file.
9161         * nptl/pthread_create.c (START_THREAD_DEFN)
9162         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
9164 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9165             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9167         * resolv/res_send.c (send_vc): Disable warning resplen may
9168         be used uninitialized.
9170 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9172         * nptl/tst-mutex6.c
9173         (ATTR_NULL): New define checks ATTR against NULL.
9174         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
9175         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
9177 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
9179         [BZ #17581]
9180         * malloc/hooks.c
9181         (mem2mem_check): Revert my previous change.
9182         (malloc_check_get_size): Revert my previous change.
9183         (mem2chunk_check): Revert my previous change.
9185 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9187         * sysdeps/posix/shm-directory.c: New file.
9188         * sysdeps/posix/shm-directory.h: New file.
9189         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
9190         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
9191         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
9192         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
9193         Transmute EPERM to EACCES.
9194         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
9195         from ...
9196         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
9197         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
9199 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9201         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
9202         pointer and cast to uintptr_t.
9203         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
9204         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
9205         Add cast to avoid warning.
9206         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
9208 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
9210         * nptl/semaphore.h: Move to ...
9211         * sysdeps/pthread/semaphore.h: ... here.
9212         * Makefile (installed-headers): Change nptl/semaphore.h to
9213         sysdeps/pthread/semaphore.h.
9215 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9217         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
9218         generated error format strings.
9220         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
9221         -Wformat-extra-args warnings for scanf formats.
9222         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
9223         test of zero-length format (duh).
9224         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
9225         corner-case scanf format test.
9226         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
9227         generated fprintf format string.
9228         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
9229         corner-case sprintf format tests.
9230         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
9231         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
9232         -Wformat-extra-args warnings throughout.
9233         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
9234         (CFLAGS-scanf4.c): Likewise.
9235         (CFLAGS-scanf7.c): Likewise.
9236         (CFLAGS-tst-sprintf.c): Likewise.
9237         (CFLAGS-tst-printf.c): Likewise.
9238         (CFLAGS-tst-printfsz.c): Likewise.
9240 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
9242         * include/cpio.h: New file.
9243         * include/fmtmsg.h: Likewise.
9245         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
9246         corresponding format argument to size_t.
9247         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
9248         arguments.
9249         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
9250         corresponding format argument to size_t.
9251         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
9252         arguments.
9253         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
9254         corresponding format argument to size_t.
9255         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
9256         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
9257         (CFLAGS-tst-mbswcs2.c): Likewise.
9258         (CFLAGS-tst-mbswcs3.c): Likewise.
9259         (CFLAGS-tst-mbswcs4.c): Likewise.
9260         (CFLAGS-tst-mbswcs5.c): Likewise.
9261         (CFLAGS-tst-trans.c): Likewise
9263 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9265         * posix/regexbug1.c (main): Use "%s" format with regerror results,
9266         rather than assuming they won't contain any '%'s.
9268 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
9270         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
9271         inhibit_loop_to_libcall to avoid recursive calls.
9272         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
9273         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
9275 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
9277         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
9278         prototype.
9280 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
9282         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
9283         integer value instead of boolean.
9285 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
9287         * malloc/malloc.c: Fix powerof2 check.
9289 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9291         * locale/programs/locfile.h (maybe_swap_uint32):
9292         Remove inline and add unused attribute.
9294 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9296         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9297         Truncating assembler expression to a .long expression.
9299 2014-12-11  Andreas Schwab  <schwab@suse.de>
9301         * elf/rtld.c (struct map_args): Constify str member.
9302         (do_preload): Constify fname argument.
9304 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9306         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
9307         constants definition.
9309 2014-12-11  Andreas Schwab  <schwab@suse.de>
9311         [BZ #16657]
9312         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
9313         FORCE_ELISION instead of DO_ELISION.
9314         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
9315         Remove.
9316         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
9317         Likewise.
9319         * iconvdata/gconv-modules: Remove duplicate entry.
9321 2014-12-11  Will Newton  <will.newton@linaro.org>
9323         Merge gettext 0.19.3 into intl/.
9325         This involves a number of cosmetic changes to comments
9326         and ANSI function definitions and prototypes throughout
9327         all the files. The gettext copyright header is used but
9328         with the date ranges taken from the glibc copy.
9330         * NEWS: Add gettext merge to 2.21.
9331         * intl/bindtextdom.c: Switch to gettext copyright.
9332         Use ANSI definitions and prototypes.
9333         Use gl_* locking primitives rather than __libc_* ones.
9334         Use __builtin_expect rather than __glibc_likely/unlikely.
9335         * intl/dcgettext.c: Switch to gettext copyright.
9336         Use ANSI definitions and prototypes.
9337         * intl/dcigettext.c: Switch to gettext copyright.
9338         Use ANSI definitions and prototypes.
9339         (INTDIV0_RAISES_SIGFPE): New define.
9340         Use gl_* locking primitives rather than __libc_* ones.
9341         Include eval-plural.h instead of plural-eval.c.
9342         Use __builtin_expect rather than __glibc_likely/unlikely.
9343         * intl/dcngettext.c: Switch to gettext copyright.
9344         Use ANSI definitions and prototypes.
9345         * intl/dgettext.c: Likewise.
9346         * intl/dngettext.c: Likewise.
9347         * intl/plural-eval.c: Renamed to...
9348         * intl/eval-plural.h: ...this.
9349         * intl/explodename.c: Switch to gettext copyright.
9350         Use ANSI definitions and prototypes.
9351         (_nl_explode_name): Use strchr instead of __rawmemchr.
9352         * intl/finddomain.c: Switch to gettext copyright.
9353         Use ANSI definitions and prototypes.
9354         Use gl_* locking primitives rather than __libc_* ones.
9355         (_nl_find_domain): Use malloc rather than alloca for
9356         allocation of temporary locale name.
9357         * intl/gettext.c: Switch to gettext copyright.
9358         Use ANSI definitions and prototypes.
9359         * intl/gettextP.h: Switch to gettext copyright.
9360         Use ANSI definitions and prototypes.
9361         Use gl_* locking primitives rather than __libc_* ones.
9362         * intl/gmo.h: Switch to gettext copyright.
9363         (struct sysdep_string): Move struct segment_pair outside of
9364         struct definition.
9365         * intl/hash-string.c: Use ANSI definitions and prototypes.
9366         * intl/hash-string.h: Switch to gettext copyright.
9367         Use ANSI definitions and prototypes.
9368         * intl/l10nflist.c: Switch to gettext copyright.
9369         Use ANSI definitions and prototypes.
9370         (_nl_normalize_codeset): Avoid integer overflow.
9371         * intl/loadinfo.h: Switch to gettext copyright.
9372         Use ANSI definitions and prototypes.
9373         (LIBINTL_DLL_EXPORTED): New define.
9374         (PATH_SEPARATOR): New define.
9375         * intl/loadmsgcat.c: Switch to gettext copyright.
9376         * intl/localealias.c: Switch to gettext copyright.
9377         Use ANSI definitions and prototypes.
9378         (_nl_expand_alias): Use PATH_SEPARATOR.
9379         * intl/ngettext.c: Switch to gettext copyright.
9380         Use ANSI definitions and prototypes.
9381         * intl/plural-exp.c: Likewise.
9382         * intl/plural-exp.h: Switch to gettext copyright.
9383         Use ANSI definitions and prototypes.
9384         (struct expression): Move definition of enum operator outside
9385         of struct definition.
9386         * intl/plural.c: Regenerate.
9387         * intl/plural.y: Switch to gettext copyright.
9388         Use ANSI definitions and prototypes.
9389         Port to bison 3.0.
9390         * intl/textdomain.c: Switch to gettext copyright.
9391         Use ANSI definitions and prototypes.
9392         Use gl_* locking primitives rather than __libc_* ones.
9394 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
9396         * debug/warning-nop.c: Add used atrribute.
9398 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9400         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
9402         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
9403         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
9404         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
9406 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9407             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9409         [BZ #17634]
9410         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
9411         Undefine after defining function.  Define as weak alias of
9412         __wcschr.  Use libc_hidden_weak.
9413         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
9414         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
9415         (libc_hidden_def): Also define __GI___wcschr alias.
9416         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
9417         __wcschr and define as weak alias of __wcschr.
9418         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
9419         __wcschr.
9420         [!WCSCHR] (DEFAULT_WCSCHR): Define.
9421         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
9422         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
9423         libc_hidden_weak.  Do not use libc_hidden_def.
9424         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
9425         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
9426         __GI___wcschr alias.
9427         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
9428         [IS_IN (libc)] (wcschr): Define as macro expanding to
9429         __redirect_wcschr.
9430         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
9431         [IS_IN (libc)] (__wcschr_power6): Likewise.
9432         [IS_IN (libc)] (__wcschr_power7): Likewise.
9433         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
9434         instead of wcschr.
9435         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
9436         __libc_wcschr.
9437         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
9438         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
9439         __wcschr and define as weak alias of __wcschr.  Use
9440         libc_hidden_builtin_def.
9441         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
9442         as weak alias of __wcschr.  Use libc_hidden_weak.
9443         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
9444         wcschr.
9445         * time/era.c (_nl_init_era_entries): Likewise.
9446         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
9447         variable.
9448         (test-xfail-XPG3/time.h/linknamespace): Likewise.
9449         (test-xfail-XPG4/time.h/linknamespace): Likewise.
9451 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9453         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
9454         format for long int variable.
9456 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
9458         [BZ #10672]
9459         * manual/search.texi: (Array Sort Function): Remove claim how to make
9460         qsort stable.
9462 2014-12-10  Andreas Schwab  <schwab@suse.de>
9464         [BZ #12847]
9465         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
9466         user-controlled locks.
9468 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
9470         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
9471         register.
9473 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9475         * configure.ac (--disable-werror): New configure option.
9476         (enable_werror): New AC_SUBST.
9477         * configure: Regenerated.
9478         * config.make.in (enable-werror): New variable.
9479         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
9480         -Wno-error=undef.
9481         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
9482         * manual/install.texi (Configuring and compiling): Document
9483         --disable-werror.
9484         * INSTALL: Regenerated.
9485         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
9486         (CFLAGS-tst-chk2.c): Likewise.
9487         (CFLAGS-tst-chk3.c): Likewise.
9488         (CFLAGS-tst-chk4.cc): Likewise.
9489         (CFLAGS-tst-chk5.cc): Likewise.
9490         (CFLAGS-tst-chk6.cc): Likewise.
9491         (CFLAGS-tst-lfschk1.c): Likewise.
9492         (CFLAGS-tst-lfschk2.c): Likewise.
9493         (CFLAGS-tst-lfschk3.c): Likewise.
9494         (CFLAGS-tst-lfschk4.cc): Likewise.
9495         (CFLAGS-tst-lfschk5.cc): Likewise.
9496         (CFLAGS-tst-lfschk6.cc): Likewise.
9498         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
9499         (main): Disable -Wdeprecated-declarations around calls to
9500         register_printf_function.
9502         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
9503         (do_test): Disable -Wdiv-by-zero around some calls to
9504         fwrite_unlocked and fread_unlocked.
9506         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
9507         (DIAG_POP_NEEDS_COMMENT): Likewise.
9508         (_DIAG_STR1): Likewise.
9509         (_DIAG_STR): Likewise.
9510         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
9511         * stdio-common/bug21.c: Include <libc-internal.h>.
9512         (do_test): Disable -Wformat around call to sscanf.
9513         * stdio-common/scanf14.c: Include <libc-internal.h>.
9514         (main): Disable -Wformat around some calls to scanf functions.
9516 2014-12-09  Torvald Riegel  <triegel@redhat.com>
9518         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
9520 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9522         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
9523         stack variable alignment.
9525 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
9527         [BZ #17682]
9528         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
9529         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
9530         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
9531         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
9532         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
9533         __getrlimit instead of getrlimit.
9534         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
9535         __gettimeofday instead of gettimeofday.
9536         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9537         Likewise.
9538         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9539         Likewise.
9540         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9541         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
9542         Remove variable.
9543         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9544         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9546 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9548         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
9549         for wide-character tests.
9551 2014-12-04  Roland McGrath  <roland@hack.frob.com>
9553         * io/openat64.c: #include <libc-internal.h>
9554         (__openat64): Prototypify.  Use ignore_value on MODE.
9555         * io/openat.c: Likewise.
9556         * misc/reboot.c: #include <libc-internal.h>
9557         (reboot): Prototypify.  Use ignore_value on HOWTO.
9558         * misc/ptrace.c: #include <libc-internal.h>
9559         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
9561 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
9563         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
9564         XPG4, UNIX98 and XOPEN2K.
9565         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
9566         Remove variable.
9567         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9569 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9571         * libio/fileops.c: Use ISO C style for function definitions.
9572         * libio/iofopen.c: Likewise.
9573         * libio/wfileops.c: Likewise.
9575         [BZ #17653]
9576         * libio/fileops.c (_IO_new_file_underflow): Unset cached
9577         offset on EOF.
9578         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
9579         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
9580         (fgets_func): Function pointer to fgets and fgetws.
9581         (do_ftell_test): Add test to verify ftell value after read
9582         EOF.
9583         (do_test): Set fgets_func.
9585         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
9586         O_TRUNC flag for w and w+ modes.
9587         (do_rewind_test): Likewise.
9588         (do_ftell_test): Likewise.
9589         (do_write_test): Likewise.
9591         [BZ #17647]
9592         * libio/fileops.c (do_ftell): Seek only when there are
9593         unflushed writes.
9594         * libio/wfileops.c (do_ftell_wide): Likewise.
9595         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
9596         test case.
9597         (do_one_test): Call it.
9599 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
9601         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
9602         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
9603         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
9604         Remove variable.
9605         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9606         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9607         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9609 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
9611         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
9612         Remove variable.
9613         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9615         [BZ #17668]
9616         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
9617         as weak alias of __getifaddrs.  Use libc_hidden_weak.
9618         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9619         __freeifaddrs.  Use libc_hidden_weak.
9620         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
9621         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
9622         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9623         __freeifaddrs.  Use libc_hidden_weak.
9624         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
9625         __getifaddrs and define as weak alias of __getifaddrs.  Use
9626         libc_hidden_weak.
9627         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9628         __freeifaddrs.  Use libc_hidden_weak.
9629         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
9630         Remove variable.
9631         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9632         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9634 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
9636         [BZ #17601]
9637         * sysdeps/mips/start.S (__start): Use indirect jump to call
9638         __libc_start_main.
9640 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
9642         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
9644         * nptl/tst-mutex1.c: Include <stdbool.h>.
9645         [!ATTR] (ATTR_NULL): New macro.
9646         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
9647         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
9648         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
9650         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
9651         to char *.
9653         [BZ #17665]
9654         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
9655         Change conditional to [__USE_MISC].
9657         [BZ #17664]
9658         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
9659         fgets_unlocked.
9660         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
9661         __fgets_unlocked.
9662         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
9663         fgets_unlocked.
9664         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
9665         Remove variable.
9666         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9667         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9668         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9669         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9670         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9671         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9672         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9673         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9674         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9676         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
9678 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9680         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9681         Remove strpbrk objects.
9682         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9683         (__libc_ifunc_impl_list): Remove strpbrk implementation.
9684         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
9685         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
9686         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
9687         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
9689         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9690         Remove strcspn objects.
9691         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9692         (__libc_ifunc_impl_list): Remove strcspn implementation.
9693         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
9694         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
9695         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
9696         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
9698         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9699         Remove strspn objetcs.
9700         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9701         (__libc_ifunc_impl_list): Remove strspn implementation.
9702         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
9703         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9704         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
9705         * sysdeps/powerpc/powerpc64/strspn.S: New file.
9707 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
9709         [BZ #17581]
9710         * malloc/hooks.c
9711         (mem2mem_check): Add a terminator to the chain of checking blocks.
9712         (malloc_check_get_size): Use it here.
9713         (mem2chunk_check): Ditto.
9715 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9717         * sysdeps/powerpc/powerpc64/strtok.S: New file.
9718         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
9720 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
9722         * bits/ioctl-types.h: Indent preprocessor directives correctly.
9724         * nptl/nptl-init.c: Include libc-internal.h.
9725         (__pthread_initialize_minimal_internal): Use ROUND_UP.
9727         * elf/ldconfig.c (search_dir): Expand comment.
9729 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
9731         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
9732         variable.
9733         (linknamespace-symlist-stdlibs-tests): Likewise.
9734         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
9735         instead of $(objpfx)symlist-stdlibs.
9736         (linknamespace-libs-isoc): New variable.
9737         (linknamespace-libs): Use $(linknamespace-libs-isoc).
9738         (linknamespace-libs-ISO): New variable.
9739         (linknamespace-libs-ISO99): Likewise.
9740         (linknamespace-libs-ISO11): Likewise.
9741         (linknamespace-libs-XPG3): Likewise.
9742         (linknamespace-libs-XPG4): Likewise.
9743         (linknamespace-libs-POSIX): Likewise.
9744         (linknamespace-libs-UNIX98): Likewise.
9745         (linknamespace-libs-XOPEN2K): Likewise.
9746         (linknamespace-libs-POSIX2008): Likewise.
9747         (linknamespace-libs-XOPEN2K8): Likewise.
9748         ($(objpfx)symlist-stdlibs): Replace by
9749         $(linknamespace-symlist-stdlibs-tests).  Use
9750         $(linknamespace-libs-$*) as set of libraries.
9751         ($(linknamespace-header-tests)): Update dependencies.  Use
9752         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
9753         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
9754         * conform/linknamespace.pl: Remove comment about considering
9755         definitions of symbols from irrelevant libraries.
9757 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
9759         [BZ #13862]
9760         * elf/dl-tls.c: Include <atomic.h>.
9761         (oom): Remove #ifdef SHARED/#endif.
9762         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
9763         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
9764         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
9765         big enough.
9766         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
9767         * nptl/Makefile (tests): Add tst-stack4.
9768         (modules-names): Add tst-stack4mod.
9769         ($(objpfx)tst-stack4): New.
9770         (tst-stack4mod.sos): Likewise.
9771         ($(objpfx)tst-stack4.out): Likewise.
9772         ($(tst-stack4mod.sos)): Likewise.
9773         (clean): Likewise.
9774         * nptl/tst-stack4.c: New file.
9775         * nptl/tst-stack4mod.c: Likewise.
9777 2014-11-27  J. Brown  <jb999@gmx.de>
9779         * sysdeps/x86/bits/string.h: Add recent CPUs.
9781 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
9783         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
9784         sigblock.
9786         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
9787         feof.
9789         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
9790         variable.
9792 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
9794         * nscd/connections.c: Include libc-internal.h because of macro
9795         usage ignore_value.
9797 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9799         * string/bits/string3.h (__warn_memset_zero_len): Don't
9800         declare for gcc newer than 5.0.
9801         (memset): Don't test for zero-length __LEN for gcc newer than
9802         5.0.
9804 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
9806         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
9807         size_t for %zu format.
9809         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
9810         difference, not %ju.
9812 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
9814         * include/libc-internal.h (ignore_value): New macro.
9815         * nscd/connections.c (restart): Wrap calls to setuid and setgid
9816         with ignore_value.
9818         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
9819         definition.
9821         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
9822         pthread_cleanup_push to void *.
9824         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
9825         Undefine.
9827         [BZ #16619]
9828         [BZ #16740]
9829         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
9830         instead of 1L << 52.
9832         * libio/bug-rewind.c (do_test): Check fwscanf return values.
9833         * libio/bug-rewind2.c (do_test): Likewise.
9835         * debug/test-stpcpy_chk-ifunc.c: Remove file.
9836         * debug/test-strcpy_chk-ifunc.c: Likewise.
9837         * wcsmbs/test-wcschr-ifunc.c: Likewise.
9838         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9839         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9840         * wcsmbs/test-wcslen-ifunc.c: Likewise.
9841         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9842         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9843         * Rules [$(multi-arch) = no] (tests): Do not filter out
9844         $(tests-ifunc).
9845         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
9846         * debug/Makefile (tests-ifunc): Remove variable.
9847         (tests): Do not add $(tests-ifunc).
9848         * wcsmbs/Makefile (tests-ifunc): Remove variable.
9849         (tests): Do not add $(tests-ifunc).
9850         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
9851         [TEST_IFUNC]: Remove conditionals.
9852         * string/test-string.h (TEST_IFUNC): Remove macro.
9853         [TEST_IFUNC]: Remove conditionals.
9855         * string/test-strchr.c [!WIDE] (L): New macro.
9856         [WIDE] (L): Likewise.
9857         (check1): Use CHAR instead of char.  Use L on string and character
9858         constants.
9860 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
9862         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
9863         tests.
9864         * sysdeps/powerpc/bits/atomic.h
9865         (__arch_atomic_exchange_and_add_32_acq): Add definition.
9866         (__arch_atomic_exchange_and_add_32_rel): Likewise.
9867         (atomic_exchange_and_add_acq): Likewise.
9868         (atomic_exchange_and_add_rel): Likewise.
9869         * sysdeps/powerpc/powerpc32/bits/atomic.h
9870         (__arch_atomic_exchange_and_add_64_acq): Add definition.
9871         (__arch_atomic_exchange_and_add_64_rel): Likewise.
9872         * sysdeps/powerpc/powerpc64/bits/atomic.h
9873         (__arch_atomic_exchange_and_add_64_acq): Add definition.
9874         (__arch_atomic_exchange_and_add_64_rel): Likewise.
9876 2014-11-26  Torvald Riegel  <triegel@redhat.com>
9878         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
9879         Change synchronization of __sched_fifo_min_prio and
9880         __sched_fifo_max_prio.
9881         * nptl/pthread_mutexattr_getprioceiling.c
9882         (pthread_mutexattr_getprioceiling): Likewise.
9883         * nptl/pthread_mutexattr_setprioceiling.c
9884         (pthread_mutexattr_setprioceiling): Likewise.
9885         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
9886         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
9887         Likewise.
9889 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
9891         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
9892         void.
9894 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
9896         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
9897         third argument const.
9899 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
9901         fnmatch: work around GCC compiler warning bug with uninit var
9902         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
9903         This works around a bug with x86-64 GCC 4.9.2 and earlier
9904         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
9905         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
9906         used uninitialized in this function [-Wmaybe-uninitialized]".
9908 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
9910         * posix/bug-regex31.c (main): Return RES not 0.
9912 2014-11-25  Anton Blanchard <anton@samba.org>
9914         * sysdeps/powerpc/bits/atomic.h
9915         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
9917 2014-11-24  Sterling Augustine  <saugustine@google.com>
9919         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
9921 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
9923         [BZ #17608]
9924         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
9926 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
9928         [BZ #17633]
9929         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
9930         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
9931         variable.
9932         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9933         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9935 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
9937         * string/strncpy.c (strncpy): Improve performance by using memset.
9939 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
9941         * string/strcpy.c (strcpy):
9942         Improve performance by using strlen and memcpy.
9944 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
9946         * string/strcoll_l.c (get_next_seq): __always_inline.
9947         * string/strcoll_l.c (do_compare): __always_inline.
9949 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9951         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
9952         defined.
9953         * include/mqueue.h: Likewise.
9954         * include/stdlib.h: Likewise.
9956         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
9957         (get_null_defines): Adjust.
9958         * sunrpc/Makefile: Adjust comment.
9959         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
9960         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
9961         (CFLAGS-interp.c): Likewise.
9962         (CFLAGS-ldconfig.c): Likewise.
9963         (CPPFLAGS-.os): Likewise.
9964         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9965         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9966         * extra-modules.mk (extra-modules.mk): Likewise.
9967         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
9968         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
9969         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
9970         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
9971         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
9972         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
9973         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
9974         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
9975         * iconvdata/Makefile (CPPFLAGS): Likewise.
9976         (cpp-srcs-left): Add libof for all iconvdata routines.
9977         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
9978         * include/assert.h: Likewise.
9979         * include/ctype.h: Likewise.
9980         * include/errno.h: Likewise.
9981         * include/libc-symbols.h: Likewise.
9982         * include/math.h: Likewise.
9983         * include/netdb.h: Likewise.
9984         * include/resolv.h: Likewise.
9985         * include/stdio.h: Likewise.
9986         * include/stdlib.h: Likewise.
9987         * include/string.h: Likewise.
9988         * include/sys/stat.h: Likewise.
9989         * include/wctype.h: Likewise.
9990         * intl/l10nflist.c: Likewise.
9991         * libidn/idn-stub.c: Likewise.
9992         * libio/libioP.h: Likewise.
9993         * nptl/libc_multiple_threads.c: Likewise.
9994         * nptl/pthreadP.h: Likewise.
9995         * posix/regex_internal.h: Likewise.
9996         * resolv/res_hconf.c: Likewise.
9997         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
9998         * sysdeps/arm/memmove.S: Likewise.
9999         * sysdeps/arm/sysdep.h: Likewise.
10000         * sysdeps/generic/_itoa.h: Likewise.
10001         * sysdeps/generic/symbol-hacks.h: Likewise.
10002         * sysdeps/gnu/errlist.awk: Likewise.
10003         * sysdeps/gnu/errlist.c: Likewise.
10004         * sysdeps/i386/i586/memcpy.S: Likewise.
10005         * sysdeps/i386/i586/memset.S: Likewise.
10006         * sysdeps/i386/i686/memcpy.S: Likewise.
10007         * sysdeps/i386/i686/memmove.S: Likewise.
10008         * sysdeps/i386/i686/mempcpy.S: Likewise.
10009         * sysdeps/i386/i686/memset.S: Likewise.
10010         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10011         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10012         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
10013         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
10014         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10015         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10016         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
10017         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10018         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10019         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10020         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10021         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10022         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10023         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10024         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10025         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10026         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
10027         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
10028         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
10029         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10030         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10031         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10032         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10033         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10034         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10035         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10036         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
10037         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10038         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
10039         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10040         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10041         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10042         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10043         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10044         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10045         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10046         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10047         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10048         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10049         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10050         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10051         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10052         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10053         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10054         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10055         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10056         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
10057         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
10058         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10059         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10060         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10061         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
10062         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
10063         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10064         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10065         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
10066         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10067         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
10068         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
10069         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10070         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10071         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10072         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
10073         * sysdeps/nptl/bits/libc-lock.h: Likewise.
10074         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10075         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
10076         * sysdeps/posix/closedir.c: Likewise.
10077         * sysdeps/posix/opendir.c: Likewise.
10078         * sysdeps/posix/readdir.c: Likewise.
10079         * sysdeps/posix/rewinddir.c: Likewise.
10080         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
10081         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
10082         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10083         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10084         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10085         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
10086         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
10087         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
10088         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
10089         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
10090         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
10091         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
10092         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
10093         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
10094         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
10095         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
10096         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
10097         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
10098         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
10099         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
10100         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
10101         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
10102         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
10103         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
10104         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
10105         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
10106         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
10107         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
10108         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
10109         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
10110         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
10111         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
10112         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
10113         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
10114         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
10115         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
10116         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10117         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10118         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
10119         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
10120         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
10121         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
10122         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
10123         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
10124         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
10125         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
10126         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
10127         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
10128         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
10129         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
10130         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
10131         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
10132         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
10133         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
10134         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
10135         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
10136         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
10137         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
10138         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
10139         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
10140         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
10141         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
10142         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
10143         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
10144         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
10145         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
10146         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
10147         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
10148         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
10149         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
10150         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
10151         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
10152         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
10153         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
10154         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
10155         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
10156         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
10157         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
10158         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10159         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
10160         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
10161         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10162         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
10163         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
10164         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10165         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
10166         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
10167         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
10168         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
10169         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10170         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
10171         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
10172         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
10173         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
10174         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10175         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
10176         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
10177         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10178         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
10179         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
10180         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10181         * sysdeps/unix/alpha/sysdep.S: Likewise.
10182         * sysdeps/unix/alpha/sysdep.h: Likewise.
10183         * sysdeps/unix/make-syscalls.sh: Likewise.
10184         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10185         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10186         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10187         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
10188         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10189         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10190         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
10191         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10192         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10193         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
10194         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10195         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10196         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10197         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10198         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10199         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10200         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10201         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10202         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10203         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10204         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10205         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10206         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10207         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10208         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10209         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10210         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10213         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
10214         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10215         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10216         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10217         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10218         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10219         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10220         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10221         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10222         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10223         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10224         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10225         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10226         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10227         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
10228         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10229         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10230         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10231         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10232         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10233         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10234         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10235         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10236         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10237         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10238         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10239         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10240         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10241         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10242         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
10243         * sysdeps/x86_64/memcpy.S: Likewise.
10244         * sysdeps/x86_64/memmove.c: Likewise.
10245         * sysdeps/x86_64/memset.S: Likewise.
10246         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
10247         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10248         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10249         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
10250         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
10251         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10252         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10253         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10254         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10255         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10256         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10257         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10258         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
10259         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10260         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10261         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
10262         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10263         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10264         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10265         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10266         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
10267         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10268         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10269         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10270         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10271         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10272         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10273         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
10274         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10275         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10276         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
10277         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10278         * sysdeps/x86_64/strcmp.S: Likewise.
10280         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
10282         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
10283         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
10284         * elf/rtld-Rules: Likewise.
10285         * elf/setup-vdso.h: Likewise.
10286         * include/assert.h: Likewise.
10287         * include/bits/stdlib-float.h: Likewise.
10288         * include/errno.h: Likewise.
10289         * include/sys/stat.h: Likewise.
10290         * include/unistd.h: Likewise.
10291         * sysdeps/aarch64/setjmp.S: Likewise.
10292         * sysdeps/alpha/setjmp.S: Likewise.
10293         * sysdeps/arm/__longjmp.S: Likewise.
10294         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
10295         * sysdeps/arm/setjmp.S: Likewise.
10296         * sysdeps/arm/sysdep.h: Likewise.
10297         * sysdeps/generic/_itoa.h: Likewise.
10298         * sysdeps/generic/dl-sysdep.h: Likewise.
10299         * sysdeps/generic/ldsodefs.h: Likewise.
10300         * sysdeps/i386/dl-tls.h: Likewise.
10301         * sysdeps/i386/setjmp.S: Likewise.
10302         * sysdeps/m68k/setjmp.c: Likewise.
10303         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
10304         * sysdeps/mach/hurd/opendir.c: Likewise.
10305         * sysdeps/posix/getcwd.c: Likewise.
10306         * sysdeps/posix/opendir.c: Likewise.
10307         * sysdeps/posix/profil.c: Likewise.
10308         * sysdeps/powerpc/dl-procinfo.h: Likewise.
10309         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10310         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10311         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10312         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10313         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
10314         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10315         * sysdeps/s390/dl-tls.h: Likewise.
10316         * sysdeps/s390/s390-32/setjmp.S: Likewise.
10317         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10318         * sysdeps/sh/sh3/setjmp.S: Likewise.
10319         * sysdeps/sh/sh4/setjmp.S: Likewise.
10320         * sysdeps/unix/alpha/sysdep.h: Likewise.
10321         * sysdeps/unix/arm/sysdep.S: Likewise.
10322         * sysdeps/unix/i386/sysdep.S: Likewise.
10323         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10324         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10325         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10326         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10327         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10328         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10329         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10330         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10331         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10332         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10333         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
10334         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10335         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10338         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10339         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10340         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10341         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10342         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10343         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10344         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10345         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10346         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10347         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10348         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10349         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10350         * sysdeps/unix/x86_64/sysdep.S: Likewise.
10351         * sysdeps/x86_64/setjmp.S: Likewise.
10353         * include/math.h: Use IS_IN instead of IS_IN_libm.
10354         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
10355         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10356         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10357         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10358         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10359         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10360         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10361         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10362         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10363         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10364         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
10365         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
10366         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
10367         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
10368         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
10369         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
10370         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
10371         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
10372         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
10373         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
10374         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
10375         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
10376         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
10377         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
10378         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
10379         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
10380         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
10381         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
10382         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
10383         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
10384         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
10385         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10386         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
10387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
10388         Likewise.
10389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
10390         Likewise.
10391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
10392         Likewise.
10393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
10394         Likewise.
10395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
10396         Likewise.
10397         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10398         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
10399         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10400         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10401         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10402         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
10404         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
10405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
10406         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
10407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
10408         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
10409         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
10410         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
10411         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
10412         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10413         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
10414         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
10415         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10416         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10417         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
10418         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
10419         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
10420         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
10421         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
10422         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10423         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
10425         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
10426         * nptl/pthreadP.h: Likewise.
10427         * nptl_db/structs.def: Likewise.
10428         * sysdeps/arm/sysdep.h: Likewise.
10429         * sysdeps/nptl/bits/libc-lock.h: Likewise.
10430         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10431         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
10432         * sysdeps/unix/alpha/sysdep.h: Likewise.
10433         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10434         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10435         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10436         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10437         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10438         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10439         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10440         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10441         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10442         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10443         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10444         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10445         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10446         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10449         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10450         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10451         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10452         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10453         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10454         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10455         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10456         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10457         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
10458         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10460         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
10461         * nptl/pthreadP.h: Likewise.
10462         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10463         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10464         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10465         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10466         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10467         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10468         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10469         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10470         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10471         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10472         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10473         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10475         Likewise.
10476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10477         Likewise.
10478         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10479         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10480         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10481         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10482         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10483         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10484         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10485         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10487         * dlfcn/dladdr.c: Use IS_IN.
10488         * dlfcn/dladdr1.c: Likewise.
10489         * dlfcn/dlclose.c: Likewise.
10490         * dlfcn/dlerror.c: Likewise.
10491         * dlfcn/dlinfo.c: Likewise.
10492         * dlfcn/dlmopen.c: Likewise.
10493         * dlfcn/dlopen.c: Likewise.
10494         * dlfcn/dlsym.c: Likewise.
10495         * dlfcn/dlvsym.c: Likewise.
10497         * include/ifaddrs.h: Use IS_IN.
10498         * inet/check_pf.c: Likewise.
10499         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10500         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
10502         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
10503         IS_IN_ldconfig.
10504         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
10505         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
10507         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
10508         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
10509         IS_IN (libc).
10511         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
10513         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
10514         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10515         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10516         * include/libc-symbols.h (IS_IN_LIB): New macro.
10517         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
10518         * include/netdb.h: Likewise.
10519         * include/stap-probe.h: Remove all uses of IN_LIB.
10521         * Makeconfig (module-cppflags-real): Define MODULE_NAME
10522         instead of IN_MODULE.
10523         * include/libc-symbols.h (IN_MODULE): Define using
10524         MODULE_NAME.
10525         (PASTE_NAME, PASTE_NAME1): New macros.
10526         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
10527         of IN_LIB.
10528         (STAP_PROBE_ASM): Likewise.
10530 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10532         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
10533         __mach_init in dlopened libc.
10535 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
10537         * sysdeps/arm/preconfigure.ac: Delete EABI check.
10538         * sysdeps/arm/preconfigure: Regenerate.
10540 2014-11-21  Roland McGrath  <roland@hack.frob.com>
10542         * nptl/pthread_create.c (__pthread_create_2_1): Set
10543         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
10544         when copying values from IATTR into PD.
10546 2014-11-21  Will Newton  <will.newton@linaro.org>
10547             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
10549         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
10550         Refactor inline-asm.  Also add comment.
10552         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
10553         ElfW macro instead of hardcoded Elf64 types.
10554         (la_aarch64_gnu_pltenter): Likewise.
10555         * sysdeps/aarch64/dl-machine.h
10556         (elf_machine_runtime_setup): Use ElfW(Addr).
10558         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
10559         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
10560         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
10561         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
10562         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
10563         (R_AARCH64_TLS_DTPMOD64): Rename to ..
10564         (R_AARCH64_TLS_DTPMOD): This.
10565         (R_AARCH64_TLS_DTPREL64): Rename to ...
10566         (R_AARCH64_TLS_DTPREL): This.
10567         (R_AARCH64_TLS_TPREL64): Rename to ...
10568         (R_AARCH64_TLS_TPREL): This.
10569         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
10570         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
10571         R_AARCH64_TLS_TPREL64.
10572         (elf_machine_rela): Likewise.
10574 2014-11-21  Torvald Riegel  <triegel@redhat.com>
10576         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
10577         by setting it to 0.  64b atomics are not supported currently.
10579 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10581         [BZ #16469]
10582         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
10583         search domain names.
10585 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10587         [BZ #16469]
10588         * NEWS: Update.
10589         * resolv/res_query.c (__libc_res_nquerydomain): Retain
10590         trailing dot.
10591         * posix/tst-getaddrinfo5.c: New.
10592         * posix/Makefile (tests): Add it.
10594 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10596         [BZ #14498]
10597         * NEWS: Fixed.
10598         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
10599         after parsing line but before break_if_match.
10600         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
10601         if there is a protocol mismatch.
10603 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
10605         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
10606         because the potential race is on the user-supplied stream.
10608 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10610         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
10611         string literal if not passed a buffer.
10612         * manual/job.texi (ctermid): Update reasoning, note deviation
10613         from posix, suggest mtasurace when not passed a buffer, for
10614         future non-preliminary safety notes.
10616 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10618         * manual/users.texi (cuserid): Fix MT-Safety note for the case
10619         of not passing it a buffer.
10620         Reported by Peng Haitao.
10622 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10624         * manual/Makefile ($(objpfx)stamp-summary): Require
10625         check-safety.sh to pass.
10626         * manual/check-safety.sh: Wish for verification that every
10627         @deftypefn and @deftypefun is followed by a @safety remark.
10629 2014-11-20  Roland McGrath  <roland@hack.frob.com>
10631         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
10633         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
10634         PTHREAD_CANCEL_ASYNCHRONOUS.
10635         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
10636         send SIGCANCEL.
10638         * nptl/default-sched.h: New file.
10639         * sysdeps/unix/sysv/linux/default-sched.h: New file.
10640         * nptl/pthread_create.c: Include it.
10641         (__pthread_create_2_1): Use collect_default_sched instead of making
10642         Linux syscalls here directly.
10644 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10646         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
10647         __pthread_once): Use C11 atomics.
10649 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10651         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
10653 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10655         * include/atomic.h (__atomic_link_error, __atomic_check_size,
10656         atomic_thread_fence_acquire, atomic_thread_fence_release,
10657         atomic_thread_fence_seq_cst, atomic_load_relaxed,
10658         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
10659         atomic_compare_exchange_weak_relaxed,
10660         atomic_compare_exchange_weak_acquire,
10661         atomic_compare_exchange_weak_release,
10662         atomic_exchange_acquire, atomic_exchange_release,
10663         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
10664         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
10665         atomic_fetch_and_acquire,
10666         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
10668 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10670         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
10671         USE_ATOMIC_COMPILER_BUILTINS): Define.
10672         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
10673         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10674         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
10675         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10676         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
10677         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10678         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
10679         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10680         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
10681         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10682         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
10683         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10684         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
10685         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10686         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
10687         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10688         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10689         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10690         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10691         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10692         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
10693         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10694         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10695         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10696         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
10697         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10698         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10699         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10700         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
10701         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10702         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
10703         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10704         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
10705         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10706         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
10707         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10708         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
10709         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10710         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
10711         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10713 2014-11-19  Roland McGrath  <roland@hack.frob.com>
10715         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
10716         the sched_priority value here.  It was already checked when the user
10717         called pthread_attr_setschedparam.
10719         * nptl/tst-bad-schedattr.c: New file.
10720         * nptl/Makefile (tests): Add it.
10722 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
10723             Florian Weimer  <fweimer@redhat.com>
10724             Joseph Myers  <joseph@codesourcery.com>
10725             Adam Conrad  <adconrad@0c3.net>
10726             Andreas Schwab  <schwab@suse.de>
10727             Brooks  <bmoses@google.com>
10729         [BZ #17625]
10730         * wordexp-test.c (__dso_handle): Add prototype.
10731         (__register_atfork): Likewise.
10732         (__app_register_atfork): New function.
10733         (registered_forks): New global.
10734         (register_fork): New function.
10735         (test_case): Add 3 new tests for WRDE_CMDSUB.
10736         (main): Call __app_register_atfork.
10737         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
10738         fork count is non-zero fail the test.
10739         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
10740         is set.
10741         (parse_dollars): Remove check for WRDE_NOCMD.
10742         (parse_dquote): Likewise.
10744 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10746         * Makeconfig (built-modules): List non-library modules to be
10747         built.
10748         (module-cppflags): Include libc-modules.h for
10749         everything except shlib-versions.v.i.
10750         (CPPFLAGS): Use it.
10751         (before-compile): Add libc-modules.h.
10752         ($(common-objpfx)libc-modules.h,
10753         $(common-objpfx)libc-modules.stmp): New targets.
10754         (common-generated): Add libc-modules.h and libc-modules.stmp.
10755         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
10756         * include/libc-symbols.h: Don't include libc-modules.h.
10757         * include/libc-modules.h: Remove file.
10758         * scripts/gen-libc-modules.awk: New script to generate
10759         libc-modules.h.
10760         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
10761         Depend on libc-modules.stmp.
10763         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
10765         * Makeconfig (in-module): Get value of libof set for the
10766         translation unit.
10767         (CPPFLAGS): Use $(in-module).
10768         * Makerules: Don't suffix routine names for nonlib.
10769         * include/libc-modules.h: New file.
10770         * include/libc-symbols.h: Include libc-modules.h
10771         (IS_IN): New macro to replace IS_IN_* macros.
10772         * elf/Makefile: Set libof-* for each routine.
10773         * elf/rtld-Rules: Likewise.
10774         * extra-modules.mk: Likewise.
10775         * iconv/Makefile: Likewise.
10776         * iconvdata/Makefile: Likewise.
10777         * locale/Makefile: Likewise.
10778         * malloc/Makefile: Likewise.
10779         * nss/Makefile: Likewise.
10780         * sysdeps/gnu/Makefile: Likewise.
10781         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
10782         * sysdeps/unix/sysv/linux/Makefile: Likewise.
10783         * sysdeps/s390/s390-64/Makefile: Likewise.
10784         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
10785         CPPFLAGS for nscd instead of nonlib.
10787 2014-11-18  Roland McGrath  <roland@hack.frob.com>
10789         * nptl/createthread.c: New file.
10791         * nptl/createthread.c: Moved ...
10792         * sysdeps/unix/sysv/linux/createthread.c: ... here.
10794         * nptl/createthread.c: Add proper top-line comment.
10795         (do_clone): Folded into ...
10796         (create_thread): ... here.  Take new arguments STOPPED_START and
10797         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
10798         increment __nptl_threads, do event-reporting logic, do
10799         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
10800         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
10801         resource cleanup if sched_setaffinity or sched_setscheduler fails,
10802         just send SIGCANCEL.
10803         * nptl/pthread_create.c: Forward-declare create_thread before
10804         including createthread.c.
10805         (start_thread): Use new macro START_THREAD_DEFN to replace defining
10806         declaration, and new macro START_THREAD_SELF to replace argument.
10807         Remove return statement.
10808         (report_thread_creation): New function.
10809         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
10810         synchronization logic, and __nptl_nthreads increment here, around
10811         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
10812         PD->parent_cancelhandling here, before create_thread.  When
10813         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
10814         __deallocate_stack, and ENOMEM translation here.
10816 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
10818         [BZ #17616]
10819         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
10820         (mptwo): Rename to __mptwo.
10821         (__inv): Use __mptwo instead of mptwo.
10822         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
10823         (mptwo): Rename to __mptwo.
10824         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
10825         of mpone and __mptwo instead of mptwo.
10826         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
10827         instead of mpone.
10828         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10829         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
10830         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
10831         of mpone and __mptwo instead of mptwo.
10832         (__mpranred): Use __mpone instead of mpone.
10833         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
10834         variable.
10835         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10836         (test-xfail-ISO99/math.h/linknamespace): Likewise.
10837         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10838         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10839         (test-xfail-ISO11/math.h/linknamespace): Likewise.
10840         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10841         (test-xfail-XPG3/math.h/linknamespace): Likewise.
10842         (test-xfail-XPG4/math.h/linknamespace): Likewise.
10843         (test-xfail-POSIX/math.h/linknamespace): Likewise.
10844         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10845         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10846         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10847         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10848         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10849         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10850         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10851         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10852         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10853         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10855 2014-11-18  Tom de Vries  <tom@codesoucery.com>
10857         * manual/signal.texi (Primitives Interrupted by Signals): In section,
10858         replace BSD Handler xref with BSD Signal Handling.
10860 2014-11-17  Richard Henderson  <rth@redhat.com>
10862         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
10863         (_FP_PACK_RAW_2): Remove.
10864         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
10865         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
10866         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
10867         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
10868         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
10869         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
10870         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
10871         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
10872         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
10873         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
10874         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
10875         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
10876         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
10877         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
10878         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
10879         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
10881 2014-11-14  Roland McGrath  <roland@hack.frob.com>
10883         * signal/signal.h [__USE_MISC]
10884         (struct sigvec): Remove type.
10885         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
10886         (sigvec): Remove declaration.
10887         * sysdeps/posix/sigvec.c: Moved ...
10888         * signal/sigvec.c: ... here, replacing old file.
10889         (struct sigvec): New type, copied from old signal.h definition.
10890         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
10891         (__sigvec): Convert definition to prototype.
10892         (sigvec): Replace weak_alias with compat_symbol.
10893         * signal/Versions (libc: GLIBC_2.21): New version set.
10894         * include/signal.h: Remove __sigvec declaration.
10895         * sysdeps/unix/bsd/sigvec.c: Remove file.
10896         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
10897         * manual/signal.texi (BSD Handler): Remove subsection.
10898         Move siginterrupt up to ...
10899         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
10900         (Blocking in BSD): Fold subsection into its parent.
10901         * NEWS: Mention sigvec removal.
10903 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
10905         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
10906         (DLA_FMS): Make definition conditional only on [__FMA4__].
10907         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
10908         definition.
10910         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
10911         Make definition conditional only on [PROF].
10912         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
10913         definition.
10914         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
10915         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
10917         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
10918         !__GNUC__].
10919         * include/signal.h (__sigpause): Move declaration above call to
10920         libc_hidden_proto.
10921         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
10922         variable.
10923         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10924         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10926 2014-11-14  David S. Miller  <davem@davemloft.net>
10928         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
10929         Define before including <string/memcpy.c> and <string/mempcpy.c>.
10931 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
10933         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
10934         * configure: Regenerated.
10935         * manual/install.texi (Tools for Compilation): Document a
10936         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
10937         compiler verified to work.
10938         * INSTALL: Regenerated.
10940         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
10941         redeclare with asm name.
10942         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
10943         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
10944         including <string.h>.
10945         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10946         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
10947         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10948         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
10949         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10950         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10951         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10953 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
10955         * stdlib/strtol.c (__strtol): Use prototype definition.
10957         [BZ #17594]
10958         * stdlib/strtol.c (SYM__): New macro.
10959         (SYM__1): Likewise.
10960         (__strtol): Likewise.
10961         (strtol): Rename to __strtol and define as weak alias of
10962         __strtol.  Use libc_hidden_weak.
10964 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10966         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
10967         Use numbered labels in inline assembly.
10969 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10971         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
10972         Add setjmp LIBC_PROBE.
10973         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
10974         Likewise.
10975         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
10976         Add longjmp, longjmp_target LIBC_PROBE.
10977         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
10978         Likewise.
10980 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10982         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10983         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
10984         to get rid of unused variable warning.
10986 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10988         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
10989         Check for unwind_backtrace ==  NULL only in SHARED case.
10990         (__backchain_backtrace): Compile only in SHARED case.
10991         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
10992         Likewise.
10993         (__backchain_backtrace): Declare as static.
10995 2014-11-12  Roland McGrath  <roland@hack.frob.com>
10997         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
10998         (__libc_multiple_threads_ptr): Variable moved ...
10999         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
11001 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
11003         * conform/GlibcConform.pm: New file.
11004         * conform/conformtest.pl: Use GlibcConform module.
11005         * conform/linknamespace.pl: New file.
11006         * conform/list-header-symbols.pl: Likewise.
11007         * conform/Makefile (linknamespace-symlists-base): New variable.
11008         (linknamespace-symlists-tests): Likewise.
11009         (linknamespace-header-base): Likewise.
11010         (linknamespace-header-tests): Likewise.
11011         (tests-special): Add new tests.
11012         ($(linknamespace-symlists-tests)): New rule.
11013         (linknamespace-libs): New variable.
11014         ($(objpfx)symlist-stdlibs): New rule.
11015         ($(linknamespace-header-tests)): Likewise.
11016         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
11017         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
11018         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
11019         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
11020         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
11021         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
11022         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
11023         (test-xfail-ISO/math.h/linknamespace): Likewise.
11024         (test-xfail-ISO/signal.h/linknamespace): Likewise.
11025         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
11026         (test-xfail-ISO/time.h/linknamespace): Likewise.
11027         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11028         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
11029         (test-xfail-ISO99/math.h/linknamespace): Likewise.
11030         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11031         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
11032         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11033         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11034         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
11035         (test-xfail-ISO11/math.h/linknamespace): Likewise.
11036         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11037         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11038         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11039         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
11040         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
11041         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
11042         (test-xfail-XPG3/math.h/linknamespace): Likewise.
11043         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
11044         (test-xfail-XPG3/search.h/linknamespace): Likewise.
11045         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
11046         (test-xfail-XPG3/time.h/linknamespace): Likewise.
11047         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
11048         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
11049         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
11050         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
11051         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
11052         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
11053         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
11054         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
11055         (test-xfail-XPG4/math.h/linknamespace): Likewise.
11056         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
11057         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11058         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
11059         (test-xfail-XPG4/search.h/linknamespace): Likewise.
11060         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
11061         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
11062         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
11063         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
11064         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
11065         (test-xfail-XPG4/time.h/linknamespace): Likewise.
11066         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
11067         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
11068         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
11069         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
11070         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
11071         (test-xfail-POSIX/math.h/linknamespace): Likewise.
11072         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
11073         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
11074         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
11075         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11076         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
11077         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11078         (test-xfail-POSIX/time.h/linknamespace): Likewise.
11079         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
11080         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
11081         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11082         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
11083         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
11084         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
11085         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
11086         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11087         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
11088         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11089         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
11090         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
11091         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11092         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11093         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
11094         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11095         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
11096         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
11097         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
11098         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
11099         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11100         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11101         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
11102         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11103         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
11104         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
11105         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
11106         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
11107         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11108         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
11109         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
11110         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
11111         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
11112         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
11113         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
11114         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11115         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
11116         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
11117         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
11118         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
11119         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11120         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
11121         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
11122         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11123         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
11124         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
11125         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
11126         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11127         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11128         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
11129         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
11130         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11131         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11132         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
11133         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
11134         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
11135         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
11136         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11137         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
11138         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
11139         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
11140         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
11141         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11142         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
11143         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11144         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
11145         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11146         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
11147         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
11148         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
11149         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11150         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11151         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11152         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11153         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
11154         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11155         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11156         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
11157         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
11158         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
11159         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
11160         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
11161         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11162         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
11163         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11164         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
11165         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11166         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
11167         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
11168         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
11169         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11170         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
11171         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11172         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11173         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
11174         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11175         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11176         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
11178         [BZ #17589]
11179         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
11180         of fgets_unlocked.
11182         [BZ #17585]
11183         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
11184         (memmem): Rename to __memmem and define as weak alias of
11185         __memmem.  Use libc_hidden_weak.
11186         (__memmem): Use libc_hidden_def.
11187         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
11188         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
11189         memmem.
11191         [BZ #17582]
11192         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
11193         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
11194         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
11195         and define as weak alias of __fgets_unlocked.  Use
11196         libc_hidden_weak.
11197         (__fgets_unlocked): Use libc_hidden_def.
11198         * include/stdio.h (__fgets_unlocked): Declare.  Use
11199         libc_hidden_proto.
11200         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
11201         __fgets_unlocked instead of fgets_unlocked.
11202         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
11203         (GET_NPROCS_CONF_PARSER): Likewise.
11204         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
11205         (GET_NPROCS_CONF_PARSER): Likewise.
11207         [BZ #17574]
11208         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
11209         weak alias of __wmemset.  Use libc_hidden_weak.
11210         (__wmemset): Use libc_hidden_def.
11211         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
11212         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
11213         of wmemset.
11215         [BZ #17573]
11216         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
11217         with asm name __mempcpy.
11218         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
11220         [BZ #17572]
11221         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
11222         and define as weak alias of __rawmemchr.
11223         (__rawmemchr): Do not define as strong alias of rawmemchr.
11225         [BZ #17571]
11226         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
11227         alias of __qsort_r.
11228         (qsort): Call __qsort_r instead of qsort_r.
11229         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
11230         (__qsort_r): Declare.  Call libc_hidden_proto.
11231         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
11232         instead of qsort_r.
11233         * nscd/gai.c (__qsort_r): Define to qsort_r.
11234         * posix/tst-rfc3484.c (__qsort_r): Likewise.
11235         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
11236         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
11238         [BZ #17570]
11239         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
11240         define as weak alias of __malloc_info.
11242         [BZ #17584]
11243         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
11244         as weak alias of __rewinddir.  Don't use libc_hidden_def.
11245         (__rewinddir): Use libc_hidden_def.
11246         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
11247         as weak alias of __rewinddir.  Don't use libc_hidden_def.
11248         (__rewinddir): Use libc_hidden_def.
11249         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
11250         weak alias of __rewinddir.  Don't use libc_hidden_def.
11251         (__rewinddir): Use libc_hidden_def.
11252         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
11253         (__rewinddir): Use libc_hidden_proto.
11254         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
11255         rewinddir.
11256         (__getcwd): Use __rewinddir instead of rewinddir.
11258         [BZ #17583]
11259         * libio/fileno.c (fileno): Rename to __fileno and define as weak
11260         alias of __fileno.  Use libc_hidden_weak.
11261         (__fileno): Use libc_hidden_def.
11262         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
11263         * libio/ftello.c (ftello): Rename to __ftello and define as weak
11264         alias of __ftello.
11265         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
11266         __ftello.
11267         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
11268         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
11269         libc_hidden_def.
11270         (fread_unlocked): Don't use libc_hidden_ver.
11271         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
11272         and define as weak alias of __fread_unlocked.  Don't use
11273         libc_hidden_def.
11274         (__fread_unlocked): Use libc_hidden_def.
11275         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
11276         (ftello): Don't use libc_hidden_proto.
11277         (__ftello): Declare.  Use libc_hidden_proto.
11278         (fread_unlocked): Don't use libc_hidden_proto.
11279         (__fread_unlocked): Declare.  Use libc_hidden_proto.
11280         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
11281         and __ftello instead of fileno, fread_unlocked and ftello.
11283 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11285         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
11286         GOT12.
11287         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11288         Likewise.
11289         (_dl_start_user): Likewise.
11290         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
11292 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
11293             Siddhesh Poyarekar  <siddhesh@redhat.com>
11295         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
11296         Move argv and envp down instead of moving argc up.
11297         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
11299 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
11301         [BZ #17506]
11302         * test-skeleton.c (main): Return successful if one of
11303         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
11304         * string/tst-strcoll-overflow.c: Define expected status.
11306 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
11308         [BZ #17475]
11309         * locale/iso-639.def: Define Bhili and Tulu language codes.
11311 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
11313         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
11315 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
11317         [BZ #17555]
11318         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
11320 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
11322         * configure.ac: Updated check of minimal required version to
11323         2.22.
11324         * manual/install.texi (Tools for Compilation): Updated version
11325         number.
11326         * configure: Regenerated.
11327         * INSTALL: Likewise.
11329 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
11331         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
11332         __tls_get_addr.
11334 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
11336         * include/sys/wait.h (__libc_waitpid): Remove declaration.
11337         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
11338         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11339         libc_hidden_weak.
11340         (waitpid): Define as alias of __waitpid.
11341         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
11342         __waitpid.
11343         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11344         libc_hidden_weak.
11345         (waitpid): Define as alias of __waitpid.
11346         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
11347         __libc_waitpid alias.
11348         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
11349         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
11350         Likewise.
11351         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
11352         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
11353         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
11354         alias.
11355         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
11356         __waitpid.
11357         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11358         libc_hidden_weak.
11359         (waitpid): Define as alias of __waitpid.
11361 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
11363         * manual/llio.texi: Add comment that write safety has been
11364         fixed in Linux.
11366         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
11367         (localplt-build-dso): Add elf/ld.so.
11368         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
11369         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
11370         and free for ld.so.
11371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
11372         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
11373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
11374         Likewise.
11375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11376         Likewise.
11377         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
11378         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
11379         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
11380         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
11381         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
11382         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
11383         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
11384         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
11385         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
11386         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
11387         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
11389 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
11391         [BZ #14132]
11392         * include/libc-symbols.h (INTUSE): Remove macro.
11393         (INTDEF): Likewise.
11394         (INTVARDEF): Likewise.
11395         (_INTVARDEF): Likewise.
11396         (INTDEF2): Likewise.
11397         (INTVARDEF2): Likewise.
11398         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
11399         rtld_hidden_def instead of INTVARDEF.
11400         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
11401         (_dl_starting_up_internal): Remove declaration.
11402         (_dl_starting_up): Use rtld_hidden_proto.
11403         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
11404         declaration.
11405         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
11406         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
11407         _dl_starting_up.
11408         * elf/dl-writev.h (_dl_writev): Likewise.
11409         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
11410         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
11411         _dl_starting_up_internal.
11413 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11415         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
11416         test-skeleton.c.
11418 2014-11-05  Will Newton  <will.newton@linaro.org>
11420         * benchtests/Makefile: (bench-malloc): Add malloc thread
11421         scalability benchmark.
11422         * benchtests/bench-malloc-threads.c: New file.
11424 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
11426         * sysdeps/aarch64/strchrnul.S: New file.
11428 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11430         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
11431         definition.
11432         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11433         Likwise.
11434         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11435         Likewise.
11436         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11437         Likewise.
11438         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11439         Likewise.
11440         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11441         Likewise.
11443 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
11445         * catgets/test-gencat.c: Use test-skeleton.c.
11446         * catgets/tst-catgets.c: Likewise.
11447         * csu/tst-empty.c: Likewise.
11448         * elf/tst-audit2.c: Likewise.
11449         * elf/tst-global1.c: Likewise.
11450         * elf/tst-pathopt.c: Likewise.
11451         * elf/tst-piemod1.c: Likewise.
11452         * elf/tst-tls10.c: Likewise.
11453         * elf/tst-tls11.c: Likewise.
11454         * elf/tst-tls12.c: Likewise.
11455         * gnulib/tst-gcc.c: Likewise.
11456         * iconvdata/tst-e2big.c: Likewise.
11457         * iconvdata/tst-loading.c: Likewise.
11458         * iconv/tst-iconv1.c: Likewise.
11459         * iconv/tst-iconv2.c: Likewise.
11460         * inet/test-inet6_opt.c: Likewise.
11461         * inet/tst-gethnm.c: Likewise.
11462         * inet/tst-network.c: Likewise.
11463         * inet/tst-ntoa.c: Likewise.
11464         * intl/tst-codeset.c: Likewise.
11465         * intl/tst-gettext2.c: Likewise.
11466         * intl/tst-gettext3.c: Likewise.
11467         * intl/tst-ngettext.c: Likewise.
11468         * intl/tst-translit.c: Likewise.
11469         * io/test-stat.c: Likewise.
11470         * libio/test-fmemopen.c: Likewise.
11471         * libio/tst-freopen.c: Likewise.
11472         * libio/tst-sscanf.c: Likewise.
11473         * libio/tst-ungetwc1.c: Likewise.
11474         * libio/tst-ungetwc2.c: Likewise.
11475         * libio/tst-widetext.c: Likewise.
11476         * localedata/tst-ctype.c: Likewise.
11477         * localedata/tst-digits.c: Likewise.
11478         * localedata/tst-leaks.c: Likewise.
11479         * localedata/tst-mbswcs1.c: Likewise.
11480         * localedata/tst-mbswcs2.c: Likewise.
11481         * localedata/tst-mbswcs3.c: Likewise.
11482         * localedata/tst-mbswcs4.c: Likewise.
11483         * localedata/tst-mbswcs5.c: Likewise.
11484         * localedata/tst-setlocale.c: Likewise.
11485         * localedata/tst-trans.c: Likewise.
11486         * localedata/tst-wctype.c: Likewise.
11487         * localedata/tst-xlocale1.c: Likewise.
11488         * login/tst-grantpt.c: Likewise.
11489         * malloc/tst-calloc.c: Likewise.
11490         * malloc/tst-malloc.c: Likewise.
11491         * malloc/tst-mallocstate.c: Likewise.
11492         * malloc/tst-mcheck.c: Likewise.
11493         * malloc/tst-mtrace.c: Likewise.
11494         * malloc/tst-obstack.c: Likewise.
11495         * math/atest-exp2.c: Likewise.
11496         * math/atest-exp.c: Likewise.
11497         * math/atest-sincos.c: Likewise.
11498         * math/test-matherr.c: Likewise.
11499         * math/test-misc.c: Likewise.
11500         * math/test-powl.c: Likewise.
11501         * math/tst-definitions.c: Likewise.
11502         * misc/tst-dirname.c: Likewise.
11503         * misc/tst-efgcvt.c: Likewise.
11504         * misc/tst-fdset.c: Likewise.
11505         * misc/tst-hsearch.c: Likewise.
11506         * misc/tst-mntent2.c: Likewise.
11507         * nptl/tst-sem7.c: Likewise.
11508         * nptl/tst-sem8.c: Likewise.
11509         * nptl/tst-sem9.c: Likewise.
11510         * nss/test-netdb.c: Likewise.
11511         * posix/tst-fnmatch.c: Likewise.
11512         * posix/tst-getlogin.c: Likewise.
11513         * posix/tst-gnuglob.c: Likewise.
11514         * posix/tst-mmap.c: Likewise.
11515         * pwd/tst-getpw.c: Likewise.
11516         * resolv/tst-inet_ntop.c: Likewise.
11517         * rt/tst-timer.c: Likewise.
11518         * stdio-common/test-fseek.c: Likewise.
11519         * stdio-common/test-popen.c: Likewise.
11520         * stdio-common/test-vfprintf.c: Likewise.
11521         * stdio-common/tst-cookie.c: Likewise.
11522         * stdio-common/tst-fileno.c: Likewise.
11523         * stdio-common/tst-gets.c: Likewise.
11524         * stdio-common/tst-obprintf.c: Likewise.
11525         * stdio-common/tst-perror.c: Likewise.
11526         * stdio-common/tst-sprintf2.c: Likewise.
11527         * stdio-common/tst-sprintf3.c: Likewise.
11528         * stdio-common/tst-sprintf.c: Likewise.
11529         * stdio-common/tst-swprintf.c: Likewise.
11530         * stdio-common/tst-tmpnam.c: Likewise.
11531         * stdio-common/tst-unbputc.c: Likewise.
11532         * stdio-common/tst-wc-printf.c: Likewise.
11533         * stdlib/tst-environ.c: Likewise.
11534         * stdlib/tst-fmtmsg.c: Likewise.
11535         * stdlib/tst-limits.c: Likewise.
11536         * stdlib/tst-rand48-2.c: Likewise.
11537         * stdlib/tst-rand48.c: Likewise.
11538         * stdlib/tst-random2.c: Likewise.
11539         * stdlib/tst-random.c: Likewise.
11540         * stdlib/tst-strtol.c: Likewise.
11541         * stdlib/tst-strtoll.c: Likewise.
11542         * stdlib/tst-tls-atexit.c: Likewise.
11543         * stdlib/tst-xpg-basename.c: Likewise.
11544         * string/test-ffs.c: Likewise.
11545         * string/tst-bswap.c: Likewise.
11546         * string/tst-inlcall.c: Likewise.
11547         * string/tst-strtok.c: Likewise.
11548         * string/tst-strxfrm.c: Likewise.
11549         * sysdeps/x86_64/tst-audit10.c: Likewise.
11550         * sysdeps/x86_64/tst-audit3.c: Likewise.
11551         * sysdeps/x86_64/tst-audit4.c: Likewise.
11552         * sysdeps/x86_64/tst-audit5.c: Likewise.
11553         * time/tst-ftime_l.c: Likewise.
11554         * time/tst-getdate.c: Likewise.
11555         * time/tst-mktime3.c: Likewise.
11556         * time/tst-mktime.c: Likewise.
11557         * time/tst-posixtz.c: Likewise.
11558         * time/tst-strptime2.c: Likewise.
11559         * time/tst-strptime3.c: Likewise.
11560         * wcsmbs/tst-btowc.c: Likewise.
11561         * wcsmbs/tst-mbrtowc.c: Likewise.
11562         * wcsmbs/tst-mbsrtowcs.c: Likewise.
11563         * wcsmbs/tst-wchar-h.c: Likewise.
11564         * wcsmbs/tst-wcpncpy.c: Likewise.
11565         * wcsmbs/tst-wcrtomb.c: Likewise.
11566         * wcsmbs/tst-wcsnlen.c: Likewise.
11567         * wcsmbs/tst-wcstof.c: Likewise.
11569 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
11571         [BZ #14132]
11572         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
11573         INTDEF.
11574         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
11575         declaration.
11576         (_dl_mcount): Use rtld_hidden_proto.
11577         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
11578         _dl_mcount.
11579         * elf/rtld.c (_rtld_global_ro): Likewise.
11581         [BZ #14132]
11582         * elf/dl-init.c (_dl_init): Don't use INTDEF.
11583         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
11584         of _dl_init_internal.
11585         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
11586         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
11587         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
11588         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
11589         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
11590         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
11591         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
11592         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
11593         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
11594         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
11595         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
11596         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
11597         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11598         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11599         * sysdeps/tile/dl-start.S (_start): Likewise.
11600         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
11601         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
11603         [BZ #14132]
11604         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
11605         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
11606         (rtld_progname): Make macro definition unconditional.
11607         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
11608         INTDEF.
11609         (dlmopen_doit): Do not use INTUSE with _dl_argv.
11610         (dl_main): Likewise.
11611         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11612         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
11613         instead of _dl_argv_internal.
11614         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11615         __GI__dl_argv instead of INTUSE(_dl_argv).
11616         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
11617         __GI__dl_argv instead of _dl_argv_internal.
11619         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
11620         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
11621         macro.
11622         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
11623         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
11624         New macro.
11625         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
11626         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
11627         macro.
11628         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
11629         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
11631 2014-11-04  Andreas Schwab  <schwab@suse.de>
11633         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
11635 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11637         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
11638         mtvsrd instruction in binary form.
11640 2014-11-03  Andreas Schwab  <schwab@suse.de>
11642         [BZ #17522]
11643         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
11644         for less than MB_LEN_MAX use a local buffer of that size.
11645         * libio/tst-fputws.c: New file.
11646         * libio/Makefile (tests): Add tst-fputws.
11648 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
11650         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
11651         the size of the fpu_fr.fpu_dregs[] array.
11653 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
11655         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
11656         (__nanosleep): Do not define as alias.
11657         (nanosleep): Define as alias of __nanosleep.
11658         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
11659         __libc_nanosleep name.
11661 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
11663         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
11664         install.texi in comment.
11666 2014-10-31  Torvald Riegel  <triegel@redhat.com>
11668         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
11669         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
11670         ... add here and use lwsync or sync ...
11671         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
11672         ... and add here using lwsync.
11674 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
11676         * elf/dl-machine-reject-phdr.h: New file.
11677         * elf/dl-load.c: #include that.
11678         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
11679         if that returned true.
11681 2014-10-31  Roland McGrath  <roland@hack.frob.com>
11683         [BZ #17496]
11684         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
11685         gen-as-const-headers chunk.  Add a big scare comment after the last
11686         safe place to touch before-compile.
11688 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
11690         * manual/install.texi (Tools for Compilation): Update autoconf
11691         version requirements.
11692         * INSTALL: Regenerated.
11694         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
11695         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
11696         (__libc_pselect): Likewise.
11698         [BZ #14138]
11699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
11700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11704 2014-10-31  Torvald Riegel  <triegel@redhat.com>
11706         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
11707         correct barrier instruction.
11708         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
11709         Likewise.
11710         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
11711         Likewise.
11713 2014-10-30  Roland McGrath  <roland@hack.frob.com>
11715         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
11716         after defining inlines.  Instead, just use parens to defeat macro
11717         expansion of __isctype in its declaration.
11719 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
11721         * include/sys/uio.h (__libc_readv): Remove declaration.
11722         (__libc_writev): Likewise.
11723         * misc/readv.c (__libc_readv): Rename to __readv.
11724         (__readv): Do not define as alias.
11725         (readv): Define as alias of __readv.
11726         * misc/writev.c (__libc_writev): Rename to __writev.
11727         (__writev): Do not define as alias.
11728         (writev): Define as alias of __writev.
11729         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
11730         (__readv): Do not define as alias.
11731         (readv): Define unconditionally as alias of __readv.
11732         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
11733         (__writev): Do not define as alias.
11734         (writev): Define unconditionally as alias of __writev.
11735         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
11736         name.
11737         (writev): Do not define __libc_writev name.
11739 2014-10-30  Roland McGrath  <roland@hack.frob.com>
11741         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
11742         (convert_charseq): New function, broken out of ...
11743         (use_from_charmap): ... here.  Call it.
11744         (use_to_charmap): Use convert_charseq and free instead of duplicating
11745         its code with a variable-length stack struct.
11747 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
11749         * include/fcntl.h (__libc_creat): Remove declaration.
11750         * io/creat.c (__libc_creat): Rename to creat.
11751         (creat): Do not define as alias.
11752         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
11753         of creat instead of __libc_creat.
11754         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
11755         to creat.
11756         (creat): Do not define as alias.
11757         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
11758         __libc_creat.
11759         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
11760         __libc_creat name.
11761         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
11762         Likewise.
11764 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
11766         * manual/llio.texi: Add comments discussing why write() may be
11767         considered MT-unsafe on Linux.
11769 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
11771         * dl-load.c (local_strdup): Remove.
11772         (expand_dynamic_string_token): Use __strdup.
11773         (decompose_rpath): Likewise.
11774         (_dl_map_object): Likewise.
11776 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
11778         [BZ #14132]
11779         * sysdeps/generic/unwind-dw2-fde.c
11780         (__register_frame_info_bases_internal): Do not declare.
11781         (__register_frame_info_table_bases_internal): Likewise.
11782         (__deregister_frame_info_bases_internal): Likewise.
11783         (__register_frame_info_bases): Declare and use hidden_proto before
11784         definition.  Use hidden_def instead of INTDEF.
11785         (__register_frame_info_table_bases): Likewise.
11786         (__deregister_frame_info_bases): Likewise.
11787         (__register_frame_info): Do not use INTUSE.
11788         (__register_frame): Likewise.
11789         (__register_frame_info_table): Likewise.
11790         (__register_frame_table): Likewise.
11791         (__deregister_frame_info): Likewise.
11792         (__deregister_frame): Likewise.
11794 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
11796         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11797         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
11798         not undefine.
11799         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
11800         Likewise.
11801         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
11802         Likewise.
11804 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
11806         [BZ #14138]
11807         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
11808         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
11809         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
11810         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
11811         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
11812         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
11813         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
11814         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
11815         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
11816         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
11817         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
11818         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
11819         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
11820         syscall.
11821         (setfsuid): Likewise.
11822         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
11823         (setfsuid): Likewise.
11824         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
11825         (setfsuid): Likewise.
11826         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
11827         Likewise.
11828         (setfsuid): Likewise.
11829         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
11830         (setfsuid): Likewise.
11831         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
11832         Likewise.
11833         (setfsuid): Likewise.
11835 2014-10-27  Andreas Schwab  <schwab@suse.de>
11837         [BZ #17501]
11838         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
11839         check for Slow_SSE4_2 feature bit.
11840         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
11841         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11842         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
11843         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
11845 2014-10-24  Roland McGrath  <roland@hack.frob.com>
11847         * configure.ac: Validate compiler version with a empirical test of
11848         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
11849         $CC -v output.
11850         * configure: Regenerated.
11852         * inet/htons.c (htons): Prototypify.
11853         * inet/htonl.c (htonl): Likewise.
11855 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11857         * string/strncat.c (strncat): Improve performance by using strlen.
11859 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11861         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
11863 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11865         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
11866         Call libc_fetestexcept_aarch64.
11868 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11870         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
11871         Call libc_feholdexcept_aarch64.
11873 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11875         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
11876         Call get_rounding_mode.
11878 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11880         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11881         Simplify logic.
11883 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11885         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
11886         Simplify logic.
11888 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
11890         [BZ #14138]
11891         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
11892         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
11893         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
11894         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
11895         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
11896         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
11897         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
11898         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
11899         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
11900         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
11901         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11902         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
11903         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
11904         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
11905         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
11906         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
11907         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
11908         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
11909         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
11910         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
11911         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
11912         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
11913         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
11914         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
11915         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
11916         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
11917         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
11918         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
11919         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
11920         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
11921         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
11922         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
11923         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
11924         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
11925         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
11926         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
11927         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
11928         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
11929         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
11930         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
11931         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
11932         syscall.
11933         (geteuid): Likewise.
11934         (getgid): Likewise.
11935         (getuid): Likewise.
11936         (getresgid): Likewise.
11937         (getresuid): Likewise.
11938         (getgroups): Likewise.
11939         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
11940         (geteuid): Likewise.
11941         (getgid): Likewise.
11942         (getuid): Likewise.
11943         (getresgid): Likewise.
11944         (getresuid): Likewise.
11945         (getgroups): Likewise.
11946         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
11947         (geteuid): Likewise.
11948         (getgid): Likewise.
11949         (getuid): Likewise.
11950         (getresgid): Likewise.
11951         (getresuid): Likewise.
11952         (getgroups): Likewise.
11953         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
11954         Likewise.
11955         (geteuid): Likewise.
11956         (getgid): Likewise.
11957         (getuid): Likewise.
11958         (getresgid): Likewise.
11959         (getresuid): Likewise.
11960         (getgroups): Likewise.
11961         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
11962         (geteuid): Likewise.
11963         (getgid): Likewise.
11964         (getuid): Likewise.
11965         (getresgid): Likewise.
11966         (getresuid): Likewise.
11967         (getgroups): Likewise.
11968         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
11969         Likewise.
11970         (geteuid): Likewise.
11971         (getgid): Likewise.
11972         (getuid): Likewise.
11973         (getgroups): Likewise.
11975         [BZ #14138]
11976         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
11977         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
11978         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
11979         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11980         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
11981         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
11982         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
11983         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
11984         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
11985         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
11986         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
11987         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
11988         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
11989         __chown.
11990         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
11991         (lchown): Likewise.
11992         (fchown): Likewise.
11993         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
11994         Likewise.
11995         (lchown): Likewise.
11996         (fchown): Likewise.
11997         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
11998         (lchown): Likewise.
11999         (fchown): Likewise.
12000         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
12001         Likewise.
12002         (lchown): Likewise.
12003         (fchown): Likewise.
12005 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12007         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
12008         Simplify logic.
12010 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12012         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12013         Cleanup logic.
12015 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12017         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12018         Remove unused include.
12020 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12022         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
12023         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
12024         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
12025         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
12027 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
12028             Helge Deller <deller@gmx.de>
12030         [BZ #17508]
12031         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
12032         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
12033         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
12035 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
12037         [BZ #14132]
12038         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
12039         Remove macro definition.
12040         (__ashrdi3_v_glibc20): Likewise.
12041         (__lshrdi3_v_glibc20): Likewise.
12042         (__cmpdi2_v_glibc20): Likewise.
12043         (__ucmpdi2_v_glibc20): Likewise.
12044         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
12045         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12046         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12047         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12048         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12049         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
12051 2014-10-22  Roland McGrath  <roland@hack.frob.com>
12053         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
12054         old GNU extension [0] syntax.
12055         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
12056         alloca rather than an array member with variable length.
12057         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
12058         * nscd/nscd.c (invalidate_db): New function, broken out of ...
12059         (parse_opt): ... here.  Likewise use alloca there.
12060         Validate the -i argument before checking for rootness.
12061         (send_shutdown): New function, broken out of ...
12062         (parse_opt): ... here.
12064 2014-10-22  Roland McGrath  <roland@hack.frob.com>
12066         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
12067         macro to get at the _rt_local_ro field.
12068         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
12069         ([PIC] case) or _dl_hwcap ([!PIC] case).
12070         * sysdeps/arm/setjmp.S: Likewise.
12072         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
12073         * sysdeps/arm/configure.ac: New check to define it.
12074         * sysdeps/arm/configure: Regenerated.
12075         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
12076         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
12077         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
12078         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
12079         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
12080         Use move/movt pair instead of a load.
12081         (LDST_GLOBAL): Macro removed.
12082         (LDR_GLOBAL): New macro replaces it.
12083         (LDR_HIDDEN): New macro.
12084         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
12085         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
12087         * setjmp/tst-setjmp-static.c: New file.
12088         * setjmp/Makefile (tests): Add it.
12089         (tests-static): New variable.
12091 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
12093         [BZ #17485]
12094         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
12096 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
12098         [BZ #14132]
12099         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
12101 2014-10-21  Roland McGrath  <roland@hack.frob.com>
12103         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
12105 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12107         * io/fts.c (dirent_not_directory): New function.
12108         (fts_build): Call it.
12110 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12112         * nptl/version.c (__nptl_main): Use normal __write rather than
12113         INTERNAL_SYSCALL.
12114         (banner): Update copyright years.
12116         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
12117         gettimeofday.
12118         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
12119         * nptl/pthread_cond_timedwait.c: Likewise.
12120         * nptl/pthread_mutex_timedlock.c: Likewise.
12121         * nptl/sem_timedwait.c: Likewise.
12123         * sysdeps/nptl/bits/libc-lock.h
12124         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12125         (__libc_lock_init_recursive): Return void, not 0.
12126         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
12127         (__libc_rwlock_init): Likewise.
12128         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
12130 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12132         [BZ #15215]
12133         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
12134         (__pthread_once_slow): ... here.
12135         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
12136         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
12138 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12140         [BZ #15215]
12141         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
12142         __PTHREAD_ONCE_FORK_GEN_INCR): New.
12143         * sysdeps/nptl/fork.c (__libc_fork): Use them.
12144         * nptl/pthread_once.c (__pthread_once): Likewise.
12145         Update comments.
12147 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
12149         [BZ #14138]
12150         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
12151         name.
12152         (writev): Use __libc_writev as strong name.
12153         * sysdeps/unix/sysv/linux/readv.c: Remove file.
12154         * sysdeps/unix/sysv/linux/writev.c: Likewise.
12156 2014-10-17  Roland McGrath  <roland@hack.frob.com>
12158         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
12160         * sysdeps/i386/nptl/tls.h
12161         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
12162         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
12163         New macros.
12164         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
12165         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
12166         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
12167         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
12168         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
12169         Call CHECK_THREAD_SYSINFO instead of doing an assert.
12171         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12172         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
12173         on [__NR_futex].
12174         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
12175         broken out of ...
12176         (__pthread_mutex_init): ... here.  Call it.
12177         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
12178         Conditionalize PI cases on [__NR_futex].
12179         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12180         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
12181         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12183         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
12184         conditional on [SIGSETXID].
12185         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
12186         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
12187         is defined.  Likewise for SIGSETXID.
12188         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
12189         Conditionalize definitions on [SIGSETXID].
12190         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
12191         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
12192         unblocking on [SIGCANCEL].
12194         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
12195         [__NR_set_robust_list].
12197 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12199         * string/strcoll_l.c (get_next_seq): Fix up formatting.
12200         (do_compare): Likewise.
12202 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
12204         [BZ #15884]
12205         * string/strcoll_l.c: Don't include stdio.h.
12206         (coll_seq): Remove members idxarr and rulearr.
12207         (get_next_seq_cached): Remove function.
12208         (get_next_seq): Likewise.
12209         (get_next_seq_nocache): Rename to get_next_seq.
12210         (do_compare): Remove function.
12211         (do_compare_nocache): Rename to do_compare.
12212         (STRCOLL): Remove weight and rules cache.
12214 2014-10-16  Roland McGrath  <roland@hack.frob.com>
12216         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
12217         * sysdeps/arm/sfp-machine.h: ... to here.
12218         * sysdeps/arm/Implies: Remove arm/soft-fp.
12220 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
12222         * conform/data/sys/utsname.h-data (*_t): Allow.
12223         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
12224         [POSIX] (WEXITED): Do not expect constant.
12225         [POSIX] (WSTOPPED): Likewise.
12226         [POSIX] (WNOHANG): Likewise.
12227         [POSIX] (WNOWAIT): Likewise.
12228         [POSIX] (siginfo_t): Do not expect type or elements.
12229         [POSIX] (pid_t): Do not expect type.
12230         [POSIX] (signal.h): Do not allow header.
12231         [POSIX] (sys/resource.h): Likewise.
12232         [POSIX] (si_*): Do not allow pattern.
12233         [POSIX] (W*): Likewise.
12234         [POSIX] (P_*): Likewise.
12235         [POSIX] (BUS_*): Likewise.
12236         [POSIX] (CLD_*): Likewise.
12237         [POSIX] (FPE_*): Likewise.
12238         [POSIX] (ILL_*): Likewise.
12239         [POSIX] (POLL_*): Likewise.
12240         [POSIX] (SEGV_*): Likewise.
12241         [POSIX] (SI_*): Likewise.
12242         [POSIX] (TRAP_*): Likewise.
12243         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
12244         variable.
12246 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
12248         [BZ #12926]
12249         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
12250         infinite loop when __recvmsg returns 0.
12252 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
12254         * CANCEL-FCT-WAIVE: Remove file.
12255         * CANCEL-FILE-WAIVE: Likewise.
12257         [BZ #14132]
12258         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
12259         instead of INTVARDEF.
12260         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12261         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
12262         rtld_hidden_data_def instead of INTVARDEF.
12263         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12264         * elf/dl-deps.c (expand_dst): Likewise.
12265         * elf/dl-load.c (_dl_dst_count): Likewise.
12266         (_dl_dst_substitute): Likewise.
12267         (decompose_rpath): Likewise.
12268         (_dl_init_paths): Likewise.
12269         (open_path): Likewise.
12270         (_dl_map_object): Likewise.
12271         * elf/rtld.c (dl_main): Likewise.
12272         (process_dl_audit): Likewise.
12273         (process_envvars): Likewise.
12274         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
12275         Remove declaration.
12276         (__libc_enable_secure): Use rtld_hidden_proto.
12278 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12280         * elf/dl-load.c
12281         (add_path): New function broken out of _dl_rtld_di_serinfo.
12282         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
12284 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
12286         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
12287         parentheses around macro arguments.
12288         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
12289         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
12290         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
12291         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
12292         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
12293         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12294         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12295         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
12296         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
12297         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
12298         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
12299         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
12300         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
12301         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
12302         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
12303         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
12304         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
12305         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
12306         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
12307         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
12308         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
12309         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
12310         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
12311         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12312         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12313         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
12314         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
12315         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
12316         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
12317         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
12318         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
12319         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
12320         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
12321         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
12322         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
12323         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
12324         Likewise.
12325         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
12326         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12327         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12328         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
12329         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
12330         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
12331         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
12332         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
12333         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
12334         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
12335         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
12336         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
12337         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
12338         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
12339         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
12340         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12341         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12342         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
12343         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
12344         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
12345         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
12346         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
12347         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
12348         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
12349         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
12350         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
12351         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
12352         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
12353         (_FP_FRAC_SRS_1): Likewise.
12354         (_FP_FRAC_CLZ_1): Likewise.
12355         (_FP_MUL_MEAT_1_imm): Likewise.
12356         (_FP_MUL_MEAT_1_wide): Likewise.
12357         (_FP_MUL_MEAT_1_hard): Likewise.
12358         (_FP_SQRT_MEAT_1): Likewise.
12359         (_FP_FRAC_ASSEMBLE_1): Likewise.
12360         (_FP_FRAC_DISASSEMBLE_1): Likewise.
12361         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
12362         (__FP_CLZ_2): Likewise.
12363         (_FP_MUL_MEAT_2_wide): Likewise.
12364         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12365         (_FP_MUL_MEAT_2_gmp): Likewise.
12366         (_FP_MUL_MEAT_2_120_240_double): Likewise.
12367         (_FP_SQRT_MEAT_2): Likewise.
12368         (_FP_FRAC_ASSEMBLE_2): Likewise.
12369         (_FP_FRAC_DISASSEMBLE_2): Likewise.
12370         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
12371         (_FP_FRAC_CLZ_4): Likewise.
12372         (_FP_MUL_MEAT_4_wide): Likewise.
12373         (_FP_MUL_MEAT_4_gmp): Likewise.
12374         (_FP_SQRT_MEAT_4): Likewise.
12375         (_FP_FRAC_ASSEMBLE_4): Likewise.
12376         (_FP_FRAC_DISASSEMBLE_4): Likewise.
12377         * soft-fp/op-common.h (_FP_CMP): Likewise.
12378         (_FP_CMP_EQ): Likewise.
12379         (_FP_CMP_UNORD): Likewise.
12380         (_FP_TO_INT): Likewise.
12381         (_FP_FROM_INT): Likewise.
12382         [!__FP_CLZ] (__FP_CLZ): Likewise.
12383         (_FP_DIV_HELP_imm): Likewise.
12384         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
12385         Likewise.
12386         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
12387         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
12388         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
12389         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
12390         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
12391         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
12392         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
12393         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
12394         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
12395         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
12396         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
12397         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
12398         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
12399         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
12400         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
12401         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
12402         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
12403         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
12404         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
12405         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
12406         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
12407         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
12408         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
12409         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
12410         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
12411         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
12412         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
12413         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
12414         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
12415         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
12416         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
12417         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
12418         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
12419         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
12420         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
12421         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
12422         (FP_UNPACK_RAW_SP): Likewise.
12423         (FP_PACK_RAW_S): Likewise.
12424         (FP_PACK_RAW_SP): Likewise.
12425         (FP_UNPACK_S): Likewise.
12426         (FP_UNPACK_SP): Likewise.
12427         (FP_UNPACK_SEMIRAW_S): Likewise.
12428         (FP_UNPACK_SEMIRAW_SP): Likewise.
12429         (FP_PACK_S): Likewise.
12430         (FP_PACK_SP): Likewise.
12431         (FP_PACK_SEMIRAW_S): Likewise.
12432         (FP_PACK_SEMIRAW_SP): Likewise.
12433         (_FP_SQRT_MEAT_S): Likewise.
12434         (FP_CMP_S): Likewise.
12435         (FP_CMP_EQ_S): Likewise.
12436         (FP_CMP_UNORD_S): Likewise.
12437         (FP_TO_INT_S): Likewise.
12438         (FP_FROM_INT_S): Likewise.
12440         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
12442         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
12443         (FP_EX_INVALID_IMZ): Likewise.
12444         (FP_EX_INVALID_IMZ_FMA): Likewise.
12445         (FP_EX_INVALID_ISI): Likewise.
12446         (FP_EX_INVALID_ZDZ): Likewise.
12447         (FP_EX_INVALID_IDI): Likewise.
12448         (FP_EX_INVALID_SQRT): Likewise.
12449         (FP_EX_INVALID_CVI): Likewise.
12450         (FP_EX_INVALID_VC): Likewise.
12451         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
12452         "invalid" exceptions.
12453         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
12454         (_FP_ADD_INTERNAL): Likewise.
12455         (_FP_MUL): Likewise.
12456         (_FP_FMA): Likewise.
12457         (_FP_DIV): Likewise.
12458         (_FP_CMP_CHECK_NAN): Likewise.
12459         (_FP_SQRT): Likewise.
12460         (_FP_TO_INT): Likewise.
12461         (FP_EXTEND): Likewise.
12463 2014-10-09  Allan McRae  <allan@archlinux.org>
12465         * po/fr.po: Update French translation from translation project.
12467 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
12469         [BZ #14132]
12470         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
12471         of INTDEF.
12472         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
12473         (__cxa_atexit): Use libc_hidden_proto.
12474         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
12476         [BZ #14132]
12477         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
12478         declaration.
12479         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
12480         [!_ISOMAC] (__iswspace_l_internal): Likewise.
12481         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
12482         [!_ISOMAC] (__iswctype_internal): Likewise.
12483         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
12484         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
12485         alias.
12486         (fcntl): Remove __fcntl_internal alias.
12487         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
12488         __connect_internal alias.
12489         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
12490         Likewise.
12492         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
12493         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
12494         FP_DENORM_ZERO.
12495         (_FP_CHECK_FLUSH_ZERO): New macro.
12496         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
12497         (_FP_CMP): Likewise.
12498         (_FP_CMP_EQ): Likewise.
12499         (_FP_TO_INT): Do not set inexact for subnormal arguments if
12500         FP_DENORM_ZERO.
12501         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
12502         (FP_TRUNC): Likewise.
12504         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
12505         treated as invalid conversion, not as normal exponent.
12507         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
12508         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
12509         (_FP_CMP_EQ): Likewise.
12510         (_FP_CMP_UNORD): Likewise.
12511         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
12512         (FP_CMP_EQ_D): Likewise.
12513         (FP_CMP_UNORD_D): Likewise.
12514         * soft-fp/extended.h (FP_CMP_E): Likewise.
12515         (FP_CMP_EQ_E): Likewise.
12516         (FP_CMP_UNORD_E): Likewise.
12517         * soft-fp/quad.h (FP_CMP_Q): Likewise.
12518         (FP_CMP_EQ_Q): Likewise.
12519         (FP_CMP_UNORD_Q): Likewise.
12520         * soft-fp/single.h (FP_CMP_S): Likewise.
12521         (FP_CMP_EQ_S): Likewise.
12522         (FP_CMP_UNORD_S): Likewise.
12523         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
12524         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
12525         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
12526         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
12527         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
12528         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
12529         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
12530         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
12531         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
12532         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
12533         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
12534         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
12535         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
12536         to FP_CMP_Q.
12537         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
12538         FP_CMP_Q.
12539         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
12540         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
12541         FP_CMP_EQ_Q.
12542         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
12543         FP_CMP_Q.
12544         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
12545         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
12546         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
12547         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
12548         FP_CMP_EQ_Q.
12549         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
12550         FP_CMP_Q.
12551         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
12552         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
12553         FP_CMP_EQ_Q.
12554         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
12555         FP_CMP_Q.
12556         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
12557         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
12558         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
12559         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
12560         FP_CMP_EQ_Q.
12562         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
12563         a subnormal result, set the underflow exception if trapping on
12564         underflow is enabled.
12565         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
12566         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
12567         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
12568         redefine to 0.
12569         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
12570         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12571         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12572         * soft-fp/extendxftf2.c (__extendxftf2): Use
12573         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
12575         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
12576         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
12577         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12578         FP_HANDLE_EXCEPTIONS.
12579         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
12580         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12581         FP_HANDLE_EXCEPTIONS.
12582         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
12583         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12584         FP_HANDLE_EXCEPTIONS.
12585         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
12586         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12587         FP_HANDLE_EXCEPTIONS.
12589 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
12591         [BZ #14132]
12592         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
12593         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
12594         use INTUSE.
12595         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
12596         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
12597         Remove alias.
12598         (__adjtimex): Define using libc_hidden_ver.
12599         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
12600         Remove declaration.
12601         (ntp_gettime): Call __adjtimex directly.
12602         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
12603         Remove declaration.
12604         (ntp_gettimex): Call __adjtimex directly.
12605         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
12606         __adjtimex_internal alias.
12608 2014-10-08  Roland McGrath  <roland@hack.frob.com>
12610         [BZ #17460]
12611         * nscd/nscd.c (more_help): Rewrite list of tables collection
12612         using xstrdup and asprintf.
12614         * nscd/nscd_conf.c: Remove local xstrdup declaration.
12616 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12617             Roland McGrath  <roland@hack.frob.com>
12619         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
12620         (do_lookup_unique): ... local function 'enter' here; update callers.
12622 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
12624         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
12625         compat_symbol calls on [SHARED].
12626         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
12627         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
12628         Remove.
12629         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12630         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
12631         (oldsetrlimit): Remove.
12632         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12634         (lchown): New syscall entry.
12635         (oldsetrlimit): Remove.
12636         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12637         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
12638         (oldsetrlimit): Remove.
12639         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12641         [BZ #14138]
12642         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
12643         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
12644         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
12645         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
12646         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12647         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
12648         (fchown): Likewise.
12649         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
12650         (fchown): Likewise.
12651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
12652         Likewise.
12654 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12656         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
12657         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
12658         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
12659         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
12660         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
12661         Likewise.
12662         (__old_sem_post): Likewise.
12664 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
12666         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
12667         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
12668         HAVE_CLOCK_GETTIME_VSYSCALL macros.
12669         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
12670         Use INLINE_VSYSCALL macro.
12671         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
12672         __vdso_clock_gettime.
12673         * sysdeps/unix/sysv/linux/tile/init-first.c
12674         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
12675         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
12676         __vdso_clock_gettime.
12678         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
12679         to set up frame more cleanly.
12681         * sysdeps/tile/memcmp.c: New file.
12683         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
12685         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
12686         * sysdeps/tile/tilegx/strcasestr.c: New file.
12687         * sysdeps/tile/tilegx/strnlen.c: New file.
12688         * sysdeps/tile/tilegx/strstr.c: New file.
12690         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
12692 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
12694         * nptl/tst-setuid3.c: Write errors to stdout.
12696 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12698         * elf/dl-deps.c
12699         (preload): New functions broken out of _dl_map_object_deps.
12700         (_dl_map_object_deps):  Remove a nested function. Update call sites.
12702 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
12704         [BZ #14138]
12705         * sysdeps/unix/sysv/linux/execve.c: Remove file.
12706         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
12708 2014-10-01  Steve Ellcey  <sellcey@mips.com>
12710         * sysdeps/mips/strcmp.S: New.
12712 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
12714         [BZ #14138]
12715         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
12716         (linkat): Likewise.
12717         (mkdirat): Likewise.
12718         (readlinkat): Likewise.
12719         (renameat): Likewise.
12720         (symlinkat): Likewise.
12721         (unlinkat): Likewise.
12722         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
12723         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
12724         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
12725         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
12726         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12727         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
12728         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
12730 2014-09-30  Will Newton  <will.newton@linaro.org>
12732         * math/math.h: Define long double math functions if
12733         _LIBC_TEST is defined.
12734         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
12736         * localedata/Makefile: Move assignment to tests-special
12737         into an ifdef testing run-built-tests.
12738         * timezone/Makefile: Likewise.
12740 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
12742         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
12743         with $(BASH) not $(SHELL).
12745 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
12746             Matthew LeGendre  <legendre1@llnl.gov>
12748         [BZ #17411]
12749         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
12750         l_reloc_result.
12752 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12754         * stdio-common/printf_fp.c
12755         (hack_digit): New function, broken out of ...
12756         (__printf_fp): ... local function here.  Update call sites.
12757         hack_digit now takes an additional parameter that is a pointer
12758         to a struct of the referenced locals.  Those locals moved inside
12759         the struct and references updated.
12761 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
12763         * aclocal.m4: Require autoconf 2.69.
12764         * configure: Regenerated.
12765         * sysdeps/aarch64/configure: Likewise.
12766         * sysdeps/alpha/configure: Likewise.
12767         * sysdeps/arm/armv7/configure: Likewise.
12768         * sysdeps/arm/configure: Likewise.
12769         * sysdeps/ia64/configure: Likewise.
12770         * sysdeps/mach/configure: Likewise.
12771         * sysdeps/mips/configure: Likewise.
12772         * sysdeps/s390/configure: Likewise.
12773         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
12774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
12776         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
12777         file.
12778         * sysdeps/ia64/configure.ac: Likewise.
12780 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
12782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
12783         specify symbol version for ld.so.  Do not include entry for
12784         libpthread.
12785         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12786         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12787         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12789         [BZ #14171]
12790         * Makeconfig [$(build-shared) = yes]
12791         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
12792         makefiles.
12793         [$(build-shared) = yes && $(soversions.mk-done) = t]
12794         ($(common-objpfx)gnu/lib-names.h): Remove rule.
12795         [$(build-shared) = yes && $(soversions.mk-done) = t]
12796         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
12797         to Makerules.
12798         [$(build-shared) = yes && $(soversions.mk-done) = t]
12799         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
12800         here.
12801         [$(build-shared) = yes && $(soversions.mk-done) = t]
12802         (common-generated): Don't append gnu/lib-names.h and
12803         gnu/lib-names.stmp here.
12804         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
12805         (lib-names-h-abi): New variable.
12806         [$(build-shared) = yes && $(soversions.mk-done) = t]
12807         (lib-names-stmp-abi): Likewise.
12808         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12809         abi-variants] (before-compile): Append
12810         $(common-objpfx)$(lib-names-h-abi).
12811         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12812         abi-variants] (common-generated): Append gnu/lib-names.h.
12813         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12814         abi-variants] (install-others-nosubdir): Depend on
12815         $(inst_includedir)/$(lib-names-h-abi).
12816         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12817         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
12818         [$(build-shared) = yes && $(soversions.mk-done) = t]
12819         ($(common-objpfx)$(lib-names-h-abi)): New rule.
12820         [$(build-shared) = yes && $(soversions.mk-done) = t]
12821         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
12822         [$(build-shared) = yes && $(soversions.mk-done) = t]
12823         (common-generated): Append $(lib-names-h-abi) and
12824         $(lib-names-stmp-abi).
12825         * scripts/lib-names.awk: Do not handle multi being set.
12826         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
12827         Remove variable.
12828         (abi-lp64_be-ld-soname): Likewise.
12829         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
12830         Likewise.
12831         (abi-hard-ld-soname): Likewise.
12832         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
12833         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
12834         Remove variable.
12835         (abi-o32_hard-ld-soname): Likewise.
12836         (abi-o32_soft_2008-ld-soname): Likewise.
12837         (abi-o32_hard_2008-ld-soname): Likewise.
12838         (abi-n32_soft-ld-soname): Likewise.
12839         (abi-n32_hard-ld-soname): Likewise.
12840         (abi-n32_soft_2008-ld-soname): Likewise.
12841         (abi-n32_hard_2008-ld-soname): Likewise.
12842         (abi-n64_soft-ld-soname): Likewise.
12843         (abi-n64_hard-ld-soname): Likewise.
12844         (abi-n64_soft_2008-ld-soname): Likewise.
12845         (abi-n64_hard_2008-ld-soname): Likewise.
12846         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
12847         Likewise.
12848         (abi-64-v2-ld-soname): Likewise.
12849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
12850         ld.so entries.
12851         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
12852         variable.
12853         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
12854         entry.
12855         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
12856         variable.
12857         (abi-64-ld-soname): Likewise.
12858         (abi-x32-ld-soname): Likewise.
12859         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
12860         entry.
12861         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12863 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
12865         [BZ #14138]
12866         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
12867         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
12868         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
12869         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
12870         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
12871         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
12872         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
12873         syscall entry for GLIBC_2.2 symbol version.
12874         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
12875         Likewise.
12876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12877         (setrlimit): Likewise.
12878         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
12879         Likewise.
12881 2014-09-23  Will Newton  <will.newton@linaro.org>
12883         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
12884         _LINUX_ARM_SYSDEP_H include guard too.
12885         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
12886         define.
12888 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12890         * sysdeps/unix/sysv/linux/eventfd.c:
12891         Make first argument unsigned.
12892         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
12893         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
12895 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
12897         * socket/recvmmsg.c (recvmmsg): Drop const argument.
12898         * socket/sys/socket.h: Likewise
12899         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
12901 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12903         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
12905 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
12907         * time/tst-ftime.c: New test.
12908         * time/Makefile (tests): Add tst-ftime.
12910 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
12912         * soft-fp/extended.h: Fix comment formatting.
12913         * soft-fp/op-1.h: Likewise.
12914         * soft-fp/op-2.h: Likewise.
12915         * soft-fp/op-4.h: Likewise.
12916         * soft-fp/op-8.h: Likewise.
12917         * soft-fp/op-common.h: Likewise.
12918         * soft-fp/soft-fp.h: Likewise.
12920         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
12922 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
12924         [BZ #6652]
12925         * Makeconfig (soversions-default-setname): Remove variable.
12926         ($(common-objpfx)soversions.i): Don't pass default_setname to
12927         soversions.awk.
12928         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
12929         oldest_abi to abi-versions.awk.
12930         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
12931         * config.make.in (oldest-abi): Remove variable.
12932         * configure.ac (--enable-oldest-abi): Remove configure option.
12933         * configure: Regenerated.
12934         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
12935         text.
12936         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
12937         * scripts/soversions.awk: Do not handle default_setname variable.
12938         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
12939         variable.
12940         * sysdeps/mach/hurd/configure: Regenerated.
12941         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
12942         variable.
12943         * sysdeps/unix/sysv/linux/configure: Regenerated.
12945 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12947         * elf/Makefile (CFLAGS-interp.c): Remove.
12948         ($(elf-objpfx)runtime-linker.h): Generate header with linker
12949         path string.
12950         * elf/interp.c: Include generated runtime-linker.h
12952         * Makerules (lib%.so): Don't include $(+interp) in
12953         prerequisites.
12954         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
12955         * dlfcn/eval.c: Remove file.
12957         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
12958         macros.
12960         [BZ #17266]
12961         * misc/sys/cdefs.h: Define __extern_always_inline for clang
12962         4.2 and newer.
12964         [BZ #17370]
12965         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
12967 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12968             Jakub Jelinek  <jakub@redhat.com>
12970         [BZ #17266]
12971         * libio/stdio.h: Check definition of __fortify_function
12972         instead of __extern_always_inline to include bits/stdio2.h.
12973         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
12974         check if __extern_always_inline is defined.
12975         [__USE_MISC || __USE_XOPEN]: Likewise.
12976         [__USE_ISOC99] Likewise.
12977         * misc/sys/cdefs.h (__fortify_function): Define only if
12978         __extern_always_inline is defined.
12979         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
12980         __extern_always_inline and __extern_inline only for g++-4.3
12981         and newer or a compatible gcc.
12983 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
12985         [BZ #17371]
12986         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12987         last change to handle zero prefix length.
12989 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12991         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
12992         _SC_REGEX_VERSION.
12994         * posix/getconf.c (vars): Add _POSIX_IPV6 and
12995         _POSIX_RAW_SOCKETS.
12997 2014-09-13  Allan McRae  <allan@archlinux.org>
12999         * po/ru.po: Update Russian translation from translation project.
13001 2014-09-12  Roland McGrath  <roland@hack.frob.com>
13003         * locale/programs/locale.c (show_locale_vars): Inline local function
13004         into its sole call site.  Clean up some style nits.
13005         (print_item): New function, broken out of ...
13006         (show_info): ... local function here.  Clean up style nits.
13008         * locale/programs/ld-ctype.c (set_one_default): New function, broken
13009         out of ...
13010         (set_class_defaults): ... local function set_default here.
13011         Define set_default as a macro locally to pass constant parameters.
13012         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
13013         rather than a shared local.
13015         * stdlib/rpmatch.c (try): New function, broken out of ...
13016         (rpmatch): ... local function here.  Also, prototypify definition.
13018 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
13020         * scripts/soversions.awk: Do not handle configuration names.
13021         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
13022         vendor and os variables to soversions.awk.
13023         * configure.ac: Do not modify gnu-* host_os.
13024         * configure: Regenerated
13025         * shlib-versions: Remove first column with configuration names.
13026         * nptl/shlib-versions: Likewise.
13027         * nptl_db/shlib-versions: Likewise.
13028         * sysdeps/hppa/shlib-versions: Likewise.
13029         * sysdeps/m68k/shlib-versions: Likewise.
13030         * sysdeps/mach/hurd/shlib-versions: Likewise.
13031         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
13032         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
13033         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
13034         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
13035         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
13036         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
13037         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
13038         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
13039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13040         Likewise.
13041         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13042         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13043         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13044         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13045         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13046         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
13047         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13048         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13051         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
13052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13053         Regenerated.
13054         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
13055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13056         Condition symbol version definitions on [HAVE_ELFV2_ABI].
13058         * shlib-versions: Remove OS-specific entries.  Moved to files in
13059         sysdeps.
13060         * sysdeps/mach/hurd/shlib-versions: New file.
13061         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13063         * nptl/shlib-versions: Remove architecture-specific entries.
13064         Moved to files in sysdeps.
13065         * shlib-versions: Likewise.
13066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
13067         file.
13068         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13069         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13070         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13071         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13073         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
13074         (UDP_NO_CHECK6_RX): Likewise.
13076 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13078         * sysdeps/posix/sysconf.c (__sysconf): Spell
13079         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
13081 2014-08-12  Florian Weimer  <fweimer@redhat.com>
13083         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
13084         loading.
13085         * iconv/Versions (__gconv_transliterate): Export for use from
13086         gconv modules.
13087         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
13088         (struct __gconv_trans_data, __gconv_trans_fct,
13089         __gconv_trans_context_fct, __gconv_trans_query_fct,
13090         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
13091         definitions.
13092         (struct __gconv_step_data): Remove __trans member.
13093         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
13094         longer hidden.  Remove unused trans_data argument.
13095         * iconv/gconv_int.h (struct trans_struct): Remove definition.
13096         (__gconv_translit_find): Remove declaration.
13097         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
13098         prototype.
13099         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
13100         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
13101         trans_data argument.  Add hidden definition.
13102         (__gconv_translit_find): Remove.
13103         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
13104         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
13105         * iconv/skeleton.c: Remove transliteration initialization.
13106         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
13107         __gconv_step_data initialization.
13108         * libio/iofwide.c (__libio_translit_): Remove.
13109         (_IO_fwide): Adjust struct __gconv_step_data initialization.
13110         * wcsmbs/btowc.c (__btowc): Likewise.
13111         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13112         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13113         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
13114         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
13115         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
13116         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
13117         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
13118         * wcsmbs/wctob.c (wctob): Likewise.
13120 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13122         [BZ #16194]
13123         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
13124         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
13125         register usage.
13126         * sysdeps/x86/Makefile: Adjust.
13128 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13129             Roland McGrath  <roland@hack.frob.com>
13131         * locale/weight.h: Add include guard.
13132         (findidx): Make static rather than auto; take new parameters
13133         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
13134         * locale/weightwc.h: Likewise.
13135         * posix/fnmatch_loop.c
13136         (FCT): Change type of EXTRA from int32_t to wint_t.
13137         Don't include either header inside the function.
13138         Call FINDIDX rather than findidx, and pass new arguments.
13139         #undef FINDIDX at the end of the file.
13140         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
13141         FINDIDX before including fnmatch_loop.c for the non-wide version.
13142         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
13143         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
13144         for the wide version.
13145         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
13146         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
13147         Pass new arguments to findidx.
13148         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
13149         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
13150         Don't #include it inside the function.  Pass new arguments to findidx.
13151         * posix/regex_internal.h
13152         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
13153         (re_string_elem_size_at): Don't #include it inside the function.
13154         Pass new arguments to findidx.
13155         * string/strcoll_l.c: #include WEIGHT_H at top level.
13156         (get_next_seq): Don't #include it inside the function.
13157         Pass new arguments to findidx.
13158         (get_next_seq_nocache): Likewise.
13159         * string/strxfrm_l.c: #include WEIGHT_H at top level.
13160         (STRXFRM): Don't #include it inside the function.
13161         Pass new arguments to findidx.
13163 2014-09-11  Florian Weimer  <fweimer@redhat.com>
13165         [BZ #17344]
13166         * malloc/malloc.c (unlink): Turn asserts into a call to
13167         malloc_printerr.
13169 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
13171         [BZ #17370]
13172         * libio/wfileops (do_ftell_wide): Free OUT.
13174 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
13176         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
13178 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13180         [BZ #17363]
13181         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
13182         group if the current group is empty.
13184 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13186         * benchtests/bench-memset.c (test_main): Add more test from size
13187         from 32 to 512 bytes.
13188         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13189         Add POWER8 memset object.
13190         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13191         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
13192         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
13193         implementation.
13194         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
13195         Likewise.
13196         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
13197         multiarch POWER8 memset optimization.
13198         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
13199         POWER8 memset optimization.
13201         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13202         Remove bzero multiarch objects.
13203         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
13204         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
13205         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
13206         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
13207         Remove define.
13208         [__bzero]: Redefine to specific name.
13209         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
13210         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
13211         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
13212         define.
13213         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13214         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13216 2014-09-10  Florian Weimer  <fweimer@redhat.com>
13218         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
13219         warnings into errors.
13221         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
13222         __cxa_thread_atexit_impl prototype.
13224 2014-09-09  Steve Ellcey  <sellcey@mips.com>
13226         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
13227         Fix capitalization of error message.
13229 2014-09-09  Steve Ellcey  <sellcey@mips.com>
13231         * sysdeps/mips/preconfigure: Modify ABI tests.
13233 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
13235         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
13237 2014-09-07  Roland McGrath  <roland@hack.frob.com>
13238             Carlos O'Donell  <carlos@systemhalted.org>
13240         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
13241         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
13242         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
13243         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
13244         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
13245         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
13246         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
13247         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
13248         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
13249         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
13250         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
13251         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
13252         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
13253         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
13254         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
13255         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
13256         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
13257         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
13258         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
13259         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
13260         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
13261         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
13262         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
13263         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
13264         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
13265         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
13266         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
13267         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
13268         Deconditionalize the code that was previously under [RESET_PID].
13269         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
13270         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
13271         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
13272         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
13273         include sysdep.h.
13275 2014-09-08  Allan McRae  <allan@archlinux.org>
13277         * version.h (RELEASE): Set to "development".
13278         (VERSION): Set to "2.20.90"
13280 2014-09-07  Allan McRae  <allan@archlinux.org
13282         * version.h (RELEASE): Set to "stable".
13283         (VERSION): Set to "2.20"
13284         * include/features.h (__GLIBC_MINOR__): Set to 20.
13286         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
13287         Liebler.
13289         * po/ko.po: Update Korean translation from translation project.
13291 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
13293         [BZ #17354]
13294         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
13295         macro for handling signed relocations.
13297 2014-09-03  Florian Weimer  <fweimer@redhat.com>
13299         [BZ #17325]
13300         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
13301         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
13302         assert.
13303         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
13304         * iconvdata/ibm935.c (BODY): Likewise.
13305         * iconvdata/ibm937.c (BODY): Likewise.
13306         * iconvdata/ibm939.c (BODY): Likewise.
13307         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
13308         assert.
13309         * iconvdata/Makefile (iconv-test.out): Pass module list to test
13310         script.
13311         * iconvdata/run-iconv-test.sh: New test loop for checking for
13312         decoder crashers.
13314 2014-09-02  Khem Raj  <raj.khem@gmail.com>
13316         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
13317         libm_hidden_ver.
13319 2014-09-01  Allan McRae  <allan@archlinux.org>
13321         * po/eo.po: Update Esperanto translation from translation project.
13323         * po/ca.po: Update Catalan translation from translation project.
13325 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13327         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
13328         __proc_dostop call.
13330 2014-08-27  Mark Wielaard  <mjw@redhat.com>
13332         [BZ #17319]
13333         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
13334         to call set_thread_area instead of hand written asm.
13335         (__NR_set_thread_area): Removed define.
13336         (TLS_FLAG_WRITABLE): Likewise.
13337         (__ASSUME_SET_THREAD_AREA): Remove check.
13338         (TLS_EBX_ARG): Remove define.
13339         (TLS_LOAD_EBX): Likewise.
13341 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13343         Simplify atomicity of socket creation in bind.
13345         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
13346         looking up the name after linking the file.
13348 2014-08-27  Allan McRae  <allan@archlinux.org>
13350         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13352 2014-08-26  Florian Weimer  <fweimer@redhat.com>
13354         [BZ #17187]
13355         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
13356         trans_compare, open_translit, __gconv_translit_find):
13357         Remove module loading code.
13359 2014-08-26  Allan McRae  <allan@archlinux.org>
13361         * po/vi.po: Update Vietnamese translation from translation project.
13363         * po/uk.po: Update Ukrainian translation from translation project.
13365         * po/fr.po: Update French translation from translation project.
13367         * po/ru.po: Update Russian translation from translation project.
13369         * po/pl.po: Update Polish translation from translation project.
13371         * po/cs.po: Update Czech translation from translation project.
13373         * po/de.po: Update German translation from translation project.
13375         * po/bg.po: Update Bulgarian translation from translation project.
13377         * po/sv.po: Update Sweedish translation from translation project.
13379         * po/nl.po: Update Dutch translation from translation project.
13381         * po/es.po: Update Spanish translation from translation project.
13383 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13385         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
13387         * catgets/Makefile (CPPFLAGS-gencat): Remove.
13388         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
13389         (CPPFLAGS-iconvconfig): Likewise.
13390         * timezone/Makefile (CPPFLAGS-zic): Likewise.
13392         * include/libc-symbols.h: Remove unnecessary check for
13393         NOT_IN_libc.
13394         * nptl/pthreadP.h: Likewise.
13395         * sysdeps/aarch64/setjmp.S: Likewise.
13396         * sysdeps/alpha/setjmp.S: Likewise.
13397         * sysdeps/arm/sysdep.h: Likewise.
13398         * sysdeps/i386/setjmp.S: Likewise.
13399         * sysdeps/m68k/setjmp.c: Likewise.
13400         * sysdeps/posix/getcwd.c: Likewise.
13401         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13402         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
13403         * sysdeps/s390/s390-32/setjmp.S: Likewise.
13404         * sysdeps/s390/s390-64/setjmp.S: Likewise.
13405         * sysdeps/sh/sh3/setjmp.S: Likewise.
13406         * sysdeps/sh/sh4/setjmp.S: Likewise.
13407         * sysdeps/unix/alpha/sysdep.h: Likewise.
13408         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13409         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13410         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
13411         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13414         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13415         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13416         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13417         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13418         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13419         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13420         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13421         * sysdeps/x86_64/setjmp.S: Likewise.
13423 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
13425         [BZ #17263]
13426         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
13427         <stdint.h>.
13428         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
13429         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
13431 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13433         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
13435         [BZ #17262]
13436         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
13437         and __x86_64__ when disabling x87 inline functions.
13439 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
13441         [BZ #17259]
13442         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
13443         asm statement with __cpuid_count.
13445 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
13447         * configure.ac: Change __ehdr_start code to dereference the struct.
13448         Run readelf on the output to look for relocations.
13449         * configure: Regenerated.
13451 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
13453         [BZ #17261]
13454         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
13455         value to 0.
13456         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
13458 2014-08-12  Roland McGrath  <roland@hack.frob.com>
13460         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
13462 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
13464         [BZ #16892]
13465         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
13466         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
13468 2014-08-12  Sean Anderson  <seanga2@gmail.com>
13470         * malloc/malloc.c: Fix typo in comment.
13472 2014-08-09  Allan McRae  <allan@archlinux.org>
13474         * Regenerate libc.po.
13476 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
13478         * intl/tst-gettext2.sh: Check every lang file for creation.
13480 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
13482         * sysdeps/aarch64/fpu/math_private.h
13483         (libc_feholdsetround_noex_aarch64_ctx): New function.
13485 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
13487         * sysdeps/arm/armv6/strcpy.S (strcpy):
13488         Fix performance issue in misaligned cases.
13490 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13492         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
13493         Move definition from termios.h.
13494         (struct termio): Likewise.
13495         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13496         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
13497         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
13498         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
13499         Likewise.
13500         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
13501         Move definition to ioctl-types.h
13502         (struct termio): Likewise.
13503         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13504         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
13505         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
13506         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
13507         Likewise.
13509 2014-08-05  Richard Henderson  <rth@redhat.com>
13511         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
13512         exceptions.
13513         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
13514         Add fraiseexcpt.
13515         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
13516         Use __feraiseexcept.
13517         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
13518         Protect libm symbols with IS_IN_libm.
13520         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
13522 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
13524         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
13526 2014-08-04  Will Newton  <will.newton@linaro.org>
13528         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
13529         file.
13531 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
13533         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
13534         variants for each function.
13536 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13538         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
13539         appended ...
13540         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
13541         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
13542         appended ...
13543         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
13544         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
13545         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
13546         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
13547         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
13548         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
13549         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
13550         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
13551         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
13552         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
13553         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
13554         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
13555         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
13556         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
13557         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
13558         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
13559         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
13560         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
13561         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
13562         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
13563         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
13564         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
13565         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
13566         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
13567         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
13568         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
13569         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
13570         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
13571         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
13572         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
13573         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
13574         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
13575         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
13576         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
13577         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
13578         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
13579         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
13580         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
13581         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
13582         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
13583         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
13584         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
13585         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
13586         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
13587         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
13588         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
13589         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
13590         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
13591         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
13592         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
13593         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
13594         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
13595         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
13596         Update #include.
13597         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
13598         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
13600 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13602         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
13603         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
13604         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
13605         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
13606         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
13607         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
13609 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13611         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
13612         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
13613         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13614         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
13616 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13618         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
13619         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
13620         (__libc_vfork): Define function under this name.
13621         (__vfork): Define as an alias.
13622         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
13623         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
13625 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13627         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
13628         that was previously under [RESET_PID].
13629         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
13631 2014-08-04  Andreas Schwab  <schwab@suse.de>
13633         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
13635 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
13637         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
13638         (main): Likewise.
13640 2014-08-01  Roland McGrath  <roland@hack.frob.com>
13642         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
13644 2014-08-01  Richard Henderon  <rth@redhat.com>
13646         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
13647         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
13648         typo in exact zero test.
13649         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13650         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13651         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13653 2014-08-01  Roland McGrath  <roland@hack.frob.com>
13655         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
13656         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
13657         * sysdeps/arm/sysdep.h: ... here.
13658         [!__ASSEMBLER__]: Include <stdint.h>.
13660 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13662         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
13663         (HAVE_WCTYPE_H): Likewise.
13664         (HAVE_ISWCTYPE): Likewise.
13665         (ENABLE_NLS): Likewise.
13666         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
13667         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
13669         * posix/regex_internal.c: Check if DEBUG is defined and is
13670         set.
13672         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
13673         (HAVE_MBSRTOWCS): Likewise.
13674         * posix/fnmatch.c: Include string.h unconditionally.
13676 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
13678         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
13679         reversal.
13681 2014-07-31  Roland McGrath  <roland@hack.frob.com>
13683         * sysdeps/generic/safe-fatal.h: New file.
13684         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
13685         * nptl/forward.c: Include it.
13686         (__pthread_unwind): Use __safe_fatal as default action, rather
13687         than a bogus use of INTERNAL_SYSCALL that could never work.
13689         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
13690         * configure.ac (libc_cv_builtin_trap): New test.
13691         * configure: Regenerated.
13692         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
13693         (ABORT_INSTRUCTION): Define using __builtin_trap.
13695         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
13696         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
13697         * sysdeps/nptl/nptl-signals.h: New file.
13698         * nptl/pthreadP.h: Include <nptl-signals.h>.
13700 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13702         * sysdeps/s390/s390-64/utf16-utf32-z9.c
13703         (ONE_DIRECTION): Define.
13704         * sysdeps/s390/s390-64/utf8-utf16-z9.c
13705         (ONE_DIRECTION): Define.
13706         * sysdeps/s390/s390-64/utf8-utf32-z9.c
13707         (ONE_DIRECTION): Define.
13709 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13711         * sysdeps/s390/Makefile: Delete file.
13712         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
13713         * sysdeps/s390/__longjmp.c: Delete file.
13714         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
13715         Remove fields __flags and __reserved.
13716         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
13717         and add versioning.
13718         * sysdeps/s390/rtld-__longjmp.c: Delete file.
13719         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
13720         * sysdeps/s390/rtld-setjmp.S: Likewise.
13721         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
13722         * sysdeps/s390/s390-32/__longjmp.c: ... here.
13723         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
13724         * sysdeps/s390/s390-32/setjmp.S: ... here.
13725         Add versioning.
13726         (__sigsetjmp): Remove setting __flags field.
13727         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
13728         * sysdeps/s390/s390-64/__longjmp.c: ... here.
13729         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
13730         * sysdeps/s390/s390-64/setjmp.S: ... here.
13731         Add versioning.
13732         (__sigsetjmp): Remove setting __flags field.
13733         * sysdeps/s390/setjmp.S: Delete file.
13734         * sysdeps/s390/sigjmp.c: Likewise.
13735         * sysdeps/s390/v1-longjmp.c: Likewise.
13736         * sysdeps/s390/v1-setjmp.h: Likewise.
13737         * sysdeps/s390/v1-sigjmp.c: Likewise.
13738         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
13739         Remove v1-longjmp_chk.
13740         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
13741         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
13742         Include debug/longjmp_chk.c and add versioning.
13743         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
13744         Include nptl/pt-longjmp.c and add versioning.
13745         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
13746         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
13747         Include __longjmp.c.
13748         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13749         Move to ...
13750         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
13751         (__getcontext): Remove setting __flags field.
13752         Add versioning.
13753         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13754         Don't restore upper high grps.
13755         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
13756         Likewise.
13757         (__swapcontext): Remove setting uc_flags field.
13758         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
13759         Delete file.
13760         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13761         Include __longjmp.c.
13762         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13763         Move to ...
13764         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
13765         (__getcontext): Remove setting __flags field.
13766         Add versioning.
13767         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
13768         (__swapcontext): Remove setting uc_flags field.
13769         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
13770         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
13771         Remove fields uc_high_gprs and __reserved.
13772         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
13773         New file with reverted content.
13774         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
13775         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
13776         Regenerated.
13777         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
13778         Regenerated.
13780 2014-07-31  Andreas Schwab  <schwab@suse.de>
13782         * config.h.in (HAVE_IFUNC): Define to 0.
13783         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
13784         definedness.
13786 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
13788         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13789         memmove-avx-unaligned, memcpy-avx-unaligned and
13790         mempcpy-avx-unaligned.
13791         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13792         Add tests for AVX memcpy functions.
13793         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
13794         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
13795         memcpy_chk.
13796         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
13797         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
13798         memmove_chk.
13799         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
13800         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
13801         mempcpy_chk.
13802         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
13803         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
13804         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
13806 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13808         [BZ #17213]
13809         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
13810         powerpc64le.
13812 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
13814         [BZ #16839]
13815         * manual/llio.texi: Add section about open file description locks.
13816         * manual/examples/ofdlocks.c: Example of open file description
13817         lock usage.
13818         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
13819         F_OFD_SETLK, and F_OFD_SETLKW.
13821 2014-07-23  Allan McRae  <allan@archlinux.org>
13823         * po/es.po: Update Spanish translation from translation project.
13825 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
13827         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
13829 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
13831         [BZ #17078]
13832         * sysdeps/arm/dl-machine.h (elf_machine_rela)
13833         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
13834         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
13836 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
13838         [BZ #17088]
13839         * math/fesetenv.c (__fesetenv)
13840         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
13841         * math/feupdateenv.c (__feupdateenv)
13842         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
13844         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
13845         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13846         (__ASSUME_SOCKETCALL): Do not define.
13848         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
13849         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
13850         (__ASSUME_SOCKETCALL): Do not define.
13851         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
13852         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13853         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13854         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13855         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13856         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
13857         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13858         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13860         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
13861         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
13862         (__ASSUME_SOCKETCALL): Do not define.
13863         (__ASSUME_IPC64): Define unconditionally.
13864         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13865         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13866         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13867         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13868         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
13869         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13870         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
13871         Likewise.
13873         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
13874         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
13875         (__ASSUME_SOCKETCALL): Do not define.
13876         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
13877         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13878         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13879         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13880         (__ASSUME_REQUEUE_PI): Define unconditionally.
13881         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
13882         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13883         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13884         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
13885         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13886         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13888         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
13889         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
13890         (__ASSUME_SOCKETCALL): Do not define.
13891         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
13892         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13893         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13894         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
13895         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13896         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13898         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
13899         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
13900         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13901         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
13902         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13903         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
13904         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13905         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
13906         (__ASSUME_GETCPU_SYSCALL): Likewise.
13908         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
13909         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
13910         cases for individual architectures.
13911         * sysdeps/gnu/configure: Regenerated.
13912         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
13913         LIBC_SLIBDIR_RTLDDIR.
13914         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
13915         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
13916         LIBC_SLIBDIR_RTLDDIR.
13917         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
13918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
13919         LIBC_SLIBDIR_RTLDDIR.
13920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13921         Regenerated.
13922         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
13923         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
13924         file.
13925         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
13926         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
13927         file.
13928         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
13929         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
13930         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
13931         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
13933         * sysdeps/aarch64/shlib-versions: Move to ...
13934         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
13935         * sysdeps/alpha/shlib-versions: Move to ...
13936         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
13937         * sysdeps/arm/shlib-versions: Move to ...
13938         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
13939         * sysdeps/hppa/shlib-versions: Move all contents except for
13940         libgcc_s entry to ...
13941         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
13942         entry from ...
13943         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
13944         * sysdeps/ia64/shlib-versions: Move to ...
13945         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
13946         entry from ...
13947         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
13948         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
13949         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
13950         * sysdeps/microblaze/shlib-versions: Move to ...
13951         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
13952         * sysdeps/mips/shlib-versions: Move to ...
13953         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
13954         entry from ...
13955         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
13956         * sysdeps/tile/shlib-versions: Move to ...
13957         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
13958         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
13959         from ...
13960         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
13961         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
13962         entry from ...
13963         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
13965 2014-07-17  Will Newton  <will.newton@linaro.org>
13967         * sysdeps/arm/bits/atomic.h
13968         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
13969         (__arch_compare_and_exchange_bool_16_int): Likewise.
13970         (__arch_compare_and_exchange_bool_64_int): Likewise.
13972         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
13973         into an #else block.
13975 2014-07-16  Roland McGrath  <roland@hack.frob.com>
13977         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
13978         just Linux configurations.  Test empirically that the compiler sets
13979         __ARM_EABI__, rather than using the tuple to decide.
13980         * sysdeps/arm/preconfigure: Regenerated.
13981         * sysdeps/unix/sysv/linux/arm/configure: File removed.
13982         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
13983         contents appended ...
13984         * sysdeps/arm/configure.ac: ... here.
13985         * sysdeps/arm/configure: Regenerated.
13987 2014-07-15  Roland McGrath  <roland@hack.frob.com>
13989         * nptl/pthread_kill.c: New file.
13990         * nptl/pthread_sigmask.c: New file.
13991         * nptl/pthread_sigqueue.c: New file.
13993         * sysdeps/nptl/lowlevellock.h: New file.
13994         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
13995         * sysdeps/nptl/lowlevellock-futex.h: New file.
13997         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
13998         Remove dead declarations.
14000 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
14002         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
14003         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
14004         config-cflags-avx2.
14005         * sysdeps/x86_64/configure.ac: Likewise.
14006         * sysdeps/i386/configure: Regenerated.
14007         * sysdeps/x86_64/configure: Likewise.
14008         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14009         memset-avx2 only if config-cflags-avx2 is yes.
14010         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14011         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
14012         defined.
14013         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
14014         only if HAVE_AVX2_SUPPORT is defined.
14015         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14017 2014-07-14  Alan Modra  <amodra@gmail.com>
14019         [BZ #17153]
14020         * elf/elf.h (DT_PPC64_NUM): Correct value.
14021         * NEWS: Add to fixed bug list.
14023 2014-07-13  Jim Meyering  <meyering@fb.com>
14025         [BZ 17150]
14026         regex: don't deref NULL upon heap allocation failure
14027         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
14028         failure in one more place.
14029         To trigger the segfault, configure grep -with-included-regex,
14030         build it, and run these commands:
14031         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
14033 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
14035         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14037 2014-07-11  Richard Henderson  <rth@redhat.com>
14039         * sysdeps/aarch64/libm-test-ulps: Update.
14041 2014-07-10  Florian Weimer  <fweimer@redhat.com>
14043         [BZ #17135]
14044         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
14045         * nptl/allocatestack.c (__nptl_setxid_error): New function.
14046         (__nptl_setxid): Initialize error member.  Call
14047         __nptl_setxid_error.
14048         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
14049         * nptl/descr.h (struct xid_command): Add error member.
14050         * nptl/tst-setuid3.c: New file.
14051         * nptl/Makefile (tests): Add it.
14053 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14055         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
14056         New define.
14057         (__lll_trylock): Use __lll_base_trylock.
14058         (__lll_cond_trylock): Likewise.
14060 2014-07-10  Roland McGrath  <roland@hack.frob.com>
14062         * nptl/pthread_create.c (start_thread): Use atomic_or and
14063         lll_futex_wake directly rather than lll_robust_dead.
14064         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14065         (lll_robust_dead): Macro removed.
14066         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
14067         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14068         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14069         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14070         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14071         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14072         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14073         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14074         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14075         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14076         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14077         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14078         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14079         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14080         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14082         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
14083         Use atomic_compare_and_exchange_val_acq directly rather than
14084         lll_robust_trylock.
14085         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14086         (__lll_robust_trylock, lll_robust_trylock): Removed.
14087         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14088         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14089         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14090         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14091         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14092         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14093         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14094         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14095         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14096         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14097         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14098         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14099         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14100         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14102 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14104         * manual/locale.texi (Locale Names): New section documenting
14105         locale name syntax.  Adjust menu and node chaining accordingly.
14106         (Choosing Locale): Reference Locale Names, Locale Categories.
14107         Mention setting LC_ALL=C.  Reflect that name syntax is now
14108         documented.
14109         (Locale Categories): New section title.  Reference Locale Names.
14110         LC_ALL is an environment variable, but not a category.
14111         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
14112         description, now in Locale Name.  Reference that section.  Locale
14113         name syntax is now documented.
14115 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14117         [BZ #17137]
14118         * locale/findlocale.c (name_present, valid_locale_name): New
14119         functions.
14120         (_nl_find_locale): Use the loc_name variable to store name
14121         candidates.  Call name_present and valid_locale_name to check and
14122         validate locale names.  Return an error if the locale is invalid.
14124 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14126         * locale/setlocale.c (setlocale): Use strdup for allocating
14127         composite name copy.
14129 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14131         Sync up with gnulib.
14132         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
14133         [!_LIBC && ENABLE_NLS]: Include gettext.h.
14134         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
14135         and _GL_ARG_NONNULL.
14136         [USE_UNLOCKED_IO]: Include unlocked-io.h.
14137         [!_LIBC]: Include code for Windows and Cygwin.
14138         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
14139         Include prototype for int strerror_r.
14140         [!_LIBC] (is_open): New function.
14141         (flush_stdout): New function.
14142         (print_errno_message): Use it.
14143         (error): Likewise.
14144         (error_at_line): Likewise.
14145         (error_tail) Add function attribute macros.  Use
14146         __builtin_expect.
14148         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
14150         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
14152         * io/ftw.c: Include sys/param.h unconditionally.
14154         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
14156         [BZ #17125]
14157         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
14158         libc_freeres_ptr.
14159         (freecache): New function to free CACHE on exit.
14161         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
14162         initialization.
14164 2014-07-09  David S. Miller  <davem@davemloft.net>
14166         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14168         * sysdeps/sparc/nptl/internaltypes.h: Delete.
14169         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
14170         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
14171         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
14172         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
14173         * sysdeps/sparc/nptl/sem_init.c: Likewise.
14174         * sysdeps/sparc/nptl/sem_post.c: Likewise.
14175         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
14176         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
14177         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
14178         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
14179         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
14180         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
14182 2014-07-09  Andreas Schwab  <schwab@suse.de>
14184         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
14185         output.
14186         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
14187         (do_test): Likewise.
14189         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14191 2014-07-09  Will Newton  <will.newton@linaro.org>
14193         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
14194         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
14195         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
14196         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
14197         * sysdeps/hppa/start.S (_start): Likewise.
14199 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14201         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
14203         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
14204         defined.
14206 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14208         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
14209         after checking that it is non-NULL.
14211         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
14213 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14215         * sysdeps/powerpc/memmove.c: Remove file.
14216         * sysdeps/powerpc/powerpc32/power4/memcopy.h
14217         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
14218         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
14219         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
14220         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
14221         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
14222         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
14223         string memmove instead of removed powerpc one.
14225         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14226         [weak_alias]: Fix compiler warning due trailing data.
14227         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
14228         [weak_alias]: Likewise.
14229         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
14230         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
14232         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14233         (__libc_ifunc_impl_list): Add memmove functions.
14235 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14237         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
14238         Remove code.
14239         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
14240         Likewise
14241         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
14242         Likewise
14243         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
14244         Likewise
14245         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
14246         Likewise
14247         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
14248         Likewise
14249         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
14250         Likewise
14251         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
14252         Likewise
14253         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
14254         Likewise
14255         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
14256         Likewise
14257         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
14258         Likewise
14259         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
14260         Likewise
14261         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
14262         Likewise
14263         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
14264         Likewise
14265         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
14266         Likewise
14267         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
14268         Likewise
14269         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
14270         Likewise
14272 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14274         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
14275         to avoid alignment traps in non-cacheable memory.
14276         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14278         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
14279         multiarch objects.
14280         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
14281         file: multiarch power7 memmove.
14282         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
14283         multiarch default memmove.
14284         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
14285         multiarch memove for powerpc32/power4.
14287         * string/bcopy.c: Use full path to include memmove.c.
14288         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
14289         multiarch objects.
14290         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
14291         bcopy for powerpc64.
14292         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
14293         bcopy for powerpc64.
14294         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
14295         and memmove implementations.
14296         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
14297         optimized multiarch memmove for POWER7/powerpc64.
14298         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
14299         default multiarch memmove for powerpc64.
14300         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
14301         multiarch for powerpc64.
14302         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
14303         for POWER7/powerpc64.
14304         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
14305         memmove for POWER7/powerpc64.
14307         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
14308         glibc default one.
14310         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
14311         __ELF_NATIVE_CLASS equal to 64.
14313 2014-07-07  Roland McGrath  <roland@hack.frob.com>
14315         * sysdeps/nptl/lowlevellock.h: File removed.
14317         * NEWS: NPTL is no longer an add-on!
14318         * nptl/internaltypes.h: Moved ...
14319         * sysdeps/nptl/internaltypes.h: ... here.
14320         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
14321         * sysdeps/nptl/fork.c: Likewise.
14322         * sysdeps/nptl/gai_misc.h: Likewise.
14323         * sysdeps/nptl/librt-cancellation.c: Likewise.
14324         * sysdeps/nptl/jmp-unwind.c: Likewise.
14325         * sysdeps/nptl/setxid.h: Likewise.
14326         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
14327         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
14328         * sysdeps/unix/sysv/linux/arm/Implies: New file.
14329         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
14330         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
14331         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
14332         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
14333         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
14334         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
14335         * sysdeps/unix/sysv/linux/mips/Implies: New file.
14336         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
14337         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
14338         * sysdeps/unix/sysv/linux/sh/Implies: New file.
14339         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
14340         * sysdeps/unix/sysv/linux/tile/Implies: New file.
14341         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
14342         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
14343         * nptl/Makeconfig: Moved ...
14344         * sysdeps/nptl/Makeconfig: ... here.
14345         * nptl/configure: File removed.
14346         * nptl/ANNOUNCE: File removed.
14347         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
14348         * sysdeps/unix/sysv/linux/configure: Regenerated.
14350         * nptl/Makefile (routines): Add libc_pthread_init,
14351         libc_multiple_threads, register-atfork and unregister-atfork.
14352         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
14353         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
14354         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
14355         pthread-pi-defines.sym, structsem.sym.
14356         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
14357         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
14358         [$(subdir) = nptl] (tests): Add tst-setgetname.
14359         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
14360         * sysdeps/unix/sysv/linux/sigaction.c: Just include
14361         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
14362         [!LIBC_SIGACTION]: Remove aliases.
14363         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14364         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14365         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14366         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
14367         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14368         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14369         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14370         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14371         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14372         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
14373         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
14374         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
14375         __libc_allocate_rtsig_private.
14376         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
14377         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
14378         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
14379         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
14380         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
14381         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
14382         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
14383         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
14384         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
14385         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
14386         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
14387         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
14388         * nptl/internaltypes.h: ... here.
14389         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
14390         * sysdeps/nptl/jmp-unwind.c: ... here.
14391         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
14392         * nptl/libc-lowlevellock.c: ... here.
14393         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
14394         * nptl/libc_multiple_threads.c: ... here.
14395         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
14396         * nptl/libc_pthread_init.c: ... here.
14397         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
14398         * nptl/lowlevelbarrier.sym: ... here.
14399         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
14400         * nptl/lowlevelcond.sym: ... here.
14401         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
14402         * nptl/lowlevellock.c: ... here.
14403         * nptl/lowlevellock.h: Moved ...
14404         * sysdeps/nptl/lowlevellock.h: ... here.
14405         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
14406         * nptl/lowlevelrobustlock.c: ... here.
14407         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
14408         * nptl/lowlevelrobustlock.sym: ... here.
14409         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
14410         * nptl/lowlevelrwlock.sym: ... here.
14411         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
14412         * nptl/pt-fork.c: ... here.
14413         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
14414         * nptl/pthread-pi-defines.sym: ... here.
14415         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
14416         * nptl/pthread_attr_getaffinity.c: ... here.
14417         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
14418         * nptl/pthread_attr_setaffinity.c: ... here.
14419         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
14420         * nptl/pthread_mutex_cond_lock.c: ... here.
14421         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14422         Update #include.
14423         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
14424         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
14425         * nptl/pthread_once.c: ... here, replacing old file.
14426         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
14427         * nptl/pthread_yield.c: ... here.
14428         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
14429         * nptl/register-atfork.c: ... here.
14430         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
14431         * nptl/sem_post.c: ... here.
14432         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
14433         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
14434         * nptl/sem_timedwait.c: ... here.
14435         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
14436         * nptl/sem_trywait.c: ... here.
14437         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
14438         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
14439         * nptl/sem_wait.c: ... here.
14440         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
14441         * nptl/structsem.sym: ... here.
14442         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
14443         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
14444         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
14445         * nptl/unregister-atfork.c: ... here.
14446         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
14447         * nptl/unwindbuf.sym: ... here.
14448         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
14449         * sysdeps/nptl/fork.c: ... here.
14450         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
14451         * sysdeps/nptl/fork.h: ... here.
14452         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
14453         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
14454         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
14455         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
14456         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
14457         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
14458         * sysdeps/unix/sysv/linux/getpid.c: ... here.
14459         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
14460         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
14461         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
14462         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
14463         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
14464         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
14465         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
14466         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
14467         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
14468         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
14469         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
14470         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
14471         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
14472         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
14473         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
14474         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
14475         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
14476         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
14477         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
14478         * sysdeps/unix/sysv/linux/raise.c: ... here.
14479         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
14480         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
14481         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
14482         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
14483         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
14484         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
14485         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
14486         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
14487         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
14488         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
14489         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
14490         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
14491         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
14492         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
14493         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
14495 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14497         * sysdeps/generic/memcopy.h: Add comment for
14498         MEMCPY_OK_FOR_FWD_MEMMOVE.
14500 2014-07-04  Will Newton  <will.newton@linaro.org>
14502         * string/memchr.c: Merge from gnulib.
14503         [_LIBC]: Remove conditionals.
14504         (__ptr_t): Remove define.
14505         (LONG_MAX_32_BITS): Likewise.
14506         (LONG_MAX): Likewise.
14507         (MEMCHR): Use ANSI prototype and optimize algorithm.
14509         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
14511 2014-07-03  Roland McGrath  <roland@hack.frob.com>
14513         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
14514         (lll_futex_timed_wait_bitset): Fix syscall argument count.
14516         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
14517         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
14518         in a bare environment with no <stdlib.h> installed.
14519         * sysdeps/nptl/configure: Regenerated.
14521         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
14523         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
14524         AC_EGREP_CPP for kernel header checks, so they only succeed if
14525         including <linux/version.h> actually works right.
14526         * sysdeps/unix/sysv/linux/configure: Regenerated.
14528         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
14529         value so it's not diagnosed as unused.
14531         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
14532         thing) with "ifeq ($(subdir),rt)".
14534 2014-07-03  Richard Henderson  <rth@redhat.com>
14536         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
14537         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
14538         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
14540         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
14541         (math_force_eval): New.
14543         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
14544         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
14546         * sysdeps/alpha/fpu/s_round.c: Remove file.
14547         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
14549         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
14550         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
14551         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
14552         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
14553         (_dl_start, print_statistics): Likewise.
14554         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
14555         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
14557         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14558         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14559         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14560         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14561         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14562         (HP_SMALL_TIMING_AVAIL): Define.
14563         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14564         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14565         (HP_SMALL_TIMING_AVAIL): Define.
14566         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14567         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14569         * sysdeps/aarch64/hp-timing.h: New file.
14571         * sysdeps/generic/hp-timing.h: Remove dead comment.
14572         * sysdeps/generic/hp-timing-common.h: New file.
14573         * sysdeps/alpha/hp-timing.h: Include it.
14574         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
14575         * sysdeps/i386/i686/hp-timing.h: Likewise.
14576         * sysdeps/ia64/hp-timing.h: Likewise.
14577         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14578         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14579         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14580         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14581         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
14582         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
14583         (hp_timing_t): New.
14585         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
14586         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
14587         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
14588         * elf/rtld.c (_dl_start_final): Likewise.
14589         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
14590         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14591         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14592         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14593         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14594         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14595         (HP_TIMING_DIFF_INIT): Remove.
14596         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14597         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14598         (HP_TIMING_DIFF_INIT): Remove.
14599         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14600         * sysdeps/i386/i686/hp-timing.c: Remove file.
14601         * sysdeps/x86_64/hp-timing.c: Remove file.
14602         * sysdeps/ia64/hp-timing.c: Remove file.
14603         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
14604         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
14605         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
14606         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
14608         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
14609         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
14610         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
14611         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14612         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14613         (HP_TIMING_ACCUM): Remove.
14614         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14615         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
14616         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14618         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
14619         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
14620         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
14621         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
14622         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
14623         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14624         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
14625         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14627         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
14629 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
14631         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
14633 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14635         Sync up with gettext.
14636         * intl/loadmsgcat.c: Define O_BINARY if not defined.
14637         [_MSC_VER]: Include malloc.h
14638         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
14639         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
14640         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
14641         TEMP_FAILURE_RETRY.  Cast return of alloca.
14642         [!_LIBC] Call gl_rwlock_init.
14643         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
14645 2014-07-02  Roland McGrath  <roland@hack.frob.com>
14647         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
14648         before checking its value.
14650 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14652         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
14654         * debug/memcpy_chk.c: Don't include pagecopy.h.
14655         * debug/mempcpy_chk.c: Likewise.
14656         * string/memcpy.c: Likewise.
14657         * string/memmove.c: Likewise.
14658         * sysdeps/powerpc/memmove.c: Likewise.
14659         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
14660         definition of PAGE_COPY_FWD_MAYBE here...
14661         * sysdeps/generic/pagecopy.h: ... from here.
14662         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
14664 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14665             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14667         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
14668         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
14669         optimizations.
14670         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14671         (__libc_ifunc_impl_list): Likewise.
14672         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
14673         multiarch strcat for PPC64.
14674         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
14675         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
14677 2014-07-02  Roland McGrath  <roland@hack.frob.com>
14679         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
14681 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14683         * intl/loadmsgcat.c: Remove declaration of
14684         get_sysdep_segment_value.
14685         (get_sysdep_segment_value): Use ISO C style.
14686         (_nl_load_domain): Use ISO C style.  Get rid of redundant
14687         semicolon.  Fix typo and formatting in comment.
14688         (_nl_unload_domain): Use ISO C style.
14690         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
14692 2014-07-02  Will Newton  <will.newton@linaro.org>
14694         * malloc/obstack.c: Merge from gnulib master.
14695         [HAVE_CONFIG_H]: Remove conditional code.
14696         [!_LIBC]: Include config.h.
14697         [!ELIDE_CODE]: Don't include inttypes.h, include
14698         stdint.h unconditionally.
14699         (print_and_abort): Mark as _Noreturn.
14700         (_obstack_allocated_p): Mark as __attribute_pure__.
14701         (obstack_free): Rename to __obstack_free.
14702         [!__attribute__]: Remove conditional code.
14703         * malloc/obstack.h: Merge from gnulib master.
14704         [__cplusplus]: Move conditional down.
14705         [!__attribute_pure__]: Define __attribute_pure__ here
14706         if it is not already defined.
14707         (_obstack_memory_used): Mark as __attribute_pure__.
14708         [!__obstack_free]: Define as obstack_free.
14709         [__GNUC__]: Remove check for ancient NeXT gcc.
14711 2014-07-02  Will Newton  <will.newton@linaro.org>
14712             Paul Eggert  <eggert@cs.ucla.edu>
14714         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
14716 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14718         * resolv/gethnamaddr.c: Add comment warning that the file is
14719         not maintained.
14721 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
14723         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
14724         entries.
14726         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
14727         entry for aio_cancel and aio_cancel64.
14728         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
14729         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
14730         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
14731         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
14732         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
14733         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
14734         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
14735         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
14736         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
14737         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
14738         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
14739         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
14740         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
14742 2014-07-01  Roland McGrath  <roland@hack.frob.com>
14744         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
14745         * nptl/pthread_mutex_lock.c: Likewise.
14746         * nptl/pthread_mutex_timedlock.c: Likewise.
14747         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
14749 2014-07-01  Richard henderson  <rth@redhat.com>
14751         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
14752         (__isnan, __isnanl): Remove.
14753         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
14755         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14757 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14759         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14761 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14763         * resolv/nss_dns/dns-host.c (getanswer_r)
14764         [MULTI_PTRS_ARE_ALIASES]: Remove code.
14766 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
14768         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14769         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
14770         undefine.
14771         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
14772         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
14774 2014-07-01  Roland McGrath <roland@hack.frob.com>
14776         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
14777         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
14779         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
14780         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
14782         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
14783         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
14784         ... here.
14785         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
14786         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
14788         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
14789         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
14790         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
14791         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
14793         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
14794         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
14795         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
14796         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
14797         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
14798         Moved ...
14799         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
14800         ... here.
14801         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
14802         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
14803         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
14804         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
14805         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
14806         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
14807         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
14808         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
14809         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
14810         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
14811         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
14812         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
14813         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
14814         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
14815         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
14816         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
14817         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
14818         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
14819         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
14820         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
14821         ... here.
14822         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
14823         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
14824         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
14825         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
14826         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
14827         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
14828         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
14829         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
14831 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
14833         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
14834         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
14835         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
14836         Add sysdep.
14838 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14840         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14842 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
14844         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14845         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14847         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14849         * sysdeps/arm/libm-test-ulps: Regenerated.
14851 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
14852             Roland McGrath <roland@hack.frob.com>
14854         * test-skeleton.c (signal_handler): Kill the whole process group
14855         before killing the child individually.
14856         (main): Report any failure on `setpgid'.
14858 2014-06-30  Roland McGrath  <roland@hack.frob.com>
14860         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
14861         from _TLS_H to _ARM_NPTL_TLS_H.
14862         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
14863         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
14865 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
14867         [BZ #16539]
14868         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
14869         (__expm1l): Return argument unchanged when small but not
14870         subnormal.
14872         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
14873         include macro name.
14874         (_FP_UNPACK_RAW_1_P): Likewise.
14875         (_FP_PACK_RAW_1): Likewise.
14876         (_FP_PACK_RAW_1_P): Likewise.
14877         (_FP_MUL_MEAT_1_wide): Likewise.
14878         (_FP_MUL_MEAT_DW_1_hard): Likewise.
14879         (_FP_MUL_MEAT_1_hard): Likewise.
14880         (_FP_DIV_MEAT_1_imm): Likewise.
14881         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
14882         (_FP_DIV_MEAT_1_udiv): Likewise.
14883         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
14884         (_FP_UNPACK_RAW_2): Likewise.
14885         (_FP_UNPACK_RAW_2_P): Likewise.
14886         (_FP_PACK_RAW_2): Likewise.
14887         (_FP_PACK_RAW_2_P): Likewise.
14888         (_FP_MUL_MEAT_DW_2_wide): Likewise.
14889         (_FP_MUL_MEAT_2_wide): Likewise.
14890         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
14891         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14892         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
14893         (_FP_MUL_MEAT_2_gmp): Likewise.
14894         (_FP_DIV_MEAT_2_udiv): Likewise.
14895         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
14896         (_FP_FRAC_SRL_4): Likewise.
14897         (_FP_FRAC_SRST_4): Likewise.
14898         (_FP_FRAC_SRS_4): Likewise.
14899         (_FP_UNPACK_RAW_4): Likewise.
14900         (_FP_UNPACK_RAW_4_P): Likewise.
14901         (_FP_PACK_RAW_4): Likewise.
14902         (_FP_PACK_RAW_4_P): Likewise.
14903         (_FP_MUL_MEAT_DW_4_wide): Likewise.
14904         (_FP_MUL_MEAT_4_wide): Likewise.
14905         (_FP_MUL_MEAT_4_gmp): Likewise.
14906         (umul_ppppmnnn): Likewise.
14907         (_FP_DIV_MEAT_4_udiv): Likewise.
14908         (__FP_FRAC_ADD_4): Likewise.
14909         (__FP_FRAC_SUB_3): Likewise.
14910         (__FP_FRAC_SUB_4): Likewise.
14911         (__FP_FRAC_DEC_3): Likewise.
14912         (__FP_FRAC_DEC_4): Likewise.
14913         (__FP_FRAC_ADDI_4): Likewise.
14914         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
14915         (_FP_FRAC_SRL_8): Likewise.
14916         (_FP_FRAC_SRS_8): Likewise.
14918         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
14919         include macro name.
14920         (FP_UNPACK_RAW_EP): Likewise.
14921         (FP_PACK_RAW_E): Likewise.
14922         (FP_PACK_RAW_EP): Likewise.
14923         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
14924         (_FP_ISSIGNAN): Likewise.
14925         (_FP_ADD_INTERNAL): Likewise.
14926         (_FP_FMA): Likewise.
14927         (_FP_CMP): Likewise.
14928         (_FP_SQRT): Likewise.
14929         (_FP_TO_INT): Likewise.
14930         (_FP_FROM_INT): Likewise.
14931         (FP_EXTEND): Likewise.
14932         (_FP_DIV_MEAT_N_loop): Likewise.
14934 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
14936         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
14937         throughout.
14939 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
14941         [BZ #17097]
14942         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
14943         result with correct sign in case of exponents that produce
14944         overflow except for X very close to 1.
14946 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
14948         mktime: merge #if/#ifdef usage from glibc
14949         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
14950         as that works with both Glibc's and Gnulib's style.
14951         See thread starting at Siddhesh Poyarekar's bug report at:
14952         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
14954 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14956         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
14957         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
14958         * sysdeps/tile/tilegx/memmove.c: Remove file.
14960 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
14962         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
14963         abi-name definition.
14964         * scripts/soversions.awk: Do not handle or generate ABI lines.
14965         * shlib-versions: Remove ABI entries.
14966         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
14967         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
14969 2014-06-27  Roland McGrath  <roland@hack.frob.com>
14971         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
14972         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
14973         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
14974         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
14975         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
14976         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
14977         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
14978         Moved ...
14979         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14980         ... here.
14981         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
14982         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
14983         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
14984         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
14985         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
14986         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
14987         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
14988         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
14989         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
14990         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
14991         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
14992         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
14993         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
14994         Moved ...
14995         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
14996         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
14997         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
14998         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
14999         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
15000         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
15001         Moved ...
15002         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
15003         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
15004         Moved ...
15005         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
15006         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
15007         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
15008         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
15009         Moved ...
15010         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
15011         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
15012         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
15013         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
15014         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
15015         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
15016         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
15017         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
15018         Moved ...
15019         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
15020         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
15021         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
15022         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
15023         Moved ...
15024         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
15025         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
15026         Moved ...
15027         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
15028         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
15029         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
15030         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
15031         Moved ...
15032         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
15033         ... here.
15034         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
15035         Identical file removed.
15036         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
15037         Moved ...
15038         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
15039         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
15040         Identical file removed.
15041         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
15042         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
15043         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
15044         Moved ...
15045         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
15046         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
15047         Identical file removed.
15048         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
15049         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
15050         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
15051         Identical file removed.
15052         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
15053         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
15054         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
15055         Identical file removed.
15056         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
15057         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
15058         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
15059         Identical file removed.
15060         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
15061         Moved ...
15062         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
15063         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
15064         Identical file removed.
15065         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
15066         Moved ...
15067         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
15068         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
15069         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
15070         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
15071         Identical file removed.
15072         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
15073         Moved ...
15074         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
15075         ... here.
15076         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
15077         Identical file removed.
15078         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
15079         Moved ...
15080         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
15081         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
15082         Identical file removed.
15083         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
15084         Moved ...
15085         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
15086         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
15087         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
15088         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
15089         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
15090         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
15091         Moved ...
15092         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
15093         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
15094         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
15096         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
15097         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
15098         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
15099         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
15100         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
15102 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
15104         [BZ #17092]
15105         * nscd/nscd.c (monitor_child): Return exit status of child
15106         instead of return value from wait syscall.
15108 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15110         * configure.ac (libc_commonpagesize): Remove variable.
15111         (libc_relro_required): Likewise.
15112         (libc_cv_z_relro): Remove configure test.
15113         * configure: Regenerated.
15114         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
15115         variable.
15116         (libc_relro_required): Likewise.
15117         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
15118         (libc_relro_required): Likewise.
15119         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
15120         (libc_relro_required): Likewise.
15121         * sysdeps/arm/preconfigure: Regenerated.
15122         * sysdeps/ia64/preconfigure: Remove file.
15123         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
15124         variable.
15125         (libc_relro_required): Likewise.
15127         [BZ #16561]
15128         [BZ #16562]
15129         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
15130         (__ieee754_yn): Set FE_TONEAREST mode internally and then
15131         recompute overflowing results in original rounding mode.
15132         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
15133         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
15134         recompute overflowing results in original rounding mode.
15135         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
15136         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15137         recompute overflowing results in original rounding mode.
15138         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
15139         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15140         recompute overflowing results in original rounding mode.
15141         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
15142         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15143         recompute overflowing results in original rounding mode.
15144         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
15145         (libc_feholdsetround_ctx): New macro.
15146         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
15147         * sysdeps/i386/fpu/libm-test-ulps: Update.
15148         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
15150 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15152         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
15153         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
15154         corresponding .cpsetup call.
15156 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15158         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
15159         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
15160         * sysdeps/arm/Makefile [$(subdir) = csu]
15161         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
15162         (static-only-routines): Add aeabi_read_tp here.
15163         (shared-only-routines): Add libc-aeabi_read_tp here.
15164         (CFLAGS-libc-start.c): Add -fexceptions here.
15165         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
15166         (sysdep_routines, static-only-routines, shared-only-routines):
15167         Don't add to these here.
15168         (CFLAGS-libc-start.c): Likewise.
15170         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
15171         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
15172         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
15173         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
15174         * sysdeps/arm/Makefile [$(subdir) = rt]
15175         (librt-sysdep_routines, librt-shared-only-routines):
15176         Append rt-aeabi_unwind_cpp_pr1 here.
15177         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
15178         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
15179         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
15180         (libpthread-sysdep_routines, libpthread-shared-only-routines):
15181         Append nptl-aeabi_unwind_cpp_pr1 here.
15182         (tests): Filter out tst-cleanupx4 here.
15183         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
15184         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
15185         Don't do those here.
15187 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15189         * scripts/list-sources.sh: Do not handle ports specially.
15191 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15193         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
15194         * sysdeps/arm/feupdateenv.c: Likewise.
15196         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
15198 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15200         * manual/texinfo.tex: Update to version 2014-05-05.10 with
15201         trailing whitespace removed.
15202         * scripts/config.guess: Update to version 2014-03-23.
15203         * scripts/config.sub: Update to version 2014-05-01
15204         * scripts/install-sh: Update to version 2013-12-25.23.
15205         * scripts/move-if-change: Update from gnulib.
15207 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15209         * debug/memmove_chk.c: Remove pagecopy.h include.
15211 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
15213         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
15214         identical to gnulib mktime.
15216 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15218         * configure.ac: Do not test for machine being rs6000.  Do not test
15219         for powerpc*-*soft.
15220         * configure: Regenerated.
15222         [BZ #11505]
15223         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
15224         test.
15225         * configure: Regenerated.
15226         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
15227         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
15228         Remove configure test.
15229         * sysdeps/arm/configure: Regenerated.
15230         * sysdeps/nptl/configure.ac: Do not check
15231         libc_cv_asm_cfi_directives.
15232         * sysdeps/nptl/configure: Regenerated.
15233         * sysdeps/x86_64/nptl/configure.ac: Remove file.
15234         * sysdeps/x86_64/nptl/configure: Remove generated file.
15235         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
15236         unconditional.
15237         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
15239 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15241         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
15242         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
15243         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
15244         it is defined.
15246         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
15247         instead of whether it is defined.
15248         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
15249         * sysdeps/hppa/dl-machine.h: Likewise.
15250         * sysdeps/ia64/dl-machine.h: Likewise.
15251         * sysdeps/m68k/dl-machine.h: Likewise.
15252         * sysdeps/microblaze/dl-machine.h: Likewise.
15253         * sysdeps/mips/dl-machine.: Likewise.
15254         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15255         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15256         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15257         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15258         * sysdeps/sh/dl-machine.h: Likewise.
15259         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15260         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15261         * sysdeps/tile/dl-machine.h: Likewise.
15262         * sysdeps/x86_64/dl-machine.h: Likewise.
15264         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
15265         code.
15266         (verify_persistent_db): Likewise.
15268 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15270         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
15271         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
15272         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
15273         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
15274         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15275         Moved ...
15276         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
15277         ... here.
15278         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
15279         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
15280         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
15281         Identical file removed.
15282         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
15283         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
15284         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
15285         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
15286         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
15287         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
15288         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
15289         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
15290         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
15291         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
15292         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15293         Moved ...
15294         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
15295         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
15296         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
15297         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
15298         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
15299         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15300         Moved ...
15301         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
15302         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
15303         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
15304         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
15305         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
15306         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15307         Identical file removed.
15308         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
15309         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
15310         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
15311         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
15312         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15313         Moved ...
15314         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
15315         ... here.
15316         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
15317         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
15318         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
15319         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
15320         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
15321         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
15322         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
15323         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
15324         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
15325         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
15326         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15327         Moved ...
15328         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
15329         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
15330         Moved ...
15331         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
15332         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
15333         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
15334         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15335         Moved ...
15336         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
15337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
15338         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
15340         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
15341         folded into ...
15342         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
15343         * sysdeps/unix/sysv/linux/s390/Versions
15344         (libpthread: GLIBC_2.19): New version set.
15345         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
15346         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
15347         (librt: GLIBC_2.3.3): New version set.
15348         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
15349         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
15350         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
15351         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
15352         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
15353         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
15354         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
15355         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
15356         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
15357         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
15358         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
15359         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
15360         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
15361         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
15362         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
15363         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
15364         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
15365         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
15366         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
15367         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
15368         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
15369         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
15370         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
15371         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
15372         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
15373         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
15374         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
15375         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
15376         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
15377         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
15378         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
15379         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
15380         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
15381         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
15382         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
15383         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
15384         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
15385         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
15386         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
15387         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
15388         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
15389         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
15390         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
15391         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
15392         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
15394         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
15395         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
15396         (__libc_vfork): Define the function under this name.
15397         [!NOT_IN_libc] (__vfork): Make this an alias.
15398         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
15399         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
15400         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
15401         (__libc_vfork): Define the function under this name.
15402         [!NOT_IN_libc] (__vfork): Make this an alias.
15403         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
15404         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
15405         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
15406         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
15407         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
15408         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15410         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
15411         code that was previously under [RESET_PID].
15412         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
15413         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
15414         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
15416         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
15417         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
15418         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
15419         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
15420         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
15421         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
15422         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
15423         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
15424         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
15425         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
15426         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
15427         Moved ...
15428         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
15429         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
15430         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
15431         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
15432         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
15433         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
15434         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
15435         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
15436         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
15437         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
15438         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
15439         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
15440         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
15441         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
15442         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
15443         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
15444         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
15445         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
15446         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
15447         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
15448         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
15449         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
15450         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
15451         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
15452         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
15453         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
15454         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
15455         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
15456         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
15458 2014-06-25  Roland McGrath  <roland@hack.frob.com>
15460         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
15461         that was previously under [RESET_PID].
15462         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
15464 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15466         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
15467         not undefine and redefine.
15468         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
15469         [O_CLOEXEC]: Make code unconditional.
15470         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
15471         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
15472         <kernel-features.h>.
15473         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
15474         conditional variable definition.
15475         (shm_open) [O_CLOEXEC]: Make code unconditional.
15476         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
15477         code.
15479         * configure.ac (USE_REGPARMS): Don't define here.
15480         * configure: Regenerated.
15481         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
15482         * sysdeps/i386/configure: Regenerated.
15484         * nptl/createthread.c: Don't include kernel-features.h.
15485         * nptl/pthread_cancel.c: Likewise.
15486         * nptl/pthread_condattr_setclock.c: Likewise.
15487         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
15488         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
15489         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
15490         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
15491         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
15492         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
15493         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
15494         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
15495         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
15496         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
15497         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
15498         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
15499         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
15500         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
15501         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
15502         * nscd/gai.c: Likewise.
15503         * nss/nss_db/db-open.c: Likewise.
15504         * sysdeps/generic/ldsodefs.h: Likewise.
15505         * sysdeps/sh/nptl/tls.h: Likewise.
15506         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15507         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
15508         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
15509         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
15510         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
15511         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15512         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
15513         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15514         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15515         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
15516         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
15517         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15518         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
15519         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
15520         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
15521         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
15522         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15523         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
15524         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
15525         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
15526         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
15527         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
15528         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
15529         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
15530         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
15531         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
15532         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
15533         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
15534         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
15535         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
15536         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
15537         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15538         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15539         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15540         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15541         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15542         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15543         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15544         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
15545         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15546         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15547         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
15548         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
15549         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15550         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
15551         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
15552         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
15553         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
15554         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
15555         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
15556         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
15557         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
15558         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
15559         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15560         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
15561         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15562         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
15563         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
15564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
15566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
15567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
15568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
15569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
15570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
15571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
15572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
15575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
15576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
15577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
15578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
15580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
15584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
15585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
15586         * sysdeps/unix/sysv/linux/pread.c: Likewise.
15587         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
15588         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
15589         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
15590         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
15591         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
15592         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
15593         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
15594         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
15595         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15596         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15597         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15598         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
15599         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
15600         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
15601         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
15602         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15603         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
15604         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
15605         * sysdeps/unix/sysv/linux/system.c: Likewise.
15606         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
15607         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
15608         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15609         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15610         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15611         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15612         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15614         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
15615         * configure: Regenerated.
15616         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
15618         * configure.ac (base_machine): Do not set specially for particular
15619         machines here.
15620         * configure: Regenerated.
15621         * sysdeps/powerpc/preconfigure: Move machine and base_machine
15622         settings from configure.ac.
15623         * sysdeps/i386/preconfigure: New file.
15624         * sysdeps/s390/preconfigure: Likewise.
15625         * sysdeps/sh/preconfigure: Likewise.
15626         * sysdeps/sparc/preconfigure: Likewise.
15628 2014-06-25  Roland McGrath  <roland@hack.frob.com>
15630         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
15631         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
15632         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
15633         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
15634         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
15635         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
15636         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
15637         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
15638         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
15639         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
15640         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
15641         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
15642         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
15643         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
15644         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
15645         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
15646         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
15647         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
15648         * sysdeps/sparc/sparc64/Makefile: ... appended here.
15650         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
15651         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
15652         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
15653         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
15654         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
15655         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
15656         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
15657         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
15658         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
15659         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
15660         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
15661         * sysdeps/sparc/sparc32/sem_post.c: ... here.
15662         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
15663         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
15664         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
15665         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
15666         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
15667         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
15668         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
15669         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
15670         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
15671         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
15672         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
15673         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
15674         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
15675         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
15676         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
15677         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
15678         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
15679         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
15680         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
15681         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
15682         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
15683         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
15684         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
15685         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
15686         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
15687         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
15689         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
15690         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
15691         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
15692         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
15693         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15694         Moved ...
15695         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15696         ... here.
15697         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
15698         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
15699         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
15700         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
15701         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
15702         Moved ...
15703         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
15704         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
15705         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
15706         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
15707         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
15708         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
15709         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
15710         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15711         Moved ...
15712         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
15713         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15714         Moved ...
15715         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
15716         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
15717         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
15718         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15719         Moved ...
15720         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
15721         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
15722         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
15723         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
15724         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
15725         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
15726         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
15727         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
15728         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
15729         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15730         Moved ...
15731         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
15732         ... here.
15733         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
15734         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
15735         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
15736         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
15737         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
15738         Moved ...
15739         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
15740         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
15741         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
15742         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
15743         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
15744         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
15745         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
15746         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15747         Moved ...
15748         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
15749         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15750         Moved ...
15751         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
15752         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
15753         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
15754         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15755         Moved ...
15756         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
15757         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
15758         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
15759         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
15760         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
15762 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15764         * timezone/checktab.awk: Update from tzcode 2014e.
15765         * timezone/private.h: Likewise.
15766         * timezone/tzfile.h: Likewise.
15767         * timezone/zdump.c: Likewise.
15768         * timezone/zic.c: Likewise.
15770         * sysdeps/unix/sysv/linux/kernel-features.h
15771         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
15772         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
15773         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
15774         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15775         Remove conditional code.
15777 2014-06-25  Will Newton  <will.newton@linaro.org>
15779         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
15780         (_dl_arm_cap_flags): Add HWCAP2 values.
15781         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
15782         (_DL_HWCAP_COUNT): Increase to 37.
15783         (_DL_HWCAP_LAST): New define.
15784         (_DL_HWCAP2_LAST): New define.
15785         (_dl_procinfo): Add support for printing
15786         AT_HWCAP2 entries.
15787         (_dl_string_hwcap): Use _dl_hwcap_string.
15789 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15791         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15793 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15795         * README: Do not mention ports directory.
15797         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
15798         Remove macro.
15799         * sysdeps/unix/sysv/linux/futimes.c: Do not include
15800         <kernel-features.h>.
15801         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
15802         conditional variable definition.
15803         (__futimes): Update comment.
15804         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
15805         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
15807         [BZ #16560]
15808         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
15809         arguments close to 0.
15810         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
15811         Likewise.
15812         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
15813         Likewise.
15814         * math/auto-libm-test-in: Add more tests of exp10.
15815         * math/auto-libm-test-out: Regenerated.
15816         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15818         * sysdeps/unix/sysv/linux/kernel-features.h
15819         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
15820         * sysdeps/unix/sysv/linux/readv.c: Do not include
15821         <kernel-features.h>.
15822         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15823         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15824         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15825         unconditional.
15826         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15827         conditional code.
15828         * sysdeps/unix/sysv/linux/writev.c: Do not include
15829         <kernel-features.h>.
15830         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15831         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15832         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15833         unconditional.
15834         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15835         conditional code.
15837 2014-06-25  Will Newton  <will.newton@linaro.org>
15839         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
15840         comment changes throughout the file.  Remove checks
15841         for HAVE_*_H definitions that are not required.
15842         (__gen_tempname): Call abort if an unknown kind value is
15843         passed.
15845 2014-06-25  Andreas Schwab  <schwab@suse.de>
15847         [BZ #17086]
15848         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
15849         scalbln, scalblnf, scalblnl in libc.
15851 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15853         [BZ #17086]
15854         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
15855         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15856         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15858 2014-06-24  Roland McGrath  <roland@hack.frob.com>
15860         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
15861         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
15862         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
15863         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
15864         Update #include.
15865         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
15866         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
15867         Update #include.
15868         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
15869         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
15870         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
15871         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
15872         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
15873         * sysdeps/x86/bits/pthreadtypes.h: ... here.
15874         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
15875         * sysdeps/x86/bits/semaphore.h: ... here.
15876         * sysdeps/x86/nptl/elide.h: Moved ...
15877         * sysdeps/x86/elide.h: ... here.
15878         * sysdeps/x86_64/nptl/Implies: File removed.
15879         * sysdeps/i386/nptl/Implies: File removed.
15881 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
15883         [BZ #16539]
15884         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
15885         return the argument for normal arguments with exponent below -64.
15886         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15887         Likewise.
15888         * math/auto-libm-test-in: Add another test of expm1.
15889         * math/auto-libm-test-out: Regenerated.
15891         [BZ #16287]
15892         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
15893         calling __erfcl for arguments at least 16.
15894         * math/auto-libm-test-in: Add more tests of erf.
15895         * math/auto-libm-test-out: Regenerated.
15897         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
15898         individual architectures.
15899         * sysdeps/unix/sysv/linux/configure: Regenerated.
15900         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
15901         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
15902         * sysdeps/unix/sysv/linux/powerpc/configure.ac
15903         (ldd_rewrite_script): Define variable.
15904         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
15906         file.
15907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
15908         generated file.
15909         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
15910         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
15911         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
15912         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
15913         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
15914         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
15915         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
15916         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
15918 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15920         [BZ #17084]
15921         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
15922         Rename member __data.d to __data.__elision_data.
15924 2014-06-24  Wilco  <wdijkstr@arm.com>
15926         * NEWS: Add 16918 to fixed bug list.
15928 2014-06-24  Wilco  <wdijkstr@arm.com>
15930         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
15932 2014-06-24  Wilco  <wdijkstr@arm.com>
15934         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
15935         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
15936         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
15937         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
15938         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
15939         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
15940         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
15941         Use _FPU_MASK_RM.
15943 2014-06-24  Wilco  <wdijkstr@arm.com>
15945         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
15947 2014-06-24  Wilco  <wdijkstr@arm.com>
15949         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
15950         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
15951         * sysdeps/arm/fesetround.c (fesetround): Remove space.
15952         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
15954 2014-06-24  Wilco  <wdijkstr@arm.com>
15956         [BZ #16918]
15957         * sysdeps/arm/feupdateenv.c (feupdateenv):
15958         Rewrite to reduce FPSCR accesses and fix return value.
15960 2014-06-24  Wilco  <wdijkstr@arm.com>
15962         * sysdeps/arm/fclrexcpt.c (feclearexcept):
15963         Optimize to avoid unnecessary FPSCR writes.
15964         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
15965         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
15966         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
15967         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
15969 2014-06-24  Wilco  <wdijkstr@arm.com>
15971         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
15972         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
15973         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
15974         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
15975         Call libc_fetestexcept_vfp.
15976         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
15977         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
15978         __SOFTFP__ ifdef so that they can be built for softfp.
15980 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15982         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
15983         argument type signed char.
15985         * Makerules (check-abi): Dump diff of symlist if the test
15986         fails.
15988 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15990         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
15991         using abort.
15993         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15994         Remove unused variable ST.
15996 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
15998         [BZ #16354]
15999         [BZ #17061]
16000         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
16001         small arguments before calling __expm1.
16002         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
16003         small arguments before calling __expm1f.
16004         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
16005         small arguments before calling __expm1l.
16006         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16007         Likewise.
16008         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
16009         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
16010         spurious underflow for some cosh tests.
16011         * math/auto-libm-test-out: Regenerated.
16012         * sysdeps/i386/fpu/libm-test-ulps: Update.
16014         [BZ #17050]
16015         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
16016         (__ieee754_y1): Set errno if return value overflows.
16017         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
16018         (__ieee754_y1f): Set errno if return value overflows.
16019         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
16020         (__ieee754_y1l): Set errno if return value overflows.
16021         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
16022         (__ieee754_y1l): Set errno if return value overflows.
16023         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
16024         * math/auto-libm-test-out: Regenerated.
16026         * math/gen-auto-libm-tests.c: Document use of
16027         ignore-zero-inf-sign.
16028         (input_flag_type): Add value flag_ignore_zero_inf_sign.
16029         (input_flags): Add ignore-zero-inf-sign.
16030         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
16031         * math/gen-libm-test.pl (generate_testfile): Handle
16032         ignore-zero-inf-sign.
16033         * math/auto-libm-test-in: Mark some cpow tests with
16034         ignore-zero-inf-sign and some with xfail-rounding.
16035         * math/auto-libm-test-out: Regenerated.
16036         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
16037         * sysdeps/i386/fpu/libm-test-ulps: Update.
16038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16040         [BZ #16315]
16041         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
16042         overflowing or underflowing operations take place with sign of
16043         result.
16044         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16045         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16046         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
16047         (__ieee754_pow): Recompute overflowing and underflowing results in
16048         original rounding mode.
16049         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
16050         (__powl_helper): Allow negative argument X and scale negated value
16051         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
16052         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
16053         overflowing or underflowing operations take place with sign of
16054         result.
16055         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
16056         Include <math.h>.
16057         * math/auto-libm-test-in: Add more tests of pow.
16058         * math/auto-libm-test-out: Regenerated.
16059         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
16060         (pow_tonearest_test_data): Remove.
16061         (pow_test_tonearest): Likewise.
16062         (pow_towardzero_test_data): Likewise.
16063         (pow_test_towardzero): Likewise.
16064         (pow_downward_test_data): Likewise.
16065         (pow_test_downward): Likewise.
16066         (pow_upward_test_data): Likewise.
16067         (pow_test_upward): Likewise.
16068         (main): Don't call removed functions.
16069         * sysdeps/i386/fpu/libm-test-ulps: Update.
16070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16072 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
16075         Moved ...
16076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
16077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16078         Moved ...
16079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
16080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16081         Moved ...
16082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
16083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16084         Moved ...
16085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
16086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16087         File removed.
16088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16089         File removed.
16090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
16091         File removed.
16092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
16093         File removed.
16094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
16095         File removed.
16096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
16097         File removed.
16098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
16099         File removed.
16100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16101         File removed.
16102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
16103         File removed.
16104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16105         File removed.
16106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
16107         File removed.
16108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
16109         File removed.
16110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
16111         Moved ...
16112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
16113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
16114         Moved ...
16115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
16116         ... here.
16117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
16118         Moved ...
16119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
16120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
16121         Moved ...
16122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
16123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
16124         Moved ...
16125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
16126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
16127         Moved ...
16128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
16129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
16130         Moved ...
16131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
16132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
16133         Moved ...
16134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
16135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
16136         Moved ...
16137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
16138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
16139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
16140         ... here.
16141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
16142         Moved ...
16143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
16144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16145         Moved ...
16146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16147         ... here.
16148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
16149         Moved ...
16150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16151         ... here.
16152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16153         Moved ...
16154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
16155         ... here.
16156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16157         Moved ...
16158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
16159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16160         Moved ...
16161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
16162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
16163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
16164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16165         Moved ...
16166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
16167         ... here.
16168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16169         Moved ...
16170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
16171         ... here.
16172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16173         Moved ...
16174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
16175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16176         Moved ...
16177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
16178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16179         Moved ...
16180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
16181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16182         Moved ...
16183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
16184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16185         Moved ...
16186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
16187         ... here.
16188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16189         Moved ...
16190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
16191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16192         Moved ...
16193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
16194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16195         Moved ...
16196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
16197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16198         Moved ...
16199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
16200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
16201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
16202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16203         Moved ...
16204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
16205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16206         Moved ...
16207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
16208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16209         Moved ...
16210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
16211         ... here.
16212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16213         Moved ...
16214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
16215         ... here.
16216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16217         Moved ...
16218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
16219         ... here.
16220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16221         Moved ...
16222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
16223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16224         Moved ...
16225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
16226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16227         Moved ...
16228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
16229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16230         Moved ...
16231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
16232         ... here.
16233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16234         Moved ...
16235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
16236         ... here.
16237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16238         Moved ...
16239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
16240         ... here.
16241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16242         Moved ...
16243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
16244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16245         Moved ...
16246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
16248 2014-06-23  Will Newton  <will.newton@linaro.org>
16249             Wilco  <wdijkstr@arm.com>
16251         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
16252         implementation.  Include get-rounding-mode.h.
16253         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
16254         [!libc_feholdsetround_noex_ctx]: Define
16255         libc_feholdsetround_noex_ctx.
16256         [!libc_feholdsetround_noexf_ctx]: Define
16257         libc_feholdsetround_noexf_ctx.
16258         [!libc_feholdsetround_noexl_ctx]: Define
16259         libc_feholdsetround_noexl_ctx.
16260         (libc_feholdsetround_ctx): New function.
16261         (libc_feresetround_ctx): New function.
16262         (libc_feholdsetround_noex_ctx): New function.
16263         (libc_feresetround_noex_ctx): New function.
16265 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16267         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
16268         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
16269         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
16270         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
16271         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
16272         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
16274         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
16275         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
16276         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
16277         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
16278         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
16279         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
16280         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
16281         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
16282         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
16283         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
16284         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
16285         Moved ...
16286         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
16287         ... here.
16288         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
16289         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
16290         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
16291         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
16292         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
16293         Moved ...
16294         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
16295         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
16296         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
16297         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
16298         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
16299         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
16300         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
16301         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
16302         Moved ...
16303         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
16304         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
16305         Moved ...
16306         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
16307         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
16308         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
16309         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
16310         Moved ...
16311         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
16312         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
16313         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
16314         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
16315         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
16316         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
16317         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
16318         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
16319         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
16320         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
16321         Moved ...
16322         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
16323         ... here.
16324         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
16325         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
16326         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
16327         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
16328         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
16329         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
16330         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
16331         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
16332         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
16333         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
16334         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
16335         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
16336         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
16337         Moved ...
16338         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
16339         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
16340         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
16341         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
16342         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
16343         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
16344         Moved ...
16345         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
16346         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
16347         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
16348         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
16349         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
16351         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
16352         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
16353         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
16354         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
16355         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
16356         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
16357         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
16358         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
16359         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
16360         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
16361         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
16362         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
16363         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
16364         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
16365         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
16366         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
16367         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
16368         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
16369         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
16370         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
16371         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
16372         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
16373         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
16374         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
16375         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
16376         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
16377         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
16378         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
16380 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
16382         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
16383         (FALLOC_FL_COLLAPSE_RANGE): New macro.
16384         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
16385         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
16386         (IPV6_PMTUDISC_INTERFACE): Likewise.
16387         (IPV6_PMTUDISC_OMIT): Likewise.
16389 2014-06-23  Andreas Schwab  <schwab@suse.de>
16391         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
16392         Remove unused errout label.
16394 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16396         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
16397         macro: hardware supports Vector Crypto instructions.
16399 2014-06-23  Will Newton  <will.newton@linaro.org>
16401         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
16402         rather than __builtin_expect.
16404         * elf/dl-lookup.c (undefined_msg): Remove variable.
16405         (_dl_lookup_symbol_x): Replace undefined_msg with string
16406         literal.
16408         * elf/dl-lookup.c (do_lookup_unique): New function.
16409         (do_lookup_x): Move STB_GNU_UNIQUE handling code
16410         to a separate function.
16412 2014-06-23  Andreas Schwab  <schwab@suse.de>
16414         [BZ #17079]
16415         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
16416         before reading the next line.
16418 2014-06-23  Will Newton  <will.newton@linaro.org>
16420         * test-skeleton.c (signal_handler): Use printf and %m
16421         rather than perror.  Use printf rather than fprintf to
16422         stderr.  Use puts rather than fputs to stderr.
16423         (main): Likewise.
16425 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
16427         * nscd/nscd.c (thread_info_t): Remove typedef.
16428         (thread_info): Remove variable.
16430 2014-06-21  Allan McRae  <allan@archlinux.org>
16432         * NEWS: Mention CVE-2014-4043.
16434 2014-06-20  Roland McGrath  <roland@hack.frob.com>
16436         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
16437         * nptl/smp.h: ... here.
16439         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
16441         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
16442         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
16443         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
16444         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
16446         * nptl/allocatestack.c: Include <stack-aliasing.h>.
16447         * nptl/stack-aliasing.h: New file.
16448         * sysdeps/i386/i686/stack-aliasing.h: New file.
16449         * sysdeps/i386/i686/nptl/Makefile: File removed.
16450         * sysdeps/x86_64/stack-aliasing.h: New file.
16451         * sysdeps/x86_64/nptl/Makefile
16452         (CFLAGS-pthread_create.c): Variable removed.
16454         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
16455         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
16456         old file.
16457         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
16458         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
16459         old file.
16461 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
16463         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16464         (__ASSUME_SIGFRAME_V2): Remove macro.
16465         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
16466         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
16467         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
16468         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
16469         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
16470         Declare as function.  Remove conditional macro definitions.
16471         (__default_rt_sa_restorer): Likewise.
16472         (__default_sa_restorer_v1): Remove declaration.
16473         (__default_sa_restorer_v2): Likewise.
16474         (__default_rt_sa_restorer_v1): Likewise.
16475         (__default_rt_sa_restorer_v2): Likewise.
16476         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
16477         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
16478         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
16480 2014-06-20  Roland McGrath  <roland@hack.frob.com>
16482         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
16483         (libpthread-routines): Add sysdep.
16484         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
16485         * sysdeps/unix/sysv/linux/sparc/Versions
16486         (libpthread: GLIBC_2.3.3): New version set.
16487         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
16488         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
16489         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
16490         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
16491         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
16492         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
16493         Moved ...
16494         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
16495         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
16496         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
16497         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
16498         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
16499         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
16500         * sysdeps/sparc/nptl/sem_init.c: ... here.
16501         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
16502         * sysdeps/sparc/nptl/sem_post.c: ... here.
16503         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
16504         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
16505         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
16506         * sysdeps/sparc/nptl/sem_wait.c: ... here.
16507         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
16508         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
16509         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
16510         (libpthread-routines): Add cpu_relax.
16511         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
16512         File removed.
16513         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
16514         (librt: GLIBC_2.3.3): New version set.
16515         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
16516         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
16517         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
16518         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
16519         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
16520         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
16521         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
16522         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
16523         Moved ...
16524         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
16525         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
16526         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
16527         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
16528         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
16529         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
16530         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
16531         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
16532         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
16533         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
16534         Moved ...
16535         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
16536         Update #include.
16537         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
16538         Moved ...
16539         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
16540         Update #include.
16541         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
16542         Moved ...
16543         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
16544         Update #include.
16545         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
16546         Moved ...
16547         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
16548         Update #include.
16549         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
16550         Moved ...
16551         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
16552         Update #include.
16553         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
16554         Moved ...
16555         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
16556         Update #include.
16557         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
16558         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
16559         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
16560         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
16561         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
16562         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
16563         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
16564         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
16565         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
16566         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
16567         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16568         Moved ...
16569         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
16570         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
16571         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
16572         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
16573         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
16575 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16577         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
16578         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
16579         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
16580         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
16581         * nscd/nscd.c: Likewise.
16582         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
16583         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
16584         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
16585         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
16587         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
16588         <kernel-features.h>.
16589         (init_mq_netlink): Remove conditional have_sock_cloexec
16590         definitions.  Remove code conditional on have_sock_cloexec < 0.
16591         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
16592         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
16593         * sysdeps/unix/sysv/linux/opensock.c: Do not include
16594         <kernel-features.h>.
16595         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
16596         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
16598 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
16600         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16601         Add tests for memset_chk and memset.
16603         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
16604         with AVX2_Usable.
16606 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
16608         [BZ #16046]
16609         * elf/tst-dl-iter-static.c: New file.
16610         * elf/Makefile (tests-static): Add tst-dl-iter-static.
16612         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
16613         error.
16615 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16617         * sysdeps/unix/sysv/linux/kernel-features.h
16618         (__ASSUME_F_GETOWN_EX): Remove macro.
16619         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
16620         <kernel-features.h>.
16621         (miss_F_GETOWN_EX): Remove variable or macro.
16622         (do_fcntl): Do not check miss_F_GETOWN_EX.
16623         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
16625         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
16626         Remove macro.
16627         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
16628         [!__ASSUME_AT_RANDOM]: Remove conditional code.
16629         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
16631         * sysdeps/unix/sysv/linux/kernel-features.h
16632         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
16633         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
16634         [ADJ_OFFSET_SS_READ]: Make code unconditional.
16635         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
16637 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
16639         [BZ #17075]
16640         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
16641         Fix calculation of the symbol's value.
16642         * sysdeps/arm/tst-armtlsdescloc.c: New file.
16643         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
16644         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
16645         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
16646         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
16647         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
16648         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
16649         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
16650         (modules-names): Add `tst-armtlsdescmod',
16651         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
16652         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
16653         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16654         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
16655         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
16656         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16657         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
16658         ($(objpfx)tst-armtlsdescloc): New dependency.
16659         ($(objpfx)tst-armtlsdescextnow): Likewise.
16660         ($(objpfx)tst-armtlsdescextlazy): Likewise.
16661         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
16662         TLS scheme support.
16663         * sysdeps/arm/configure: Regenerate.
16665 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16667         * include/fcntl.h (__atfct_seterrno): Remove prototype.
16668         (__atfct_seterrno_2): Likewise.
16669         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
16670         <kernel-features.h>.
16671         (__ASSUME_ATFCTS): Do not undefine and redefine.
16672         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
16673         (__have_atfcts): Remove conditional definition.
16674         (__fxstatat([__NR_fstatat64]: Make code unconditional.
16675         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
16676         unreachable if [__ASSUME_ATFCTS].
16677         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
16678         not undefine and redefine.
16679         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
16680         <kernel-features.h>.
16681         (faccessat) [__NR_faccessat]: Make code unconditional.
16682         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
16683         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
16684         <kernel-features.h>.
16685         (fchmodat) [__NR_fchmodat]: Make code unconditional.
16686         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16687         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
16688         <kernel-features.h>.
16689         (fchownat) [__NR_fchownat]: Make code unconditional.
16690         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
16691         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
16692         <kernel-features.h>.
16693         (futimesat) [__NR_futimesat]: Make code unconditional.
16694         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
16695         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
16696         <kernel-features.h>.
16697         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16698         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16699         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
16700         <kernel-features.h>.
16701         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
16702         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16703         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
16704         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
16705         <kernel-features.h>.
16706         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
16707         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16708         * sysdeps/unix/sysv/linux/linkat.c: Do not include
16709         <kernel-features.h>.
16710         (linkat) [__NR_linkat]: Make code unconditional.
16711         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16712         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
16713         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
16714         <kernel-features.h>.
16715         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
16716         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16717         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
16718         <kernel-features.h>.
16719         (mkdirat) [__NR_mkdirat]: Make code unconditional.
16720         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
16721         * sysdeps/unix/sysv/linux/openat.c: Do not include
16722         <kernel-features.h>.
16723         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
16724         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
16725         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
16726         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
16727         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
16728         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
16729         <kernel-features.h>.
16730         (readlinkat) [__NR_readlinkat]: Make code unconditional.
16731         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
16732         result of INLINE_SYSCALL directly, not via int variable.
16733         * sysdeps/unix/sysv/linux/renameat.c: Do not include
16734         <kernel-features.h>.
16735         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
16736         (renameat) [__NR_renameat]: Make code unconditional.
16737         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
16738         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
16739         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
16740         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
16741         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
16742         (__ASSUME_ATFCTS): Do not undefine and redefine.
16743         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
16744         <kernel-features.h>.
16745         (symlinkat) [__NR_symlinkat]: Make code unconditional.
16746         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16747         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
16748         <kernel-features.h>.
16749         (unlinkat) [__NR_unlinkat]: Make code unconditional.
16750         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16751         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
16752         (__ASSUME_ATFCTS): Do not undefine and redefine.
16753         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
16754         <kernel-features.h>.
16755         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16756         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16757         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
16758         <kernel-features.h>.
16759         (__xmknodat) [__NR_mknodat]: Make code unconditional.
16760         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16762 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
16764         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
16766 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
16768         [BZ #17069]
16769         * posix/regcomp.c (parse_reg_exp): Deallocate partially
16770         constructed tree before returning error.
16771         * posix/bug-regexp36.c: Expand test case.
16773 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
16775         [BZ #6803]
16776         * math/libm-test.inc (scalbln_test_date):
16777         Add errno expectations.
16778         * math/w_scalblnf.c: New File.
16779         Add wrapper which checks for setting errno to ERANGE.
16780         Add weak_alias for corresponding scalbln function.
16781         * math/w_scalbln.c: Likewise.
16782         * math/w_scalblnl.c: Likewise.
16783         * math/Makefile (libm-calls): Add w_scalbln.
16784         * sysdeps/ieee754/flt-32/s_scalblnf.c:
16785         Remove weak_alias for corresponding scalbln function.
16786         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16787         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16788         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16789         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16790         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
16791         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16792         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
16793         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16794         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
16795         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
16796         Remove long_double_symbol for scalblnl function in libm, libc.
16797         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
16798         Add wrapper which checks for setting errno to ERANGE.
16799         Add long_double_symbol for scalblnl function in libm, libc.
16800         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
16801         Remove long_double_symbol for scalblnl in libm.
16802         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
16803         Add wrapper which checks for setting errno to ERANGE.
16804         Add long_double_symbol for scalblnl function in libm.
16805         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
16806         Do not use wrapper because of own implementation.
16808 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
16810         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
16811         3 bytes for __pad1 for x32.
16812         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
16814 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
16815             H.J. Lu  <hongjiu.lu@intel.com>
16817         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
16818         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
16819         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16820         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16821         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16823 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
16825         [BZ #17069]
16826         * posix/regcomp.c (parse_expression): Deallocate partially
16827         constructed tree before returning error.
16828         * posix/Makefile.c (tests): Add bug-regex36.
16829         (generated): Add bug-regex36.mtrace.
16830         (tests-special): Add $(objpfx)bug-regex36-mem.out
16831         (bug-regex36-ENV): New variable.
16832         ($(objpfx)bug-regex36-mem.out): New rule.
16833         * posix/bug-regex36.c: New file.
16835 2014-06-19  Will Newton  <will.newton@linaro.org>
16837         * malloc/malloc.c (systrim): If extra is zero then return
16838         early.
16840 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16842         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
16844 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
16846         * sysdeps/aarch64/strchr.S: New file.
16848 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
16850         [BZ #17022]
16851         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
16852         from arguments -2 or below.
16853         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16854         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
16856 2014-06-18  Andreas Schwab  <schwab@suse.de>
16858         [BZ #17062]
16859         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
16860         of a bracket expr not to run off the end of the string.
16861         * posix/Makefile (tests): Add tst-fnmatch3.
16862         * posix/tst-fnmatch3.c: New file.
16864 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
16866         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
16867         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16868         [$(cross-compiling) = no]: Likewise.
16869         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16870         [$(cross-compiling) = no]: Likewise.
16872 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16874         [BZ #17031]
16875         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
16876         double, adjusted for any remainder from the high double.
16877         * math/libm-test.inc (nearbyint): Add tests.
16878         (rint): Likewise.
16880 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16882         * nptl/sysdeps/powerpc/Makefile: Moved ...
16883         * sysdeps/powerpc/nptl/Makefile: ... here.
16884         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
16885         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
16886         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
16887         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
16888         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
16889         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
16890         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
16891         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
16892         * nptl/sysdeps/powerpc/tls.h: Moved ...
16893         * sysdeps/powerpc/nptl/tls.h: ... here.
16895 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
16897         [BZ #16681]
16898         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
16899         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
16900         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
16901         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
16902         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
16903         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
16904         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
16905         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
16906         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
16908 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
16910         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16912 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
16914         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
16915         defined operator.
16917         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
16918         $TIMEOUTFACTOR.
16920 2014-06-16  Florian Weimer  <fweimer@redhat.com>
16922         [BZ #17058]
16923         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
16924         non-executed part of the test.
16926 2014-06-16  Andreas Schwab  <schwab@suse.de>
16928         * string/bits/string2.h (strdup, strndup): Update feature guard.
16930 2014-06-14  David S. Miller  <davem@davemloft.net>
16932         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16934 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
16936         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
16937         that was previously under [RESET_PID].
16938         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
16940         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
16941         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
16942         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
16943         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16944         (__libc_vfork): New strong alias.
16945         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
16947 2014-06-14 Andi Kleen  <ak@linux.intel.com>
16949         * sysdeps/generic/elide.h: New file.
16951 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16953         * Makefile (installed-headers): Adjust path of pthread.h header.
16955 2014-06-13  Roland McGrath  <roland@hack.frob.com>
16957         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
16958         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
16959         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
16960         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
16962         * nptl/sysdeps/s390/Makefile: Moved ...
16963         * sysdeps/s390/nptl/Makefile: ... here.
16964         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
16965         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
16966         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
16967         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
16968         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
16969         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
16970         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
16971         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
16972         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
16973         * sysdeps/s390/nptl/pthreaddef.h: ... here.
16974         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
16975         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
16976         * nptl/sysdeps/s390/tls.h: Moved ...
16977         * sysdeps/s390/nptl/tls.h: ... here.
16979         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
16980         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
16982 2014-06-13  David S. Miller  <davem@davemloft.net>
16984         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
16985         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
16986         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
16987         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
16988         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
16989         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
16990         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
16991         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
16992         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
16993         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
16994         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
16995         Remove RESET_PID cpp guards.
16996         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
16997         Remove RESET_PID cpp guards.
16998         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
17000 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
17002         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
17003         __sp to uintptr_t.
17005 2014-06-13  Andi Kleen  <ak@linux.intel.com>
17007         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
17008         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
17009         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
17010         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
17011         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
17012         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
17013         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
17014         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
17015         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
17016         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
17017         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
17018         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
17019         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
17020         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
17021         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
17022         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
17023         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
17024         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
17025         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
17026         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
17028         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
17029         (pthread_rwlock_rdlock): Add elision.
17030         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
17031         (pthread_rwlock_wrlock): Add elision.
17032         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
17033         (pthread_rwlock_trywrlock): Add elision.
17034         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
17035         (pthread_rwlock_tryrdlock): Add elision.
17036         * nptl/pthread_rwlock_unlock.c: Include elide.h.
17037         (pthread_rwlock_tryrdlock): Add elision unlock.
17038         * nptl/sysdeps/pthread/pthread.h:
17039         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
17040         (PTHREAD_RWLOCK_INITIALIZER,
17041         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
17042         Handle new elision field.
17043         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
17044         * sysdeps/arm/nptl/bits/pthreadtypes.h
17045         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17046         * sysdeps/sh/nptl/bits/pthreadtypes.h
17047         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17048         * sysdeps/tile/nptl/bits/pthreadtypes.h
17049         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17050         * sysdeps/a/nptl/bits/pthreadtypes.h
17051         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17052         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17053         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17054         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17055         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17056         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
17057         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17058         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17059         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17060         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17061         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17062         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17063         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17064         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17065         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17066         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
17067         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17068         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
17069         (elision_init): Set try_xbegin to zero when no RTM.
17070         * sysdeps/x86/nptl/bits/pthreadtypes.h
17071         (pthread_rwlock_t): Change __pad1 to __rwelision.
17072         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17074 2014-06-13  Andi Kleen  <ak@linux.intel.com>
17076         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
17077         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
17078         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
17079         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
17081 2014-06-13  Meador Inge  <meadori@codesourcery.com>
17083         [BZ #16996]
17084         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
17085         that the cached result has been set before returning it.
17087 2014-06-12  Roland McGrath  <roland@hack.frob.com>
17089         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
17090         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
17091         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
17092         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
17093         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
17094         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
17096         * nptl/sysdeps/sparc/Makefile: Moved ...
17097         * sysdeps/sparc/nptl/Makefile: ... here.
17098         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
17099         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
17100         * nptl/sysdeps/sparc/tls.h: Moved ...
17101         * sysdeps/sparc/nptl/tls.h: ... here.
17102         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
17103         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
17104         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
17105         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
17106         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
17107         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
17108         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
17109         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
17110         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
17111         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
17112         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
17113         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
17114         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
17115         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
17116         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
17117         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
17118         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
17119         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
17120         Update #include.
17121         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
17122         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
17123         Update #include.
17124         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
17125         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
17126         Update #include.
17127         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
17128         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
17129         Update #include.
17131         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17133         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
17134         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
17136         * sysdeps/pthread/posix-timer.h: Include <list.h>.
17137         (struct list_links): Type removed.
17138         (struct thread_node, struct timer_node): Replace struct list_links
17139         with struct list_head.
17140         (list_unlink_ip): Likewise.
17141         * sysdeps/pthread/timer_routines.c
17142         (timer_free_list, thread_free_list, thread_active_list): Likewise.
17143         (list_append, list_insbefore): Likewise.
17144         (list_init): Function removed.
17145         (thread_init, init_module): Use INIT_LIST_HEAD instead.
17146         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
17147         * sysdeps/pthread/Makefile: ... here, new file.
17149         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
17150         * sysdeps/nptl/Implies: ... here.
17151         * sysdeps/unix/sysv/linux/Implies: Add nptl.
17152         * nptl/sysdeps/pthread/list.h: Moved ...
17153         * include/list.h: ... here.
17154         * nptl/sysdeps/pthread/createthread.c: Moved ...
17155         * nptl/createthread.c: ... here.
17156         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
17157         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
17158         * nptl/pt-longjmp.c: ... here.
17159         * nptl/sysdeps/pthread/Makefile: Moved ...
17160         * sysdeps/nptl/Makefile: ... here.
17161         * nptl/sysdeps/pthread/Subdirs: Moved ...
17162         * sysdeps/nptl/Subdirs: ... here.
17163         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
17164         * sysdeps/nptl/aio_misc.h: ... here.
17165         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
17166         * sysdeps/nptl/bits/libc-lock.h: ... here.
17167         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
17168         * sysdeps/nptl/bits/libc-lockP.h: ... here.
17169         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
17170         * sysdeps/nptl/bits/stdio-lock.h: ... here.
17171         * nptl/sysdeps/pthread/configure: Moved ...
17172         * sysdeps/nptl/configure: ... here.
17173         * nptl/sysdeps/pthread/configure.ac: Moved ...
17174         * sysdeps/nptl/configure.ac: ... here.
17175         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
17176         * sysdeps/nptl/gai_misc.h: ... here.
17177         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
17178         * sysdeps/nptl/librt-cancellation.c: ... here.
17179         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
17180         * sysdeps/nptl/malloc-machine.h: ... here.
17181         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
17182         * sysdeps/nptl/pthread-functions.h: ... here.
17183         * nptl/sysdeps/pthread/pthread.h: Moved ...
17184         * sysdeps/nptl/pthread.h: ... here.
17185         * nptl/sysdeps/pthread/setxid.h: Moved ...
17186         * sysdeps/nptl/setxid.h: ... here.
17187         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
17188         * sysdeps/nptl/sigfillset.c: ... here.
17189         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
17190         * sysdeps/nptl/tcb-offsets.h: ... here.
17191         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
17192         * sysdeps/nptl/tst-mqueue8x.c: ... here.
17193         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
17194         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
17195         * nptl/sysdeps/pthread/allocalim.h: Moved ...
17196         * sysdeps/pthread/allocalim.h: ... here.
17197         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
17198         * sysdeps/pthread/bits/sigthread.h: ... here.
17199         * nptl/sysdeps/pthread/flockfile.c: Moved ...
17200         * sysdeps/pthread/flockfile.c: ... here.
17201         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
17202         * sysdeps/pthread/ftrylockfile.c: ... here.
17203         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
17204         * sysdeps/pthread/funlockfile.c: ... here.
17205         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
17206         * sysdeps/pthread/posix-timer.h: ... here.
17207         * nptl/sysdeps/pthread/timer_create.c: Moved ...
17208         * sysdeps/pthread/timer_create.c: ... here.
17209         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
17210         * sysdeps/pthread/timer_delete.c: ... here.
17211         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
17212         * sysdeps/pthread/timer_getoverr.c: ... here.
17213         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
17214         * sysdeps/pthread/timer_gettime.c: ... here.
17215         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
17216         * sysdeps/pthread/timer_routines.c: ... here.
17217         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
17218         * sysdeps/pthread/timer_settime.c: ... here.
17219         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
17220         * sysdeps/pthread/tst-timer.c: ... here.
17221         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
17222         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
17224         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
17225         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
17227         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
17228         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
17229         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
17230         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
17231         Update #include target.
17232         * nptl/sysdeps/i386/i686/Makefile: Moved ...
17233         * sysdeps/i386/i686/nptl/Makefile: ... here.
17234         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
17235         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
17236         Update #include target.
17237         * nptl/sysdeps/i386/i686/tls.h: Moved ...
17238         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
17239         * nptl/sysdeps/i386/Makefile: Moved ...
17240         * sysdeps/i386/nptl/Makefile: ... here.
17241         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
17242         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
17243         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
17244         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
17245         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
17246         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
17247         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
17248         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
17249         * sysdeps/i386/nptl/pthreaddef.h: ... here.
17250         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
17251         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
17252         * nptl/sysdeps/i386/tls.h: Moved ...
17253         * sysdeps/i386/nptl/tls.h: ... here.
17255         * sysdeps/sh/Makefile [$(subdir) = csu]
17256         (gen-as-const-headers): Add tcb-offsets.sym.
17257         * nptl/sysdeps/sh/Makefile: File removed.
17258         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
17259         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
17260         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
17261         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
17262         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
17263         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
17264         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
17265         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
17266         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
17267         * sysdeps/sh/nptl/pthreaddef.h: ... here.
17268         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
17269         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
17270         * nptl/sysdeps/sh/tls.h: Moved ...
17271         * sysdeps/sh/nptl/tls.h: ... here.
17272         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
17273         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
17274         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
17275         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
17276         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
17277         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
17278         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
17279         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
17280         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
17281         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
17282         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
17283         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
17284         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
17285         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
17286         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
17287         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
17288         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
17289         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
17290         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
17291         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
17292         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
17293         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
17294         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
17295         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
17296         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
17297         Moved ...
17298         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
17299         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
17300         Moved ...
17301         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
17302         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
17303         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
17304         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
17305         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
17306         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
17307         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
17308         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
17309         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
17310         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
17311         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
17312         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
17313         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
17314         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
17315         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
17316         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
17317         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
17318         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
17319         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
17321 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17323         * posix/spawn_faction_addopen.c: Include string.h.
17325 2014-06-11  Roland McGrath  <roland@hack.frob.com>
17327         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
17328         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
17329         * nptl/sysdeps/x86_64/Makefile: Moved ...
17330         * sysdeps/x86_64/nptl/Makefile: ... here.
17331         * nptl/sysdeps/x86_64/configure: Moved ...
17332         * sysdeps/x86_64/nptl/configure: ... here.
17333         * nptl/sysdeps/x86_64/configure.ac: Moved ...
17334         * sysdeps/x86_64/nptl/configure.ac: ... here.
17335         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
17336         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
17337         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
17338         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
17339         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
17340         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
17341         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
17342         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
17343         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
17344         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
17345         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
17346         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
17347         * nptl/sysdeps/x86_64/tls.h: Moved ...
17348         * sysdeps/x86_64/nptl/tls.h: ... here.
17349         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
17350         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
17351         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
17352         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
17354         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
17356 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17358         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17360 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
17362         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
17363         type.
17364         [POSIX] (off_t): Likewise.
17365         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
17366         [POSIX] (S_ISBLK): Require macro.
17367         [POSIX] (S_ISCHR): Likewise.
17368         [POSIX] (S_ISDIR): Likewise.
17369         [POSIX] (S_ISFIFO): Likewise.
17370         [POSIX] (S_ISREG): Likewise.
17371         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
17372         optional-macro.
17373         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
17374         type.
17375         [POSIX] (time_t): Likewise.
17376         [POSIX] (timer_t): Likewise.
17378 2014-06-11  Florian Weimer  <fweimer@redhat.com>
17380         [BZ #17048]
17381         * posix/spawn_int.h (struct __spawn_action): Make the path string
17382         non-const to support deallocation.
17383         * posix/spawn_faction_addopen.c
17384         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
17385         * posix/spawn_faction_destroy.c
17386         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
17387         path in all spawn_do_open actions.
17388         * posix/tst-spawn.c (do_test): Exercise the copy operation in
17389         posix_spawn_file_actions_addopen.
17391 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
17393         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
17394         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
17395         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
17396         conditional code always true.
17397         (__libc_vfork): New alias.
17399 2014-06-11  Roland McGrath  <roland@hack.frob.com>
17401         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17402         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
17404         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
17406         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17407         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
17409         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17410         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
17412         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17413         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
17415 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
17417         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
17418         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
17419         multiarch strcmp for PPC64.
17420         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
17421         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
17422         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
17423         multiarch optimizations.
17424         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17425         (__libc_ifunc_impl_list): Likewise.
17427 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17429         * benchtests/scripts/validate_benchout.py: New script.
17430         * benchtests/Makefile (bench-func): Call it.
17431         * benchtests/scripts/benchout.schema.json: New file.
17433 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
17435         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
17436         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
17437         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
17438         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
17439         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
17440         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
17441         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
17442         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
17443         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
17444         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
17445         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
17446         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
17447         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
17448         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
17449         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
17450         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
17451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
17452         Moved ...
17453         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
17454         ... here.
17455         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
17456         Moved ...
17457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
17458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
17459         Moved ...
17460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
17461         ... here.
17462         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
17463         Moved ...
17464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
17465         ... here.
17466         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
17467         Moved ...
17468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
17469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
17470         Moved ...
17471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
17472         ... here.
17473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
17474         Moved ...
17475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
17476         ... here.
17477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
17478         Moved ...
17479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
17480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
17481         Moved ...
17482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
17483         ... here.
17484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
17485         Moved ...
17486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
17487         ... here.
17488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
17489         Moved ...
17490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
17491         ... here.
17492         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
17493         Moved ...
17494         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
17495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
17496         Moved ...
17497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
17498         ... here.
17499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
17500         Moved ...
17501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
17502         ... here.
17503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
17504         Moved ...
17505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
17506         ... here.
17507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
17508         Moved ...
17509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
17510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
17511         Moved ...
17512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
17513         ... here.
17514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
17515         Moved ...
17516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
17517         ... here.
17518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
17519         Moved ...
17520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
17521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
17522         Moved ...
17523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
17524         ... here.
17525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
17526         Moved ...
17527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
17528         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
17529         Moved ...
17530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
17531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
17532         Moved ...
17533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
17534         ... here.
17535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
17536         Moved ...
17537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
17538         ... here.
17539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
17540         Moved ...
17541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
17542         ... here.
17543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
17544         Moved ...
17545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
17546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
17547         Moved ...
17548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
17549         ... here.
17550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
17551         Moved ...
17552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
17553         ... here.
17554         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
17555         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
17556         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
17557         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
17558         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
17559         Moved ...
17560         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17561         ... here.
17562         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
17563         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
17564         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
17565         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
17566         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
17567         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
17568         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
17569         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
17570         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
17571         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
17572         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
17573         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
17574         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
17575         Moved ...
17576         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
17577         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
17578         Moved ...
17579         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
17580         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
17581         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
17582         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
17583         Moved ...
17584         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
17585         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
17586         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
17587         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
17588         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
17589         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
17590         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
17592 2014-06-10  Wilco  <wdijkstr@arm.com>
17594         * math/test-fenv-return.c: New file.
17595         * math/Makefile: Add new test test-fenv-return.
17597 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
17599         [BZ #17042]
17600         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
17601         when x - 1 is zero.
17602         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
17603         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
17604         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
17605         0.0L for an argument of 1.0L.
17606         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
17607         Likewise.
17608         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
17609         value when x - 1 is zero.
17610         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
17611         * sysdeps/i386/fpu/libm-test-ulps: Update.
17612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17614 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
17616         [BZ #15119]
17617         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
17619 2014-06-09  Roland McGrath  <roland@hack.frob.com>
17621         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
17622         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
17624 2014-06-09  Roland McGrath  <roland@hack.frob.com>
17626         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17627         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
17629         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17630         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
17632         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17633         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
17635         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17636         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
17638         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
17639         if not already defined.
17640         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
17641         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
17642         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
17643         (TLS_INIT_TP): Use it.
17644         (TLS_DEFINE_INIT_TP): New macro.
17645         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
17647 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
17649         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
17650         constant.
17651         [POSIX] (IXANY): Likewise.
17652         [POSIX] (OLCUC): Likewise.
17653         [POSIX || POSIX2008] (CBAUD): Do not allow.
17654         [POSIX || POSIX2008] (DEFECHO): Likewise.
17655         [POSIX || POSIX2008] (ECHOCTL): Likewise.
17656         [POSIX || POSIX2008] (ECHOKE): Likewise.
17657         [POSIX || POSIX2008] (ECHOPRT): Likewise.
17658         [POSIX || POSIX2008] (EXTA): Likewise.
17659         [POSIX || POSIX2008] (EXTB): Likewise.
17660         [POSIX || POSIX2008] (FLUSHO): Likewise.
17661         [POSIX || POSIX2008] (LOBLK): Likewise.
17662         [POSIX || POSIX2008] (PENDIN): Likewise.
17663         [POSIX || POSIX2008] (SWTCH): Likewise.
17664         [POSIX || POSIX2008] (VDISCARD): Likewise.
17665         [POSIX || POSIX2008] (VDSUSP): Likewise.
17666         [POSIX || POSIX2008] (VLNEXT): Likewise.
17667         [POSIX || POSIX2008] (VREPRINT): Likewise.
17668         [POSIX || POSIX2008] (VSTATUS): Likewise.
17669         [POSIX || POSIX2008] (VWERASE): Likewise.
17670         (B*): Change to B[0123456789]*.
17671         * conform/data/time.h-data [POSIX || UNIX98]
17672         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
17673         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17674         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
17675         [POSIX] (tm_*): Do not allow.
17677 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
17679         * Makefile (install): Don't set LANGUAGE.
17680         * Makefile.in (install): Likewise.
17681         * assert/Makefile (test-assert-ENV): Remove variable.
17682         (test-assert-perr-ENV): Likewise.
17683         * elf/Makefile (neededtest4-ENV): Likewise.
17684         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17685         [$(cross-compiling) = no]: Don't set LANGUAGE.
17686         * io/ftwtest-sh (LANG): Remove variable.
17687         * libio/Makefile (tst-widetext-ENV): Likewise.
17688         * manual/install.texi (Running make install): Don't refer to
17689         environment settings for make install.
17690         * INSTALL: Regenerated.
17691         * nptl/tst-tls6.sh: Don't set LANG.
17692         * posix/globtest.sh (LANG): Remove variable.
17693         * string/Makefile (tester-ENV): Likewise.
17694         (inl-tester-ENV): Likewise.
17695         (noinl-tester-ENV): Likewise.
17696         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17697         [$(cross-compiling) = no]: Don't set LANGUAGE.
17698         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
17699         without explicit environment settings.
17701 2014-06-06  Roland McGrath  <roland@hack.frob.com>
17703         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
17704         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
17705         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
17706         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
17708 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
17710         * crypt/crypt-private.h [DOS]: Add some includes taken from the
17711         other files in the crypt directory.
17712         * crypt/crypt.c: Remove duplicate includes.
17713         * crypt/crypt-entry.c: Likewise.
17714         * crypt/crypt_util.c: Likewise.
17716 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
17718         * Makeconfig (run-program-env): New variable.
17719         (run-program-prefix-before-env): Likewise.
17720         (run-program-prefix-after-env): Likewise.
17721         (run-program-prefix): Define in terms of new variables.
17722         (built-program-cmd-before-env): New variable.
17723         (built-program-cmd-after-env): Likewise.
17724         (built-program-cmd): Define in terms of new variables.
17725         (test-program-prefix-before-env): New variable.
17726         (test-program-prefix-after-env): Likewise.
17727         (test-program-prefix): Define in terms of new variables.
17728         (test-program-cmd-before-env): New variable.
17729         (test-program-cmd-after-env): Likewise.
17730         (test-program-cmd): Define in terms of new variables.
17731         * Rules (make-test-out): Use $(run-program-env).
17732         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
17733         (help): Do not mention environment variables.  Mention
17734         --timeoutfactor option.
17735         (timeoutfactor): New variable.
17736         (blacklist_exports): Remove function.
17737         (exports): Remove variable.
17738         (command): Do not include ${exports}.
17739         * manual/install.texi (Configuring and compiling): Do not mention
17740         test wrappers preserving environment variables.  Mention that last
17741         assignment to a variable must take precedence.
17742         * INSTALL: Regenerated.
17743         * benchtests/Makefile (run-bench): Use $(run-program-env).
17744         * catgets/Makefile ($(objpfx)test1.cat): Use
17745         $(built-program-cmd-before-env), $(run-program-env) and
17746         $(built-program-cmd-after-env).
17747         ($(objpfx)test2.cat): Do not specify environment variables
17748         explicitly.
17749         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
17750         $(run-program-env) and $(built-program-cmd-after-env).
17751         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
17752         $(run-program-env) and $(test-program-cmd-after-env).
17753         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
17754         explicitly.
17755         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
17756         run_program_env and test_program_cmd_after_env arguments.
17757         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
17758         * elf/tst-pathopt.sh: Use run_program_env argument.
17759         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
17760         $(test-wrapper-env) and $(run-program-env).
17761         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
17762         run_program_env arguments.
17763         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
17764         * intl/Makefile ($(objpfx)tst-gettext.out): Use
17765         $(test-program-prefix-before-env), $(run-program-env) and
17766         $(test-program-prefix-after-env).
17767         ($(objpfx)tst-gettext2.out): Likewise.
17768         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
17769         run_program_env and test_program_prefix_after_env arguments.
17770         * intl/tst-gettext2.sh: Likewise.
17771         * intl/tst-gettext4.sh: Do not set environment variables
17772         explicitly.
17773         * intl/tst-gettext6.sh: Likewise.
17774         * intl/tst-translit.sh: Likewise.
17775         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
17776         $(test-program-prefix-before-env), $(run-program-env) and
17777         $(test-program-prefix-after-env).
17778         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
17779         run_program_env and test_program_prefix_after_env arguments.
17780         * math/Makefile (run-regen-ulps): Use $(run-program-env).
17781         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
17782         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
17783         explicitly with each use of ${test_wrapper_env}.
17784         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
17785         $(test-program-prefix-before-env), $(run-program-env) and
17786         $(test-program-prefix-after-env).
17787         * posix/tst-getconf.sh: Do not set environment variables
17788         explicitly.
17789         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
17790         run_program_env and test_program_prefix_after_env arguments.
17791         * stdio-common/tst-printf.sh: Do not set environment variables
17792         explicitly.
17793         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
17794         $(test-program-prefix-before-env), $(run-program-env) and
17795         $(test-program-prefix-after-env).
17796         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
17797         run_program_env and test_program_prefix_after_env arguments.
17798         Split $test calls into $test_pre and $test.
17799         * timezone/Makefile (build-testdata): Use
17800         $(built-program-cmd-before-env), $(run-program-env) and
17801         $(built-program-cmd-after-env).
17803 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17805         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
17806         strlen for non SHARED builds.
17808 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17810         * nptl/allocatestack.c (check_list): Inlined function...
17811         (__reclaim_stacks): ... here.
17813 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
17815         [BZ #15698]
17816         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
17817         memory overrun.
17819 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
17821         * Rules (make-test-out): Include
17822         LOCPATH=$(common-objpfx)localedata in default environment.
17823         * debug/Makefile (tst-chk1-ENV): Remove variable.
17824         (tst-chk2-ENV): Likewise.
17825         (tst-chk3-ENV): Likewise.
17826         (tst-chk4-ENV): Likewise.
17827         (tst-chk5-ENV): Likewise.
17828         (tst-chk6-ENV): Likewise.
17829         (tst-lfschk1-ENV): Likewise.
17830         (tst-lfschk2-ENV): Likewise.
17831         (tst-lfschk3-ENV): Likewise.
17832         (tst-lfschk4-ENV): Likewise.
17833         (tst-lfschk5-ENV): Likewise.
17834         (tst-lfschk6-ENV): Likewise.
17835         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
17836         (tst-iconv7-ENV): Likewise.
17837         * intl/Makefile (LOCPATH-ENV): Likewise.
17838         (tst-codeset-ENV): Likewise.
17839         (tst-gettext3-ENV): Likewise.
17840         (tst-gettext5-ENV): Likewise.
17841         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
17842         (tst-fopenloc-ENV): Likewise.
17843         (tst-fgetws-ENV): Remove variable.
17844         (tst-ungetwc1-ENV): Likewise.
17845         (tst-ungetwc2-ENV): Likewise.
17846         (bug-ungetwc2-ENV): Likewise.
17847         (tst-swscanf-ENV): Likewise.
17848         (bug-ftell-ENV): Likewise.
17849         (tst-fgetwc-ENV): Likewise.
17850         (tst-fseek-ENV): Likewise.
17851         (tst-ftell-partial-wide-ENV): Likewise.
17852         (tst-ftell-active-handler-ENV): Likewise.
17853         (tst-ftell-append-ENV): Likewise.
17854         * posix/Makefile (tst-fnmatch-ENV): Likewise.
17855         (tst-regexloc-ENV): Likewise.
17856         (bug-regex1-ENV): Likewise.
17857         (tst-regex-ENV): Likewise.
17858         (tst-regex2-ENV): Likewise.
17859         (bug-regex5-ENV): Likewise.
17860         (bug-regex6-ENV): Likewise.
17861         (bug-regex17-ENV): Likewise.
17862         (bug-regex18-ENV): Likewise.
17863         (bug-regex19-ENV): Likewise.
17864         (bug-regex20-ENV): Likewise.
17865         (bug-regex22-ENV): Likewise.
17866         (bug-regex23-ENV): Likewise.
17867         (bug-regex25-ENV): Likewise.
17868         (bug-regex26-ENV): Likewise.
17869         (bug-regex30-ENV): Likewise.
17870         (bug-regex32-ENV): Likewise.
17871         (bug-regex33-ENV): Likewise.
17872         (bug-regex34-ENV): Likewise.
17873         (bug-regex35-ENV): Likewise.
17874         (tst-rxspencer-ENV): Likewise.
17875         (tst-rxspencer-no-utf8-ENV): Likewise.
17876         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
17877         (tst-sscanf-ENV): Likewise.
17878         (tst-swprintf-ENV): Likewise.
17879         (tst-swscanf-ENV): Likewise.
17880         (test-vfprintf-ENV): Likewise.
17881         (scanf13-ENV): Likewise.
17882         (bug14-ENV): Likewise.
17883         (tst-grouping-ENV): Likewise.
17884         * stdlib/Makefile (tst-strtod-ENV): Likewise.
17885         (tst-strtod3-ENV): Likewise.
17886         (tst-strtod4-ENV): Likewise.
17887         (tst-strtod5-ENV): Likewise.
17888         (testmb2-ENV): Likewise./
17889         * string/Makefile (tst-strxfrm-ENV): Likewise.
17890         (tst-strxfrm2-ENV): Likewise.
17891         (bug-strcoll1-ENV): Likewise.
17892         (test-strcasecmp-ENV): Likewise.
17893         (test-strncasecmp-ENV): Likewise.
17894         * time/Makefile (tst-strptime-ENV): Likewise.
17895         (tst-ftime_l-ENV): Likewise.
17896         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
17897         (tst-mbrtowc-ENV): Likewise.
17898         (tst-wcrtomb-ENV): Likewise.
17899         (tst-mbrtowc2-ENV): Likewise.
17900         (tst-c16c32-1-ENV): Likewise.
17901         (tst-mbsnrtowcs-ENV): Likewise.
17903 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
17905         * manual/resource.texi (How to get information about the memory
17906         subsystem?): Fix typo.
17907         Reported by Peon de la Parra Ivan <peon@keba.com>
17909 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
17911         [BZ #16882]
17912         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
17913         (pthread_spin_lock): Branch out of spin loop to proper location.
17914         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
17915         (pthread_spin_lock): Likewise.
17917         * nptl/tst-spin4.c: New test.
17918         * nptl/Makefile (tests): Add tst-spin4.
17920 2014-06-03  Andreas Schwab  <schwab@suse.de>
17922         [BZ #15946]
17923         * resolv/res_send.c (send_dg): Reload file descriptor after
17924         calling reopen.
17926 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
17928         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17930 2014-06-03  Richard Henderson  <rth@redhat.com>
17932         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
17933         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
17934         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
17935         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
17936         in the SAVE_PID block.
17937         (__libc_vfork): New alias.
17938         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
17940         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
17941         child in registers, not on the stack.  Remove RESET_PID conditionals.
17942         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
17944 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17946         * sysdeps/aarch64/libm-test-ulps: Regenerate.
17948 2014-06-03  Wilco  <wdijkstr@arm.com>
17950         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
17951         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
17952         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17953         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
17954         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
17955         Likewise.
17957 2014-06-03  Wilco  <wdijkstr@arm.com>
17959         * sysdeps/aarch64/fpu/math_private.h
17960         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
17961         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
17962         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
17963         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17964         Fix declarations.
17966 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17968         * crypt/crypt-private.h: Include ufc-crypt.h.
17969         (__b64_from_24bit): Declare extern.
17970         * crypt/crypt_util.c(__b64_from_24bit): New function.
17971         (b64t): New static const variable.
17972         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
17973         (b64t): Remove variable.
17974         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
17975         * crypt/sha256-crypt.c: Include crypt-private.h.
17976         (b64t): Remove variable.
17977         (__sha256_crypt_r): Remove b64_from_24bit and replace
17978         with __b64_from_24bit.
17979         * crypt/sha512-crypt.c: Likewise.
17981 2014-06-02  Roland McGrath  <roland@hack.frob.com>
17983         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
17984         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
17985         Label the code __libc_vfork rather than __vfork.
17986         [!NOT_IN_libc] (vfork): Define as weak alias.
17987         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
17988         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
17989         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
17991 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17993         * malloc/malloc.c (malloc_info): Fix format specifier for
17994         n_mmaps.
17996 2014-06-02  Wilco  <wdijkstr@arm.com>
17998         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
17999         FPCR write.
18001 2014-06-02  Wilco  <wdijkstr@arm.com>
18003         [BZ #17009]
18004         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
18005         Rewrite to reduce FPCR/FPSR accesses.
18007 2014-06-01  David S. Miller  <davem@davemloft.net>
18009         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18011 2014-05-31  David S. Miller  <davem@davemloft.net>
18013         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
18014         to occur in round to nearest mode when |x| >= 2.0
18016 2014-05-30  Richard Henderson  <rth@twiddle.net>
18018         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
18019         (PSEUDO_RET_NOERRNO): Remove.
18020         (ret): Don't redefine.
18021         (ret_NOERRNO): Define in terms of ret.
18022         (ret_ERRVAL): Likewise.
18024         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
18025         use of PSEUDO_RET; perform the error check directly.
18027 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
18029         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
18030         with __int128_t.
18032 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18034         * malloc/malloc (malloc_info): Fix formatting.
18036 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18037             Roland McGrath  <roland@hack.frob.com>
18039         * malloc/malloc (malloc_info): Also print mmapped statistics.
18041 2014-05-30  Roland McGrath  <roland@hack.frob.com>
18043         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
18044         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
18046 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
18048         * malloc/malloc.c (malloc_info): Inline mi_arena.
18050 2014-05-29  Richard Henderson  <rth@twiddle.net>
18052         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
18053         Remove comma before expanding ASM_ARGS_##nr.
18054         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
18055         Make _x0 a strict output; make _x8 a strict input; adjust expansion
18056         of ASM_ARGS_##nr.
18057         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
18058         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
18059         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
18060         (ASM_ARGS_1): Add leading comma.
18062         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
18063         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
18064         to __errno_location.
18065         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
18066         Remove the expected plt for __errno_location.
18068         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18069         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
18070         call to __read_tp.
18072         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18073         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
18074         it and break it down.
18075         (DOCARGS_0, DOCARGS_1): Do nothing.
18076         (DOCARGS_2): Update to store into the new stack frame.
18077         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
18078         (UNDOCARGS_1): Update to restore from the new stack frame.
18079         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
18080         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
18082         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18083         (SINGLE_THREAD_P): New parameter for result regno.
18084         (PSEUDO): Update to match; use cbz instead of beq.
18086         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18087         Use ENTRY to define the _nocancel entry point.  Share the syscall
18088         and syscall error check paths with the cancel path.
18089         (PSEUDO_END): New.
18091         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
18092         whitespace; tabs before and after asm mnemonics.
18094 2014-05-29  Eric Wong  <normalperson@yhbt.net>
18096         [BZ #15132]
18097         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18098         Call fstat64 or stat64 internally, depending on arguments passed.
18099         Replace stat buffer argument with file descriptor argument.
18100         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
18101         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
18102         Pass fd to __internal_statvfs instead of calling fstat64.
18103         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
18104         Pass fd to __internal_statvfs64 instead of calling fstat64.
18105         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
18106         Pass -1 to __internal_statvfs instead of calling stat64.
18107         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
18108         Pass -1 to __internal_statvfs64 instead of calling stat64.
18110 2014-05-28  Roland McGrath  <roland@hack.frob.com>
18112         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
18113         that was previously under [RESET_PID].
18114         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
18116         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
18117         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
18119 2014-05-27  Roland McGrath  <roland@hack.frob.com>
18121         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
18123         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
18124         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
18126 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
18128         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
18130 2014-05-27  Andreas Schwab  <schwab@suse.de>
18132         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
18133         TLS_INIT_TP macro.
18134         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
18135         * elf/rtld.c (init_tls, dl_main): Likewise.
18136         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
18137         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
18138         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
18139         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
18140         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
18141         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
18142         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
18143         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
18144         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
18145         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
18146         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
18147         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
18148         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
18149         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
18150         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
18151         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
18152         * sysdeps/generic/tls.h: Update description.
18154 2014-05-27  Will Newton  <will.newton@linaro.org>
18156         [BZ #16990]
18157         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
18158         and restore r2 rather than just restoring.
18160 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18162         [BZ #16724]
18163         * libio/tst-ftell-append.c: New test case.
18164         * libio/Makefile (tests): Add test case.
18165         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
18166         append mode.
18167         * libio/wfileops.c (do_ftell_wide): Likewise.
18169 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18171         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18173         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
18174         ...
18175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
18176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18177         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
18178         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
18179         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
18180         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
18181         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
18182         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
18183         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
18184         Moved ...
18185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
18186         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
18187         Moved ...
18188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
18189         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
18190         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
18191         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
18192         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
18193         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
18194         ...
18195         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
18196         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
18197         Moved ...
18198         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
18199         here.
18200         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
18201         ...
18202         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
18203         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
18204         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
18206         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
18207         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
18208         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
18209         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
18211         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
18212         merge into ...
18213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
18214         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
18215         ...
18216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
18217         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
18218         ...
18219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
18220         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18221         Moved ...
18222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
18223         here.
18224         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18225         Moved ...
18226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
18227         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18228         Moved ...
18229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
18231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
18232         conditional [RESET_PID].
18233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
18234         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
18235         removed.
18236         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
18237         removed.
18239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
18240         <tcb-offsets.h>.
18241         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18242         (__libc_vfork): New strong alias.
18243         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
18244         removed.
18245         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
18246         Removed.
18248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
18249         <tcb-offsets.h>.
18250         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
18251         (__libc_vfork): New strong alias.
18252         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
18253         removed.
18254         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
18255         removed.
18257 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
18259         * malloc/malloc.c (mi_arena): New function.
18260         (malloc_info): Remove nested function mi_arena. Call non-nosted
18261         function mi_arena.
18263 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18265         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
18266         by insrwi.
18267         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
18268         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
18269         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
18270         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
18271         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
18272         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
18273         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
18275 2014-05-26  Andreas Schwab  <schwab@suse.de>
18277         [BZ #16984]
18278         * locale/programs/repertoire.c (repertoire_read): Add slash
18279         between I18NPATH element and file name.
18280         * locale/programs/locfile.c (locfile_read): Likewise.
18282 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18284         * nptl/pthread_mutexattr_settype.c
18285         (__pthread_mutexattr_settype):
18286         Disable lock elision for PTHREAD_MUTEX_NORMAL.
18288 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18290         * nptl/tst-mutex5 (do_test):
18291         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
18293 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18295         * benchtests/README: Document 'init' directive.
18296         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
18297         BENCH_INIT.
18298         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
18299         (parse_file): Recognize 'init' directive.
18301 2014-05-26  Kyle McMartin  <kyle@redhat.com>
18303         [BZ #16796]
18304         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
18305         alignment of struct pthread.
18307 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18309         [BZ #16878]
18310         * nscd/netgroupcache.c (addgetnetgrentX): Look for
18311         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18312         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
18313         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18315 2014-05-25  Richard Henderson  <rth@twiddle.net>
18317         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18318         (SINGLE_THREAD_P_PIC): Remove.
18319         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
18320         (SINGLE_THREAD_P_PIC): Remove.
18322         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
18323         branch to syscall error ...
18324         (PSEUDO): ... here.
18325         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
18326         from __local_syscall_error to .Lsyscall_error.
18327         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
18328         (SYSCALL_ERROR): Update label name.
18330         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18331         Do not use DOARGS/UNDOARGS.
18332         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
18333         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
18334         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
18335         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
18336         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
18338         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
18339         block comment.
18341         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
18342         define if !NOT_IN_libc.
18343         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
18344         define with non-default symbol versions.
18346 2014-05-23  Richard Henderson  <rth@twiddle.net>
18348         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
18349         (vfork, __vfork): Define via compat_symbol.
18351         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
18352         [!HAVE_IFUNC] (vfork_compat): Remove.
18353         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
18355 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
18357         [BZ #16978]
18358         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
18359         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
18360         variable.
18362 2014-05-23  Richard Henderson  <rth@twiddle.net>
18364         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
18365         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
18366         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
18367         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
18369         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
18370         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
18371         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
18372         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
18373         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
18374         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
18375         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
18376         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
18377         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
18378         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
18379         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
18380         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
18381         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
18382         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
18383         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
18384         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
18385         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
18386         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
18387         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
18388         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
18389         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
18390         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
18391         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
18392         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
18393         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
18394         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
18395         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
18396         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
18397         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
18398         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
18399         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
18400         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
18401         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
18402         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
18403         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
18404         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
18405         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
18406         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
18407         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
18408         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
18409         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
18410         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
18411         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
18412         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
18413         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
18414         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
18415         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
18416         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
18417         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
18418         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
18419         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
18420         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
18421         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
18422         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
18423         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
18424         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
18426         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
18427         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
18428         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
18429         before exiting on error.
18430         (__libc_vfork): New strong alias.
18431         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
18432         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
18434         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
18435         that was previously under [RESET_PID].
18436         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
18438         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
18440 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
18442         [BZ #16977]
18443         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
18444         value when x - 1 is zero.
18445         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
18446         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
18447         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
18448         0.0L for an argument of 1.0L.
18449         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
18450         Likewise.
18451         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
18452         value when x - 1 is zero.
18453         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
18454         * sysdeps/i386/fpu/libm-test-ulps: Update.
18455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18457 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
18459         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
18460         alphasort and versionsort.
18462 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18464         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
18465         macro.
18466         [copysignf]: Likewise.
18468 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18470         * crypt/md5-crypt.c: Fix formatting.
18472 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18474         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
18475         (b64_from_24bit): New function.
18477 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18479         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
18480         libc_hidden_builtin_def to ifunc.
18481         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18482         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
18484 2014-05-21  Roland McGrath  <roland@hack.frob.com>
18486         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
18487         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
18489 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
18491         * nscd/Depend (linuxthreads): Remove.
18492         (nptl): Add.
18493         * resolv/Depend (linuxthreads): Remove.
18494         * rt/Depend (linuxthreads): Remove.
18496         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
18497         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
18498         $(common-objpfx)elf/.
18499         (link-libc-before-gnulib): Likewise.
18500         (elfobjdir): Remove variable.
18501         * Makefile (install): Use $(elf-objpfx) instead of
18502         $(common-objpfx)elf/.
18503         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
18504         $(elfobjdir)/.
18505         (link-libc-deps): Likewise.
18506         ($(common-objpfx)libc.so): Likewise.
18507         ($(common-objpfx)linkobj/libc.so): Likewise.
18508         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
18509         instead of $(common-objpfx)elf/.
18510         (symbolic-link-list): Likewise.
18511         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18512         [$(cross-compiling) = no]: Likewise.
18513         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
18514         $(elfobjdir)/.
18515         (static-gnulib-arch): Likewise.
18516         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18517         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
18518         $(common-objpfx)elf/.
18520 2014-05-21  Richard Henderson  <rth@redhat.com>
18522         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18523         (SINGLE_THREAD_P): Use the correct width load.  Fold
18524         into the ldr offset.
18526         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
18527         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
18529 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
18531         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
18532         (libgcc_s_resume): Use __attribute_used__.
18533         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
18534         Likewise.
18536 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18538         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
18539         optimization when used with float constants.
18541         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18543 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
18545         [BZ #16915]
18546         * locale/nl_langinfo_l.c: Make direct reference to every
18547         _nl_current_CATEGORY symbol.
18548         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
18549         (tests-static): Add tst-langinfo-static.
18550         (tests-special): Add tst-langinfo-static.out.
18551         ($(objpfx)tst-langinfo.out): Redirect output.
18552         ($(objpfx)tst-langinfo-static.out): New.
18553         * localedata/tst-langinfo.sh: Send output to stdout.
18554         * localedata/tst-langinfo-static.c: New file.
18556         [BZ #16965]
18557         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
18558         when the shift amount is modulo the limb size.
18560 2014-05-20  Richard Henderson  <rth@redhat.com>
18562         [BZ #16967]
18563         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
18564         Change type of sa_flags from unsigned int to int.
18566         [BZ #16966]
18567         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
18569         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
18571 2014-05-20  Will Newton  <will.newton@linaro.org>
18573         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18574         Test the return value of the system call in the nocancel case.
18576 2014-05-20  Will Newton  <will.newton@linaro.org>
18577             Yvan Roux  <yvan.roux@linaro.org>
18579         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
18580         #include of asm/ptrace.h.
18581         (PTRACE_GET_THREAD_AREA): Remove #undef.
18582         (PTRACE_GETHBPREGS): Likewise.
18583         (PTRACE_SETHBPREGS): Likewise.
18584         (struct user_regs_struct): New structure.
18585         (struct user_fpsimd_struct): New structure.
18586         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
18587         #include of asm/ptrace.h and second #include of sys/user.h.
18588         (PTRACE_GET_THREAD_AREA): Remove #undef.
18589         (PTRACE_GETHBPREGS): Likewise.
18590         (PTRACE_SETHBPREGS): Likewise.
18591         (ELF_NGREG): Use new struct user_regs_struct.
18592         (elf_fpregset_t): Use new struct user_fpsimd_struct.
18594 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18596         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
18597         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
18599 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
18601         [BZ #16958]
18602         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
18603         membar to avoid block loads/stores to overlap previous stores.
18605 2014-05-17  Richard Henderson  <rth@redhat.com>
18607         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
18608         Create the __##syscall_name##_nocancel entry point.
18609         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
18610         Remove; let the sysdep-cancel.h code create it.
18612 2014-05-17  David S. Miller  <davem@davemloft.net>
18614         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
18615         Protect with __USE_GNU.
18616         (TIOCSET_TEMPT): Likewise.
18617         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
18618         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
18619         these are already provided in bits/ioctl-types.h
18621 2014-05-16  Roland McGrath  <roland@hack.frob.com>
18623         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
18624         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
18626         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
18627         Use wait4 regardless of [__NR_waitpid].
18629 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
18631         PR libgcc/60166
18632         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18633         (_FP_NANSIGN_Q): Set the quiet bit.
18635 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
18637         * benchtests/Makefile
18638         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
18639         not $(common-objpfx)math/libm.so.
18640         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
18641         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
18642         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
18643         $(common-objpfx)dlfcn/libdl.so.
18644         ($(objpfx)tst-audit8): Depend on $(libm), not
18645         $(common-objpfx)math/libm.so.
18646         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
18647         not $(common-objpfx)dlfcn/libdl.so.
18648         * math/Makefile
18649         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18650         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
18651         [$(build-shared) = yes].
18652         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
18653         $(common-objpfx)nptl/libpthread.so.
18654         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
18655         $(common-objpfx)math/libm.so$(libm.so-version) or
18656         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
18657         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
18658         $(common-objpfx)dlfcn/libdl.so.
18659         * setjmp/Makefile (link-libm): Remove variable.
18660         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
18661         * stdio-common/Makefile (link-libm): Remove variable.
18662         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
18663         * stdlib/Makefile (link-libm): Remove variable.
18664         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
18665         ($(objpfx)tst-strtod-round): Likewise.
18666         ($(objpfx)tst-tininess): Likewise.
18667         ($(objpfx)tst-strtod-underflow): Likewise.
18668         ($(objpfx)tst-strtod6): Likewise.
18669         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
18670         $(libdl), not $(common-objpfx)nptl/libpthread.so and
18671         $(common-objpfx)dlfcn/libdl.so.
18673 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18675         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
18676         BSD terminal modes definitions.
18678 2014-05-16  Roland McGrath  <roland@hack.frob.com>
18680         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
18681         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
18683         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
18684         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
18685         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
18686         Don't do #include_next.
18687         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
18688         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
18689         Don't do #include_next.
18690         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
18691         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
18692         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
18693         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
18695 2014-05-16  Allan McRae  <allan@archlinux.org>
18697         * po/sv.po: Update Swedish translation from translation project.
18699         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
18700         in sed expression.
18702 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
18704         [BZ #16917]
18705         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
18706         errno if the TIOCGPTN ioctl fails with an error different than
18707         EINVAL.
18708         * login/tst-ptsname.c: New file.
18709         * login/Makefile (tests): Add tst-ptsname.
18711         [BZ #16943]
18712         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
18713         and prlimit64.
18715 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18717         [BZ #16849]
18718         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
18719         herrno to return EAI_AGAIN.
18721 2014-05-14  Roland McGrath  <roland@hack.frob.com>
18723         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
18724         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
18725         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
18726         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
18727         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
18728         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
18729         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
18730         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
18731         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
18732         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
18733         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
18734         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
18735         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
18736         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
18737         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
18738         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
18739         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
18740         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
18741         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
18742         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
18743         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
18744         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
18745         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
18746         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
18747         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
18748         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
18749         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
18750         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
18751         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
18752         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
18753         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
18754         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
18755         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
18756         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
18757         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18758         Moved ...
18759         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
18760         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
18761         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
18762         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
18763         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
18764         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
18765         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
18766         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
18767         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
18768         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
18769         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
18770         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
18771         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
18772         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
18773         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
18774         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
18775         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
18776         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
18777         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
18778         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
18779         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
18780         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
18781         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
18782         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
18783         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
18784         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
18785         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
18786         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18787         Moved ...
18788         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
18789         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
18790         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
18791         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
18792         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
18793         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
18794         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
18795         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
18796         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
18797         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
18798         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
18799         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
18800         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
18801         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
18802         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
18803         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
18804         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
18805         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
18806         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
18807         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18808         Moved ...
18809         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
18810         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
18811         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
18813         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
18814         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
18815         (libpthread-sysdep_routines): Add elision-related stuff here instead.
18816         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
18817         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
18818         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
18819         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
18820         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
18821         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
18822         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
18823         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
18824         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
18825         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
18826         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
18827         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
18828         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
18829         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
18830         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
18831         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
18832         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
18833         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
18834         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
18835         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
18836         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
18837         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
18838         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
18839         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
18840         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
18841         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
18842         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
18843         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
18845         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
18846         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
18848         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
18849         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
18850         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
18851         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
18852         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
18853         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
18854         Moved ...
18855         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
18856         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
18857         Moved ...
18858         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
18859         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
18860         Moved ...
18861         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
18862         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
18863         Moved ...
18864         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
18865         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
18866         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
18867         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
18868         Moved ...
18869         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
18870         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
18871         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
18872         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
18873         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
18874         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
18875         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
18876         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
18877         Moved ...
18878         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
18879         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18880         Moved ...
18881         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18882         ... here.
18883         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
18884         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
18885         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
18886         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
18887         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18888         Moved ...
18889         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18890         ... here.
18891         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
18892         Moved ...
18893         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
18894         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
18895         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
18896         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
18897         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
18898         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
18899         Moved ...
18900         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
18901         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
18902         Moved ...
18903         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
18904         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
18905         Moved ...
18906         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
18907         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
18908         Moved ...
18909         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
18910         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
18911         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
18912         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
18913         Moved ...
18914         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
18915         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
18916         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
18917         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
18918         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
18919         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
18920         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
18921         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
18922         Moved ...
18923         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
18924         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18925         Moved ...
18926         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18927         ... here.
18928         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
18929         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
18930         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
18931         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
18932         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18933         Moved ...
18934         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18935         ... here.
18936         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
18937         Moved ...
18938         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
18939         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
18940         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
18941         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
18942         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
18943         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
18944         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
18945         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
18946         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
18947         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
18948         Moved ...
18949         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
18950         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
18951         Moved ...
18952         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
18953         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
18954         Moved ...
18955         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
18956         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
18957         Moved ...
18958         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
18959         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
18960         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
18961         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
18962         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
18963         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
18964         Moved ...
18965         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
18966         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
18967         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
18968         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
18969         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
18970         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
18971         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
18972         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
18973         Moved ...
18974         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
18975         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18976         Moved ...
18977         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18978         ... here.
18979         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
18980         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
18981         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
18982         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
18983         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18984         Moved ...
18985         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18986         ... here.
18987         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
18988         Moved ...
18989         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
18990         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
18991         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
18992         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
18993         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
18994         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
18995         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
18996         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
18997         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
18998         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
18999         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
19001         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
19002         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
19004         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
19005         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
19007         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
19008         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
19009         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
19010         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
19011         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
19012         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
19013         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
19014         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
19015         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
19016         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
19017         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
19018         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
19019         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
19020         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
19021         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
19022         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
19023         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
19024         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
19025         Moved ...
19026         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
19027         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
19028         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
19029         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
19030         Moved ...
19031         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
19032         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
19033         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
19034         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
19035         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
19036         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
19037         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
19038         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
19039         Moved ...
19040         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
19041         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
19042         Moved ...
19043         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
19044         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
19045         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
19046         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
19047         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
19048         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
19049         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
19050         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
19051         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
19052         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
19053         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
19054         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
19055         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
19056         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
19057         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
19058         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
19059         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
19061         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
19062         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
19063         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
19064         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
19065         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
19067         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
19068         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
19069         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
19070         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
19071         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
19072         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
19073         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
19074         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
19075         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
19076         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
19078         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
19079         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
19081         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
19082         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
19083         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
19084         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
19085         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
19086         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
19087         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
19088         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
19089         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
19090         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
19091         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
19092         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
19093         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
19094         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
19095         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
19096         Update #include.
19097         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
19098         Likewise.
19099         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19100         Likewise.
19101         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19102         Likewise.
19103         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19104         Likewise.
19105         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
19106         Likewise.
19107         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
19108         Likewise.
19109         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
19110         Likewise.
19111         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
19112         Likewise.
19113         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
19114         Likewise.
19115         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
19116         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
19117         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
19118         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
19119         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
19120         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
19121         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
19122         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
19123         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
19124         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
19125         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
19126         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
19127         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
19128         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
19129         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
19131         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
19132         that was previously under [RESET_PID].
19133         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19134         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
19135         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
19137         * sysdeps/i386/nptl/Implies: New file.
19138         * sysdeps/x86_64/nptl/Implies: New file.
19139         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
19140         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
19141         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
19142         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
19144         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
19145         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19146         (__libc_vfork): New strong alias.
19147         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
19148         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
19150         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
19151         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19152         (__libc_vfork): New strong alias.
19153         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
19154         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
19156         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
19157         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19158         (__libc_vfork): New strong alias.
19159         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
19160         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
19161         * nptl/pt-vfork.c: New file.
19162         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
19163         (libpthread: GLIBC_2.20): New version set (empty).
19165 2014-05-14  Will Newton  <will.newton@linaro.org>
19167         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
19168         rather than #if.
19170 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
19172         [BZ #16564]
19173         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
19174         arguments with exponent 65 or above.
19175         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
19176         arguments 0x1p113L or above.
19177         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
19178         to arguments 0x1p107L or above.
19179         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
19180         positive arguments with exponent 65 or above.
19181         * math/auto-libm-test-in: Add more tests of log1p.
19182         * math/auto-libm-test-out: Regenerated.
19184         [BZ #16928]
19185         * math/s_cacos.c (__cacos): Ensure zero real part of result from
19186         non-finite arguments is +0.
19187         * math/s_cacosf.c (__cacosf): Likewise.
19188         * math/s_cacosl.c (__cacosl): Likewise.
19189         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
19190         * sysdeps/i386/fpu/libm-test-ulps: Update.
19191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19193         [BZ #16927]
19194         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
19195         value.
19196         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19197         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
19198         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
19199         for explicit high bit of mantissa when testing for argument equal
19200         to 1.
19201         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
19202         * sysdeps/i386/fpu/libm-test-ulps: Update.
19203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19205         [BZ #16516]
19206         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
19207         (__erf): Scale by 16 instead of 8 in potentially underflowing
19208         case.  Ensure exception if result actually underflows.
19209         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
19210         (__erff): Scale by 16 instead of 8 in potentially underflowing
19211         case.  Ensure exception if result actually underflows.
19212         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
19213         (efx8): Remove variable.
19214         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19215         case.  Ensure exception if result actually underflows.
19216         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
19217         (efx8): Remove variable.
19218         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19219         case.  Ensure exception if result actually underflows.
19220         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
19221         (efx8): Remove variable.
19222         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19223         case.  Ensure exception if result actually underflows.
19224         * math/auto-libm-test-in: Add more tests of erf.
19225         * math/auto-libm-test-out: Regenerated.
19227 2014-05-14  Andreas Schwab  <schwab@suse.de>
19229         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
19230         Remove code conditionalized on USE___THREAD.
19232         * config.h.in (HAVE_PT_CHOWN): Define as 0.
19233         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
19234         not definedness.
19236 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
19238         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
19239         Define unconditionally.
19240         (__ASSUME_O_CLOEXEC): Likewise.
19241         (__ASSUME_SOCK_CLOEXEC): Likewise.
19242         (__ASSUME_IN_NONBLOCK): Likewise.
19243         (__ASSUME_PIPE2): Likewise.
19244         (__ASSUME_EVENTFD2): Likewise.
19245         (__ASSUME_SIGNALFD4): Likewise.
19246         (__ASSUME_DUP3): Likewise.
19247         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19248         (__ASSUME_DUP3): Do not define.
19249         (__ASSUME_EVENTFD2): Likewise.
19250         (__ASSUME_IN_NONBLOCK): Likewise.
19251         (__ASSUME_O_CLOEXEC): Likewise.
19252         (__ASSUME_PIPE2): Likewise.
19253         (__ASSUME_SIGNALFD4): Likewise.
19254         (__ASSUME_SOCK_CLOEXEC): Likewise.
19255         (__ASSUME_UTIMES): Undefine.
19256         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19257         (__ASSUME_UTIMES): Do not define.
19258         (__ASSUME_O_CLOEXEC): Likewise.
19259         (__ASSUME_SOCK_CLOEXEC): Likewise.
19260         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
19261         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
19262         0x020621].
19263         (__ASSUME_PIPE2): Likewise.
19264         (__ASSUME_EVENTFD2): Likewise.
19265         (__ASSUME_SIGNALFD4): Likewise.
19266         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
19267         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
19268         Do not define.
19269         (__ASSUME_EVENTFD2): Likewise.
19270         (__ASSUME_SIGNALFD4): Likewise.
19271         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19272         (__ASSUME_32BITUIDS): Likewise.
19273         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19274         (__ASSUME_IPC64): Likewise.
19275         (__ASSUME_ST_INO_64_BIT): Likewise.
19276         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
19277         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
19278         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19279         (__ASSUME_UTIMES): Do not define.
19280         (__ASSUME_PSELECT): Likewise.
19281         (__ASSUME_PPOLL): Likewise.
19282         (__ASSUME_O_CLOEXEC): Likewise.
19283         (__ASSUME_SOCK_CLOEXEC): Likewise.
19284         (__ASSUME_IN_NONBLOCK): Likewise.
19285         (__ASSUME_PIPE2): Likewise.
19286         (__ASSUME_EVENTFD2): Likewise.
19287         (__ASSUME_SIGNALFD4): Likewise.
19288         (__ASSUME_DUP3): Likewise.
19289         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19290         (__ASSUME_UTIMES): Likewise.
19291         (__ASSUME_O_CLOEXEC): Likewise.
19292         (__ASSUME_SOCK_CLOEXEC): Likewise.
19293         (__ASSUME_IN_NONBLOCK): Likewise.
19294         (__ASSUME_PIPE2): Likewise.
19295         (__ASSUME_EVENTFD2): Likewise.
19296         (__ASSUME_SIGNALFD4): Likewise.
19297         (__ASSUME_DUP3): Likewise.
19298         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19299         (__ASSUME_UTIMES): Likewise.
19300         (__ASSUME_O_CLOEXEC): Likewise.
19301         (__ASSUME_SOCK_CLOEXEC): Likewise.
19302         (__ASSUME_IN_NONBLOCK): Likewise.
19303         (__ASSUME_PIPE2): Likewise.
19304         (__ASSUME_EVENTFD2): Likewise.
19305         (__ASSUME_SIGNALFD4): Likewise.
19306         (__ASSUME_DUP3): Likewise.
19307         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
19308         Likewise.
19309         (__ASSUME_UTIMES): Likewise.
19310         (__ASSUME_EVENTFD2): Likewise.
19311         (__ASSUME_SIGNALFD4): Likewise.
19312         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19313         (__ASSUME_O_CLOEXEC): Likewise.
19314         (__ASSUME_SOCK_CLOEXEC): Likewise.
19315         (__ASSUME_IN_NONBLOCK): Likewise.
19316         (__ASSUME_PIPE2): Likewise.
19317         (__ASSUME_EVENTFD2): Likewise.
19318         (__ASSUME_SIGNALFD4): Likewise.
19319         (__ASSUME_DUP3): Likewise.
19320         (__ASSUME_UTIMES): Undefine.
19322         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
19323         feclearexcept.  Remove symbol versioning code.
19324         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
19325         symbol versioning code.
19326         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
19327         symbol versioning code.
19328         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
19329         feupdateenv.  Remove symbol versioning code.
19330         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
19331         fegetexceptflag.  Remove symbol versioning code.
19332         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
19333         fesetexceptflag.  Remove symbol versioning code.
19334         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
19335         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
19336         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
19337         (__posix_fadvise64_l32): Remove prototype.
19338         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
19339         code.
19341 2014-05-13  Roland McGrath  <roland@hack.frob.com>
19343         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
19344         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
19345         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
19346         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
19348 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
19350         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
19351         current working directory
19353 2014-05-13  Roland McGrath  <roland@hack.frob.com>
19355         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
19356         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
19357         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
19358         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
19359         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
19360         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
19361         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
19362         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
19363         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
19364         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
19365         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
19366         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
19367         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
19368         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
19369         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
19370         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
19371         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
19372         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
19373         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
19374         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
19375         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
19376         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
19377         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
19378         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
19379         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
19380         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
19381         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
19382         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
19383         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
19384         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
19385         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
19386         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
19387         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
19388         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
19389         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
19390         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
19391         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
19392         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
19393         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
19394         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
19395         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
19396         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
19398         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
19399         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
19401         * sysdeps/unix/sysv/linux/arm/Makefile
19402         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
19403         Add rt-aeabi_unwind_cpp_pr1.
19404         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
19405         Add nptl-aeabi_unwind_cpp_pr1.
19406         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
19407         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
19408         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
19409         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
19410         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
19411         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
19413         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
19414         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
19415         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
19416         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
19418         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
19419         Deconditionalize the code that was previously under [RESET_PID].
19420         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
19422         * sysdeps/generic/exit-thread.h: New file.
19423         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
19424         * include/unistd.h (__exit_thread): Remove declaration.
19425         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
19426         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
19427         * csu/libc-start.c: Include <exit-thread.h>.
19428         (LIBC_START_MAIN): Pass no argument to __exit_thread.
19429         * nptl/pthread_create.c: Include <exit-thread.h>.
19430         (start_thread): Call __exit_thread in place of __exit_thread_inline.
19431         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
19432         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
19433         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
19434         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
19435         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
19436         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
19437         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
19438         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
19439         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
19440         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
19441         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
19442         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
19443         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
19444         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
19445         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
19446         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
19448 2014-05-13  Andreas Schwab  <schwab@suse.de>
19450         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
19452 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
19454         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
19455         (__ASSUME_UTIMES): Do not condition on kernel version.
19456         (__ASSUME_PSELECT): Define unconditionally.
19457         (__ASSUME_PPOLL): Likewise.
19458         (__ASSUME_ATFCTS): Likewise.
19459         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
19460         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
19461         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
19462         (__ASSUME_UTIMENSAT): Define unconditionally.
19463         (__ASSUME_PRIVATE_FUTEX): Likewise.
19464         (__ASSUME_FALLOCATE): Likewise.
19465         (__ASSUME_O_CLOEXEC): Likewise.
19466         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
19467         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
19468         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
19469         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
19470         (__ASSUME_IN_NONBLOCK): Likewise.
19471         (__ASSUME_PIPE2): Likewise.
19472         (__ASSUME_EVENTFD2): Likewise.
19473         (__ASSUME_SIGNALFD4): Likewise.
19474         (__ASSUME_DUP3): Likewise.
19475         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19476         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
19477         (__ASSUME_AT_RANDOM): Likewise.
19478         (__ASSUME_PREADV): Likewise.
19479         (__ASSUME_PWRITEV): Likewise.
19480         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
19481         (__ASSUME_F_GETOWN_EX): Define unconditionally.
19482         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
19483         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19484         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
19485         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19486         (__ASSUME_O_CLOEXEC): Define unconditionally.
19487         (__ASSUME_PSELECT): Do not undefine conditionally.
19488         (__ASSUME_PPOLL): Likewise.
19489         (__ASSUME_ATFCTS): Likewise.
19490         (__ASSUME_SET_ROBUST_LIST): Likewise.
19491         (__ASSUME_UTIMENSAT): Likewise.
19492         (__ASSUME_FDATASYNC): Define unconditionally.
19493         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19494         (__ASSUME_SIGFRAME_V2): Likewise.
19495         )__ASSUME_EVENTFD2): Likewise.
19496         (__ASSUME_SIGNALFD4): Likewise.
19497         (__ASSUME_PSELECT): Do not undefine conditionally.
19498         (__ASSUME_PPOLL): Likewise.
19499         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19500         (__ASSUME_PSELECT): Define unconditionally.
19501         (__ASSUME_PPOLL): Likewise.
19502         (__ASSUME_O_CLOEXEC): Likewise.
19503         (__ASSUME_SOCK_CLOEXEC): Likewise.
19504         (__ASSUME_IN_NONBLOCK): Likewise.
19505         (__ASSUME_PIPE2): Likewise.
19506         (__ASSUME_EVENTFD2): Likewise.
19507         (__ASSUME_SIGNALFD4): Likewise.
19508         (__ASSUME_DUP3): Likewise.
19509         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19510         (__ASSUME_O_CLOEXEC): Likewise.
19511         (__ASSUME_SOCK_CLOEXEC): Likewise.
19512         (__ASSUME_IN_NONBLOCK): Likewise.
19513         (__ASSUME_PIPE2): Likewise.
19514         (__ASSUME_EVENTFD2): Likewise.
19515         (__ASSUME_SIGNALFD4): Likewise.
19516         (__ASSUME_DUP3): Likewise.
19517         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19518         (__ASSUME_EVENTFD2): Likewise.
19519         (__ASSUME_SIGNALFD4): Likewise.
19520         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19522 2014-05-12  Andreas Schwab  <schwab@suse.de>
19524         [BZ #16932]
19525         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
19526         (_nss_nis_gethostbyname4_r): Return error if item length is larger
19527         than maximum RPC packet size.
19528         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
19529         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
19530         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
19531         (_nss_nis_getservbyport_r): Likewise.
19533 2014-05-12  Will Newton  <will.newton@linaro.org>
19535         * malloc/Makefile (tests): Add tst-mallopt.
19536         * malloc/tst-mallopt.c: New file.
19538 2014-05-09  Roland McGrath  <roland@hack.frob.com>
19540         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
19541         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
19543 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19545         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
19546         (tst-tlsmod6.so): Likewise.
19548 2014-05-09  Roland McGrath  <roland@hack.frob.com>
19550         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
19552 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
19554         [BZ #16064]
19555         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
19556         and <dl-procinfo.h>.
19557         (__fegetenv): Save SSE state in envp->__eip if supported.
19558         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
19559         envp->__eip if supported.
19560         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
19561         and <dl-procinfo.h>.
19562         (__fesetenv): Always set __eip, __cs_selector, __opcode,
19563         __data_offset and __data_selector in environment to 0.  Set SSE
19564         state if supported.
19565         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19566         test-fenv-sse.
19567         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
19568         -mfpmath=sse.
19569         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
19571 2014-05-09  Will Newton  <will.newton@linaro.org>
19573         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
19574         and libc_relro_required for ARM.
19575         * sysdeps/arm/preconfigure: Regenerate.
19577 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
19578             Stefan Liebler  <stli@linux.vnet.ibm.com>
19580         * config.make.in (enable-lock-elision): New Makefile variable.
19581         * configure.ac: Likewise.
19582         * configure: Regenerate.
19583         * sysdeps/s390/configure.ac:
19584         Add check for gcc transactions support.
19585         * sysdeps/s390/configure: Regenerate.
19586         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
19587         Build elision files if enabled.
19588         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
19589         Add lock elision support for s390.
19590         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19591         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
19592         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
19593         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
19594         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
19595         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19596         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
19597         Likewise.
19598         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
19599         Likewise.
19600         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
19601         Likewise.
19602         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
19603         Likewise.
19604         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
19605         (__lll_timedlock_elision, __lll_lock_elision)
19606         (__lll_unlock_elision, __lll_trylock_elision)
19607         (lll_timedlock_elision, lll_lock_elision)
19608         (lll_unlock_elision, lll_trylock_elision): Add.
19609         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19610         (pthread_mutex_t): Add lock elision support for s390.
19612 2014-05-14  Wilco  <wdijkstr@arm.com>
19614         * sysdeps/arm/fclrexcpt.c: Cleanup.
19615         * sysdeps/arm/fedisblxcpt.c: Cleanup.
19616         * sysdeps/arm/feenablxcpt.c: Cleanup.
19617         * sysdeps/arm/fegetenv.c: Cleanup.
19618         * sysdeps/arm/fegetexcept.c: Cleanup.
19619         * sysdeps/arm/fegetround.c: Cleanup.
19620         * sysdeps/arm/feholdexcpt.c: Cleanup.
19621         * sysdeps/arm/fesetenv.c: Cleanup.
19622         * sysdeps/arm/fesetround.c: Cleanup.
19623         * sysdeps/arm/feupdateenv.c: Cleanup.
19624         * sysdeps/arm/fgetexcptflg.c: Cleanup.
19625         * sysdeps/arm/fraiseexcpt.c: Cleanup.
19626         * sysdeps/arm/fsetexcptflg.c: Cleanup.
19627         * sysdeps/arm/ftestexcept.c: Cleanup.
19628         * sysdeps/arm/get-rounding-mode.h: Cleanup.
19629         * sysdeps/arm/setfpucw.c: Cleanup.
19631 2014-05-09  Will Newton  <will.newton@linaro.org>
19633         * sysdeps/arm/armv7/strcmp.S: New file.
19634         * NEWS: Mention addition of ARMv7 optimized strcmp.
19636 2014-05-08  Roland McGrath  <roland@hack.frob.com>
19638         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
19639         look for %.ac rather than %.in.
19641         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
19642         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
19643         * sysdeps/mach/hurd/configure: Regenerated.
19644         * sysdeps/unix/sysv/linux/configure: Regenerated.
19646         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
19648 2014-05-07  Steve Ellcey  <sellcey@mips.com>
19650         [BZ# 16922]
19651         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
19652         (LONG_SUB): Ditto.
19653         (PTR_SUB): Ditto.
19655 2014-05-07  Andreas Schwab  <schwab@suse.de>
19657         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
19658         when skipping over non-matching result from nscd.
19660 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
19662         [BZ #16876]
19663         * nptl/sockperf.c (client): Check socket return value.
19665         [BZ #16877]
19666         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
19667         nscd security class.
19669 2014-05-06  Roland McGrath  <roland@hack.frob.com>
19671         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
19672         * sysdeps/arm/unwind.h: ... here.
19674 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
19676         [BZ# 16916]
19677         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
19678         Define.
19680 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19682         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
19683         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
19684         multiarch strncpy for PPC64.
19685         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
19686         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
19687         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
19688         multiarch optimizations.
19689         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19690         (__libc_ifunc_impl_list): Likewise.
19691         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
19692         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
19693         multiarch stpncpy for PPC64.
19694         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
19695         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
19697 2014-05-06  Andreas Schwab  <schwab@suse.de>
19699         [BZ #16912]
19700         * gmon/mcount.c (_MCOUNT_DECL): Use
19701         atomic_compare_and_exchange_bool_acq instead of
19702         catomic_compare_and_exchange_bool_acq.
19704 2014-05-05  Roland McGrath  <roland@hack.frob.com>
19706         * elf/Makefile (others, install-bin): Remove pldd.
19707         (pldd-modules): Variable removed.
19708         ($(objpfx)pldd): Target removed.
19709         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
19710         (others, install-bin): Append pldd here.
19711         ($(objpfx)pldd): New target.
19713         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
19714         to 0, so the first #if test emitted later doesn't see it undefined.
19715         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
19716         * sysdeps/gnu/errlist.c: Regenerated.
19718 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19720         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19721         [libc_hidden_builtin_def]: Define to empty value.
19722         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
19723         [libc_hidden_builtin_def]: Likewise.
19724         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
19725         [libc_hidden_builtin_def]: Likewise.
19726         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
19727         [libc_hidden_builtin_def]: Likewise.
19728         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
19729         __redirect_memcpy and define ifunc as default hidden symbol.
19730         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
19731         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
19733 2014-05-04  Adam Conrad  <adconrad@0c3.net>
19735         * locale/iso-4217.def: Reintroduce XDR currency.
19737 2014-05-04  Allan McRae  <allan@archlinux.org>
19739         * po/eo.po: Update Esperanto translation from translation project.
19741 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
19743         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
19744         and FEATURE_INDEX_MAX to 1.
19745         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
19747 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19749         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
19750         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
19751         * iconvdata/big5.c (ONE_DIRECTION): Define.
19752         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
19753         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
19754         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
19755         * iconvdata/cp932.c (ONE_DIRECTION): Define.
19756         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
19757         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
19758         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
19759         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
19760         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
19761         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
19762         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
19763         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
19764         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
19765         * iconvdata/gbk.c (ONE_DIRECTION): Define.
19766         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
19767         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
19768         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
19769         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
19770         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
19771         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
19772         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
19773         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
19774         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
19775         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
19776         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
19777         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
19778         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
19779         * iconvdata/iso646.c (ONE_DIRECTION): Define.
19780         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
19781         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
19782         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
19783         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
19784         * iconvdata/johab.c (ONE_DIRECTION): Define.
19785         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
19786         * iconvdata/sjis.c (ONE_DIRECTION): Define.
19787         * iconvdata/t.61.c (ONE_DIRECTION): Define.
19788         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
19789         * iconvdata/tscii.c (ONE_DIRECTION): Define.
19790         * iconvdata/uhc.c (ONE_DIRECTION): Define.
19791         * iconvdata/unicode.c (ONE_DIRECTION): Define.
19792         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
19793         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
19794         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
19796 2014-05-01  Roland McGrath  <roland@hack.frob.com>
19798         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
19799         (_IO_JUMPS_OFFSET): Define to 0.
19801         * nptl/sysdeps/pthread/bits/libc-lock.h
19802         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
19803         (__libc_lock_define_initialized_recursive): Always define using
19804         initializer.  Modern compilers treat uninitialized (implicit zero) and
19805         explicit zero initializers the same (i.e. put the datum in bss).
19807 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19809         * nscd/nscd-client.h: Include <string.h>.
19811 2014-05-01  David S. Miller  <davem@davemloft.net>
19813         [BZ #16885]
19814         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
19815         multiple zero bytes exist at the end of a string.
19816         Reported by Aurelien Jarno <aurelien@aurel32.net>
19818         * string/test-strcmp.c (check): Add explicit test for situations where
19819         there are multiple zero bytes after the first.
19821 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19823         [BZ #16890]
19824         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
19825         when compiling wprintf.
19826         * stdio-common/tstdiomisc.c (t3): New function.
19827         (main): Call it.
19829 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19831         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
19832         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
19833         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
19834         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
19836 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19838         * stdlib/longlong.h: Updated from GCC.
19840 2014-05-01  Will Newton  <will.newton@linaro.org>
19841             Bernard Ogden  <bernie.ogden@linaro.org>
19843         * NEWS: Update fixed bug list.
19845         [BZ #15119]
19846         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
19848 2014-04-30  David S. Miller  <davem@davemloft.net>
19850         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
19851         (libc_feholdexcept_setround_sparc_ctx): New function.
19852         (libc_fesetenv_sparc_ctx): Likewise.
19853         (libc_feupdateenv_sparc_ctx): Likewise.
19854         (libc_feholdsetround_sparc_ctx): Likewise.
19855         (libc_feholdexcept_setround_ctx): Define.
19856         (libc_feholdexcept_setroundf_ctx): Likewise.
19857         (libc_feholdexcept_setroundl_ctx): Likewise.
19858         (libc_fesetenv_ctx): Likewise.
19859         (libc_fesetenvf_ctx): Likewise.
19860         (libc_fesetenvl_ctx): Likewise.
19861         (libc_feupdateenv_ctx): Likewise.
19862         (libc_feupdateenvf_ctx): Likewise.
19863         (libc_feupdateenvl_ctx): Likewise.
19864         (libc_feresetround_ctx): Likewise.
19865         (libc_feresetroundf_ctx): Likewise.
19866         (libc_feresetroundl_ctx): Likewise.
19867         (libc_feholdsetround_ctx): Likewise.
19868         (libc_feholdsetroundf_ctx): Likewise.
19869         (libc_feholdsetroundl_ctx): Likewise.
19871         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19872         with __USE_GNU instead of XOPEN cpp guards.
19874         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
19875         0.
19877         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19878         with XOPEN cpp guards.
19880 2014-04-30  Julian Brown  <julian@codesourcery.com>
19882         [BZ #16888]
19883         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
19884         handling.
19886 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
19888         [BZ #9894]
19889         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
19890         Change to 2.6.32.
19891         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
19892         * sysdeps/unix/sysv/linux/configure: Regenerated.
19893         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
19894         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
19895         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
19896         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
19897         * README: Update reference to required Linux kernel version.
19898         * manual/install.texi (Linux): Update reference to required Linux
19899         kernel headers version.
19900         * INSTALL: Regenerated.
19902         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
19903         header inclusion.
19904         [POSIX] (limits.h): Likewise.
19905         [POSIX] (math.h): Likewise.
19906         [POSIX] (sys/wait.h): Likewise.
19907         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
19908         function.
19909         [POSIX] (stddef.h): Do not allow header inclusion.
19911 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19913         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
19915 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
19917         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
19918         Return immediately after lll_futex_wake.
19920 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19922         [BZ #16791]
19923         * nscd/nscd-client.h (datahead_init_common): Initialize entire
19924         structure.
19925         (datahead_init_pos): Call datahead_init_common early.
19926         (datahead_init_neg): Likewise.
19928         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
19929         datahead_init_neg): New functions.
19930         * nscd/aicache.c (addhstaiX): Use them.
19931         * nscd/grpcache.c (cache_addgr): Likewise.
19932         * nscd/hstcache.c (cache_addhst): Likewise.
19933         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19934         * nscd/netgroupcache.c (do_notfound): Likewise.
19935         (addgetnetgrentX): Likewise.
19936         (addinnetgrX): Likewise.
19937         * nscd/pwdcache.c (cache_addpw): Likewise.
19938         * nscd/servicescache.c (cache_addserv): Likewise.
19940 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19941             Atsushi Onoe  <atsushi@onoe.org>
19943         [BZ #14308]
19944         [BZ #12994]
19945         [BZ #13651]
19946         * resolv/res_query.c (__libc_res_nsearch): Return if at least
19947         one response is valid.
19948         * resolv/res_send.c (send_dg): Check for validity of other
19949         response if the current response is a referral.
19951 2014-04-29  Steve Ellcey  <sellcey@mips.com>
19953         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
19955 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
19957         [BZ #16823]
19958         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
19959         Always divide by positive zero when computing -Inf result.
19960         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19961         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
19963 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19965         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
19966         FPSCR if value do not change.
19967         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19968         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
19969         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19970         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19971         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
19972         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
19973         function.
19975 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
19977         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
19978         * sysdeps/unix/sysv/linux/hppa: Move directory from
19979         ports/systeps/unix/sysv/linux/hppa.
19980         * README: Update listing for hppa-*-linux-gnu.
19982 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
19984         [BZ #16754]
19985         * manual/stdio.texi (Hook functions): Fix types of stream hook
19986         functions.
19987         [BZ #16854]
19988         * socket/sys/socket.h: Fix typo in comment.
19990 2014-04-28  Wilco  <wdijkstr@arm.com>
19992         * sysdeps/arm/fenv_private.h: New file.
19993         * sysdeps/arm/math_private.h: New file.
19994         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
19996 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
19998         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
19999         with __int128_t.
20000         (La_x86_64_retval): Likewise.
20002 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
20004         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
20005         fpsr if value didn't change.
20006         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
20007         to fpcr if value didn't change.
20008         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
20009         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
20010         fpsr or fpcr if value didn't change.
20011         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20012         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
20013         fpcr if value didn't change.
20014         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
20015         to fpsr if value didn't change.
20017 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20019         * nptl/tst-sem3.c: Use test-skeleton.c
20020         (main): Rename to do_test.  Use return instead of
20021         exit.
20022         * nptl/tst-sem4.c: Use test-skeleton.c
20023         (main): Rename to do_test.
20025 2014-04-22  David S. Miller  <davem@davemloft.net>
20027         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
20028         (struct sigaction): New struct member __glibc_reserved0, change
20029         type of sa_flags to int.
20031 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
20033         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
20034         (COUNT_LEADING_ZEROS_0): Define for AArch64.
20036 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20038         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
20039         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
20041 2014-04-22  Will Newton  <will.newton@linaro.org>
20042             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
20044         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
20045         (__longjmp): Add longjmp and longjmp_target SystemTap
20046         probes.
20047         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
20048         (__sigsetjmp): Add setjmp SystemTap probe.
20050 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
20052         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
20053         match manual order.
20055 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20057         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
20059         * sysdeps/powerpc/fpu/fenv_private.h
20060         (libc_feholdexcept_setroundl_ctx): Define to
20061         libc_feholdexcept_setround_ppc_ctx.
20062         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
20063         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
20064         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
20065         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
20067 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20069         * sysdeps/aarch64/math-tests.h: New file.
20071 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
20073         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
20074         New.
20075         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20076         Check and set bit_AVX2_Usable.
20077         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
20078         macro.
20079         (bit_AVX2): Likewise.
20080         (index_AVX2_Usable): Likewise.
20081         (CPUID_AVX2): Likewise.
20082         (HAS_AVX2): Likewise.
20084 2014-04-17  Will Newton  <will.newton@linaro.org>
20086         * manual/setjmp.texi (System V contexts): Add note that
20087         calling setcontext on a context created by a call to a
20088         signal handler is undefined.  Update text to note that
20089         setcontext from a signal handler is possible but not
20090         recommended.
20092         [BZ #16629]
20093         * stdlib/tst-setcontext.c: Include signal.h.
20094         (main): Check that the signal stack before and
20095         after swapcontext is the same.
20097         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
20098         Re-implement to restore registers in user code and avoid
20099         rt_sigreturn system call.
20101 2014-04-17  Wilco  <wdijkstr@arm.com>
20103         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
20104         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
20105         * math/test-fenv.c: Skip exception trap tests on targets which only
20106         support non-stop mode.
20108 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20109             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20111         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
20112         (libc_feholdsetround_aarch64_ctx)
20113         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
20114         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
20115         (libc_feresetround_ctx, libc_feresetroundf_ctx)
20116         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
20117         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
20118         (libc_feresetround_noexl_ctx): Define.
20120 2014-04-16  Richard Henderson  <rth@redhat.com>
20122         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
20124         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
20125         unwind tables.
20127         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
20128         const from the non-libc, non-ldso copy.
20130         * sysdeps/alpha/libm-test-ulps: Regenerate.
20132 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
20133             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20135         * sysdeps/aarch64/fpu/math_private.h: New file.
20137 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
20139         * sysdeps/aarch64/libm-test-ulps: Regenerate.
20141 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
20143         [BZ #16275]
20144         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
20145         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
20146         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
20147         Intel MPX bound registers before _dl_profile_fixup.
20148         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
20149         registers after _dl_profile_fixup.  Save and restore bound
20150         registers bnd0/bnd1 when calling _dl_call_pltexit.
20151         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
20152         (LR_BND_OFFSET): Likewise.
20153         (LRV_BND0_OFFSET): Likewise.
20154         (LRV_BND1_OFFSET): Likewise.
20156 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20158         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
20159         to...
20160         * sysdeps/mach/hurd/i386/tls.h: ... here.
20161         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
20162         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
20163         fields.
20165 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20167         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
20169 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20171         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20173 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20175         [BZ #14770]
20176         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
20177         * sysdeps/s390/configure: Regenerate.
20179         [BZ #16824]
20180         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
20181         Set round-to-nearest internally to reduce error accumulation.
20183 2014-04-16  Alan Modra  <amodra@gmail.com>
20185         [BZ #16740]
20186         [BZ #16619]
20187         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
20188         * math/libm-test.inc (frexp_test_data): Add tests.
20189         * NEWS: Update fixed bug list.
20191 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20193         * benchtests/Makefile: Depend on libraries in build directory.
20194         (bench-math): Separate out math tests.
20195         (bench-pthread): Separate out pthread tests.
20196         (bench): Include math and pthread tests.
20198 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
20200         [BZ #16831]
20201         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
20202         _dl_debug_initialize.
20204         * configure.ac: Remove SELinux header check.
20205         * configure: Regenerate.
20206         * nscd/selinux.c (perms): Array of const char* to permission names.
20207         (nscd_request_avc_has_perm): Call security_deny_unknown to find
20208         default policy. Call string_to_security_class and string_to_av_perm to
20209         translate strings. Enforce default policy and call avs_has_perm with
20210         results of translated strings.
20212 2014-04-13  David S. Miller  <davem@davemloft.net>
20214         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20216 2014-04-12  Allan McRae  <allan@archlinux.org>
20218         [BZ #16838]
20219         * manual/string.texi (Collation Functions): Fix qsort argument
20220         order in example.
20221         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20223 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
20225         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
20226         Make the test a no-op if there are no exceptions defined.
20228 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20230         * elf/Makefile (tests): make tst-dlopen-aout conditional on
20231         enable-hardcoded-path-in-tests
20233 2014-04-11  Will Newton  <will.newton@linaro.org>
20235         * benchtests/Makefile (extra-objs): Add json-lib.o.
20236         (bench-func): Tidy up JSON output.
20237         * benchtests/bench-skeleton.c: Include json-lib.h.
20238         (main): Use JSON library functions to do output of
20239         benchmark results.
20240         * benchtests/bench-timing-type.c (main): Output the
20241         timing type simply, leaving formatting to the user.
20242         * benchtests/json-lib.c: New file.
20243         * benchtests/json-lib.h: Likewise.
20245 2014-04-11  Torvald Riegel  <triegel@redhat.com>
20247         [BZ #15215]
20248         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
20249         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
20250         memory barriers.  Add comments.
20251         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
20252         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
20253         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
20254         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
20255         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
20256         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
20258 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20260         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
20261         * sysdeps/s390/s390-64/configure.ac: ... this ...
20262         * sysdeps/s390/configure.ac: ... to here.
20263         * sysdeps/s390/s390-32/configure: Delete file.
20264         * sysdeps/s390/s390-64/configure: Delete file.
20265         * sysdeps/s390/configure: Regenerate.
20267 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
20269         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
20271 2014-04-11  Will Newton  <will.newton@linaro.org>
20273         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
20274         to zero if it is not defined elsewhere.  (mtrim): Test
20275         the value of MALLOC_DEBUG with #if rather than #ifdef.
20277 2014-04-10 Torvald Riegel  <triegel@redhat.com>
20279         * benchtests/pthread_once-inputs: New file.
20280         * benchtests/pthread_once-source.c: New file.
20281         * benchtests/README: Update documentation.
20283 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
20284             H.J. Lu  <hongjiu.lu@intel.com>
20286         [BZ #16275]
20287         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
20288         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
20289         * sysdeps/x86_64/configure: Regenerated.
20290         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
20291         macro.
20292         (REGISTER_SAVE_RAX): Likewise.
20293         (REGISTER_SAVE_RCX): Likewise.
20294         (REGISTER_SAVE_RDX): Likewise.
20295         (REGISTER_SAVE_RSI): Likewise.
20296         (REGISTER_SAVE_RDI): Likewise.
20297         (REGISTER_SAVE_R8): Likewise.
20298         (REGISTER_SAVE_R9): Likewise.
20299         (REGISTER_SAVE_BND0): Likewise.
20300         (REGISTER_SAVE_BND1): Likewise.
20301         (REGISTER_SAVE_BND2): Likewise.
20302         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
20303         bound registers when calling _dl_fixup.
20305 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20307         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
20308         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
20309         of its definition.
20310         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
20311         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
20312         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
20313         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
20314         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
20315         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
20316         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
20318 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
20320         [BZ #15514]
20321         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
20322         pathconf(_PC_NAME_MAX).
20324 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20326         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
20327         Remove macro usage.
20328         (__PTHREAD_SPINS): Move definition to ...
20329         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20330         (__PTHREAD_SPINS): ... here.
20331         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20332         (__PTHREAD_SPIN): Likewise.
20333         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
20334         (__PTHREAD_SPIN): Likewise.
20335         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
20336         (__PTHREAD_SPIN): Likewise.
20337         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
20338         (__PTHREAD_SPIN): Likewise.
20339         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
20340         (__PTHREAD_SPIN): Likewise.
20341         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
20342         (__PTHREAD_SPIN): Likewise.
20343         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
20344         (__PTHREAD_SPIN): Likewise.
20345         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
20346         (__PTHREAD_SPIN): Likewise.
20347         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
20348         (__PTHREAD_SPIN): Likewise.
20349         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
20350         (__PTHREAD_SPIN): Likewise.
20351         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
20352         (__PTHREAD_SPIN): Likewise.
20353         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
20354         (__PTHREAD_SPIN): Likewise.
20356         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
20357         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
20358         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
20359         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
20360         imply folder.
20361         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
20362         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
20363         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
20364         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
20365         correct imply path.
20366         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
20367         strlen symbol for non multi-arch builds.
20368         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
20369         missing hidden_def and weak_alias.
20371 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
20373         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
20375 2014-04-07  Will Newton  <will.newton@linaro.org>
20377         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
20378         and contents.  [!_LIBC] Remove #ifndef and contents.
20379         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
20380         * string/memccpy.c (__memccpy): Use ANSI prototype.
20381         * string/memfrob.c (memfrob): Likewise.
20382         * string/strcoll.c (STRCOLL): Likewise.
20383         * string/strlen.c (strlen): Likewise.
20384         * string/strtok.c (STRTOK): Likewise.
20385         * string/strcat.c: Remove unused #include of memcopy.h.
20386         (strcat): Use ANSI prototype.
20387         * string/strchr.c: Remove unused #include of memcopy.h.
20388         (strchr): Use ANSI prototype.
20389         * string/strcmp.c: Remove unused #include of memcopy.h.
20390         (strcmp): Use ANSI prototype.
20391         * string/strcpy.c: Remove unused #include of memcopy.h.
20392         (strcpy): Use ANSI prototype.
20394 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20396         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
20397         * config.make.in (config-extra-cppflags): Set it from
20398         libc_extra_cppflags.
20399         * configure.ac (libc_extra_cflags): Make it accumulate over
20400         configure fragments.
20401         (libc_extra_cppflags): New flag.
20402         * configure. Regenerate.
20403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
20404         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
20405         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
20406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20408         [BZ #16815]
20409         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
20410         result for FE_DOWNWARD rounding mode.
20411         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20412         Likewise.
20413         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20415 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
20417         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
20418         in function argument name.
20420 2014-04-03  David Svoboda  <svoboda@cert.org>
20422         [BZ #5666]
20423         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
20424         explicitly.
20426 2014-04-03  Roland McGrath  <roland@hack.frob.com>
20428         * elf/dl-unmap-segments.h: New file.
20429         * sysdeps/generic/ldsodefs.h
20430         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
20431         * elf/dl-close.c: Include <dl-unmap-segments.h>.
20432         * elf/dl-fptr.c: Likewise.
20433         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
20434         * sysdeps/aarch64/tlsdesc.c: Likewise.
20435         * sysdeps/arm/tlsdesc.c: Likewise.
20436         * sysdeps/i386/tlsdesc.c: Likewise.
20437         * sysdeps/tile/dl-runtime.c: Likewise.
20438         * sysdeps/x86_64/tlsdesc.c: Likewise.
20439         * elf/dl-load.h: New file.
20440         * elf/dl-load.c: Include it.
20441         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
20442         Macros moved to dl-load.h.
20443         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
20444         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
20445         Use _dl_unmap_segments in place of __munmap.
20446         Break out segment-mapping loop into ...
20447         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
20449 2014-04-03  Will Newton  <will.newton@linaro.org>
20451         * elf/dl-lookup.c (do_lookup_x): Remove comment
20452         referring to nested function and move variable
20453         declarations down to before first use.
20455 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
20457         [BZ #16799]
20458         [BZ #16800]
20459         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
20460         with 0 numerator.
20461         * math/s_catanf.c (__catanf): Likewise.
20462         * math/s_catanh.c (__catanh): Likewise.
20463         * math/s_catanhf.c (__catanhf): Likewise.
20464         * math/s_catanhl.c (__catanhl): Likewise.
20465         * math/s_catanl.c (__catanl): Likewise.
20466         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
20467         by positive zero when computing -Inf result.
20468         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
20469         (catanh_test): Likewise.
20470         * sysdeps/i386/fpu/libm-test-ulps: Update.
20471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20473         [BZ #16789]
20474         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
20475         instead of using underflowing value in computing result.
20476         * math/s_clog10.c (__clog10): Likewise.
20477         * math/s_clog10f.c (__clog10f): Likewise.
20478         * math/s_clog10l.c (__clog10l): Likewise.
20479         * math/s_clogf.c (__clogf): Likewise.
20480         * math/s_clogl.c (__clogl): Likewise.
20481         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
20482         (clog10_test): Likewise.
20483         * sysdeps/i386/fpu/libm-test-ulps: Update.
20484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20486 2014-04-02  Alan Modra  <amodra@gmail.com>
20488         [BZ #16739]
20489         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
20490         output when value is near a power of two.  Use int64_t for lx and
20491         remove casts.  Use decimal rather than hex exponent constants.
20492         Don't use long double multiplication when double will suffice.
20493         * math/libm-test.inc (nextafter_test_data): Add tests.
20494         * NEWS: Add 16739 and 16786 to bug list.
20496         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
20498         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
20500 2014-04-01  Will Newton  <will.newton@linaro.org>
20502         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
20503         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
20505 2014-04-01  Florian Weimer  <fweimer@redhat.com>
20507         [BZ #13347]
20508         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
20509         * nptl/tst-setuid2.c: New file.
20510         * nptl/Makefile (xtests): Add tst-setuid2.
20512 2014-04-01  Alan Modra  <amodra@gmail.com>
20514         [BZ #16786]
20515         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
20517 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
20519         [BZ #6803]
20520         [BZ #6804]
20521         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
20522         set errno as appropriate.
20523         * math/w_scalbf.c (__scalbf): Likewise.
20524         * math/w_scalbl.c (__scalbl): Likewise.
20525         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
20526         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
20527         * math/libm-test.inc (scalb_test_data): Add errno expectations.
20528         Add more NaN tests.
20530         [BZ #16349]
20531         * math/w_atan2.c: Include <errno.h>.
20532         (__atan2): Set errno for result underflowing to zero.
20533         * math/w_atan2f.c: Include <errno.h>.
20534         (__atan2f): Set errno for result underflowing to zero.
20535         * math/w_atan2l.c: Include <errno.h>.
20536         (__atan2l): Set errno for result underflowing to zero.
20537         * math/auto-libm-test-in: Don't allow missing errno for some atan2
20538         tests.
20539         * math/auto-libm-test-out: Regenerated.
20541 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20543         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
20544         Encode instruction correctly in little endian.
20545         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
20546         Likewise.
20547         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
20548         Likewise.
20549         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
20550         Likewise.
20551         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
20552         Likewise.
20554 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
20556         [BZ #9894]
20557         * sysdeps/unix/sysv/linux/kernel-features.h
20558         [__sparc__ && !__arch64__ && !__sparc_v9__]
20559         (__ASSUME_SET_ROBUST_LIST): Do not define.
20560         [__sparc__ && !__arch64__ && !__sparc_v9__]
20561         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20562         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
20563         Likewise.
20564         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20565         (__ASSUME_FUTEX_LOCK_PI): Undefine.
20566         (__ASSUME_REQUEUE_PI): Likewise.
20567         (__ASSUME_SET_ROBUST_LIST): Likewise.
20568         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20569         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
20570         Undefine.
20571         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20572         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
20573         Likewise.
20574         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
20575         Likewise.
20576         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
20577         Likewise.
20578         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20579         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
20580         Undefine.
20581         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
20582         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
20583         Likewise.
20585         [BZ #16648]
20586         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20587         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
20588         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
20590 2014-03-31  Will Newton  <will.newton@linaro.org>
20592         * benchtests/Makefile (bench): Add ffs and ffsll to list
20593         of tests.
20594         * benchtests/ffs-inputs: New file.
20595         * benchtests/ffsll-inputs: Likewise.
20597 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
20599         [BZ #16770]
20600         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
20601         too large before casting to int.
20602         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
20603         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
20604         * math/libm-test.inc (scalb_test_data): Add more tests.
20606 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20608         * benchtests/Makefile (DETAILED_OPT): New make option.
20609         (bench-func): Run benchmark program with -d if DETAILED_OPT is
20610         set.
20611         * benchtests/bench-skeleton.c: Include stdbool.h.
20612         (main): Store and print timings per input.
20613         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
20614         member to each argument value.
20615         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
20616         (_print_arg_data): Initialize per-input timing to 0.
20618         * benchtests/Makefile (timing-type): New binary.
20619         (bench-clean): Also remove bench-timing-type.
20620         (bench): New target for timing-type.
20621         (bench-func): Print output in JSON format.
20622         * benchtests/bench-skeleton.c (main): Print output in JSON
20623         format.
20624         * benchtests/bench-timing-type.c: New file.
20625         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
20626         (TIMING_PRINT_STATS): Remove.
20627         * benchtests/scripts/bench.py (_print_arg_data): Store variant
20628         name separately.
20630         * benchtests/bench-modf.c: Remove.
20631         * benchtests/modf-inputs: New inputs file.
20633 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
20635         [BZ #16362]
20636         * math/s_clog10.c (M_PI_LOG10E): New macro.
20637         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
20638         imaginary parts are 0.
20639         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
20640         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
20641         imaginary parts are 0.
20642         * math/s_clog10l.c (M_PI_LOG10El): New macro.
20643         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
20644         imaginary parts are 0.
20645         * math/libm-test.inc (clog10_test_data): Update expected results
20646         for when real and imaginary parts are 0.
20648 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
20650         * elf/dl-load.c: Finish conversion of __builtin_expect into
20651         __glibc_{un}likely.
20653 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
20655         [BZ #16348]
20656         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
20657         1+x for argument with exponent below -67.
20658         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
20659         Likewise.
20660         * math/auto-libm-test-in: Add more tests of exp.
20661         * math/auto-libm-test-out: Regenerated.
20663 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20665         [BZ #16759]
20666         * inet/getnetgrent_r.c (get_nonempty_val): New function.
20667         (nscd_getnetgrent): Use it.
20669         [BZ #16760]
20670         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
20671         of stpcpy.
20673 2014-03-27  Andi Kleen  <ak@linux.intel.com>
20675         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
20676         (lll_robust_lock, lll_cond_lock, lll_timedlock)
20677         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20678         (lll_robust_unlock): Remove out of line section. Use cfi
20679         intrinsics.
20680         (LLL_STUB_UNWIND_INFO*): Remove.
20681         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
20682         (lll_robust_lock, lll_cond_lock, lll_timedlock)
20683         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20684         (lll_robust_unlock): Remove out of line section. Use cfi
20685         intrinsics.
20686         (LLL_STUB_UNWIND_INFO*): Remove.
20688 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20690         [BZ #16758]
20691         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
20692         blank values.
20694 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
20696         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
20698 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
20700         [BZ #16198]
20701         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
20702         fnstenv.
20703         * math/test-fenv-preserve.c: New file.
20704         * math/Makefile (tests): Add test-fenv-preserve.
20706 2014-03-26  Will Newton <will.newton@linaro.org>
20708         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
20710 2014-03-25  Roland McGrath  <roland@hack.frob.com>
20712         * scripts/versionlist.awk: Partition the version sets and emit all
20713         GLIBC_* (sorted) before all others (sorted).
20715 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
20717         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
20718         GLIBC_2.2.5 version.
20720 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20722         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
20723         calls.
20725         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
20726         previous change.
20728         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20730 2014-03-25  Andreas Schwab  <schwab@suse.de>
20732         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
20733         label to be used after in6ailist is initialized.
20735 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20737         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20738         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20740 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
20742         [BZ #16357]
20743         [BZ #16599]
20744         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
20745         min_plus_half.
20746         (fp_formats): Update initializers.
20747         (init_fp_formats): Initialize new field.
20748         (output_for_one_input_case): Allow underflow for results up to
20749         min_plus_half.
20750         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
20751         * math/auto-libm-test-in: Don't mark some underflows from asin and
20752         atanh as spurious.
20753         * math/auto-libm-test-out: Regenerated.
20754         * sysdeps/i386/fpu/libm-test-ulps: Update.
20755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20757 2014-03-25  Andreas Schwab  <schwab@suse.de>
20759         * libio/Makefile (tst-ftell-partial-wide-ENV)
20760         (tst-ftell-active-handler-ENV): Define.
20762 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
20764         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
20766 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20768         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
20770 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
20772         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
20773         * sysdeps/x86_64/fpu/multiarch/e_exp.c
20774         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20776 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20778         [BZ #16634]
20779         * elf/dl-load.c (open_verify): Add mode parameter.
20780         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
20781         (open_path): Change from boolean 'secure' to complete flag 'mode'
20782         (_dl_map_object): Adjust.
20783         * elf/Makefile (tests): Add tst-dlopen-aout.
20784         * elf/tst-dlopen-aout.c: New test.
20786 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
20788         [BZ #16714]
20789         * sysdeps/unix/sysv/linux/s390/bits/stat.h
20790         (struct stat): Rename member pad0 to __glibc_reserved0.
20792         [BZ #16712]
20793         * sysdeps/s390/s390-32/bits/wordsize.h
20794         (__WORDSIZE32_SIZE_ULONG): New define.
20795         * sysdeps/s390/s390-64/bits/wordsize.h
20796         (__WORDSIZE32_SIZE_ULONG): Likewise.
20797         * sysdeps/generic/stdint.h (SIZE_MAX):
20798         Define as UL if __WORDSIZE32_SIZE_ULONG.
20800         [BZ #16713]
20801         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
20802         (__glibc_reserved0): New variable.
20803         (sa_flags): Change type to int.
20805         * posix/Makefile (before-compile): Use += before-compile instead
20806         of a :=.
20808         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20809         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20811 2014-03-20  Andreas Schwab  <schwab@suse.de>
20813         [BZ #16743]
20814         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
20815         non-matching result from nscd.
20817 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20819         * scripts/bench.py: Moved to ...
20820         * benchtests/scripts/bench.py: ... here.
20821         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
20823 2014-03-24  Andreas Schwab  <schwab@suse.de>
20825         [BZ #16002]
20826         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
20827         alloca_account and account alloca use for struct in6ailist.
20829 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
20831         [BZ #16284]
20832         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
20833         rounding mode to recompute results that overflow to infinity or
20834         underflow to zero.
20835         * math/auto-libm-test-in: Don't mark tests as expected to fail for
20836         bug 16284.
20837         * math/auto-libm-test-out: Regenerated.
20838         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
20839         (ccosh_test): Likewise.
20840         (csin_test_data): Use plus_oflow.
20841         (csin_test): Use ALL_RM_TEST.
20842         (csinh_test_data): Use plus_oflow.
20843         (csinh_test): Use ALL_RM_TEST.
20844         * sysdeps/i386/fpu/libm-test-ulps: Update.
20845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20847 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
20849         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
20850         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
20851         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
20853         [BZ #16731]
20854         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
20855         when x - 1 is zero.
20856         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
20857         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
20858         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20859         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
20860         argument is 1.
20861         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
20862         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
20863         zero.
20864         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
20865         * sysdeps/i386/fpu/libm-test-ulps: Update.
20866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20868 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20870         * scripts/bench.pl: Remove file.
20871         * scripts/bench.py: New benchmark script.
20872         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
20873         * benchtests/README: Mention python dependency.
20874         * scripts/pylintrc: New file.
20875         * scripts/pylint: New file.
20877         * bits/mathdef.h: Use #ifdef instead of #if.
20878         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
20879         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20880         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
20881         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20882         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
20883         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20885 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20886             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20888         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
20889         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
20890         and strpbrk-ppc64 objects.
20891         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20892         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
20893         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
20894         multiarch strpbrk for POWER7.
20895         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
20896         multiarch strpbrk for PPC64.
20897         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
20898         ifunc selector.
20899         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
20900         strpbrk for POWER7.
20902 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
20904         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
20905         (atan_test): Likewise.
20906         (atanh_test_data): Use NO_TEST_INLINE for two tests.
20907         (atanh_test): Use ALL_RM_TEST.
20908         (atan2_test_data): Likewise.
20909         (cabs_test): Likewise.
20910         (cacosh_test): Likewise.
20911         (carg_test): Likewise.
20912         (casin_test): Likewise.
20913         (casinh_test): Likewise.
20914         (cbrt_test): Likewise.
20915         (csqrt_test): Likewise.
20916         (erf_test): Likewise.
20917         (erfc_test): Likewise.
20918         (pow10_test): Likewise.
20919         (exp2_test): Likewise.
20920         (hypot_test): Likewise.
20921         (j0_test): Likewise.
20922         (j1_test): Likewise.
20923         (lgamma_test): Likewise.
20924         (gamma_test): Likewise.
20925         (sincos_test): Likewise.
20926         (tanh_test): Likewise.
20927         (y0_test): Likewise.
20928         (y1_test): Likewise.
20929         * sysdeps/i386/fpu/libm-test-ulps: Update.
20930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20932 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20934         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
20935         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
20936         and strcspn-ppc64 objects.
20937         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20938         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
20939         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
20940         multiarch strcspn for POWER7.
20941         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
20942         multiarch strcspn for PPC64.
20943         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
20944         ifunc selector.
20945         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
20946         strcspn for POWER7.
20948 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
20950         * math/gen-libm-test.pl (generate_testfile): Expect only function
20951         name as argument to AUTO_TESTS_* and pass results for all rounding
20952         modes to parse_args.
20953         (parse_auto_input): Separate inputs of automatic tests from
20954         outputs before storing in %auto_tests.
20955         * math/libm-test.inc (acos_test_data): Update call to
20956         AUTO_TESTS_f_f.
20957         (acos_test): Use ALL_RM_TEST.
20958         (acos_tonearest_test_data): Remove.
20959         (acos_test_tonearest): Likewise.
20960         (acos_towardzero_test_data): Likewise.
20961         (acos_test_towardzero): Likewise.
20962         (acos_downward_test_data): Likewise.
20963         (acos_test_downward): Likewise.
20964         (acos_upward_test_data): Likewise.
20965         (acos_test_upward): Likewise.
20966         (acosh_test_data): Update call to AUTO_TESTS_f_f.
20967         (asin_test_data): Likewise.
20968         (asin_test): Use ALL_RM_TEST.
20969         (asin_tonearest_test_data): Remove.
20970         (asin_test_tonearest): Likewise.
20971         (asin_towardzero_test_data): Likewise.
20972         (asin_test_towardzero): Likewise.
20973         (asin_downward_test_data): Likewise.
20974         (asin_test_downward): Likewise.
20975         (asin_upward_test_data): Likewise.
20976         (asin_test_upward): Likewise.
20977         (asinh_test_data): Update call to AUTO_TESTS_f_f.
20978         (atan_test_data): Likewise.
20979         (atanh_test_data): Likewise.
20980         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
20981         (cabs_test_data): Update call to AUTO_TESTS_c_f.
20982         (carg_test_data): Likewise.
20983         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
20984         (ccos_test_data): Update call to AUTO_TESTS_c_c.
20985         (ccosh_test_data): Likewise.
20986         (cexp_test_data): Likewise.
20987         (clog_test_data): Likewise.
20988         (clog10_test_data): Likewise.
20989         (cos_test_data): Update call to AUTO_TESTS_f_f.
20990         (cos_test): Use ALL_RM_TEST.
20991         (cos_tonearest_test_data): Remove.
20992         (cos_test_tonearest): Likewise.
20993         (cos_towardzero_test_data): Likewise.
20994         (cos_test_towardzero): Likewise.
20995         (cos_downward_test_data): Likewise.
20996         (cos_test_downward): Likewise.
20997         (cos_upward_test_data): Likewise.
20998         (cos_test_upward): Likewise.
20999         (cosh_test_data): Update call to AUTO_TESTS_f_f.
21000         (cosh_test): Use ALL_RM_TEST.
21001         (cosh_tonearest_test_data): Remove.
21002         (cosh_test_tonearest): Likewise.
21003         (cosh_towardzero_test_data): Likewise.
21004         (cosh_test_towardzero): Likewise.
21005         (cosh_downward_test_data): Likewise.
21006         (cosh_test_downward): Likewise.
21007         (cosh_upward_test_data): Likewise.
21008         (cosh_test_upward): Likewise.
21009         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
21010         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
21011         (ctan_test_data): Likewise.
21012         (ctan_test): Use ALL_RM_TEST.
21013         (ctan_tonearest_test_data): Remove.
21014         (ctan_test_tonearest): Likewise.
21015         (ctan_towardzero_test_data): Likewise.
21016         (ctan_test_towardzero): Likewise.
21017         (ctan_downward_test_data): Likewise.
21018         (ctan_test_downward): Likewise.
21019         (ctan_upward_test_data): Likewise.
21020         (ctan_test_upward): Likewise.
21021         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
21022         (ctanh_test): Use ALL_RM_TEST.
21023         (ctanh_tonearest_test_data): Remove.
21024         (ctanh_test_tonearest): Likewise.
21025         (ctanh_towardzero_test_data): Likewise.
21026         (ctanh_test_towardzero): Likewise.
21027         (ctanh_downward_test_data): Likewise.
21028         (ctanh_test_downward): Likewise.
21029         (ctanh_upward_test_data): Likewise.
21030         (ctanh_test_upward): Likewise.
21031         (erf_test_data): Update call to AUTO_TESTS_f_f.
21032         (erfc_test_data): Likewise.
21033         (exp_test_data): Likewise.
21034         (exp_test): Use ALL_RM_TEST.
21035         (exp_tonearest_test_data): Remove.
21036         (exp_test_tonearest): Likewise.
21037         (exp_towardzero_test_data): Likewise.
21038         (exp_test_towardzero): Likewise.
21039         (exp_downward_test_data): Likewise.
21040         (exp_test_downward): Likewise.
21041         (exp_upward_test_data): Likewise.
21042         (exp_test_upward): Likewise.
21043         (exp10_test_data): Update call to AUTO_TESTS_f_f.
21044         (exp10_test): Use ALL_RM_TEST.
21045         (exp10_tonearest_test_data): Remove.
21046         (exp10_test_tonearest): Likewise.
21047         (exp10_towardzero_test_data): Likewise.
21048         (exp10_test_towardzero): Likewise.
21049         (exp10_downward_test_data): Likewise.
21050         (exp10_test_downward): Likewise.
21051         (exp10_upward_test_data): Likewise.
21052         (exp10_test_upward): Likewise.
21053         (exp2_test_data): Update call to AUTO_TESTS_f_f.
21054         (expm1_test_data): Likewise.
21055         (expm1_test): Use ALL_RM_TEST.
21056         (expm1_tonearest_test_data): Remove.
21057         (expm1_test_tonearest): Likewise.
21058         (expm1_towardzero_test_data): Likewise.
21059         (expm1_test_towardzero): Likewise.
21060         (expm1_downward_test_data): Likewise.
21061         (expm1_test_downward): Likewise.
21062         (expm1_upward_test_data): Likewise.
21063         (expm1_test_upward): Likewise.
21064         (fma_test_data): Update call to AUTO_TESTS_fff_f.
21065         (fma_test): Use ALL_RM_TEST.
21066         (fma_towardzero_test_data): Remove.
21067         (fma_test_towardzero): Likewise.
21068         (fma_downward_test_data): Likewise.
21069         (fma_test_downward): Likewise.
21070         (fma_upward_test_data): Likewise.
21071         (fma_test_upward): Likewise.
21072         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
21073         (j0_test_data): Update call to AUTO_TESTS_f_f.
21074         (j1_test_data): Likewise.
21075         (jn_test_data): Update call to AUTO_TESTS_if_f.
21076         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
21077         (log_test_data): Update call to AUTO_TESTS_f_f.
21078         (log10_test_data): Likewise.
21079         (log1p_test_data): Likewise.
21080         (log2_test_data): Likewise.
21081         (pow_test_data): Update call to AUTO_TESTS_ff_f.
21082         (pow_tonearest_test_data): Likewise.
21083         (sin_test_data): Update call to AUTO_TESTS_f_f.
21084         (sin_test): Use ALL_RM_TEST.
21085         (sin_tonearest_test_data): Remove.
21086         (sin_test_tonearest): Likewise.
21087         (sin_towardzero_test_data): Likewise.
21088         (sin_test_towardzero): Likewise.
21089         (sin_downward_test_data): Likewise.
21090         (sin_test_downward): Likewise.
21091         (sin_upward_test_data): Likewise.
21092         (sin_test_upward): Likewise.
21093         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
21094         (sinh_test_data): Update call to AUTO_TESTS_f_f.
21095         (sinh_test): Use ALL_RM_TEST.
21096         (sinh_tonearest_test_data): Remove.
21097         (sinh_test_tonearest): Likewise.
21098         (sinh_towardzero_test_data): Likewise.
21099         (sinh_test_towardzero): Likewise.
21100         (sinh_downward_test_data): Likewise.
21101         (sinh_test_downward): Likewise.
21102         (sinh_upward_test_data): Likewise.
21103         (sinh_test_upward): Likewise.
21104         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
21105         (sqrt_test): Use ALL_RM_TEST.
21106         (sqrt_tonearest_test_data): Remove.
21107         (sqrt_test_tonearest): Likewise.
21108         (sqrt_towardzero_test_data): Likewise.
21109         (sqrt_test_towardzero): Likewise.
21110         (sqrt_downward_test_data): Likewise.
21111         (sqrt_test_downward): Likewise.
21112         (sqrt_upward_test_data): Likewise.
21113         (sqrt_test_upward): Likewise.
21114         (tan_test_data): Update call to AUTO_TESTS_f_f.
21115         (tan_test): Use ALL_RM_TEST.
21116         (tan_tonearest_test_data): Remove.
21117         (tan_test_tonearest): Likewise.
21118         (tan_towardzero_test_data): Likewise.
21119         (tan_test_towardzero): Likewise.
21120         (tan_downward_test_data): Likewise.
21121         (tan_test_downward): Likewise.
21122         (tan_upward_test_data): Likewise.
21123         (tan_test_upward): Likewise.
21124         (tanh_test_data): Update call to AUTO_TESTS_f_f.
21125         (tgamma_test_data): Likewise.
21126         (y0_test_data): Likewise.
21127         (y1_test_data): Likewise.
21128         (yn_test_data): Update call to AUTO_TESTS_if_f.
21129         (main): Do not call removed functions.
21131 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21133         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
21134         (ldexp_test_data): Remove.
21135         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
21136         scalbn_test_data.
21137         (scalb_test): Use ALL_RM_TEST.
21139 2014-03-19  Andreas Schwab  <schwab@suse.de>
21141         * nscd/nscd.service: Also invalidate netgroup cache on reload.
21143 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21145         [BZ #16649]
21146         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21147         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
21148         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
21149         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21150         (__ASSUME_PREADV): Undefine.
21151         (__ASSUME_PWRITEV): Likewise.
21153 2014-03-18  Roland McGrath  <roland@hack.frob.com>
21155         * bits/mman-linux.h: Add comment about non-Linux use.
21156         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
21157         bits/mman-linux.h resting place.
21159         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
21160         * bits/mman-linux.h: ... here.
21162 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21164         * conform/conformtest.pl: Add standard definition when calling C
21165         preprocessor on data files.
21166         (checknamespace): Remove unused variable.
21168 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21170         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
21171         minus_oflow, plus_uflow and minus_uflow in expected results.
21172         * math/libm-test.inc (scalbn_test_data): Add more tests of
21173         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
21174         minus_uflow.
21175         (scalbn_test): Use ALL_RM_TEST.
21176         (scalbln_test_data): Add more tests of negative arguments.  Use
21177         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
21178         (scalbln_test): Use ALL_RM_TEST.
21180 2014-03-18  Roland McGrath  <roland@hack.frob.com>
21182         * scripts/abilist.awk: Ignore symbols marked with .hidden.
21184 2014-03-18  Will Newton  <will.newton@linaro.org>
21186         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
21187         inaccurate comment.
21189 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21191         * Makerules [!subdir] (check-abi): Exit with error status if a
21192         test failed.
21194 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21196         * math/libm-test.inc (nearbyint_test_data): Include all tests used
21197         for rint.  Include results for all rounding modes.
21198         (nearbyint_test): Use ALL_RM_TEST.
21199         (rint_test_data): Include all tests used for nearbyint.
21201 2014-03-17  Will Newton  <will.newton@linaro.org>
21203         * nptl/sysdeps/pthread/pthread.h: Revert previous
21204         change.
21206         * sysdeps/generic/ldsodefs.h: Revert previous
21207         change.
21209         * libio/genops.c: Revert previous change.
21210         * libio/libioP.h: Likewise.
21211         * stdio-common/vfprintf.c: Likewise.
21213         * sysdeps/generic/math_private.h: Revert previous
21214         change.
21216         * sysdeps/generic/math_private.h: Check whether
21217         HAVE_RM_CTX is defined with #ifdef rather
21218         than #if.
21220         * argp/argp-fmtstream.h: Check whether
21221         __STRICT_ANSI__ is defined with #ifdef rather
21222         than #if.
21223         * argp/argp.h: Likewise.
21225         * libio/genops.c: Check whether
21226         _IO_JUMPS_OFFSET is defined with #ifdef rather
21227         than #if.
21228         * libio/libioP.h: Likewise.
21229         * stdio-common/vfprintf.c: Likewise.
21231         * sysdeps/generic/ldsodefs.h: Check whether
21232         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
21233         than #if.
21235         * nptl/sysdeps/pthread/pthread.h: Check
21236         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
21237         its value.
21239 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21241         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
21242         setting O_APPEND.
21243         * libio/tst-ftell-active-handler.c (do_append_test): Add a
21244         test case.
21246         [BZ #16680]
21247         * libio/fileops.c (_IO_file_open): Seek to end of file but
21248         don't cache the offset.
21249         (get_file_offset): Remove function.
21250         (do_ftell): Use cached offset when available.
21251         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
21252         don't cache the offset.
21253         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
21254         case.
21255         (do_one_test): Call it.
21256         (do_ftell_test): Fix up expected old offset for a+ mode.
21257         * libio/wfileops.c (do_ftell_wide): Used cached offset when
21258         available.
21260         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
21261         up test status with function return status.
21262         (do_write_test): Likewise.
21263         (do_append_test): Likewise.
21265         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
21266         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
21267         Remove.
21269 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21271         * math/gen-libm-test.pl (parse_args): Handle results specified for
21272         each rounding mode separately.
21273         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
21274         tests and results from lrint_tonearest_test_data,
21275         lrint_towardzero_test_data, lrint_downward_test_data and
21276         lrint_upward_test_data.
21277         (lrint_test): Use ALL_RM_TEST.
21278         (lrint_tonearest_test_data): Remove.
21279         (lrint_test_tonearest): Likewise.
21280         (lrint_towardzero_test_data): Likewise.
21281         (lrint_test_towardzero): Likewise.
21282         (lrint_downward_test_data): Likewise.
21283         (lrint_test_downward): Likewise.
21284         (lrint_upward_test_data): Likewise.
21285         (lrint_test_upward): Likewise.
21286         (llrint_test_data): Merge in per-rounding-mode tests and results
21287         from llrint_tonearest_test_data, llrint_towardzero_test_data,
21288         llrint_downward_test_data and llrint_upward_test_data.
21289         (llrint_test): Use ALL_RM_TEST.
21290         (llrint_tonearest_test_data): Remove.
21291         (llrint_test_tonearest): Likewise.
21292         (llrint_towardzero_test_data): Likewise.
21293         (llrint_test_towardzero): Likewise.
21294         (llrint_downward_test_data): Likewise.
21295         (llrint_test_downward): Likewise.
21296         (llrint_upward_test_data): Likewise.
21297         (llrint_test_upward): Likewise.
21298         (rint_test_data): Merge in per-rounding-mode tests and results
21299         from rint_tonearest_test_data, rint_towardzero_test_data,
21300         rint_downward_test_data and rint_upward_test_data.  Add
21301         per-rounding-mode results for tests not in those arrays.
21302         (rint_test): Use ALL_RM_TEST.
21303         (rint_tonearest_test_data): Remove.
21304         (rint_test_tonearest): Likewise.
21305         (rint_towardzero_test_data): Likewise.
21306         (rint_test_towardzero): Likewise.
21307         (rint_downward_test_data): Likewise.
21308         (rint_test_downward): Likewise.
21309         (rint_upward_test_data): Likewise.
21310         (rint_test_upward): Likewise.
21311         (main): Don't call removed functions.
21313 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21315         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
21316         "Compiled on ..." crapola.  It is anti-useful.
21318 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
21320         * scripts/evaluate-test.sh: Handle fourth argument to determine
21321         whether test run should stop on failure.
21322         * Makeconfig (stop-on-test-failure): New variable.
21323         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
21324         $(stop-on-test-failure).
21325         * Makefile (tests): Give a summary of results from testing and
21326         exit with failure status if they include an ERROR or FAIL.
21327         (xtests): Likewise.
21328         * manual/install.texi (Configuring and compiling): Mention
21329         stop-on-test-failure=y.
21330         * INSTALL: Regenerated.
21332 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21334         * scripts/versionlist.awk: New file.
21335         * Makerules [$(build-shared) = yes]
21336         (postclean-generated): Add Versions.def, not Versions.def.v and
21337         Versions.def.v.i.
21338         ($(common-objpfx)Versions.def.v.i): Target removed.
21339         ($(common-objpfx)Versions.def): New target.
21340         ($(common-objpfx)Versions.all): Depend on that rather that
21341         $(common-objpfx)Versions.def.v.
21342         * Versions.def: File removed.
21344         * Makeconfig (+gccwarn): Add -Wundef.
21345         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
21346         a dl-sysdep.h breaking its contract.
21347         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
21348         * include/stackinfo.h: New file.
21349         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
21350         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
21351         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
21352         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
21353         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
21354         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
21355         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21356         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21357         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21358         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21359         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21360         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
21361         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21362         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21363         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21365 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21367         [BZ #16707]
21368         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
21369         implementation.
21370         * math/libm-test.inc (round_test_data): Add more tests.
21372         [BZ #16706]
21373         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
21374         implementation.
21375         * math/libm-test.inc (nearbyint_test_data): Add more tests.
21377         [BZ #16701]
21378         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
21379         implementation.
21380         * math/libm-test.inc (ceil_test_data): Add more tests.
21382         * math/libm-test.inc (trunc_test_data): Add more tests related to
21383         BZ#16414.
21385 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21387         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
21388         with #if rather than #ifdef.
21389         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
21391 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
21393         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
21394         first.  Disable AVX-512 GCC support if assembler doesn't support
21395         it.
21396         * sysdeps/x86_64/configure: Regenerated.
21398 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
21400         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
21401         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
21402         (__old_pthread_attr_setstack): Likewise.
21403         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
21404         [!_STACK_GROWS_DOWN]: Likewise.
21406 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
21408         * config.make.in (have-bash2): Delete.
21409         * configure.ac (libc_cv_have_bash2): Delete.
21410         * configure: Regenerate.
21411         * elf/Makefile (common-ldd-rewrite): Rename to ...
21412         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
21413         (sh-ldd-rewrite): Delete.
21414         (bash-ldd-rewrite): Delete.
21415         (have-bash2): Delete checks.
21416         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
21417         ldd-rewrite.
21419         * config.make.in (have-ksh): Delete.
21420         (KSH): Delete.
21421         * configure.ac (libc_cv_have_ksh): Delete.
21422         * configure: Regenerate.
21424         * elf/Makefile: Delete $(have-ksh) check.
21425         ($(objpfx)sotruss): Change KSH to BASH.
21426         * elf/sotruss.ksh: Rename to ...
21427         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
21428         function style to match POSIX.  Drop ksh vim mode setting.
21430         * manual/time.texi (Specifying the Time Zone with TZ): Change
21431         Tuesday to Thursday.
21433         * debug/tst-longjmp_chk2.c: Update header comment.
21434         (stackoverflow_handler): Add comment.  Call assert on pass value.
21436 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
21438         [BZ #16194]
21439         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
21440         (HAVE_AVX512_ASM_SUPPORT): Likewise.
21441         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
21442         (La_x86_64_vector): Add zmm.
21443         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
21444         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
21445         ($(objpfx)tst-audit10): New target.
21446         ($(objpfx)tst-audit10.out): Likewise.
21447         (tst-audit10-ENV): New.
21448         (AVX512-CFLAGS): Likewise.
21449         (CFLAGS-tst-audit10.c): Likewise.
21450         (CFLAGS-tst-auditmod10a.c): Likewise.
21451         (CFLAGS-tst-auditmod10b.c): Likewise.
21452         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
21453         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
21454         * sysdeps/x86_64/configure: Regenerated.
21455         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
21456         AVX-512 zmm register support.
21457         (_dl_x86_64_save_sse): Likewise.
21458         (_dl_x86_64_restore_sse): Likewise.
21459         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
21460         size vector registers.
21461         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
21462         (ZMM_SIZE): Likewise.
21463         * sysdeps/x86_64/tst-audit10.c: New file.
21464         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
21465         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
21467 2014-03-13  Roland McGrath  <roland@hack.frob.com>
21469         * configure.ac (HAVE_EHDR_START): New check.
21470         * configure: Regenerated.
21471         * config.h.in (HAVE_EHDR_START): New #undef.
21472         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
21473         assuming the lowest-addressed segment maps the start of the file.
21475 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
21477         * INSTALL: Regenerated.
21479 2014-03-13  Will Newton  <will.newton@linaro.org>
21481         * manual/setjmp.texi (System V contexts): Improve
21482         clarity and grammar of documentation.
21484 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
21486         [BZ #16381]
21487         * elf/Makefile (tests): Add tst-pie2.
21488         (tests-pie): Add tst-pie2.
21489         * elf/tst-pie2.c: New file.
21490         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
21491         for ET_EXEC.
21492         * elf/rtld.c (map_doit): Load executable as lt_executable.
21493         (dl_main): Likewise.
21495 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
21497         [BZ #16642]
21498         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21499         (__ASSUME_PSELECT): Undefine.
21501 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21503         [BZ #16689]
21504         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
21505         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
21506         static build.
21507         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
21508         selector for static builds.
21510 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21512         [BZ #16695]
21513         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
21514         key in the buffer.
21516 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21518         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
21519         IFUNC selector for static builds.
21521 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
21523         * sysdeps/mips/math_private.h [__mips_hard_float]
21524         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
21525         libc_feresetround_mips_ctx.
21526         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
21527         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
21528         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
21530         [BZ #16677]
21531         * math/s_nextafter.c (__nextafter): Do not return value from
21532         overflowing computation.
21533         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
21534         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
21535         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
21536         Likewise.
21537         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
21538         Likewise.
21539         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
21540         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
21542 2014-03-11  Roland McGrath  <roland@hack.frob.com>
21544         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
21545         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
21546         Move sfi_sp use from the load-multiple (that no longer sets sp) to
21547         the new mov targetting sp.
21549 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21551         [BZ #16683]
21552         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
21553         Define it for static builds as well.
21554         (NO_BZERO_IMPL): Likewise.
21556 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21558         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
21559         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
21560         multiarch strspn for PPC64.
21561         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
21562         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
21563         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21564         (__libc_ifunc_impl_list): Likewise.
21565         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
21566         multiarch optimizations
21567         * string/strspn.c (strspn): Using macro to redefine symbol name.
21569 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21570             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21572         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
21573         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
21574         multiarch strncat for PPC64.
21575         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
21576         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
21577         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21578         (__libc_ifunc_impl_list): Likewise.
21579         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
21580         multiarch optimizations
21582 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21584         [BZ #16639]
21585         * nscd/nscd.service: Make service type forking.
21587 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21589         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
21590         sign in non default rounding modes.
21591         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
21593 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
21595         * math/libm-test.inc (ALL_RM_TEST): New macro.
21596         (ceil_test): Use ALL_RM_TEST.
21597         (cimag_test): Likewise.
21598         (conj_test): Likewise.
21599         (copysign_test): Likewise.
21600         (cproj_test): Likewise.
21601         (creal_test): Likewise.
21602         (fabs_test): Likewise.
21603         (floor_test): Likewise.
21604         (fmax_test): Likewise.
21605         (fmin_test): Likewise.
21606         (fmod_test): Likewise.
21607         (fpclassify_test): Likewise.
21608         (frexp_test): Likewise.
21609         (ilogb_test): Likewise.
21610         (isfinite_test): Likewise.
21611         (finite_test): Likewise.
21612         (isgreater_test): Likewise.
21613         (isgreaterequal_test): Likewise.
21614         (isinf_test): Likewise.
21615         (isless_test): Likewise.
21616         (islessequal_test): Likewise.
21617         (islessgreater_test): Likewise.
21618         (isnan_test): Likewise.
21619         (isnormal_test): Likewise.
21620         (issignaling_test): Likewise.
21621         (isunordered_test): Likewise.
21622         (logb_test): Likewise.
21623         (logb_downward_test_data): Remove.
21624         (logb_test_downward): Likewise.
21625         (lround_test): Use ALL_RM_TEST.
21626         (llround_test): Likewise.
21627         (modf_test): Likewise.
21628         (nexttoward_test): Likewise.
21629         (remainder_test): Likewise.
21630         (drem_test): Likewise.
21631         (remainder_tonearest_test_data): Likewise.
21632         (remainder_test_tonearest): Likewise.
21633         (drem_test_tonearest): Likewise.
21634         (remainder_towardzero_test_data): Likewise.
21635         (remainder_test_towardzero): Likewise.
21636         (drem_test_towardzero): Likewise.
21637         (remainder_downward_test_data): Likewise.
21638         (remainder_test_downward): Likewise.
21639         (drem_test_downward): Likewise.
21640         (remainder_upward_test_data): Likewise.
21641         (remainder_test_upward): Likewise.
21642         (drem_test_upward): Likewise.
21643         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
21644         (round_test): Use ALL_RM_TEST.
21645         (signbit_test): Likewise.
21646         (trunc_test): Likewise.
21647         (significand_test): Likewise.
21648         (main): Don't call removed functions.
21650 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
21652         [BZ #16674]
21653         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
21654         || __USE_XOPEN2K8].
21655         (ILL_ILLOPN): Likewise.
21656         (ILL_ILLADR): Likewise.
21657         (ILL_ILLTRP): Likewise.
21658         (ILL_PRVOPC): Likewise.
21659         (ILL_PRVREG): Likewise.
21660         (ILL_COPROC): Likewise.
21661         (ILL_BADSTK): Likewise.
21662         (FPE_INTDIV): Likewise.
21663         (FPE_INTOVF): Likewise.
21664         (FPE_FLTDIV): Likewise.
21665         (FPE_FLTOVF): Likewise.
21666         (FPE_FLTUND): Likewise.
21667         (FPE_FLTRES): Likewise.
21668         (FPE_FLTINV): Likewise.
21669         (FPE_FLTSUB): Likewise.
21670         (SEGV_MAPERR): Likewise.
21671         (SEGV_ACCERR): Likewise.
21672         (BUS_ADRALN): Likewise.
21673         (BUS_ADRERR): Likewise.
21674         (BUS_OBJERR): Likewise.
21675         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21676         (TRAP_TRACE): Likewise.
21677         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21678         __USE_XOPEN2K8].
21679         (CLD_KILLED): Likewise.
21680         (CLD_DUMPED): Likewise.
21681         (CLD_TRAPPED): Likewise.
21682         (CLD_STOPPED): Likewise.
21683         (CLD_CONTINUED): Likewise.
21684         (POLL_IN): Likewise.
21685         (POLL_OUT): Likewise.
21686         (POLL_MSG): Likewise.
21687         (POLL_ERR): Likewise.
21688         (POLL_PRI): Likewise.
21689         (POLL_HUP): Likewise.
21690         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
21691         Likewise.
21692         (ILL_ILLOPN): Likewise.
21693         (ILL_ILLADR): Likewise.
21694         (ILL_ILLTRP): Likewise.
21695         (ILL_PRVOPC): Likewise.
21696         (ILL_PRVREG): Likewise.
21697         (ILL_COPROC): Likewise.
21698         (ILL_BADSTK): Likewise.
21699         (FPE_INTDIV): Likewise.
21700         (FPE_INTOVF): Likewise.
21701         (FPE_FLTDIV): Likewise.
21702         (FPE_FLTOVF): Likewise.
21703         (FPE_FLTUND): Likewise.
21704         (FPE_FLTRES): Likewise.
21705         (FPE_FLTINV): Likewise.
21706         (FPE_FLTSUB): Likewise.
21707         (SEGV_MAPERR): Likewise.
21708         (SEGV_ACCERR): Likewise.
21709         (BUS_ADRALN): Likewise.
21710         (BUS_ADRERR): Likewise.
21711         (BUS_OBJERR): Likewise.
21712         (BUS_MCEERR_AR): Likewise.
21713         (BUS_MCEERR_AO): Likewise.
21714         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21715         (TRAP_TRACE): Likewise.
21716         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21717         __USE_XOPEN2K8].
21718         (CLD_KILLED): Likewise.
21719         (CLD_DUMPED): Likewise.
21720         (CLD_TRAPPED): Likewise.
21721         (CLD_STOPPED): Likewise.
21722         (CLD_CONTINUED): Likewise.
21723         (POLL_IN): Likewise.
21724         (POLL_OUT): Likewise.
21725         (POLL_MSG): Likewise.
21726         (POLL_ERR): Likewise.
21727         (POLL_PRI): Likewise.
21728         (POLL_HUP): Likewise.
21729         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
21730         (ILL_ILLOPN): Likewise.
21731         (ILL_ILLADR): Likewise.
21732         (ILL_ILLTRP): Likewise.
21733         (ILL_PRVOPC): Likewise.
21734         (ILL_PRVREG): Likewise.
21735         (ILL_COPROC): Likewise.
21736         (ILL_BADSTK): Likewise.
21737         (FPE_INTDIV): Likewise.
21738         (FPE_INTOVF): Likewise.
21739         (FPE_FLTDIV): Likewise.
21740         (FPE_FLTOVF): Likewise.
21741         (FPE_FLTUND): Likewise.
21742         (FPE_FLTRES): Likewise.
21743         (FPE_FLTINV): Likewise.
21744         (FPE_FLTSUB): Likewise.
21745         (SEGV_MAPERR): Likewise.
21746         (SEGV_ACCERR): Likewise.
21747         (BUS_ADRALN): Likewise.
21748         (BUS_ADRERR): Likewise.
21749         (BUS_OBJERR): Likewise.
21750         (BUS_MCEERR_AR): Likewise.
21751         (BUS_MCEERR_AO): Likewise.
21752         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21753         (TRAP_TRACE): Likewise.
21754         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21755         __USE_XOPEN2K8].
21756         (CLD_KILLED): Likewise.
21757         (CLD_DUMPED): Likewise.
21758         (CLD_TRAPPED): Likewise.
21759         (CLD_STOPPED): Likewise.
21760         (CLD_CONTINUED): Likewise.
21761         (POLL_IN): Likewise.
21762         (POLL_OUT): Likewise.
21763         (POLL_MSG): Likewise.
21764         (POLL_ERR): Likewise.
21765         (POLL_PRI): Likewise.
21766         (POLL_HUP): Likewise.
21767         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
21768         Likewise.
21769         (ILL_ILLOPN): Likewise.
21770         (ILL_ILLADR): Likewise.
21771         (ILL_ILLTRP): Likewise.
21772         (ILL_PRVOPC): Likewise.
21773         (ILL_PRVREG): Likewise.
21774         (ILL_COPROC): Likewise.
21775         (ILL_BADSTK): Likewise.
21776         (ILL_BADIADDR): Likewise.
21777         (ILL_BREAK): Likewise.
21778         (FPE_INTDIV): Likewise.
21779         (FPE_INTOVF): Likewise.
21780         (FPE_FLTDIV): Likewise.
21781         (FPE_FLTOVF): Likewise.
21782         (FPE_FLTUND): Likewise.
21783         (FPE_FLTRES): Likewise.
21784         (FPE_FLTINV): Likewise.
21785         (FPE_FLTSUB): Likewise.
21786         (FPE_DECOVF): Likewise.
21787         (FPE_DECDIV): Likewise.
21788         (FPE_DECERR): Likewise.
21789         (FPE_INVASC): Likewise.
21790         (FPE_INVDEC): Likewise.
21791         (SEGV_MAPERR): Likewise.
21792         (SEGV_ACCERR): Likewise.
21793         (SEGV_PSTKOVF): Likewise.
21794         (BUS_ADRALN): Likewise.
21795         (BUS_ADRERR): Likewise.
21796         (BUS_OBJERR): Likewise.
21797         (BUS_MCEERR_AR): Likewise.
21798         (BUS_MCEERR_AO): Likewise.
21799         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21800         (TRAP_TRACE): Likewise.
21801         (TRAP_BRANCH): Likewise.
21802         (TRAP_HWBKPT): Likewise.
21803         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21804         __USE_XOPEN2K8].
21805         (CLD_KILLED): Likewise.
21806         (CLD_DUMPED): Likewise.
21807         (CLD_TRAPPED): Likewise.
21808         (CLD_STOPPED): Likewise.
21809         (CLD_CONTINUED): Likewise.
21810         (POLL_IN): Likewise.
21811         (POLL_OUT): Likewise.
21812         (POLL_MSG): Likewise.
21813         (POLL_ERR): Likewise.
21814         (POLL_PRI): Likewise.
21815         (POLL_HUP): Likewise.
21816         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
21817         (ILL_ILLOPN): Likewise.
21818         (ILL_ILLADR): Likewise.
21819         (ILL_ILLTRP): Likewise.
21820         (ILL_PRVOPC): Likewise.
21821         (ILL_PRVREG): Likewise.
21822         (ILL_COPROC): Likewise.
21823         (ILL_BADSTK): Likewise.
21824         (FPE_INTDIV): Likewise.
21825         (FPE_INTOVF): Likewise.
21826         (FPE_FLTDIV): Likewise.
21827         (FPE_FLTOVF): Likewise.
21828         (FPE_FLTUND): Likewise.
21829         (FPE_FLTRES): Likewise.
21830         (FPE_FLTINV): Likewise.
21831         (FPE_FLTSUB): Likewise.
21832         (SEGV_MAPERR): Likewise.
21833         (SEGV_ACCERR): Likewise.
21834         (BUS_ADRALN): Likewise.
21835         (BUS_ADRERR): Likewise.
21836         (BUS_OBJERR): Likewise.
21837         (BUS_MCEERR_AR): Likewise.
21838         (BUS_MCEERR_AO): Likewise.
21839         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21840         (TRAP_TRACE): Likewise.
21841         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21842         __USE_XOPEN2K8].
21843         (CLD_KILLED): Likewise.
21844         (CLD_DUMPED): Likewise.
21845         (CLD_TRAPPED): Likewise.
21846         (CLD_STOPPED): Likewise.
21847         (CLD_CONTINUED): Likewise.
21848         (POLL_IN): Likewise.
21849         (POLL_OUT): Likewise.
21850         (POLL_MSG): Likewise.
21851         (POLL_ERR): Likewise.
21852         (POLL_PRI): Likewise.
21853         (POLL_HUP): Likewise.
21854         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
21855         (ILL_ILLOPN): Likewise.
21856         (ILL_ILLADR): Likewise.
21857         (ILL_ILLTRP): Likewise.
21858         (ILL_PRVOPC): Likewise.
21859         (ILL_PRVREG): Likewise.
21860         (ILL_COPROC): Likewise.
21861         (ILL_BADSTK): Likewise.
21862         (FPE_INTDIV): Likewise.
21863         (FPE_INTOVF): Likewise.
21864         (FPE_FLTDIV): Likewise.
21865         (FPE_FLTOVF): Likewise.
21866         (FPE_FLTUND): Likewise.
21867         (FPE_FLTRES): Likewise.
21868         (FPE_FLTINV): Likewise.
21869         (FPE_FLTSUB): Likewise.
21870         (SEGV_MAPERR): Likewise.
21871         (SEGV_ACCERR): Likewise.
21872         (BUS_ADRALN): Likewise.
21873         (BUS_ADRERR): Likewise.
21874         (BUS_OBJERR): Likewise.
21875         (BUS_MCEERR_AR): Likewise.
21876         (BUS_MCEERR_AO): Likewise.
21877         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21878         (TRAP_TRACE): Likewise.
21879         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21880         __USE_XOPEN2K8].
21881         (CLD_KILLED): Likewise.
21882         (CLD_DUMPED): Likewise.
21883         (CLD_TRAPPED): Likewise.
21884         (CLD_STOPPED): Likewise.
21885         (CLD_CONTINUED): Likewise.
21886         (POLL_IN): Likewise.
21887         (POLL_OUT): Likewise.
21888         (POLL_MSG): Likewise.
21889         (POLL_ERR): Likewise.
21890         (POLL_PRI): Likewise.
21891         (POLL_HUP): Likewise.
21892         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
21893         (ILL_ILLOPN): Likewise.
21894         (ILL_ILLADR): Likewise.
21895         (ILL_ILLTRP): Likewise.
21896         (ILL_PRVOPC): Likewise.
21897         (ILL_PRVREG): Likewise.
21898         (ILL_COPROC): Likewise.
21899         (ILL_BADSTK): Likewise.
21900         (FPE_INTDIV): Likewise.
21901         (FPE_INTOVF): Likewise.
21902         (FPE_FLTDIV): Likewise.
21903         (FPE_FLTOVF): Likewise.
21904         (FPE_FLTUND): Likewise.
21905         (FPE_FLTRES): Likewise.
21906         (FPE_FLTINV): Likewise.
21907         (FPE_FLTSUB): Likewise.
21908         (SEGV_MAPERR): Likewise.
21909         (SEGV_ACCERR): Likewise.
21910         (BUS_ADRALN): Likewise.
21911         (BUS_ADRERR): Likewise.
21912         (BUS_OBJERR): Likewise.
21913         (BUS_MCEERR_AR): Likewise.
21914         (BUS_MCEERR_AO): Likewise.
21915         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21916         (TRAP_TRACE): Likewise.
21917         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21918         __USE_XOPEN2K8].
21919         (CLD_KILLED): Likewise.
21920         (CLD_DUMPED): Likewise.
21921         (CLD_TRAPPED): Likewise.
21922         (CLD_STOPPED): Likewise.
21923         (CLD_CONTINUED): Likewise.
21924         (POLL_IN): Likewise.
21925         (POLL_OUT): Likewise.
21926         (POLL_MSG): Likewise.
21927         (POLL_ERR): Likewise.
21928         (POLL_PRI): Likewise.
21929         (POLL_HUP): Likewise.
21930         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
21931         (ILL_ILLOPN): Likewise.
21932         (ILL_ILLADR): Likewise.
21933         (ILL_ILLTRP): Likewise.
21934         (ILL_PRVOPC): Likewise.
21935         (ILL_PRVREG): Likewise.
21936         (ILL_COPROC): Likewise.
21937         (ILL_BADSTK): Likewise.
21938         (ILL_DBLFLT): Likewise.
21939         (ILL_HARDWALL): Likewise.
21940         (FPE_INTDIV): Likewise.
21941         (FPE_INTOVF): Likewise.
21942         (FPE_FLTDIV): Likewise.
21943         (FPE_FLTOVF): Likewise.
21944         (FPE_FLTUND): Likewise.
21945         (FPE_FLTRES): Likewise.
21946         (FPE_FLTINV): Likewise.
21947         (FPE_FLTSUB): Likewise.
21948         (SEGV_MAPERR): Likewise.
21949         (SEGV_ACCERR): Likewise.
21950         (BUS_ADRALN): Likewise.
21951         (BUS_ADRERR): Likewise.
21952         (BUS_OBJERR): Likewise.
21953         (BUS_MCEERR_AR): Likewise.
21954         (BUS_MCEERR_AO): Likewise.
21955         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21956         (TRAP_TRACE): Likewise.
21957         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21958         __USE_XOPEN2K8].
21959         (CLD_KILLED): Likewise.
21960         (CLD_DUMPED): Likewise.
21961         (CLD_TRAPPED): Likewise.
21962         (CLD_STOPPED): Likewise.
21963         (CLD_CONTINUED): Likewise.
21964         (POLL_IN): Likewise.
21965         (POLL_OUT): Likewise.
21966         (POLL_MSG): Likewise.
21967         (POLL_ERR): Likewise.
21968         (POLL_PRI): Likewise.
21969         (POLL_HUP): Likewise.
21970         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
21971         (ILL_ILLOPN): Likewise.
21972         (ILL_ILLADR): Likewise.
21973         (ILL_ILLTRP): Likewise.
21974         (ILL_PRVOPC): Likewise.
21975         (ILL_PRVREG): Likewise.
21976         (ILL_COPROC): Likewise.
21977         (ILL_BADSTK): Likewise.
21978         (FPE_INTDIV): Likewise.
21979         (FPE_INTOVF): Likewise.
21980         (FPE_FLTDIV): Likewise.
21981         (FPE_FLTOVF): Likewise.
21982         (FPE_FLTUND): Likewise.
21983         (FPE_FLTRES): Likewise.
21984         (FPE_FLTINV): Likewise.
21985         (FPE_FLTSUB): Likewise.
21986         (SEGV_MAPERR): Likewise.
21987         (SEGV_ACCERR): Likewise.
21988         (BUS_ADRALN): Likewise.
21989         (BUS_ADRERR): Likewise.
21990         (BUS_OBJERR): Likewise.
21991         (BUS_MCEERR_AR): Likewise.
21992         (BUS_MCEERR_AO): Likewise.
21993         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21994         (TRAP_TRACE): Likewise.
21995         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21996         __USE_XOPEN2K8].
21997         (CLD_KILLED): Likewise.
21998         (CLD_DUMPED): Likewise.
21999         (CLD_TRAPPED): Likewise.
22000         (CLD_STOPPED): Likewise.
22001         (CLD_CONTINUED): Likewise.
22002         (POLL_IN): Likewise.
22003         (POLL_OUT): Likewise.
22004         (POLL_MSG): Likewise.
22005         (POLL_ERR): Likewise.
22006         (POLL_PRI): Likewise.
22007         (POLL_HUP): Likewise.
22008         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
22009         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22011         [BZ #16670]
22012         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
22013         before #include of <time.h>.
22014         [!__USE_XOPEN2K] (__need_timespec): Likewise.
22015         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
22016         (test-xfail-UNIX98/sched.h/conform): Likewise.
22018 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
22020         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
22021         error absence of trapping exception support.
22022         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
22024 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22026         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
22027         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
22028         * timezone/Makefile (testdata): Move definition above include of
22029         Rules.
22030         (test-zones): New variable.
22031         (tests-special): Add zone files.
22032         (build-testdata): Use $(evaluate-test).
22034         * elf/Makefile (tests-special): Rename tests to end with .out.
22035         ($(objpfx)noload-mem): Likewise.
22036         ($(objpfx)tst-leaks1-mem): Likewise.
22037         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
22038         * iconv/Makefile (xtests-special): Change test-iconvconfig to
22039         $(objpfx)test-iconvconfig.out.
22040         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
22041         set -e inside subshell and redirect output to file.
22042         * iconvdata/Makefile (generated): Rename tests to end with .out.
22043         Correct type.
22044         (tests-special): Rename tests to end with .out.
22045         ($(objpfx)mtrace-tst-loading): Likewise.
22046         * intl/Makefile (generated): Likewise.
22047         (tests-special): Likewise.
22048         ($(objpfx)mtrace-tst-gettext): Likewise.
22049         * misc/Makefile (generated): Likewise.
22050         (tests-special): Likewise.
22051         ($(objpfx)tst-error1-mem): Likewise.
22052         * nptl/Makefile (tests-special): Likewise.
22053         ($(objpfx)tst-stack3-mem): Likewise.
22054         (generated): Likewise.
22055         * posix/Makefile (generated): Likewise.
22056         (tests-special): Likewise.
22057         (xtests-special): Likewise.
22058         ($(objpfx)tst-fnmatch-mem): Likewise.
22059         ($(objpfx)bug-regex2-mem): Likewise.
22060         ($(objpfx)bug-regex14-mem): Likewise.
22061         ($(objpfx)bug-regex21-mem): Likewise.
22062         ($(objpfx)bug-regex31-mem): Likewise.
22063         ($(objpfx)tst-vfork3-mem): Likewise.
22064         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22065         ($(objpfx)tst-pcre-mem): Likewise.
22066         ($(objpfx)tst-boost-mem): Likewise.
22067         ($(objpfx)bug-ga2-mem): Likewise.
22068         ($(objpfx)bug-glob2-mem): Likewise.
22069         * resolv/Makefile (generate): Likewise.
22070         (tests-special): Likewise.
22071         (xtests-special): Likewise.
22072         (generated): Likewise.
22073         ($(objpfx)mtrace-tst-leaks): Likewise.
22074         ($(objpfx)mtrace-tst-leaks2): Likewise.
22076         * scripts/merge-test-results.sh: New file.
22077         * Makefile (tests-special-notdir): New variable.
22078         (tests): Run merge-test-results.sh.
22079         (xtests): Likewise.
22080         * Rules (tests-special-notdir): New variable.
22081         (xtests-special-notdir): Likewise.
22082         (tests): Run merge-test-results.sh
22083         (xtests): Likewise.
22085         * Makeconfig (test-xfail-name): New variable.
22086         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
22087         compute variable name for expected failures.
22088         * conform/Makefile (conformtest-headers-data): New variable.
22089         (conformtest-standards): Likewise.
22090         (conformtest-headers-ISO): Likewise.
22091         (conformtest-headers-ISO99): Likewise.
22092         (conformtest-headers-ISO11): Likewise.
22093         (conformtest-headers-POSIX): Likewise.
22094         (conformtest-headers-XPG3): Likewise.
22095         (conformtest-headers-XPG4): Likewise.
22096         (conformtest-headers-UNIX98): Likewise.
22097         (conformtest-headers-XOPEN2K): Likewise.
22098         (conformtest-headers-POSIX2008): Likewise.
22099         (conformtest-headers-XOPEN2K8): Likewise.
22100         (conformtest-header-list-base): Likewise.
22101         (conformtest-header-list-tests): Likewise.
22102         (conformtest-header-base): Likewise.
22103         (conformtest-header-tests): Likewise.
22104         (tests-special): Add $(conformtest-header-list-tests).  If
22105         [$(fast-check) && !$(cross-compiling)], add
22106         $(conformtest-header-tests) instead of
22107         $(objpfx)run-conformtest.out.
22108         (generated): Add $(conformtest-header-list-base).  If
22109         [$(fast-check) && !$(cross-compiling)], add
22110         $(conformtest-header-base).  Remove previous setting.
22111         ($(conformtest-header-list-tests)): New target.
22112         (test-xfail-run-conformtest): Remove variable.
22113         ($(objpfx)run-conformtest.out): Remove target.
22114         (test-xfail-ISO11/complex.h/conform): New variable.
22115         (test-xfail-ISO11/stdalign.h/conform): Likewise.
22116         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
22117         (test-xfail-XPG3/varargs.h/conform): Likewise.
22118         (test-xfail-XPG4/varargs.h/conform): Likewise.
22119         (test-xfail-UNIX98/varargs.h/conform): Likewise.
22120         (test-xfail-XPG4/ndbm.h/conform): Likewise.
22121         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
22122         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
22123         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
22124         (test-xfail-XPG3/fcntl.h/conform): Likewise.
22125         (test-xfail-XPG3/ftw.h/conform): Likewise.
22126         (test-xfail-XPG3/grp.h/conform): Likewise.
22127         (test-xfail-XPG3/langinfo.h/conform): Likewise.
22128         (test-xfail-XPG3/limits.h/conform): Likewise.
22129         (test-xfail-XPG3/pwd.h/conform): Likewise.
22130         (test-xfail-XPG3/search.h/conform): Likewise.
22131         (test-xfail-XPG3/signal.h/conform): Likewise.
22132         (test-xfail-XPG3/stdio.h/conform): Likewise.
22133         (test-xfail-XPG3/stdlib.h/conform): Likewise.
22134         (test-xfail-XPG3/string.h/conform): Likewise.
22135         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
22136         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
22137         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
22138         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
22139         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
22140         (test-xfail-XPG3/sys/types.h/conform): Likewise.
22141         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
22142         (test-xfail-XPG3/termios.h/conform): Likewise.
22143         (test-xfail-XPG3/time.h/conform): Likewise.
22144         (test-xfail-XPG3/unistd.h/conform): Likewise.
22145         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
22146         (test-xfail-XPG4/fcntl.h/conform): Likewise.
22147         (test-xfail-XPG4/langinfo.h/conform): Likewise.
22148         (test-xfail-XPG4/netdb.h/conform): Likewise.
22149         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
22150         (test-xfail-XPG4/signal.h/conform): Likewise.
22151         (test-xfail-XPG4/stdio.h/conform): Likewise.
22152         (test-xfail-XPG4/stdlib.h/conform): Likewise.
22153         (test-xfail-XPG4/stropts.h/conform): Likewise.
22154         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
22155         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
22156         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
22157         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
22158         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
22159         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
22160         (test-xfail-XPG4/sys/time.h/conform): Likewise.
22161         (test-xfail-XPG4/sys/types.h/conform): Likewise.
22162         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
22163         (test-xfail-XPG4/termios.h/conform): Likewise.
22164         (test-xfail-XPG4/ucontext.h/conform): Likewise.
22165         (test-xfail-XPG4/unistd.h/conform): Likewise.
22166         (test-xfail-XPG4/utmpx.h/conform): Likewise.
22167         (test-xfail-POSIX/sched.h/conform): Likewise.
22168         (test-xfail-POSIX/signal.h/conform): Likewise.
22169         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22170         (test-xfail-POSIX/tar.h/conform): Likewise.
22171         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
22172         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
22173         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22174         (test-xfail-UNIX98/netdb.h/conform): Likewise.
22175         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
22176         (test-xfail-UNIX98/sched.h/conform): Likewise.
22177         (test-xfail-UNIX98/signal.h/conform): Likewise.
22178         (test-xfail-UNIX98/stdio.h/conform): Likewise.
22179         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
22180         (test-xfail-UNIX98/stropts.h/conform): Likewise.
22181         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
22182         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
22183         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
22184         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
22185         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
22186         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
22187         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
22188         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
22189         (test-xfail-UNIX98/unistd.h/conform): Likewise.
22190         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
22191         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
22192         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
22193         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22194         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
22195         (test-xfail-XOPEN2K/math.h/conform): Likewise.
22196         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22197         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
22198         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
22199         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
22200         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
22201         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
22202         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
22203         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
22204         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
22205         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
22206         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
22207         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
22208         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
22209         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
22210         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
22211         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
22212         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
22213         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
22214         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
22215         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
22216         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
22217         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
22218         (test-xfail-POSIX2008/signal.h/conform): Likewise.
22219         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
22220         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
22221         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
22222         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
22223         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
22224         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
22225         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
22226         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
22227         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
22228         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
22229         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
22230         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
22231         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
22232         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
22233         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
22234         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
22235         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
22236         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
22237         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
22238         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
22239         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
22240         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
22241         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
22242         (conformtest-cc-flags): Likewise.
22243         ($(conformtest-header-tests): New target.
22244         * conform/check-header-lists.sh: New file.
22245         * conform/run-conformtest.sh: Remove.
22247         * conform/conformtest.pl: Allow ' and \ in values given for
22248         constants.
22249         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
22250         inclusion.
22251         [POSIX] (sys/types.h): Likewise.
22252         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
22253         inclusion.
22254         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
22255         inclusion.
22256         * conform/data/signal.h-data (SIGIO): Remove expectation.
22257         [XPG3] (SIGBUS): Do not expect.
22258         [POSIX || XPG3] (SIGPOLL): Likewise.
22259         [POSIX || XPG3] (SIGPROF): Likewise.
22260         [POSIX || XPG3] (SIGSYS): Likewise.
22261         [XPG3] (SIGTRAP): Likewise.
22262         [POSIX || XPG3] (SIGURG): Likewise.
22263         [POSIX || XPG3] (SIGVTALRM): Likewise.
22264         [POSIX || XPG3] (SIGXCPU): Likewise.
22265         [POSIX || XPG3] (SIGXFSZ): Likewise.
22266         [POSIX] (SA_SIGINFO): Expect.
22267         [XPG3] (siginfo_t): Do not expect type or contents.
22268         [POSIX] (si_pid): Do not expect element.
22269         [POSIX] (si_uid): Likewise.
22270         [POSIX] (si_addr): Likewise.
22271         [POSIX] (si_status): Likewise.
22272         [POSIX] (si_band): Likewise.
22273         [XPG4] (si_value): Likewise.
22274         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
22275         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
22276         [POSIX || XPG3] (ILL_ILLADR): Likewise.
22277         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
22278         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
22279         [POSIX || XPG3] (ILL_PRVREG): Likewise.
22280         [POSIX || XPG3] (ILL_COPROC): Likewise.
22281         [POSIX || XPG3] (ILL_BADSTK): Likewise.
22282         [POSIX || XPG3] (FPE_INTDIV): Likewise.
22283         [POSIX || XPG3] (FPE_INTOVF): Likewise.
22284         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
22285         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
22286         [POSIX || XPG3] (FPE_FLTUND): Likewise.
22287         [POSIX || XPG3] (FPE_FLTRES): Likewise.
22288         [POSIX || XPG3] (FPE_FLTINV): Likewise.
22289         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
22290         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
22291         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
22292         [POSIX || XPG3] (BUS_ADRALN): Likewise.
22293         [POSIX || XPG3] (BUS_ADRERR): Likewise.
22294         [POSIX || XPG3] (BUS_OBJERR): Likewise.
22295         [POSIX || XPG3] (CLD_EXITED): Likewise.
22296         [POSIX || XPG3] (CLD_KILLED): Likewise.
22297         [POSIX || XPG3] (CLD_DUMPED): Likewise.
22298         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
22299         [POSIX || XPG3] (CLD_STOPPED): Likewise.
22300         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
22301         [POSIX || XPG3] (POLL_IN): Likewise.
22302         [POSIX || XPG3] (POLL_OUT): Likewise.
22303         [POSIX || XPG3] (POLL_MSG): Likewise.
22304         [POSIX || XPG3] (POLL_ERR): Likewise.
22305         [POSIX || XPG3] (POLL_PRI): Likewise.
22306         [POSIX || XPG3] (POLL_HUP): Likewise.
22307         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
22308         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
22309         (SIG*): Do not allow.
22310         [XPG3] (si_*): Likewise.
22311         [XPG3] (SI_*): Likewise.
22312         [XPG3 || XPG4] (sigev_*): Likewise.
22313         [XPG3 || XPG4] (SIGEV_*): Likewise.
22314         [XPG3 || XPG4] (sival_*): Likewise.
22315         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
22316         [POSIX || XPG3] (BUS_*): Likewise.
22317         [POSIX || XPG3] (CLD_*): Likewise.
22318         [POSIX || XPG3] (FPE_*): Likewise.
22319         [POSIX || XPG3] (ILL_*): Likewise.
22320         [POSIX || XPG3] (POLL_*): Likewise.
22321         [POSIX || XPG3] (SEGV_*): Likewise.
22322         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
22323         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
22324         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
22325         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
22326         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
22327         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
22328         Specify type and value.
22329         (TVERSLEN): Likewise.
22330         (REGTYPE): Likewise.
22331         (AREGTYPE): Likewise.
22332         (LNKTYPE): Likewise.
22333         (SYMTYPE): Likewise.
22334         (CHRTYPE): Likewise.
22335         (BLKTYPE): Likewise.
22336         (DIRTYPE): Likewise.
22337         (FIFOTYPE): Likewise.
22338         (CONTTYPE): Likewise.
22339         (TSUID): Likewise.
22340         (TSGID): Likewise.
22341         (TSVTX): Likewise.
22342         (TUREAD): Likewise.
22343         (TUWRITE): Likewise.
22344         (TUEXEC): Likewise.
22345         (TGREAD): Likewise.
22346         (TGWRITE): Likewise.
22347         (TGEXEC): Likewise.
22348         (TOREAD): Likewise.
22349         (TOWRITE): Likewise.
22350         (TOEXEC): Likewise.
22351         [POSIX] (TSVTX): Expect constant.
22353 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
22355         * Makefile (tests): Change dependencies to ....
22356         (tests-special): ... additions to this variable.
22357         (tests): Depend on $(tests-special).
22358         * Makerules (check-abi-list): New variable.
22359         (check-abi): Depend on $(check-abi-list).
22360         [$(subdir) = elf] (tests-special): Add
22361         $(objpfx)check-abi-libc.out.
22362         [$(build-shared) = yes && subdir] (tests-special): Add
22363         $(check-abi-list).
22364         [$(build-shared) = yes && subdir] (tests): Do not depend on
22365         check-abi.
22366         * Rules (tests): Depend on $(tests-special).
22367         (xtests): Depend on $(xtests-special).
22368         * catgets/Makefile (tests): Change dependencies to ....
22369         (tests-special): ... additions to this variable.
22370         * conform/Makefile (tests): Change dependencies to ....
22371         (tests-special): ... additions to this variable.
22372         * elf/Makefile (tests): Change dependencies to ....
22373         (tests-special): ... additions to this variable.
22374         * grp/Makefile (tests): Change dependencies to ....
22375         (tests-special): ... additions to this variable.
22376         * iconv/Makefile (xtests): Change dependencies to ....
22377         (xtests-special): ... additions to this variable.
22378         * iconvdata/Makefile (tests): Change dependencies to ....
22379         (tests-special): ... additions to this variable.
22380         * intl/Makefile (tests): Change dependencies to ....
22381         (tests-special): ... additions to this variable.  Also add
22382         $(objpfx)tst-gettext.out.
22383         * io/Makefile (tests): Change dependencies to ....
22384         (tests-special): ... additions to this variable.
22385         * libio/Makefile (tests): Change dependencies to ....
22386         (tests-special): ... additions to this variable.
22387         * malloc/Makefile (tests): Change dependencies to ....
22388         (tests-special): ... additions to this variable.
22389         * misc/Makefile (tests): Change dependencies to ....
22390         (tests-special): ... additions to this variable.
22391         * nptl/Makefile (tests): Change dependencies to ....
22392         (tests-special): ... additions to this variable.
22393         * nptl_db/Makefile (tests): Change dependencies to ....
22394         (tests-special): ... additions to this variable.
22395         * posix/Makefile (tests): Change dependencies to ....
22396         (tests-special): ... additions to this variable.
22397         (xtests): Change dependencies to ....
22398         (xtests-special): ... additions to this variable.
22399         * resolv/Makefile (tests): Change dependencies to ....
22400         (tests-special): ... additions to this variable.
22401         (xtests): Change dependencies to ....
22402         (xtests-special): ... additions to this variable.
22403         * stdio-common/Makefile (tests): Change dependencies to ....
22404         (tests-special): ... additions to this variable.
22405         (do-tst-unbputc): Remove target.
22406         (do-tst-printf): Likewise.
22407         * stdlib/Makefile (tests): Change dependencies to ....
22408         (tests-special): ... additions to this variable.
22409         * string/Makefile (tests): Change dependencies to ....
22410         (tests-special): ... additions to this variable.
22411         * sysdeps/x86/Makefile (tests): Change dependencies to ....
22412         (tests-special): ... additions to this variable.
22414         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
22415         whole file.
22416         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
22417         whole file.
22418         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
22419         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
22421         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
22422         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
22423         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
22424         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
22425         * conform/data/libgen.h-data [XPG3]: Likewise.
22426         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
22427         * conform/data/ndbm.h-data [XPG3]: Likewise.
22428         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
22429         * conform/data/netdb.h-data [XPG3]: Likewise.
22430         * conform/data/netinet/in.h-data [XPG3]: Likewise.
22431         * conform/data/poll.h-data [XPG3]: Likewise.
22432         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
22433         * conform/data/strings.h-data [XPG3]: Likewise.
22434         * conform/data/stropts.h-data [XPG3]: Likewise.
22435         * conform/data/sys/mman.h-data [XPG3]: Likewise.
22436         * conform/data/sys/resource.h-data [XPG3]: Likewise.
22437         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
22438         Likewise.
22439         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
22440         * conform/data/sys/time.h-data [XPG3]: Likewise.
22441         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
22442         * conform/data/sys/uio.h-data [XPG3]: Likewise.
22443         * conform/data/sys/un.h-data [XPG3]: Likewise.
22444         * conform/data/syslog.h-data [XPG3]: Likewise.
22445         * conform/data/ucontext.h-data [XPG3]: Likewise.
22446         * conform/data/utmpx.h-data [XPG3]: Likewise.
22447         * conform/data/varargs.h-data [UNIX98]: Enable file.
22449         * manual/Makefile (INSTALL_INFO): Remove variable setting.
22451         * math/libm-test.inc (struct test_f_f_data): Move expected results
22452         into structure for each rounding mode.
22453         (struct test_ff_f_data): Likewise.
22454         (struct test_ff_f_data_nexttoward): Likewise.
22455         (struct test_fi_f_data): Likewise.
22456         (struct test_fl_f_data): Likewise.
22457         (struct test_if_f_data): Likewise.
22458         (struct test_fff_f_data): Likewise.
22459         (struct test_c_f_data): Likewise.
22460         (struct test_f_f1_data): Likewise.
22461         (struct test_fF_f1_data): Likewise.
22462         (struct test_ffI_f1_data): Likewise.
22463         (struct test_c_c_data): Likewise.
22464         (struct test_cc_c_data): Likewise.
22465         (struct test_f_i_data): Likewise.
22466         (struct test_ff_i_data): Likewise.
22467         (struct test_f_l_data): Likewise.
22468         (struct test_f_L_data): Likewise.
22469         (struct test_fFF_11_data): Likewise.
22470         (RM_): New macro.
22471         (RM_FE_DOWNWARD): Likewise.
22472         (RM_FE_TONEAREST): Likewise.
22473         (RM_FE_TOWARDZERO): Likewise.
22474         (RM_FE_UPWARD): Likewise.
22475         (RUN_TEST_LOOP_f_f): Update references to expected results.
22476         (RUN_TEST_LOOP_2_f): Likewise.
22477         (RUN_TEST_LOOP_fff_f): Likewise.
22478         (RUN_TEST_LOOP_c_f): Likewise.
22479         (RUN_TEST_LOOP_f_f1): Likewise.
22480         (RUN_TEST_LOOP_fF_f1): Likewise.
22481         (RUN_TEST_LOOP_fI_f1): Likewise.
22482         (RUN_TEST_LOOP_ffI_f1): Likewise.
22483         (RUN_TEST_LOOP_c_c): Likewise.
22484         (RUN_TEST_LOOP_cc_c): Likewise.
22485         (RUN_TEST_LOOP_f_i): Likewise.
22486         (RUN_TEST_LOOP_f_i_tg): Likewise.
22487         (RUN_TEST_LOOP_ff_i_tg): Likewise.
22488         (RUN_TEST_LOOP_f_b): Likewise.
22489         (RUN_TEST_LOOP_f_b_tg): Likewise.
22490         (RUN_TEST_LOOP_f_l): Likewise.
22491         (RUN_TEST_LOOP_f_L): Likewise.
22492         (RUN_TEST_LOOP_fFF_11): Likewise.
22493         * math/gen-libm-test.pl (parse_args): Output four copies of
22494         expected results for each test.
22496         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22497         (__ASSUME_UTIMES): Remove.
22498         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22499         (__ASSUME_UTIMES): Likewise.
22501         * math/gen-auto-libm-tests.c: Update comment on output format.
22502         (output_for_one_input_case): Generate before-rounding and
22503         after-rounding information as conditions on output flags not
22504         floating-point format.
22505         * math/auto-libm-test-out: Regenerated.
22506         * math/gen-libm-test.pl (cond_value): New function.
22507         (or_cond_value): Use cond_value.
22508         (generate_testfile): Handle conditional exceptions.
22510 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
22512         * math/libm-test.inc (max_valid_error): New variable.
22513         (init_max_error): Take new argument specifying whether function
22514         results are exactly determined.  Set max_valid_error and bound
22515         other variables for errors based on this argument.
22516         (set_max_error): Do not record results above max_valid_error.
22517         (check_float_internal): Only accept errors of up to 0.5ulps if
22518         also at most max_valid_error.
22519         (START): Take new argument EXACT and pass it to init_max_error.
22520         (acos_test): Update call to START.
22521         (acos_test_tonearest): Likewise.
22522         (acos_test_towardzero): Likewise.
22523         (acos_test_downward): Likewise.
22524         (acos_test_upward): Likewise.
22525         (acosh_test): Likewise.
22526         (asin_test): Likewise.
22527         (asin_test_tonearest): Likewise.
22528         (asin_test_towardzero): Likewise.
22529         (asin_test_downward): Likewise.
22530         (asin_test_upward): Likewise.
22531         (asinh_test): Likewise.
22532         (atan_test): Likewise.
22533         (atanh_test): Likewise.
22534         (atan2_test): Likewise.
22535         (cabs_test): Likewise.
22536         (cacos_test): Likewise.
22537         (cacosh_test): Likewise.
22538         (carg_test): Likewise.
22539         (casin_test): Likewise.
22540         (casinh_test): Likewise.
22541         (catan_test): Likewise.
22542         (catanh_test): Likewise.
22543         (cbrt_test): Likewise.
22544         (ccos_test): Likewise.
22545         (ccosh_test): Likewise.
22546         (ceil_test): Likewise.
22547         (cexp_test): Likewise.
22548         (cimag_test): Likewise.
22549         (clog_test): Likewise.
22550         (clog10_test): Likewise.
22551         (conj_test): Likewise.
22552         (copysign_test): Likewise.
22553         (cos_test): Likewise.
22554         (cos_test_tonearest): Likewise.
22555         (cos_test_towardzero): Likewise.
22556         (cos_test_downward): Likewise.
22557         (cos_test_upward): Likewise.
22558         (cosh_test): Likewise.
22559         (cosh_test_tonearest): Likewise.
22560         (cosh_test_towardzero): Likewise.
22561         (cosh_test_downward): Likewise.
22562         (cosh_test_upward): Likewise.
22563         (cpow_test): Likewise.
22564         (cproj_test): Likewise.
22565         (creal_test): Likewise.
22566         (csin_test): Likewise.
22567         (csinh_test): Likewise.
22568         (csqrt_test): Likewise.
22569         (ctan_test): Likewise.
22570         (ctan_test_tonearest): Likewise.
22571         (ctan_test_towardzero): Likewise.
22572         (ctan_test_downward): Likewise.
22573         (ctan_test_upward): Likewise.
22574         (ctanh_test): Likewise.
22575         (ctanh_test_tonearest): Likewise.
22576         (ctanh_test_towardzero): Likewise.
22577         (ctanh_test_downward): Likewise.
22578         (ctanh_test_upward): Likewise.
22579         (erf_test): Likewise.
22580         (erfc_test): Likewise.
22581         (exp_test): Likewise.
22582         (exp_test_tonearest): Likewise.
22583         (exp_test_towardzero): Likewise.
22584         (exp_test_downward): Likewise.
22585         (exp_test_upward): Likewise.
22586         (exp10_test): Likewise.
22587         (exp10_test_tonearest): Likewise.
22588         (exp10_test_towardzero): Likewise.
22589         (exp10_test_downward): Likewise.
22590         (exp10_test_upward): Likewise.
22591         (pow10_test): Likewise.
22592         (exp2_test): Likewise.
22593         (expm1_test): Likewise.
22594         (expm1_test_tonearest): Likewise.
22595         (expm1_test_towardzero): Likewise.
22596         (expm1_test_downward): Likewise.
22597         (expm1_test_upward): Likewise.
22598         (fabs_test): Likewise.
22599         (fdim_test): Likewise.
22600         (floor_test): Likewise.
22601         (fma_test): Likewise.
22602         (fma_test_towardzero): Likewise.
22603         (fma_test_downward): Likewise.
22604         (fma_test_upward): Likewise.
22605         (fmax_test): Likewise.
22606         (fmin_test): Likewise.
22607         (fmod_test): Likewise.
22608         (fpclassify_test): Likewise.
22609         (frexp_test): Likewise.
22610         (hypot_test): Likewise.
22611         (ilogb_test): Likewise.
22612         (isfinite_test): Likewise.
22613         (finite_test): Likewise.
22614         (isgreater_test): Likewise.
22615         (isgreaterequal_test): Likewise.
22616         (isinf_test): Likewise.
22617         (isless_test): Likewise.
22618         (islessequal_test): Likewise.
22619         (islessgreater_test): Likewise.
22620         (isnan_test): Likewise.
22621         (isnormal_test): Likewise.
22622         (issignaling_test): Likewise.
22623         (isunordered_test): Likewise.
22624         (j0_test): Likewise.
22625         (j1_test): Likewise.
22626         (jn_test): Likewise.
22627         (ldexp_test): Likewise.
22628         (lgamma_test): Likewise.
22629         (gamma_test): Likewise.
22630         (lrint_test): Likewise.
22631         (lrint_test_tonearest): Likewise.
22632         (lrint_test_towardzero): Likewise.
22633         (lrint_test_downward): Likewise.
22634         (lrint_test_upward): Likewise.
22635         (llrint_test): Likewise.
22636         (llrint_test_tonearest): Likewise.
22637         (llrint_test_towardzero): Likewise.
22638         (llrint_test_downward): Likewise.
22639         (llrint_test_upward): Likewise.
22640         (log_test): Likewise.
22641         (log10_test): Likewise.
22642         (log1p_test): Likewise.
22643         (log2_test): Likewise.
22644         (logb_test): Likewise.
22645         (logb_test_downward): Likewise.
22646         (lround_test): Likewise.
22647         (llround_test): Likewise.
22648         (modf_test): Likewise.
22649         (nearbyint_test): Likewise.
22650         (nextafter_test): Likewise.
22651         (nexttoward_test): Likewise.
22652         (pow_test): Likewise.
22653         (pow_test_tonearest): Likewise.
22654         (pow_test_towardzero): Likewise.
22655         (pow_test_downward): Likewise.
22656         (pow_test_upward): Likewise.
22657         (remainder_test): Likewise.
22658         (drem_test): Likewise.
22659         (remainder_test_tonearest): Likewise.
22660         (drem_test_tonearest): Likewise.
22661         (remainder_test_towardzero): Likewise.
22662         (drem_test_towardzero): Likewise.
22663         (remainder_test_downward): Likewise.
22664         (drem_test_downward): Likewise.
22665         (remainder_test_upward): Likewise.
22666         (drem_test_upward): Likewise.
22667         (remquo_test): Likewise.
22668         (rint_test): Likewise.
22669         (rint_test_tonearest): Likewise.
22670         (rint_test_towardzero): Likewise.
22671         (rint_test_downward): Likewise.
22672         (rint_test_upward): Likewise.
22673         (round_test): Likewise.
22674         (scalb_test): Likewise.
22675         (scalbn_test): Likewise.
22676         (scalbln_test): Likewise.
22677         (signbit_test): Likewise.
22678         (sin_test): Likewise.
22679         (sin_test_tonearest): Likewise.
22680         (sin_test_towardzero): Likewise.
22681         (sin_test_downward): Likewise.
22682         (sin_test_upward): Likewise.
22683         (sincos_test): Likewise.
22684         (sinh_test): Likewise.
22685         (sinh_test_tonearest): Likewise.
22686         (sinh_test_towardzero): Likewise.
22687         (sinh_test_downward): Likewise.
22688         (sinh_test_upward): Likewise.
22689         (sqrt_test): Likewise.
22690         (sqrt_test_tonearest): Likewise.
22691         (sqrt_test_towardzero): Likewise.
22692         (sqrt_test_downward): Likewise.
22693         (sqrt_test_upward): Likewise.
22694         (tan_test): Likewise.
22695         (tan_test_tonearest): Likewise.
22696         (tan_test_towardzero): Likewise.
22697         (tan_test_downward): Likewise.
22698         (tan_test_upward): Likewise.
22699         (tanh_test): Likewise.
22700         (tgamma_test): Likewise.
22701         (trunc_test): Likewise.
22702         (y0_test): Likewise.
22703         (y1_test): Likewise.
22704         (yn_test): Likewise.
22705         (significand_test): Likewise.
22707         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
22708         individual tests in comment.
22709         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
22710         (prev_max_error): New variable.
22711         (prev_real_max_error): Likewise.
22712         (prev_imag_max_error): Likewise.
22713         (compare_ulp_data): Don't refer to test names in comment.
22714         (find_test_ulps): Remove function.
22715         (find_function_ulps): Likewise.
22716         (find_complex_function_ulps): Likewise.
22717         (init_max_error): Take function name as argument.  Look up ulps
22718         for that function.
22719         (print_ulps): Remove function.
22720         (print_max_error): Use prev_max_error instead of calling
22721         find_function_ulps.
22722         (print_complex_max_error): Use prev_real_max_error and
22723         prev_imag_max_error instead of calling find_complex_function_ulps.
22724         (check_float_internal): Take max_ulp parameter instead of calling
22725         find_test_ulps.  Don't call print_ulps.
22726         (check_float): Update call to check_float_internal.
22727         (check_complex): Update calls to check_float_internal.
22728         (START): Pass argument to init_max_error.
22729         * math/gen-libm-test.pl (%results): Don't include "kind"
22730         information.
22731         (parse_ulps): Don't handle ulps of individual tests.
22732         (print_ulps_file): Likewise.
22733         (output_ulps): Likewise.
22734         * math/README.libm-test: Update.
22735         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
22736         individual tests.
22737         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
22738         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
22739         * sysdeps/arm/libm-test-ulps: Likewise.
22740         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22741         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
22742         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
22743         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
22744         * sysdeps/microblaze/libm-test-ulps: Likewise.
22745         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
22746         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22747         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22748         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
22749         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22750         * sysdeps/sh/libm-test-ulps: Likewise.
22751         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22752         * sysdeps/tile/libm-test-ulps: Likewise.
22753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22755 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
22757         * math/libm-test.inc (print_complex_max_error): Check separately
22758         whether real and imaginary errors are within allowed range and
22759         pass 0 to print_complex_function_ulps instead of value within
22760         allowed range.
22762 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22764         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
22765         formatting.
22766         (get_handles_fopen): Likewise.
22767         (do_write_test): Likewise.
22769         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
22771         * libio/fileops.c (do_ftell): Use cached offset when
22772         available.
22773         * libio/iofwide.c (do_ftell_wide): Likewise.
22774         * libio/iofdopen.c (_IO_new_fdopen): Don't use
22775         _IO_file_attach.
22776         * libio/wfileops.c (_IO_fwide): Don't cache offset.
22778         [BZ #16532]
22779         * libio/libioP.h (get_file_offset): New function.
22780         * libio/fileops.c (get_file_offset): Likewise.
22781         (do_ftell): Likewise.
22782         (_IO_new_file_seekoff): Split out ftell logic.
22783         * libio/wfileops.c (do_ftell_wide): Likewise.
22784         (_IO_wfile_seekoff): Split out ftell logic.
22785         * libio/tst-ftell-active-handler.c: New test case.
22786         * libio/Makefile (tests): Add it.
22788 2014-03-03  Roland McGrath  <roland@hack.frob.com>
22790         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
22791         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
22793 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22795         [BZ #16639]
22796         * nscd/connections.c (nscd_init): Call do_exit.
22797         (start_threads): Call do_exit and notify_parent.
22798         (begin_drop_privileges): Call do_exit.
22799         (finish_drop_privileges): Likewise.
22800         * nscd/selinux.c (preserve_capabilities): Likewise.
22801         (install_real_capabilities): Likewise.
22802         (nscd_selinux_enabled): Likewise.
22803         (avc_create_thread): Likewise.
22804         (avc_alloc_lock): Likewise.
22805         (nscd_avc_init): Likewise.
22806         * nscd/nscd.c (parent_fd): New static variable.
22807         (main): Create a pipe between parent and child processes.
22808         Skip closing parent_fd.
22809         (monitor_child): New function.
22810         (do_exit): Likewise.
22811         (notify_parent): Likewise.
22812         * nscd/nscd.h (notify_parent): Likewise.
22813         (do_exit): Likewise.
22815 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
22817         * malloc/malloc.c (__libc_calloc): Revert last change.
22819 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22821         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22823 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22825         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
22826         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
22827         implementation.
22828         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22829         (__libc_ifunc_impl_list): Likewise.
22830         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
22831         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
22832         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
22833         * string/strrchr.c: Define STRRCHR.
22835 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
22837         * benchtest/bench-strtok.c (simple_strtok): Delete.
22838         (strtok_string): Use as benchmark.
22839         * string/strtok (STRTOK): New macro.
22841 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
22843         * manual/threads.texi: Add header and standard comments to all
22844         functions.
22846         * elf/dl-lookup.c (check_match): New function.
22847         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
22848         (do_lookup_x): Remove nested function check_match. Use non-nested
22849         function check_match.
22851 2014-02-28  Roland McGrath  <roland@hack.frob.com>
22853         * csu/Makefile (generated, before-compile): Use += rather than =.
22854         * catgets/Makefile (generated, generated-dirs): Likewise.
22855         * debug/Makefile (generated): Likewise.
22856         * dlfcn/Makefile (generated): Likewise.
22857         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
22858         * iconvdata/Makefile (before-compile, generated): Likewise.
22859         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
22860         * libio/Makefile (generated): Likewise.
22861         * malloc/Makefile (generated): Likewise.
22862         * manual/Makefile (generated, generated-dirs): Likewise.
22863         * misc/Makefile (generated): Likewise.
22864         * posix/Makefile (generated): Likewise.
22865         * resolv/Makefile (generated): Likewise.
22866         * sunrpc/Makefile (generated, generated-dirs): Likewise.
22867         * timezone/Makefile (generated, generated-dirs): Likewise.
22869         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
22871 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22873         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
22874         power8 implementation.
22875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
22876         file: POWER8 llround ifunc implementation.
22877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22878         (__lllround): Add POWER8 implementation.
22879         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
22880         POWER8 llround implementation.
22882         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
22883         power8 implementation.
22884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
22885         file: POWER8 llrint ifunc implementation.
22886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
22887         Add POWER8 implementation.
22888         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
22889         POWER8 llrint implementation.
22891         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
22892         power8 implementation.
22893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
22894         file: POWER8 finite ifunc implementation.
22895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
22896         Add POWER8 implementation.
22897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
22898         Likewise.
22899         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
22900         POWER8 finite implementation.
22901         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
22903         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
22904         power8 implementation.
22905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
22906         file: POWER8 isinf ifunc implementation.
22907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
22908         POWER8 implementation.
22909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
22910         Likewise.
22911         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
22912         isinf implementation.
22913         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
22915         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
22916         (INIT_ARCH): Add hwcap2 initialization.
22917         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
22918         power8 implementation.
22919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
22920         file: POWER8 isnan ifunc implementation.
22921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
22922         POWER8 implementation.
22923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
22924         Likewise.
22925         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
22926         isnan implementation.
22927         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
22929 2014-02-27  Joey Ye  <joey.ye@arm.com>
22931         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
22932         (_FP_NANFRAC_Q): Set to zero.
22934 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22936         [BZ #16623]
22937         * math/auto-libm-test-in: New test inputs.
22938         * math/auto-libm-test-out: Regenerate.
22939         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
22940         and DA.
22941         (__cos): Likewise.
22942         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22944 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
22946         * scripts/evaluate-test.sh: Take new argument indicating whether
22947         failure is expected.
22948         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
22949         indicating whether failure is expected.
22950         * conform/Makefile (test-xfail-run-conformtest): New variable.
22951         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
22952         level.
22953         * posix/Makefile (test-xfail-annexc): New variable.
22954         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
22956 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
22958         * argp/Makefile: Include Makeconfig immediately after defining
22959         subdir.
22960         * assert/Makefile: Likewise.
22961         * benchtests/Makefile: Likewise.
22962         * catgets/Makefile: Likewise.
22963         * conform/Makefile: Likewise.
22964         * crypt/Makefile: Likewise.
22965         * csu/Makefile: Likewise.
22966         (all): Remove target.
22967         * ctype/Makefile: Include Makeconfig immediately after defining
22968         subdir.
22969         * debug/Makefile: Likewise.
22970         * dirent/Makefile: Likewise.
22971         * dlfcn/Makefile: Likewise.
22972         * gmon/Makefile: Likewise.
22973         * gnulib/Makefile: Likewise.
22974         * grp/Makefile: Likewise.
22975         * gshadow/Makefile: Likewise.
22976         * hesiod/Makefile: Likewise.
22977         * hurd/Makefile: Likewise.
22978         (all): Remove target.
22979         * iconvdata/Makefile: Include Makeconfig immediately after
22980         defining subdir.
22981         * inet/Makefile: Likewise.
22982         * intl/Makefile: Likewise.
22983         * io/Makefile: Likewise.
22984         * libio/Makefile: Likewise.
22985         (all): Remove target.
22986         * locale/Makefile: Include Makeconfig immediately after defining
22987         subdir.
22988         * login/Makefile: Likewise.
22989         * mach/Makefile: Likewise.
22990         (all): Remove target.
22991         * malloc/Makefile: Include Makeconfig immediately after defining
22992         subdir.
22993         (all): Remove target.
22994         * manual/Makefile: Include Makeconfig immediately after defining
22995         subdir.
22996         * math/Makefile: Likewise.
22997         * misc/Makefile: Likewise.
22998         * nis/Makefile: Likewise.
22999         * nss/Makefile: Likewise.
23000         * po/Makefile: Likewise.
23001         (all): Remove target.
23002         * posix/Makefile: Include Makeconfig immediately after defining
23003         subdir.
23004         * pwd/Makefile: Likewise.
23005         * resolv/Makefile: Likewise.
23006         * resource/Makefile: Likewise.
23007         * rt/Makefile: Likewise.
23008         * setjmp/Makefile: Likewise.
23009         * shadow/Makefile: Likewise.
23010         * signal/Makefile: Likewise.
23011         * socket/Makefile: Likewise.
23012         * soft-fp/Makefile: Likewise.
23013         * stdio-common/Makefile: Likewise.
23014         * stdlib/Makefile: Likewise.
23015         * streams/Makefile: Likewise.
23016         * string/Makefile: Likewise.
23017         * sunrpc/Makefile: Likewise.
23018         (all): Remove target.
23019         * sysvipc/Makefile: Include Makeconfig immediately after defining
23020         subdir.
23021         * termios/Makefile: Likewise.
23022         * time/Makefile: Likewise.
23023         * timezone/Makefile: Likewise.
23024         (all): Remove target.
23025         * wcsmbs/Makefile: Include Makeconfig immediately after defining
23026         subdir.
23027         * wctype/Makefile: Likewise.
23029 2014-02-26  Steve Ellcey  <sellcey@mips.com>
23031         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
23032         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
23033         (libc_feholdexcept_setround_mips): Ditto.
23034         (libc_feholdsetround): New.
23035         (libc_feholdsetroundf): New.
23036         (libc_feholdsetroundl): New.
23037         (libc_feupdateenv_test_mips): New.
23038         (libc_feupdateenv_test): New.
23039         (libc_feupdateenv_testf): New.
23040         (libc_feupdateenv_testl): New.
23041         (libc_feresetround): New.
23042         (libc_feresetroundf): New.
23043         (libc_feresetroundl): New.
23044         (libc_fetestexcept_mips): New.
23045         (libc_fetestexcept): New.
23046         (libc_fetestexceptf): New.
23047         (libc_fetestexceptl): New.
23048         (HAVE_RM_CTX): New.
23049         (libc_feholdexcept_setround_mips_ctx): New.
23050         (libc_feholdexcept_setround_ctx): New.
23051         (libc_feholdexcept_setroundf_ctx): New.
23052         (libc_feholdexcept_setroundl_ctx): New.
23053         (libc_fesetenv_mips_ctx): New.
23054         (libc_fesetenv_ctx): New.
23055         (libc_fesetenv_ctxf): New.
23056         (libc_fesetenv_ctxl): New.
23057         (libc_feupdateenv_mips_ctx): New.
23058         (libc_feupdateenv_ctx): New.
23059         (libc_feupdateenvf_ctx): New.
23060         (libc_feupdateenvl_ctx): New.
23061         (libc_feholdsetround_mips_ctx): New.
23062         (libc_feholdsetround_ctx): New.
23063         (libc_feholdsetroundf_ctx): New.
23064         (libc_feholdsetroundl_ctx): New.
23065         (libc_feresetround_mips_ctx): New.
23066         (libc_feresetround_ctx): New.
23067         (libc_feresetroundf_ctx): New.
23068         (libc_feresetroundl_ctx): New.
23070 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
23072         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
23074         * manual/ipc.texi: New file.
23075         * manual/Makefile (chapters): Add ipc.
23076         * manual/job.texi: Add "Inter-Process Communication" to next.
23077         * manual/process.texi: Add "Inter-Process Communication" to prev.
23079 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23081         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23083 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
23085         * malloc/malloc.c (__libc_calloc): Simplify implementation.
23087         * manual/arith.texi: Fix spaces after sentences.
23088         * manual/charset.texi: Likewise.
23089         * manual/errno.texi: Likewise.
23090         * manual/install.texi: Likewise.
23091         * manual/llio.texi: Likewise.
23092         * manual/locale.texi: Likewise.
23093         * manual/maint.texi: Likewise.
23094         * manual/math.texi: Likewise.
23095         * manual/memory.texi: Likewise.
23096         * manual/message.texi: Likewise.
23097         * manual/probes.texi: Likewise.
23098         * manual/resource.texi: Likewise.
23099         * manual/signal.texi: Likewise.
23100         * manual/socket.texi: Likewise.
23101         * manual/stdio.texi: Likewise.
23102         * manual/string.texi: Likewise.
23103         * manual/time.texi: Likewise.
23104         * manual/users.texi: Likewise.
23106 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
23108         [BZ #16632]
23109         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
23110         _DEFAULT_SOURCE is defined.
23112 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
23113             Carlos O'Donell  <carlos@redhat.com>
23115         [BZ #16613]
23116         * elf/dl-tls.c (_dl_count_modids): New function.
23117         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
23118         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
23119         audit library and increment generation counter.
23120         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
23121         * elf/tst-audit9.c: New file.
23122         * elf/tst-auditmod9a.c: New file.
23123         * elf/tst-auditmod9b.c: New file.
23124         * elf/Makefile: Add rules to build and run tst-audit9.
23126 2014-02-25  Florian Weimer  <fweimer@redhat.com>
23128         [BZ #15347]
23129         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
23131 2014-02-25  Will Newton  <will.newton@linaro.org>
23133         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
23134         (__longjmp): Restore sp and lr before restoring callee
23135         saved registers.  Add longjmp and longjmp_target
23136         SystemTap probe point.
23137         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
23138         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
23139         Define to zero to match jmpbuf layout.
23140         * sysdeps/arm/setjmp.S: Include stap-probe.h.
23141         (__sigsetjmp): Save sp and lr before saving callee
23142         saved registers.  Add setjmp SystemTap probe point.
23144 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
23146         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23148 2014-02-24  Andreas Schwab  <schwab@suse.de>
23150         [BZ #15804]
23151         * elf/pldd.c (wait_for_ptrace_stop): New function.
23152         (main): Call it after attaching.
23154 2014-02-22  Roland McGrath  <roland@hack.frob.com>
23156         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
23157         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
23158         Versions files is now verboten.
23159         * hurd/Versions (libc: GLIBC_2.0):
23160         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
23161         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
23162         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
23163         * mach/Versions: Likewise.
23165         * csu/Versions: Remove unused %include.
23166         * resolv/Versions: Likewise.
23168 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
23170         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
23171         ($(objpfx)check-local-headers.out): Likewise.
23172         ($(objpfx)begin-end-check.out): Likewise.
23173         * Makerules (check-abi-%.out): Likewise.
23174         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
23175         ($(objpfx)test2.cat): Likewise.
23176         ($(objpfx)de/libc.cat): Likewise.
23177         ($(objpfx)test-gencat.out): Likewise.
23178         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
23179         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
23180         ($(objpfx)noload-mem): Likewise.
23181         ($(objpfx)tst-pathopt.out): Likewise.
23182         ($(objpfx)tst-rtld-load-self.out): Likewise.
23183         ($(objpfx)tst-array1-cmp.out): Likewise.
23184         ($(objpfx)tst-array1-static-cmp.out): Likewise.
23185         ($(objpfx)tst-array2-cmp.out): Likewise.
23186         ($(objpfx)tst-array3-cmp.out): Likewise.
23187         ($(objpfx)tst-array4-cmp.out): Likewise.
23188         ($(objpfx)tst-array5-cmp.out): Likewise.
23189         ($(objpfx)tst-array5-static-cmp.out): Likewise.
23190         ($(objpfx)check-textrel.out): Likewise.
23191         ($(objpfx)check-execstack.out): Likewise.
23192         ($(objpfx)check-localplt.out): Likewise.
23193         ($(objpfx)order2-cmp.out): Likewise.
23194         ($(objpfx)tst-leaks1-mem): Likewise.
23195         ($(objpfx)tst-leaks1-static-mem): Likewise.
23196         ($(objpfx)tst-initorder-cmp.out): Likewise.
23197         ($(objpfx)tst-initorder2-cmp.out): Likewise.
23198         ($(objpfx)tst-unused-dep.out): Likewise.
23199         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
23200         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
23201         * iconv/Makefile (test-iconvconfig): Likewise.
23202         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
23203         ($(objpfx)iconv-test.out): Likewise.
23204         ($(objpfx)tst-tables.out): Likewise.
23205         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
23206         ($(objpfx)tst-gettext.out): Likewise.
23207         ($(objpfx)tst-translit.out): Likewise.
23208         ($(objpfx)tst-gettext2.out): Likewise.
23209         ($(objpfx)tst-gettext4.out): Likewise.
23210         ($(objpfx)tst-gettext6.out): Likewise.
23211         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
23212         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
23213         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
23214         ($(objpfx)tst-fopenloc-mem.out): Likewise.
23215         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
23216         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
23217         * posix/Makefile ($(objpfx)globtest.out): Likewise.
23218         ($(objpfx)wordexp-tst.out): Likewise.
23219         ($(objpfx)annexc.out): Likewise.
23220         ($(objpfx)tst-fnmatch-mem): Likewise.
23221         ($(objpfx)bug-regex2-mem): Likewise.
23222         ($(objpfx)bug-regex14-mem): Likewise.
23223         ($(objpfx)bug-regex21-mem): Likewise.
23224         ($(objpfx)bug-regex31-mem): Likewise.
23225         ($(objpfx)tst-vfork3-mem): Likewise.
23226         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23227         ($(objpfx)tst-pcre-mem): Likewise.
23228         ($(objpfx)tst-boost-mem): Likewise.
23229         ($(objpfx)tst-getconf.out): Likewise.
23230         ($(objpfx)bug-ga2-mem): Likewise.
23231         ($(objpfx)bug-glob2-mem): Likewise.
23232         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
23233         ($(objpfx)mtrace-tst-leaks2): Likewise.
23234         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
23235         ($(objpfx)tst-printf.out): Likewise.
23236         ($(objpfx)tst-setvbuf1.out): Likewise.
23237         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
23238         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
23239         ($(objpfx)tst-fmtmsg.out): Likewise.
23240         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
23241         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
23243         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
23244         * bits/sigaction.h [__USE_MISC]: Likewise.
23245         * bits/waitstatus.h: Update #endif comments.
23246         * ctype/ctype.h: Likewise.
23247         * dirent/dirent.h: Likewise.
23248         [__USE_MISC]: Remove redundant conditionals.
23249         * grp/grp.h: Update #endif comments.
23250         [__USE_GNU]: Remove redundant conditionals.
23251         [__USE_MISC]: Likewise.
23252         * inet/netinet/in.h [__USE_GNU]: Likewise.
23253         * io/sys/stat.h [__USE_MISC]: Likewise.
23254         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
23255         * libio/bits/stdio.h: Update #endif comments.
23256         [__USE_MISC]: Remove redundant conditionals.
23257         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
23258         * libio/stdio.h: Update #endif comments.
23259         [__USE_MISC]: Remove redundant conditionals.
23260         * math/bits/math-finite.h [__USE_MISC]: Likewise.
23261         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
23262         * math/math.h: Update #else and #endif comments.
23263         [__USE_MISC]: Remove redundant conditionals.
23264         * misc/sys/uio.h: Update #endif comments.
23265         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
23266         * posix/glob.h [__USE_MISC]: Likewise.
23267         * posix/sys/types.h: Update #endif comments.
23268         [__USE_MISC]: Remove redundant conditionals.
23269         * posix/sys/wait.h: Update #endif comments.
23270         [__USE_MISC]: Remove redundant conditionals.
23271         * posix/unistd.h: Update #endif comments.
23272         [__USE_MISC]: Remove redundant conditionals.
23273         * pwd/pwd.h [__USE_GNU]: Likewise.
23274         [__USE_MISC]: Likewise.
23275         * resolv/netdb.h [__USE_GNU]: Likewise.
23276         * signal/signal.h: Update #endif comments.
23277         [__USE_MISC]: Remove redundant conditionals.
23278         * stdlib/stdlib.h: Update #else and #endif comments.
23279         [__USE_MISC]: Remove redundant conditionals.
23280         [__USE_GNU]: Likewise.
23281         * string/bits/string2.h [__USE_MISC]: Likewise.
23282         * string/string.h: Update #endif comments.
23283         [__USE_MISC]: Remove redundant conditionals.
23284         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
23285         Likewise.
23286         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
23287         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
23288         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
23289         Likewise.
23290         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
23291         Likewise.
23292         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
23293         comments.
23294         [__USE_MISC]: Remove redundant conditionals.
23295         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
23296         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
23297         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
23298         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
23299         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
23300         Likewise.
23301         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
23302         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
23303         Likewise.
23304         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
23305         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
23306         Likewise.
23307         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
23308         Likewise.
23309         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
23310         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
23311         Likewise.
23312         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
23313         Likewise.
23314         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
23315         * sysdeps/x86/bits/string.h: Update #endif comments.
23316         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
23317         conditionals.
23318         * time/sys/time.h: Update #endif comments.
23319         * time/time.h: Likewise.
23320         [__USE_MISC]: Remove redundant conditionals.
23322 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
23324         [BZ #16600]
23325         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
23327 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
23329         * Versions.def (librt): Add GLIBC_2.17.
23331 2014-02-21  Adam Conrad  <adconrad@0c3.net>
23333         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
23334         synonym for _SYS_AUXV_H to allow direct inclusion.
23335         * sysdeps/sparc/bits/hwcap.h: Likewise.
23336         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
23337         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
23338         * sysdeps/sparc/sysdep.h: Likewise.
23340 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23342         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
23344 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23346         * benchtests/bench-strrchr.c: Print length instead of position.
23348 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
23350         [BZ #16611]
23351         * sysdeps/unix/sysv/linux/kernel-features.h
23352         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
23353         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
23354         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
23355         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
23356         Likewise.
23357         [__i386__ || __powerpc__ || __sh__ || __sparc__]
23358         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23359         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
23360         (__ASSUME_SENDMMSG): Define instead of using previous
23361         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
23362         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23363         (__ASSUME_SENDMMSG_SYSCALL): Define.
23364         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23365         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
23366         Likewise.
23367         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23368         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23369         Likewise.
23370         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23371         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23372         Likewise.
23373         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
23374         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
23375         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
23376         [__ASSUME_SENDMMSG]: Change conditionals to
23377         [__ASSUME_SENDMMSG_SOCKETCALL].
23378         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23379         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
23380         Define.
23381         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23382         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
23383         Likewise.
23384         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
23385         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
23386         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
23387         [!__ASSUME_SENDMMSG]: Change conditional to
23388         [!__ASSUME_SENDMMSG_SOCKETCALL].
23389         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23390         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23391         Define.
23393         [BZ #16610]
23394         * sysdeps/unix/sysv/linux/kernel-features.h
23395         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
23396         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
23397         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
23398         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
23399         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23400         [__i386__ || __sparc__]
23401         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23402         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
23403         (__ASSUME_RECVMMSG): Define instead of using previous
23404         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
23405         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23406         (__ASSUME_RECVMMSG_SYSCALL): Define.
23407         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23408         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23409         Likewise.
23410         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23411         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23412         Likewise.
23413         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23414         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23415         Likewise.
23416         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
23417         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
23418         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
23419         [__ASSUME_RECVMMSG]: Change condition to
23420         [__ASSUME_RECVMMSG_SOCKETCALL].
23421         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23422         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23423         Define.
23424         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23425         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23426         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23427         Likewise.
23428         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
23429         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
23430         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
23431         [!__ASSUME_RECVMMSG]: Change condition to
23432         [!__ASSUME_RECVMMSG_SOCKETCALL].
23433         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23434         (__ASSUME_RECVMMSG_SYSCALL): Define.
23436         [BZ #16609]
23437         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
23438         __powerpc__ || __s390__ || __sh__ || __sparc__]
23439         (__ASSUME_SOCKETCALL): Define.
23440         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
23441         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
23442         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
23443         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
23444         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23445         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
23446         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
23447         (__ASSUME_ACCEPT4): Define instead of using previous
23448         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
23449         __powerpc__ || __sparc__ || __s390__)] condition.
23450         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23451         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
23452         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
23453         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
23454         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
23455         [!__ASSUME_ACCEPT4]: Change condition to
23456         [!__ASSUME_ACCEPT4_SOCKETCALL].
23457         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23458         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
23459         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
23460         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23461         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
23462         __ASSUME_ACCEPT4_SYSCALL.
23463         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
23464         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
23465         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23466         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
23467         __ASSUME_ACCEPT4_SYSCALL.
23468         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
23469         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
23470         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
23471         [__ASSUME_ACCEPT4]: Change condition to
23472         [__ASSUME_ACCEPT4_SOCKETCALL].
23473         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23474         (__ASSUME_SOCKETCALL): Define.
23475         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
23476         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23477         (__ASSUME_SOCKETCALL): Define.
23478         (__ASSUME_ACCEPT4): Remove.
23479         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
23480         Define.
23481         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23482         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
23483         Likewise.
23484         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23485         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
23487         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
23488         macro.
23489         (HWCAP_ARM_LPAE): Likewise.
23490         (HWCAP_ARM_EVTSTRM): Likewise.
23491         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
23492         Add vpfd32, lpae and evtstrm.
23493         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
23494         Increase to 22.
23496 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
23498         * math/auto-libm-test-in: Add tests of clog10.
23499         * math/auto-libm-test-out: Regenerated.
23500         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
23501         * sysdeps/i386/fpu/libm-test-ulps: Update.
23502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23504 2014-02-18  Andreas Schwab  <schwab@suse.de>
23506         [BZ #16574]
23507         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
23508         Store non-zero if the second buffer was newly allocated.
23509         (send_dg): Likewise.
23510         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
23511         to send_vc and send_dg.
23512         (res_nsend): Pass NULL for ansp2_malloced.
23513         * resolv/res_query.c (__libc_res_nquery): Add parameter
23514         answerp2_malloced and pass it down to __libc_res_nsend.
23515         (res_nquery): Pass additional NULL to __libc_res_nquery.
23516         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
23517         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
23518         second answer buffer if answerp2_malloced was set.
23519         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
23520         (__libc_res_nquerydomain): Add parameter
23521         answerp2_malloced and pass it down to __libc_res_nquery.
23522         (res_nquerydomain): Pass additional NULL to
23523         __libc_res_nquerydomain.
23524         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
23525         additional NULL to __libc_res_nsend and __libc_res_nquery.
23526         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
23527         additional NULL to __libc_res_nsearch.
23528         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
23529         parameter of __libc_res_nsearch to check for separately allocated
23530         second buffer.
23531         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
23532         __libc_res_nquery.
23533         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
23534         additional NULL to __libc_res_nquery.
23535         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
23536         __libc_res_nsearch.
23537         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
23538         * include/resolv.h: Update prototypes of __libc_res_nquery,
23539         __libc_res_nsearch, __libc_res_nsend.
23541 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
23543         * math/auto-libm-test-in: Add tests of fma.
23544         * math/auto-libm-test-out: Regenerated.
23545         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
23546         (fma_towardzero_test_data): Likewise.
23547         (fma_downward_test_data): Likewise.
23548         (fma_upward_test_data): Likewise.
23549         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
23550         mpc_mode.
23551         (rounding_modes): Add values for new field.
23552         (func_calc_method): Add value mpfr_fff_f.
23553         (func_calc_desc): Add mpfr_fff_f union field.
23554         (test_function): Add field exact_args.
23555         (FUNC): Add macro argument EXACT_ARGS.
23556         (FUNC_mpfr_f_f): Update call to FUNC.
23557         (FUNC_mpfr_f_f): Likewise.
23558         (FUNC_mpfr_ff_f): Likewise.
23559         (FUNC_mpfr_if_f): Likewise.
23560         (FUNC_mpc_c_f): Likewise.
23561         (FUNC_mpc_c_c): Likewise.
23562         (test_functions): Add fma.  Update calls to FUNC.
23563         (handle_input_arg): Add argument exact_args.
23564         (add_test): Update call to handle_input_arg.
23565         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
23566         (output_for_one_input_case): Update call to calc_generic_results.
23567         Recalculate exact zero results in each rounding mode.
23569         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
23570         non-negative before setting low bit.
23571         * math/auto-libm-test-in: Mark one asin test possibly having
23572         spurious underflow.
23573         * math/auto-libm-test-out: Regenerated.
23574         * sysdeps/i386/fpu/libm-test-ulps: Update.
23575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23577 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
23579         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
23580         * sysdeps/unix/sysv/linux/microblaze: Move directory from
23581         ports/sysdeps/unix/sysv/linux/microblaze.
23582         * README: Add missing listing for microblaze*-*-linux-gnu.
23584 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
23586         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
23587         duplicate code
23589 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
23591         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
23592         * sysdeps/unix/sysv/linux/ia64: Move directory from
23593         ports/sysdeps/unix/sysv/linux/ia64.
23594         * README: Update listing for ia64-*-linux-gnu.
23596 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
23597             Joseph Myers  <joseph@codesourcery.com>
23599         * Makeconfig (test-name): New variable.
23600         (evaluate-test): Likewise.
23601         * Makerules (do-test-clean): Remove .test-result files.
23602         (common-mostlyclean): Likewise.
23603         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
23604         * scripts/evaluate-test.sh: New file.
23606 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
23608         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
23609         separate $(objpfx)tst-fopenloc-cmp.out and
23610         $(objpfx)tst-fopenloc-mem.out targets.
23611         (tests): Update dependencies.
23612         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
23613         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
23614         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
23615         (tst-rxspencer-no-utf8-ARGS): New variable.
23616         (tst-rxspencer-no-utf8-ENV): Likewise.
23617         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
23618         instead of $(objpfx)tst-rxspencer-mem.
23619         ($(objpfx)tst-rxspencer-mem): Change target to
23620         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
23621         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
23622         * posix/tst-rxspencer-no-utf8.c: New file.
23624         * elf/Makefile ($(objpfx)order.out): Remove rule.
23625         [$(run-built-tests) = yes] (tests): Depend on
23626         $(objpfx)order-cmp.out.
23627         ($(objpfx)order-cmp.out): New rule.
23628         [$(run-built-tests) = yes] (tests): Depend on
23629         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
23630         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
23631         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
23632         $(objpfx)tst-array5-static-cmp.out.
23633         ($(objpfx)tst-array1.out): Remove rule.
23634         ($(objpfx)tst-array1-cmp.out): New rule.
23635         ($(objpfx)tst-array1-static.out): Remove rule.
23636         ($(objpfx)tst-array1-static-cmp.out): New rule.
23637         ($(objpfx)tst-array2.out): Remove rule.
23638         ($(objpfx)tst-array2-cmp.out): New rule.
23639         ($(objpfx)tst-array3.out): Remove rule.
23640         ($(objpfx)tst-array3-cmp.out): New rule.
23641         ($(objpfx)tst-array4.out): Remove rule.
23642         ($(objpfx)tst-array4-cmp.out): New rule.
23643         ($(objpfx)tst-array5.out): Remove rule.
23644         ($(objpfx)tst-array5-cmp.out): New rule.
23645         ($(objpfx)tst-array5-static.out): Remove rule.
23646         ($(objpfx)tst-array5-static-cmp.out): New rule.
23647         [$(run-built-tests) = yes] (tests): Depend on
23648         $(objpfx)order2-cmp.out.
23649         ($(objpfx)order2.out): Remove rule.
23650         ($(objpfx)order2-cmp.out): New rule.
23651         ($(objpfx)tst-initorder.out): Remove rule.
23652         [$(run-built-tests) = yes] (tests): Depend on
23653         $(objpfx)tst-initorder-cmp.out.
23654         ($(objpfx)tst-initorder-cmp.out): New rule.
23655         ($(objpfx)tst-initorder2.out): Remove rule.
23656         [$(run-built-tests) = yes] (tests): Depend on
23657         $(objpfx)tst-initorder2-cmp.out.
23658         ($(objpfx)tst-initorder2-cmp.out): New rule.
23659         [$(run-built-tests) = yes] (tests): Depend on
23660         $(objpfx)tst-unused-dep-cmp.out.
23661         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
23662         ($(objpfx)tst-unused-dep-cmp.out): New rule.
23663         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
23664         on $(objpfx)tst-setvbuf1-cmp.out.
23665         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
23666         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
23667         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
23668         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
23669         ($(objpfx)tst-svc.out): Remove rule.
23670         ($(objpfx)tst-svc-cmp.out): New rule.
23672 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
23674         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
23675         * ctype/ctype.h [__USE_MISC]: Likewise.
23676         * dirent/dirent.h [__USE_MISC]: Likewise.
23677         * grp/grp.h [__USE_MISC]: Likewise.
23678         * io/fcntl.h [__USE_MISC]: Likewise.
23679         * io/sys/stat.h [__USE_MISC]: Likewise.
23680         * libio/stdio.h [__USE_MISC]: Likewise.
23681         * posix/unistd.h [__USE_MISC]: Likewise.
23682         * pwd/pwd.h [__USE_MISC]: Likewise.
23683         * stdlib.h [__USE_MISC]: Likewise.
23684         * string/bits/string2.h [__USE_MISC]: Likewise.
23685         * string/string.h [__USE_MISC]: Likewise.
23686         * time/time.h [__USE_MISC]: Likewise.
23688 2014-02-13  Andreas Schwab  <schwab@suse.de>
23690         [BZ #16574]
23691         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
23692         second answer buffer if it was separately allocated.
23694 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
23696         * sysdeps/mips/math-tests.h: Include <features.h>.
23697         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23698         (ROUNDING_TESTS_long_double): Do not define.
23699         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23700         (EXCEPTION_TESTS_long_double): Likewise.
23701         * sysdeps/mips/mips64/libm-test-ulps: Update.
23703         * include/features.h (__USE_BSD): Remove macro definitions.
23704         (__USE_SVID): Likewise.
23705         (_BSD_SOURCE): Likewise.
23706         (_SVID_SOURCE): Likewise.
23707         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
23708         from definition of _DEFAULT_SOURCE.
23709         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
23710         [_DEFAULT_SOURCE].
23711         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
23712         * bits/mman.h [__USE_BSD]: Likewise.
23713         * bits/termios.h [__USE_BSD]: Likewise.
23714         * bits/waitstatus.h [__USE_BSD]: Likewise.
23715         * ctype/ctype.h [__USE_SVID]: Likewise.
23716         * dirent/dirent.h [__USE_BSD]: Likewise.
23717         * grp/grp.h [__USE_SVID]: Likewise.
23718         [__USE_BSD]: Likewise.
23719         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
23720         * io/fcntl.h [__USE_BSD]: Likewise.
23721         * io/ftw.h [__USE_BSD]: Likewise.
23722         * io/sys/stat.h [__USE_BSD]: Likewise.
23723         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
23724         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
23725         * libio/stdio.h [__USE_SVID]: Likewise.
23726         [__USE_BSD]: Likewise.
23727         * math/math.h [__USE_SVID]: Likewise.
23728         [__USE_BSD]: Likewise.
23729         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
23730         * misc/bits/syslog.h [__USE_BSD]: Likewise.
23731         * misc/search.h [__USE_SVID]: Likewise.
23732         * misc/sys/mman.h [__USE_BSD]: Likewise.
23733         * misc/sys/syslog.h [__USE_BSD]: Likewise.
23734         * misc/sys/uio.h [__USE_BSD]: Likewise.
23735         * posix/bits/unistd.h [__USE_BSD]: Likewise.
23736         * posix/glob.h [__USE_BSD]: Likewise.
23737         * posix/regex.h [__USE_BSD]: Likewise.
23738         * posix/sys/types.h [__USE_BSD]: Likewise.
23739         [__USE_SVID]: Likewise.
23740         * posix/sys/utsname.h [__USE_SVID]: Likewise.
23741         * posix/sys/wait.h [__USE_BSD]: Likewise.
23742         [__USE_SVID]: Likewise.
23743         * posix/unistd.h [__USE_BSD]: Likewise.
23744         [__USE_SVID]: Likewise.
23745         * pwd/pwd.h [__USE_SVID]: Likewise.
23746         * resolv/netdb.h [__USE_BSD]: Likewise.
23747         * setjmp/setjmp.h [__USE_BSD]: Likewise.
23748         * signal/signal.h [__USE_BSD]: Likewise.
23749         [__USE_SVID]: Likewise.
23750         * socket/sys/socket.h [__USE_BSD]: Likewise.
23751         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
23752         * stdlib/stdlib.h [__USE_BSD]: Likewise.
23753         [__USE_SVID]: Likewise.
23754         * string/bits/string2.h [__USE_BSD]: Likewise.
23755         [__USE_SVID]: Likewise.
23756         * string/bits/string3.h [__USE_BSD]: Likewise.
23757         * string/endian.h [__USE_BSD]: Likewise.
23758         * string/string.h [__USE_SVID]: Likewise.
23759         [__USE_BSD]: Likewise.
23760         * string/strings.h [__USE_BSD]: Likewise.
23761         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
23762         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
23763         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
23764         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
23765         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
23766         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
23767         Likewise.
23768         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
23769         Likewise.
23770         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
23771         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
23772         Likewise.
23773         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
23774         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
23775         Likewise.
23776         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
23777         Likewise.
23778         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
23779         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
23780         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
23781         Likewise.
23782         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
23783         Likewise.
23784         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
23785         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
23786         * termios/termios.h [__USE_BSD]: Likewise.
23787         * time/sys/time.h [__USE_BSD]: Likewise.
23788         * time/time.h [__USE_BSD]: Likewise.
23789         [__USE_SVID]: Likewise.
23791         * Makefile (subdir_targets): Remove subdir_lint.out.
23793         * stdio-common/Makefile (do-tst-unbputc): Remove target.
23794         (do-tst-printf): Likewise.
23795         (tests): Depend directly on $(objpfx)tst-unbputc.out and
23796         $(objpfx)tst-printf.out.
23798         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
23800         * Makerules (check-abi-%): Change target to
23801         $(objpfx)check-abi-%.out.
23802         (check-abi target): Update dependencies.
23803         (check-abi-pattern variable): Redirect output of diff to $@.
23804         (check-abi variable): Likewise.
23805         * elf/Makefile (check-abi): Update dependencies.
23807         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
23808         unused.
23809         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
23810         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
23811         subnormal range.
23812         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
23813         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
23814         value has largest subnormal exponent.
23815         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
23816         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
23817         * sysdeps/aarch64/soft-fp/sfp-machine.h
23818         (_FP_TININESS_AFTER_ROUNDING): New macro.
23819         * sysdeps/alpha/soft-fp/sfp-machine.h
23820         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23821         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23822         Likewise.
23823         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
23824         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23825         * sysdeps/mips/soft-fp/sfp-machine.h
23826         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23827         * sysdeps/powerpc/soft-fp/sfp-machine.h
23828         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23829         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23830         Likewise.
23831         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23832         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23833         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23834         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23835         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23836         Likewise.
23838 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
23840         [BZ #16545]
23841         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
23842         model 1.
23844 2014-02-12  Richard Henderson  <rth@redhat.com>
23846         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
23847         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
23848         * sysdeps/unix/sysv/linux/alpha: Move directory from
23849         ports/sysdeps/unix/sysv/linux/alpha.
23850         * README: Update listing for alpha-*-linux-gnu.
23852 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
23854         * include/features.h: Update comment documenting feature test
23855         macros.
23856         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
23857         _DEFAULT_SOURCE.
23858         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
23859         (_SVID_SOURCE): Likewise.
23860         (_DEFAULT_SOURCE): Update description of default features.
23861         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
23862         with _GNU_SOURCE.
23863         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
23864         (S_ISVTX): Likewise.
23865         * manual/math.texi (Mathematical Constants): Likewise.
23866         * manual/signal.texi (Interrupted Primitives): Likewise.
23867         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
23868         * math/test-matherr.c (_SVID_SOURCE): Do not define.
23869         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
23870         Don't refer to _SVID_SOURCE in warning text.
23872         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23874         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
23875         already defined.
23876         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
23877         * sysdeps/mips/dl-lookup.c: Remove.
23878         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
23880 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23882         [BZ #16447]
23883         * math/auto-libm-test-in: Add testcase for expl.
23884         * math/auto-libm-test-out: Regenerate.
23885         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
23886         calculation of unsafe.
23887         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
23889 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23891         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
23892         * sysdeps/unix/sysv/linux/aarch64: Move directory from
23893         ports/sysdeps/unix/sysv/linux/aarch64.
23894         * README: Update listing for aarch64*-*-linux-gnu.
23896 2014-02-11  Will Newton  <will.newton@linaro.org>
23898         * manual/probes.texi (Mathematical Function Probes): Use
23899         "triggered" instead of "hit".
23901         * manual/probes.texi (Internal Probes): Add documentation
23902         of setjmp, longjmp and longjmp_target probes.
23904         * include/stap-probe.h: Add comment about probe argument
23905         format.
23907         * malloc/mtrace.c (attribute_hidden): Remove unused macro
23908         definition.  (tr_where, tr_freehook, tr_mallochook,
23909         tr_reallochook, tr_memalignhook): Use ANSI protoype.
23911 2014-02-11  David S. Miller  <davem@davemloft.net>
23913         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
23914         processing int_tests.
23916 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
23918         * sysdeps/mips: Move directory from ports/sysdeps/mips.
23919         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
23920         * sysdeps/unix/sysv/linux/mips: Move directory from
23921         ports/sysdeps/unix/sysv/linux/mips.
23922         * README: Update listing for mips-*-linux-gnu and
23923         mips64-*-linux-gnu.
23925 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
23927         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
23928         * sysdeps/unix/sysv/linux/m68k: Move directory from
23929         ports/sysdeps/unix/sysv/linux/m68k.
23930         * README: Update listing for m68k-*-linux-gnu.
23932 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
23934         * sysdeps/tile: Move directory from ports/sysdeps/tile.
23935         * sysdeps/unix/sysv/linux/generic: Move directory from
23936         ports/sysdeps/unix/sysv/linux/generic.
23937         * sysdeps/unix/sysv/linux/tile: Move directory from
23938         ports/sysdeps/unix/sysv/linux/tile.
23939         * README: Update listing for tile*-*-linux-gnu.
23941 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
23943         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
23944         __builtin_expect.
23945         * benchtests/bench-memmem.c (simple_memmem): Likewise.
23946         * catgets/open_catalog.c (__open_catalog): Likewise.
23947         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
23948         * debug/confstr_chk.c: Likewise.
23949         * debug/fread_chk.c (__fread_chk): Likewise.
23950         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
23951         * debug/getgroups_chk.c: Likewise.
23952         * debug/mbsnrtowcs_chk.c: Likewise.
23953         * debug/mbsrtowcs_chk.c: Likewise.
23954         * debug/mbstowcs_chk.c: Likewise.
23955         * debug/memcpy_chk.c: Likewise.
23956         * debug/memmove_chk.c: Likewise.
23957         * debug/mempcpy_chk.c: Likewise.
23958         * debug/memset_chk.c: Likewise.
23959         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23960         * debug/strcat_chk.c (__strcat_chk): Likewise.
23961         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
23962         * debug/strncat_chk.c (__strncat_chk): Likewise.
23963         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
23964         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
23965         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
23966         * debug/wcpncpy_chk.c: Likewise.
23967         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23968         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
23969         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
23970         * debug/wcsncpy_chk.c: Likewise.
23971         * debug/wcsnrtombs_chk.c: Likewise.
23972         * debug/wcsrtombs_chk.c: Likewise.
23973         * debug/wcstombs_chk.c: Likewise.
23974         * debug/wmemcpy_chk.c: Likewise.
23975         * debug/wmemmove_chk.c: Likewise.
23976         * debug/wmempcpy_chk.c: Likewise.
23977         * debug/wmemset_chk.c: Likewise.
23978         * dirent/scandirat.c (SCANDIRAT): Likewise.
23979         * dlfcn/dladdr1.c (dladdr1): Likewise.
23980         * dlfcn/dladdr.c (dladdr): Likewise.
23981         * dlfcn/dlclose.c (dlclose_doit): Likewise.
23982         * dlfcn/dlerror.c (__dlerror): Likewise.
23983         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
23984         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
23985         * dlfcn/dlopen.c (dlopen_doit): Likewise.
23986         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
23987         * dlfcn/dlsym.c (dlsym_doit): Likewise.
23988         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
23989         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
23990         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
23991         Likewise.
23992         * elf/dl-conflict.c: Likewise.
23993         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
23994         * elf/dl-dst.h: Likewise.
23995         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
23996         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
23997         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
23998         * elf/dl-init.c (call_init, _dl_init): Likewise.
23999         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
24000         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
24001         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
24002         Likewise.
24003         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
24004         Likewise.
24005         * elf/dl-minimal.c (__libc_memalign): Likewise.
24006         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
24007         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24008         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
24009         * elf/dl-sym.c (do_sym): Likewise.
24010         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
24011         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
24012         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
24013         * elf/dl-writev.h (_dl_writev): Likewise.
24014         * elf/ldconfig.c (search_dir): Likewise.
24015         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
24016         (dl_main): Likewise.
24017         * elf/setup-vdso.h (setup_vdso): Likewise.
24018         * grp/compat-initgroups.c (compat_call): Likewise.
24019         * grp/fgetgrent.c (fgetgrent): Likewise.
24020         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
24021         * grp/putgrent.c (putgrent): Likewise.
24022         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24023         Likewise.
24024         * hurd/hurdinit.c: Likewise.
24025         * iconvdata/8bit-gap.c (struct): Likewise.
24026         * iconvdata/ansi_x3.110.c : Likewise.
24027         * iconvdata/big5.c : Likewise.
24028         * iconvdata/big5hkscs.c : Likewise.
24029         * iconvdata/cp1255.c: Likewise.
24030         * iconvdata/cp1258.c : Likewise.
24031         * iconvdata/cp932.c : Likewise.
24032         * iconvdata/euc-cn.c: Likewise.
24033         * iconvdata/euc-jisx0213.c : Likewise.
24034         * iconvdata/euc-jp.c: Likewise.
24035         * iconvdata/euc-jp-ms.c : Likewise.
24036         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
24037         * iconvdata/gb18030.c : Likewise.
24038         * iconvdata/gbbig5.c (const): Likewise.
24039         * iconvdata/gbgbk.c: Likewise.
24040         * iconvdata/gbk.c : Likewise.
24041         * iconvdata/ibm1364.c : Likewise.
24042         * iconvdata/ibm930.c : Likewise.
24043         * iconvdata/ibm932.c: Likewise.
24044         * iconvdata/ibm933.c : Likewise.
24045         * iconvdata/ibm935.c : Likewise.
24046         * iconvdata/ibm937.c : Likewise.
24047         * iconvdata/ibm939.c : Likewise.
24048         * iconvdata/ibm943.c: Likewise.
24049         * iconvdata/iso_11548-1.c: Likewise.
24050         * iconvdata/iso-2022-cn.c : Likewise.
24051         * iconvdata/iso-2022-cn-ext.c : Likewise.
24052         * iconvdata/iso-2022-jp-3.c: Likewise.
24053         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
24054         * iconvdata/iso-2022-kr.c : Likewise.
24055         * iconvdata/iso646.c (gconv_end): Likewise.
24056         * iconvdata/iso_6937-2.c : Likewise.
24057         * iconvdata/iso_6937.c : Likewise.
24058         * iconvdata/iso8859-1.c: Likewise.
24059         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
24060         * iconvdata/shift_jisx0213.c : Likewise.
24061         * iconvdata/sjis.c : Likewise.
24062         * iconvdata/t.61.c : Likewise.
24063         * iconvdata/tcvn5712-1.c : Likewise.
24064         * iconvdata/tscii.c: Likewise.
24065         * iconvdata/uhc.c : Likewise.
24066         * iconvdata/unicode.c (gconv_end): Likewise.
24067         * iconvdata/utf-16.c (gconv_end): Likewise.
24068         * iconvdata/utf-32.c (gconv_end): Likewise.
24069         * iconvdata/utf-7.c (base64): Likewise.
24070         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
24071         * iconv/gconv_close.c (__gconv_close): Likewise.
24072         * iconv/gconv_open.c (__gconv_open): Likewise.
24073         * iconv/gconv_simple.c (internal_ucs4_loop_single)
24074         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
24075         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
24076         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
24077         (ucs4le_internal_loop_single): Likewise.
24078         * iconv/iconv.c (iconv): Likewise.
24079         * iconv/iconv_close.c: Likewise.
24080         * iconv/loop.c (SINGLE): Likewise.
24081         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
24082         * include/atomic.h: Likewise.
24083         * inet/inet6_option.c (option_alloc): Likewise.
24084         * intl/bindtextdom.c (set_binding_values): Likewise.
24085         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
24086         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
24087         * intl/localealias.c (read_alias_file): Likewise.
24088         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
24089         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
24090         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
24091         * libio/fmemopen.c (fmemopen): Likewise.
24092         * libio/iofgets.c (_IO_fgets): Likewise.
24093         * libio/iofgets_u.c (fgets_unlocked): Likewise.
24094         * libio/iofgetws.c (fgetws): Likewise.
24095         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
24096         * libio/iogetdelim.c (_IO_getdelim): Likewise.
24097         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
24098         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
24099         * locale/findlocale.c (_nl_find_locale): Likewise.
24100         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
24101         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
24102         Likewise.
24103         * locale/setlocale.c (setlocale): Likewise.
24104         * login/programs/pt_chown.c (main): Likewise.
24105         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
24106         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
24107         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
24108         (mmap, mmap64, mremap, munmap): Likewise.
24109         * math/e_exp2l.c: Likewise.
24110         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
24111         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
24112         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
24113         * math/s_catan.c (__catan): Likewise.
24114         * math/s_catanf.c (__catanf): Likewise.
24115         * math/s_catanh.c (__catanh): Likewise.
24116         * math/s_catanhf.c (__catanhf): Likewise.
24117         * math/s_catanhl.c (__catanhl): Likewise.
24118         * math/s_catanl.c (__catanl): Likewise.
24119         * math/s_ccosh.c (__ccosh): Likewise.
24120         * math/s_ccoshf.c (__ccoshf): Likewise.
24121         * math/s_ccoshl.c (__ccoshl): Likewise.
24122         * math/s_cexp.c (__cexp): Likewise.
24123         * math/s_cexpf.c (__cexpf): Likewise.
24124         * math/s_cexpl.c (__cexpl): Likewise.
24125         * math/s_clog10.c (__clog10): Likewise.
24126         * math/s_clog10f.c (__clog10f): Likewise.
24127         * math/s_clog10l.c (__clog10l): Likewise.
24128         * math/s_clog.c (__clog): Likewise.
24129         * math/s_clogf.c (__clogf): Likewise.
24130         * math/s_clogl.c (__clogl): Likewise.
24131         * math/s_csin.c (__csin): Likewise.
24132         * math/s_csinf.c (__csinf): Likewise.
24133         * math/s_csinh.c (__csinh): Likewise.
24134         * math/s_csinhf.c (__csinhf): Likewise.
24135         * math/s_csinhl.c (__csinhl): Likewise.
24136         * math/s_csinl.c (__csinl): Likewise.
24137         * math/s_csqrt.c (__csqrt): Likewise.
24138         * math/s_csqrtf.c (__csqrtf): Likewise.
24139         * math/s_csqrtl.c (__csqrtl): Likewise.
24140         * math/s_ctan.c (__ctan): Likewise.
24141         * math/s_ctanf.c (__ctanf): Likewise.
24142         * math/s_ctanh.c (__ctanh): Likewise.
24143         * math/s_ctanhf.c (__ctanhf): Likewise.
24144         * math/s_ctanhl.c (__ctanhl): Likewise.
24145         * math/s_ctanl.c (__ctanl): Likewise.
24146         * math/w_pow.c: Likewise.
24147         * math/w_powf.c: Likewise.
24148         * math/w_powl.c: Likewise.
24149         * math/w_scalb.c (sysv_scalb): Likewise.
24150         * math/w_scalbf.c (sysv_scalbf): Likewise.
24151         * math/w_scalbl.c (sysv_scalbl): Likewise.
24152         * misc/error.c (error_tail): Likewise.
24153         * misc/pselect.c (__pselect): Likewise.
24154         * nis/nis_callback.c (__nis_create_callback): Likewise.
24155         * nis/nis_call.c (__nisfind_server): Likewise.
24156         * nis/nis_creategroup.c (nis_creategroup): Likewise.
24157         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
24158         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
24159         * nis/nis_getservlist.c (nis_getservlist): Likewise.
24160         * nis/nis_lookup.c (nis_lookup): Likewise.
24161         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
24162         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
24163         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
24164         * nis/nis_xdr.c (xdr_endpoint): Likewise.
24165         * nis/nss_compat/compat-grp.c (getgrent_next_file)
24166         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
24167         * nis/nss_compat/compat-initgroups.c (add_group)
24168         (internal_getgrent_r): Likewise.
24169         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
24170         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
24171         * nis/nss_compat/compat-spwd.c (getspent_next_file)
24172         (internal_getspnam_r): Likewise.
24173         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
24174         (_nss_nis_getaliasbyname_r): Likewise.
24175         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
24176         (_nss_nis_getntohost_r): Likewise.
24177         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
24178         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
24179         (_nss_nis_getgrgid_r): Likewise.
24180         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
24181         (internal_nis_gethostent_r, internal_gethostbyname2_r)
24182         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
24183         (_nss_nis_gethostbyname4_r): Likewise.
24184         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
24185         (initgroups_netid): Likewise.
24186         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
24187         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
24188         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
24189         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
24190         (_nss_nis_getprotobynumber_r): Likewise.
24191         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
24192         (_nss_nis_getsecretkey): Likewise.
24193         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
24194         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
24195         (_nss_nis_getpwuid_r): Likewise.
24196         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
24197         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
24198         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
24199         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
24200         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
24201         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
24202         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
24203         Likewise.
24204         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
24205         (_nss_nisplus_getntohost_r): Likewise.
24206         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
24207         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
24208         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
24209         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
24210         Likewise.
24211         * nis/nss_nisplus/nisplus-initgroups.c
24212         (_nss_nisplus_initgroups_dyn): Likewise.
24213         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
24214         (_nss_nisplus_getnetbyaddr_r): Likewise.
24215         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
24216         (_nss_nisplus_getprotobynumber_r): Likewise.
24217         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
24218         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
24219         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
24220         Likewise.
24221         * nis/nss_nisplus/nisplus-service.c
24222         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
24223         (_nss_nisplus_getservbyport_r): Likewise.
24224         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
24225         (_nss_nisplus_getspnam_r): Likewise.
24226         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
24227         Likewise.
24228         * nscd/aicache.c (addhstaiX): Likewise.
24229         * nscd/cache.c (cache_search, prune_cache): Likewise.
24230         * nscd/connections.c (register_traced_file, send_ro_fd)
24231         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
24232         (main_loop_epoll): Likewise.
24233         * nscd/grpcache.c (addgrbyX): Likewise.
24234         * nscd/hstcache.c (addhstbyX): Likewise.
24235         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24236         * nscd/mem.c (gc, mempool_alloc): Likewise.
24237         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
24238         (addinnetgrX): Likewise.
24239         * nscd/nscd-client.h (__nscd_acquire_maplock)
24240         (__nscd_drop_map_ref): Likewise.
24241         * nscd/nscd_getai.c (__nscd_getai): Likewise.
24242         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
24243         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
24244         Likewise.
24245         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
24246         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24247         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
24248         (__nscd_get_map_ref): Likewise.
24249         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
24250         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
24251         Likewise.
24252         * nscd/pwdcache.c (addpwbyX): Likewise.
24253         * nscd/selinux.c (preserve_capabilities): Likewise.
24254         * nscd/servicescache.c (addservbyX): Likewise.
24255         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
24256         * posix/fnmatch.c (fnmatch): Likewise.
24257         * posix/getopt.c (_getopt_internal_r): Likewise.
24258         * posix/glob.c (glob, glob_in_dir): Likewise.
24259         * posix/wordexp.c (exec_comm_child): Likewise.
24260         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
24261         (getanswer_r, gaih_getanswer_slice): Likewise.
24262         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
24263         * resolv/res_init.c: Likewise.
24264         * resolv/res_mkquery.c (res_nmkquery): Likewise.
24265         * resolv/res_query.c (__libc_res_nquery): Likewise.
24266         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
24267         Likewise.
24268         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
24269         * stdio-common/perror.c (perror): Likewise.
24270         * stdio-common/printf_fp.c (___printf_fp): Likewise.
24271         * stdio-common/tmpnam.c (tmpnam): Likewise.
24272         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24273         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
24274         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
24275         Likewise.
24276         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
24277         * stdlib/putenv.c (putenv): Likewise.
24278         * stdlib/setenv.c (__add_to_environ): Likewise.
24279         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24280         * stdlib/strtol_l.c (INTERNAL): Likewise.
24281         * string/memmem.c (memmem): Likewise.
24282         * string/strerror.c (strerror): Likewise.
24283         * string/strnlen.c (__strnlen): Likewise.
24284         * string/test-memmem.c (simple_memmem): Likewise.
24285         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
24286         * sunrpc/pm_getport.c (__get_socket): Likewise.
24287         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
24288         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
24289         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
24290         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
24291         Likewise.
24292         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
24293         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24294         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
24295         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
24296         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
24297         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
24298         Likewise.
24299         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
24300         Likewise.
24301         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
24302         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
24303         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24304         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24305         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
24306         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
24307         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
24308         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
24309         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
24310         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
24311         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24312         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
24313         Likewise.
24314         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
24315         Likewise.
24316         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
24317         Likewise.
24318         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
24319         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24320         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
24321         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
24322         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
24323         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
24324         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24325         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
24326         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
24327         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
24328         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
24329         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24330         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
24331         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
24332         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24333         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
24334         Likewise.
24335         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
24336         Likewise.
24337         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
24338         Likewise.
24339         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
24340         Likewise.
24341         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24342         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24343         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
24344         Likewise.
24345         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
24346         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
24347         * sysdeps/posix/opendir.c (__opendirat): Likewise.
24348         * sysdeps/posix/sleep.c: Likewise.
24349         * sysdeps/posix/tempname.c: Likewise.
24350         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
24351         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24352         Likewise.
24353         * sysdeps/powerpc/powerpc32/dl-machine.h
24354         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
24355         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
24356         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24357         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
24358         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
24359         Likewise.
24360         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
24361         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
24362         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24363         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
24364         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24365         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
24366         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
24367         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
24368         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24369         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
24370         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
24371         (elf_machine_lazy_rel): Likewise.
24372         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24373         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
24374         (elf_machine_lazy_rel): Likewise.
24375         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
24376         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
24377         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
24378         * sysdeps/unix/grantpt.c (grantpt): Likewise.
24379         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
24380         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
24381         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
24382         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24383         Likewise.
24384         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
24385         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
24386         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
24387         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
24388         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24389         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24390         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
24391         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
24392         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
24393         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24394         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24395         Likewise.
24396         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
24397         (__posix_fallocate64_l64): Likewise.
24398         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
24399         (posix_fallocate): Likewise.
24400         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
24401         Likewise.
24402         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24403         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
24404         (getifaddrs_internal): Likewise.
24405         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
24406         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
24407         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
24408         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
24409         * sysdeps/unix/sysv/linux/posix_fallocate64.c
24410         (__posix_fallocate64_l64): Likewise.
24411         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
24412         Likewise.
24413         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
24414         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
24415         (__get_clockfreq): Likewise.
24416         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
24417         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
24418         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
24419         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24420         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24421         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
24422         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
24423         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
24424         Likewise.
24425         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
24426         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
24427         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
24428         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
24429         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24430         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
24431         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
24432         Likewise.
24433         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24434         (posix_fallocate): Likewise.
24435         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24436         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
24437         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
24438         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
24439         (elf_machine_rela, elf_machine_rela_relative)
24440         (elf_machine_lazy_rel): Likewise.
24441         * time/asctime.c (asctime_internal): Likewise.
24442         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
24443         * time/tzset.c (__tzset_parse_tz): Likewise.
24444         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
24445         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
24446         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
24447         * wcsmbs/wcsmbsload.h: Likewise.
24449         [BZ #15894]
24450         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
24452         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
24453         (arena_get2): Remove THREAD_STATS conditionals.
24454         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
24455         (__malloc_stats, int): Likewise.
24457 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
24459         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
24460         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
24462         * manual/setjmp.texi: Fix typos/grammar errors.
24464         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
24465         Only return early when n is <= 0.  Delete unused return statement.
24467         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
24468         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
24469         * debug/tst-longjmp_chk3.c: New file.
24471         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
24472         (test_main): Replace code with set_fortify_handler call.
24473         * debug/test-strcpy_chk.c: Likewise.
24474         * debug/tst-chk1.c: Likewise.
24475         * debug/tst-longjmp_chk.c: Likewise.
24476         * test-skeleton.c: Include fcntl.h & paths.h
24477         (set_fortify_handler): Define.
24479         * debug/tst-longjmp_chk.c: Add header comment and include
24480         ../test-skeleton.c.
24481         (do_test): Mark static.
24482         (TEST_FUNCTION): Define.
24484         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
24485         (IP_PMTUDISC_INTERFACE): Likewise.
24486         (IP_MULTICAST_IF): Likewise.
24487         (IP_MULTICAST_TTL): Likewise.
24488         (IP_MULTICAST_LOOP): Likewise.
24489         (IP_ADD_MEMBERSHIP): Likewise.
24490         (IP_DROP_MEMBERSHIP): Likewise.
24491         (IP_UNBLOCK_SOURCE): Likewise.
24492         (IP_BLOCK_SOURCE): Likewise.
24493         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
24494         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
24495         (IP_MSFILTER): Likewise.
24496         (MCAST_JOIN_GROUP): Likewise.
24497         (MCAST_BLOCK_SOURCE): Likewise.
24498         (MCAST_UNBLOCK_SOURCE): Likewise.
24499         (MCAST_LEAVE_GROUP): Likewise.
24500         (MCAST_JOIN_SOURCE_GROUP): Likewise.
24501         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
24502         (MCAST_MSFILTER): Likewise.
24503         (IP_MULTICAST_ALL): Likewise.
24504         (IP_UNICAST_IF): Likewise.
24506         * timezone/Makefile: Delete $(have-ksh) check.
24507         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
24508         * timezone/tzselect.ksh: Add +x mode bits.
24510         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
24511         (ANON_INODE_FS_MAGIC): Likewise.
24512         (BDEVFS_MAGIC): Likewise.
24513         (BINFMTFS_MAGIC): Likewise.
24514         (BTRFS_TEST_MAGIC): Likewise.
24515         (CRAMFS_MAGIC_WEND): Likewise.
24516         (DEBUGFS_MAGIC): Likewise.
24517         (ECRYPTFS_SUPER_MAGIC): Likewise.
24518         (EXT3_SUPER_MAGIC): Likewise.
24519         (EXT4_SUPER_MAGIC): Likewise.
24520         (FUTEXFS_SUPER_MAGIC): Likewise.
24521         (HOSTFS_SUPER_MAGIC): Likewise.
24522         (HUGETLBFS_MAGIC): Likewise.
24523         (MINIX3_SUPER_MAGIC): Likewise.
24524         (MTD_INODE_FS_MAGIC): Likewise.
24525         (NILFS_SUPER_MAGIC): Likewise.
24526         (OPENPROM_SUPER_MAGIC): Likewise.
24527         (PIPEFS_MAGIC): Likewise.
24528         (PSTOREFS_MAGIC): Likewise.
24529         (QNX6_SUPER_MAGIC): Likewise.
24530         (RAMFS_MAGIC): Likewise.
24531         (REISERFS_SUPER_MAGIC_STRING): Likewise.
24532         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
24533         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
24534         (SECURITYFS_MAGIC): Likewise.
24535         (SELINUX_MAGIC): Likewise.
24536         (SMACK_MAGIC): Likewise.
24537         (SOCKFS_MAGIC): Likewise.
24538         (SQUASHFS_MAGIC): Likewise.
24539         (STACK_END_MAGIC): Likewise.
24540         (TMPFS_MAGIC): Likewise.
24541         (USBDEVICE_SUPER_MAGIC): Likewise.
24542         (V9FS_MAGIC): Likewise.
24543         (XENFS_SUPER_MAGIC): Likewise.
24544         (CRAMFS_MAGIC): Fix typo in comment.
24545         (EXT2_SUPER_MAGIC): Update comment.
24546         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
24548 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
24550         * sysdeps/arm: Move directory from ports/sysdeps/arm.
24551         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
24552         * sysdeps/unix/sysv/linux/arm: Move directory from
24553         ports/sysdeps/unix/sysv/linux/arm.
24554         * README: Update listing for arm-*-linux-gnueabi.
24556         * README: Remove mention of am33.
24558 2014-02-07  Roland McGrath  <roland@hack.frob.com>
24560         * bits/sigset.h (__sigemptyset): Use a statement expression rather
24561         than the comma operator, to avoid "rhs of comma has no effect"
24562         compiler warnings.
24563         (__sigfillset, __sigandset, __sigorset): Likewise.
24564         * include/signal.h (__sigemptyset): Likewise.
24565         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
24567 2014-02-07  Allan McRae  <allan@archlinux.org>
24569         * version.h (RELEASE): Set to "development".
24570         (VERSION): Set to "2.19.90"
24571         * NEWS: Add 2.20 section.
24573 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
24575         [BZ #16529]
24576         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
24578 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24580         * manual/contrib.texi: Update entry for Carlos O'Donell,
24581         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
24583 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
24585         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
24587         * sysdeps/unix/sysv/linux/kernel-features.h
24588         [__LINUX_KERNEL_VERSION >= 0x020621]
24589         (__ASSUME_PROC_PID_TASK_COMM): Define.
24591 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24593         [BZ #16398]
24594         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
24595         conversion when destination buffer does not have enough space.
24596         * libio/tst-ftell-partial-wide.c: New test case.
24597         * libio/Makefile (tests): Add tst-ftell-partial-wide.
24599         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
24600         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
24601         Leonard and Allan McRae.
24603 2014-02-04  David S. Miller  <davem@davemloft.net>
24605         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
24606         32-bit.
24608 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
24611         New file
24612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
24613         New file
24614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
24615         New file.
24616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
24617         New file.
24618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
24619         New file.
24620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
24621         New file.
24622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
24623         New file.
24624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
24625         New file.
24626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
24627         New file.
24628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
24629         New file.
24630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
24631         New file.
24632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
24633         New file.
24634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
24635         New file.
24637 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24639         * nptl/shlib-versions: Change powerpc*le start to 2.17.
24640         * shlib-versions: Likewise.
24642 2014-02-04  Roland McGrath  <roland@hack.frob.com>
24643             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24645         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
24646         (abilist-pattern): New variable, set to %-le.abilist.
24648         * Makerules (abilist-pattern): New variable.
24649         (vpath): Use $(abilist-pattern) in place of %.abilist.
24650         (check-abi-% pattern rule): Likewise.
24651         (check-abi, update-abi): Likewise.
24653 2014-02-04  Eric Wong  <normalperson@yhbt.net>
24655         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24657 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
24659         * manual/startup.texi: Add next, previous, and top entries for
24660         the `Program Arguments' and `Environment Variables' nodes.
24662 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
24664         * manual/macros.texi: Add comments before MTASC-safety macros.
24666         * manual/users.texi: Document MTASC-safety properties.
24668         * manual/threads.texi (pthread_key_create, pthread_key_delete)
24669         (pthread_getspecific, pthread_setspecific): Format with
24670         @deftypefun, and add @safety note.
24671         * manual/signal.texi: Move comments that analyze the above
24672         functions to their home place.
24674 2014-02-03  Allan McRae  <allan@archlinux.org>
24676         * po/sl.po: Update Slovenian translation from translation project.
24678 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
24680         * manual/time.texi (timegm): Add missing blank after @c.
24681         Reported by Joseph Myers <joseph@codesourcery.com>.
24683 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
24685         * manual/check-safety.sh: New.
24686         * manual/Makefile ($(objpfx)stamp-summary): Run it.
24688         * manual/terminal.texi: Document MTASC-safety properties.
24690         * manual/filesys.texi: Document MTASC-safety properties.
24692         * manual/errno.texi: Document MTASC-safety properties.
24694         * manual/intro.texi: Document safety identifiers and
24695         conditionals.
24697         * manual/string.texi (wcstok): Fix prototype.
24698         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
24700         * manual/time.texi: Document MTASC-safety properties.
24702         * manual/string.texi: Document MTASC-safety properties.
24704         * manual/threads.texi: Document MTASC-safety properties.
24706         * manual/stdio.texi: Document MTASC-safety properties.
24708         * manual/syslog.texi: Document MTASC-safety properties.
24710         * manual/sysinfo.texi: Document MTASC-safety properties.
24712         * manual/startup.texi: Document MTASC-safety properties.
24714         * manual/socket.texi: Document MTASC-safety properties.
24716         * manual/signal.texi: Document MTASC-safety properties.
24718 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
24720         * manual/setjmp.texi: Document MTASC-safety properties.
24722         * manual/search.texi: Document MTASC-safety properties.
24724         * manual/resource.texi: Document MTASC-safety properties.
24726         * manual/process.texi: Document MTASC-safety properties.
24728         * manual/platform.texi: Document MTASC-safety properties.
24730         * manual/pipe.texi: Document MTASC-safety properties.
24732         * manual/pattern.texi: Document MTASC-safety properties.
24734         * manual/message.texi: Document MTASC-safety properties.
24736         [BZ #12751]
24737         * manual/memory.texi: Document MTASC-safety properties.
24739         * manual/math.texi: Document MTASC-safety properties.
24741         * manual/locale.texi: Document MTASC-safety properties.
24743         * manual/llio.texi: Document MTASC-safety properties.
24745         * manual/libdl.texi: New.
24747         * manual/lang.texi: Document MTASC-safety properties.
24749         * manual/job.texi: Document MTASC-safety properties.
24751         * manual/getopt.texi: Document MTASC-safety properties.
24753         * manual/ctype.texi: Document MTASC-safety properties.
24755 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
24757         [BZ #16046]
24758         * csu/libc-tls.c (static_map): Remove variable.
24759         (__libc_setup_tls): Use main executable's link map for TLS data.
24760         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
24761         casing for LM_ID_BASE and GL(dl_nns).
24762         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
24763         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
24764         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
24765         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
24766         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
24767         member.
24768         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
24769         l_phnum members.
24771 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
24773         * manual/debug.texi: Document MTASC-safety properties.
24775 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
24777         [BZ #16510]
24778         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
24779         of __x86_64__ when disabling x87 inline functions.
24781 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
24783         * manual/charset.texi: Document MTASC-safety properties.
24785         * manual/crypt.texi: Document MTASC-safety properties.
24787         * manual/conf.texi: Document MTASC-safety properties.
24789         * manual/arith.texi: Document MTASC-safety properties.
24791         * manual/argp.texi: Document MTASC-safety properties.
24793         * manual/macros.texi: Introduce macros to document multi
24794         thread, asynchronous signal and asynchronous cancellation
24795         safety properties.
24796         * manual/intro.texi: Introduce the properties themselves.
24798 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24800         * sysdeps/sh/sh4/Makefile: New file.
24802 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
24804         * math/gen-libm-test.pl ($srcdir): New variable.
24805         ($auto_input): Use it.
24807 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24809         [BZ #16506]
24810         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
24811         access beyond array bounds when parsing netgroups file.
24813         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
24814         the old buffer before realloc.
24816 2014-01-27  Allan McRae  <allan@archlinux.org>
24818         * po/fr.po: Update French translation from translation project.
24820 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24822         * sysdeps/sh/libm-test-ulps: Regenerate.
24824 2014-01-24  David S. Miller  <davem@davemloft.net>
24826         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
24828 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24830         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
24831         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
24833 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24835         [BZ #16474]
24836         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
24837         string pointers after reallocation.
24839 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24841         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
24842         __SH4A__ instead of __SH_FPU_ANY__.
24844 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24846         * sysdeps/sh/fpu_control.h: New file.
24847         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
24848         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
24849         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
24850         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
24851         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
24852         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
24853         * sysdeps/sh/sys/ucontext.h: Remove.
24854         * sysdeps/sh/sys: Remove directory.
24856 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24858         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
24859         s390/sys/ucontext.h.
24860         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
24861         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
24863 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
24865         [BZ #15605]
24866         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
24868 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24870         [BZ#16431]
24871         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24872         Adjust the vDSO correctly for internal calls.
24873         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
24875 2014-01-20  Allan McRae  <allan@archlinux.org>
24877         * po/ca.po: Update Catalan translation from translation project.
24879 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
24881         * sysdeps/s390/sotruss-lib.c: New file.
24883 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24885         [BZ#16430]
24886         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
24887         (__GI___gettimeofday): Alias for a different internal symbol to avoid
24888         local calls issues by not having a PLT stub required for IFUNC calls.
24889         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
24891 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
24893         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
24894         * math/test-fpucw-static.c: Likewise.
24896 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24898         [BZ #16453]
24899         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
24901 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24903         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
24904         implementation for powerpc.
24906 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
24908         [BZ #14782]
24909         * sysdeps/posix/system.c (__libc_system): Do not enable
24910         asynchronous cancellation.
24912 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24914         [BZ #16427]
24915         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
24916         handling only for numbers special also in the IEEE case.
24918 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24920         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24922 2014-01-11  Allan McRae  <allan@archlinux.org>
24924         * po/bg.po: Update Bulgarian translation from translation project.
24926         * po/de.po: Update German translation from translation project.
24928 2014-01-10  Roland McGrath  <roland@hack.frob.com>
24930         * sysdeps/generic/gcc-compat.h: New file.
24932 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24934         * benchtests/asin-inputs: Correct slow inputs.
24935         * benchtests/acos-inputs: Likewise.
24937 2014-01-10  Allan McRae  <allan@archlinux.org>
24939         * po:sv.po: Update Swedish translation from translation project.
24941         * po/vi.po: Update Vietnamese translation from translation project.
24943         * po/eo.po: Update Esperanto translation from translation project.
24945         * po/cs.po: Update Czech translation from translation project.
24947         * po/nl.po: Update Dutch translation from translation project.
24949         * po/pl.po: Update Polish translation from translation project.
24951         * po/ru.po: Update Russian translation from translation project.
24953         * po/uk.po: Update Ukrainian translation from translation project.
24955 2014-01-08  Brooks Moses  <bmoses@google.com>
24957         * elf/dl-load.c: Fix comment typo.
24959 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
24961         * po/header.pot: Rename to...
24962         * po/pot.header: ... this.
24963         * po/Makefile: Use pot.header.
24965 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
24966             Maxim Kuvyrkov  <maxim@kugelworks.com>
24968         [BZ #16394]
24969         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
24970         SRC and DEST against LEN.
24972 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24974         [BZ #16414]
24975         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
24976         implementation.
24977         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
24979 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24981         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24983 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
24985         [BZ #16408]
24986         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
24987         for large positive arguments.
24989 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
24991         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24993         * math/auto-libm-test-in: Mark various tests with
24994         xfail-rounding:ldbl-128ibm.
24995         * math/auto-libm-test-out: Regenerated.
24997         [BZ #16407]
24998         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24999         Increase overflow threshold.
25001 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
25003         [BZ #14286]
25004         * stdio-common/vfprintf.c: Check for integer overflow.
25006 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25008         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
25009         the first argument and return value of __tls_get_addr_internal.
25011 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25013         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
25014         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
25016 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25018         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
25019         * sysdeps/s390/rtld-global-offsets.sym: New file.
25020         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
25021         GLIBC_2.19 symbol.
25022         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
25023         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
25024         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
25025         ... this.
25026         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
25027         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
25028         ... this.
25029         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25030         Regenerate.
25031         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25032         Regenerate.
25033         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
25034         halfs of GPRs for high_gprs contexts.
25035         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
25036         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
25037         field.
25038         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
25039         uc_flags field.
25040         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
25041         64 bit versions:
25042         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
25043         for high GPRs (uc_high_gprs) and for future extensions
25044         (__reserved).
25045         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
25046         for future extensions (__reserved).
25047         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
25048         64 bit versions:
25049         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
25050         SC_HIGHGPRS offset definition.
25051         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
25052         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
25054         * Versions.def: Add GLIBC_2.19 for libpthread.
25055         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
25056         siglongjmp for libpthread with GLIBC_2.19 symver.
25057         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
25058         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
25059         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
25060         * sysdeps/s390/__longjmp.c: New file.
25061         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
25062         * sysdeps/s390/longjmp.c: New file.
25063         * sysdeps/s390/setjmp.S: New file.
25064         * sysdeps/s390/sigjmp.S: New file.
25065         * sysdeps/s390/v1-longjmp.c: New file.
25066         * sysdeps/s390/v1-setjmp.h: New file.
25067         * sysdeps/s390/v1-sigjmp.c: New file.
25068         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
25069         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
25070         GLIBC_2.19 version.
25071         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
25072         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
25073         versioned symbols for ____longjmp_chk.
25074         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
25075         Likewise.
25076         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25077         Regenerate.
25078         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25079         Regenerate.
25080         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25081         Regenerate.
25082         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25083         Regenerate.
25084         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
25085         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
25086         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
25087         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
25088         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
25089         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
25090         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
25091         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
25092         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
25093         * sysdeps/s390/rtld-__longjmp.c: New file.
25094         * sysdeps/s390/rtld-setjmp.S: New file.
25096 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
25098         [BZ #16400]
25099         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25100         Return -__logl (x) for small positive arguments without evaluating
25101         a polynomial.
25103 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
25105         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
25106         Rename to ...
25107         (__ptrace_peeksiginfo_args): ... this.
25108         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25109         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25110         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25112 2014-01-06  Allan McRae  <allan@archlinux.org>
25114         * inet/netinet/in.h: Fix typo in comment.
25116 2014-01-05  Andreas Jaeger  <aj@suse.de>
25118         * sysdeps/i386/fpu/libm-test-ulps: Update.
25120 2014-01-05  Allan McRae  <allan@archlinux.org>
25122         * po/libc.pot: Regenerated.
25124         * malloc/memusagestat.c: Fix gettext call formatting.
25126 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
25128         * nscd/nscd.c: Improve usage() output.
25130 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
25132         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
25133         * sysdeps/unix/sysv/linux/configure: Regenerated.
25134         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
25135         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
25137 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25139         [BZ #16390]
25140         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
25141         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
25143 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25145         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
25146         extra tokens at end of #undef directive.
25147         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25148         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25149         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
25151 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25153         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25155         * math/auto-libm-test-in: Mark various tests with
25156         xfail-rounding:ldbl-128ibm.
25157         * math/auto-libm-test-out: Regenerated.
25159 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
25161         [BZ #16386]
25162         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
25163         numbers with subnormal high part when calculating exponent.
25165         [BZ #16385]
25166         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
25167         fabs.
25169         [BZ #16384]
25170         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
25171         M_LN2l.
25172         (__ieee754_acoshl): Use __log1pl not __log1p.
25174 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
25176         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
25177         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
25178         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
25179         (grow_heap, heap_trim, _int_new_arena, get_free_list)
25180         (reused_arena, arena_get2): Convert to GNU style.
25181         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
25182         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
25183         (memalign_check, __malloc_set_state): Likewise.
25184         * malloc/mallocbug.c (main): Likewise.
25185         * malloc/malloc.c (__malloc_assert, malloc_init_state)
25186         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
25187         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
25188         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
25189         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
25190         (__posix_memalign, malloc_info): Likewise.
25191         * malloc/malloc.h: Likewise.
25192         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
25193         (mallochook, memalignhook, reallochook, mabort): Likewise.
25194         * malloc/mcheck.h: Likewise.
25195         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
25196         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
25197         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
25198         * malloc/morecore.c (__default_morecore): Likewise.
25199         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
25200         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
25201         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
25202         (print_and_abort): Likewise.
25203         * malloc/obstack.h: Likewise.
25204         * malloc/set-freeres.c (__libc_freeres): Likewise.
25205         * malloc/tst-mallocstate.c (main): Likewise.
25206         * malloc/tst-mtrace.c (main): Likewise.
25207         * malloc/tst-realloc.c (do_test): Likewise.
25209 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25211         [BZ #16366]
25212         * nscd/netgroupcache.c (do_notfound): New function.
25213         (addgetnetgrentX): Use it.
25215         [BZ # 16365]
25216         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
25217         NSS_STATUS_NOTFOUND.
25219 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
25221         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25224 2014-01-01  Allan McRae  <allan@archlinux.org>
25226         * scripts/update-copyrights: Update configure input file suffix.
25228         * NEWS: Update copyright year.
25229         * catgets/gencat.c: Likewise.
25230         * csu/version.c: Likewise.
25231         * debug/catchsegv.sh: Likewise.
25232         * debug/pcprofiledump.c: Likewise.
25233         * debug/xtrace.sh: Likewise.
25234         * elf/ldconfig.c: Likewise.
25235         * elf/ldd.bash.in: Likewise.
25236         * elf/pldd.c: Likewise.
25237         * elf/sotruss.ksh: Likewise.
25238         * elf/sprof.c: Likewise.
25239         * iconv/iconv_prog.c: Likewise.
25240         * iconv/iconvconfig.c: Likewise.
25241         * locale/programs/locale.c: Likewise.
25242         * locale/programs/localedef.c: Likewise.
25243         * login/programs/pt_chown.c: Likewise.
25244         * malloc/memusage.sh: Likewise.
25245         * malloc/memusagestat.c: Likewise.
25246         * malloc/mtrace.pl: Likewise.
25247         * manual/libc.texinfo: Likewise.
25248         * nscd/nscd.c: Likewise.
25249         * nss/getent.c: Likewise.
25250         * nss/makedb.c: Likewise.
25251         * posix/getconf.c: Likewise.
25252         * scripts/test-installation.pl: Likewise.
25254         * All files with FSF copyright notices: Update copyright dates
25255         using scripts/update-copyrights.
25256         * intl/plural.c: Regenerated.
25257         * locale/programs/charmap-kw.h: Likewise.
25258         * locale/programs/locfile-kw.h: Likewise.
25260 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
25262         * sysdeps/unix/sysv/linux/configure: Regenerated.
25263         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
25264         the linux/fanotify.h header.
25265         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
25266         HAVE_LINUX_FANOTIFY_H is defined.
25268 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25270         * benchtests/cos-inputs: New inputs.
25271         * benchtests/sin-inputs: Likewise.
25273         * benchtests/atan-inputs: New inputs. Fix name of multiple
25274         precision fallback inputs.
25276         * benchtests/atanh-inputs: New inputs.
25277         * benchtests/tanh-inputs: Likewise.
25279         * benchtests/acosh-inputs: New inputs.
25280         * benchtests/asinh-inputs: Likewise.
25282         * benchtests/cosh-inputs: New inputs.
25283         * benchtests/sinh-inputs: Likewise.
25285         * benchtests/acos-inputs: Add more inputs.
25286         * benchtests/asin-inputs: Likewise.
25288 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
25290         [BZ #16375]
25291         * manual/arith.texi: Fix spelling.
25292         * manual/charset.texi: Likewise.
25293         * manual/errno.texi: Likewise.
25294         * manual/filesys.texi: Likewise.
25295         * manual/lang.texi: Likewise.
25296         * manual/llio.texi: Likewise.
25297         * manual/locale.texi: Likewise.
25298         * manual/message.texi: Likewise.
25299         * manual/resource.texi: Likewise.
25300         * manual/search.texi: Likewise.
25301         * manual/setjmp.texi: Likewise.
25302         * manual/stdio.texi: Likewise.
25303         * manual/string.texi: Likewise.
25304         * manual/sysinfo.texi: Likewise.
25305         * manual/time.texi: Likewise.
25307 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
25309         * po/sl.po: New file.
25311 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
25313         * .gitignore: Add core/.gdbinit/.gdb_history.
25315 2013-12-27  Allan McRae  <allan@archlinux.org>
25317         [BZ #16369]
25318         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
25319         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
25321 2013-12-24  Brooks Moses  <bmoses@google.com>
25323         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
25324         all compilers that claim C++98 compliance, not just GCC.
25325         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
25326         Likewise.
25328 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
25330         * NEWS: Restore accidentally deleted bug-fix entries.
25332 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
25333             Ondřej Bílka  <neleai@seznam.cz>
25335         [BZ #15073]
25336         * malloc/malloc.c (_int_free): Perform sanity check only if we
25337         have_lock.
25339 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
25341         [BZ #12986]
25342         * manual/stdio.texi (String Input Conversions): Clarify that character
25343         classes are not supported.
25345 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25347         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25349 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
25351         [BZ #16337]
25352         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25353         Calculate results for small negative arguments directly rather
25354         than using reflection formula with special underflow handling.
25356         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
25357         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
25358         sysdeps/unix/bsd/bsd4.4/syscalls.list.
25359         (fchflags): Likewise.
25360         (revoke): Likewise.
25361         (setlogin): Likewise.
25362         (sigaltstack): Likewise.
25363         (wait4): Likewise.
25364         (sigblock): Remove.
25365         (sigsetmask): Likewise.
25366         (wait3): Likewise.
25367         (waitpid): Likewise.
25368         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
25369         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
25370         file.
25371         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
25372         * sysdeps/unix/bsd/Makefile: ... here.
25373         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
25374         * sysdeps/unix/bsd/Versions: ... here.
25375         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
25376         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
25377         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
25378         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
25379         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
25380         * sysdeps/unix/bsd/sigblock.c: ... here.
25381         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
25382         * sysdeps/unix/bsd/sigsetmask.c: ... here.
25383         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
25384         * sysdeps/unix/bsd/sigvec.c: ... here.
25385         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
25386         * sysdeps/unix/bsd/tcdrain.c: ... here.
25387         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
25388         * sysdeps/unix/bsd/tcgetattr.c: ... here.
25389         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
25390         * sysdeps/unix/bsd/tcsetattr.c: ... here.
25391         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
25392         * sysdeps/unix/bsd/wait.c: ... here.
25393         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
25394         * sysdeps/unix/bsd/wait3.c: ... here.
25395         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
25396         * sysdeps/unix/bsd/waitpid.c: ... here.
25398 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
25400         [BZ #16356]
25401         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
25402         round-to-nearest for [!USE_AS_EXPM1L].
25403         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
25404         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
25405         more tests of exp and exp10.  Expect some exp10 tests to miss
25406         exceptions or fail in directed rounding modes.
25407         * math/auto-libm-test-out: Regenerated.
25408         * math/libm-test.inc (exp10_tonearest_test_data): New array.
25409         (exp10_test_tonearest): New function.
25410         (exp10_towardzero_test_data): New array.
25411         (exp10_test_towardzero): New function.
25412         (exp10_downward_test_data): New array.
25413         (exp10_test_downward): New function.
25414         (exp10_upward_test_data): New array.
25415         (exp10_test_upward): New function.
25416         (main): Call the new functions.
25417         * sysdeps/i386/fpu/libm-test-ulps: Update.
25418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25420 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
25422         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25423         asinh, atan, atan2, atanh, cbrt, cos and cosh.
25424         * math/auto-libm-test-out: Regenerated.
25425         * math/libm-test.inc (acosh_test_data): Add more tests.
25426         (atanh_test_data): Likewise.
25427         (ceil_test_data): Likewise.
25428         (copysign_test_data): Likewise.
25429         * sysdeps/i386/fpu/libm-test-ulps: Update.
25430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25432         * timezone/checktab.awk: Update from tzcode 2013i.
25433         * timezone/private.h: Likewise.
25434         * timezone/scheck.c: Likewise.
25435         * timezone/tzfile.h: Likewise.
25436         * timezone/tzselect.ksh: Likewise.
25437         * timezone/zdump.c: Likewise.
25438         * timezone/zic.c: Likewise.
25440         * math/auto-libm-test-in: Add tests of cpow.
25441         * math/auto-libm-test-out: Regenerated.
25442         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
25443         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25444         mpc_cc_c.
25445         (func_calc_desc): Add mpc_cc_c union field.
25446         (test_functions): Add cpow.
25447         (special_fill_2pi): New function.
25448         (special_real_inputs): Add 2pi.
25449         (calc_generic_results): Handle mpc_cc_c.
25450         * sysdeps/i386/fpu/libm-test-ulps: Update.
25451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25453         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
25454         csqrt, ctan and ctanh.
25455         * math/auto-libm-test-out: Regenerated.
25456         * math/libm-test.inc (TEST_COND_x86_64): New macro.
25457         (TEST_COND_x86): Likewise.
25458         (ccos_test_data): Use AUTO_TESTS_c_c.
25459         (ccosh_test_data): Likewise.
25460         (cexp_test_data): Likewise.
25461         (clog_test_data): Likewise.
25462         (csqrt_test_data): Likewise.
25463         (ctan_test_data): Likewise.
25464         (ctan_tonearest_test_data): Likewise.
25465         (ctan_towardzero_test_data): Likewise.
25466         (ctan_downward_test_data): Likewise.
25467         (ctan_upward_test_data): Likewise.
25468         (ctanh_test_data): Likewise.
25469         (ctanh_tonearest_test_data): Likewise.
25470         (ctanh_towardzero_test_data): Likewise.
25471         (ctanh_downward_test_data): Likewise.
25472         (ctanh_upward_test_data): Likewise.
25473         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25474         mpc_c_c.
25475         (func_calc_desc): Add mpc_c_c union field.
25476         (FUNC_mpc_c_c): New macro.
25477         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
25478         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
25479         ctanh.
25480         (special_fill_min_subnorm_p120): New function.
25481         (special_real_inputs): Add min_subnorm_p120.
25482         (calc_generic_results): Handle mpc_c_c.
25483         * sysdeps/i386/fpu/libm-test-ulps: Update.
25484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25486 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25488         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
25489         (do_sin_slow): New functions.
25490         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
25491         (cslow2, csloww1, csloww2): Use the new functions.
25493         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
25494         Use M to change sign of result instead of X.  Assume X is
25495         positive.
25496         (csloww1): Likewise.
25497         (__sin): Adjust.
25498         (__cos): Adjust.
25500         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
25501         arguments A and DA.
25502         (__sin): Adjust.
25503         (__cos): Likewise.
25505         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
25506         (__cos): Likewise.
25507         (sloww1): Don't adjust sign of DX.
25508         (csloww1): Likewise.
25509         (sloww2): Use X directly and don't adjust sign of DX.
25510         (csloww2): Likewise.
25512 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25514         * math/auto-libm-test-in: Add tests of cabs and carg.
25515         * math/auto-libm-test-out: Regenerated.
25516         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
25517         (carg_test_data): Likewise.
25518         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25519         mpc_c_f.
25520         (func_calc_desc): Add mpc_c_f union field.
25521         (test_functions): Add cabs and carg.
25522         (calc_generic_results): Handle mpc_c_f.
25524         * sysdeps/powerpc/powerpc32/libgcc-compat.S
25525         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
25526         as a macro and a compat symbol.
25527         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
25528         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
25529         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
25530         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
25531         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
25532         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
25533         not use .hidden.
25534         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
25535         Likewise.
25536         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
25537         Likewise.
25538         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
25539         Likewise.
25540         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
25541         Likewise.
25542         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
25543         Likewise.
25544         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
25545         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
25546         from GLIBC_2.3.2.
25548 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25550         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25552 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25554         * manual/texinfo.tex: Update to version 2013-11-26.10 with
25555         trailing whitespace removed.
25556         * scripts/config.guess: Update to version 2013-11-29.
25557         * scripts/config.sub: Update to version 2013-10-01.
25559         * math/auto-libm-test-in: Add tests of sincos.
25560         * math/auto-libm-test-out: Regenerated.
25561         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
25562         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25563         mpfr_f_11.
25564         (func_calc_desc): Add mpfr_f_11 union field.
25565         (test_functions): Add sincos.
25566         (calc_generic_results): Handle mpfr_f_11.
25567         * sysdeps/i386/fpu/libm-test-ulps: Update.
25568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25570 2013-12-19  Andreas Schwab  <schwab@suse.de>
25572         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
25573         CALL_MCOUNT.
25574         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25575         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
25576         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
25578 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25580         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
25581         * sysdeps/i386/fpu/libm-test-ulps: Update.
25582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25584         [BZ #16293]
25585         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
25586         round-to-nearest mode when using frndint.
25587         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
25588         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25589         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
25590         Likewise.
25591         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
25592         sinh test to fail.
25593         * math/auto-libm-test-out: Regenerated.
25594         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
25595         (TEST_COND_x86): Likewise.
25596         (expm1_tonearest_test_data): New array.
25597         (expm1_test_tonearest): New function.
25598         (expm1_towardzero_test_data): New array.
25599         (expm1_test_towardzero): New function.
25600         (expm1_downward_test_data): New array.
25601         (expm1_test_downward): New function.
25602         (expm1_upward_test_data): New array.
25603         (expm1_test_upward): New function.
25604         (main): Run the new test functions.
25605         * sysdeps/i386/fpu/libm-test-ulps: Update.
25606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25608         * include/features.h: Update comment documenting feature test
25609         macros.  Mention _DEFAULT_SOURCE in comment.
25610         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
25611         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
25612         _BSD_SOURCE and _SVID_SOURCE.
25613         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
25614         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
25615         !_SVID_SOURCE]: Likewise.
25616         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25617         (__USE_POSIX_IMPLICITLY): Define.
25618         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25619         (_POSIX_SOURCE): Undefine and redefine.
25620         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25621         (_POSIX_C_SOURCE): Likewise.
25622         * manual/creature.texi (_DEFAULT_SOURCE): Document.
25623         (Feature Test Macros): Update documentation of default features.
25625 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25627         * benchtests/Makefile: Add bench-strtok.
25628         * benchtests/bench-strtok.c: New file: strtok benchtest.
25630 2013-12-19  Allan McRae  <allan@archlinux.org>
25632         * manual/install.texi: Suppress menu for plain text output.
25633         * INSTALL: Regenerated.
25635 2013-12-18  Brooks Moses  <bmoses@google.com>
25637         [BZ #15846]
25638         * misc/getauxval.c: Include errno.h.
25639         (__getauxval): Set errno to ENOENT if the requested type is not
25640         found.
25641         * misc/sys/auxv.h (getauxval): Document that it may set errno;
25642         don't declare with __attribute_const__.
25643         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
25644         * manual/startup.texi: Document that getauxval sets errno.
25646 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
25648         * math/auto-libm-test-in: Add tests of jn and yn.
25649         * math/auto-libm-test-out: Regenerated.
25650         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
25651         (yn_test_data): Likewise.
25652         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25653         mpfr_if_f.
25654         (func_calc_desc): Add mpfr_if_f union field.
25655         (FUNC_mpfr_if_f): New macro.
25656         (test_functions): Add jn and yn.
25657         (calc_generic_results): Assert type of second input for
25658         mpfr_ff_f.  Handle mpfr_if_f.
25659         (output_for_one_input_case): Disable all checking for arguments
25660         fitting floating-point types in case of an integer argument.
25661         * sysdeps/i386/fpu/libm-test-ulps: Update.
25662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25665         Don't expect fegetround reference in libm.so.
25667 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25669         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
25670         $(config-cflags-nofma).
25672 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
25674         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
25675         * math/auto-libm-test-out: Regenerated.
25677         [BZ #16338]
25678         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
25679         to determine exponent and adjust argument to have exponent of -1.
25680         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
25681         log2.
25682         * math/auto-libm-test-out: Regenerated.
25683         * sysdeps/i386/fpu/libm-test-ulps: Update.
25684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25686 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
25688         * manual/probes.texi: Remove cases when per-thread arenas are
25689         disabled.
25691 2013-12-18  Andreas Schwab  <schwab@suse.de>
25693         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
25694         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
25695         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
25696         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
25697         * sysdeps/i386/i686/multiarch/Makefile: Update.
25698         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
25700 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25702         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
25703         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
25705 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
25707         [BZ #15968]
25708         Support TZ transition times < 00:00:00.
25709         This is needed for version-3 tz-format files; it supports time
25710         stamps past 2037 for America/Godthab (the only entry in the tz
25711         database for which this change is relevant).
25712         * manual/time.texi (TZ Variable): Document transition times
25713         from -167:59:59 through -00:00:01.
25714         * time/tzset.c (tz_rule): Time of day is now signed.
25715         (__tzset_parse_tz): Parse negative time of day.
25717         Document TZ transition times >= 25:00:00.
25718         * manual/time.texi (TZ Variable): Document transition times from
25719         25:00:00 through 167:59:59.  These are already supported, and this
25720         support will help with version-3 tz-format files.
25722         * manual/time.texi (TZ Variable): Modernize North America example
25723         to reflect current (i.e., 2007-and-later) daylight saving rules.
25725         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
25727 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25729         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
25730         * sysdeps/unix/bsd/bits/stat.h: Likewise.
25731         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
25732         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25733         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
25734         * sysdeps/unix/bsd/bsdstat.h: Likewise.
25735         * sysdeps/unix/bsd/clock.c: Likewise.
25736         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
25737         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
25738         * sysdeps/unix/bsd/init-posix.c: Likewise.
25739         * sysdeps/unix/bsd/poll.c: Likewise.
25740         * sysdeps/unix/bsd/ptsname.c: Likewise.
25741         * sysdeps/unix/bsd/seekdir.c: Likewise.
25742         * sysdeps/unix/bsd/setegid.c: Likewise.
25743         * sysdeps/unix/bsd/seteuid.c: Likewise.
25744         * sysdeps/unix/bsd/setgid.c: Likewise.
25745         * sysdeps/unix/bsd/setrgid.c: Likewise.
25746         * sysdeps/unix/bsd/setruid.c: Likewise.
25747         * sysdeps/unix/bsd/setsid.c: Likewise.
25748         * sysdeps/unix/bsd/setuid.c: Likewise.
25749         * sysdeps/unix/bsd/sigaction.c: Likewise.
25750         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
25751         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
25752         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
25753         * sysdeps/unix/bsd/telldir.c: Likewise.
25754         * sysdeps/unix/bsd/times.c: Likewise.
25755         * sysdeps/unix/bsd/usleep.c: Likewise.
25757         * misc/Makefile (install-lib): Remove libbsd-compat.a.
25758         ($(objpfx)libbsd-compat.a): Remove rule.
25760         * include/features.h (__FAVOR_BSD): Do not define.
25761         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
25762         features conflicting with POSIX.
25763         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
25764         (_BSD_SOURCE): Remove description of not being a subset of other
25765         feature test macros.
25766         * manual/job.texi (getpgrp): Do not document BSD version.
25767         (getpgid): Do not document by reference to BSD getpgrp.
25768         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
25769         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
25770         * signal/signal.h [__FAVOR_BSD]: Likewise.
25771         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
25772         instead of making contents conditional on [__FAVOR_BSD].
25773         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
25775 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25777         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25779 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25781         [BZ #16314]
25782         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
25783         values below 2**-450, not 2**-500.
25784         * math/auto-libm-test-in: Don't allow spurious underflow from
25785         hypot.
25786         * math/auto-libm-test-out: Regenerated.
25788         [BZ #16316]
25789         [BZ #16330]
25790         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
25791         values of ha and hb and sort them after adjusting subnormal
25792         arguments.
25793         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
25794         Likewise.
25795         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
25796         values of ea and eb and sort them after adjusting subnormal
25797         arguments.
25798         * math/auto-libm-test-in: Do not expect some hypot tests of
25799         subnormals to fail.  Add more hypot tests.
25800         * math/auto-libm-test-out: Regenerated.
25802 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25804         [BZ #13304]
25805         * sysdeps/sh/s_fma.c: New file.
25806         * sysdeps/sh/s_fmaf.c: New file.
25807         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
25808         version.
25809         * sysdeps/sh/Implies: Add sh/soft-fp.
25811 2013-12-16  Roland McGrath  <roland@hack.frob.com>
25813         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
25814         level of indirection to members `objname', `errstring', `malloced'.
25815         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
25816         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
25817         it as the __longjmp argument (just pass 1 instead).
25818         (_dl_catch_error): Initialize C with argument pointers and address of
25819         volatile local ERRCODE rather than copying values out of C at return.
25821 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
25823         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
25824         * math/auto-libm-test-out: Regenerated.
25825         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
25826         (hypot_test_data): Likewise.
25827         (pow_test_data): Likewise.
25828         (pow_tonearest_test_data): Likewise.
25829         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25830         mpfr_ff_f.
25831         (func_calc_desc): Add mpfr_ff_f union field.
25832         (FUNC_mpfr_ff_f): New macro.
25833         (test_functions): Add atan2, hypot and pow.
25834         (special_fill_min): New function.
25835         (special_fill_minus_min): Likewise.
25836         (special_fill_min_subnorm): Likewise.
25837         (special_fill_minus_min_subnorm): Likewise.
25838         (special_real_inputs): Add min, -min, min_subnorm and
25839         -min_subnorm.
25840         (calc_generic_results): Handle mpfr_ff_f.
25841         * sysdeps/i386/fpu/libm-test-ulps: Update.
25842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25844 2013-12-16  Will Newton  <will.newton@linaro.org>
25846         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
25847         (Aligned Memory Blocks): Add documentation for aligned_alloc
25848         and suggest it as an alternative to posix_memalign.
25849         (Hooks for Malloc): Document __memalign_hook is also called
25850         for aligned_alloc.  (Summary of Malloc): Add summary for
25851         aligned alloc.  Document __memalign_hook is also called
25852         for aligned_alloc.
25854 2013-12-16  Will Newton  <will.newton@linaro.org>
25856         * manual/memory.texi (Malloc Examples): Clarify default
25857         alignment documentation.  Suggest posix_memalign rather
25858         than memalign or valloc.
25859         (Aligned Memory Blocks): Remove suggestion to use memalign
25860         or valloc.  Remove obsolete comment about BSD.
25861         Document memalign errno values and mark the function obsolete.
25862         Document posix_memalign returned error codes.  Mark valloc
25863         as obsolete.  (Hooks for Malloc): __memalign_hook is also
25864         called for posix_memalign and valloc.
25865         (Summary of Malloc): Add posix_memalign to function summary.
25866         __memalign_hook is also called for posix_memalign and valloc.
25868 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25870         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
25871         TAYLOR_SIN.
25872         (__sin): Adjust.
25873         (__cos): Likewise.
25874         (sloww): Use mynumber union.  Expand ternary operator into
25875         if-else statements.
25876         (cslow): use mynumber union.
25878 2013-12-16  Allan McRae  <allan@archlinux.org>
25880         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
25881         * configure: Regenerated.
25883         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
25885         [BZ #14120]
25886         * configure.ac: Added --enable-maintainer-mode. Check for
25887         autoconf when enabled.
25888         * configure: Regenerated.
25890         * nscd/nscd.service: New file.
25891         * nscd/nscd.tmpfiles: New file.
25893 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
25895         [BZ #12100]
25896         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
25897         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
25898         * sysdeps/x86_64/multiarch/strstr.c: ... here.
25899         (strstr): Add __strstr_sse2_unaligned ifunc.
25900         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
25901         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
25902         (strcasestr): Remove __strcasestr_sse42 ifunc.
25903         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
25904         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25905         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25907 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25909         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
25910         * sysdeps/sh/bits/fenv.h: ... here.
25911         * sysdeps/sh/sh4/fpu/bits: Remove directory.
25913 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25915         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
25917         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
25918         hypotf multiarch implementations.
25919         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
25920         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
25921         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
25922         multiarch hypot for PPC64.
25923         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
25924         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
25925         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
25926         multiarch hypotf for PPC64.
25928         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
25929         modff multiarch implementations.
25930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
25931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
25932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
25933         multiarch modf for PPC64.
25934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
25935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
25936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
25937         multiarch modff for PPC64.
25939         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
25940         and logl multiarch implementations.
25941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
25942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
25943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
25944         multiarch logb for PPC64.
25945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
25946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
25947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
25948         multiarch logb for PPC64.
25949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
25950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
25951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
25952         multiarch logb for PPC64.
25954         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
25955         isinff multiarch implementation.
25956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
25957         file.
25958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
25959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
25960         multiarch isinf for PPC64.
25961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
25962         file.
25963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
25964         multiarch isinff for PPC64.
25966         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
25967         finitef multiarch implementation.
25968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
25969         file.
25970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
25971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
25972         multiarch finite for PPC64.
25973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
25974         file.
25975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
25976         multiarch finitef for PPC64.
25978         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
25979         lrint multiarch implementation.
25980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
25981         file.
25982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
25983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
25984         multiarch llrint for PPC64.
25985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
25986         multiarch lrint for PPC64.
25988         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
25989         copysignf multiarch implementation.
25990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
25991         file.
25992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
25993         file.
25994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
25995         multiarch copysign for PPC64.
25996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
25997         multiarch copysignf for PPC64.
25999         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
26000         multiarch implementation.
26001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
26002         file.
26003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
26004         file.
26005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
26006         file.
26007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
26008         file.
26009         multiarch llround for PPC64.
26010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
26011         multiarch trunc for PPC64.
26012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
26013         multiarch truncf for PPC64.
26015         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
26016         multiarch implementation.
26017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
26018         file.
26019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
26020         file.
26021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
26022         file.
26023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
26024         file.
26025         multiarch llround for PPC64.
26026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
26027         multiarch round for PPC64.
26028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
26029         multiarch roundf for PPC64.
26031         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
26032         multiarch implementation.
26033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
26034         file.
26035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
26036         file.
26037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
26038         file.
26039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
26040         file.
26041         multiarch llround for PPC64.
26042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
26043         multiarch floor for PPC64.
26044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
26045         multiarch floorf for PPC64.
26047         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
26048         multiarch implementation.
26049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
26050         file.
26051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
26052         file.
26053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
26054         file.
26055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
26056         file.
26057         multiarch llround for PPC64.
26058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
26059         multiarch ceil for PPC64.
26060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
26061         multiarch ceilf for PPC64.
26063         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
26064         multiarch implementation.
26065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
26066         file.
26067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
26068         file.
26069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
26070         file.
26071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
26072         multiarch llround for PPC64.
26073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
26074         multiarch lround for PPC64.
26076         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
26077         multiarch implementation.
26078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
26079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
26080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
26081         file.
26082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
26083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
26084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
26085         multiarch isnan for PPC64.
26086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
26087         multiarch isnanf for PPC64.
26089         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
26090         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
26091         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
26092         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
26093         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
26094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
26096         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
26097         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26098         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26099         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26101         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
26102         multiarch implementations.
26103         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26104         (__libc_ifunc_impl_list): Likewise.
26105         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
26106         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
26107         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
26108         multiarch stpcpy for PPC64.
26110         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
26111         multiarch implementations.
26112         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26113         (__libc_ifunc_impl_list): Likewise.
26114         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
26115         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
26116         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
26117         multiarch strcpy for PPC64.
26119         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
26120         redefine function name.
26121         (_wordcopy_fwd_dest_aligned): Likewise.
26122         (_wordcopy_bwd_aligned): Likewise.
26123         (_wordcopy_bwd_dest_aligned): Likewise.
26124         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
26125         multiarch implementations.
26126         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26127         (__libc_ifunc_impl_list): Likewise.
26128         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
26129         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
26130         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
26131         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
26132         multiarch wcscpy for PPC64.
26134         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
26135         multiarch implementations.
26136         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26137         (__libc_ifunc_impl_list): Likewise.
26138         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
26139         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
26140         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
26141         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
26142         multiarch wcscpy for PPC64.
26144         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
26145         multiarch implementations.
26146         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26147         (__libc_ifunc_impl_list): Likewise.
26148         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
26149         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
26150         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
26151         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
26152         multiarch wcsrchr for PPC64.
26154         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
26155         multiarch implementations.
26156         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26157         (__libc_ifunc_impl_list): Likewise.
26158         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
26159         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
26160         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
26161         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
26162         multiarch wcschr for PPC64.
26164         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
26165         multiarch implementations.
26166         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26167         (__libc_ifunc_impl_list): Likewise.
26168         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
26169         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
26170         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
26171         multiarch strchrnul for PPC64.
26173         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
26174         implementations.
26175         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26176         (__libc_ifunc_impl_list): Likewise.
26177         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
26178         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
26179         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
26180         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
26181         strchr for PPC64.
26183         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
26184         implementations.
26185         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26186         (__libc_ifunc_impl_list): Likewise.
26187         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
26188         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
26189         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
26190         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
26191         strncmp for PPC64.
26193         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
26194         multiarch implementations.
26195         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26196         (__libc_ifunc_impl_list): Likewise.
26197         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
26198         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
26199         strncasecmp for PPC64.
26200         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
26201         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
26202         multiarch strncasecmp_l for PPC64.
26204         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
26205         multiarch implementations.
26206         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26207         (__libc_ifunc_impl_list): Likewise.
26208         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
26209         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
26210         multiarch strcasecmp for PPC64.
26211         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
26212         file.
26213         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
26214         multiarch strcasecmp_l for PPC64.
26216         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
26217         implementations.
26218         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26219         (__libc_ifunc_impl_list): Likewise.
26220         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
26221         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
26222         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
26223         strnlen for PPC64.
26225         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
26226         implementations.
26227         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26228         (__libc_ifunc_impl_list): Likewise.
26229         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
26230         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
26231         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
26232         strlen for PPC64.
26234         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
26235         implementations.
26236         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26237         (__libc_ifunc_impl_list): Likewise.
26238         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
26239         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
26240         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
26241         rawmemrchr for PPC64.
26243         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
26244         implementation.
26245         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26246         (__libc_ifunc_impl_list): Likewise.
26247         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
26248         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
26249         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
26250         memrchr for PPC64.
26252         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
26253         implementation.
26254         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26255         (__libc_ifunc_impl_list): Likewise.
26256         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
26257         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
26258         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
26259         memchr for PPC64.
26261         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
26262         implementation.
26263         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26264         (__libc_ifunc_impl_list): Likewise.
26265         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
26266         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
26267         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
26268         mempcpy for PPC64.
26270         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
26271         avoid cretion of __bzero symbol.
26272         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
26273         Likewise.
26274         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
26275         Likewise.
26276         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
26277         Likewise.
26278         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
26279         multiarch implementations.
26280         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26281         (__libc_ifunc_impl_list): Likewise.
26282         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
26283         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
26284         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
26285         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
26286         bzero for PPC32.
26287         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
26288         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
26289         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
26290         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
26291         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
26292         memset for PPC64.
26293         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
26295         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
26296         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
26297         implementations.
26298         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26299         (__libc_ifunc_impl_list): Likewise.
26300         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
26301         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
26302         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
26303         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
26304         memcmp for PPC64.
26306         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
26307         multiarch for POWER/PPC64.
26308         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
26309         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
26310         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
26311         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
26312         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
26313         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
26314         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
26315         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
26316         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
26317         memcpy for PPC64.
26319         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
26320         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
26321         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
26322         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
26323         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
26324         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
26325         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
26326         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
26327         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
26328         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
26329         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
26330         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
26331         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
26332         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
26333         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
26334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
26335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
26336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
26337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
26338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
26339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
26340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
26342 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26344         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
26346 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26348         * benchtests/Makefile (bench): Add exp2 and log2.
26349         (LDLIBS-bench-exp2): Add -lm.
26350         (LDLIBS-bench-log2): Likewise.
26351         * benchtests/exp2-inputs: New inputs file.
26352         * benchtests/log2-inputs: New inputs file.
26353         * benchtests/log-inputs: Add new inputs.
26354         * benchtests/tan-inputs: Likewise.
26356 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26358         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
26359         definition...
26360         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
26361         (csloww2): ... from here.
26363         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
26364         instead of structures.
26365         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
26366         (POLYNOMIAL): Likewise.
26367         (TAYLOR_SLOW): Likewise.
26368         (__sin): Likewise.
26369         (__cos): Likewise.
26370         (slow1): Likewise.
26371         (slow2): Likewise.
26372         (sloww): Likewise.
26373         (sloww1); Likewise.
26374         (sloww2): Likewise.
26375         (bsloww1): Likewise.
26376         (bsloww2): Likewise.
26377         (cslow2): Likewise.
26378         (csloww): Likewise.
26379         (csloww1): Likewise.
26380         (csloww2): Likewise.
26382 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
26384         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
26385         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
26386         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
26387         * malloc/hooks.c (realloc_check): Likewise.
26389         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
26390         * malloc/arena.c: Remove PER_THREAD conditional.
26391         [!PER_THREAD]: Remove code.
26392         (ptmalloc_unlock_all2): Likewise.
26393         (ptmalloc_init): Likewise.
26394         (_int_new_arena): Likewise.
26395         (arena_get2): Likewise.
26396         * malloc/hooks.c (__malloc_get_state): Likewise.
26397         (__malloc_set_state): Likewise.
26398         * malloc/malloc.c: Likewise.
26399         (struct malloc_state): Likewise.
26400         (struct malloc_par): Likewise.
26401         (__libc_realloc): Likewise.
26402         (__libc_mallopt): Likewise.
26404 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26406         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
26408 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
26410         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
26411         macro to a function.  Check for zero perturb_byte.
26412         (_int_malloc, _int_free): Remove zero perturb_byte checks.
26414         * malloc/malloc.c: (force_reg): Remove.
26415         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
26416         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
26417         force_reg by atomic_forced_read.
26418         * malloc/arena.c (ptmalloc_init): Likewise.
26419         * malloc/hooks.c (top_check): Likewise.
26421 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26423         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26425 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
26427         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26429 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
26431         * math/auto-libm-test-in: Add tests of lgamma.
26432         * math/auto-libm-test-out: Regenerated.
26433         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
26434         (M_LOG_2_SQRT_PIl): Likewise.
26435         (lgamma_test_data): Use AUTO_TESTS_f_f1.
26436         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26437         mpfr_f_f1.
26438         (func_calc_desc): Add mpfr_f_f1 union field.
26439         (ARGS1): New macro.
26440         (ARGS2): Likewise.
26441         (ARGS3): Likewise.
26442         (ARGS4): Likewise.
26443         (RET1): Likewise.
26444         (RET2): Likewise.
26445         (CALC): Likewise.
26446         (FUNC): Likewise.
26447         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
26448         (test_functions): Add lgamma.
26449         (calc_generic_results): Handle mpfr_f_f1.
26450         * sysdeps/i386/fpu/libm-test-ulps: Update.
26451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26453 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26455         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
26456         __mpn_add_n for PowerPC64/POWER7.
26457         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
26458         __mpn_sub_n for PowerPC64/POWER7.
26460         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
26461         __mpn_addmul_1 for PowerPC64.
26462         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
26463         __mpn_submul_1 for PowerPC64.
26464         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
26465         for PowerPC64.
26466         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
26467         for PowerPC64.
26469 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
26471         [BZ #15089]
26472         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
26474 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26476         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
26478         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
26479         add multiarch folders.
26480         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
26481         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
26482         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
26483         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
26484         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
26485         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
26486         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
26487         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
26488         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
26489         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
26490         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
26491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
26492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
26493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
26494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
26495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
26496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
26498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26499         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
26500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
26501         New file.
26502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
26503         New file.
26504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
26505         multiarch __ieee754_hypot for PowerPC32.
26506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
26507         New file.
26508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
26509         New file.
26510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
26511         multiarch __ieee754_hypotf for PowerPC32.
26513         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
26514         long_double_symbol only if __logbl is defined.
26515         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
26516         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
26517         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
26518         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
26519         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
26520         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
26521         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
26522         path for implementation.
26523         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
26524         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
26525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
26526         logb, and logbl multiarch implementations for PowerPC32.
26527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
26528         file.
26529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
26530         file.
26531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
26532         multiarch logb for PowerPC32.
26533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
26534         file.
26535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
26536         file.
26537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
26538         multiarch logbf for PowerPC32.
26539         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
26540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
26541         file.
26542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
26543         multiarch logbl implementation for PowerPC32.
26545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
26546         and modff multiarch implementations.
26547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
26548         New file.
26549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
26550         New file.
26551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
26552         multiarch modf for PowerPC32.
26553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
26554         New file.
26555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
26556         New file.
26557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
26558         multiarch modff for PowerPC32.
26560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
26561         and lrintf multiarch implementations.
26562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
26563         New file.
26564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
26565         New file.
26566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
26567         multiarch lrint for PowerPC32.
26568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
26569         file: multiarch lrintf for PowerPC32.
26571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
26572         and lroundf multiarch implementations.
26573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
26574         New file.
26575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
26576         New file.
26577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
26578         New file.
26579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
26580         multiarch lround for PowerPC32.
26581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
26582         file: multiarch lroundf for PowerPC32.
26584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26585         copysign and copysignf multiarch implementations.
26586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
26587         New file.
26588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
26589         New file.
26590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
26591         file: multiarch copysign for PowerPC32.
26592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
26593         file: multiarch copysignf for PowerPC32.
26595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
26596         and truncf multiarch implementations.
26597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
26598         New file.
26599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
26600         file.
26601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
26602         multiarch trunc for PowerPC32.
26603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
26604         New file.
26605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
26606         New file.
26607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
26608         multiarch truncf for PowerPC32.
26610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
26611         and roundf multiarch implementations.
26612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
26613         New file.
26614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
26615         file.
26616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
26617         multiarch round for PowerPC32.
26618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
26619         New file.
26620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
26621         New file.
26622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
26623         multiarch roundf for PowerPC32.
26625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
26626         and floorf multiarch implementations.
26627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
26628         New file.
26629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
26630         file.
26631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
26632         multiarch floor for PowerPC32.
26633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
26634         New file.
26635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
26636         New file.
26637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
26638         multiarch floorf for PowerPC32.
26640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
26641         and ceilf multiarch implementations.
26642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
26643         New file.
26644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
26645         file.
26646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
26647         multiarch ceil for PowerPC32.
26648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
26649         New file.
26650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
26651         file.
26652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
26653         multiarch ceilf for PowerPC32.
26655         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
26656         is defined.
26657         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
26658         FINITEF is defined.
26659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
26660         and finitef multiarch implementations.
26661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
26662         New file.
26663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
26664         file.
26665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
26666         multiarch finite for PowerPC32.
26667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
26668         New file.
26669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
26670         file: multiarch finitef for PowerPC32.
26672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
26673         and isinff multiarch implementations.
26674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
26675         file.
26676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
26677         file.
26678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
26679         multiarch isinf for PowerPC32.
26680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
26681         New file.
26682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
26683         multiarch isinff for PowerPC32.
26685         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
26686         alias when __isnan is defined.
26687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
26688         and isnanf multiarch implementations.
26689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
26690         file.
26691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
26692         file.
26693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
26694         file.
26695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
26696         file.
26697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
26698         multiarch isnan for PowerPC32.
26699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
26700         New file.
26701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
26702         New file.
26703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
26704         multiarch isnanf for PowerPC32.
26706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
26707         and sqrtf multiarch implementations.
26708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
26709         file.
26710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
26711         file.
26712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
26713         multiarch sqrt for PowerPC32.
26714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
26715         file.
26716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
26717         file.
26718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
26719         multiarch sqrtf for PowerPC32.
26721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
26722         and llroundf multiarch implementations.
26723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
26724         New file.
26725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
26726         New file.
26727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
26728         New file.
26729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
26730         file: multiarch llround for PowerPC32.
26731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
26732         file: multiarch llroundf for PowerPC32.
26734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
26735         multiarch PowerPC32 fpu implementations.
26736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
26737         New file.
26738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
26739         New file.
26740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
26741         multiarch llrint for PowerPC32.
26742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
26743         New file.
26744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
26745         New file.
26746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
26747         file.
26749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
26751         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
26752         file.
26753         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
26754         file.
26755         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
26756         file.
26757         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
26758         multiarch wordcopy for PPC32.
26759         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26760         wordcopy objects.
26761         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26762         (__libc_ifunc_impl_list): Likewise.
26763         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
26764         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
26765         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
26766         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
26767         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
26768         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
26770         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
26771         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
26772         file.
26773         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
26774         file.
26775         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
26776         file.
26777         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
26778         multiarch wcscpy for PPC32.
26779         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26780         multiarch objects.
26781         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26782         (__libc_ifunc_impl_list): Likewise.
26783         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26784         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26785         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
26786         sysdeps/powerpc/power6/wcscpy.c.
26788         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
26789         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
26790         file.
26791         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
26792         file.
26793         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
26794         file.
26795         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
26796         multiarch wcsrchr for PPC32.
26797         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26798         multiarch objects.
26799         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26800         (__libc_ifunc_impl_list): Likewise.
26801         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26802         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26803         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
26804         sysdeps/powerpc/power6/wcsrchr.c.
26806         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
26807         file.
26808         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
26809         file.
26810         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
26811         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
26812         multiarch wcschr for PPc32.
26813         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26814         multiarch objects.
26815         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26816         (__libc_ifunc_impl_list): Likewise.
26817         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
26818         * sysdeps/powerpc/power6/wcschr.c: ... to here.
26819         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
26820         sysdeps/powerpc/power6/wcschr.c.
26822         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
26823         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
26824         file.
26825         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
26826         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
26827         file: multiarch strchr for PPC32.
26828         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
26829         multiarch objects.
26830         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26831         (__libc_ifunc_impl_list): Likewise.
26833         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
26834         name.
26835         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
26836         file.
26837         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
26838         file.
26839         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
26840         multiarch strchrnul for PPC32.
26841         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
26842         multiarch objects.
26843         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26844         (__libc_ifunc_impl_list): Likewise.
26846         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
26847         file.
26848         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
26849         multiarch strncasecmp for PPC32.
26850         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
26851         file.
26852         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
26853         multiarch strncasecmp_l for PPC32.
26854         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
26855         strncasecmp multiarch objects.
26856         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26857         (__libc_ifunc_impl_list): Likewise.
26859         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
26860         file.
26861         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
26862         multiarch strncasecmp for PPC32.
26863         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
26864         New file.
26865         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
26866         multiarch strcasecmp_l for PPC32.
26867         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
26868         multiarch objects.
26869         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26870         (__libc_ifunc_impl_list): Likewise.
26872         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
26873         file.
26874         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
26875         file.
26876         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
26877         multiarch strncmp for PPC32.
26878         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
26879         multiarch objects.
26880         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26881         (__libc_ifunc_impl_list): Likewise.
26883         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
26884         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
26885         file.
26886         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
26887         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
26888         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
26889         multiarch objects.
26890         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26891         (__libc_ifunc_impl_list): Likewise.
26893         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
26894         file.
26895         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
26896         file.
26897         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
26898         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
26899         multiarch objects.
26900         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26901         (__libc_ifunc_impl_list): Likewise.
26903         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
26904         file.
26905         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
26906         file.
26907         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
26908         multiarch rawmemchr for PPC32.
26909         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
26910         multiarch objects.
26911         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26912         (__libc_ifunc_impl_list): Likewise.
26914         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
26915         file.
26916         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
26917         file.
26918         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
26919         file: memrchr multiarch for PPC32.
26920         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
26921         multiarch objects.
26922         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26923         (__libc_ifunc_impl_list): Likewise.
26925         * string/memchr.c (__memchr): Using macro to redefine symbol name.
26926         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
26927         file.
26928         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
26929         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
26930         multiarch memchr for PPC32.
26931         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
26932         multiarch objects.
26933         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26934         (__libc_ifunc_impl_list): Likewise.
26936         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
26937         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
26938         file.
26939         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
26940         file.
26941         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
26942         file: multiarch mempcpy for PPC32.
26943         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
26944         multiarch objects.
26945         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26946         (__libc_ifunc_impl_list): Likewise.
26948         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
26949         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
26950         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
26951         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
26952         multiarch bzero for PPC32.
26953         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
26954         file.
26955         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
26956         file.
26957         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
26958         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
26959         file: multiarch memset for PPC32.
26960         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
26961         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
26962         memset multiarch objects.
26963         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26964         (__libc_ifunc_impl_list): Likewise.
26966         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
26967         file.
26968         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
26969         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
26970         memcmp for PPC32.
26971         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
26972         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
26973         multiarch objects.
26974         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26975         (__libc_ifunc_impl_list): Likewise.
26977         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
26978         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
26979         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
26980         file.
26981         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
26982         file.
26983         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
26984         file.
26985         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
26986         multiarch memcpy for PPC32.
26987         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
26988         multiarch objects.
26989         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26990         (__libc_ifunc_impl_list): Likewise.
26992         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
26993         support multiarch for POWER/PPC32.
26994         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
26995         Likewise.
26996         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
26998         Implies file to make multiarch folder appers before the fpu and
26999         default folder for power4 configuration.
27001 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27003         * scripts/bench.pl: Append volatile keyword to type.
27005 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27007         * sysdeps/sh/sotruss-lib.c: New file.
27008         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
27010 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27012         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27014 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
27016         [BZ #6810]
27017         * math/w_tgamma.c: Include <errno.h>.
27018         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
27019         * math/w_tgammaf.c: Include <errno.h>.
27020         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
27021         * math/w_tgammal.c: Include <errno.h>.
27022         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
27023         * math/auto-libm-test-in: Do not allow missing errno on tgamma
27024         underflow.  Add more tgamma tests.
27025         * math/auto-libm-test-out: Regenerated.
27026         * sysdeps/i386/fpu/libm-test-ulps: Update.
27027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27029         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
27030         sin, sinh, tan, tanh, tgamma, y0 and y1.
27031         * math/auto-libm-test-out: Regenerated.
27032         * math/libm-test.inc (TEST_COND_x86_64): New macro.
27033         (TEST_COND_x86): Likewise.
27034         (M_E2l): Remove macro.
27035         (M_E3l): Likewise.
27036         (M_2_SQRT_PIl): Likewise.
27037         (M_SQRT_PIl): Likewise.
27038         (M_1_DIV_El): Likewise.
27039         (log_test_data): Use AUTO_TESTS_f_f.
27040         (log10_test_data): Likewise.
27041         (log1p_test_data): Likewise.
27042         (log2_test_data): Likewise.
27043         (sin_test_data): Likewise.
27044         (sin_tonearest_test_data): Likewise.
27045         (sin_towardzero_test_data): Likewise.
27046         (sin_downward_test_data): Likewise.
27047         (sin_upward_test_data): Likewise.
27048         (sinh_test_data): Likewise.
27049         (sinh_tonearest_test_data): Likewise.
27050         (sinh_towardzero_test_data): Likewise.
27051         (sinh_downward_test_data): Likewise.
27052         (sinh_upward_test_data): Likewise.
27053         (tan_test_data): Likewise.
27054         (tan_tonearest_test_data): Likewise.
27055         (tan_towardzero_test_data): Likewise.
27056         (tan_downward_test_data): Likewise.
27057         (tan_upward_test_data): Likewise.
27058         (tanh_test_data): Likewise.
27059         (tgamma_test_data): Likewise.
27060         (y0_test_data): Likewise.
27061         (y1_test_data): Likewise.
27062         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
27063         (special_real_inputs): Add pi/4.
27064         * sysdeps/i386/fpu/libm-test-ulps: Update.
27065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27067 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27069         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
27070         "longjmp_target" static probes.
27071         (__longjmp): Rename to __longjmp_symbol.
27072         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27073         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
27074         on which longjmp to generate.
27075         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27076         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
27077         probe.
27078         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27079         (__sigjmp_save): Rename to __sigjmp_save_symbol.
27080         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27081         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
27082         and __sigjmp_save_symbol based on which sigsetjmp to generated.
27083         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
27084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
27085         __longjmp_symbol based on which __longjmp to generate.
27086         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
27087         probe.
27088         (setjmp): Rename to setjmp_symbol.
27089         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27090         (_setjmp): Rename to _setjmp_symbol.
27091         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27092         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
27093         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
27094         which setjmp to generate.
27095         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
27096         "longjmp_target" static probes.
27098 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27100         * benchtests/README: Add note about output arguments.
27101         * benchtests/bench-sincos.c: Remove file.
27102         * benchtests/sincos-inputs: New file.
27103         * scripts/bench.pl: Identify output arguments and define
27104         static variables for them.
27106         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
27108         [BZ #15941]
27109         * Makefile (INSTALL): Add install-plain.texi as the primary
27110         dependency.
27111         * manual/install-plain.texi: New file.
27112         * manual/install.texi: Include node directive only for
27113         non-plaintext output.
27115 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
27117         * stdlib/longlong.h: Update from GCC.
27119         [BZ #6807]
27120         [BZ #15901]
27121         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
27122         * math/w_j0f.c (y0f): Likewise.
27123         * math/w_j0l.c (__y0l): Likewise.
27124         * math/w_j1.c (y1): Likewise.
27125         * math/w_j1f.c (y1f): Likewise.
27126         * math/w_j1l.c (__y1l): Likewise
27127         * math/w_jn.c (yn): Likewise.
27128         * math/w_jnf.c (ynf): Likewise.
27129         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
27130         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
27131         value for Bessel function domain errors outside _SVID_ mode.
27132         Adjust sign of return value for yn (negative integer, 0).
27133         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
27134         by zero in return for negative x and set sign appropriately for
27135         negative n.
27136         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
27137         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27138         * math/libm-test.inc (y0_test_data): Add more tests and adjust
27139         expectations in error cases.
27140         (y1_test_data): Likewise.
27141         (yn_test_data): Likewise.
27142         * sysdeps/i386/fpu/libm-test-ulps: Update.
27143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27145 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27147         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
27148         "64" to "64-v1".  Add "64-v2".
27149         (abi-64-options): Rename to ...
27150         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
27151         (abi-64-condition): Rename to ...
27152         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
27153         (abi-64-ld-soname): Rename to ...
27154         (abi-64-v1-ld-soname): ... this.
27155         (abi-64-v2-options): Define.
27156         (abi-64-v2-condition): Likewise.
27157         (abi-64-v2-ld-soname): Likewise.
27158         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
27159         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
27160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
27161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
27162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
27164 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27165             Alan Modra  <amodra@gmail.com>
27167         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
27168         New versions for use with the ELFv2 ABI.
27169         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
27170         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
27171         declaration.
27172         (struct La_ppc64v2_retval): Likewise.
27173         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
27174         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
27175         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
27176         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
27177         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
27178         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27179         Do not save or restore CR.
27180         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
27181         (_dl_profile_resolve): Do no save or restore CR.  Support extended
27182         return values for ELFv2 ABI.  Fix location of FPR return registers.
27183         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
27184         updated values for _CALL_ELF == 2.
27185         (La_regs, La_retval, int_retval): Likewise.
27187 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27189         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
27190         (FRAME_MIN_SIZE_PARM): Likewise.
27191         (FRAME_BACKCHAIN): Likewise.
27192         (FRAME_CR_SAVE): Likewise.
27193         (FRAME_LR_SAVE): Likewise.
27194         (FRAME_TOC_SAVE): Likewise.
27195         (FRAME_PARM_SAVE): Likewise.
27196         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
27197         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
27198         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27199         (call_mcount_parm_offset): New macro.
27200         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
27201         (PROF): Use symbolic stack frame offsets.
27202         (TAIL_CALL_SYSCALL_ERROR): Likewise.
27203         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
27204         Redefine in terms of FRAME_MIN_SIZE.
27205         (_dl_runtime_resolve): Use symbolic stack frame offsets.
27206         (_dl_profile_resolve): Likewise.  Update comment.
27207         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
27208         symbols stack frame offsets.
27209         (__sigsetjmp): Likewise.
27210         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
27211         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
27212         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
27213         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
27215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
27216         (FRAME_BACKCHAIN): Remove.
27217         (FRAME_CR_SAVE): Likewise.
27218         (FRAME_LR_SAVE): Likewise.
27219         (FRAME_COMPILER_DW): Likewise.
27220         (FRAME_LINKER_DW): Likewise.
27221         (FRAME_TOC_SAVE): Likewise.
27222         (FRAME_PARM_SAVE): Likewise.
27223         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
27224         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
27225         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
27227         (CHECK_SP): Use symbolic stack frame offsets.
27228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
27229         zone" instead of caller's parameter save area for temp storage.
27230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27231         Likewise.  Also, use symbolic stack frame offsets.
27232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
27233         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
27234         our own stack frame instead of the caller's.
27235         (__socket): Use symbolic stack frame offsets.
27237 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27238             Alan Modra  <amodra@gmail.com>
27240         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
27241         Define.
27242         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
27243         (PPC64_LOCAL_ENTRY_OFFSET): Define.
27244         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
27245         New function.
27246         (elf_machine_fixup_plt): Call it.
27247         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
27248         reloc arguments.
27249         (elf_machine_rela): Update call to elf_machine_plt_conflict.
27250         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27251         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
27252         r2 before calling target.
27254 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27255             Alan Modra  <amodra@gmail.com>
27257         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
27258         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
27259         versions of macros to support ELFv2 ABI.
27260         (LOCALENTRY): New macro.
27261         (ENTRY, EALIGN): Use it.
27262         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
27263         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
27264         fall through into ENTRY entry point.
27265         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
27266         Only define if _CALL_ELF != 2.
27268         (elf_machine_matches_host): Verify ABI version matches.
27269         (RTLD_START): Use LOCALENTRY.
27270         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
27271         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
27272         (PLT_ENTRY_WORDS): New macro.
27273         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
27274         (elf_machine_runtime_setup): Support ELFv2 ABI.
27275         (elf_machine_fixup_plt): Likewise.
27276         (elf_machine_plt_conflict): Likewise.
27277         (resolve_ifunc): Likewise.
27278         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
27279         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27280         Likewise.
27281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
27282         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
27283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27284         (makecontext): Support ELFv2 ABI.
27285         * elf/elf.h (EF_PPC64_ABI): Define.
27287 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27289         * sysdeps/powerpc/powerpc64/sysdep.h
27290         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
27291         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
27292         (ENTRY) [ASSEMBLER]: ... but instead here ...
27293         (EALIGN) [ASSEMBLER]: ... and here.
27294         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
27295         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
27296         (ENTRY_2) [!ASSEMBLER]: Use it.
27297         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
27298         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
27299         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27300         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
27301         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
27302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
27303         Use PPC64_LOAD_FUNCPTR.
27305         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
27307 2013-12-04  Alan Modra  <amodra@gmail.com>
27309         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
27310         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
27311         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
27312         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
27314         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
27315         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
27316         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
27317         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
27318         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
27319         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
27321 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27324         (__makecontext): Fix incorrect CFI when backtracing out of
27325         context created via makecontext.
27326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
27327         (__setcontext): Fix incorrect CFI during switch to new context.
27328         (__novec_setcontext): Likewise.
27330 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
27332         [BZ #4772]
27333         * time/strptime_l.c (__strptime_internal): Allow modifiers
27334         in strptime.
27335         * time/tst-strptime.c (day_tests): Add testcase.
27337 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27339         * scripts/bench.pl: Skip over blank lines.
27341 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
27343         [BZ #926]
27344         * manual/time.texi (Calendar Time): Clarify what timezone functions
27345         use.
27347 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27349         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27351 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
27353         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
27354         implementation.
27355         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
27356         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
27357         * debug/memset_chk.c (__memset_chk): Likewise.
27358         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
27359         * debug/strncpy_chk.c: Likewise.
27361 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
27363         [BZ #15268]
27364         [BZ #15425]
27365         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
27366         (__ieee754_exp): For possibly underflowing results, check size of
27367         result and force underflow exception if required.
27368         * math/auto-libm-test-in: Add more tests of exp.
27369         * math/auto-libm-test-out: Regenerated.
27370         * sysdeps/i386/fpu/libm-test-ulps: Update.
27371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27373         [BZ #16283]
27374         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
27375         * math/w_exp2f.c (__exp2f): Likewise.
27376         * math/w_exp2l.c (__exp2l): Likewise.
27377         * math/auto-libm-test-in: Do not allow missing errno on exp2
27378         underflow.
27379         * math/auto-libm-test-out: Regenerated.
27381 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
27383         [BZ #16274]
27384         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
27385         handle filename validation.
27386         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
27387         (do_open): Delete.
27389 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
27391         [BZ #6786]
27392         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
27393         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
27394         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
27395         <float.h>.
27396         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
27397         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
27398         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27399         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
27400         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27401         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
27402         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27403         * math/auto-libm-test-in: Don't allow missing errno from erfc.
27404         Add more erfc tests.
27405         * math/auto-libm-test-out: Regenerated.
27406         * sysdeps/i386/fpu/libm-test-ulps: Update.
27407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27409         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
27410         exp2, expm1, j0 and j1.
27411         * math/auto-libm-test-out: Regenerated.
27412         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
27413         (erfc_test_data): Likewise.
27414         (exp_test_data): Likewise.
27415         (exp_tonearest_test_data): Likewise.
27416         (exp_towardzero_test_data): Likewise.
27417         (exp_downward_test_data): Likewise.
27418         (exp_upward_test_data): Likewise.
27419         (exp10_test_data): Likewise.
27420         (exp2_test_data): Likewise.
27421         (expm1_test_data): Likewise.
27422         (j0_test_data): Likewise.
27423         (j1_test_data): Likewise.
27424         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
27425         (input_flag_type): Add flag_xfail_rounding.
27426         (input_flags): Add xfail-rounding.
27427         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
27428         (output_for_one_input_case): Handle flag_xfail_rounding.
27429         * sysdeps/i386/fpu/libm-test-ulps: Update.
27430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27432 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
27434         [BZ #16289]
27435         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
27436         division by 0.
27438 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
27440         [BZ #16195]
27441         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
27442         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
27443         (STAP_PROBE0): New macro.
27444         (STAP_PROBE1): Likewise.
27445         (STAP_PROBE2): Likewise.
27446         (STAP_PROBE3): Likewise.
27447         (STAP_PROBE4): Likewise.
27449 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
27451         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
27453 2013-12-02  Steve Ellcey  <sellcey@mips.com>
27455         * benchtests/Makefile (bench): Add sqrt.
27456         (LDLIBS-bench-sqrt): New.
27457         * benchtests/sqrt-input: New.
27459 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
27461         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
27462         (GAIH_EAI): Likewise.
27463         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
27464         (gaih_inet): Likewise.
27465         (getaddrinfo): Don't use GAIH_EAI.
27467         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
27468         (struct gaih): Remove definition.
27470 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27472         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
27473         Use HERRNOP directly.
27475 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27477         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27479 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
27481         * math/gen-auto-libm-tests.c (test_functions): Add more
27482         single-argument functions.
27483         (special_fill_pi_2): New function.
27484         (special_fill_minus_pi_2): Likewise.
27485         (special_fill_pi_6): Likewise.
27486         (special_fill_minus_pi_6): Likewise.
27487         (special_fill_pi_3): Likewise.
27488         (special_fill_2pi_3): Likewise.
27489         (special_fill_e): Likewise.
27490         (special_fill_1_e): Likewise.
27491         (special_fill_e_minus_1): Likewise.
27492         (special_real_inputs): Add more special inputs.
27493         (output_for_one_input_case): Do not require ERANGE on underflow to
27494         zero if round-to-nearest result does not underflow to zero, unless
27495         exact results required.
27496         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
27497         atan, atanh, cbrt, cos and cosh.
27498         * math/auto-libm-test-out: Regenerated.
27499         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
27500         (acos_tonearest_test_data): Likewise.
27501         (acos_towardzero_test_data): Likewise.
27502         (acos_downward_test_data): Likewise.
27503         (acos_upward_test_data): Likewise.
27504         (acosh_test_data): Likewise.
27505         (asin_test_data): Likewise.
27506         (asin_tonearest_test_data): Likewise.
27507         (asin_towardzero_test_data): Likewise.
27508         (asin_upward_test_data): Likewise.
27509         (asinh_test_data): Likewise.
27510         (atan_test_data): Likewise.
27511         (atanh_test_data): Likewise.
27512         (cbrt_test_data): Likewise.
27513         (cos_test_data): Likewise.
27514         (cos_tonearest_test_data): Likewise.
27515         (cos_towardzero_test_data): Likewise.
27516         (cos_downward_test_data): Likewise.
27517         (cos_upward_test_data): Likewise.
27518         (cosh_test_data): Likewise.
27519         (cosh_tonearest_test_data): Likewise.
27520         (cosh_towardzero_test_data): Likewise.
27521         (cosh_downward_test_data): Likewise.
27522         (cosh_upward_test_data): Likewise.
27523         * sysdeps/i386/fpu/libm-test-ulps: Update.
27524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27526 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
27528         [BZ #6787]
27529         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
27530         * math/w_exp10f.c (__exp10f): Likewise.
27531         * math/w_exp10l.c (__exp10l): Likewise.
27532         * math/libm-test.inc (exp10_test_data): Add more tests and expect
27533         errno settings in existing tests.
27535         [BZ #14032]
27536         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
27537         precision control set to double precision.
27538         * sysdeps/i386/fpu/w_sqrt.c: New file.
27539         * math/auto-libm-test-in: Add more tests.
27540         * math/auto-libm-test-out: Update.
27542         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
27543         (sqrt_test_tonearest): New function.
27544         (sqrt_towardzero_test_data): New variable.
27545         (sqrt_test_towardzero): New function.
27546         (sqrt_downward_test_data): New variable.
27547         (sqrt_test_downward): New function.
27548         (sqrt_upward_test_data): New variable.
27549         (sqrt_test_upward): New function.
27550         (main): Call the new functions.
27552         * math/gen-auto-libm-tests.c: New file.
27553         * math/auto-libm-test-in: Likewise.
27554         * math/auto-libm-test-out: New generated file.
27555         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
27556         variables.
27557         (%beautify): Add generated representations of zero.
27558         (top level): Set $auto_input and call parse_auto_input.
27559         (beautify): Remove trailing "f" from hex float constants.
27560         (parse_args): Handle XFAIL_TEST.
27561         (convert_condition): New function.
27562         (or_value): Likewise.
27563         (or_cond_value): Likewise.
27564         (generate_testfile): Handle AUTO_TESTS_* lines.
27565         (parse_auto_input): New function.
27566         * math/libm-test.inc (XFAIL_TEST): New macro.
27567         (ERRNO_UNCHANGED): Update value.
27568         (ERRNO_EDOM): Likewise.
27569         (ERRNO_ERANGE): Likewise.
27570         (IGNORE_RESULT): Likewise.
27571         (TEST_COND_flt_32): New macro.
27572         (TEST_COND_dbl_64): Likewise.
27573         (TEST_COND_ldbl_96_intel): Likewise.
27574         (TEST_COND_ldbl_96_m68k): Likewise.
27575         (TEST_COND_ldbl_128): Likewise.
27576         (TEST_COND_ldbl_128ibm): Likewise.
27577         (TEST_COND_long32): Likewise.
27578         (TEST_COND_long64): Likewise.
27579         (TEST_COND_before_rounding): Likewise.
27580         (TEST_COND_after_rounding): Likewise.
27581         (enable_test): Handle XFAIL_TEST flag.
27582         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
27583         with finite results.
27584         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
27585         auto-libm-test-out.
27587 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27588             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27590         [BZ #16214]
27591         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
27592         __tls_get_addr_internal instead of __tls_get_offset in order to
27593         avoid GOT pointer dependency.  Make rtld export
27594         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
27595         __tls_get_addr since we are a __tls_get_offset platform.
27596         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
27597         GOT pointer being set up before.
27598         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
27600 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
27602         * manual/math.texi (Errors in Math Functions): Document accuracy
27603         goals.
27605         [BZ #15004]
27606         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
27607         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
27608         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27609         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27610         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27611         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27612         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27613         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27614         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27615         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27616         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27617         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27618         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27619         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27620         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27621         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27623         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
27624         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
27625         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
27626         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
27627         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
27628         Likewise.
27629         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
27630         Likewise.
27631         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
27632         Likewise.
27633         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
27634         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
27635         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
27636         atomic-feupdateenv and flt-rounds.
27637         * sysdeps/powerpc/nofpu/Versions (libc): Add
27638         __atomic_feholdexcept, __atomic_feclearexcept,
27639         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
27640         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
27641         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
27642         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
27643         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
27644         here.
27645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
27646         Update.
27648         * manual/arith.texi (FP Exceptions): Document that exceptions may
27649         not be raised when matherr is used.
27650         (Math Error Reporting): Document overflow in directed rounding
27651         modes.  Document that errno may not be set when finite values are
27652         returned on overflow.  Document intent to set errno on underflow
27653         only for underflow to zero.
27655         [BZ #16271]
27656         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
27657         round-to-nearest then adjust result for other rounding modes.
27658         * include/fenv.h (fegetround): Use libm_hidden_proto.
27659         * math/fegetround.c (fegetround): Use libm_hidden_def.
27660         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
27661         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
27662         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27663         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
27664         Likewise.
27665         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
27666         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27667         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
27668         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
27670 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27672         [BZ #16077]
27673         * nss/Versions (libnss_files): Add
27674         _nss_files_gethostbyname3_r.
27675         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
27676         New function.
27677         (HOST_DB_LOOKUP): Remove macro.
27678         (_nss_files_gethostbyname_r): Implement function without the
27679         HOST_DB_LOOKUP macro.
27680         (_nss_files_gethostbyname2_r): Likewise.
27682 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
27684         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
27686 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
27688         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
27689         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
27690         warning.
27692 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27694         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
27695         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
27696         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
27697         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27698         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
27699         __fe_nomask_env_priv and attribute_hidden.
27700         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
27701         (libc_feupdateenv_test_ppc): Likewise.
27702         (libc_feresetround_ppc): Likewise.
27703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27704         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
27705         compat_symbol macro.
27706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27707         (__fe_nomask_env): Likewise.
27708         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
27710 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27712         * string/Makefile: Remove ifunc tests.
27713         * string/test-string.h: Define TEST_IFUNC.
27714         * string/test-bcopy-ifunc.c: Remove.
27715         * string/test-bzero-ifunc.c: Likewise.
27716         * string/test-memccpy-ifunc.c: Likewise.
27717         * string/test-memchr-ifunc.c: Likewise.
27718         * string/test-memcmp-ifunc.c: Likewise.
27719         * string/test-memcpy-ifunc.c: Likewise.
27720         * string/test-memmem-ifunc.c: Likewise.
27721         * string/test-memmove-ifunc.c: Likewise.
27722         * string/test-mempcpy-ifunc.c: Likewise.
27723         * string/test-memrchr-ifunc.c: Likewise.
27724         * string/test-memset-ifunc.c: Likewise.
27725         * string/test-rawmemchr-ifunc.c: Likewise.
27726         * string/test-stpcpy-ifunc.c: Likewise.
27727         * string/test-stpncpy-ifunc.c: Likewise.
27728         * string/test-strcasecmp-ifunc.c: Likewise.
27729         * string/test-strcasestr-ifunc.c: Likewise.
27730         * string/test-strcat-ifunc.c: Likewise.
27731         * string/test-strchr-ifunc.c: Likewise.
27732         * string/test-strchrnul-ifunc.c: Likewise.
27733         * string/test-strcmp-ifunc.c: Likewise.
27734         * string/test-strcpy-ifunc.c: Likewise.
27735         * string/test-strcspn-ifunc.c: Likewise.
27736         * string/test-strlen-ifunc.c: Likewise.
27737         * string/test-strncasecmp-ifunc.c: Likewise.
27738         * string/test-strncat-ifunc.c: Likewise.
27739         * string/test-strncmp-ifunc.c: Likewise.
27740         * string/test-strncpy-ifunc.c: Likewise.
27741         * string/test-strnlen-ifunc.c: Likewise.
27742         * string/test-strpbrk-ifunc.c: Likewise.
27743         * string/test-strrchr-ifunc.c: Likewise.
27744         * string/test-strspn-ifunc.c: Likewise.
27745         * string/test-strstr-ifunc.c: Likewise.
27747 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27749         * benchtests/Makefile: Remove ifunc tests.
27750         * benchtests/bench-string.h: Define TEST_IFUNC.
27751         * benchtests/bench-bcopy-ifunc.c: Remove.
27752         * benchtests/bench-bzero-ifunc.c: Likewise.
27753         * benchtests/bench-memccpy-ifunc.c: Likewise.
27754         * benchtests/bench-memchr-ifunc.c: Likewise.
27755         * benchtests/bench-memcmp-ifunc.c: Likewise.
27756         * benchtests/bench-memcpy-ifunc.c: Likewise.
27757         * benchtests/bench-memmem-ifunc.c: Likewise.
27758         * benchtests/bench-memmove-ifunc.c: Likewise.
27759         * benchtests/bench-mempcpy-ifunc.c: Likewise.
27760         * benchtests/bench-memrchr-ifunc.c: Likewise.
27761         * benchtests/bench-memset-ifunc.c: Likewise.
27762         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
27763         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
27764         * benchtests/bench-stpcpy-ifunc.c: Likewise.
27765         * benchtests/bench-stpncpy-ifunc.c: Likewise.
27766         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
27767         * benchtests/bench-strcasestr-ifunc.c: Likewise.
27768         * benchtests/bench-strcat-ifunc.c: Likewise.
27769         * benchtests/bench-strchr-ifunc.c: Likewise.
27770         * benchtests/bench-strchrnul-ifunc.c: Likewise.
27771         * benchtests/bench-strcmp-ifunc.c: Likewise.
27772         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
27773         * benchtests/bench-strcpy-ifunc.c: Likewise.
27774         * benchtests/bench-strcspn-ifunc.c: Likewise.
27775         * benchtests/bench-strlen-ifunc.c: Likewise.
27776         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
27777         * benchtests/bench-strncat-ifunc.c: Likewise.
27778         * benchtests/bench-strncmp-ifunc.c: Likewise.
27779         * benchtests/bench-strncpy-ifunc.c: Likewise.
27780         * benchtests/bench-strnlen-ifunc.c: Likewise.
27781         * benchtests/bench-strpbrk-ifunc.c: Likewise.
27782         * benchtests/bench-strrchr-ifunc.c: Likewise.
27783         * benchtests/bench-strsep-ifunc.c: Likewise.
27784         * benchtests/bench-strspn-ifunc.c: Likewise.
27785         * benchtests/bench-strstr-ifunc.c: Likewise.
27787 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27789         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
27791 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27793         * resolv/netdb.h: Use __glibc_reserved instead __unused.
27794         * rt/aio.h: Likewise.
27795         * sysdeps/gnu/bits/utmp.h: Likewise.
27796         * sysdeps/gnu/bits/utmpx.h: Likewise.
27797         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27798         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
27799         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
27800         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
27801         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
27802         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
27803         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
27804         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
27805         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
27806         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
27807         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
27808         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
27809         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
27810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
27811         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27812         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
27813         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
27814         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
27815         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
27816         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
27817         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
27818         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
27819         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
27820         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27821         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
27822         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27823         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
27824         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
27825         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
27826         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
27827         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
27828         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
27829         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
27830         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
27831         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
27832         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
27833         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
27834         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
27835         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
27836         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
27837         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
27838         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
27840 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
27842         [BZ #16245]
27843         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
27844         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
27846 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
27848         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
27849         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
27850         Likewise.
27852 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27854         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
27855         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
27856         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
27857         (__fesetround): Remove define.
27858         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
27859         rounding and exceptions handling.
27860         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
27861         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
27862         (__fe_nomask_env): Likewise.
27863         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
27864         __fegetround instead of fegetround.
27865         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27866         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
27868 2013-11-21  Roland McGrath  <roland@hack.frob.com>
27870         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
27871         it's there.
27873         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
27875 2013-11-21  Meador Inge  <meadori@codesourcery.com>
27877         [BZ #11157]
27878         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
27879         (encrypt_r): Likewise.
27880         * malloc/obstack.h (obstack_free): Likewise.
27881         * posix/unistd.h (encrypt): Likewise.
27883 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
27885         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
27886         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
27887         DL_CALL_DT_FINI() that call the functions directly.
27888         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
27889         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
27890         * elf/dl-fini.c: Likewise.
27892 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
27894         * malloc/hooks.c (memalign_check): Add alignment rounding.
27895         * malloc/malloc.c (_mid_memalign): New function.
27896         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
27897         Implement by calling _mid_memalign.
27898         * manual/probes.texi (Memory Allocation Probes): Remove
27899         memory_valloc_retry and memory_pvalloc_retry.
27901 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27903         * locale/programs/locarchive.c (open_archive): Add const
27904         qualifier to ARCHIVEFNAME and copy default fname to
27905         DEFAULT_FNAME.
27907         [BZ #15601]
27908         * libio/tst-widetext.input: Rename Oriya to Odia.
27909         * locale/iso-639.def: Likewise.
27911         * manual/probes.texi (Mathematical Function Probes): Add
27912         documentation for sin, cos, asin and acos probes.
27913         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
27914         (__sin32): Add slowasin probe.
27915         (__cos32): Add slowacos probe.
27916         (__mpsin): Add slowsin probe.
27917         (__mpcos): Add slowcos probe.
27919 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
27921         [BZ #15483]
27922         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
27923         thread-local __sim_exceptions_thread and global
27924         __sim_exceptions_global.
27925         (__sim_disabled_exceptions): Change to thread-local
27926         __sim_disabled_exceptions_thread and global
27927         __sim_disabled_exceptions_global.
27928         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27929         and global __sim_round_mode_global.
27930         (__simulate_exceptions): Use thread-local floating-point state and
27931         set global state from it as needed.
27932         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
27933         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
27934         __sim_round_mode_thread.
27935         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
27936         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
27937         and global __sim_exceptions_global.
27938         (__sim_disabled_exceptions): Change to thread-local
27939         __sim_disabled_exceptions_thread and global
27940         __sim_disabled_exceptions_global.
27941         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27942         and global __sim_round_mode_global.
27943         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
27944         (SIM_SET_GLOBAL): Likewise.
27945         * sysdeps/powerpc/soft-fp/sfp-machine.h
27946         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
27947         __sim_round_mode_thread.
27948         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
27949         __sim_disabled_exceptions_thread.
27950         (__sim_exceptions): Change to __sim_exceptions_thread.
27951         (__sim_disabled_exceptions): Change to
27952         __sim_disabled_exceptions_thread.
27953         (__sim_round_mode): Change to __sim_round_mode_thread.
27954         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
27955         thread-local floating-point state and set global state from it as
27956         needed.
27957         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
27958         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
27959         (__sim_disabled_exceptions): Remove extern declaration.
27960         (feenableexcept): Use thread-local floating-point state and set
27961         global state from it as needed.
27962         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
27963         extern declaration.
27964         (__sim_disabled_exceptions): Likewise.
27965         (__sim_round_mode): Likewise.
27966         (__fegetenv): Use thread-local floating-point state.
27967         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
27968         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27969         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
27970         floating-point state and set global state from it as needed.
27971         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
27972         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27973         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
27974         Likewise.
27975         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
27976         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
27977         Likewise.
27978         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
27979         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
27980         Use __sim_round_mode_thread.
27981         * math/test-fenv-tls.c: New file.
27982         * math/Makefile (tests): Add test-fenv-tls.
27983         ($(objpfx)test-fenv-tls): Depend on
27984         $(common-objpfx)nptl/libpthread.so.
27986 2013-11-19  Andreas Schwab  <schwab@suse.de>
27988         * locale/programs/locale.c (show_info): Decode wordarray elements.
27989         * locale/categories.def (LC_MONETARY): Add element for
27990         _NL_MONETARY_CRNCYSTR.
27991         * locale/C-monetary.c (conversion_rate): New variable.
27992         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
27993         element.
27995 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
27997         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
27998         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
28000 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
28002         * elf/Makefile (tst-auxv): New test.
28003         * elf/tst-auxv.c: New
28004         * elf/rtld.c (dl_main): Adjust AT_EXECFN
28006 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
28008         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
28009         (hidden_proto): Caller changed.
28010         (hidden_tls_proto): New macro.
28011         (libc_hidden_tls_proto): Likewise.
28012         (rtld_hidden_tls_proto): Likewise.
28013         (libm_hidden_tls_proto): Likewise.
28014         (libresolv_hidden_tls_proto): Likewise.
28015         (librt_hidden_tls_proto): Likewise.
28016         (libdl_hidden_tls_proto): Likewise.
28017         (libnss_files_hidden_tls_proto): Likewise.
28018         (libnsl_hidden_tls_proto): Likewise.
28019         (libnss_nisplus_hidden_tls_proto): Likewise.
28020         (libutil_hidden_tls_proto): Likewise.
28022 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
28024         [BZ #10253]
28025         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
28026         (decompose_rpath): Defer expansion to fillin_rpath.
28027         (_dl_init_paths): Pass linkmap to fillin_rpath.
28029 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28031         * benchtests/Makefile: Add strsep.
28032         * benchtests/bench-strsep.c: New file: strsep benchtest.
28033         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
28035 2013-11-18  Andreas Schwab  <schwab@suse.de>
28037         * locale/programs/locale.c (show_info) [case byte]: Check for
28038         '\377' instead of '\177'.
28039         * locale/C-monetary.c (not_available): Always use "\377".
28040         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
28041         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
28042         detect unavailable sign_posn locale elements.
28043         * locale/localeconv.c (__localeconv): For grouping and
28044         mon_grouping handle "\177" and "\377" like no grouping.
28045         (INT_ELEM): New macro.  Use it to set all numeric members.
28046         * locale/programs/ld-monetary.c (monetary_read)
28047         <tok_mon_grouping>: Normalize single -1 to the empty string.
28048         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
28049         Likewise.
28051 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
28053         [BZ #16055]
28054         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
28055         when we match (nil).
28056         * stdio-common/tst-sscanf.c (struct test): Add testcase.
28058 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
28060         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
28061         (NO_TEST_INLINE): Update value.
28062         (ERRNO_UNCHANGED): Likewise.
28063         (ERRNO_EDOM): Likewise.
28064         (ERRNO_ERANGE): Likewise.
28065         (IGNORE_RESULT): Likewise.
28066         (check_float_internal): Check signs of NaN results if
28067         TEST_NAN_SIGN used.
28068         (check_complex): Pass TEST_NAN_SIGN flag through to second
28069         check_float_internal call.
28070         (copysign_test_data): Add tests with quiet NaNs as second
28071         argument.  Use TEST_NAN_SIGN.
28072         (fabs_test_data): Add test of negative quiet NaN argument.  Use
28073         TEST_NAN_SIGN.
28074         (signbit_test_data): Add tests of quiet NaN argument.
28075         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
28077         * math/gen-libm-test.pl (show_exceptions): Take extra argument
28078         $ignore_result.
28079         (parse_args): Handle function results specified as IGNORE.
28080         * math/libm-test.inc (IGNORE_RESULT): New macro.
28081         (check_float_internal): Do not check numerical result if flag
28082         IGNORE_RESULT set.
28083         (check_complex): Pass through IGNORE_RESULT to second
28084         check_float_internal call.
28085         (check_int): Do not check numerical result if flag IGNORE_RESULT
28086         set.
28087         (check_long): Likewise.
28088         (check_bool): Likewise.
28089         (check_longlong): Likewise.
28090         (lrint_test_data): Add tests of infinite and NaN arguments.
28091         (lrint_tonearest_test_data): Likewise.
28092         (lrint_towardzero_test_data): Likewise.
28093         (lrint_downward_test_data): Likewise.
28094         (lrint_upward_test_data): Likewise.
28095         (llrint_test_data): Likewise.
28096         (llrint_tonearest_test_data): Likewise.
28097         (llrint_towardzero_test_data): Likewise.
28098         (llrint_downward_test_data): Likewise.
28099         (llrint_upward_test_data): Likewise.
28100         (lround_test_data): Likewise.
28101         (llround_test_data): Likewise.
28103         * math/libm-test.inc (NO_TEST_INLINE): New macro.
28104         (ERRNO_UNCHANGED): Update value.
28105         (ERRNO_EDOM): Likewise.
28106         (ERRNO_ERANGE): Likewise.
28107         (NO_TEST_INLINE_FLOAT): New macro.
28108         (NO_TEST_INLINE_DOUBLE): Likewise.
28109         (enable_test): New function.
28110         (RUN_TEST_f_f): Check enable_test before running test.
28111         (RUN_TEST_2_f): Likewise.
28112         (RUN_TEST_fff_f): Likewise.
28113         (RUN_TEST_c_f): Likewise.
28114         (RUN_TEST_f_f1): Likewise.
28115         (RUN_TEST_fF_f1): Likewise.
28116         (RUN_TEST_fI_f1): Likewise.
28117         (RUN_TEST_ffI_f1): Likewise.
28118         (RUN_TEST_c_c): Likewise.
28119         (RUN_TEST_cc_c): Likewise.
28120         (RUN_TEST_f_i): Likewise.
28121         (RUN_TEST_f_i_tg): Likewise.
28122         (RUN_TEST_ff_i_tg): Likewise.
28123         (RUN_TEST_f_b): Likewise.
28124         (RUN_TEST_f_b_tg): Likewise.
28125         (RUN_TEST_f_l): Likewise.
28126         (RUN_TEST_f_L): Likewise.
28127         (RUN_TEST_fFF_11): Likewise.
28128         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
28129         conditionals.
28130         (cosh_test_data): Likewise.
28131         (exp_test_data): Likewise.
28132         (expm1_test_data): Likewise.
28133         (hypot_test_data): Likewise.
28134         (pow_test_data): Likewise.
28135         (sinh_test_data): Likewise.
28136         (tanh_test_data): Likewise.
28137         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
28138         flags argument.
28140         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
28141         tests with quiet NaN input and output.
28142         (acosh_test_data): Likewise.
28143         (asin_test_data): Likewise.
28144         (asinh_test_data): Likewise.
28145         (atan_test_data): Likewise.
28146         (atanh_test_data): Likewise.
28147         (atan2_test_data): Likewise.
28148         (cbrt_test_data): Likewise.
28149         (cos_test_data): Likewise.
28150         (cosh_test_data): Likewise.
28151         (erf_test_data): Likewise.
28152         (erfc_test_data): Likewise.
28153         (exp_test_data): Likewise.
28154         (exp10_test_data): Likewise.
28155         (exp2_test_data): Likewise.
28156         (expm1_test_data): Likewise.
28157         (hypot_test_data): Likewise.
28158         (j0_test_data): Likewise.
28159         (j1_test_data): Likewise.
28160         (jn_test_data): Likewise.
28161         (lgamma_test_data): Likewise.
28162         (log_test_data): Likewise.
28163         (log10_test_data): Likewise.
28164         (log1p_test_data): Likewise.
28165         (log2_test_data): Likewise.
28166         (pow_test_data): Likewise.
28167         (scalb_test_data): Likewise.
28168         (sin_test_data): Likewise.
28169         (sincos_test_data): Likewise.
28170         (sinh_test_data): Likewise.
28171         (tan_test_data): Likewise.
28172         (tanh_test_data): Likewise.
28173         (tgamma_test_data): Likewise.
28174         (y0_test_data): Likewise.
28175         (y1_test_data): Likewise.
28176         (yn_test_data): Likewise.
28178         [BZ #16167]
28179         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
28180         argument being NaN and avoid computations with second argument in
28181         that case.
28182         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28183         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
28184         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28186 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
28188         * locale/iso-639.def: Add Chitwani Tharu (the).
28190 2013-11-14  Andreas Schwab  <schwab@suse.de>
28192         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
28193         word instead of empty string.
28195 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28198         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
28199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28200         (__fe_nomask_env): Likewise.
28202 2013-11-13  Steve Ellcey  <sellcey@mips.com>
28204         * benchtests/bench-timing.h: Include time.h.
28206 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
28208         [BZ #15997]
28209         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
28210         to 3.4.0 for x32.
28211         * sysdeps/unix/sysv/linux/configure: Regenerated.
28213 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
28215         [BZ #16151]
28216         * stdlib/strtod_l.c (round_and_return): Do not consider
28217         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
28218         exponent one less than half the least subnormal exponent.
28219         * stdlib/test-strtod-round-data: Add more tests.
28220         * stdlib/tst-strtod-round.c (tests): Regenerated.
28222 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28224         [BZ #14143]
28225         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
28226         (__fe_mask_env): Likewise.
28227         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
28228         libm_hidden_proto and add function prototype.
28229         (__fe_mask_env): Add function prototype.
28230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28231         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
28232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28233         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
28234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28235         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
28237 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28239         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
28240         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
28242 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28244         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
28245         of htab_find_slot().
28247 2013-11-11  David S. Miller  <davem@davemloft.net>
28249         [BZ #16150]
28250         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
28251         symbol in the non-vis3 case in static builds.
28252         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
28253         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
28254         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
28255         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
28257 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
28259         [BZ #387]
28260         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
28261         it is empty.
28263 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28265         * benchtests/Makefile: Add bench-strtod.
28266         * benchtests/bench-strtod.c: New file: strtod benchtest
28268 2013-11-11  Andreas Schwab  <schwab@suse.de>
28270         [BZ #16153]
28271         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
28272         terminating NUL in key length.
28274 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28276         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28277         Add artificial ODP entry for vDSO symbol for PPC64.
28278         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
28279         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
28281 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
28283         [BZ #15374]
28284         * nss/getent.c (services_keys): Recognize services starting with digit.
28286 2013-11-06  David S. Miller  <davem@davemloft.net>
28288         [BZ #15985]
28289         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
28290         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
28292 2013-11-06  Will Newton  <will.newton@linaro.org>
28294         * manual/memory.texi (Malloc Examples): Remove register
28295         keyword from examples.
28297 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
28299         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
28301 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
28303         [BZ #6981]
28304         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
28305         depending on [__GCC_IEC_559 > 0].
28306         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
28307         depending on [__GCC_IEC_559_COMPLEX > 0].
28309 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
28311         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
28312         to iso-639.def.
28314 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
28316         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
28318 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
28320         [BZ #16112]
28321         * malloc/malloc (malloc_info): Do not handle first bin as
28322         special case.
28324 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
28326         * locale/iso-639.def: Add Central Nahuatl (nhn).
28328 2013-11-01  Bruno Haible  <bruno@clisp.org>
28330         [BZ #7003]
28331         * manual/math.texi (BSD Random): Specify range upper bound as
28332         in POSIX.
28334 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
28336         * locale/iso-639.def: Add Meadow Mari (mhr).
28338 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
28340         [BZ #14752], [BZ #15763]
28341         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
28342         Validate name.
28343         * rt/tst_shm.c: Add test for escaping directory.
28345 2013-10-31  Andreas Schwab  <schwab@suse.de>
28347         [BZ #15917]
28348         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
28349         followed by 'x' as part of digit sequence.
28350         * stdio-common/tst-sscanf.c (double_tests2): New tests.
28352 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
28354         [BZ #16037]
28355         * configure.ac: allow GNU Make 4.0 and greater.
28356         * configure: Regenerated.
28358 2013-10-30  Will Newton  <will.newton@linaro.org>
28360         [BZ #16038]
28361         * malloc/hooks.c (memalign_check): Limit alignment to the
28362         maximum representable power of two.
28363         * malloc/malloc.c (__libc_memalign): Likewise.
28364         * malloc/tst-memalign.c (do_test): Add test for very
28365         large alignment values.
28366         * malloc/tst-posix_memalign.c (do_test): Likewise.
28368 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
28370         [BZ #11087]
28371         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
28372         (munmap_chunk): Likewise.
28373         (mremap_chunk): Likewise.
28375 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
28377         [BZ #15799]
28378         * stdlib/div.c (div): Remove obsolete code.
28379         * stdlib/ldiv.c (ldiv): Likewise.
28380         * stdlib/lldiv.c (lldiv): Likewise.
28382 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28384         [BZ #16071]
28385         * nss/nss_files/files-XXX.c (get_contents_ret): New
28386         enumerator.
28387         (get_contents): New function.
28388         (internal_getent): Use it.  Expand size of LINEBUFLEN.
28390 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
28392         * configure.in: Moved to ...
28393         * configure.ac: ... here. Change reference to configure.in
28394         to configure.ac.
28395         * sysdeps/arm/preconfigure.ac: ... here.
28396         configure.in to configure.ac.
28397         * sysdeps/gnu/configure.in: Moved to ...
28398         * sysdeps/gnu/configure.ac: ... here.
28399         * sysdeps/i386/configure.in: Moved to ...
28400         * sysdeps/i386/configure.ac: ... here.
28401         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
28402         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
28403         * sysdeps/mach/configure.in: Moved to ...
28404         * sysdeps/mach/configure.ac: ... here.
28405         * sysdeps/mach/hurd/configure.in: Moved to ...
28406         * sysdeps/mach/hurd/configure.ac: ... here.
28407         * sysdeps/powerpc/configure.in: Moved to ...
28408         * sysdeps/powerpc/configure.ac: ... here.
28409         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
28410         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
28411         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
28412         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
28413         * sysdeps/s390/s390-32/configure.in: Moved to ...
28414         * sysdeps/s390/s390-32/configure.ac: ... here.
28415         * sysdeps/s390/s390-64/configure.in: Moved to ...
28416         * sysdeps/s390/s390-64/configure.ac: ... here.
28417         * sysdeps/sh/configure.in: Moved to ...
28418         * sysdeps/sh/configure.ac: ... here.
28419         * sysdeps/sparc/configure.in: Moved to ...
28420         * sysdeps/sparc/configure.ac: ... here.
28421         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
28422         * sysdeps/unix/sysv/linux/configure.ac: ... here.
28423         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
28424         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
28425         * sysdeps/x86_64/configure.in: Moved to ...
28426         * sysdeps/x86_64/configure.ac: ... here.
28427         * sysdeps/x86_64/preconfigure.in: Moved to ...
28428         * sysdeps/x86_64/preconfigure.ac: ... here.
28429         * aclocal.m4: Change reference to configure.in to configure.ac.
28430         * config.h.in: Likewise.
28431         * manual/install.texi: Likewise.
28432         * manual/maint.texi: Likewise.
28433         * Makefile: Likewise.
28434         * malloc/Makefile: Likewise.
28435         * nscd/Makefile: Likewise.
28436         * Makeconfig: Change reference to configure.in and
28437         preconfigure.in to configure.ac and preconfigure.ac
28438         respectively.
28439         * INSTALL: Regenerated.
28440         * configure: Likewise.
28441         * sysdeps/gnu/configure: Likewise.
28442         * sysdeps/i386/configure: Likewise.
28443         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
28444         * sysdeps/mach/configure: Likewise.
28445         * sysdeps/mach/hurd/configure: Likewise.
28446         * sysdeps/powerpc/configure: Likewise.
28447         * sysdeps/powerpc/powerpc32/configure: Likewise.
28448         * sysdeps/powerpc/powerpc64/configure: Likewise.
28449         * sysdeps/s390/s390-32/configure: Likewise.
28450         * sysdeps/s390/s390-64/configure: Likewise.
28451         * sysdeps/sh/configure: Likewise.
28452         * sysdeps/sparc/configure: Likewise.
28453         * sysdeps/unix/sysv/linux/configure: Likewise.
28454         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
28455         * sysdeps/x86_64/configure: Likewise.
28456         * sysdeps/x86_64/preconfigure: Likewise.
28458 2013-10-29  Andreas Schwab  <schwab@suse.de>
28460         * stdio-common/Makefile (tst-swscanf-ENV): Define.
28462 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28464         * benchtests/pow-inputs: Add new inputs.
28466         * benchtests/exp-inputs: Add new inputs.
28468         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
28469         conditional check for return value.
28470         (__cos32): Likewise.
28472 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28474         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
28475         to provide a boost for large inputs with word alignment.
28476         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
28477         implementation based on optimized PPC64 strcpy.
28478         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
28479         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
28480         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
28481         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
28483 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28485         [BZ #2801]
28486         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
28488 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28490         [BZ #14876]
28491         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
28492         * time/tst-strptime.c (day_tests): Add testcase.
28494 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28496         [BZ #14029]
28497         * manual/pattern.texi: Acknowledge that fnmatch can fail.
28499 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
28501         [BZ #16074]
28502         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
28503         MAP_FAILED on error.
28505 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28507         [BZ #16072]
28508         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
28509         heap for large requests.
28511 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
28513         [BZ #9954]
28514         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
28515         result if the result has no associated interface.
28516         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
28517         interface for all 127.X.Y.Z addresses.
28519 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
28521         * locale/iso-639.def: Add Ligurian (lij)
28523 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
28525         [BZ #15825]
28526         * sunrpc/rpc_main.c: Document rpcgen -5.
28528 2013-10-19  Michael Stahl  <mstahl@redhat.com>
28530         * elf/rtld.c (do_preload): Print the reason why preloading failed.
28532 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
28534         [BZ #10278]
28535         * posix/glob.c: Match only directories when trailing slash is present.
28536         * posix/tst-gnuglob.c (my_opendir): Do not open files.
28537         (main): Add testcase.
28539 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
28541         [BZ #15670]
28542         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
28544 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
28546         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
28547         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
28548         AUTH_DES and cindex for FIPS 140-2.
28549         (DES Encryption): Add cindex FIPS 46-3.
28551         * locale/locarchive.h (struct locarhandle): Add fname.
28552         * locale/programs/localedef.c (main): Pass ARGV[remaining]
28553         if an optional argument was specified to --list-archive,
28554         otherwise NULL.
28555         * locale/programs/locarchive.c (show_archive_content): Take new
28556         argument fname and pass it via ah.fname to open_archive.
28557         * locale/programs/localedef.h: Update decl.
28558         (open_archive): If AH->fname is non-null, open that file
28559         rather than the default file name, and don't ignore ENOENT.
28560         (create_archive): Set AH.fname to NULL.
28561         (delete_locales_from_archive): Likewise.
28562         (add_locales_to_archive): Likewise.
28563         * locale/programs/locfile.c (write_all_categories): Likewise.
28565 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
28566             Aldy Hernandez  <aldyh@redhat.com>
28568         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
28569         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
28570         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
28571         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
28572         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
28573         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
28574         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
28575         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
28576         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
28577         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
28578         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
28579         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
28580         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
28581         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
28582         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
28583         Likewise.
28584         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
28585         Likewise.
28586         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
28587         Likewise.
28588         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
28589         Likewise.
28590         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
28591         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
28592         Likewise.
28593         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
28594         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
28595         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
28596         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
28597         Likewise.
28598         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
28599         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
28600         * sysdeps/powerpc/preconfigure: Likewise.
28601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
28602         Likewise.
28603         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
28604         Replace contents of file by #include of <fenv_libc.h>.
28605         * sysdeps/powerpc/soft-fp/sfp-machine.h
28606         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
28607         and <sys/prctl.h>.
28608         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
28609         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
28610         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
28611         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
28612         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
28613         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
28614         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
28615         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
28616         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
28617         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
28618         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
28619         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
28620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28621         Allow copysignl PLT reference to be missing.
28623 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
28624             Joseph Myers  <joseph@codesourcery.com
28626         [BZ #15948]
28627         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
28628         single character.
28629         (add_to_tablewc): Assert sequence of wide characters is nonempty.
28631 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28633         * elf/tst-tls-dlinfo.c: Don't include tls.h.
28634         * elf/tst-tls1.c: Likewise.
28635         * elf/tst-tls10.h: Likewise.
28636         * elf/tst-tls14.c: Likewise.
28637         * elf/tst-tls2.c: Likewise.
28638         * elf/tst-tls3.c: Likewise.
28639         * elf/tst-tls4.c: Likewise.
28640         * elf/tst-tls5.c: Likewise.
28641         * elf/tst-tls6.c: Likewise.
28642         * elf/tst-tls7.c: Likewise.
28643         * elf/tst-tls8.c: Likewise.
28644         * elf/tst-tls9.c: Likewise.
28645         * elf/tst-tlsmod1.c: Likewise.
28646         * elf/tst-tlsmod13.c: Likewise.
28647         * elf/tst-tlsmod13a.c: Likewise.
28648         * elf/tst-tlsmod14a.c: Likewise.
28649         * elf/tst-tlsmod16a.c: Likewise.
28650         * elf/tst-tlsmod16b.c: Likewise.
28651         * elf/tst-tlsmod2.c: Likewise.
28652         * elf/tst-tlsmod3.c: Likewise.
28653         * elf/tst-tlsmod4.c: Likewise.
28654         * elf/tst-tlsmod5.c: Likewise.
28655         * elf/tst-tlsmod6.c: Likewise.
28657 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
28659         [BZ #12486]
28660         * malloc/malloc.c: remove checks for statistics.
28662 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
28664         [BZ #15277]
28665         * inet/inet_net.c (inet_network): Detect additional invalid strings.
28666         * inet/tst-network.c: Add testcase.
28668 2013-10-17  Andreas Schwab  <schwab@suse.de>
28670         [BZ #15218]
28671         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
28672         to determine canonical name.
28674 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
28676         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
28677         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
28678         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28679         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28680         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28681         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28682         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28683         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28684         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28685         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28686         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28687         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28688         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28689         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28690         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28691         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28692         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28693         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28694         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28695         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28696         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28697         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28698         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28699         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
28700         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
28701         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28702         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28703         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
28704         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28705         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
28706         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28707         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28708         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28709         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28710         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28711         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28712         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28713         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28714         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28715         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28716         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28717         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28718         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28719         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28720         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28721         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28722         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28723         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28724         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28725         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28726         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28727         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28728         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28729         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28730         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28731         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28732         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28733         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28735 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
28737         [BZ #16041]
28738         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
28739         make result into a quiet NaN.
28741 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
28743         * soft-fp/adddf3.c: Fix horizontal whitespace.
28744         * soft-fp/addsf3.c: Likewise.
28745         * soft-fp/addtf3.c: Likewise.
28746         * soft-fp/divdf3.c: Likewise.
28747         * soft-fp/divsf3.c: Likewise.
28748         * soft-fp/divtf3.c: Likewise.
28749         * soft-fp/double.h: Likewise.
28750         * soft-fp/eqdf2.c: Likewise.
28751         * soft-fp/eqsf2.c: Likewise.
28752         * soft-fp/eqtf2.c: Likewise.
28753         * soft-fp/extenddftf2.c: Likewise.
28754         * soft-fp/extended.h: Likewise.
28755         * soft-fp/extendsfdf2.c: Likewise.
28756         * soft-fp/extendsftf2.c: Likewise.
28757         * soft-fp/extendxftf2.c: Likewise.
28758         * soft-fp/fixdfdi.c: Likewise.
28759         * soft-fp/fixdfsi.c: Likewise.
28760         * soft-fp/fixdfti.c: Likewise.
28761         * soft-fp/fixsfdi.c: Likewise.
28762         * soft-fp/fixsfsi.c: Likewise.
28763         * soft-fp/fixsfti.c: Likewise.
28764         * soft-fp/fixtfdi.c: Likewise.
28765         * soft-fp/fixtfsi.c: Likewise.
28766         * soft-fp/fixtfti.c: Likewise.
28767         * soft-fp/fixunsdfdi.c: Likewise.
28768         * soft-fp/fixunsdfsi.c: Likewise.
28769         * soft-fp/fixunsdfti.c: Likewise.
28770         * soft-fp/fixunssfdi.c: Likewise.
28771         * soft-fp/fixunssfsi.c: Likewise.
28772         * soft-fp/fixunssfti.c: Likewise.
28773         * soft-fp/fixunstfdi.c: Likewise.
28774         * soft-fp/fixunstfsi.c: Likewise.
28775         * soft-fp/fixunstfti.c: Likewise.
28776         * soft-fp/floatdidf.c: Likewise.
28777         * soft-fp/floatdisf.c: Likewise.
28778         * soft-fp/floatditf.c: Likewise.
28779         * soft-fp/floatsidf.c: Likewise.
28780         * soft-fp/floatsisf.c: Likewise.
28781         * soft-fp/floatsitf.c: Likewise.
28782         * soft-fp/floattidf.c: Likewise.
28783         * soft-fp/floattisf.c: Likewise.
28784         * soft-fp/floattitf.c: Likewise.
28785         * soft-fp/floatundidf.c: Likewise.
28786         * soft-fp/floatundisf.c: Likewise.
28787         * soft-fp/floatunditf.c: Likewise.
28788         * soft-fp/floatunsidf.c: Likewise.
28789         * soft-fp/floatunsisf.c: Likewise.
28790         * soft-fp/floatunsitf.c: Likewise.
28791         * soft-fp/floatuntidf.c: Likewise.
28792         * soft-fp/floatuntisf.c: Likewise.
28793         * soft-fp/floatuntitf.c: Likewise.
28794         * soft-fp/fmadf4.c: Likewise.
28795         * soft-fp/fmasf4.c: Likewise.
28796         * soft-fp/fmatf4.c: Likewise.
28797         * soft-fp/gedf2.c: Likewise.
28798         * soft-fp/gesf2.c: Likewise.
28799         * soft-fp/getf2.c: Likewise.
28800         * soft-fp/ledf2.c: Likewise.
28801         * soft-fp/lesf2.c: Likewise.
28802         * soft-fp/letf2.c: Likewise.
28803         * soft-fp/muldf3.c: Likewise.
28804         * soft-fp/mulsf3.c: Likewise.
28805         * soft-fp/multf3.c: Likewise.
28806         * soft-fp/negdf2.c: Likewise.
28807         * soft-fp/negsf2.c: Likewise.
28808         * soft-fp/negtf2.c: Likewise.
28809         * soft-fp/op-1.h: Likewise.
28810         * soft-fp/op-2.h: Likewise.
28811         * soft-fp/op-4.h: Likewise.
28812         * soft-fp/op-8.h: Likewise.
28813         * soft-fp/op-common.h: Likewise.
28814         * soft-fp/quad.h: Likewise.
28815         * soft-fp/single.h: Likewise.
28816         * soft-fp/soft-fp.h: Likewise.
28817         * soft-fp/sqrtdf2.c: Likewise.
28818         * soft-fp/sqrtsf2.c: Likewise.
28819         * soft-fp/sqrttf2.c: Likewise.
28820         * soft-fp/subdf3.c: Likewise.
28821         * soft-fp/subsf3.c: Likewise.
28822         * soft-fp/subtf3.c: Likewise.
28823         * soft-fp/truncdfsf2.c: Likewise.
28824         * soft-fp/trunctfdf2.c: Likewise.
28825         * soft-fp/trunctfsf2.c: Likewise.
28826         * soft-fp/trunctfxf2.c: Likewise.
28827         * soft-fp/unorddf2.c: Likewise.
28828         * soft-fp/unordsf2.c: Likewise.
28829         * soft-fp/unordtf2.c: Likewise.
28831 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
28833         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
28834         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
28836 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
28838         * elf/dl-libc.c: Clear initfini list after freeing.
28840 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
28842         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
28843         * soft-fp/addsf3.c: Likewise.
28844         * soft-fp/addtf3.c: Likewise.
28845         * soft-fp/divdf3.c: Likewise.
28846         * soft-fp/divsf3.c: Likewise.
28847         * soft-fp/divtf3.c: Likewise.
28848         * soft-fp/double.h: Likewise.
28849         * soft-fp/eqdf2.c: Likewise.
28850         * soft-fp/eqsf2.c: Likewise.
28851         * soft-fp/eqtf2.c: Likewise.
28852         * soft-fp/extenddftf2.c: Likewise.
28853         * soft-fp/extended.h: Likewise.
28854         * soft-fp/extendsfdf2.c: Likewise.
28855         * soft-fp/extendsftf2.c: Likewise.
28856         * soft-fp/extendxftf2.c: Likewise.
28857         * soft-fp/fixdfdi.c: Likewise.
28858         * soft-fp/fixdfsi.c: Likewise.
28859         * soft-fp/fixdfti.c: Likewise.
28860         * soft-fp/fixsfdi.c: Likewise.
28861         * soft-fp/fixsfsi.c: Likewise.
28862         * soft-fp/fixsfti.c: Likewise.
28863         * soft-fp/fixtfdi.c: Likewise.
28864         * soft-fp/fixtfsi.c: Likewise.
28865         * soft-fp/fixtfti.c: Likewise.
28866         * soft-fp/fixunsdfdi.c: Likewise.
28867         * soft-fp/fixunsdfsi.c: Likewise.
28868         * soft-fp/fixunsdfti.c: Likewise.
28869         * soft-fp/fixunssfdi.c: Likewise.
28870         * soft-fp/fixunssfsi.c: Likewise.
28871         * soft-fp/fixunssfti.c: Likewise.
28872         * soft-fp/fixunstfdi.c: Likewise.
28873         * soft-fp/fixunstfsi.c: Likewise.
28874         * soft-fp/fixunstfti.c: Likewise.
28875         * soft-fp/floatdidf.c: Likewise.
28876         * soft-fp/floatdisf.c: Likewise.
28877         * soft-fp/floatditf.c: Likewise.
28878         * soft-fp/floatsidf.c: Likewise.
28879         * soft-fp/floatsisf.c: Likewise.
28880         * soft-fp/floatsitf.c: Likewise.
28881         * soft-fp/floattidf.c: Likewise.
28882         * soft-fp/floattisf.c: Likewise.
28883         * soft-fp/floattitf.c: Likewise.
28884         * soft-fp/floatundidf.c: Likewise.
28885         * soft-fp/floatundisf.c: Likewise.
28886         * soft-fp/floatunsidf.c: Likewise.
28887         * soft-fp/floatunsisf.c: Likewise.
28888         * soft-fp/floatuntidf.c: Likewise.
28889         * soft-fp/floatuntisf.c: Likewise.
28890         * soft-fp/floatuntitf.c: Likewise.
28891         * soft-fp/fmadf4.c: Likewise.
28892         * soft-fp/fmasf4.c: Likewise.
28893         * soft-fp/fmatf4.c: Likewise.
28894         * soft-fp/gedf2.c: Likewise.
28895         * soft-fp/gesf2.c: Likewise.
28896         * soft-fp/getf2.c: Likewise.
28897         * soft-fp/ledf2.c: Likewise.
28898         * soft-fp/lesf2.c: Likewise.
28899         * soft-fp/letf2.c: Likewise.
28900         * soft-fp/muldf3.c: Likewise.
28901         * soft-fp/mulsf3.c: Likewise.
28902         * soft-fp/multf3.c: Likewise.
28903         * soft-fp/negdf2.c: Likewise.
28904         * soft-fp/negsf2.c: Likewise.
28905         * soft-fp/negtf2.c: Likewise.
28906         * soft-fp/op-1.h: Likewise.
28907         * soft-fp/op-2.h: Likewise.
28908         * soft-fp/op-4.h: Likewise.
28909         * soft-fp/op-8.h: Likewise.
28910         * soft-fp/op-common.h: Likewise.
28911         * soft-fp/quad.h: Likewise.
28912         * soft-fp/single.h: Likewise.
28913         * soft-fp/soft-fp.h: Likewise.
28914         * soft-fp/sqrtdf2.c: Likewise.
28915         * soft-fp/sqrtsf2.c: Likewise.
28916         * soft-fp/sqrttf2.c: Likewise.
28917         * soft-fp/subdf3.c: Likewise.
28918         * soft-fp/subsf3.c: Likewise.
28919         * soft-fp/subtf3.c: Likewise.
28920         * soft-fp/truncdfsf2.c: Likewise.
28921         * soft-fp/trunctfdf2.c: Likewise.
28922         * soft-fp/trunctfsf2.c: Likewise.
28923         * soft-fp/trunctfxf2.c: Likewise.
28924         * soft-fp/unorddf2.c: Likewise.
28925         * soft-fp/unordsf2.c: Likewise.
28926         * soft-fp/unordtf2.c: Likewise.
28928 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
28930         [BZ #15672]
28931         * misc/error.c (error_tail): Fix possible buffer overflow.
28933 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
28935         [BZ #13028]
28936         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
28937         address.
28939 2013-10-14  P. J. McDermott  <pj@pehjota.net>
28941         [BZ #832]
28942         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
28943         testing pipefail option.
28945 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
28947         * soft-fp/double.h: Indent preprocessor directives inside #if.
28948         * soft-fp/extended.h: Likewise.
28949         * soft-fp/op-2.h: Likewise.
28950         * soft-fp/op-4.h: Likewise.
28951         * soft-fp/op-common.h: Likewise.
28952         * soft-fp/quad.h: Likewise.
28953         * soft-fp/single.h: Likewise.
28954         * soft-fp/soft-fp.h: Likewise.
28956 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
28958         * iconv/iconv_prog.c: Fix typos.
28959         * stdio-common/psiginfo-data.h: Likewise.
28961 2013-10-12   Reuben Thomas <rrt@sc3d.org>
28963         [BZ #15764]
28964         * locale/setlocale.c: Fix typo.
28966 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
28968         [BZ #16036]
28969         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
28970         signaling NaN arguments.
28971         * soft-fp/unordsf2.c (__unordsf2): Likewise.
28972         * soft-fp/unordtf2.c (__unordtf2): Likewise.
28974         [BZ #14910]
28975         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
28976         unordered operands.
28977         * soft-fp/gesf2.c (__gesf2): Likewise.
28978         * soft-fp/getf2.c (__getf2): Likewise.
28979         * soft-fp/ledf2.c (__ledf2): Likewise.
28980         * soft-fp/lesf2.c (__lesf2): Likewise.
28981         * soft-fp/letf2.c (__letf2): Likewise.
28983         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
28984         * soft-fp/eqsf2.c (__eqsf2): Likewise.
28985         * soft-fp/eqtf2.c (__eqtf2): Likewise.
28986         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
28987         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
28988         * soft-fp/fixdfti.c (__fixdfti): Likewise.
28989         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
28990         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
28991         * soft-fp/fixsfti.c (__fixsfti): Likewise.
28992         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
28993         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
28994         * soft-fp/fixtfti.c (__fixtfti): Likewise.
28995         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
28996         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
28997         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
28998         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
28999         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
29000         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
29001         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
29002         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
29003         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
29004         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
29005         * soft-fp/floatdisf.c (__floatdisf): Likewise.
29006         * soft-fp/floatsisf.c (__floatsisf): Likewise.
29007         * soft-fp/floattidf.c (__floattidf): Likewise.
29008         * soft-fp/floattisf.c (__floattisf): Likewise.
29009         * soft-fp/floattitf.c (__floattitf): Likewise.
29010         * soft-fp/floatundidf.c (__floatundidf): Likewise.
29011         * soft-fp/floatundisf.c (__floatundisf): Likewise.
29012         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
29013         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
29014         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
29015         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
29016         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
29017         * soft-fp/gesf2.c (__gesf2): Likewise.
29018         * soft-fp/getf2.c (__getf2): Likewise.
29019         * soft-fp/ledf2.c (__ledf2): Likewise.
29020         * soft-fp/lesf2.c (__lesf2): Likewise.
29021         * soft-fp/letf2.c (__letf2): Likewise.
29023         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
29024         Undefine and redefine.
29025         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
29026         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
29027         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
29028         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
29029         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29030         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
29031         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29032         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
29033         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29034         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
29035         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29036         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
29037         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29038         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
29039         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29041         [BZ #16032]
29042         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
29043         without decrementing exponent if mantissa >= that for the
29044         denominator, not >.
29045         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
29046         denominator, not >.  Decrement exponent in < case instead of
29047         incrementing in >= case.
29048         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
29049         without decrementing exponent if mantissa >= that for the
29050         denominator, not >.
29052         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
29053         computing saturated result for unsigned overflow.
29055 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29056             Jeff Law  <law@redhat.com>
29058         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
29059         (atan2Mp): Add systemtap probe marker.
29060         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
29061         (__ieee754_log): Add systemtap probe marker.
29062         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
29063         (atanMp): Add systemtap probe marker.
29064         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
29065         (tanMp): Add systemtap probe marker.
29066         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
29067         (__slowexp): Add systemtap probe marker.
29068         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
29069         (__slowpow): Add systemtap probe marker.
29070         * manual/probes.texi: Document probes.
29072 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
29074         [BZ #15362]
29075         * libio/fileops.c (_IO_new_file_write): Return count of bytes
29076         written.
29077         (_IO_new_file_xsputn): Don't return EOF if nothing has been
29078         written.
29079         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
29080         written to buffer but not flushed.
29081         * libio/iofwrite_u.c:  Likewise.
29082         * libio/iopadn.c:  Return bytes returned even if EOF was
29083         encountered.
29084         * libio/iowpadn.c:  Likewise.
29085         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
29086         if _IO_padn does not write the whole buffer.
29087         [!COMPILE_WPRINTF] (PAD): Likewise.
29089 2013-10-10  David S. Miller  <davem@davemloft.net>
29091         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
29092         directory block.
29094 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
29096         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
29097         instead of FSF address.
29098         * soft-fp/fixdfti.c: Likewise.
29099         * soft-fp/fixsfti.c: Likewise.
29100         * soft-fp/fixtfti.c: Likewise.
29101         * soft-fp/fixunsdfti.c: Likewise.
29102         * soft-fp/fixunssfti.c: Likewise.
29103         * soft-fp/fixunstfti.c: Likewise.
29104         * soft-fp/floattidf.c: Likewise.
29105         * soft-fp/floattisf.c: Likewise.
29106         * soft-fp/floattitf.c: Likewise.
29107         * soft-fp/floatuntidf.c: Likewise.
29108         * soft-fp/floatuntisf.c: Likewise.
29109         * soft-fp/floatuntitf.c: Likewise.
29110         * soft-fp/trunctfxf2.c: Likewise.
29112         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
29113         * soft-fp/fixdfti.c: Likewise.
29114         * soft-fp/fixsfti.c: Likewise.
29115         * soft-fp/fixtfti.c: Likewise.
29116         * soft-fp/fixunsdfti.c: Likewise.
29117         * soft-fp/fixunssfti.c: Likewise.
29118         * soft-fp/fixunstfti.c: Likewise.
29119         * soft-fp/floattidf.c: Likewise.
29120         * soft-fp/floattisf.c: Likewise.
29121         * soft-fp/floattitf.c: Likewise.
29122         * soft-fp/floatuntidf.c: Likewise.
29123         * soft-fp/floatuntisf.c: Likewise.
29124         * soft-fp/floatuntitf.c: Likewise.
29125         * soft-fp/trunctfxf2.c: Likewise.
29127 2013-10-10  David S. Miller  <davem@davemloft.net>
29129         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29131 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
29133         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
29134         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
29135         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
29136         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
29137         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
29138         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
29139         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
29141         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
29142         for NaNs before doing comparisons on argument.
29143         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
29144         Likewise.
29146 2013-10-10  Will Newton  <will.newton@linaro.org>
29148         * malloc/hooks.c (memalign_check): Ensure the value of bytes
29149         passed to _int_memalign does not overflow.
29151 2013-10-10  Torvald Riegel  <triegel@redhat.com>
29153         * scripts/bench.pl: Add include-sources directive.
29154         * benchtests/README: Update documentation.
29156 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
29158         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
29159         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
29160         instead of FP_INIT_ROUNDMODE.
29161         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
29162         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
29164         [BZ #16034]
29165         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
29166         copy class of input value.
29167         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
29168         not handle exceptions.
29169         * soft-fp/negsf2.c (__negsf2): Likewise.
29170         * soft-fp/negtf2.c (__negtf2): Likewise.
29171         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
29173 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
29175         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
29176         semicolon.  From Linux kernel.
29178 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
29180         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
29182 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
29184         [BZ #156]
29185         * manual/socket.texi: Added statement about buffer
29186         for gethostbyname2_r.
29188 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
29190         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
29191         Use .p2align directive instead, throughout.
29192         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29193         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
29194         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
29195         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29196         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29197         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
29198         * sysdeps/x86_64/strchr.S: Likewise.
29199         * sysdeps/x86_64/strrchr.S: Likewise.
29201 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29203         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
29205         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
29207         * sysdeps/generic/math_private.h (__mpsin1): Remove
29208         declaration.
29209         (__mpcos1): Likewise.
29210         (__mpsin): New argument __range_reduce.
29211         (__mpcos): Likewise.
29212         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29213         (slow): Use __mpsin and __mpcos.
29214         (slow1): Likewise.
29215         (slow2): Likewise.
29216         (sloww): Likewise.
29217         (sloww1): Likewise.
29218         (sloww2): Likewise.
29219         (bsloww): Likewise.
29220         (bsloww1): Likewise.
29221         (bsloww2): Likewise.
29222         (cslow2): Likewise.
29223         (csloww): Likewise.
29224         (csloww1): Likewise.
29225         (csloww2): Likewise.
29226         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
29227         range_reduce.  Merge in __mpsin1.
29228         (__mpcos): Likewise.
29229         (__mpsin1): Remove.
29230         (__mpcos1): Likewise.
29232 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
29234         * locale/loadlocale.c (_nl_intern_locale_data): Use
29235         LOCFILE_ALIGNED_P.
29236         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
29237         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
29238         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
29239         obstack data is appropriately aligned.
29240         (obstack_int32_grow_fast): Likewise.
29241         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
29242         * locale/programs/locfile.c (add_locale_uint32): Likewise.
29243         (add_locale_uint32_array): Likewise.
29245 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29247         * benchtests/Makefile: Remove ARGLIST and RET variables.
29248         ($(objpfx)bench-%.c): Pass only function name to the script.
29249         * benchtests/README: Update documentation.
29250         * benchtests/acos-inputs: Add new directives.
29251         * benchtests/acosh-inputs: Likewise.
29252         * benchtests/asin-inputs: Likewise.
29253         * benchtests/asinh-inputs: Likewise.
29254         * benchtests/atan-inputs: Likewise.
29255         * benchtests/atanh-inputs: Likewise.
29256         * benchtests/cos-inputs: Likewise.
29257         * benchtests/cosh-inputs: Likewise.
29258         * benchtests/exp-inputs: Likewise.
29259         * benchtests/log-inputs: Likewise.
29260         * benchtests/pow-inputs: Likewise.
29261         * benchtests/rint-inputs: Likewise.
29262         * benchtests/sin-inputs: Likewise.
29263         * benchtests/sinh-inputs: Likewise.
29264         * benchtests/tan-inputs: Likewise.
29265         * benchtests/tanh-inputs: Likewise.
29266         * scripts/bench.pl: Add support for new directives.
29268 2013-10-07  Alan Modra  <amodra@gmail.com>
29270         * README: Fix careless merge.
29272 2013-10-05  Alan Modra  <amodra@gmail.com>
29274         * NEWS: Mention powerpc64le support and bugs fixed.
29275         * README: Both big-endian and little-endian powerpc64 supported.
29277 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29279         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
29280         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
29281         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
29282         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
29284 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
29286         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
29287         match prototype.
29289 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
29291         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
29292         Move -mhard-float appending from
29293         ports/sysdeps/powerpc/powerpc32/Makefile.
29294         [$(with-fp) = yes] (ASFLAGS): Likewise.
29295         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
29296         * sysdeps/powerpc/nofpu: Move directory from
29297         ports/sysdeps/powerpc/nofpu.
29298         * sysdeps/powerpc/soft-fp: Move directory from
29299         ports/sysdeps/powerpc/soft-fp.
29300         * sysdeps/powerpc/powerpc32/405: Move directory from
29301         ports/sysdeps/powerpc/powerpc32/405.
29302         * sysdeps/powerpc/powerpc32/440: Move directory from
29303         ports/sysdeps/powerpc/powerpc32/440.
29304         * sysdeps/powerpc/powerpc32/464: Move directory from
29305         ports/sysdeps/powerpc/powerpc32/464.
29306         * sysdeps/powerpc/powerpc32/476: Move directory from
29307         ports/sysdeps/powerpc/powerpc32/476.
29308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
29309         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
29310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
29311         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
29312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
29313         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
29314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
29315         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
29316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
29317         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
29318         * README: Update for powerpc-*-linux-gnu software floating point
29319         support in libc.
29321         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
29322         case to powerpc/powerpc32*.
29323         * sysdeps/unix/sysv/linux/configure: Regenerated.
29325         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
29326         (_FPU_MASK_OM): Define as 0x04.
29327         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
29328         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
29329         0x00c10080.
29330         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
29331         0x0000003c.
29332         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
29334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
29335         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29336         getcontext_e500.
29337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
29338         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29339         setcontext_e500.
29340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
29341         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
29342         and setcontext_e500.
29344 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
29346         * locale/iso-3166.def: Update iso-1366.def and related occurrences
29348 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29350         * manual/threads.texi (Default Thread Attributes): Fix typo.
29352 2013-10-04  Will Newton  <will.newton@linaro.org>
29354         * malloc/Makefile: Add tst-memalign.
29355         * malloc/tst-memalign.c: New file.
29357         * malloc/tst-posix_memalign.c: Add comments.
29358         (do_test): Add comments and call free on all potentially
29359         allocated pointers. Add space after cast.
29361         * malloc/tst-pvalloc.c: Add comments.
29362         (do_test): Add comments and call free on all potentially
29363         allocated pointers. Remove duplicate check for NULL pointer.
29364         Add space after cast.
29366         * malloc/tst-valloc.c: Add comments.
29367         (do_test): Add comments and call free on all potentially
29368         allocated pointers. Remove duplicate check for NULL pointer.
29369         Add space after cast.
29371 2013-10-04  Alan Modra  <amodra@gmail.com>
29373         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29374         Use stdint types in rather than __attribute__((mode())).
29375         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29377 2013-10-04  Alan Modra  <amodra@gmail.com>
29379         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29380         Correct handling of unaligned relocs for little-endian.
29381         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29383 2013-10-04  Alan Modra  <amodra@gmail.com>
29385         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
29386         * configure: Regenerate.
29387         * nptl/shlib-versions: Powerpc*le starts at 2.18.
29388         * shlib-versions: Likewise.
29390 2013-10-04  Alan Modra  <amodra@gmail.com>
29392         * string/tester.c (test_memrchr): Increment reported test cycle.
29394 2013-10-04  Alan Modra  <amodra@gmail.com>
29396         * string/test-memcpy.c (do_one_test): When reporting errors, print
29397         string address and don't overrun end of string.
29399 2013-10-04  Alan Modra  <amodra@gmail.com>
29401         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
29402         insrdi.  Make better use of reg selection to speed exit slightly.
29403         Schedule entry path a little better.  Remove useless "are we done"
29404         checks on entry to main loop.  Handle wrapping around zero address.
29405         Correct main loop count.  Handle single left-over word from main
29406         loop inline rather than by using loop_small.  Remove extra word
29407         case in loop_small caused by wrong loop count.  Add little-endian
29408         support.
29409         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
29410         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
29411         cache hint.
29412         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
29413         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
29414         support.  Avoid rlwimi.
29415         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
29417 2013-10-04  Alan Modra  <amodra@gmail.com>
29419         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
29420         insrdi.  Formatting.
29421         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
29422         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29423         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
29424         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
29425         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29426         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
29428 2013-10-04  Alan Modra  <amodra@gmail.com>
29430         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
29431         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29432         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
29433         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
29434         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
29435         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29436         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29437         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29438         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
29439         use of regs.  Use power7 mtocrf.  Tidy function tails.
29441 2013-10-04  Alan Modra  <amodra@gmail.com>
29443         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
29444         Formatting.  Consistently use rXXX register defines or rN defines.
29445         Use early exit labels that avoid restoring unused non-volatile regs.
29446         Make cr field use more consistent with rWORDn compares.  Rename
29447         regs used as shift registers for unaligned loop, using rN defines
29448         for short lifetime/multiple use regs.
29449         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29450         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
29451         addi 1,1,64 to pop stack frame.  Simplify return value code.
29452         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29454 2013-10-04  Alan Modra  <amodra@gmail.com>
29456         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
29457         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
29458         rather than rlwimi.
29459         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
29460         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
29461         little-endian support.  Correct typos.
29462         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
29463         rather than rlwimi.
29464         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
29465         in loop and entry code to keep "and." results.
29466         (strchr): Add little-endian support.  Comment.  Move cntlzd
29467         earlier in tail.
29468         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
29470 2013-10-04  Alan Modra  <amodra@gmail.com>
29472         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
29473         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
29474         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
29475         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
29477 2013-10-04  Alan Modra  <amodra@gmail.com>
29479         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
29480         (rTMP): Define as r11.
29481         (strcmp): Add little-endian support.  Optimise tail.
29482         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
29483         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29484         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
29485         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29486         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
29487         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29488         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29490 2013-10-04  Alan Modra  <amodra@gmail.com>
29492         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
29493         little-endian support.  Remove unnecessary "are we done" tests.
29494         Handle "s" wrapping around zero and extremely large "size".
29495         Correct main loop count.  Handle single left-over word from main
29496         loop inline rather than by using small_loop.  Correct comments.
29497         Delete "zero" tail, use "end_max" instead.
29498         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
29500 2013-10-04  Alan Modra  <amodra@gmail.com>
29502         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
29503         support.  Don't branch over align.
29504         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
29505         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
29506         support.  Rearrange tmp reg use to suit.  Comment.
29507         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
29509 2013-10-04  Alan Modra  <amodra@gmail.com>
29511         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
29513 2013-10-04  Alan Modra  <amodra@gmail.com>
29515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
29516         conditional form of branch and link when obtaining pc.
29517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
29519 2013-10-04  Alan Modra  <amodra@gmail.com>
29521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
29522         HIWORD/LOWORD.
29523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
29524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
29526 2013-10-04  Alan Modra  <amodra@gmail.com>
29528         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
29529         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
29530         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
29531         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
29532         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29533         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29534         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
29535         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29536         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
29537         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
29539 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29540             Alistair Popple <alistair@ozlabs.au.ibm.com>
29541             Alan Modra <amodra@gmail.com>
29543         [BZ #15723]
29544         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
29545         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
29546         _dl_hwcap access for little-endian.
29547         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
29548         destroy vmx regs when saving unaligned.
29549         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
29550         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
29551         destroy vmx regs when saving unaligned.
29553 2013-10-04  Alan Modra  <amodra@gmail.com>
29555         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
29556         Don't use a union to pack hi/low value.
29558 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29560         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
29561         for little-endian.
29562         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29563         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
29564         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29565         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29566         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29568 2013-10-04  Alan Modra  <amodra@gmail.com>
29570         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
29571         constants to usual value for .cst8 section, and remove redundant
29572         high address load.
29573         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
29574         constant for 0x1p52.  Load little-endian words of double from
29575         correct stack offsets.
29577 2013-10-04  Alan Modra  <amodra@gmail.com>
29579         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
29580         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
29581         words of double from correct stack offsets.
29582         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
29583         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
29584         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29585         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29586         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29587         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29588         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29589         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
29590         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
29591         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29592         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29593         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29594         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29595         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29596         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29597         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
29598         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
29600 2013-10-04  Alan Modra  <amodra@gmail.com>
29602         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
29603         64-bit int/double union.
29604         (_FPU_SETCW): Likewise.
29605         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
29606         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
29608 2013-10-04  Alan Modra  <amodra@gmail.com>
29610         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
29611         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
29613 2013-10-04  Alan Modra  <amodra@gmail.com>
29615         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
29616         use vector int constants.
29617         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
29619 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29621         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
29622         array with long long.
29623         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
29624         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
29625         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
29626         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
29627         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
29628         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
29629         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
29630         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
29631         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
29632         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
29633         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
29634         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
29635         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
29637 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29639         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
29640         (__signbit): Likewise.  Correct for little-endian.
29641         (__signbitl): Call __signbit.
29642         (lrint): Correct for little-endian.
29643         (lrintf): Call lrint.
29645 2013-10-04  Alan Modra  <amodra@gmail.com>
29647         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
29648         union 32-bit int array member with 64-bit int array.
29649         (t515, tm256): Double rather than long double.
29650         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
29652 2013-10-04  Alan Modra  <amodra@gmail.com>
29654         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
29655         Delete.
29656         (IEEE854_LONG_DOUBLE_BIAS): Delete.
29657         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
29658         version of math_ldbl.h.
29660 2013-10-04  Alan Modra  <amodra@gmail.com>
29662         [BZ #15734], [BZ #15735]
29663         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
29664         all uses of ieee875 long double macros and unions.  Simplify test
29665         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
29666         ldbl_extract_mantissa value for ix,iy exponents.  Properly
29667         normalize after ldbl_extract_mantissa, and don't add hidden bit
29668         already handled.  Don't treat low word of ieee854 mantissa like
29669         low word of IBM long double and mask off bit when testing for
29670         zero.
29671         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
29672         all uses of ieee875 long double macros and unions.  Simplify tests
29673         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
29674         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
29675         two1022, instead use their values.  Recognise that tests for large
29676         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
29677         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
29678         Rewrite all uses of ieee875 long double macros and unions.  Simplify
29679         test for 0.0L and nan.  Correct negation.
29680         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
29681         ieee875 long double macros and unions.  Correct output for large
29682         magnitude x.  Correct absolute value calculation.
29683         (__erfcl): Likewise.
29684         * math/libm-test.inc: Add tests for errors discovered in IBM long
29685         double versions of fmodl, remainderl, erfl and erfcl.
29687 2013-10-04  Alan Modra  <amodra@gmail.com>
29689         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
29690         all uses of ieee854 long double macros and unions.  Simplify tests
29691         for long doubles that are fully specified by the high double.
29692         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29693         Likewise.
29694         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
29695         Remove dead code too.
29696         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
29697         (__ieee754_ynl): Likewise.
29698         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29699         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
29700         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
29701         Remove dead code too.
29702         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
29703         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
29704         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
29705         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
29706         Simplify.
29707         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
29708         Simplify.
29709         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
29710         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
29711         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
29712         Comment on variable precision.
29713         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
29714         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29715         Likewise.
29716         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29717         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29718         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29719         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
29720         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
29722 2013-10-04  Alan Modra  <amodra@gmail.com>
29724         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
29725         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
29726         all uses of ieee854 long double macros and unions.
29727         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
29728         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29729         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
29730         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
29731         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29732         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29733         Likewise.
29734         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
29735         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29736         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
29737         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29738         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
29739         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
29740         Simplify sign and nan test too.
29741         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
29742         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
29743         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
29744         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
29745         Likewise.
29746         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29747         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
29748         Likewise.
29749         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29750         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
29751         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
29752         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
29753         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
29754         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
29756 2013-10-04  Alan Modra  <amodra@gmail.com>
29758         * stdio-common/printf_size.c (__printf_size): Don't use
29759         union ieee854_long_double in fpnum union.
29760         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
29761         signbit macro to retrieve sign from long double.
29762         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
29763         retrieve sign from long double.
29764         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
29765         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
29766         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
29767         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29768         * math/test-misc.c (main): Don't use union ieee854_long_double.
29770 2013-10-04  Alan Modra  <amodra@gmail.com>
29772         [BZ #15680]
29773         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
29774         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
29775         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
29776         calculation.  Remove unnecessary test for denormal exponent.
29777         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
29778         Correct handling of denormals.  Avoid undefined shift behaviour.
29779         Correct normalisation of low mantissa when low double is denormal.
29780         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
29781         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
29782         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
29783         Correct normalisation of low mantissa.  Test for overflow of high
29784         mantissa and normalise.
29785         (ldbl_nearbyint): Use more readable constant for two52.
29786         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
29787         (__mpn_construct_long_double): Fix test for overflow of high
29788         mantissa and correct normalisation.  Avoid undefined shift.
29790 2013-10-04  Alan Modra  <amodra@gmail.com>
29792         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29793         (union ibm_extended_long_double): Define as an array of ieee754_double.
29794         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
29795         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
29796         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
29797         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29798         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29799         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
29800         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29801         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29802         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29803         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
29804         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29806 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
29808         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
29809         page size instead of calling getpagesize.
29811         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
29812         (LOCFILE_ALIGN_MASK): Likewise.
29813         (LOCFILE_ALIGN_UP): Likewise.
29814         (LOCFILE_ALIGNED_P): Likewise.
29815         * locale/programs/ld-collate.c (collate_output): Use the new
29816         macros instead of __alignof__ (int32_t).
29817         * locale/weight.h (findidx): Likewise.
29819 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
29821         [BZ #431]
29822         * manual/string.texi: Fix strncat and wcsncat.
29824 2013-10-03  Brooks Moses  <bmoses@google.com>
29826         [BZ #15915]
29827         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
29828         * Makerules: ...here, and adjust associated comments.
29830 2013-10-02  Will Newton  <will.newton@linaro.org>
29832         * malloc/Makefile: Add tst-pvalloc.
29833         * malloc/tst-pvalloc.c: New file.
29835 2013-10-02  Will Newton  <will.newton@linaro.org>
29837         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
29838         improve test coverage.
29840 2013-10-02  Will Newton  <will.newton@linaro.org>
29842         * malloc/Makefile: Add tst-posix_memalign.
29843         * malloc/tst-posix_memalign.c: New file.
29845 2013-10-01  Eric Blake  <eblake@redhat.com>
29847         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
29848         Use __THROWNL rather than __THROW on static functions.
29850 2013-09-30  Petr Machata  <pmachata@redhat.com>
29852         * elf/elf.h (R_AARCH64_ABS16): New macro.
29853         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
29854         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
29855         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
29856         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
29857         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
29858         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
29859         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
29860         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
29861         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
29862         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
29863         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
29864         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
29865         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
29866         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
29867         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
29868         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
29869         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
29870         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
29871         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
29872         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
29873         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
29874         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
29875         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
29876         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
29877         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
29878         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
29879         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
29880         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
29881         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
29882         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
29883         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
29884         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
29885         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
29886         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
29887         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
29888         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
29889         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
29890         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
29891         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
29892         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
29893         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
29894         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
29895         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
29896         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
29897         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
29898         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
29899         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
29900         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
29901         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
29902         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
29903         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
29904         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
29905         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
29906         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
29907         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
29908         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
29909         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
29910         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
29911         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
29912         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
29913         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
29914         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
29915         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
29916         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
29917         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
29918         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
29919         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
29920         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
29921         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
29922         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
29923         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
29924         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
29925         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
29926         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
29927         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
29928         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
29929         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
29930         (R_AARCH64_TLSDESC_LDR): Likewise.
29931         (R_AARCH64_TLSDESC_ADD): Likewise.
29932         (R_AARCH64_TLSDESC_CALL): Likewise.
29934 2013-09-30  Andreas Schwab  <schwab@suse.de>
29936         [BZ #15048]
29937         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
29938         the nss database lookup.
29939         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29940         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29942 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
29944         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
29946 2013-09-28  P. J. McDermott  <pj@pehjota.net>
29948         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
29949         ${Bash-specific parameter/pattern/string} parameter expansion.
29950         * sysdeps/unix/make-syscalls.sh: Likewise.
29952 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29954         * sysdeps/sh/stackguard-macros.h: New file.
29956 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
29958         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29959         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
29960         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
29961         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
29962         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29963         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
29965 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29967         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
29968         Fix thread ID register.
29970 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
29972         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
29973         [POSIX || UNIX98]: Require rather than permitting all symbols from
29974         <time.h>.
29975         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
29976         element of struct sched_param.
29977         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
29978         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
29979         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
29980         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
29981         constant.
29983 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
29985         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
29986         argument calculation.
29988 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
29990         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
29991         Expect macro.
29992         [POSIX] (pthread_attr_t): Do not require type.
29993         [POSIX] (pthread_cond_t): Likewise.
29994         [POSIX] (pthread_condattr_t): Likewise.
29995         [POSIX] (pthread_key_t): Likewise.
29996         [POSIX] (pthread_mutex_t): Likewise.
29997         [POSIX] (pthread_mutexattr_t): Likewise.
29998         [POSIX] (pthread_once_t): Likewise.
29999         [POSIX] (pthread_t): Likewise.
30000         [POSIX-based standards] (pthread_atfork): Expect function.
30002 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
30003             Richard Sandiford  <richard@codesourcery.com>
30005         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
30006         (swap_endianness_p): New extern variable.
30007         (set_big_endian): New inline function.
30008         (maybe_swap_uint32): Likewise.
30009         (maybe_swap_uint32_array): Likewise.
30010         (maybe_swap_uint32_obstack): Likewise.
30011         * locale/programs/locfile.c: Include <stdbool.h>.
30012         (swap_endianness_p): New variable.
30013         (add_locale_uint32): Call maybe_swap_uint32.
30014         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
30015         (write_locale_data): Call maybe_swap_uint32_array.
30016         * locale/programs/ld-collate.c (obstack_int32_grow): Call
30017         maybe_swap_uint32.
30018         (obstack_int32_grow_fast): Likewise.
30019         (output_weightwc): Call maybe_swap_uint32_obstack.
30020         (collate_output): Likewise.
30021         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
30022         (OPT_LITTLE_ENDIAN): Likewise.
30023         (options): Add --little-endian and --big-endian options.
30024         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
30025         * locale/programs/locarchive.c: Include "locfile.h".
30026         (GET): New macro.
30027         (SET): Likewise.
30028         (INC): Likewise.
30029         (create_archive): Use the new macros to access fields of
30030         structures directly mapped from or written to locale archives.
30031         (oldlocrecentcmp): Likewise.
30032         (enlarge_archive): Likewise.
30033         (insert_name): Likewise.
30034         (add_alias): Likewise.
30035         (add_locale): Likewise.
30036         (delete_locales_from_archive): Likewise.
30037         (show_archive_content): Likewise.
30038         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
30039         locale data.
30041 2013-09-24  Roland McGrath  <roland@hack.frob.com>
30043         * manual/freemanuals.texi: Updated from (newly) canonical copy at
30044         http://www.gnu.org/doc/freemanuals.texi.
30045         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
30047 2013-09-24  Will Newton  <will.newton@linaro.org>
30049         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
30050         macro.
30052 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
30054         * locale/hashval.h (compute_hashval): Interpret bytes of key as
30055         unsigned char.
30057 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
30059         * manual/threads.texi (POSIX Threads): Fix a typo.
30061 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30063         [BZ #14547]
30064         * string/tst-strcoll-overflow.c: New test case.
30065         * string/Makefile (xtests): Add tst-strcoll-overflow.
30066         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
30067         cache if string sizes may cause integer overflow.
30069         [BZ #14547]
30070         * string/strcoll_l.c (coll_seq): New members rule, idx,
30071         save_idx and back_us.
30072         (get_next_seq_nocache): New function.
30073         (do_compare_nocache): New function.
30074         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
30075         when malloc fails.
30077 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
30079         [BZ #15754]
30080         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
30081         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
30082         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
30084         [BZ #15754]
30085         * elf/Makefile (tests): Add tst-ptrguard1.
30086         (tests-static): Add tst-ptrguard1-static.
30087         (tst-ptrguard1-ARGS): Define.
30088         (tst-ptrguard1-static-ARGS): Define.
30089         * elf/tst-ptrguard1.c: New file.
30090         * elf/tst-ptrguard1-static.c: New file.
30091         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
30092         * sysdeps/i386/stackguard-macros.h: Likewise.
30093         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30094         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30095         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30096         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30097         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30098         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30100 2013-09-23  Hector Marco  <hecmargi@upv.es>
30101             Ismael Ripoll  <iripoll@disca.upv.es>
30102             Carlos O'Donell  <carlos@redhat.com>
30104         [BZ #15754]
30105         * sysdeps/generic/stackguard-macros.h: Define
30106         __pointer_chk_guard_local and POINTER_CHK_GUARD.
30107         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
30108         Define __pointer_chk_guard_local.
30109         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
30110         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
30112 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
30114         [BZ #15859]
30115         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
30117 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
30119         * include/string.h (__ffs): Declare as hidden.
30120         * string/ffs.c (__ffs): Define as hidden.
30121         * sysdeps/i386/ffs.c (__ffs): Likewise.
30122         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
30123         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
30124         * sysdeps/s390/ffs.c (__ffs): Likewise.
30125         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
30127 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
30129         * NEWS: Mention malloc probes.
30131         * malloc/arena.c (new_heap): New memory_heap_new probe.
30132         (grow_heap): New memory_heap_more probe.
30133         (shrink_heap): New memory_heap_less probe.
30134         (heap_trim): New memory_heap_free probe.
30135         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
30136         (systrim): New memory_sbrk_less probe.
30137         * manual/probes.texi: Document them.
30139         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
30140         * manual/probes.texi: Document it.
30142         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
30143         (__libc_realloc): Add memory_realloc_retry probe.
30144         (__libc_memalign): Add memory_memalign_retry probe.
30145         (__libc_valloc): Add memory_valloc_retry probe.
30146         (__libc_pvalloc): Add memory_pvalloc_retry probe.
30147         (__libc_calloc): Add memory_calloc_retry probe.
30148         * manual/probes.texi: Document them.
30150         * malloc/arena.c (get_free_list): Add probe
30151         memory_arena_reuse_free_list.
30152         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
30153         and memory_arena_reuse.
30154         (arena_get2) [!PER_THREAD]: Likewise.
30155         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
30156         memory_arena_reuse_realloc.
30157         * manual/probes.texi: Document them.
30159         * malloc/malloc.c (__libc_free): Add
30160         memory_mallopt_free_dyn_thresholds probe.
30161         (__libc_mallopt): Add multiple memory_mallopt probes.
30162         * manual/probes.texi: Document them.
30164         * malloc/malloc.c: Include stap-probe.h.
30165         (__libc_mallopt): Add memory_mallopt probe.
30166         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
30167         * manual/probes.texi: New.
30168         * manual/Makefile (chapters): Add probes.
30169         * manual/threads.texi: Set next node.
30171 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
30173         [BZ #15963, #13985]
30174         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
30175         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
30176         Add `Chinese' to `nan' entry name.
30178 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30180         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
30181         (POLYNOMIAL): Likewise.
30182         (TAYLOR_SINCOS): Likewise.
30183         (TAYLOR_SLOW): Likewise.
30184         (__sin): Use TAYLOR_SINCOS.
30185         (__cos): Likewise.
30186         (slow): Use TAYLOR_SLOW.
30187         (sloww): Likewise.
30188         (bsloww): Likewise.
30189         (csloww): Likewise.
30191 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30193         * stdlib/strtod_l.c: Fix buffer overrun.
30195 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30197         * benchtests/Makefile (bench): Add sincos.
30198         * benchtests/bench-sincos.c: New file.
30200         * math/libm-test.inc (cos_test_data): New test inputs.
30201         (sin_test_data): Likewise.
30203         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
30204         macro.
30205         (__sin): Use it.
30206         (__cos): Likewise.
30207         (slow1): Likewise.
30208         (slow2): Likewise.
30209         (sloww1): Likewise.
30210         (sloww2): Likewise.
30211         (bsloww1): Likewise.
30212         (bsloww2): Likewise.
30213         (cslow2): Likewise.
30214         (csloww1): Likewise.
30215         (csloww2): Likewise.
30217         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
30218         function.
30219         (__sin): Use it.
30220         (__cos): Likewise.
30222         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
30223         gotos.
30224         (__cos): Likewise.
30226 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
30228         * config.h.in (HAVE_MIPS_NAN2008): New macro.
30229         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
30230         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
30231         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
30232         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
30233         * elf/cache.c (print_entry): Handle the new cache flags.
30235 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
30236             Aldy Hernandez  <aldyh@redhat.com>
30238         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
30239         Change condition to [_SOFT_FLOAT].
30240         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
30241         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
30242         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
30243         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
30244         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
30245         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
30246         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
30247         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
30248         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
30249         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
30250         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
30251         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
30252         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
30253         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
30254         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
30255         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
30256         declaration.
30258 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
30260         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
30261         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30262         (__longjmp): Use LOAD_GP to load saved GPRs.
30263         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
30264         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30265         (__sigsetjmp): Use SAVE_GP to save GPRs.
30267         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
30268         Do not append -msoft-float.
30269         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
30271 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30273         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
30275 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
30277         [BZ #15966]
30278         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
30279         (_FPU_GETCW): Use initial "__" on variable and field names but not
30280         on macro parameter name.
30281         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
30282         parentheses around reference to macro parameter.
30284 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
30286         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
30287         prototype.
30288         (ctype_startup): Use uint32_t in cast and sizeof for
30289         ctype->charnames.
30291 2013-09-11  Jia Liu  <proljc@gmail.com>
30293         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
30294         __daddr_t_defined.
30295         [__FreeBSD__]: Likewise.
30297 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
30299         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
30300         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
30301         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
30302         (strchr): Remove __strchr_sse42 ifunc selection.
30303         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
30304         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
30306 2013-09-11  Will Newton  <will.newton@linaro.org>
30308         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
30309         parameter to RES. Remove hardcoded 1000 value.
30310         * benchtests/bench-skeleton.c (main): Pass RES parameter
30311         to TIMING_INIT and multiply result by 1000.
30313 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30315         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30317 2013-09-11  Andreas Schwab  <schwab@suse.de>
30319         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
30320         if not defined.
30321         (O_TMPFILE) [__USE_GNU]: Define.
30322         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
30323         Define.
30325 2013-09-11  Will Newton  <will.newton@linaro.org>
30327         [BZ #15857]
30328         * malloc/malloc.c (__libc_memalign): Check the value of bytes
30329         does not overflow.
30331 2013-09-11  Will Newton  <will.newton@linaro.org>
30333         [BZ #15856]
30334         * malloc/malloc.c (__libc_valloc): Check the value of bytes
30335         does not overflow.
30337 2013-09-11  Will Newton  <will.newton@linaro.org>
30339         [BZ #15855]
30340         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
30341         does not overflow.
30343 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
30345         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
30346         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30347         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30348         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30349         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30351 2013-09-10  Allan McRae  <allan@archlinux.org>
30353         [BZ #15748]
30354         * manual/arith.texi (Parsing of Floats): Clarify
30355         cross-reference.
30357         [BZ #15849]
30358         * manual/install.texi (Running make install): Mention
30359         --enable-pt-chown.
30360         * INSTALL: Regenerated.
30362 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
30364         * csu/init-first.c (_init): Remove the !SHARED condition around
30365         FPU control word initialization.
30366         * elf/dl-support.c (_dl_fpu_control): New variable.
30367         (_dl_aux_init) <AT_FPUCW>: Initialize it.
30368         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
30369         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
30370         * math/test-fpucw-static.c: New file.
30371         * math/test-fpucw-ieee.c: New file.
30372         * math/test-fpucw-ieee-static.c: New file.
30373         * math/Makefile (tests): Add `test-fpucw-ieee' and
30374         `$(tests-static)'.
30375         (tests-static): New variable.
30376         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
30377         dependency to...
30378         [($(build-shared),yes)]
30379         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
30380         ... this.
30381         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
30382         New dependency.
30384 2013-09-09  Allan McRae  <allan@archlinux.org>
30386         [BZ #15939]
30387         * manual/string.texi (Collation Functions): Fix typo in
30388         strcoll example.
30389         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
30391         [BZ #15893]
30392         * stdlib/isomac.c (get_null_defines): Fix memory leak.
30394         [BZ #15892]
30395         * libio/memstream.c (open_memstream): Fix memory leak.
30396         * libio/wmemstream.c (open_wmemstream): Likewise.
30398         [BZ #15895]
30399         * nscd/netgroupcache.c: Fix nesting of ifdefs.
30401 2013-09-09  Will Newton  <will.newton@linaro.org>
30403         * malloc/Makefile: Add tst-realloc to tests.
30404         * malloc/tst-realloc.c: New file.
30406 2013-09-09  Allan McRae  <allan@archlinux.org>
30408         [BZ #15844]
30409         * COPYING: Update from GNU website to fix FSF address.
30410         * COPYING.LIB: Likewise.
30412 2013-09-06  David S. Miller  <davem@davemloft.net>
30414         * po/zh_TW.po: Update Chinese (traditional) translation from
30415         translation project.
30417 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
30418             Joseph Myers  <joseph@codesourcery.com>
30420         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
30421         "localeinfo.h".
30422         (obstack_chunk_alloc): New macro.
30423         (obstack_chunk_free): Likewise.
30424         (record_offset): New function.
30425         (init_locale_data): Likewise.
30426         (align_locale_data): Likewise.
30427         (add_locale_empty): Likewise.
30428         (add_locale_raw_data): Likewise.
30429         (add_locale_raw_obstack): Likewise.
30430         (add_locale_string): Likewise.
30431         (add_locale_wstring): Likewise.
30432         (add_locale_uint32): Likewise.
30433         (add_locale_uint32_array): Likewise.
30434         (add_locale_char): Likewise.
30435         (start_locale_structure): Likewise.
30436         (end_locale_structure): Likewise.
30437         (start_locale_prelude): Likewise.
30438         (end_locale_prelude): Likewise.
30439         (write_locale_data): Take locale_file structure rather than an
30440         iovec.
30441         * locale/programs/locfile.h: Include "obstack.h".
30442         (struct locale_file): Change to store locale file contents instead
30443         of header.
30444         (init_locale_data): New prototype.
30445         (align_locale_data): Likewise.
30446         (add_locale_empty): Likewise.
30447         (add_locale_raw_data): Likewise.
30448         (add_locale_raw_obstack): Likewise.
30449         (add_locale_string): Likewise.
30450         (add_locale_wstring): Likewise.
30451         (add_locale_uint32): Likewise.
30452         (add_locale_uint32_array): Likewise.
30453         (add_locale_char): Likewise.
30454         (start_locale_structure): Likewise.
30455         (end_locale_structure): Likewise.
30456         (start_locale_prelude): Likewise.
30457         (end_locale_prelude): Likewise.
30458         (write_locale_data): Update prototype.
30459         * locale/programs/3level.h (struct TABLE): Remove result field.
30460         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
30461         Use new locale_file interface.
30462         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
30463         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
30464         * locale/programs/ld-address.c (address_output): Use new
30465         locale_file interface.
30466         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
30467         NO_ADD_LOCALE.
30468         (collate_finish): Don't call collseq_table_finalize.
30469         (collate_output): Use new locale_file interface.
30470         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
30471         in file.
30472         (NO_FINALIZE): Change to NO_ADD_LOCALE.
30473         (TABLE): Move defines earlier in file.
30474         (ELEMENT): Likewise.
30475         (DEFAULT): Likewise.
30476         (wctrans_table_add): Move macro and inline function earlier in
30477         file.
30478         (struct wctype_table): Move type earlier in file.
30479         (add_locale_wctype_table): New static prototype.
30480         (struct locale_ctype_t): Use logical types instead of struct iovec
30481         pointers for members.
30482         (ctype_output): Use new locale_file interface.
30483         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
30484         new locale_file interface.
30485         (allocate_arrays): Update for use of new locale_file interface.
30486         * locale/programs/ld-identification.c (identification_output): Use
30487         new locale_file interface.
30488         * locale/programs/ld-measurement.c (measurement_output): Likewise.
30489         * locale/programs/ld-messages.c (messages_output): Likewise.
30490         * locale/programs/ld-monetary.c (monetary_output): Likewise.
30491         * locale/programs/ld-name.c (name_output): Likewise.
30492         * locale/programs/ld-numeric.c (numeric_output): Likewise.
30493         * locale/programs/ld-paper.c (paper_output): Likewise.
30494         * locale/programs/ld-telephone.c (telephone_output): Likewise.
30495         * locale/programs/ld-time.c (time_output): Likewise.
30497 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30499         * benchtests/Makefile: Add memrchr benchmark.
30500         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
30501         benchmark as memrchr.
30502         * benchtests/bench-memrchr-ifunc.c: New file.
30503         * benchtests/bench-memrchr.c: New file.
30505 2013-09-06   Will Newton  <will.newton@linaro.org>
30507         * benchtests/Makefile (string-bench): Add memcpy.
30509 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
30510             Cong Wang  <amwang@redhat.com>
30512         [BZ #15850]
30513         * sysdeps/unix/sysv/linux/bits/in.h
30514         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
30515         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
30516         before __USE_KERNEL_IPV6_DEFS uses.
30517         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
30518         IPPROTO_BEETPH.
30519         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
30520         sockaddr_in6, or ipv6_mreq.
30522 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30524         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
30525         memory access for final bytes in some large inputs.
30526         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
30528 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30530         * string/test-memrchr.c: New file.
30531         * string/test-memrchr-ifunc.c: New file.
30532         * string/Makefile: Add new memrchr testcase.
30534 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
30536         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
30537         fanotify_init returns EPERM.
30539 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
30541         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
30542         errors.
30543         (top level): Treat second token from macro or constant entries for
30544         allowed headers as allowed.
30545         * include/complex.h: Condition internal declarations on
30546         [!_ISOMAC].
30547         * include/fenv.h: Condition include of <stdbool.h> and internal
30548         declarations on [!_ISOMAC].
30550 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
30552         [BZ #15923]
30553         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
30555 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
30557         * configure.in (--enable-versioning): Remove configure option.
30558         (libc_cv_asm_symver_directive): Remove configure test.
30559         (libc_cv_ld_version_script_option): Likewise.
30560         (VERSIONING): Remove variable and AC_SUBST.
30561         (DO_VERSIONING): Remove AC_DEFINE.
30562         * configure: Regenerated.
30563         * config.h.in (DO_VERSIONING): Remove macro.
30564         * Makerules [$(versioning) = yes]: Change conditionals to
30565         [$(build-shared) = yes].
30566         * config.make.in (versioning): Remove variable.
30567         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
30568         [$(build-shared) = yes].
30569         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
30570         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
30571         * elf/Makefile [$(versioning) = yes]: Change conditionals to
30572         [$(build-shared) = yes].
30573         * extra-lib.mk [$(versioning) = yes]: Likewise.
30574         * hurd/Makefile [$(versioning) = yes]: Likewise.
30575         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
30576         [SHARED].
30577         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
30578         [SHARED].
30579         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30580         [SHARED && !NO_HIDDEN].
30581         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
30582         [SHARED].
30583         [SHARED && DO_VERSIONING]: Likewise..
30584         * libio/Makefile [$(versioning) = yes]: Change conditionals to
30585         [$(build-shared) = yes].
30586         * manual/install.texi (--disable-versioning): Remove
30587         documentation.
30588         * INSTALL: Regenerated.
30589         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
30590         to [SHARED].
30591         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
30592         [$(build-shared) = yes].
30593         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
30594         * sysdeps/i386/i686/multiarch/strstr-c.c
30595         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30596         [SHARED && !NO_HIDDEN].
30597         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
30598         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
30599         * sysdeps/powerpc/powerpc32/dl-machine.c
30600         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
30601         * sysdeps/powerpc/powerpc32/sysdep.h
30602         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
30603         to [SHARED && PIC && !NO_HIDDEN].
30604         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
30605         conditional to [SHARED].
30607 2013-09-04   Will Newton  <will.newton@linaro.org>
30609         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
30610         * benchtests/bench-string.h: Include bench-timing.h instead
30611         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
30612         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
30613         call to HP_TIMING_DIFF_INIT.
30614         * benchtests/bench-memccpy.c: Use bench-timing.h macros
30615         instead of hp-timing.h macros.
30616         * benchtests/bench-memchr.c: Likewise.
30617         * benchtests/bench-memcmp.c: Likewise.
30618         * benchtests/bench-memcpy.c: Likewise.
30619         * benchtests/bench-memmem.c: Likewise.
30620         * benchtests/bench-memmove.c: Likewise.
30621         * benchtests/bench-memset.c: Likewise.
30622         * benchtests/bench-rawmemchr.c: Likewise.
30623         * benchtests/bench-strcasecmp.c: Likewise.
30624         * benchtests/bench-strcasestr.c: Likewise.
30625         * benchtests/bench-strcat.c: Likewise.
30626         * benchtests/bench-strchr.c: Likewise.
30627         * benchtests/bench-strcmp.c: Likewise.
30628         * benchtests/bench-strcpy.c: Likewise.
30629         * benchtests/bench-strcpy_chk.c: Likewise.
30630         * benchtests/bench-strlen.c: Likewise.
30631         * benchtests/bench-strncasecmp.c: Likewise.
30632         * benchtests/bench-strncat.c: Likewise.
30633         * benchtests/bench-strncmp.c: Likewise.
30634         * benchtests/bench-strncpy.c: Likewise.
30635         * benchtests/bench-strnlen.c: Likewise.
30636         * benchtests/bench-strpbrk.c: Likewise.
30637         * benchtests/bench-strrchr.c: Likewise.
30638         * benchtests/bench-strspn.c: Likewise.
30639         * benchtests/bench-strstr.c: Likewise.
30641 2013-09-04  Will Newton  <will.newton@linaro.org>
30643         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
30645 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
30647         [BZ #15427]
30648         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
30649         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
30650         * math/libm-test.inc (lgamma_test_data): Add more tests.
30651         * sysdeps/i386/fpu/libm-test-ulps: Update.
30652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30654 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
30656         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
30657         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30658         Add ifunc.
30659         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30660         Add strcmp-sse2-unaligned
30661         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
30663 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
30665         * Versions.def (libc): Add GLIBC_2.19.
30667 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
30669         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
30670         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
30672 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
30674         [BZ #14155]
30675         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
30676         intermediate calculations in recurrence.
30677         (__ieee754_ynf): Likewise.
30678         * math/libm-test.inc (jn_test_data): Do not allow spurious
30679         underflow exception.  Add more tests.
30680         (yn_test_data): Add more tests.
30681         * sysdeps/i386/fpu/libm-test-ulps: Update.
30682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30684 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
30686         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
30688 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
30690         * csu/init-first.c: Fix then/than typos.
30691         * locale/programs/ld-collate.c: Likewise.
30692         * locale/programs/linereader.h: Likewise.
30693         * manual/charset.texi: Likewise.
30694         * manual/filesys.texi: Likewise.
30695         * manual/stdio.texi: Likewise.
30696         * manual/string.texi: Likewise.
30697         * stdlib/fmtmsg.c: Likewise.
30698         * sysdeps/i386/stpncpy.S: Likewise.
30699         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30700         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30701         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30702         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30704 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
30706         * elf/dl-open.c: Fix typos.
30707         * iconvdata/gbbig5.c: Likewise.
30708         * iconvdata/iso-2022-jp.c: Likewise.
30709         * iconv/gconv_int.h: Likewise.
30710         * iconv/loop.c: Likewise.
30711         * nis/rpcsvc/nis.h: Likewise.
30712         * resolv/ns_name.c: Likewise.
30713         * stdio-common/vfscanf.c: Likewise.
30714         * streams/stropts.h: Likewise.
30715         * sunrpc/rpc_thread.c: Likewise.
30716         * sysdeps/i386/strpbrk.S: Likewise.
30717         * sysdeps/ieee754/k_standard.c: Likewise.
30718         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30719         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30720         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
30721         * sysdeps/mach/hurd/profil.c: Likewise.
30722         * sysdeps/s390/dl-procinfo.h: Likewise.
30723         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
30724         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
30725         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
30726         * sysdeps/x86_64/dl-trampoline.S: Likewise.
30727         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30729 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
30731         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
30732         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
30734 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
30736         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
30737         aix specific files.
30738         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
30739         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
30740         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
30741         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
30742         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
30743         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
30744         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
30745         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
30747 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
30748             Roland McGrath  <roland@hack.frob.com>
30750         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
30751         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
30753 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30755         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
30756         __executable_start symbol instead of _start.
30758 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
30760         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
30761         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
30762         Move macros to...
30763         * sysdeps/gnu/ldsodefs.h: ... this new file.
30765         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
30766         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
30767         instead of ELFOSABI_LINUX.
30769         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
30770         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
30771         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
30772         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
30773         Likewise.
30774         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
30775         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
30776         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
30777         Likewise.
30778         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30779         (ibm_extended_long_double): Add ieee_nan member.
30780         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
30781         (do_test): New function.
30783         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
30784         TEST_TRUNC.
30785         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
30786         functions, renamed from truncdfsf_test, trunctfsf_test,
30787         trunctfdf_test.
30788         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
30789         functions.
30790         (do_test): Run all these.
30792 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
30794         * argp/argp-help.c: Fix typos.
30795         * argp/argp-parse.c: Likewise.
30796         * debug/backtracesyms.c: Likewise.
30797         * elf/elf.h: Likewise.
30798         * malloc/malloc.c: Likewise.
30799         * nis/nis_print.c: Likewise.
30800         * resolv/res_comp.c: Likewise.
30801         * stdlib/stdlib.h: Likewise.
30802         * sunrpc/clnt_tcp.c: Likewise.
30803         * sunrpc/clnt_udp.c: Likewise.
30804         * sunrpc/clnt_unix.c: Likewise.
30805         * sysdeps/unix/bsd/ptsname.c: Likewise.
30806         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
30807         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
30808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
30809         Likewise.
30810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
30811         Likewise.
30812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
30813         Likewise.
30814         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
30816 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30818         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
30819         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30821 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
30823         [BZ #15897]
30824         * dlfcn/Makefile (tests): Add bug-dl-leaf.
30825         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
30826         ($(objpfx)bug-dl-leaf): New rule.
30827         ($(objpfx)bug-dl-leaf.so): Likewise.
30828         ($(objpfx)bug-dl-leaf.out): Likewise.
30829         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
30830         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
30831         * dlfcn/bug-dl-leaf.c: New test.
30832         * dlfcn/bug-dl-leaf-lib.c: Likewise.
30833         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
30834         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
30835         (dlclose): Likewise.
30836         (dlmopen): Likewise.
30838 2013-08-27  Roland McGrath  <roland@hack.frob.com>
30840         * include/netdb.h [!_ISOMAC]:
30841         Don't include <tls.h>.
30842         (h_errno, __libc_h_errno): Move declaration and macros out of
30843         [_LIBC_REENTRANT].
30845         * include/resolv.h [_RESOLV_H_]:
30846         Don't include <tls.h>.
30847         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
30848         * resolv/res_libc.c: Don't include <tls.h>.
30849         (_res): Use __attribute__ ((nocommon)) in place of
30850         __attribute__ ((section (".bss"))).
30852         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
30853         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
30855         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
30857         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
30858         only under [SIOCGIFCONF && SIOCGIFNETMASK].
30860         * resolv/res_mkquery.c: Include <sys/time.h>.
30862         * inet/ifreq.c: Moved to ...
30863         * sysdeps/unix/ifreq.c: ... here.
30864         * inet/ifreq.c: New file, true stub version.
30866         * socket/sa_len.c: New file.
30867         * socket/Makefile (aux): Add it.
30868         * sysdeps/unix/sysv/linux/Makefile
30869         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
30870         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
30871         and #include <socket/sa_len.c>.
30872         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
30873         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
30875         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
30876         * bits/socket.h: ... here.
30878         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
30879         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
30880         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
30882 2013-08-27  Andreas Schwab  <schwab@suse.de>
30884         [BZ #15736]
30885         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
30886         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
30887         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
30888         * string/test-strcasecmp.c (test_main): Run tests in several
30889         locales.
30890         * string/test-strncasecmp.c (test_main): Likewise.
30892         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
30893         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
30894         to __strcasecmp_nonascii and __strncasecmp_nonascii.
30895         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
30896         (__strncasecmp_ssse3) [PIC]: Likewise.
30898 2013-08-26  Roland McGrath  <roland@hack.frob.com>
30900         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
30902         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
30903         instead of explicitly declaring xdecrypt.
30904         * nis/nss_nis/nis-publickey.c: Likewise.
30906 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30908         [BZ #15890]
30909         * nscd/aicache.c: Include res_hconf.h.
30910         (addhstaiX): Initialize res_hconf.
30912 2013-08-26  Andreas Schwab  <schwab@suse.de>
30914         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
30915         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
30917 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30919         * nscd/aicache.c (addhstaiX): Fix indentation.
30921 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
30923         * configure.ac: Quote $build_pt_chown test.
30924         * configure: Regenerated.
30926 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
30928         [BZ #15532]
30929         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
30930         * math/s_cexpf.c (__cexpf): Likewise.
30931         * math/s_cexpl.c (__cexpl): Likewise.
30932         * math/libm-test.inc (cexp_test_data): Correct expected return
30933         value for NaN + i0.  Add another test.
30935 2013-08-22  David S. Miller  <davem@davemloft.net>
30937         * po/ca.po: Update Catalan translation from translation project.
30938         * po/uk.po: Add Ukrainian translations from translation project.
30940 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
30942         [BZ #15797]
30943         * math/s_fdim.c (__fdim): Check for infinite arguments if result
30944         is infinite, not alongside NaN test.
30945         * math/s_fdimf.c (__fdimf): Likewise.
30946         * math/s_fdiml.c (__fdiml): Likewise.
30947         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
30948         errno is unchanged.
30950 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
30952         * argp/argp-help.c: Fix typos.
30953         * crypt/speeds.c: Likewise.
30954         * csu/check_fds.c: Likewise.
30955         * elf/dl-load.c: Likewise.
30956         * elf/dl-open.c: Likewise.
30957         * elf/reldep3.c: Likewise.
30958         * elf/reldep.c: Likewise.
30959         * elf/sprof.c: Likewise.
30960         * iconv/iconv_charmap.c: Likewise.
30961         * iconv/skeleton.c: Likewise.
30962         * iconv/strtab.c: Likewise.
30963         * io/lockf64.c: Likewise.
30964         * libio/libioP.h: Likewise.
30965         * resolv/gai_notify.c: Likewise.
30966         * resolv/ns_name.c: Likewise.
30967         * resolv/ns_samedomain.c: Likewise.
30968         * resolv/res_send.c: Likewise.
30969         * stdlib/random.c: Likewise.
30970         * sunrpc/rpc/xdr.h: Likewise.
30971         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
30972         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30973         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30974         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30975         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30976         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30977         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30978         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30979         * sysdeps/mach/hurd/check_fds.c: Likewise.
30980         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30981         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30982         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30983         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30984         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30985         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30986         * sysdeps/pthread/aio_notify.c: Likewise.
30987         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
30988         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
30989         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
30990         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30991         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30993 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30995         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
30996         version if bit_Slow_SSE4_2 is set.
30997         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30998         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31000 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31002         [BZ #15867]
31003         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
31004         trampoline stack frame information.
31005         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
31006         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
31007         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
31008         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
31009         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
31010         * sysdeps/unix/sysv/linux/powerpc/init-first.c
31011         (_libc_vdso_platform_setup): Initialize the signal trampolines.
31012         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
31013         sa_flags value.
31014         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
31015         interrupting a syscall and set with option SA_SIGINFO.
31017 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
31019         [BZ #15531]
31020         * math/s_cproj.c (__cproj): Only return an infinity if one part of
31021         argument is infinite.
31022         * math/s_cprojf.c (__cprojf): Likewise.
31023         * math/s_cprojl.c (__cprojl): Likewise.
31024         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
31025         * math/libm-test.inc (cproj_test_data): Add more tests.
31027         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
31029         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
31030         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
31031         size.  Use __ffs to determine corresponding shift.
31033 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
31034             Roland McGrath  <roland@hack.frob.com>
31036         * Makefile (INSTALL): Remove trailing blank lines from output of
31037         makeinfo.
31039 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31041         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
31042         Align 32 bit compat elf_greg to 8 bytes.
31044 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
31046         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
31048 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31050         * string/strcoll_l.c (coll_seq): New structure.
31051         (get_next_seq_cached): New function.
31052         (get_next_seq): New function.
31053         (do_compare): New function.
31054         (STRCOLL): Use GNU style definition.  Simplify implementation
31055         by using get_next_seq, get_next_seq_cached and do_compare.
31057 2013-08-16  Florian Weimer  <fweimer@redhat.com>
31059         [BZ #14699]
31060         CVE-2013-4237
31061         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
31062         member.
31063         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
31064         member.
31065         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
31066         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
31067         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
31068         conditional.
31069         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
31070         GETDENTS_64BIT_ALIGNED.
31071         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31072         * manual/filesys.texi (Reading/Closing Directory): Document
31073         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
31074         strongly.
31075         * manual/conf.texi (Limits for Files): Add portability note to
31076         NAME_MAX, PATH_MAX.
31077         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
31079 2013-08-13  Andreas Schwab  <schwab@suse.de>
31081         [BZ #15749]
31082         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
31083         of fabs.
31084         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
31085         LDBL_MAX_EXP >= 16384]: Add tests for it.
31087 2013-08-12  David S. Miller  <davem@davemloft.net>
31089         * version.h (RELEASE): Set to "development".
31090         (VERSION): Set to "2.18.90".
31091         * NEWS: Add 2.19 section.
31093 2013-08-03  David S. Miller  <davem@davemloft.net>
31095         * po/ko.po: Update Korean translation from translation project.
31097 2013-08-01  David S. Miller  <davem@davemloft.net>
31099         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
31100         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
31101         Bilka.
31103 2013-07-30  David S. Miller  <davem@davemloft.net>
31105         * po/fr.po: Update French translation from translation project.
31107 2013-07-28  David S. Miller  <davem@davemloft.net>
31109         * po/cs.po: Update Czech translation from translation project.
31111         * po/sv.po: Update Swedish translation from translation project.
31113 2013-07-27  David S. Miller  <davem@davemloft.net>
31115         * po/eo.po: Update Esperanto translation from translation project.
31117         * po/vi.po: Update Vietnamese translation from translation project.
31119         * po/de.po: Update German translation from translation project.
31121 2013-07-26  David S. Miller  <davem@davemloft.net>
31123         * po/bg.po: Update Bulgarian translation from translation project.
31125         * po/nl.po: Update Dutch translation from translation project.
31126         * po/pl.po: Update Polish translation from translation project.
31127         * po/ru.po: Update Russian translation from translation project.
31129 2013-07-24  David S. Miller  <davem@davemloft.net>
31131         * po/libc.pot: Update.
31133 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31135         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
31136         variable page size.
31137         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
31138         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
31139         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
31141 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31143         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
31145 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31146             Andreas Schwab  <schwab@suse.de>
31147             Roland McGrath  <roland@hack.frob.com>
31148             Joseph Myers  <joseph@codesourcery.com>
31149             Carlos O'Donell  <carlos@redhat.com>
31151         [BZ #15755]
31152         * config.h.in: Define HAVE_PT_CHOWN.
31153         * config.make.in (build-pt-chown): New variable.
31154         * configure.in (--enable-pt_chown): New configure option.
31155         * configure: Regenerate.
31156         * login/Makefile: Include Makeconfig.  Build pt_chown only if
31157         build-pt-chown is enabled.
31158         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
31159         pt_chown to fix pty ownership.
31160         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
31161         CLOSE_ALL_FDS.
31162         * manual/install.texi (Configuring and compiling): Mention
31163         --enable-pt_chown. Add @findex for grantpt.
31164         * INSTALL: Regenerate.
31166 2013-07-20  David S. Miller  <davem@davemloft.net>
31168         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
31169         difference between 32-bit and 64-bit.
31171 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
31173         [BZ #15711]
31174         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
31175         Avoid system header dependency with -ffreestanding.
31176         ($(objpfx)bits/syscall%d): Likewise.
31178 2013-07-13  David S. Miller  <davem@davemloft.net>
31180         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
31181         underflows from atanl/atan2l due to bug 15319.
31182         (casinh_test_data): Likewise.
31184 2013-07-07  David S. Miller  <davem@davemloft.net>
31186         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
31188 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
31190         * sysdeps/i386/fpu/libm-test-ulps: Update.
31191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31193 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31195         * configure.in (--enable-lock-elision): Fix message text.
31196         * INSTALL: Regenerate.
31197         * configure: Regenerate.
31199 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31201         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31203 2013-07-03  Andreas Jaeger  <aj@suse.de>
31205         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
31206         define.
31207         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
31208         (ptrace_peeksiginfo_args): Add.
31209         (__ptrace_peeksiginfo_flags): Add.
31210         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31211         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31212         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31214 2013-07-03  Allan McRae  <allan@archlinux.org>
31216         * sysdeps/i386/fpu/libm-test-ulps: Update.
31218 2013-07-02  David S. Miller  <davem@davemloft.net>
31220         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31222 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
31224         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31226 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
31228         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31231 2013-07-02  Andi Kleen <ak@linux.intel.com>
31233         * config.h.in (ENABLE_LOCK_ELISION): Add.
31234         * configure.in (--enable-lock-elision): Add option.
31235         * manual/install.texi: Document --enable lock elision.
31236         * configure: Regenerate
31237         * INSTALL: Regenerate.
31239 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
31241         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
31242         SSE4.2 strcasecmp for libc.a.
31243         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
31245 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
31247         [BZ #13304]
31248         * soft-fp/op-common.h (_FP_FMA): New macro.
31249         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
31250         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
31251         (_FP_MUL_MEAT_1_imm): ... here.
31252         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
31253         (_FP_MUL_MEAT_1_wide): ... here.
31254         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
31255         (_FP_MUL_MEAT_1_hard): ... here.
31256         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
31257         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
31258         (_FP_MUL_MEAT_2_wide): ... here.
31259         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
31260         (_FP_MUL_MEAT_2_wide_3mul): ... here.
31261         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
31262         (_FP_MUL_MEAT_2_gmp): ... here.
31263         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
31264         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
31265         (_FP_MUL_MEAT_4_wide): ... here.
31266         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
31267         (_FP_MUL_MEAT_4_gmp): ... here.
31268         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
31269         (_FP_WFRACBITS_DW_S): Likewise.
31270         (_FP_WFRACXBITS_DW_S): Likewise.
31271         (_FP_HIGHBIT_DW_S): Likewise.
31272         (FP_FMA_S): Likewise.
31273         (_FP_FRAC_HIGH_DW_S): Likewise.
31274         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
31275         (_FP_WFRACBITS_DW_D): Likewise.
31276         (_FP_WFRACXBITS_DW_D): Likewise.
31277         (_FP_HIGHBIT_DW_D): Likewise.
31278         (FP_FMA_D): Likewise.
31279         (_FP_FRAC_HIGH_DW_D): Likewise.
31280         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
31281         (_FP_WFRACBITS_DW_E): Likewise.
31282         (_FP_WFRACXBITS_DW_E): Likewise.
31283         (_FP_HIGHBIT_DW_E): Likewise.
31284         (FP_FMA_E): Likewise.
31285         (_FP_FRAC_HIGH_DW_E): Likewise.
31286         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
31287         (_FP_WFRACBITS_DW_Q): Likewise.
31288         (_FP_WFRACXBITS_DW_Q): Likewise.
31289         (_FP_HIGHBIT_DW_Q): Likewise.
31290         (FP_FMA_Q): Likewise.
31291         (_FP_FRAC_HIGH_DW_Q): Likewise.
31292         * soft-fp/fmasf4.c: New file.
31293         * soft-fp/fmadf4.c: Likewise.
31294         * soft-fp/fmatf4.c: Likewise.
31296 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31298         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31299         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
31300         Silvermont.
31301         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
31302         macro.
31303         (index_Slow_SSE4_2): Likewise.
31304         (index_Prefer_PMINUB_for_stringop): Likewise.
31305         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
31306         bit_Slow_SSE4_2 is set.
31307         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31308         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31310 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31312         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
31313         rtld_global._dl_hwcap2.
31314         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
31315         POWER8.
31316         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
31317         POWER8 feature descriptions defined in _dl_hwcap2.
31318         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
31319         string handling for POWER8 feature bits.
31320         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
31321         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
31322         _dl_powerpc_cap_flags.
31323         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
31324         * sysdeps/powerpc/rtld-global-offsets.sym
31325         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
31326         _dl_hwcap2 in the rtld_global_ro structure.
31328 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31330         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
31331         hardware capabilities in support of AT_HWCAP2.
31332         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
31333         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
31334         GLRO(dl_hwcap2).
31335         (_dl_show_auxv): Add support for calling _dl_procinfo to display
31336         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
31337         explicitly the unknown a_type display mechanism is used.
31338         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
31339         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
31340         struct member.
31341         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
31342         to macro prototype for AT_HWCAP2 support.
31343         * sysdeps/i386/dl-procinfo.h: Likewise.
31344         * sysdeps/s390/dl-procinfo.h: Likewise.
31345         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
31346         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
31347         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
31348         return -1 for unknown a_type display fallback.
31349         * sysdeps/sparc/dl-procinfo.h: Likewise.
31350         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
31351         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
31353 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
31355         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
31356         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
31358 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
31360         [BZ #12492]
31361         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
31362         mprotect making __stack_prot writable.
31364 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
31365             Joseph Myers  <joseph@codesourcery.com>
31367         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
31368         as being properly aligned.
31370 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
31372         * dlfcn/modstatic5.c: New file.
31373         * dlfcn/tststatic5.c: New file.
31374         * dlfcn/Makefile (tests): Add tststatic5.
31375         (tests-static): Likewise.
31376         (modules-names): Add modstatic5.
31377         (tststatic5-ENV): New variable.
31378         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
31380         [BZ #15022]
31381         * elf/dl-support.c (_dl_main_map): New variable.
31382         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
31383         (_dl_nns, _dl_load_adds): Set to 1.
31384         (_dl_initial_searchlist): Refer to _dl_main_map.
31385         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
31386         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
31387         call to _dl_get_origin.
31388         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
31389         around call_map.
31390         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
31391         * dlfcn/modstatic3.c: New file.
31392         * dlfcn/tststatic3.c: New file.
31393         * dlfcn/tststatic4.c: New file.
31394         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
31395         (tests-static): Likewise.
31396         (modules-names): Add modstatic3.
31397         (tststatic3-ENV, tststatic4-ENV): New variables.
31398         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
31399         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
31401 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
31403         * configure.in (CC): Require GCC version 4.4 or later.
31404         * configure: Regenerated.
31405         * manual/install.texi (Tools for Compilation): Update GCC version
31406         requirement.
31407         * INSTALL: Regenerated.
31409 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31411         [BZ #15674]
31412         * string/test-memcmp.c (check2): New.
31413         (main): Call check2.
31415         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
31417 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
31419         [BZ #15022]
31420         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
31421         over to...
31422         (dl_open_worker) [!SHARED]: ... here.
31424 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31426         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
31428 2013-06-25  Richard Henderson  <rth@redhat.com>
31430         * locale/programs/locarchive.c: Include <libc-internal.h>
31432 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
31434         * manual/texinfo.tex: Update to version 2013-06-21.17, with
31435         trailing whitespace removed.
31437 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
31439         [BZ #10283]
31440         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
31441         * locale/programs/locarchive.c: Include libc-mmap.h.
31442         (prepare_address_space): Take two new outputs (the mmap base and len).
31443         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
31444         values.
31445         (create_archive): Declare new mmap base and len values for
31446         prepare_address_space, and store the result in ah.
31447         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
31448         (enlarge_archive): If ah->mmap_base is not NULL, use that and
31449         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
31450         Declare new mmap base and len values for
31451         prepare_address_space, and store the result in new_ah.
31452         (open_archive): Declare new mmap base and len values for
31453         prepare_address_space, and store the result in ah.
31454         (close_archive): If ah->mmap_base is not NULL, use that and
31455         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
31456         * sysdeps/generic/libc-mmap.h: New file.
31458 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
31460         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
31461         (ALIGN_UP): Likewise.
31462         (PTR_ALIGN_DOWN): Likewise.
31463         (PTR_ALIGN_UP): Likewise.
31465 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31467         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
31468         entry mapped to PPC_PLATFORM_POWER8.
31469         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
31470         POWER8.
31471         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
31472         (_dl_string_platform): Add case for exporting platform position for
31473         POWER8.
31474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
31475         search path to sysdeps/powerpc/powerpc32/power8 directory.
31476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
31477         search path to sysdeps/powerpc/powerpc64/power8 directory.
31478         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
31479         power7 directories.
31480         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
31481         power7 directories.
31483 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31485         * INSTALL: Regenerate.
31487         * nscd/connections.c (nscd_init): Fix comment.
31489 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
31491         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
31493         [BZ #15667]
31494         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
31495         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
31497 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
31499         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
31500         DL_DST_REQ_STATIC.
31501         (DL_DST_REQ_STATIC): Remove macro.
31503 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
31505         [BZ #7006]
31506         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
31507         with a shift of 0 bits.
31509 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
31511         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
31512         $(tststatic-ENV).
31514 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31516         [BZ #15655]
31517         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
31519 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31521         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
31522         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
31523         accepts -fno-tree-loop-distribute-patterns.
31524         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
31525         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
31526         recursive call.
31527         * string/memset.c (memset): Likewise.
31528         * string/test-memmove.c (simple_memmove): Disable loop transformation
31529         to library calls.
31530         * string/test-memset.c (simple_memset): Likewise.
31531         * benchtests/bench-memmove.c (simple_memmove): Likewise.
31532         * benchtests/bench-memset.c (simple_memset): Likewise.
31533         * configure: Regenerated.
31535 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
31537         * math/test-misc.c (main): Ignore fesetround failure when failures
31538         of subsequent rounding tests would be ignored.
31540         [BZ #15654]
31541         * math/fedisblxcpt.c (fedisableexcept): Return 0.
31542         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
31543         * math/fegetenv.c (__fegetenv): Return 0.
31544         * math/fegetexcept.c (fegetexcept): Return 0.
31545         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
31546         FE_TONEAREST.
31547         * math/feholdexcpt.c (feholdexcept): Return 0.
31548         * math/fesetenv.c (__fesetenv): Return 0.
31549         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
31550         argument FE_TONEAREST.
31551         * math/feupdateenv.c (__feupdateenv): Return 0.
31552         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
31554 2013-06-18  Roland McGrath  <roland@hack.frob.com>
31556         * elf/rtld-Rules (rtld-compile-command.S): New variable.
31557         (rtld-compile-command.s, rtld-compile-command.c): New variables.
31558         ($(objpfx)rtld-%.os rules): Use them.
31560 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31562         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
31563         fields.
31565 2013-06-17  Roland McGrath  <roland@hack.frob.com>
31567         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
31568         length of target pattern, then descending length of dependency pattern.
31569         * configure.in (AWK): Require gawk 3.1.2 or newer.
31570         * manual/install.texi (Tools for Compilation): Say that we do.
31571         * configure: Regenerated.
31573         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
31574         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
31575         * scripts/sysd-rules.awk: ... this new script.
31576         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
31577         than a glob-style pattern.
31579 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
31581         * math/test-misc.c (main): Do not treat incorrectly rounded
31582         conversions as failure unless ROUNDING_TESTS passes.
31584 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
31586         [BZ #15631]
31587         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
31588         restore exception state around main square root computation, then
31589         check for inexactness explicitly.
31591         * math/libm-test.inc (fma_test_data): Add another test.
31593 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31595         * manual/threads.texi (Non-POSIX Extensions): New document
31596         node.  Document pthread_getattr_default_np and
31597         pthread_setattr_default_np.
31599         * Versions.def (libpthread): Add GLIBC_2.18.
31600         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
31601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31602         Likewise.
31603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31604         Likewise.
31605         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31606         Likewise.
31607         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31608         Likewise.
31609         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
31610         Likewise.
31611         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31612         Likewise.
31613         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31614         Likewise.
31615         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31616         Likewise.
31617         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31618         Likewise.
31620 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31622         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31623         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
31625 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31626             H.J. Lu  <hjl.tools@gmail.com>
31628         [BZ #15627]
31629         * sysdeps/x86_64/rtld-memset.c: Remove file.
31630         * sysdeps/x86_64/rtld-memset.S: New file.
31632 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
31634         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
31635         (test_in_one_mode): Take arguments for whether the rounding mode
31636         is supported for each floating-point type.
31637         (do_test): Pass new arguments to test_in_one_mode using
31638         ROUNDING_TESTS.
31640 2013-06-13  Roland McGrath  <roland@hack.frob.com>
31642         * posix/tst-waitid.c (do_test): Distinguish different instances of
31643         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
31644         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
31645         before entering the kernel for waitpid.
31647 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31649         * NEWS: Fix note on clock function precision.  Text by Roland
31650         McGrath.
31652 2013-06-13  Roland McGrath  <roland@hack.frob.com>
31654         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
31655         it into place only when and if the sanity check passes.
31657 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
31659         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
31660         output for whether conversion result is exact.  Take argument
31661         indicating whether type is IBM long double.
31662         (round_for_all): Change need_exact field to ibm_ld.
31663         * stdlib/tst-strtod-round.c (struct exactness): New type.
31664         (struct test): Change bool ld_ok field to struct exactness exact.
31665         (TEST): Update all definitions for change to field.
31666         (tests): Regenerate array contents.
31667         (test_in_one_mode): Take pointer to new field instead of old ld_ok
31668         field value.  Check for IBM long double here.
31669         (do_test): Update calls to test_in_one_mode.
31671 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31673         [BZ #12515]
31674         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
31675         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
31677 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31679         [BZ #15605]
31680         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
31681         generated by the compiler on loop optimizations.
31682         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
31683         general definitions.
31685 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
31687         * math/bug-nextafter.c: Include <math-tests.h>.
31688         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31689         the relevant type.
31690         * math/bug-nexttoward.c: Include <math-tests.h>.
31691         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31692         the relevant type.
31693         * math/test-misc.c: Include <math-tests.h>.
31694         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31695         the relevant type.
31697 2013-06-12  Andreas Jaeger  <aj@suse.de>
31699         * po/ia.po: Update Interlingua translation from translation
31700         project.
31702 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31704         * include/fenv.h: Include stdbool.h.
31705         (struct rm_ctx): New structure.
31706         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
31707         Define macro.
31708         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
31709         (SET_RESTORE_ROUNDF): Likewise.
31710         (SET_RESTORE_ROUNDL): Likewise.
31711         (SET_RESTORE_ROUND_NOEX): Likewise.
31712         (SET_RESTORE_ROUND_NOEXF): Likewise.
31713         (SET_RESTORE_ROUND_NOEXL): Likewise.
31714         (SET_RESTORE_ROUND_53BIT): Likewise.
31715         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
31716         (libc_feresetround_noexf_ctx): Likewise.
31717         (libc_feresetround_noexl_ctx): Likewise.
31718         (libc_feholdsetround_53bit_ctx): Likewise.
31719         (libc_feresetround_53bit_ctx): Likewise.
31720         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
31721         (libc_feholdexcept_setround_sse_ctx): New function.
31722         (libc_fesetenv_sse_ctx): Likewise.
31723         (libc_feupdateenv_sse_ctx): Likewise.
31724         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
31725         (libc_feholdexcept_setround_387_ctx): Likewise.
31726         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
31727         (libc_feholdsetround_387_prec_ctx): Likewise.
31728         (libc_feholdsetround_387_ctx): Likewise.
31729         (libc_feholdsetround_387_53bit_ctx): Likewise.
31730         (libc_feholdsetround_sse_ctx): Likewise.
31731         (libc_feresetround_sse_ctx): Likewise.
31732         (libc_feresetround_387_ctx): Likewise.
31733         (libc_feupdateenv_387_ctx): Likewise.
31734         (libc_feholdexcept_setroundf_ctx): Define macro.
31735         (libc_fesetenvf_ctx): Likewise.
31736         (libc_feupdateenvf_ctx): Likewise.
31737         (libc_feholdsetroundf_ctx): Likewise.
31738         (libc_feresetroundf_ctx): Likewise.
31739         (libc_feholdexcept_setround_ctx): Likewise.
31740         (libc_fesetenv_ctx): Likewise.
31741         (libc_feupdateenv_ctx): Likewise.
31742         (libc_feholdsetround_ctx): Likewise.
31743         (libc_feresetround_ctx): Likewise.
31744         (libc_feholdexcept_setroundl_ctx): Likewise.
31745         (libc_feupdateenvl_ctx): Likewise.
31746         (libc_feholdsetroundl_ctx): Likewise.
31747         (libc_feresetroundl_ctx): Likewise.
31748         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
31749         (libc_feresetround_53bit_ctx): Likewise.
31751 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31753         * locale/iso-639.def: Convert to UTF-8.
31755 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
31757         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
31758         (EXCEPTION_TESTS_double): Likewise.
31759         (EXCEPTION_TESTS_long_double): Likewise.
31760         (EXCEPTION_TESTS): Likewise.
31761         * math/libm-test.inc (test_exceptions): Only test exceptions if
31762         EXCEPTION_TESTS (FLOAT).
31764 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31766         * benchtests/Makefile (string-bench): Add strcpy_chk and
31767         stpcpy_chk.
31768         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
31769         * benchtests/bench-stpcpy_chk.c: New file.
31770         * benchtests/bench-strcpy_chk-ifunc.c: New file.
31771         * benchtests/bench-strcpy_chk.c: New file.
31772         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
31773         code.
31774         (do_test): Likewise.
31776 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31778         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
31779         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
31780         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
31781         with tabs where appropriate.
31782         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
31783         dl-procinfo.h.
31784         [PPC_PLATFORM_PPC440]: Likewise.
31785         [PPC_PLATFORM_PPC464]: Likewise.
31786         [PPC_PLATFORM_PPC476]: Likewise.
31787         (_dl_string_platform): Add support for detecting ppc405, ppc440,
31788         ppc464, and ppc476 platform strings merging from ports/
31789         dl-procinfo.h.
31791 2013-06-11  Andreas Schwab  <schwab@suse.de>
31793         [BZ #14991]
31794         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
31795         (from_ucs4_idx): Regenerate.
31796         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
31797         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
31798         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
31799         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
31800         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
31801         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
31802         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
31803         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
31804         from FROM_LOOP and TO_LOOP specific macros.
31805         (BODY): Handle combining characters.
31806         * iconvdata/BIG5HKSCS.irreversible: Update.
31807         * iconvdata/BIG5HKSCS.precomposed: New file.
31808         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
31809         characters.
31810         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
31812 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31814         * include/sys/time.h: Fix indentation and add copyright header.
31816         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
31817         (do_test): Likewise.
31818         * string/test-memchr.c (do_one_test): Likewise.
31819         (do_test): Likewise.
31820         * string/test-memcmp.c (do_one_test): Likewise.
31821         (do_test): Likewise.
31822         * string/test-memcpy.c (do_one_test): Likewise.
31823         (do_test): Likewise.
31824         * string/test-memmem.c (do_one_test): Likewise.
31825         (do_test): Likewise.
31826         (do_random_tests): Likewise.
31827         * string/test-memmove.c (do_one_test): Likewise.
31828         (do_test): Likewise.
31829         * string/test-memset.c (do_one_test): Likewise.
31830         (do_test): Likewise.
31831         * string/test-rawmemchr.c (do_one_test): Likewise.
31832         (do_test): Likewise.
31833         * string/test-strcasecmp.c (do_one_test): Likewise.
31834         (do_test): Likewise.
31835         * string/test-strcasestr.c (do_one_test): Likewise.
31836         (do_test): Likewise.
31837         * string/test-strcat.c (do_one_test): Likewise.
31838         (do_test): Likewise.
31839         * string/test-strchr.c (do_one_test): Likewise.
31840         (do_test): Likewise.
31841         * string/test-strcmp.c (do_one_test): Likewise.
31842         (do_test): Likewise.
31843         * string/test-strcpy.c (do_one_test): Likewise.
31844         (do_test): Likewise.
31845         * string/test-string.h: Likewise.
31846         (test_init): Likewise.
31847         * string/test-strlen.c (do_one_test): Likewise.
31848         (do_test): Likewise.
31849         * string/test-strncasecmp.c (do_one_test): Likewise.
31850         (do_test): Likewise.
31851         * string/test-strncat.c (do_one_test): Likewise.
31852         (do_test): Likewise.
31853         * string/test-strncmp.c (do_one_test): Likewise.
31854         (do_test_limit): Likewise.
31855         (do_test): Likewise.
31856         * string/test-strncpy.c (do_one_test): Likewise.
31857         (do_test): Likewise.
31858         * string/test-strnlen.c (do_one_test): Likewise.
31859         (do_test): Likewise.
31860         * string/test-strpbrk.c (do_one_test): Likewise.
31861         (do_test): Likewise.
31862         * string/test-strrchr.c (do_one_test): Likewise.
31863         (do_test): Likewise.
31864         * string/test-strspn.c (do_one_test): Likewise.
31865         (do_test): Likewise.
31866         * string/test-strstr.c (do_one_test): Likewise.
31867         (do_test): Likewise.
31869         * benchtests/Makefile (string-bench): Add string benchmarks.
31870         * benchtests/bench-bcopy-ifunc.c: New file.
31871         * benchtests/bench-bcopy.c: New file.
31872         * benchtests/bench-bzero-ifunc.c: New file.
31873         * benchtests/bench-bzero.c: New file.
31874         * benchtests/bench-memccpy-ifunc.c: New file.
31875         * benchtests/bench-memccpy.c: New file.
31876         * benchtests/bench-memchr-ifunc.c: New file.
31877         * benchtests/bench-memchr.c: New file.
31878         * benchtests/bench-memcmp-ifunc.c: New file.
31879         * benchtests/bench-memcmp.c: New file.
31880         * benchtests/bench-memmem-ifunc.c: New file.
31881         * benchtests/bench-memmem.c: New file.
31882         * benchtests/bench-memmove-ifunc.c: New file.
31883         * benchtests/bench-memmove.c: New file.
31884         * benchtests/bench-mempcpy-ifunc.c: New file.
31885         * benchtests/bench-mempcpy.c: New file.
31886         * benchtests/bench-memset-ifunc.c: New file.
31887         * benchtests/bench-memset.c: New file.
31888         * benchtests/bench-rawmemchr-ifunc.c: New file.
31889         * benchtests/bench-rawmemchr.c: New file.
31890         * benchtests/bench-stpcpy-ifunc.c: New file.
31891         * benchtests/bench-stpcpy.c: New file.
31892         * benchtests/bench-stpncpy-ifunc.c: New file.
31893         * benchtests/bench-stpncpy.c: New file.
31894         * benchtests/bench-strcasecmp-ifunc.c: New file.
31895         * benchtests/bench-strcasecmp.c: New file.
31896         * benchtests/bench-strcasestr-ifunc.c: New file.
31897         * benchtests/bench-strcasestr.c: New file.
31898         * benchtests/bench-strcat-ifunc.c: New file.
31899         * benchtests/bench-strcat.c: New file.
31900         * benchtests/bench-strchr-ifunc.c: New file.
31901         * benchtests/bench-strchr.c: New file.
31902         * benchtests/bench-strchrnul-ifunc.c: New file.
31903         * benchtests/bench-strchrnul.c: New file.
31904         * benchtests/bench-strcmp-ifunc.c: New file.
31905         * benchtests/bench-strcmp.c: New file.
31906         * benchtests/bench-strcpy-ifunc.c: New file.
31907         * benchtests/bench-strcpy.c: New file.
31908         * benchtests/bench-strcspn-ifunc.c: New file.
31909         * benchtests/bench-strcspn.c: New file.
31910         * benchtests/bench-strlen-ifunc.c: New file.
31911         * benchtests/bench-strlen.c: New file.
31912         * benchtests/bench-strncasecmp-ifunc.c: New file.
31913         * benchtests/bench-strncasecmp.c: New file.
31914         * benchtests/bench-strncat-ifunc.c: New file.
31915         * benchtests/bench-strncat.c: New file.
31916         * benchtests/bench-strncmp-ifunc.c: New file.
31917         * benchtests/bench-strncmp.c: New file.
31918         * benchtests/bench-strncpy-ifunc.c: New file.
31919         * benchtests/bench-strncpy.c: New file.
31920         * benchtests/bench-strnlen-ifunc.c: New file.
31921         * benchtests/bench-strnlen.c: New file.
31922         * benchtests/bench-strpbrk-ifunc.c: New file.
31923         * benchtests/bench-strpbrk.c: New file.
31924         * benchtests/bench-strrchr-ifunc.c: New file.
31925         * benchtests/bench-strrchr.c: New file.
31926         * benchtests/bench-strspn-ifunc.c: New file.
31927         * benchtests/bench-strspn.c: New file.
31928         * benchtests/bench-strstr-ifunc.c: New file.
31929         * benchtests/bench-strstr.c: New file.
31931         * benchtests/Makefile: Disable parallel execution of targets.
31932         (string-bench): Add memcpy.
31933         (benchset): New variable to store a list of benchmark sets.
31934         (bench-func): Renamed from bench.
31935         (bench-set): New target.
31936         (bench): Depend on bench-func and bench-set.
31937         * benchtests/README: Add section on benchmark sets.
31938         * benchtests/bench-memcpy-ifunc.c: New file.
31939         * benchtests/bench-memcpy.c: New file.
31940         * benchtests/bench-string.h: New file.
31942 2013-06-11  Andreas Schwab  <schwab@suse.de>
31944         [BZ #15577]
31945         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
31946         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
31947         values in the triple.
31948         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
31949         terminator in the group key.
31951 2013-06-11  Andreas Jaeger  <aj@suse.de>
31953         * po/zh_TW.po: Update Chinese (traditional) translation from
31954         translation project.
31956 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31958         * include/time.h (__clock_gettime): Add libc_hidden_proto.
31959         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
31960         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
31961         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31962         (clock_getcpuclockid): Likewise.
31963         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
31964         Add weak_alias and libc_hidden_def.
31965         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
31966         * rt/clock_gettime.c (clock_gettime): Rename to
31967         __clock_gettime.  Add weak_alias and libc_hidden_def.
31968         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
31969         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
31970         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
31971         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
31972         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
31973         Likewise.
31974         * rt/clock_settime.c (clock_settime): Rename to
31975         __clock_settime.  Add weak_alias and libc_hidden_def.
31976         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
31978 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
31980         * mach/err_boot.sub: Remove trailing whitespace.
31981         * mach/err_ipc.sub: Likewise.
31982         * mach/err_mach.sub: Likewise.
31984         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
31985         (ROUNDING_TESTS_double): Likewise.
31986         (ROUNDING_TESTS_long_double): Likewise.
31987         (ROUNDING_TESTS): Likewise.
31988         * math/libm-test.inc: Include <math-tests.h>.
31989         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
31990         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31991         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31992         (IF_ROUND_INIT_FE_UPWARD): Likewise.
31994 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31996         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
31997         of assigning.
31999 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
32001         * sysdeps/gnu/errlist.awk: Do not generate space at end of
32002         otherwise empty TRANS lines.
32003         * sysdeps/gnu/errlist.c: Regenerated.
32005         * catgets/gencat.c (error_print): Use (void) in function
32006         definition.
32007         * crypt/crypt_util.c (__init_des): Likewise.
32008         * crypt/speeds.c (Stop): Likewise.
32009         (main): Likewise.
32010         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
32011         * inet/ruserpass.c (token): Likewise.
32012         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
32013         * intl/localealias.c (extend_alias_table): Likewise.
32014         * intl/plural-exp.c (init_germanic_plural): Likewise.
32015         * libio/fcloseall.c (__fcloseall): Likewise.
32016         * libio/genops.c (_IO_flush_all): Likewise.
32017         (_IO_flush_all_linebuffered): Likewise.
32018         (_IO_cleanup): Likewise.
32019         (_IO_iter_begin): Likewise.
32020         (_IO_iter_end): Likewise.
32021         (_IO_list_lock): Likewise.
32022         (_IO_list_unlock): Likewise.
32023         (_IO_list_resetlock): Likewise.
32024         * libio/getchar.c (getchar): Likewise.
32025         * libio/getchar_u.c (getchar_unlocked): Likewise.
32026         * libio/getwchar.c (getwchar): Likewise.
32027         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
32028         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
32029         * login/getpt.c (__getpt): Likewise.
32030         * login/tst-utmp.c (main): Likewise.
32031         * malloc/hooks.c (__malloc_check_init): Likewise.
32032         * malloc/malloc.c (__malloc_stats): Likewise.
32033         * malloc/mtrace.c (tr_break): Likewise.
32034         (mtrace): Likewise.
32035         (muntrace): Likewise.
32036         * misc/fstab.c (endfsent): Likewise.
32037         * misc/getclktck.c (__getclktck): Likewise.
32038         * misc/getdtsz.c (__getdtablesize): Likewise.
32039         * misc/gethostid.c (gethostid): Likewise.
32040         * misc/getpagesize.c (__getpagesize): Likewise.
32041         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
32042         (__get_nprocs): Likewise.
32043         (__get_phys_pages): Likewise.
32044         (__get_avphys_pages): Likewise.
32045         * misc/getttyent.c (getttyent): Likewise.
32046         (setttyent): Likewise.
32047         (endttyent): Likewise.
32048         * misc/getusershell.c (getusershell): Likewise.
32049         (endusershell): Likewise.
32050         (setusershell): Likewise.
32051         (initshells): Likewise.
32052         * misc/hsearch.c (__hdestroy): Likewise.
32053         * misc/sync.c (sync): Likewise.
32054         * misc/syslog.c (closelog_internal): Likewise.
32055         (closelog): Likewise.
32056         * misc/ttyslot.c (ttyslot): Likewise.
32057         * misc/vhangup.c (vhangup): Likewise.
32058         * posix/fork.c (__fork): Likewise.
32059         * posix/getegid.c (__getegid): Likewise.
32060         * posix/geteuid.c (__geteuid): Likewise.
32061         * posix/getgid.c (__getgid): Likewise.
32062         * posix/getpid.c (__getpid): Likewise.
32063         * posix/getppid.c (__getppid): Likewise.
32064         * posix/getuid.c (__getuid): Likewise.
32065         * posix/pause.c (pause): Likewise.
32066         * posix/setpgrp.c (setpgrp): Likewise.
32067         * posix/setsid.c (__setsid): Likewise.
32068         * posix/test-vfork.c (noop): Likewise.
32069         * resolv/gethnamaddr.c (_endhtent): Likewise.
32070         (_gethtent): Likewise.
32071         (ht_endhostent): Likewise.
32072         (gethostent): Likewise.
32073         (dns_service): Likewise.
32074         * stdlib/drand48.c (drand48): Likewise.
32075         * stdlib/lrand48.c (lrand48): Likewise.
32076         * stdlib/mrand48.c (mrand48): Likewise.
32077         * stdlib/rand.c (rand): Likewise.
32078         * stdlib/random.c (__random): Likewise.
32079         * stdlib/setenv.c (clearenv): Likewise.
32080         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
32081         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
32082         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
32083         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
32084         (__get_nprocs): Likewise.
32085         (__get_phys_pages): Likewise.
32086         (__get_avphys_pages): Likewise.
32087         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
32088         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
32089         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
32090         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
32091         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
32092         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
32093         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
32094         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
32095         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
32096         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
32097         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
32098         * sysdeps/mach/hurd/sync.c (sync): Likewise.
32099         * sysdeps/posix/clock.c (clock): Likewise.
32100         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
32101         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
32102         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
32103         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32104         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
32105         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32106         (__get_nprocs_conf): Likewise.
32107         (__get_phys_pages): Likewise.
32108         (__get_avphys_pages): Likewise.
32109         * time/clock.c (clock): Likewise.
32110         * time/tzset.c (__tzname_max): Likewise.
32112 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
32114         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
32115         (__bswap_32): Do not use "register".
32116         * crypt/crypt.c (_ufc_doit_r): Likewise.
32117         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
32118         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
32119         * gmon/gmon.c (__monstartup): Likewise.
32120         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
32121         * hurd/hurdmalloc.c (more_memory): Likewise.
32122         (malloc): Likewise.
32123         (free): Likewise.
32124         (realloc): Likewise.
32125         (malloc_fork_prepare): Likewise.
32126         (malloc_fork_parent): Likewise.
32127         (malloc_fork_child): Likewise.
32128         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
32129         (_svcauth_des): Likewise.
32130         * inet/inet_lnaof.c (inet_lnaof): Likewise.
32131         * inet/inet_net.c (inet_network): Likewise.
32132         * inet/inet_netof.c (inet_netof): Likewise.
32133         * inet/rcmd.c (__validuser2_sa): Likewise.
32134         * io/fts.c (fts_open): Likewise.
32135         (fts_load): Likewise.
32136         (fts_close): Likewise.
32137         (fts_read): Likewise.
32138         (fts_children): Likewise.
32139         (fts_build): Likewise.
32140         (fts_stat): Likewise.
32141         (fts_sort): Likewise.
32142         (fts_alloc): Likewise.
32143         (fts_lfree): Likewise.
32144         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
32145         (_IO_file_xsgetn): Likewise.
32146         (_IO_file_xsgetn_mmap): Likewise.
32147         * libio/iofopncook.c (_IO_cookie_read): Likewise.
32148         (_IO_cookie_write): Likewise.
32149         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
32150         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
32151         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
32152         * malloc/obstack.c (_obstack_begin): Likewise.
32153         (_obstack_begin_1): Likewise.
32154         (_obstack_newchunk): Likewise.
32155         (_obstack_allocated_p): Likewise.
32156         (obstack_free): Likewise.
32157         (_obstack_memory_used): Likewise.
32158         * misc/getttyent.c (getttynam): Likewise.
32159         (getttyent): Likewise.
32160         (skip): Likewise.
32161         (value): Likewise.
32162         * misc/getusershell.c (initshells): Likewise.
32163         * misc/syslog.c (__vsyslog_chk): Likewise.
32164         * misc/ttyslot.c (ttyslot): Likewise.
32165         * nis/nis_hash.c (__nis_hash): Likewise.
32166         * posix/fnmatch_loop.c (FCT): Likewise.
32167         * posix/getconf.c (print_all): Likewise.
32168         (main): Likewise.
32169         * posix/getopt.c (exchange): Likewise.
32170         * posix/glob.c (globfree): Likewise.
32171         (prefix_array): Likewise.
32172         (__glob_pattern_type): Likewise.
32173         * resolv/arpa/nameser.h (NS_GET16): Likewise.
32174         (NS_GET32): Likewise.
32175         (NS_PUT16): Likewise.
32176         (NS_PUT32): Likewise.
32177         * resolv/gethnamaddr.c (getanswer): Likewise.
32178         (gethostbyname2): Likewise.
32179         (gethostbyaddr): Likewise.
32180         (_gethtent): Likewise.
32181         (_gethtbyname2): Likewise.
32182         (_gethtbyaddr): Likewise.
32183         * resolv/ns_print.c (dst_s_get_int16): Likewise.
32184         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
32185         * resolv/res_init.c (__res_vinit): Likewise.
32186         (net_mask): Likewise.
32187         * resolv/res_mkquery.c (outchar): Likewise.
32188         (PRINT): Likewise.
32189         * stdio-common/printf_fp.c (outchar): Likewise.
32190         (PRINT): Likewise.
32191         * stdio-common/printf_fphex.c (outchar): Likewise.
32192         (PRINT): Likewise.
32193         * stdio-common/printf_size.c (outchar): Likewise.
32194         (PRINT): Likewise.
32195         * stdio-common/test_rdwr.c (main): Likewise.
32196         * stdio-common/tfformat.c (matches): Likewise.
32197         * stdio-common/vfprintf.c (outchar): Likewise.
32198         (printf_unknown): Likewise.
32199         (buffered_vfprintf): Likewise.
32200         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
32201         * stdio-common/xbug.c (AppendToBuffer): Likewise.
32202         (ReadFile): Likewise.
32203         * stdlib/qsort.c (SWAP): Likewise.
32204         (_quicksort): Likewise.
32205         * stdlib/setenv.c (__add_to_environ): Likewise.
32206         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
32207         * stdlib/strtol_l.c (__strtol_l): Likewise.
32208         * stdlib/tst-strtod.c (main): Likewise.
32209         * stdlib/tst-strtol.c (main): Likewise.
32210         * stdlib/tst-strtoll.c (main): Likewise.
32211         * string/bits/string2.h (__strcmp_cc): Likewise.
32212         (__strcmp_cg): Likewise.
32213         (__strcspn_c1): Likewise.
32214         (__strcspn_c2): Likewise.
32215         (__strcspn_c3): Likewise.
32216         (__strspn_c1): Likewise.
32217         (__strspn_c2): Likewise.
32218         (__strspn_c3): Likewise.
32219         (__strsep_1c): Likewise.
32220         (__strsep_2c): Likewise.
32221         (__strsep_3c): Likewise.
32222         * string/memccpy.c (__memccpy): Likewise.
32223         * string/stpcpy.c (__stpcpy): Likewise.
32224         * string/strcmp.c (strcmp): Likewise.
32225         * string/strrchr.c (strrchr): Likewise.
32226         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
32227         Likewise.
32228         * sysdeps/mach/hurd/getcwd.c
32229         (_hurd_canonicalize_directory_name_internal): Likewise.
32230         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
32231         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
32232         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
32233         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
32234         Likewise, in both definitions.
32235         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
32236         definitions.
32237         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
32238         64] (__bswap_64): Likewise.
32239         * time/test_time.c (main): Likewise.
32240         * time/tzfile.c (__tzfile_read): Likewise.
32241         (__tzfile_compute): Likewise.
32242         * time/tzset.c (__tzset_parse_tz): Likewise.
32243         (tzset_internal): Likewise.
32244         (compute_change): Likewise.
32245         * wcsmbs/wcscat.c (__wcscat): Likewise.
32246         * wcsmbs/wcschr.c (wcschr): Likewise.
32247         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
32248         * wcsmbs/wcscspn.c (wcscspn): Likewise.
32249         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
32250         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
32251         * wcsmbs/wcsspn.c (wcsspn): Likewise.
32252         * wcsmbs/wcsstr.c (wcsstr): Likewise.
32253         * wcsmbs/wmemchr.c (wmemchr): Likewise.
32254         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32255         * wcsmbs/wmemset.c (wmemset): Likewise.
32257 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
32259         * scripts/config.guess: Update to version 2013-05-16.
32260         * scripts/config.sub: Update to version 2013-04-24.
32261         * scripts/install-sh: Update to version 2011-11-20.07.
32262         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
32263         * scripts/move-if-change: Update to version 2012-01-06 07:23.
32265 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
32267         * debug/fgetws_u_chk.c: Fix leading whitespaces.
32268         * elf/sln.c: Likewise.
32269         * hurd/hurd/ioctl.h: Likewise.
32270         * hurd/hurdmalloc.c: Likewise.
32271         * hurd/xattr.c: Likewise.
32272         * include/shlib-compat.h: Likewise.
32273         * inet/ruserpass.c: Likewise.
32274         * libio/iofgets_u.c: Likewise.
32275         * libio/iofgetws_u.c: Likewise.
32276         * locale/programs/ld-identification.c: Likewise.
32277         * locale/programs/ld-time.c: Likewise.
32278         * mach/msg-destroy.c: Likewise.
32279         * nss/nss_files/files-netgrp.c: Likewise.
32280         * resolv/res_data.c: Likewise.
32281         * soft-fp/op-1.h: Likewise.
32282         * soft-fp/op-2.h: Likewise.
32283         * soft-fp/op-4.h: Likewise.
32284         * soft-fp/op-common.h: Likewise.
32285         * stdio-common/printf_fphex.c: Likewise.
32286         * stdlib/strtod_l.c: Likewise.
32287         * sunrpc/rpc/clnt.h: Likewise.
32288         * sysdeps/generic/framestate.c: Likewise.
32289         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32290         * sysdeps/i386/bsd-setjmp.S: Likewise.
32291         * sysdeps/i386/__longjmp.S: Likewise.
32292         * sysdeps/i386/setjmp.S: Likewise.
32293         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32294         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32295         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32296         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32297         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32298         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32299         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32300         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32301         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32302         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32303         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32304         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32305         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32306         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32307         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32308         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32309         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32310         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
32311         * sysdeps/ieee754/support.c: Likewise.
32312         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32313         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
32314         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
32315         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
32316         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
32317         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
32318         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
32319         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
32320         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
32321         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
32322         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
32323         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
32324         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
32325         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
32326         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
32327         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
32328         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32331 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
32333         * posix/transbug.c: Remove executable mode.
32335 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
32337         * crypt/speeds.c: Remove trailing whitespace.
32338         * dlfcn/default.c: Likewise.
32339         * elf/ifuncdep2.c: Likewise.
32340         * elf/ifuncmain1.c: Likewise.
32341         * elf/ifuncmain1vis.c: Likewise.
32342         * elf/testobj.h: Likewise.
32343         * elf/tst-stackguard1.c: Likewise.
32344         * gmon/sys/gmon.h: Likewise.
32345         * hurd/hurdmsg.c: Likewise.
32346         * hurd/new-fd.c: Likewise.
32347         * hurd/ports-get.c: Likewise.
32348         * iconvdata/ibm1008_420.c: Likewise.
32349         * inet/tst-getni1.c: Likewise.
32350         * inet/tst-getni2.c: Likewise.
32351         * libio/ioungetc.c: Likewise.
32352         * libio/wfiledoalloc.c: Likewise.
32353         * manual/libm-err-tab.pl: Likewise.
32354         * math/w_dremf.c: Likewise.
32355         * misc/ftruncate.c: Likewise.
32356         * posix/bug-glob2.c: Likewise.
32357         * posix/tst-pcre.c: Likewise.
32358         * posix/wait4.c: Likewise.
32359         * resolv/README: Likewise.
32360         * resolv/res_debug.h: Likewise.
32361         * resolv/tst-inet_ntop.c: Likewise.
32362         * setjmp/bug269-setjmp.c: Likewise.
32363         * soft-fp/extended.h: Likewise.
32364         * soft-fp/op-1.h: Likewise.
32365         * soft-fp/op-2.h: Likewise.
32366         * soft-fp/op-4.h: Likewise.
32367         * soft-fp/op-8.h: Likewise.
32368         * soft-fp/testit.c: Likewise.
32369         * stdio-common/bug16.c: Likewise.
32370         * stdlib/random.c: Likewise.
32371         * sunrpc/rpcsvc/rquota.x: Likewise.
32372         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
32373         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32374         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32375         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32376         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32377         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32378         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32379         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32380         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32381         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32382         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32383         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
32384         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32385         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
32386         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32387         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
32388         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
32389         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32390         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
32391         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32392         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32393         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32394         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
32395         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
32396         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
32397         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
32398         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32399         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32400         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32401         * sysdeps/ieee754/s_lib_version.c: Likewise.
32402         * sysdeps/mach/hurd/check_fds.c: Likewise.
32403         * sysdeps/mach/hurd/getsockname.c: Likewise.
32404         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
32405         * sysdeps/mach/hurd/recvfrom.c: Likewise.
32406         * sysdeps/powerpc/bits/link.h: Likewise.
32407         * sysdeps/powerpc/dl-procinfo.c: Likewise.
32408         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
32409         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
32410         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
32411         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32412         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
32413         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
32414         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32415         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
32416         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32417         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
32418         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
32419         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
32420         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32421         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32422         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32423         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
32424         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
32425         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32426         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32427         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32428         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
32429         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32430         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
32431         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
32432         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
32433         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
32434         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32435         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32436         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
32437         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
32438         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
32439         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32440         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32441         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
32442         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32443         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
32444         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
32445         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
32446         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
32447         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
32448         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
32449         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
32450         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
32451         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
32452         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
32453         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
32454         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
32455         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
32456         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
32457         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32458         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32459         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32460         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32461         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
32462         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
32463         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
32464         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32465         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
32466         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
32467         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
32468         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
32469         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
32470         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32471         * sysdeps/powerpc/sysdep.h: Likewise.
32472         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32473         * sysdeps/s390/s390-64/sub_n.S: Likewise.
32474         * sysdeps/sh/dl-trampoline.S: Likewise.
32475         * sysdeps/sh/memset.S: Likewise.
32476         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
32477         * sysdeps/sh/strlen.S: Likewise.
32478         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
32479         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
32480         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
32481         * sysdeps/sparc/sparc32/rem.S: Likewise.
32482         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
32483         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
32484         * sysdeps/sparc/sparc32/strchr.S: Likewise.
32485         * sysdeps/sparc/sparc32/udiv.S: Likewise.
32486         * sysdeps/sparc/sparc32/urem.S: Likewise.
32487         * sysdeps/sparc/sparc64/add_n.S: Likewise.
32488         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32489         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
32490         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
32491         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
32492         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
32493         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
32494         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
32495         * sysdeps/unix/bsd/times.c: Likewise.
32496         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
32497         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
32498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
32499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
32500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
32501         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
32502         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
32503         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
32504         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
32505         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
32506         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
32507         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
32508         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
32509         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32510         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
32511         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
32512         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
32513         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
32514         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
32515         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
32516         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
32517         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
32518         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32519         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
32520         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
32521         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
32522         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
32523         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32524         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
32525         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
32526         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
32527         * sysdeps/x86_64/strcspn.S: Likewise.
32529 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32531         * locale/C-translit.h: Revert #include <stdint.h> because this is a
32532         generated file.  Regenerate properly from gen-translit.pl.
32533         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
32534         locale/C-translit.h.
32536 2013-06-05  Andreas Schwab  <schwab@suse.de>
32538         [BZ #15100]
32539         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
32540         week as 6 instead of -1.
32541         * time/tst-strptime.c (day_tests): Add test case.
32543 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32545         * sysdeps/generic/math_private.h
32546         (libc_feholdexcept_setround_53bit): Replace with
32547         libc_feholdsetround_53bit.
32548         (libc_feupdateenv_53bit): Replace with
32549         libc_feresetround_53bit.
32550         (SET_RESTORE_ROUND_53BIT): Adjust.
32552 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
32554         * string/test-strchrnul.c: Add copyright header.
32556         * posix/tst-getaddrinfo4.c: Increase test timeout.
32558 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
32560         [BZ #15536]
32561         * math/libm-test.inc (MAX_EXP): Remove
32562         (MIN_EXP): Define.
32563         (ulp): Use MIN_EXP - MANT_DIG.
32564         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
32566 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
32568         * po/be.po: Revert last change.
32569         * po/zh_CN.po: Likewise.
32570         * po/header.pot: Likewise.
32572 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
32574         * Makefile ($(common-objpfx)linkobj/libc.so): Define
32575         link-libc-deps to empty as target-specific variable.
32576         * Makerules (link-libc-args): New variable.
32577         (libc-for-link): Likewise.
32578         (link-libc-deps): Likewise.
32579         (lib%.so): Depend on $(link-libc-deps).  Link with
32580         $(link-libc-args).
32581         (build-module): Link with $(link-libc-args).
32582         (build-module-asneeded): Likewise.
32583         (build-module-helper-objlist): Filter out $(link-libc-deps) from
32584         list of objects.
32585         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
32586         target-specific variable.
32587         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
32588         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
32589         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
32590         libc.
32591         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
32592         libc and ld.so.
32593         ($(objpfx)libpcprofile.so): Likewise.
32594         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
32595         libc_nonshared.a.
32596         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
32597         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
32598         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
32599         $(link-libc-deps).
32600         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
32601         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
32602         * login/Makefile ($(objpfx)libutil.so): Likewise.
32603         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
32604         * math/Makefile ($(objpfx)libm.so): Likewise.
32605         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
32606         $(objpfx)libnsl.so): Define libc-for-link as target-specific
32607         variable instead of depending directly on libc.
32608         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
32609         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
32610         $(link-libc-deps).
32611         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
32612         libc.
32613         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
32614         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
32615         ($(objpfx)libanl.so): Likewise.
32616         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
32617         ld.so.
32618         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
32619         $(link-libc-deps).
32620         * sysdeps/i386/fpu/Makefile: Remove file.
32621         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
32622         ($(objpfx)libm.so): Remove dependency on ld.so.
32624 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
32626         [BZ # 15553]
32627         * nis/yp_xdr.c (XDRMAXNAME): Define.
32628         (XDRMAXRECORD): Define.
32629         (xdr_domainname): Use XDRMAXNAME.
32630         (xdr_mapname): Likewise.
32631         (xdr_peername): Likewise.
32632         (xdr_keydat): Use XDRMAXRECORD.
32633         (xdr_valdat): Likewise.
32635 2013-05-30  Jeff Law  <law@redhat.com>
32637         [BZ #14256]
32638         * manual/errno.texi (ESTALE): Update to account for more than
32639         just NFS file systems.
32640         * sysdeps/gnu/errlist.c: Regenerated.
32642 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32644         [BZ #15465]
32645         * elf/Makefile (tests): Add tst-null-argv.
32646         (modules-names):  Add tst-null-argv-lib.
32647         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
32648         (tst-null-argv-ENV): Set environment for tst-null-argv.
32649         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
32650         (RTLD_PROGNAME): New macro.
32651         * elf/tst-null-argv.c: New test case.
32652         * elf/tst-null-argv-lib.c: Library for test case.
32653         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
32654         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
32655         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
32656         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
32657         * elf/dl-init.c (call_init): Likewise.
32658         (_dl_init): Likewise.
32659         * elf/dl-load.c (print_search_path): Likewise.
32660         (_dl_map_object): Likewise.
32661         * elf/dl-lookup.c (do_lookup_x): Likewise.
32662         (add_dependency): Likewise.
32663         (_dl_lookup_symbol_x): Likewise.
32664         (_dl_debug_bindings): Likewise.
32665         * elf/dl-open.c (_dl_show_scope): Likewise.
32666         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
32667         * elf/dl-version.c (match_symbol): Likewise.
32668         (_dl_check_map_versions): Likewise.
32669         * elf/rtld.c (dl_main): Likewise.
32670         (print_unresolved): Use RTLD_PROGNAME.
32671         (print_missing_version): Likewise.
32672         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
32673         (elf_machine_rela): Likewise.
32674         * sysdeps/powerpc/powerpc32/dl-machine.c
32675         (__process_machine_rela): Likewise.
32676         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32677         Likewise.
32678         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32679         Likewise.
32680         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
32681         Likewise.
32682         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32683         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
32684         Likewise.
32685         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
32686         Likewise.
32687         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32689 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
32691         * po/be.po: Add descriptive title.
32692         * po/zh_CN.po: Likewise.
32693         * po/header.pot: Likewise.
32695 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
32697         * locale/programs/locarchive.c (create_archive): Inlucde fname in
32698         error message.
32699         (enlarge_archive): Likewise.
32701 2013-05-28  Ben North  <ben@redfrontdoor.org>
32703         * manual/arith.texi (frexp): It is the magnitude of the return
32704         value which lies in [0.5, 1), not the return value itself.
32706 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32708         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32710 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
32712         * stdio-common/bug26.c (main): Correct fscanf template.
32714         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
32715         declare _dl_skip_args.
32717         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
32718         Don't declare.
32720         * manual/platform.texi: Add missing @end deftypefun.
32722 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
32724         [BZ #15529]
32725         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
32726         bit of mantissa of 2^16382.
32727         * math/libm-test.inc (hypot_test_data): Add more tests.
32729         * math/libm-test.inc: Add drem and pow10 to list of tested
32730         functions.
32731         (pow10_test): New function.
32732         (drem_test): Likewise.
32733         (drem_test_tonearest): Likewise.
32734         (drem_test_towardzero): Likewise.
32735         (drem_test_downward): Likewise.
32736         (drem_test_upward): Likewise.
32737         (main): Call the new functions.
32739         * math/libm-test.inc (finite_test_data): Remove.
32740         (finite_test): Run tests from isfinite_test_data.
32741         (gamma_test_data): Remove.
32742         (gamma_test): Run tests from lgamma_test_data.
32743         * sysdeps/i386/fpu/libm-test-ulps: Update.
32744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32746 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32748         * manual/platform.texi: Add PowerPC PPR function set documentation.
32749         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
32750         implementation.
32752 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
32754         * math/libm-test.inc (MAX_EXP): Define.
32755         (ULPDIFF): Define.
32756         (ulp): New function.
32757         (check_float_internal): Use ULPDIFF.
32758         (cpow_test): Disable failing test.
32759         (check_ulp): Test ulp() implemetnation.
32760         (main): Call check_ulp before starting tests.
32762 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
32764         * math/gen-libm-test.pl (generate_testfile): Do not handle
32765         START_DATA and END_DATA.
32766         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
32767         END_DATA.
32768         (acos_tonearest_test_data): Likewise.
32769         (acos_towardzero_test_data): Likewise.
32770         (acos_downward_test_data): Likewise.
32771         (acos_upward_test_data): Likewise.
32772         (acosh_test_data): Likewise.
32773         (asin_test_data): Likewise.
32774         (asin_tonearest_test_data): Likewise.
32775         (asin_towardzero_test_data): Likewise.
32776         (asin_downward_test_data): Likewise.
32777         (asin_upward_test_data): Likewise.
32778         (asinh_test_data): Likewise.
32779         (atan_test_data): Likewise.
32780         (atanh_test_data): Likewise.
32781         (atan2_test_data): Likewise.
32782         (cabs_test_data): Likewise.
32783         (cacos_test_data): Likewise.
32784         (cacosh_test_data): Likewise.
32785         (carg_test_data): Likewise.
32786         (casin_test_data): Likewise.
32787         (casinh_test_data): Likewise.
32788         (catan_test_data): Likewise.
32789         (catanh_test_data): Likewise.
32790         (cbrt_test_data): Likewise.
32791         (ccos_test_data): Likewise.
32792         (ccosh_test_data): Likewise.
32793         (ceil_test_data): Likewise.
32794         (cexp_test_data): Likewise.
32795         (cimag_test_data): Likewise.
32796         (clog_test_data): Likewise.
32797         (clog10_test_data): Likewise.
32798         (conj_test_data): Likewise.
32799         (copysign_test_data): Likewise.
32800         (cos_test_data): Likewise.
32801         (cos_tonearest_test_data): Likewise.
32802         (cos_towardzero_test_data): Likewise.
32803         (cos_downward_test_data): Likewise.
32804         (cos_upward_test_data): Likewise.
32805         (cosh_test_data): Likewise.
32806         (cosh_tonearest_test_data): Likewise.
32807         (cosh_towardzero_test_data): Likewise.
32808         (cosh_downward_test_data): Likewise.
32809         (cosh_upward_test_data): Likewise.
32810         (cpow_test_data): Likewise.
32811         (cproj_test_data): Likewise.
32812         (creal_test_data): Likewise.
32813         (csin_test_data): Likewise.
32814         (csinh_test_data): Likewise.
32815         (csqrt_test_data): Likewise.
32816         (ctan_test_data): Likewise.
32817         (ctan_tonearest_test_data): Likewise.
32818         (ctan_towardzero_test_data): Likewise.
32819         (ctan_downward_test_data): Likewise.
32820         (ctan_upward_test_data): Likewise.
32821         (ctanh_test_data): Likewise.
32822         (ctanh_tonearest_test_data): Likewise.
32823         (ctanh_towardzero_test_data): Likewise.
32824         (ctanh_downward_test_data): Likewise.
32825         (ctanh_upward_test_data): Likewise.
32826         (erf_test_data): Likewise.
32827         (erfc_test_data): Likewise.
32828         (exp_test_data): Likewise.
32829         (exp_tonearest_test_data): Likewise.
32830         (exp_towardzero_test_data): Likewise.
32831         (exp_downward_test_data): Likewise.
32832         (exp_upward_test_data): Likewise.
32833         (exp10_test_data): Likewise.
32834         (exp2_test_data): Likewise.
32835         (expm1_test_data): Likewise.
32836         (fabs_test_data): Likewise.
32837         (fdim_test_data): Likewise.
32838         (finite_test_data): Likewise.
32839         (floor_test_data): Likewise.
32840         (fma_test_data): Likewise.
32841         (fma_towardzero_test_data): Likewise.
32842         (fma_downward_test_data): Likewise.
32843         (fma_upward_test_data): Likewise.
32844         (fmax_test_data): Likewise.
32845         (fmin_test_data): Likewise.
32846         (fmod_test_data): Likewise.
32847         (fpclassify_test_data): Likewise.
32848         (frexp_test_data): Likewise.
32849         (gamma_test_data): Likewise.
32850         (hypot_test_data): Likewise.
32851         (ilogb_test_data): Likewise.
32852         (isfinite_test_data): Likewise.
32853         (isgreater_test_data): Likewise.
32854         (isgreaterequal_test_data): Likewise.
32855         (isinf_test_data): Likewise.
32856         (isless_test_data): Likewise.
32857         (islessequal_test_data): Likewise.
32858         (islessgreater_test_data): Likewise.
32859         (isnan_test_data): Likewise.
32860         (isnormal_test_data): Likewise.
32861         (issignaling_test_data): Likewise.
32862         (isunordered_test_data): Likewise.
32863         (j0_test_data): Likewise.
32864         (j1_test_data): Likewise.
32865         (jn_test_data): Likewise.
32866         (ldexp_test_data): Likewise.
32867         (lgamma_test_data): Likewise.
32868         (lrint_test_data): Likewise.
32869         (lrint_tonearest_test_data): Likewise.
32870         (lrint_towardzero_test_data): Likewise.
32871         (lrint_downward_test_data): Likewise.
32872         (lrint_upward_test_data): Likewise.
32873         (llrint_test_data): Likewise.
32874         (llrint_tonearest_test_data): Likewise.
32875         (llrint_towardzero_test_data): Likewise.
32876         (llrint_downward_test_data): Likewise.
32877         (llrint_upward_test_data): Likewise.
32878         (log_test_data): Likewise.
32879         (log10_test_data): Likewise.
32880         (log1p_test_data): Likewise.
32881         (log2_test_data): Likewise.
32882         (logb_test_data): Likewise.
32883         (logb_downward_test_data): Likewise.
32884         (lround_test_data): Likewise.
32885         (llround_test_data): Likewise.
32886         (modf_test_data): Likewise.
32887         (nearbyint_test_data): Likewise.
32888         (nextafter_test_data): Likewise.
32889         (nexttoward_test_data): Likewise.
32890         (pow_test_data): Likewise.
32891         (pow_tonearest_test_data): Likewise.
32892         (pow_towardzero_test_data): Likewise.
32893         (pow_downward_test_data): Likewise.
32894         (pow_upward_test_data): Likewise.
32895         (remainder_test_data): Likewise.
32896         (remainder_tonearest_test_data): Likewise.
32897         (remainder_towardzero_test_data): Likewise.
32898         (remainder_downward_test_data): Likewise.
32899         (remainder_upward_test_data): Likewise.
32900         (remquo_test_data): Likewise.
32901         (rint_test_data): Likewise.
32902         (rint_tonearest_test_data): Likewise.
32903         (rint_towardzero_test_data): Likewise.
32904         (rint_downward_test_data): Likewise.
32905         (rint_upward_test_data): Likewise.
32906         (round_test_data): Likewise.
32907         (scalb_test_data): Likewise.
32908         (scalbn_test_data): Likewise.
32909         (scalbln_test_data): Likewise.
32910         (signbit_test_data): Likewise.
32911         (sin_test_data): Likewise.
32912         (sin_tonearest_test_data): Likewise.
32913         (sin_towardzero_test_data): Likewise.
32914         (sin_downward_test_data): Likewise.
32915         (sin_upward_test_data): Likewise.
32916         (sincos_test_data): Likewise.
32917         (sinh_test_data): Likewise.
32918         (sinh_tonearest_test_data): Likewise.
32919         (sinh_towardzero_test_data): Likewise.
32920         (sinh_downward_test_data): Likewise.
32921         (sinh_upward_test_data): Likewise.
32922         (sqrt_test_data): Likewise.
32923         (tan_test_data): Likewise.
32924         (tan_tonearest_test_data): Likewise.
32925         (tan_towardzero_test_data): Likewise.
32926         (tan_downward_test_data): Likewise.
32927         (tan_upward_test_data): Likewise.
32928         (tanh_test_data): Likewise.
32929         (tgamma_test_data): Likewise.
32930         (trunc_test_data): Likewise.
32931         (y0_test_data): Likewise.
32932         (y1_test_data): Likewise.
32933         (yn_test_data): Likewise.
32934         (significand_test_data): Likewise.
32936         * math/gen-libm-test.pl (@functions): Remove variable.
32937         (generate_testfile): Don't handle START and END lines.
32938         * math/libm-test.inc (START): New macro.
32939         (END): Likewise.
32940         (END_COMPLEX): Likewise.
32941         (acos_test): Use END macro without arguments.
32942         (acos_test_tonearest): Likewise.
32943         (acos_test_towardzero): Likewise.
32944         (acos_test_downward): Likewise.
32945         (acos_test_upward): Likewise.
32946         (acosh_test): Likewise.
32947         (asin_test): Likewise.
32948         (asin_test_tonearest): Likewise.
32949         (asin_test_towardzero): Likewise.
32950         (asin_test_downward): Likewise.
32951         (asin_test_upward): Likewise.
32952         (asinh_test): Likewise.
32953         (atan_test): Likewise.
32954         (atanh_test): Likewise.
32955         (atan2_test): Likewise.
32956         (cabs_test): Likewise.
32957         (cacos_test): Use END_COMPLEX macro without arguments.
32958         (cacosh_test): Likewise.
32959         (carg_test): Use END macro without arguments.
32960         (casin_test): Use END_COMPLEX macro without arguments.
32961         (casinh_test): Likewise.
32962         (catan_test): Likewise.
32963         (catanh_test): Likewise.
32964         (cbrt_test): Use END macro without arguments.
32965         (ccos_test): Use END_COMPLEX macro without arguments.
32966         (ccosh_test): Likewise.
32967         (ceil_test): Use END macro without arguments.
32968         (cexp_test): Use END_COMPLEX macro without arguments.
32969         (cimag_test): Use END macro without arguments.
32970         (clog_test): Use END_COMPLEX macro without arguments.
32971         (clog10_test): Likewise.
32972         (conj_test): Likewise.
32973         (copysign_test): Use END macro without arguments.
32974         (cos_test): Likewise.
32975         (cos_test_tonearest): Likewise.
32976         (cos_test_towardzero): Likewise.
32977         (cos_test_downward): Likewise.
32978         (cos_test_upward): Likewise.
32979         (cosh_test): Likewise.
32980         (cosh_test_tonearest): Likewise.
32981         (cosh_test_towardzero): Likewise.
32982         (cosh_test_downward): Likewise.
32983         (cosh_test_upward): Likewise.
32984         (cpow_test): Use END_COMPLEX macro without arguments.
32985         (cproj_test): Likewise.
32986         (creal_test): Use END macro without arguments.
32987         (csin_test): Use END_COMPLEX macro without arguments.
32988         (csinh_test): Likewise.
32989         (csqrt_test): Likewise.
32990         (ctan_test): Likewise.
32991         (ctan_test_tonearest): Likewise.
32992         (ctan_test_towardzero): Likewise.
32993         (ctan_test_downward): Likewise.
32994         (ctan_test_upward): Likewise.
32995         (ctanh_test): Likewise.
32996         (ctanh_test_tonearest): Likewise.
32997         (ctanh_test_towardzero): Likewise.
32998         (ctanh_test_downward): Likewise.
32999         (ctanh_test_upward): Likewise.
33000         (erf_test): Use END macro without arguments.
33001         (erfc_test): Likewise.
33002         (exp_test): Likewise.
33003         (exp_test_tonearest): Likewise.
33004         (exp_test_towardzero): Likewise.
33005         (exp_test_downward): Likewise.
33006         (exp_test_upward): Likewise.
33007         (exp10_test): Likewise.
33008         (exp2_test): Likewise.
33009         (expm1_test): Likewise.
33010         (fabs_test): Likewise.
33011         (fdim_test): Likewise.
33012         (finite_test): Likewise.
33013         (floor_test): Likewise.
33014         (fma_test): Likewise.
33015         (fma_test_towardzero): Likewise.
33016         (fma_test_downward): Likewise.
33017         (fma_test_upward): Likewise.
33018         (fmax_test): Likewise.
33019         (fmin_test): Likewise.
33020         (fmod_test): Likewise.
33021         (fpclassify_test): Likewise.
33022         (frexp_test): Likewise.
33023         (gamma_test): Likewise.
33024         (hypot_test): Likewise.
33025         (ilogb_test): Likewise.
33026         (isfinite_test): Likewise.
33027         (isgreater_test): Likewise.
33028         (isgreaterequal_test): Likewise.
33029         (isinf_test): Likewise.
33030         (isless_test): Likewise.
33031         (islessequal_test): Likewise.
33032         (islessgreater_test): Likewise.
33033         (isnan_test): Likewise.
33034         (isnormal_test): Likewise.
33035         (issignaling_test): Likewise.
33036         (isunordered_test): Likewise.
33037         (j0_test): Likewise.
33038         (j1_test): Likewise.
33039         (jn_test): Likewise.
33040         (ldexp_test): Likewise.
33041         (lgamma_test): Likewise.
33042         (lrint_test): Likewise.
33043         (lrint_test_tonearest): Likewise.
33044         (lrint_test_towardzero): Likewise.
33045         (lrint_test_downward): Likewise.
33046         (lrint_test_upward): Likewise.
33047         (llrint_test): Likewise.
33048         (llrint_test_tonearest): Likewise.
33049         (llrint_test_towardzero): Likewise.
33050         (llrint_test_downward): Likewise.
33051         (llrint_test_upward): Likewise.
33052         (log_test): Likewise.
33053         (log10_test): Likewise.
33054         (log1p_test): Likewise.
33055         (log2_test): Likewise.
33056         (logb_test): Likewise.
33057         (logb_test_downward): Likewise.
33058         (lround_test): Likewise.
33059         (llround_test): Likewise.
33060         (modf_test): Likewise.
33061         (nearbyint_test): Likewise.
33062         (nextafter_test): Likewise.
33063         (nexttoward_test): Likewise.
33064         (pow_test): Likewise.
33065         (pow_test_tonearest): Likewise.
33066         (pow_test_towardzero): Likewise.
33067         (pow_test_downward): Likewise.
33068         (pow_test_upward): Likewise.
33069         (remainder_test): Likewise.
33070         (remainder_test_tonearest): Likewise.
33071         (remainder_test_towardzero): Likewise.
33072         (remainder_test_downward): Likewise.
33073         (remainder_test_upward): Likewise.
33074         (remquo_test): Likewise.
33075         (rint_test): Likewise.
33076         (rint_test_tonearest): Likewise.
33077         (rint_test_towardzero): Likewise.
33078         (rint_test_downward): Likewise.
33079         (rint_test_upward): Likewise.
33080         (round_test): Likewise.
33081         (scalb_test): Likewise.
33082         (scalbn_test): Likewise.
33083         (scalbln_test): Likewise.
33084         (signbit_test): Likewise.
33085         (sin_test): Likewise.
33086         (sin_test_tonearest): Likewise.
33087         (sin_test_towardzero): Likewise.
33088         (sin_test_downward): Likewise.
33089         (sin_test_upward): Likewise.
33090         (sincos_test): Likewise.
33091         (sinh_test): Likewise.
33092         (sinh_test_tonearest): Likewise.
33093         (sinh_test_towardzero): Likewise.
33094         (sinh_test_downward): Likewise.
33095         (sinh_test_upward): Likewise.
33096         (sqrt_test): Likewise.
33097         (tan_test): Likewise.
33098         (tan_test_tonearest): Likewise.
33099         (tan_test_towardzero): Likewise.
33100         (tan_test_downward): Likewise.
33101         (tan_test_upward): Likewise.
33102         (tanh_test): Likewise.
33103         (tgamma_test): Likewise.
33104         (trunc_test): Likewise.
33105         (y0_test): Likewise.
33106         (y1_test): Likewise.
33107         (yn_test): Likewise.
33108         (significand_test): Likewise.
33110 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
33112         [BZ #15381]
33113         * libio/genops.c (_IO_no_init): Initialize wide struct info.
33115 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
33117         [BZ #14894]
33118         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
33119         __ppc_mdoio and __ppc_mdoom.
33120         * manual/platform.texi: Document new functions __ppc_yield,
33121         __ppc_mdoio and __ppc_mdoom.
33123 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
33125         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
33126         (main): Mention "tls" pseudo-hwcap is legacy.
33127         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
33129 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33131         * math/gen-libm-test.pl (parse_args): Output only string of
33132         arguments as text for test name, not full call or descriptions of
33133         tests for extra outputs.
33134         (generate_testfile): Do not pass function name to parse_args.
33135         Generate this_func variable from START.
33136         * math/libm-test.inc (struct test_f_f_data): Rename test_name
33137         field to arg_str.
33138         (struct test_ff_f_data): Likewise.
33139         (test_ff_f_data_nexttoward): Likewise.
33140         (struct test_fi_f_data): Likewise.
33141         (struct test_fl_f_data): Likewise.
33142         (struct test_if_f_data): Likewise.
33143         (struct test_fff_f_data): Likewise.
33144         (struct test_c_f_data): Likewise.
33145         (struct test_f_f1_data): Likewise.  Remove field extra_name.
33146         (struct test_fF_f1_data): Likewise.
33147         (struct test_ffI_f1_data): Likewise.
33148         (struct test_c_c_data): Rename test_name field to arg_str.
33149         (struct test_cc_c_data): Likewise.
33150         (struct test_f_i_data): Likewise.
33151         (struct test_ff_i_data): Likewise.
33152         (struct test_f_l_data): Likewise.
33153         (struct test_f_L_data): Likewise.
33154         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
33155         and extra2_name.
33156         (COMMON_TEST_SETUP): New macro.
33157         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
33158         (COMMON_TEST_CLEANUP): Likewise.
33159         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
33160         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
33161         macros.
33162         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
33163         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
33164         macros.
33165         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
33166         (RUN_TEST_fff_f): Take argument string.  Call new setup and
33167         cleanup macros.
33168         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
33169         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
33170         macros.
33171         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
33172         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
33173         macros.
33174         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33175         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
33176         cleanup macros.
33177         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33178         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
33179         cleanup macros.
33180         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33181         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
33182         cleanup macros.
33183         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33184         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
33185         macros.
33186         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
33187         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
33188         macros.
33189         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
33190         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
33191         macros.
33192         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
33193         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
33194         cleanup macros.
33195         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
33196         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
33197         cleanup macros.
33198         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
33199         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
33200         macros.
33201         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
33202         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
33203         cleanup macros.
33204         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
33205         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
33206         macros.
33207         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
33208         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
33209         macros.
33210         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
33211         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
33212         cleanup macros.
33213         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
33215 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
33217         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
33218         to _sifields.sigfault.
33219         (si_addr_lsb): Define new macro.
33220         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33221         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33222         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
33224 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
33226         [BZ #15441]
33227         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
33228         returns -1.
33229         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
33230         null return -1.
33231         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
33232         loading the domain.
33234 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33236         * math/gen-libm-test.pl (parse_args): Do not include expected
33237         result in test name.
33238         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
33239         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33240         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33241         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33242         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33245 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33247         * benchtests/Makefile: Sort function entries.
33249         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
33250         tanh, asinh, acosh, atanh.
33251         * benchtests/acos-inputs: New file.
33252         * benchtests/acosh-inputs: New file.
33253         * benchtests/asin-inputs: New file.
33254         * benchtests/asinh-inputs: New file.
33255         * benchtests/atanh-inputs: New file.
33256         * benchtests/cosh-inputs: New file.
33257         * benchtests/log-inputs: New file.
33258         * benchtests/sinh-inputs: New file.
33259         * benchtests/tanh-inputs: New file.
33261 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
33263         [BZ #15339]
33264         * posix/tst-getaddrinfo4.c: New test.
33265         * posix/Makefile (tests): Add it.
33267 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33269         [BZ #15339]
33270         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
33271         when no services were used.
33272         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
33273         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
33275 2013-05-21  Andreas Schwab  <schwab@suse.de>
33277         [BZ #15014]
33278         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
33279         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
33280         successful.
33281         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
33282         redundant variable declarations and reallocation of buffer when
33283         parsing as IPv6 address.  Always set NSS status when called from
33284         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
33285         buffer too small.  Correct computation of needed size.
33286         * nss/Makefile (tests): Add test-digits-dots.
33287         * nss/test-digits-dots.c: New test.
33289 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33291         * benchtests/Makefile: Remove instructions for adding
33292         benchmark tests.
33293         * benchtests/README: New file to explain how to execute and
33294         enhance the benchmark tests.
33296 2013-05-21  Andreas Schwab  <schwab@suse.de>
33298         [BZ #15493]
33299         * setjmp/Makefile (tests): Add tst-sigsetjmp.
33300         * setjmp/tst-sigsetjmp.c: New test.
33302 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
33304         * sysdeps/x86_64/memset.S (memset): New implementation.
33305         (__bzero): Likewise.
33306         (__memset_tail): New function.
33308 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
33310         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
33311         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
33312         __memcpy_sse2_unaligned ifunc selection.
33313         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33314         Add memcpy-sse2-unaligned.S.
33315         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33316         Add: __memcpy_sse2_unaligned.
33318 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
33320         [BZ #15490]
33321         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33322         math_force_eval before restoring floating-point envrionment.
33323         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
33324         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33325         Likewise.
33326         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
33327         <math_private.h>.
33328         (__nearbyintl): Use math_force_eval before restoring
33329         floating-point environment.
33330         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
33332         * math/gen-libm-test.pl (special_functions): Remove.
33333         (parse_args): Don't handle TEST_extra.  Handle functions with no
33334         return value.
33335         * math/libm-test.inc (struct test_sincos_data): Replace with
33336         struct test_fFF_11_data.
33337         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
33338         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
33339         (sincos_test_data): Change element type to struct
33340         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
33341         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
33342         RUN_TEST_LOOP_sincos.
33343         * math/README.libm-test: Don't mention special handling of
33344         individual functions.
33345         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
33346         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33347         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33348         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33349         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33352         * math/gen-libm-test.pl (get_variable): Remove function.
33353         (parse_args): Don't show pointer parameters to call in test
33354         names.  Use "extra output N" in test names for extra outputs
33355         rather than naming variables.
33357 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
33359         [BZ #15488]
33360         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
33361         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
33362         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
33363         double tests.
33364         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
33365         disable.
33366         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
33367         check_long_double.
33369         * math/gen-libm-test.pl (@tests): Remove variable.
33370         ($count): Likewise.
33371         (new_test): Remove function.
33372         (show_exceptions): New function.
33373         (special_functions): Use show_exceptions instead of new_test.
33374         (parse_args): Likewise.
33375         (generate_testfile): Pass only function name in generated call to
33376         print_max_error or print_complex_max_error.
33377         (get_ulps): Do not handle complex tests specially.
33378         (output_test): Rename to ...
33379         (get_all_ulps_for_test): ... this.  Return a string rather than
33380         printing to a file.  Require ulps to be present.
33381         (output_ulps): Generate arrays rather than #defines.
33382         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
33383         (struct ulp_data): New type.
33384         (BUILD_COMPLEX_ULP): Remove macro.
33385         (compare_ulp_data): New function.
33386         (find_ulps): Likewise.
33387         (find_test_ulps): Likewise.
33388         (find_function_ulps): Likewise.
33389         (find_complex_function_ulps): Likewise.
33390         (print_max_error): Determine allowed ulps using
33391         find_function_ulps.
33392         (print_complex_max_error): Determine allowed ulps using
33393         find_complex_function_ulps.
33394         (check_float_internal): Determine max ulps using find_test_ulps.
33395         (check_float): Do not take max_ulp parameter.  Update call to
33396         check_float_internal.
33397         (check_complex): Likewise.
33398         (check_int): Do not take max_ulp parameter.
33399         (check_long): Likewise.
33400         (check_bool): Likewise.
33401         (check_longlong): Likewise.
33402         (struct test_f_f_data): Remove max_ulp field.
33403         (struct test_ff_f_data): Likewise.
33404         (struct test_ff_f_data_nexttoward): Likewise.
33405         (struct test_fi_f_data): Likewise.
33406         (struct test_fl_f_data): Likewise.
33407         (struct test_if_f_data): Likewise.
33408         (struct test_fff_f_data): Likewise.
33409         (struct test_c_f_data): Likewise.
33410         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
33411         (struct test_fF_f1_data): Likewise.
33412         (struct test_ffI_f1_data): Likewise.
33413         (struct test_c_c_data): Remove max_ulp field.
33414         (struct test_cc_c_data): Likewise.
33415         (struct test_f_i_data): Likewise.
33416         (struct test_ff_i_data): Likewise.
33417         (struct test_f_l_data): Likewise.
33418         (struct test_f_L_data): Likewise.
33419         (struct test_sincos_data): Likewise.
33420         (RUN_TEST_f_f): Do not handle ulps.
33421         (RUN_TEST_LOOP_f_f): Likewise.
33422         (RUN_TEST_2_f): Likewise.
33423         (RUN_TEST_LOOP_2_f): Likewise.
33424         (RUN_TEST_fff_f): Likewise.
33425         (RUN_TEST_LOOP_fff_f): Likewise.
33426         (RUN_TEST_c_f): Likewise.
33427         (RUN_TEST_LOOP_c_f): Likewise.
33428         (RUN_TEST_f_f1): Likewise.
33429         (RUN_TEST_LOOP_f_f1): Likewise.
33430         (RUN_TEST_fF_f1): Likewise.
33431         (RUN_TEST_LOOP_fF_f1): Likewise.
33432         (RUN_TEST_fI_f1): Likewise.
33433         (RUN_TEST_LOOP_fI_f1): Likewise.
33434         (RUN_TEST_ffI_f1): Likewise.
33435         (RUN_TEST_LOOP_ffI_f1): Likewise.
33436         (RUN_TEST_c_c): Likewise.
33437         (RUN_TEST_LOOP_c_c): Likewise.
33438         (RUN_TEST_cc_c): Likewise.
33439         (RUN_TEST_LOOP_cc_c): Likewise.
33440         (RUN_TEST_f_i): Likewise.
33441         (RUN_TEST_LOOP_f_i): Likewise.
33442         (RUN_TEST_f_i_tg): Likewise.
33443         (RUN_TEST_LOOP_f_i_tg): Likewise.
33444         (RUN_TEST_ff_i_tg): Likewise.
33445         (RUN_TEST_LOOP_ff_i_tg): Likewise.
33446         (RUN_TEST_f_b): Likewise.
33447         (RUN_TEST_LOOP_f_b): Likewise.
33448         (RUN_TEST_f_b_tg): Likewise.
33449         (RUN_TEST_LOOP_f_b_tg): Likewise.
33450         (RUN_TEST_f_l): Likewise.
33451         (RUN_TEST_LOOP_f_l): Likewise.
33452         (RUN_TEST_f_L): Likewise.
33453         (RUN_TEST_LOOP_f_L): Likewise.
33454         (RUN_TEST_sincos): Likewise.
33455         (RUN_TEST_LOOP_sincos): Likewise.
33457 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
33459         [BZ #15480]
33460         [BZ #15485]
33461         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
33462         main case of finite arguments, set rounding mode to FE_TONEAREST
33463         and discard exceptions.
33464         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
33465         exceptions.
33466         (remainder_tonearest_test_data): New variable.
33467         (remainder_test_tonearest): New function.
33468         (remainder_towardzero_test_data): New variable.
33469         (remainder_test_towardzero): New function.
33470         (remainder_downward_test_data): New variable.
33471         (remainder_test_downward): New function.
33472         (remainder_upward_test_data): New variable.
33473         (remainder_test_upward): New function.
33474         (main): Call the new test functions.
33476         * math/libm-test.inc (struct test_f_f1_data): Remove field
33477         extra_init.
33478         (struct test_fF_f1_data): Likewise.
33479         (struct test_ffI_f1_data): Likewise.
33480         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
33481         based on value of EXTRA_EXPECTED.
33482         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33483         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
33484         EXTRA_VAR based on value of EXTRA_EXPECTED.
33485         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33486         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
33487         EXTRA_VAR based on value of EXTRA_EXPECTED.
33488         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33489         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
33490         EXTRA_VAR based on value of EXTRA_EXPECTED.
33491         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33492         * math/gen-libm-test.pl (parse_args): Don't output initializers
33493         for extra output values.
33495         * math/libm-test.inc (check_int): Expect result to be exactly
33496         equal to expected value and do not handle ulps.
33497         (check_long): Likewise.
33498         (check_longlong): Likewise.
33500         * math/libm-test.inc (ceil_test_data): Test for "inexact"
33501         exceptions.
33502         (cimag_test_data): Likewise.
33503         (conj_test_data): Likewise.
33504         (copysign_test_data): Likewise.
33505         (cproj_test_data): Likewise.
33506         (creal_test_data): Likewise.
33507         (fabs_test_data): Likewise.
33508         (fdim_test_data): Likewise.
33509         (finite_test_data): Likewise.
33510         (floor_test_data): Likewise.
33511         (fmax_test_data): Likewise.
33512         (fmin_test_data): Likewise.
33513         (fmod_test_data): Likewise.
33514         (fpclassify_test_data): Likewise.
33515         (frexp_test_data): Likewise.
33516         (ilogb_test_data): Likewise.
33517         (isfinite_test_data): Likewise.
33518         (isgreater_test_data): Likewise.
33519         (isgreaterequal_test_data): Likewise.
33520         (isinf_test_data): Likewise.
33521         (isless_test_data): Likewise.
33522         (islessequal_test_data): Likewise.
33523         (islessgreater_test_data): Likewise.
33524         (isnan_test_data): Likewise.
33525         (isnormal_test_data): Likewise.
33526         (issignaling_test_data): Likewise.
33527         (isunordered_test_data): Likewise.
33528         (ldexp_test_data): Likewise.
33529         (lrint_test_data): Likewise.
33530         (lrint_test_data) [TEST_FLOAT]: Disable one test.
33531         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
33532         (lrint_tonearest_test_data): Test for "inexact" exceptions.
33533         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33534         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
33535         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33536         test input.
33537         (lrint_towardzero_test_data): Test for "inexact" exceptions.
33538         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33539         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
33540         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
33541         that test input.
33542         (lrint_downward_test_data): Test for "inexact" exceptions.
33543         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33544         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
33545         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33546         test input.
33547         (lrint_upward_test_data): Test for "inexact" exceptions.
33548         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
33549         test input.
33550         (llrint_test_data): Test for "inexact" exceptions.
33551         (llrint_test_data) [TEST_FLOAT]: Disable one test.
33552         (llrint_tonearest_test_data): Test for "inexact" exceptions.
33553         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33554         (llrint_towardzero_test_data): Test for "inexact" exceptions.
33555         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33556         (llrint_downward_test_data): Test for "inexact" exceptions.
33557         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33558         (llrint_upward_test_data): Test for "inexact" exceptions.
33559         (logb_test_data): Likewise.
33560         (logb_downward_test_data): Likewise.
33561         (nextafter_test_data): Likewise.
33562         (nexttoward_test_data): Likewise.
33563         (remainder_test_data): Likewise.
33564         (remquo_test_data): Likewise.
33565         (scalbn_test_data): Likewise.
33566         (scalbln_test_data): Likewise.
33567         (signbit_test_data): Likewise.
33568         (sqrt_test_data): Likewise.
33569         (significand_test_data): Likewise.
33571 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33573         [BZ #15424]
33574         * benchtests/bench-modf.c (struct args): Mark arg0 as
33575         volatile.
33576         * scripts/bench.pl: Mark members of struct args as volatile.
33578 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33580         [BZ # 15497]
33581         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
33582         negative infinity on POWER6 or lower.
33583         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
33585 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
33587         [BZ #15442]
33588         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
33589         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
33590         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
33591         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
33592         (_FP_SETQNAN): New macro.
33593         (_FP_SETQNAN_SEMIRAW): Likewise.
33594         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
33595         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
33596         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
33597         (FP_EXTEND): Use _FP_FRAC_SNANP.
33598         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
33599         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
33600         into account.
33601         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33602         New macro.
33603         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33604         Likewise.
33606 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33608         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
33609         with DIVIDE_BY_ZERO_EXCEPTION.
33610         (gamma_test_data): Likewise.
33611         (lgamma_test_data): Likewise.
33612         (log_test_data): Likewise.
33613         (log10_test_data): Likewise.
33614         (log2_test_data): Likewise.
33615         (tgamma_test_data): Likewise.
33617         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
33618         (acos_test_tonearest): Likewise.
33619         (acos_test_towardzero): Likewise.
33620         (acos_test_downward): Likewise.
33621         (acos_test_upward): Likewise.
33622         (acosh_test): Likewise.
33623         (asin_test): Likewise.
33624         (asin_test_tonearest): Likewise.
33625         (asin_test_towardzero): Likewise.
33626         (asin_test_downward): Likewise.
33627         (asin_test_upward): Likewise.
33628         (asinh_test): Likewise.
33629         (atan_test): Likewise.
33630         (atanh_test): Likewise.
33631         (atan2_test): Likewise.
33632         (cabs_test): Likewise.
33633         (cacos_test): Likewise.
33634         (cacosh_test): Likewise.
33635         (casin_test): Likewise.
33636         (casinh_test): Likewise.
33637         (catan_test): Likewise.
33638         (catanh_test): Likewise.
33639         (cbrt_test): Likewise.
33640         (ccos_test): Likewise.
33641         (ccosh_test): Likewise.
33642         (cexp_test): Likewise.
33643         (clog_test): Likewise.
33644         (clog10_test): Likewise.
33645         (cos_test): Likewise.
33646         (cos_test_tonearest): Likewise.
33647         (cos_test_towardzero): Likewise.
33648         (cos_test_downward): Likewise.
33649         (cos_test_upward): Likewise.
33650         (cosh_test): Likewise.
33651         (cosh_test_tonearest): Likewise.
33652         (cosh_test_towardzero): Likewise.
33653         (cosh_test_downward): Likewise.
33654         (cosh_test_upward): Likewise.
33655         (cpow_test): Likewise.
33656         (csin_test): Likewise.
33657         (csinh_test): Likewise.
33658         (csqrt_test): Likewise.
33659         (ctan_test): Likewise.
33660         (ctan_test_tonearest): Likewise.
33661         (ctan_test_towardzero): Likewise.
33662         (ctan_test_downward): Likewise.
33663         (ctan_test_upward): Likewise.
33664         (ctanh_test): Likewise.
33665         (ctanh_test_tonearest): Likewise.
33666         (ctanh_test_towardzero): Likewise.
33667         (ctanh_test_downward): Likewise.
33668         (ctanh_test_upward): Likewise.
33669         (erf_test): Likewise.
33670         (erfc_test): Likewise.
33671         (exp_test): Likewise.
33672         (exp_test_tonearest): Likewise.
33673         (exp_test_towardzero): Likewise.
33674         (exp_test_downward): Likewise.
33675         (exp_test_upward): Likewise.
33676         (exp10_test): Likewise.
33677         (exp2_test): Likewise.
33678         (expm1_test): Likewise.
33679         (fmod_test): Likewise.
33680         (gamma_test): Likewise.
33681         (hypot_test): Likewise.
33682         (j0_test): Likewise.
33683         (j1_test): Likewise.
33684         (jn_test): Likewise.
33685         (lgamma_test): Likewise.
33686         (log_test): Likewise.
33687         (log10_test): Likewise.
33688         (log1p_test): Likewise.
33689         (log2_test): Likewise.
33690         (logb_test_downward): Likewise.
33691         (pow_test): Likewise.
33692         (pow_test_tonearest): Likewise.
33693         (pow_test_towardzero): Likewise.
33694         (pow_test_downward): Likewise.
33695         (pow_test_upward): Likewise.
33696         (remainder_test): Likewise.
33697         (remquo_test): Likewise.
33698         (sin_test): Likewise.
33699         (sin_test_tonearest): Likewise.
33700         (sin_test_towardzero): Likewise.
33701         (sin_test_downward): Likewise.
33702         (sin_test_upward): Likewise.
33703         (sincos_test): Likewise.
33704         (sinh_test): Likewise.
33705         (sinh_test_tonearest): Likewise.
33706         (sinh_test_towardzero): Likewise.
33707         (sinh_test_downward): Likewise.
33708         (sinh_test_upward): Likewise.
33709         (sqrt_test): Likewise.
33710         (tan_test): Likewise.
33711         (tan_test_tonearest): Likewise.
33712         (tan_test_towardzero): Likewise.
33713         (tan_test_downward): Likewise.
33714         (tan_test_upward): Likewise.
33715         (tanh_test): Likewise.
33716         (tgamma_test): Likewise.
33717         (y0_test): Likewise.
33718         (y1_test): Likewise.
33719         (yn_test): Likewise.
33721         * math/gen-libm-test.pl (adjust_arg): Remove function.
33722         (special_function): Remove argument $in_func.  Only handle
33723         generating output for tables of tests, not inside functions.
33724         (parse_args): Likewise.
33725         (generate_testfile): Remove variable $in_func.  Update call to
33726         parse_args.
33727         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
33728         (MINUS_ZERO_INIT): Rename macro to minus_zero.
33729         (PLUS_INFTY_INIT): Rename macro to plus_infty.
33730         (MINUS_INFTY_INIT): Rename macro to minus_infty.
33731         (QNAN_VALUE_INIT): Rename macro to qnan_value.
33732         (MAX_VALUE_INIT): Rename macro to max_value.
33733         (MIN_VALUE_INIT): Rename macro to min_value.
33734         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
33735         (plus_zero): Remove variable.
33736         (minus_zero): Likewise.
33737         (plus_infty): Likewise.
33738         (minus_infty): Likewise.
33739         (qnan_value): Likewise.
33740         (max_value): Likewise.
33741         (min_value): Likewise.
33742         (min_subnorm_value): Likewise.
33744 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33746         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
33747         uint64_t or uint32_t usage.
33748         * crypt/sha256-block.c: Likewise.
33749         * crypt/sha256-crypt.c: Likewise.
33750         * crypt/sha256.c: Likewise.
33751         * crypt/sha512-block.c: Likewise.
33752         * crypt/sha512-crypt.c: Likewise.
33753         * crypt/sha512.c: Likewise.
33754         * debug/backtrace-tst.c: Likewise.
33755         * debug/pcprofiledump.c: Likewise.
33756         * elf/cache.c: Likewise.
33757         * elf/dl-cache.c: Likewise.
33758         * elf/dl-misc.c: Likewise.
33759         * elf/dl-profile.c: Likewise.
33760         * elf/dl-support.c: Likewise.
33761         * elf/ldconfig.c: Likewise.
33762         * elf/sprof.c: Likewise.
33763         * iconv/dummy-repertoire.c: Likewise.
33764         * iconv/iconv_charmap.c: Likewise.
33765         * iconv/skeleton.c: Likewise.
33766         * iconvdata/8bit-generic.c: Likewise.
33767         * iconvdata/cp737.h: Likewise.
33768         * iconvdata/cp775.h: Likewise.
33769         * iconvdata/ibm1008.h: Likewise.
33770         * iconvdata/ibm1025.h: Likewise.
33771         * iconvdata/ibm1046.h: Likewise.
33772         * iconvdata/ibm1097.h: Likewise.
33773         * iconvdata/ibm1112.h: Likewise.
33774         * iconvdata/ibm1122.h: Likewise.
33775         * iconvdata/ibm1123.h: Likewise.
33776         * iconvdata/ibm1124.h: Likewise.
33777         * iconvdata/ibm1129.h: Likewise.
33778         * iconvdata/ibm1130.h: Likewise.
33779         * iconvdata/ibm1132.h: Likewise.
33780         * iconvdata/ibm1133.h: Likewise.
33781         * iconvdata/ibm1137.h: Likewise.
33782         * iconvdata/ibm1140.h: Likewise.
33783         * iconvdata/ibm1141.h: Likewise.
33784         * iconvdata/ibm1142.h: Likewise.
33785         * iconvdata/ibm1143.h: Likewise.
33786         * iconvdata/ibm1144.h: Likewise.
33787         * iconvdata/ibm1145.h: Likewise.
33788         * iconvdata/ibm1146.h: Likewise.
33789         * iconvdata/ibm1147.h: Likewise.
33790         * iconvdata/ibm1148.h: Likewise.
33791         * iconvdata/ibm1149.h: Likewise.
33792         * iconvdata/ibm1153.h: Likewise.
33793         * iconvdata/ibm1154.h: Likewise.
33794         * iconvdata/ibm1155.h: Likewise.
33795         * iconvdata/ibm1156.h: Likewise.
33796         * iconvdata/ibm1157.h: Likewise.
33797         * iconvdata/ibm1158.h: Likewise.
33798         * iconvdata/ibm1160.h: Likewise.
33799         * iconvdata/ibm1161.h: Likewise.
33800         * iconvdata/ibm1162.h: Likewise.
33801         * iconvdata/ibm1163.h: Likewise.
33802         * iconvdata/ibm1164.h: Likewise.
33803         * iconvdata/ibm1166.h: Likewise.
33804         * iconvdata/ibm1167.h: Likewise.
33805         * iconvdata/ibm12712.h: Likewise.
33806         * iconvdata/ibm1390.h: Likewise.
33807         * iconvdata/ibm1399.h: Likewise.
33808         * iconvdata/ibm16804.h: Likewise.
33809         * iconvdata/ibm4517.h: Likewise.
33810         * iconvdata/ibm4899.h: Likewise.
33811         * iconvdata/ibm4909.h: Likewise.
33812         * iconvdata/ibm4971.h: Likewise.
33813         * iconvdata/ibm5347.h: Likewise.
33814         * iconvdata/ibm803.h: Likewise.
33815         * iconvdata/ibm856.h: Likewise.
33816         * iconvdata/ibm901.h: Likewise.
33817         * iconvdata/ibm902.h: Likewise.
33818         * iconvdata/ibm9030.h: Likewise.
33819         * iconvdata/ibm9066.h: Likewise.
33820         * iconvdata/ibm921.h: Likewise.
33821         * iconvdata/ibm922.h: Likewise.
33822         * iconvdata/ibm9448.h: Likewise.
33823         * iconvdata/isiri-3342.h: Likewise.
33824         * iconvdata/jis0201.h: Likewise.
33825         * include/link.h: Likewise.
33826         * include/netdb.h: Likewise.
33827         * inet/check_native.c: Likewise.
33828         * inet/check_pf.c: Likewise.
33829         * inet/getipv4sourcefilter.c: Likewise.
33830         * inet/getnameinfo.c: Likewise.
33831         * inet/getsourcefilter.c: Likewise.
33832         * inet/htonl.c: Likewise.
33833         * inet/setipv4sourcefilter.c: Likewise.
33834         * inet/setsourcefilter.c: Likewise.
33835         * inet/test-inet6_opt.c: Likewise.
33836         * inet/tst-network.c: Likewise.
33837         * locale/C-collate.c: Likewise.
33838         * locale/C-ctype.c: Likewise.
33839         * locale/C-time.c: Likewise.
33840         * locale/C-translit.h: Likewise.
33841         * locale/loadarchive.c: Likewise.
33842         * locale/programs/3level.h: Likewise.
33843         * locale/programs/charmap.c: Likewise.
33844         * locale/programs/charmap.h: Likewise.
33845         * locale/programs/ld-address.c: Likewise.
33846         * locale/programs/ld-collate.c: Likewise.
33847         * locale/programs/ld-ctype.c: Likewise.
33848         * locale/programs/ld-identification.c: Likewise.
33849         * locale/programs/ld-measurement.c: Likewise.
33850         * locale/programs/ld-messages.c: Likewise.
33851         * locale/programs/ld-monetary.c: Likewise.
33852         * locale/programs/ld-name.c: Likewise.
33853         * locale/programs/ld-numeric.c: Likewise.
33854         * locale/programs/ld-paper.c: Likewise.
33855         * locale/programs/ld-telephone.c: Likewise.
33856         * locale/programs/ld-time.c: Likewise.
33857         * locale/programs/linereader.c: Likewise.
33858         * locale/programs/locale.c: Likewise.
33859         * locale/programs/locarchive.c: Likewise.
33860         * locale/programs/locfile.h: Likewise.
33861         * locale/programs/repertoire.c: Likewise.
33862         * locale/programs/simple-hash.c: Likewise.
33863         * locale/programs/simple-hash.h: Likewise.
33864         * malloc/memusage.c: Likewise.
33865         * malloc/memusagestat.c: Likewise.
33866         * nis/nis_defaults.c: Likewise.
33867         * nis/nis_hash.c: Likewise.
33868         * nis/nis_print.c: Likewise.
33869         * nis/nis_xdr.c: Likewise.
33870         * nscd/connections.c: Likewise.
33871         * nscd/hstcache.c: Likewise.
33872         * nscd/nscd_gethst_r.c: Likewise.
33873         * nscd/nscd_getserv_r.c: Likewise.
33874         * nscd/nscd_helper.c: Likewise.
33875         * nscd/servicescache.c: Likewise.
33876         * nss/makedb.c: Likewise.
33877         * nss/nss_db/db-XXX.c: Likewise.
33878         * nss/nss_db/db-initgroups.c: Likewise.
33879         * nss/nss_db/db-netgrp.c: Likewise.
33880         * nss/nss_files/files-network.c: Likewise.
33881         * nss/nss_files/files-parse.c: Likewise.
33882         * posix/bug-regex5.c: Likewise.
33883         * posix/fnmatch_loop.c: Likewise.
33884         * posix/regcomp.c: Likewise.
33885         * posix/regexec.c: Likewise.
33886         * posix/tst-rfc3484-2.c: Likewise.
33887         * posix/tst-rfc3484-3.c: Likewise.
33888         * posix/tst-rfc3484.c: Likewise.
33889         * resolv/nss_dns/dns-canon.c: Likewise.
33890         * resolv/nss_dns/dns-network.c: Likewise.
33891         * resolv/res_init.c: Likewise.
33892         * resolv/res_mkquery.c: Likewise.
33893         * resolv/tst-aton.c: Likewise.
33894         * stdlib/cxa_atexit.c: Likewise.
33895         * stdlib/cxa_finalize.c: Likewise.
33896         * stdlib/gen-fpioconst.c: Likewise.
33897         * stdlib/strtol_l.c: Likewise.
33898         * string/tst-endian.c: Likewise.
33899         * sunrpc/auth_des.c: Likewise.
33900         * sunrpc/clnt_udp.c: Likewise.
33901         * sunrpc/rtime.c: Likewise.
33902         * sunrpc/svcauth_des.c: Likewise.
33903         * sunrpc/xdr.c: Likewise.
33904         * sunrpc/xdr_intXX_t.c: Likewise.
33905         * sunrpc/xdr_rec.c: Likewise.
33906         * sysdeps/generic/ldconfig.h: Likewise.
33907         * sysdeps/generic/ldsodefs.h: Likewise.
33908         * sysdeps/generic/memusage.h: Likewise.
33909         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33910         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
33911         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
33912         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33913         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33914         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33915         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33916         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33917         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33918         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33919         * sysdeps/posix/getaddrinfo.c: Likewise.
33920         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33921         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33922         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33923         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33924         * sysdeps/powerpc/test-gettimebase.c: Likewise.
33925         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33926         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
33927         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
33928         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33929         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
33930         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33931         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33932         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
33933         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
33934         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
33935         * sysdeps/x86_64/dl-tls.h: Likewise.
33936         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
33937         * time/alt_digit.c: Likewise.
33938         * time/era.c: Likewise.
33939         * wcsmbs/tst-c16c32-1.c: Likewise.
33941 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33943         * math/libm-test.inc (struct test_sincos_data): New type.
33944         (RUN_TEST_LOOP_sincos): New macro.
33945         (sincos_test_data): New variable.
33946         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
33948 2013-05-16  Richard Henderson  <rth@redhat.com>
33950         * math/atest-exp2.c (LIMB64): New macro.
33951         (CONSTSZ): New macro.
33952         (mp_exp1, mp_exp_m1, mp_log2): New variables.
33953         (hexdig): Move ...
33954         (print_mpn_fp): ... to function scope.
33955         (read_mpn_hex): Remove.
33956         (get_log2): Remove.
33957         (exp2_mpn): Use mp_log2.
33958         (main): Use mp_exp1.
33960 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33962         * math/libm-test.inc: Remove comment about not testing "inexact"
33963         exceptions.
33964         (INEXACT_EXCEPTION): New macro.
33965         (NO_INEXACT_EXCEPTION): Likewise.
33966         (INVALID_EXCEPTION_OK): Update value.
33967         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33968         (OVERFLOW_EXCEPTION_OK): Likewise.
33969         (UNDERFLOW_EXCEPTION_OK): Likewise.
33970         (IGNORE_ZERO_INF_SIGN): Likewise.
33971         (ERRNO_UNCHANGED): Likewise.
33972         (ERRNO_EDOM): Likewise.
33973         (ERRNO_ERANGE): Likewise.
33974         (test_exceptions): Handle testing "inexact" exceptions.
33975         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
33976         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
33977         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
33978         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
33979         INEXACT_EXCEPTION.
33980         (rint_towardzero_test_data): Likewise.
33981         (rint_downward_test_data): Likewise.
33982         (rint_upward_test_data): Likewise.
33984         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
33985         with OVERFLOW_EXCEPTION.
33986         (exp10_test_data): Likewise.
33987         (exp2_test_data): Likewise.
33988         (expm1_test_data): Likewise.
33989         (lgamma_test_data): Likewise.
33990         (pow_test_data): Likewise.
33991         (tgamma_test_data): Likewise.
33992         (yn_test_data): Remove duplicate test of overflow.
33994         * math/libm-test.inc (struct test_cc_c_data): New type.
33995         (RUN_TEST_LOOP_cc_c): New macro.
33996         (cpow_test_data): New variable.
33997         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
33999         * math/libm-test.inc (struct test_f_L_data): New type.
34000         (RUN_TEST_LOOP_f_L): New macro.
34001         (llrint_test_data): New variable.
34002         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
34003         (llrint_tonearest_test_data): New variable.
34004         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
34005         (llrint_towardzero_test_data): New variable.
34006         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
34007         (llrint_downward_test_data): New variable.
34008         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
34009         (llrint_upward_test_data): New variable.
34010         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
34011         (llround_test_data): New variable.
34012         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
34014 2013-05-13  Peter Collingbourne  <pcc@google.com>
34016         * math/atest-exp2.c (get_log2): Remove const attribute.
34018 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
34020         * math/libm-test.inc (struct test_f_l_data): New type.
34021         (RUN_TEST_LOOP_f_l): New macro.
34022         (lrint_test_data): New variable.
34023         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
34024         (lrint_tonearest_test_data): New variable.
34025         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
34026         (lrint_towardzero_test_data): New variable.
34027         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
34028         (lrint_downward_test_data): New variable.
34029         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
34030         (lrint_upward_test_data): New variable.
34031         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
34032         (lround_test_data): New variable.
34033         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
34035 2013-05-15  Peter Collingbourne  <pcc@google.com>
34037         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
34038         (EXTRACT_WORDS64) Use where appropriate.
34039         (INSERT_WORDS64) Likewise.
34041         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
34042         constraints with x constraints.
34043         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
34045         * malloc/obstack.c (_obstack_compat): Add initializer.
34047 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
34049         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
34050         si_trapno and add si_addr_lsb to _sifields.sigfault.
34051         (si_trapno): Remove macro.
34052         (si_addr_lsb): Define new macro.
34053         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34055 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
34057         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
34058         instead of TEST_f_l.
34059         (llrint_test_tonearest): Likewise.
34060         (llrint_test_towardzero): Likewise.
34061         (llrint_test_downward): Likewise.
34062         (llrint_test_upward): Likewise.
34063         (llround_test): Likewise.
34065         * math/libm-test.inc (struct test_f_i_data): Add comment.
34066         (RUN_TEST_LOOP_f_b): New macro.
34067         (RUN_TEST_LOOP_f_b_tg): Likewise.
34068         (finite_test_data): New variable.
34069         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
34070         (isfinite_test_data): New variable.
34071         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34072         (isinf_test_data): New variable.
34073         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34074         (isnan_test_data): New variable.
34075         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34076         (isnormal_test_data): New variable.
34077         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34078         (issignaling_test_data): New variable.
34079         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34080         (signbit_test_data): New variable.
34081         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34083         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
34084         with INVALID_EXCEPTION.
34085         (acosh_test_data): Likewise.
34086         (asin_test_data): Likewise.
34087         (atanh_test_data): Likewise.
34088         (fmod_test_data): Likewise.
34089         (log_test_data): Likewise.
34090         (log10_test_data): Likewise.
34091         (log2_test_data): Likewise.
34092         (pow_test_data): Likewise.
34093         (sqrt_test_data): Likewise.
34094         (y0_test_data): Likewise.
34095         (y1_test_data): Likewise.
34096         (yn_test_data): Likewise.
34098         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
34099         function contents.
34101         * math/libm-test.inc (struct test_ff_i_data): New type.
34102         (RUN_TEST_LOOP_ff_i_tg): New macro.
34103         (isgreater_test_data): New variable.
34104         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34105         (isgreaterequal_test_data): New variable.
34106         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34107         (isless_test_data): New variable.
34108         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34109         (islessequal_test_data): New variable.
34110         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34111         (islessgreater_test_data): New variable.
34112         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34113         (isunordered_test_data): New variable.
34114         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34116 2013-05-14  David S. Miller  <davem@davemloft.net>
34118         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34120 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
34122         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
34124         * math/libm-test.inc (struct test_fF_f1_data): Change type of
34125         extra_test to int.
34126         (struct test_f_i_data): Change type of max_ulp to int.
34128         * math/libm-test.inc (test_ffI_f1_data): New type.
34129         (RUN_TEST_LOOP_ffI_f1): New macro.
34130         (remquo_test_data): New variable.
34131         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
34133         * setjmp/tst-setjmp-fp.c: New file.
34134         * setjmp/Makefile (tests): Add tst-setjmp-fp.
34135         (link-libm): New variable.
34136         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
34138         * math/libm-test.inc (struct test_f_i_data): New type.
34139         (RUN_TEST_LOOP_f_i): New macro.
34140         (RUN_TEST_LOOP_f_i_tg): Likewise.
34141         (fpclassify_test_data): New variable.
34142         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
34143         (ilogb_test_data): New variable.
34144         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
34146         * math/libm-test.inc (scalbln_test): Correct function name in END
34147         call.
34149         * math/libm-test.inc (struct test_f_f1_data): Add comment.
34150         (RUN_TEST_LOOP_fI_f1): New macro.
34151         (frexp_test_data): New variable.
34152         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
34154         * math/libm-test.inc (struct test_fF_f1_data): New type.
34155         (RUN_TEST_LOOP_fF_f1): New macro.
34156         (modf_test_data): New variable.
34157         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
34159         * math/libm-test.inc (struct test_f_f1_data): New type.
34160         (RUN_TEST_LOOP_f_f1): New macro.
34161         (gamma_test_data): New variable.
34162         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34163         (lgamma_test_data): New variable.
34164         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34166 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
34168         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
34169         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
34170         (main): Comment "tls" pseudo-hwcap.
34172 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
34174         * math/libm-test.inc (struct test_fl_f_data): New type.
34175         (RUN_TEST_LOOP_fl_f): New variable.
34176         (scalbln_test_data): New variable.
34177         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
34179         * math/libm-test.inc (struct test_fi_f_data): New type.
34180         (RUN_TEST_LOOP_fi_f): New macro.
34181         (ldexp_test_data): New variable.
34182         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
34183         (scalbn_test_data): New variable.
34184         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
34186         * math/libm-test.inc (struct test_c_f_data): New type.
34187         (RUN_TEST_LOOP_c_f): New macro.
34188         (cabs_test_data): New variable.
34189         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
34190         (carg_test_data): New variable.
34191         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
34192         (cimag_test_data): New variable.
34193         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
34194         (creal_test_data): New variable.
34195         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
34197         * math/libm-test.inc (struct test_if_f_data): New type.
34198         (RUN_TEST_LOOP_if_f): New macro.
34199         (jn_test_data): New variable.
34200         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
34201         (yn_test_data): New variable.
34202         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
34204         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
34206 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34208         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
34209         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
34211 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
34213         * benchtests/Makefile (CPPFLAGS-nonlib): Add
34214         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
34215         (bench-deps): Add bench-timing.h.
34216         * benchtests-bench-skeleton.c: Include bench-timing.h.
34217         (main): Use TIMING_* macros instead of clock_gettime.
34218         * benchtests/bench-timing.h: New file.
34220         [BZ #14582]
34221         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
34222         Renamed from _LIB_VERSION.
34223         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
34225 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
34227         * math/libm-test.inc (struct test_fff_f_data): New type.
34228         (RUN_TEST_LOOP_fff_f): New macro.
34229         (fma_test_data): New variable.
34230         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
34231         (fma_towardzero_test_data): New variable.
34232         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
34233         (fma_downward_test_data): New variable.
34234         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
34235         (fma_upward_test_data): New variable.
34236         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
34238         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
34239         (struct test_c_c_data): New type.
34240         (RUN_TEST_LOOP_c_c): New macro.
34241         (cacos_test_data): New variable.
34242         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
34243         (cacosh_test_data): New variable.
34244         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
34245         (casin_test_data): New variable.
34246         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
34247         (casinh_test_data): New variable.
34248         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
34249         (catan_test_data): New variable.
34250         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
34251         (catanh_test_data): New variable.
34252         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
34253         (ccos_test_data): New variable.
34254         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
34255         (ccosh_test_data): New variable.
34256         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
34257         (cexp_test_data): New variable.
34258         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
34259         (clog_test_data): New variable.
34260         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
34261         (clog10_test_data): New variable.
34262         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
34263         (conj_test_data): New variable.
34264         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
34265         (cproj_test_data): New variable.
34266         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
34267         (csin_test_data): New variable.
34268         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
34269         (csinh_test_data): New variable.
34270         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
34271         (csqrt_test_data): New variable.
34272         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
34273         (ctan_test_data): New variable.
34274         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
34275         (ctan_tonearest_test_data): New variable.
34276         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34277         (ctan_towardzero_test_data): New variable.
34278         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34279         (ctan_downward_test_data): New variable.
34280         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34281         (ctan_upward_test_data): New variable.
34282         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34283         (ctanh_test_data): New variable.
34284         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
34285         (ctanh_tonearest_test_data): New variable.
34286         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34287         (ctanh_towardzero_test_data): New variable.
34288         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34289         (ctanh_downward_test_data): New variable.
34290         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34291         (ctanh_upward_test_data): New variable.
34292         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34293         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
34294         of BUILD_COMPLEX.
34296         * math/libm-test.inc (struct test_ff_f_data): New type.
34297         (struct test_ff_f_data_nexttoward): Likewise.
34298         (RUN_TEST_LOOP_2_f): New macro.
34299         (RUN_TEST_LOOP_ff_f): Likewise.
34300         (atan2_test_data): New variable.
34301         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
34302         (copysign_test_data): New variable.
34303         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
34304         (fdim_test_data): New variable.
34305         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
34306         (fmax_test_data): New variable.
34307         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
34308         (fmin_test_data): New variable.
34309         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
34310         (fmod_test_data): New variable.
34311         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
34312         (hypot_test_data): New variable.
34313         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
34314         (nextafter_test_data): New variable.
34315         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
34316         (nexttoward_test_data): New variable.
34317         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
34318         (pow_test_data): New variable.
34319         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
34320         (pow_tonearest_test_data): New variable.
34321         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
34322         (pow_towardzero_test_data): New variable.
34323         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
34324         (pow_downward_test_data): New variable.
34325         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
34326         (pow_upward_test_data): New variable.
34327         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
34328         (remainder_test_data): New variable.
34329         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
34330         (scalb_test_data): New variable.
34331         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
34332         * sysdeps/i386/fpu/libm-test-ulps: Update.
34334 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
34336         * math/libm-test.inc (fma_test): Use max_value instead of local
34337         variable fltmax.
34338         (nextafter_test): Likewise.
34340         * math/libm-test.inc (acos_towardzero_test_data): New variable.
34341         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34342         (acos_downward_test_data): New variable.
34343         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34344         (acos_upward_test_data): New variable.
34345         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34346         (acosh_test_data): New variable.
34347         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
34348         (asin_test_data): New variable.
34349         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
34350         (asin_tonearest_test_data): New variable.
34351         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34352         (asin_towardzero_test_data): New variable.
34353         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34354         (asin_downward_test_data): New variable.
34355         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34356         (asin_upward_test_data): New variable.
34357         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34358         (asinh_test_data): New variable.
34359         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
34360         (atan_test_data): New variable.
34361         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
34362         (atanh_test_data): New variable.
34363         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
34364         (cbrt_test_data): New variable.
34365         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
34366         (ceil_test_data): New variable.
34367         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
34368         (cos_test_data): New variable.
34369         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
34370         (cos_tonearest_test_data): New variable.
34371         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34372         (cos_towardzero_test_data): New variable.
34373         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34374         (cos_downward_test_data): New variable.
34375         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34376         (cos_upward_test_data): New variable.
34377         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34378         (cosh_test_data): New variable.
34379         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
34380         (cosh_tonearest_test_data): New variable.
34381         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34382         (cosh_towardzero_test_data): New variable.
34383         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34384         (cosh_downward_test_data): New variable.
34385         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34386         (cosh_upward_test_data): New variable.
34387         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34388         (erf_test_data): New variable.
34389         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
34390         (erfc_test_data): New variable.
34391         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
34392         (exp_test_data): New variable.
34393         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
34394         (exp_tonearest_test_data): New variable.
34395         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34396         (exp_towardzero_test_data): New variable.
34397         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34398         (exp_downward_test_data): New variable.
34399         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34400         (exp_upward_test_data): New variable.
34401         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34402         (exp10_test_data): New variable.
34403         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
34404         (exp2_test_data): New variable.
34405         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
34406         (expm1_test_data): New variable.
34407         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
34408         (fabs_test_data): New variable.
34409         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
34410         (floor_test_data): New variable.
34411         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
34412         (j0_test_data): New variable.
34413         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
34414         (j1_test_data): New variable.
34415         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
34416         (log_test_data): New variable.
34417         (log_test): Run tests with RUN_TEST_LOOP_f_f.
34418         (log10_test_data): New variable.
34419         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
34420         (log1p_test_data): New variable.
34421         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
34422         (log2_test_data): New variable.
34423         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
34424         (logb_test_data): New variable.
34425         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
34426         (logb_downward_test_data): New variable.
34427         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34428         (nearbyint_test_data): New variable.
34429         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
34430         (rint_test_data): New variable.
34431         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
34432         (rint_tonearest_test_data): New variable.
34433         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34434         (rint_towardzero_test_data): New variable.
34435         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34436         (rint_downward_test_data): New variable.
34437         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34438         (rint_upward_test_data): New variable.
34439         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34440         (round_test_data): New variable.
34441         (round_test): Run tests with RUN_TEST_LOOP_f_f.
34442         (sin_test_data): New variable.
34443         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
34444         (sin_tonearest_test_data): New variable.
34445         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34446         (sin_towardzero_test_data): New variable.
34447         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34448         (sin_downward_test_data): New variable.
34449         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34450         (sin_upward_test_data): New variable.
34451         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34452         (sinh_test_data): New variable.
34453         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
34454         (sinh_tonearest_test_data): New variable.
34455         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34456         (sinh_towardzero_test_data): New variable.
34457         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34458         (sinh_downward_test_data): New variable.
34459         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34460         (sinh_upward_test_data): New variable.
34461         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34462         (sqrt_test_data): New variable.
34463         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
34464         (tan_test_data): New variable.
34465         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
34466         (tan_tonearest_test_data): New variable.
34467         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34468         (tan_towardzero_test_data): New variable.
34469         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34470         (tan_downward_test_data): New variable.
34471         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34472         (tan_upward_test_data): New variable.
34473         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34474         (tanh_test_data): New variable.
34475         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
34476         (tgamma_test_data): New variable.
34477         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
34478         (trunc_test_data): New variable.
34479         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
34480         (y0_test_data): New variable.
34481         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
34482         (y1_test_data): New variable.
34483         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
34484         (significand_test_data): New variable.
34485         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
34487 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
34489         [BZ #12387]
34490         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
34492 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34494         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
34496 2013-05-10  Andreas Jaeger  <aj@suse.de>
34498         [BZ #15448]
34499         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
34500         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
34502 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
34504         * math/gen-libm-test.pl (adjust_arg): New function.
34505         (special_functions): Handle generating output in both functions
34506         and arrays.
34507         (parse_args): Likewise.
34508         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
34509         $in_func argument to parse_args.
34510         * math/libm-test.inc (struct test_f_f_data): New type.
34511         (IF_ROUND_INIT_): New macro.
34512         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
34513         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
34514         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
34515         (IF_ROUND_INIT_FE_UPWARD): Likewise.
34516         (ROUND_RESTORE_): Likewise.
34517         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
34518         (ROUND_RESTORE_FE_TONEAREST): Likewise.
34519         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
34520         (ROUND_RESTORE_FE_UPWARD): Likewise.
34521         (RUN_TEST_LOOP_f_f): New macro.
34522         (acos_test_data): New variable.
34523         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
34524         (acos_tonearest_test_data): New variable.
34525         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34527 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34529         * benchtests/bench-skeleton.c (startup): Fix coding style.
34531 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
34533         [BZ #6809]
34534         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
34535         negative infinity argument.
34536         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
34537         negative infinity argument.
34538         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
34539         negative infinity argument.
34540         * math/libm-test.inc (tgamma_test): Expect errno to be set for
34541         domain errors.
34543 2013-05-10  Florian Weimer  <fweimer@redhat.com>
34545         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
34546         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
34547         * iconv/iconv_prog.c (main): Likewise.
34548         * locale/programs/charmap-dir.c (charmap_readdir)
34549         (fopen_uncompressed): Likewise.
34550         * locale/programs/locfile.c (siblings_uncached)
34551         (write_locale_data): Use lstat64 instead of lstat.
34552         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
34553         stat.
34555 2013-05-10  Andreas Jaeger  <aj@suse.de>
34557         [BZ #15395]
34558         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
34559         localization.
34560         Include <locale.h>.
34562 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
34564         * elf/dl-close.c (_dl_close_worker): Add comments.
34566 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
34568         [BZ #15359]
34569         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
34570         high part of pi/2.
34571         (__ieee754_rem_pio2l): Update comments.
34573         [BZ #15429]
34574         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
34575         high part of pi/2.
34576         (__ieee754_rem_pio2l): Update comments.
34578         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
34579         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
34581         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
34582         M_PI_4l.
34584         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
34585         (M_PI_34_LOG10El): Likewise.
34586         (M_PI2_LOG10El): Likewise.
34587         (M_PI4_LOG10El): Likewise.
34588         (M_PI_LOG10El): Likewise.
34590 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34592         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34594 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
34596         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
34597         (MINUS_ZERO_INIT): Likewise.
34598         (PLUS_INFTY_INIT): Likewise.
34599         (MINUS_INFTY_INIT): Likewise.
34600         (QNAN_VALUE_INIT): Likewise.
34601         (MAX_VALUE_INIT): Likewise.
34602         (MIN_VALUE_INIT): Likewise.
34603         (MIN_SUBNORM_VALUE_INIT): Likewise.
34604         (plus_zero): Initialize with PLUS_ZERO_INIT.
34605         (minus_zero): Initialize with MINUS_ZERO_INIT.
34606         (plus_infty): Initialize with PLUS_INFTY_INIT.
34607         (minus_infty): Initialize with MINUS_INFTY_INIT.
34608         (qnan_value): Initialize with QNAN_VALUE_INIT.
34609         (max_value): Initialize with MAX_VALUE_INIT.
34610         (min_value): Initialize with MIN_VALUE_INIT.
34611         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
34613         * math/libm-test.inc (RUN_TEST_if_f): New macro.
34614         (jn_test): Use TEST_if_f instead of TEST_ff_f.
34615         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
34616         (yn_test): Use TEST_if_f instead of TEST_ff_f.
34618         * math/libm-test.inc (RUN_TEST_f_f): New macro.
34619         (RUN_TEST_2_f): Likewise.
34620         (RUN_TEST_ff_f): Likewise.
34621         (RUN_TEST_fi_f): Likewise.
34622         (RUN_TEST_fl_f): Likewise.
34623         (RUN_TEST_fff_f): Likewise.
34624         (RUN_TEST_c_f): Likewise.
34625         (RUN_TEST_f_f1): Likewise.
34626         (RUN_TEST_fF_f1): Likewise.
34627         (RUN_TEST_fI_f1): Likewise.
34628         (RUN_TEST_ffI_f1): Likewise.
34629         (RUN_TEST_c_c): Likewise.
34630         (RUN_TEST_cc_c): Likewise.
34631         (RUN_TEST_f_i): Likewise.
34632         (RUN_TEST_f_i_tg): Likewise.
34633         (RUN_TEST_ff_i_tg): Likewise.
34634         (RUN_TEST_f_b): Likewise.
34635         (RUN_TEST_f_b_tg): Likewise.
34636         (RUN_TEST_f_l): Likewise.
34637         (RUN_TEST_f_L): Likewise.
34638         (RUN_TEST_sincos): Likewise.
34639         * math/gen-libm-test.pl (new_test): Take new argument to indicate
34640         whether to show exceptions.  Do not include ");\n" in return
34641         value.
34642         (special_functions): Output call to RUN_TEST_sincos instead of
34643         check_float calls.  Update calls to new_test.
34644         (parse_args): Output call to single RUN_TEST_* macro instead of
34645         check_* calls and other assignments.  Update calls to new_test.
34647         [BZ #2546]
34648         [BZ #2560]
34649         [BZ #5159]
34650         [BZ #15426]
34651         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
34652         input to result for tgamma overflow.
34653         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
34654         (gamma_coeff): New variable.
34655         (NCOEFF): New macro.
34656         (gamma_positive): New function.
34657         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
34658         underflow here.  Use gamma_positive instead of exp (lgamma) for
34659         other arguments.
34660         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
34661         (gamma_coeff): New variable.
34662         (NCOEFF): New macro.
34663         (gammaf_positive): New function.
34664         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
34665         underflow here.  Use gamma_positive instead of exp (lgamma) for
34666         other arguments.
34667         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
34668         (gamma_coeff): New variable.
34669         (NCOEFF): New macro.
34670         (gammal_positive): New function.
34671         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
34672         underflow here.  Use gamma_positive instead of exp (lgamma) for
34673         other arguments.
34674         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
34675         (gamma_coeff): New variable.
34676         (NCOEFF): New macro.
34677         (gammal_positive): New function.
34678         (__ieee754_gammal_r): Handle positive infinity, overflow and
34679         underflow here.  Handle NaN the same as positive infinity.  Remove
34680         check x < 0xffffffff for negative integers.  Use gamma_positive
34681         instead of exp (lgamma) for other arguments.
34682         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
34683         (gamma_coeff): New variable.
34684         (NCOEFF): New macro.
34685         (gammal_positive): New function.
34686         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
34687         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
34688         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
34689         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
34690         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
34691         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
34692         * sysdeps/generic/math_private.h (__gamma_productf): New
34693         prototype.
34694         (__gamma_product): Likewise.
34695         (__gamma_productl): Likewise.
34696         * math/Makefile (libm-calls): Add gamma_product.
34697         * math/libm-test.inc (tgamma_test): Add more tests.
34698         * sysdeps/i386/fpu/libm-test-ulps: Update.
34699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34701 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
34703         * benchtests/bench-skeleton.c (main): Preheat CPU.
34705 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
34707         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
34709 2013-05-07  Roland McGrath  <roland@hack.frob.com>
34711         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
34712         and _dl_skip_args_internal.
34714 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
34716         * manual/message.texi (Message Translation): Talk about users.
34717         Message to key mapping impacts design.
34719 2013-05-06  Roland McGrath  <roland@hack.frob.com>
34721         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
34723         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
34725         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
34726         * sysdeps/wordsize-64/glob64.c: ... here.
34728         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
34729         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
34730         New macros.
34732         * debug/getlogin_r_chk.c: Moved to ...
34733         * login/getlogin_r_chk.c: ... here.
34734         * debug/Makefile (routines): Move getlogin_r_chk to ...
34735         * login/Makefile (routines): ... here.
34736         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
34737         * login/Versions (libc: GLIBC_2.4): ... here.
34739         * io/poll.c (__poll): Renamed from poll.
34740         Add libc_hidden_def.
34741         (poll): Define as weak alias.
34743         * debug/ptsname_r_chk.c: Moved to ...
34744         * login/ptsname_r_chk.c: ... here.
34745         * debug/Makefile (routines): Move ptsname_r_chk to ...
34746         * login/Makefile (routines): ... here.
34747         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
34748         * login/Versions (libc: GLIBC_2.4): ... here.
34750         * posix/getlogin.c: Moved to ...
34751         * login/getlogin.c: ... here.
34752         * posix/getlogin_r.c: Moved to ...
34753         * login/getlogin_r.c: ... here.
34754         * posix/getlogin_r.c: Moved to ...
34755         * login/getlogin_r.c: ... here.
34756         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
34757         * login/Makefile (routines): ... here.
34758         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
34759         * login/Versions (libc: GLIBC_2.0): ... here.
34761         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
34762         (setrlimit): Define as weak alias.
34764         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
34765         Call __ names for open, ftruncate, and close.
34766         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
34767         (truncate): Define as weak alias.
34769 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
34771         * math/gen-libm-test.pl (parse_args): Initialize x before each
34772         test of frexp, modf and remquo.
34774         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
34775         test signgam value.
34777 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34779         [BZ #15418]
34780         [BZ #15419]
34781         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
34782         internal tests.
34783         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34785 2013-05-06  Roland McGrath  <roland@hack.frob.com>
34787         * elf/dl-writev.h: New file.
34788         * elf/dl-misc.c: Include it.
34789         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
34790         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
34792 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
34794         * math/libm-test.inc (noXFails): Remove variable.
34795         (noXPasses): Likewise.
34796         (BUILD_COMPLEX_INT): Remove macro.
34797         (print_screen): Remove xfail argument.
34798         (print_screen_max_error): Likewise.
34799         (update_stats): Likewise.
34800         (print_max_error): Likewise.  Update calls to other affected
34801         functions.
34802         (print_complex_max_error): Likewise.
34803         (test_single_exception): Update calls to print_screen.
34804         (test_single_errno): Likewise.
34805         (check_float_internal): Remove xfail argument.  Update calls to
34806         other affected functions.
34807         (check_float): Likewise.
34808         (check_complex): Likewise.
34809         (check_int): Likewise.
34810         (check_long): Likewise.
34811         (check_bool): Likewise.
34812         (check_longlong): Likewise.
34813         (main): Don't print noXFails and noXPasses.
34814         * math/gen-libm-test.pl (top level): Don't mention expected
34815         failure handling in comment.
34816         (new_test): Don't handle expected failures.
34817         (parse_args): Don't mention expected failure handling in comment.
34818         (generate_testfile): Don't handle expected failures.
34819         (parse_ulps): Likewise.
34820         (print_ulps_file): Likewise.
34821         (get_failure): Remove function.
34822         (output_test): Don't handle expected failures.
34823         * make/README.libm-test: Don't mention expected failure handling.
34825         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
34826         (minus_zero): Likewise.
34827         (plus_infty): Likewise.
34828         (minus_infty): Likewise.
34829         (qnan_value): Likewise.
34830         (max_value): Likewise.
34831         (min_value): Likewise.
34832         (min_subnorm_value): Likewise.
34833         (initialize): Do not initialize those variables dynamically.
34835 2013-05-03  Roland McGrath  <roland@hack.frob.com>
34837         * io/open.c (__open_2): Moved to ...
34838         * io/open_2.c: ... this new file.
34839         * io/open64.c (__open64_2): Moved to ...
34840         * io/open64_2.c: ... this new file.
34841         * io/openat.c (__openat_2): Moved to ...
34842         * io/openat_2.c: ... this new file.
34843         * io/openat64.c (__openat64_2): Moved to ...
34844         * io/openat64_2.c: ... this new file.
34845         * io/Makefile (routines): Add them.
34846         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
34847         * sysdeps/unix/sysv/linux/open_2.c: File removed.
34848         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
34849         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
34850         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
34851         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
34852         (__openat64): Add hidden_ver.
34853         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
34854         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
34856         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
34857         Separately conditionalize setting of GLRO(dl_sysinfo) so
34858         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
34859         as well, but the actual setting is only under [NEED_DL_SYSINFO].
34861 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34863         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
34864         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
34865         definition.
34866         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
34867         * sysdeps/unix/sysv/linux/powerpc/init-first.c
34868         (_libc_vdso_platform_setup): Add __vdso_time initialization.
34869         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
34870         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
34872 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
34874         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
34875         test signgam value.
34877         * math/libm-test.inc (hypot_test): Do not use
34878         IGNORE_ZERO_INF_SIGN.
34880 2013-05-03  Andreas Jaeger  <aj@suse.de>
34882         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
34883         Linux 3.9.
34884         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
34885         (PF_MAX): Adjust for VSOCK change.
34887 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34889         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34891 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
34893         [BZ #15264]
34894         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
34895         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
34896         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
34898 2013-05-02  David S. Miller  <davem@davemloft.net>
34900         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34902 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
34904         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
34906 2013-05-01  Roland McGrath  <roland@hack.frob.com>
34908         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
34910 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
34912         [BZ #14952]
34913         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
34914         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34915         Use __attribute__ ((__gnu_inline__)).
34916         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34917         Don't use __attribute__ ((__gnu_inline__)).
34919 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
34921         [BZ #15423]
34922         * math/s_catan.c (__catan): Handle small real or imaginary part of
34923         input specially to avoid spurious underflow.
34924         * math/s_catanf.c (__catanf): Likewise.
34925         * math/s_catanh.c (__catanh): Likewise.
34926         * math/s_catanhf.c (__catanhf): Likewise.
34927         * math/s_catanhl.c (__catanhl): Likewise.
34928         * math/s_catanl.c (__catanl): Likewise.
34929         * math/libm-test.inc (catan_test): Add more tests.
34930         (catanh_test): Likewise.
34931         * sysdeps/i386/fpu/libm-test-ulps: Update.
34932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34934 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34936         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34938 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
34940         [BZ #15416]
34941         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
34942         accurately for denominator in atan2.
34943         * math/s_catanf.c (__catanf): Likewise.
34944         * math/s_catanh.c (__catanh): Likewise.
34945         * math/s_catanhf.c (__catanhf): Likewise.
34946         * math/s_catanhl.c (__catanhl): Likewise.
34947         * math/s_catanl.c (__catanl): Likewise.
34948         * math/libm-test.inc (catan_test): Add more tests.
34949         (catanh_test): Likewise.
34950         * sysdeps/i386/fpu/libm-test-ulps: Update.
34951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34953 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34955         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
34957         * benchtests/Makefile (bench): Remove slow benchmarks.
34958         * benchtests/atan-inputs: Add slow benchmark inputs.
34959         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
34960         (BENCH_FUNC): Accept variant offset.
34961         (VARIANT): Define.
34962         * benchtests/bench-skeleton.c (main): Run benchmark for each
34963         variant.
34964         * benchtests/cos-inputs: Add slow benchmark inputs.
34965         * benchtests/exp-inputs: Likewise.
34966         * benchtests/pow-inputs: Likewise.
34967         * benchtests/sin-inputs: Likewise.
34968         * benchtests/slowatan-inputs: Remove.
34969         * benchtests/slowatan.c: Remove.
34970         * benchtests/slowcos-inputs: Remove.
34971         * benchtests/slowcos.c: Remove.
34972         * benchtests/slowexp-inputs: Remove.
34973         * benchtests/slowexp.c: Remove.
34974         * benchtests/slowpow-inputs: Remove.
34975         * benchtests/slowpow.c: Remove.
34976         * benchtests/slowsin-inputs: Remove.
34977         * benchtests/slowsin.c: Remove.
34978         * benchtests/slowtan-inputs: Remove.
34979         * benchtests/slowtan.c: Remove.
34980         * benchtests/tan-inputs: Add slow benchmark inputs.
34981         * scripts/bench.pl: Parse comments and directives.
34983         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
34984         in CPPFLAGS.
34985         ($(objpfx)bench-%.c): Remove *-ITER.
34986         * benchtests/bench-modf.c: Remove definition of ITER.
34987         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
34988         (main): Loop for DURATION seconds instead of fixed number of
34989         iterations.
34990         * scripts/bench.pl: Don't expect iterations in parameters.
34992 2013-04-29  Roland McGrath  <roland@hack.frob.com>
34994         * io/fchdir.c (__fchdir): Renamed from fchdir.
34995         (fchdir): Define as weak alias.
34997 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
34999         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
35000         (ERRNO_EDOM): Likewise.
35001         (ERRNO_ERANGE): Likewise.
35002         (noErrnoTests): New variable.
35003         (init_max_error): Set errno to 0.
35004         (test_single_errno): New function.
35005         (test_errno): Likewise.
35006         (check_float_internal): Call test_errno.  Set errno to 0.
35007         (check_complex): Refer to errno tests in comment.
35008         (check_int): Call test_errno.  Set errno to 0.
35009         (check_long): Likewise.
35010         (check_bool): Likewise.
35011         (check_longlong): Likewise.
35012         (cos_test): Use ERRNO_* flags for errno tests instead of
35013         check_int.
35014         (expm1_test): Likewise.
35015         (fmod_test): Likewise.
35016         (ilogb_test): Likewise.
35017         (lgamma_test): Likewise.
35018         (pow_test): Likewise.
35019         (remainder_test): Likewise.
35020         (sin_test): Likewise.
35021         (tan_test): Likewise.
35022         (yn_test): Likewise.
35023         (initialize): Set errno to 0.
35024         (main): Print number of errno tests.
35025         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
35027 2013-04-29  Andreas Jaeger  <aj@suse.de>
35029         [BZ #15084]
35030         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
35031         and RES_USEVC.
35033         [BZ #15085]
35034         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
35035         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
35036         unimplemented.
35038         [BZ #15380]
35039         * stdlib/random.c (__initstate): Return NULL if
35040         __initstate fails.
35042         [BZ #15086]
35043         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
35044         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
35045         RES_SNGLKUPREOP.
35047 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35049         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35051 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
35053         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
35054         of individual tests.
35055         (casin_test): Likewise.
35056         (casinh_test): Likewise.
35058 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
35060         [BZ #15409]
35061         * math/s_catan.c (__catan): Handle arguments with large real or
35062         imaginary part separately without squaring.
35063         * math/s_catanf.c (__catanf): Likewise.
35064         * math/s_catanh.c (__catanh): Likewise.
35065         * math/s_catanhf.c (__catanhf): Likewise.
35066         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35067         and redefine.
35068         (__catanhl): Handle arguments with large real or imaginary part
35069         separately without squaring.
35070         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35071         and redefine.
35072         (__catanl): Handle arguments with large real or imaginary part
35073         separately without squaring.
35074         * math/libm-test.inc (catan_test): Add more tests.
35075         (catanh_test): Likewise.
35076         * sysdeps/i386/fpu/libm-test-ulps: Update.
35077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35079 2013-04-27  Andreas Jaeger  <aj@suse.de>
35081         [BZ #15007]
35082         * stdlib/stdlib.h: Update guards for qecvt.
35083         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
35084         <stdlib.h>.
35086 2013-04-27  Allan McRae  <allan@archlinux.org>
35088         * sysdeps/i386/fpu/libm-test-ulps: Update.
35090 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
35092         [BZ #15406]
35093         * math/s_catan.c: Include <float.h>.
35094         (__catan): Ensure underflow exception occurs for underflowed
35095         result.
35096         * math/s_catanf.c: Include <float.h>.
35097         (__catanf): Ensure underflow exception occurs for underflowed
35098         result.
35099         * math/s_catanh.c: Include <float.h>.
35100         (__catanh): Ensure underflow exception occurs for underflowed
35101         result.
35102         * math/s_catanhf.c: Include <float.h>.
35103         (__catanhf): Ensure underflow exception occurs for underflowed
35104         result.
35105         * math/s_catanhl.c: Include <float.h>.
35106         (__catanhl): Ensure underflow exception occurs for underflowed
35107         result.
35108         * math/s_catanl.c: Include <float.h>.
35109         (__catanl): Ensure underflow exception occurs for underflowed
35110         result.
35111         * math/libm-test.inc (catan_test): Add more tests.
35112         (catanh_test): Likewise.
35114         [BZ #15405]
35115         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
35116         underflowed result.
35117         * math/s_ccoshf.c (__ccoshf): Likewise.
35118         * math/s_ccoshl.c (__ccoshl): Likewise.
35119         * math/s_csin.c (__csin): Likewise.
35120         * math/s_csinf.c (__csinf): Likewise.
35121         * math/s_csinh.c (__csinh): Likewise.
35122         * math/s_csinhf.c (__csinhf): Likewise.
35123         * math/s_csinhl.c (__csinhl): Likewise.
35124         * math/s_csinl.c (__csinl): Likewise.
35125         * math/libm-test.inc (ccos_test): Add more tests.
35126         (ccosh_test): Likewise.
35127         (csin_test): Likewise.
35128         (csinh_test): Likewise.
35130 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35132         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
35133         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
35134         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
35135         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
35136         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
35137         powerpc/power5+/fpu folders.
35138         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
35141 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
35143         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35145 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
35147         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
35148         additions to variable.
35149         [$(config-machine) = x86_64] (modules-names): Likewise.
35150         ($(objpfx)tst-audit3): Remove dependency.
35151         ($(objpfx)tst-audit3.out): Likewise.
35152         ($(objpfx)tst-audit4): Likewise.
35153         ($(objpfx)tst-audit4.out): Likewise.
35154         ($(objpfx)tst-audit5): Likewise.
35155         ($(objpfx)tst-audit5.out): Likewise.
35156         ($(objpfx)tst-audit6): Likewise.
35157         ($(objpfx)tst-audit6.out): Likewise.
35158         ($(objpfx)tst-audit7): Likewise.
35159         ($(objpfx)tst-audit7.out): Likewise.
35160         (tst-audit3-ENV): Remove variable.
35161         (tst-audit4-ENV): Likewise.
35162         (tst-audit5-ENV): Likewise.
35163         (tst-audit6-ENV): Likewise.
35164         (tst-audit7-ENV): Likewise.
35165         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
35166         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
35167         addition to variable.
35168         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
35169         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
35170         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
35171         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
35172         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
35173         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
35174         tst-audit3, tst-audit4 and tst-audit5.
35175         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
35176         tst-audit6 and tst-audit7.
35177         [$(subdir) = elf] (modules-names): Add audit modules for those
35178         tests.
35179         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
35180         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
35181         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
35182         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
35183         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
35184         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
35185         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
35186         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
35187         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
35188         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
35189         [$(subdir) = elf] (tst-audit3-ENV): New variable.
35190         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
35191         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
35192         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
35193         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
35194         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
35195         Likewise.
35196         [$(subdir) = elf && $(config-cflags-avx) = yes]
35197         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
35198         [$(subdir) = elf && $(config-cflags-avx) = yes]
35199         (CFLAGS-tst-auditmod4a.c): Likewise.
35200         [$(subdir) = elf && $(config-cflags-avx) = yes]
35201         (CFLAGS-tst-auditmod4b.c): Likewise.
35202         [$(subdir) = elf && $(config-cflags-avx) = yes]
35203         (CFLAGS-tst-auditmod6b.c): Likewise.
35204         [$(subdir) = elf && $(config-cflags-avx) = yes]
35205         (CFLAGS-tst-auditmod6c.c): Likewise.
35206         [$(subdir) = elf && $(config-cflags-avx) = yes]
35207         (CFLAGS-tst-auditmod7b.c): Likewise.
35208         * elf/tst-audit3.c: Move to ...
35209         * sysdeps/x86_64/tst-audit3.c: ... here.
35210         * elf/tst-audit4.c: Move to ...
35211         * sysdeps/x86_64/tst-audit4.c: ... here.
35212         * elf/tst-audit5.c: Move to ...
35213         * sysdeps/x86_64/tst-audit5.c: ... here.
35214         * elf/tst-audit6.c: Move to ...
35215         * sysdeps/x86_64/tst-audit6.c: ... here.
35216         * elf/tst-audit7.c: Move to ...
35217         * sysdeps/x86_64/tst-audit7.c: ... here.
35218         * elf/tst-auditmod3a.c: Move to ...
35219         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
35220         * elf/tst-auditmod3b.c: Move to ...
35221         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
35222         * elf/tst-auditmod4a.c: Move to ...
35223         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
35224         * elf/tst-auditmod4b.c: Move to ...
35225         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
35226         * elf/tst-auditmod5a.c: Move to ...
35227         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
35228         * elf/tst-auditmod5b.c: Move to ...
35229         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
35230         * elf/tst-auditmod6a.c: Move to ...
35231         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
35232         * elf/tst-auditmod6b.c: Move to ...
35233         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
35234         * elf/tst-auditmod6c.c: Move to ...
35235         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
35236         * elf/tst-auditmod7a.c: Move to ...
35237         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
35238         * elf/tst-auditmod7b.c: Move to ...
35239         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
35241 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
35243         [BZ #15366]
35244         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
35245         define unconditionally.
35246         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
35247         define unconditionally.
35248         (INT8_C, INT16_C, etc.): Likewise.
35250 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
35252         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
35253         __ehdr_start with hidden visibility.
35255         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
35257 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
35259         * math/libm-test.inc (cos_test): Use accurate hex constants.
35260         (sincost_test): Likewise.
35262 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
35264         * math/libm-test.inc (catan_test): Add more tests.
35265         (catanh_test): Likewise.
35267         * math/s_catanf.c (__catanf): Use suffixed floating-point
35268         constants.
35269         * math/s_catanhf.c (__catanhf): Likewise.
35270         * math/s_catanhl.c (__catanhl): Likewise.
35271         * math/s_catanl.c (__catanl): Likewise.
35273         [BZ #15394]
35274         * math/s_catan.c (__catan): Calculate imaginary part of result
35275         with log1p not log unless computing log of number close to 0.
35276         * math/s_catanf.c (__catanf): Likewise.
35277         * math/s_catanl.c (__catanl): Likewise.
35278         * math/s_catanh.c (__catanh): Calculate real part of result with
35279         log1p not log unless computing log of number close to 0.
35280         * math/s_catanhf.c (__catanhf): Likewise.
35281         * math/s_catanhl.c (__catanhl): Likewise.
35282         * math/libm-test.inc (catan_test): Add more tests.
35283         (catanh_test): Likewise.
35284         * sysdeps/i386/fpu/libm-test-ulps: Update.
35285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35287 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35289         * benchtests/Makefile: Mention files in which fast and slow
35290         paths of math functions are implemented.
35292 2013-04-23  Roland McGrath  <roland@hack.frob.com>
35294         * sysdeps/posix/timespec_get.c: New file.
35296 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35298         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
35299         POWER.
35300         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
35301         for POWER.
35302         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
35303         powerpc/power5/fpu folders.
35304         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
35305         * benchtests/Makefile: Add modf testcase.
35306         * benchtests/bench-modf.c: New file: Benchmark test for mo
35308 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
35310         [BZ #14888]
35311         * time/Makefile (tests): Add tst-strptime-whitespace.
35312         * time/strptime_l.c (get_number): Use ISSPACE.
35313         (__strptime_internal): Likewise.
35314         * time/tst-strptime-whitespace.c: New test case.
35316 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
35318         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
35319         member.
35320         (_nss_files_init): Set it here.
35322 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
35324         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
35325         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
35326         unsigned.
35328 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
35330         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
35332 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35334         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
35335         size just once.
35337 2013-04-21  David S. Miller  <davem@davemloft.net>
35339         * po/ru.po: Update Russion translation from translation project.
35341 2013-04-17  Adam Conrad  <adconrad@0c3.net>
35343         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
35344         and setfsgid.
35346 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
35348         * configure.in: Remove i386 configure warning. Remove i386 case.
35349         * configure: Regenerate.
35350         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
35351         Add example to error message.
35352         * sysdeps/i386/configure: Regenerate.
35354 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35356         * benchtests/Makefile (bench): Add cos, tan, slowcos and
35357         slowtan.
35358         * benchtests/cos-inputs: New file.
35359         * benchtests/slowcos-inputs: New file.
35360         * benchtests/slowcos.c: New file.
35361         * benchtests/slowtan-inputs: New file.
35362         * benchtests/slowtan.c: New file.
35363         * benchtests/tan-inputs: New file.
35365 2013-04-16  Roland McGrath  <roland@hack.frob.com>
35367         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
35368         considered kosher.
35370 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35372         * benchtests/Makefile: Include cppflags-iterator.mk to add
35373         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
35375         * Makefile.in (bench-clean): New target.
35376         * benchtests/Makefile (bench-clean): Likewise.
35378 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
35380         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
35382 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
35384         * stdio-common/tstdiomisc.c: Fix coding-style violation.
35386 2013-04-15  Andreas Schwab  <schwab@suse.de>
35388         * nscd/grpcache.c (cache_addgr): Properly check for short write.
35389         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35390         * nscd/pwdcache.c (cache_addpw): Likewise.
35391         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
35392         more than recsize.
35394 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35396         * benchtests/Makefile (bench): Write all output to
35397         bench-out.tmp together.
35399 2013-04-15  Andreas Schwab  <schwab@suse.de>
35401         * nscd/nscd.c (main): Don't fork again after closing files.
35403 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35405         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
35407         * benchtests/Rules (bench-deps): Collect dependencies into a
35408         single variable.  Add Makefile to dependencies.
35409         ($(objpfx)bench-%.c): Depend on bench-deps.
35411 2013-04-12  Roland McGrath  <roland@hack.frob.com>
35412             Xavier Roche  <roche+kml2@exalead.com>
35414         [BZ #15361]
35415         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
35416         just that it's a file descriptor.
35417         * manual/llio.texi (Synchronizing AIO Operations): Update description
35418         for EBADF error from aio_fsync.
35420 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35422         * Rules (bench): Move target definition...
35423         * benchtests/Makefile: ... here.
35425 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
35427         * math/libm-test.inc (cos_test): Fix PI/2 test.
35428         (sincos_test): Likewise.
35429         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
35430         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
35432 2013-04-11  Andreas Schwab  <schwab@suse.de>
35434         [BZ #13988]
35435         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
35436         accept exponent character only when digits were seen.
35437         * stdio-common/Makefile (tests): Add bug26.
35438         * stdio-common/bug26.c: New file.
35440         [BZ #14293]
35441         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
35442         non-freeable.
35444 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35446         * Makeconfig (rtld-prefix): Define built linker prefix.
35447         * Rules (run-bench): Use it.
35448         * math/Makefile (run-regen-ulps): Likewise.
35450         * Rules (bench): Remove eval.
35452 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35453             Roland McGrath  <roland@hack.frob.com>
35454             Ondrej Bilka  <neleai@seznam.cz>
35456         [BZ #15346]
35457         * time/getdate.c: Include ctype.h and alloca.h.
35458         (__getdate_r): Trim leading and trailing spaces of input.
35459         * time/tst-getdate.c (tests): Add tests with leading and
35460         trailing spaces.
35462 2013-04-08  Roland McGrath  <roland@hack.frob.com>
35464         [BZ #14280]
35465         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
35466         when computing value.
35468 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35470         * math/README.libm-test (How can I generate "libm-test-ulps"?):
35471         Use testrun.sh to run libm tests.
35473         [BZ #15309]
35474         * elf/dl-open.c (dl_open_worker): memset all of seen array.
35476 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
35478         [BZ #15264]
35479         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
35481 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35483         * Makefile.in (regen-ulps): New target.
35484         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
35485         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
35486         [ifneq (no,$(PERL)] (regen-ulps): New target.
35487         [ifeq (no,$(PERL)] (regen-ulps): New target.
35488         * math/libm-test.inc (ulps_file_name): Define.
35489         (output_dir): New variable.
35490         (options): Add "output-dir" option.
35491         (parse_opt): Handle 'o' case.
35492         (main): If output_dir is non-NULL use it as a prefix
35493         otherwise use "".
35494         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
35496 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35498         [BZ #10060, #10062]
35499         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
35500         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
35501         fail configure if __sync_val_compare_and_swap is not inlined.
35502         * sysdeps/i386/configure: Regenerate.
35503         * configure.in: Build for i686 when configured for i386.
35504         * configure: Regenerate.
35505         * README: Remove i386 reference.
35507 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35509         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
35510         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35512 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
35514         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
35515         (lmsnanval): New variables.
35516         (F): Add conversion tests.
35517         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
35518         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
35520         * stdio-common/tstdiomisc.c (F): Properly collect individual
35521         tests' results.
35523         [BZ #14686, #15336]
35524         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
35525         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
35526         Instead, use input NaN values or generate a qNaN by arithmetic
35527         operation.  Also fix bugs to comply with the standard.
35528         * math/libm-test.inc (remainder_test): Add more tests.
35530         [BZ #15335, #15342]
35531         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
35532         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
35533         input NaN values or generate a qNaN by arithmetic operation.
35535         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
35536         unreachable code.
35538         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
35539         definitions.
35541 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
35543         [BZ #14478]
35544         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
35545         underflowed result.
35546         * math/s_cexpf.c (__cexpf): Likewise.
35547         * math/s_cexpl.c (__cexpl): Likewise.
35548         * math/libm-test.inc (cexp_test): Add more tests.
35550 2013-04-03  Andreas Schwab  <schwab@suse.de>
35552         [BZ #15330]
35553         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
35554         order arrays from heap if bigger than alloca cutoff.
35556 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
35558         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
35559         (SNAN_TESTS_double): Refer to GCC PR56831.
35560         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
35561         GCC PR56828.
35563 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35565         * Rules (bench): Move bench.out after the run is complete.
35567         * Rules (bench): Echo currently running benchmark.
35569         * benchtests/Makefile (bench): Add atan and slowatan.
35570         * benchtests/atan-inputs: New file.
35571         * benchtests/slowatan-inputs: New file.
35572         * benchtests/slowatan.c: New file.
35574         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
35575         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
35576         its value.
35578         [BZ #15305]
35579         * sysdeps/unix/sysv/linux/kernel-features.h
35580         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
35581         __ASSUME_XFS_RESTRICTED_CHOWN.
35582         * sysdeps/unix/sysv/linux/pathconf.c
35583         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
35584         Save and restore errno.
35586 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
35588         [BZ #15327]
35589         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
35590         arguments using __kernel_casinh.
35591         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
35592         arguments using __kernel_casinhf.
35593         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
35594         arguments using __kernel_casinhl.
35595         * math/libm-test.inc (cacosh_test): Add more tests.
35596         * sysdeps/i386/fpu/libm-test-ulps: Update.
35597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35599 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35601         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
35602         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
35604         * bench/Makefile (bench): Add sin and slowsin.
35605         * benchtests/sin-inputs: New file.
35606         * benchtests/slowsin-inputs: New file.
35607         * benchtests/slowsin.c: New file.
35609         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
35610         (bench): Add slowexp and slowpow.
35611         (exp-ITER): Increase iterations.
35612         (pow-ITER): Likewise.
35613         * benchtests/exp-inputs: Change input.
35614         * benchtests/pow-inputs: Likewise.
35615         * benchtests/slowexp-inputs: New file.
35616         * benchtests/slowexp.c: New file.
35617         * benchtests/slowpow-inputs: New file.
35618         * benchtests/slowpow.c: New file.
35620 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35622         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
35623         instructions.
35624         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35625         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
35626         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
35627         * benchtests/Makefile: Add rint benchtest.
35628         * benchtests/rint-inputs: Input for rint benchtest.
35630 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
35632         * Versions.def (libm): Add GLIBC_2.18.
35633         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
35634         hidden libm prototypes.
35635         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
35636         * math/Makefile (libm-calls): Add s_issignaling.
35637         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
35638         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
35639         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
35640         declaration.
35641         * math/math.h [__USE_GNU] (issignaling): New macro.
35642         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
35643         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
35644         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
35645         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
35646         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
35647         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
35648         * manual/arith.texi (issignaling): New section.
35649         * manual/libm-err-tab.pl (@all_functions): Update comment.
35650         * math/gen-libm-test.pl (parse_args): Apply special handling for
35651         issignaling.
35652         * math/libm-test.inc (print_float, issignaling_test): New
35653         functions.
35654         (check_float_internal): Add issignaling checks.
35655         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
35656         default definition.
35657         * sysdeps/powerpc/math-tests.h: New file.
35658         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
35659         tests.
35660         * math/test-snan.c (TEST_FUNC): Likewise.
35662 2013-03-30  David S. Miller  <davem@davemloft.net>
35664         * po/de.po: Update from translation team.
35666 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
35668         [BZ #10357]
35669         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35670         imaginary part less than 1.0 and real part less than 0.5
35671         specially.
35672         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35673         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35674         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
35675         (cacos_test): Add more tests.
35676         (casin_test): Likewise.
35677         (casinh_test): Likewise.
35678         * sysdeps/i386/fpu/libm-test-ulps: Update.
35679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35681 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35683         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
35684         ONE with its value.
35686         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
35687         (__pow_mp): Replace ONE and MONE with their values.
35688         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35689         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
35690         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35691         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
35692         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35693         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35695         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
35697         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
35698         (__pow_mp): Replace ZERO and MZERO with their values.
35699         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35700         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35701         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35702         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35703         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35704         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
35705         (__sqr): Likewise.
35707         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
35709         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
35711 2013-03-28  Roland McGrath  <roland@hack.frob.com>
35713         * include/stdlib.h [!SHARED] (__call_tls_dtors):
35714         Declare with __attribute__ ((weak)).
35715         * stdlib/exit.c (__libc_atexit) [!SHARED]:
35716         Call __call_tls_dtors only if it's not NULL.
35718 2013-03-28  Roland McGrath  <roland@hack.frob.com>
35720         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
35721         didn't do it already, then set _dl_phdr and _dl_phnum based on the
35722         magic __ehdr_start linker symbol if it's defined.
35723         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
35724         them up here if it was already done.
35726         * elf/dl-support.c (_dl_phdr): Make pointer to const.
35727         (_dl_aux_init): Use const in cast when setting it.
35728         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
35729         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
35730         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
35732         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
35733         Declare them here.
35734         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
35735         * csu/libc-tls.c: Nor here.
35736         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
35738         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
35739         (__libc_message): Never call vsyslog.
35741 2013-03-28  Alan Modra  <amodra@gmail.com>
35743         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
35744         Define as empty.
35745         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
35746         Likewise.
35748 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35750         [BZ #15214]
35751         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
35752         underflow.
35753         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35755 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35757         [BZ #15304]
35758         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
35759         Don't add gid passed as argument.
35761         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
35763 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
35765         [BZ #15307]
35766         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35767         imaginary part between 1.0 and 1.5 and real part less than 0.5
35768         specially.
35769         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35770         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35771         * math/libm-test.inc (cacos_test): Add more tests.
35772         (casin_test): Likewise.
35773         (casinh_test): Likewise.
35774         * sysdeps/i386/fpu/libm-test-ulps: Update.
35775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35777 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35779         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
35780         constants.
35781         (norm): Likewise.
35782         (denorm): Likewise.
35783         (__dbl_mp): Likewise.
35784         (add_magnitudes): Likewise.
35785         (sub_magnitudes): Likewise.
35786         (__add): Likewise.
35787         (__sub): Likewise.
35788         (__mul): Likewise.
35789         (__sqr): Likewise.
35790         (__inv): Likewise.
35791         (__dvd): Likewise.
35793         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
35794         commented code.
35795         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
35796         (__dubcos): Likewise.
35797         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
35798         (__ieee754_acos): Likewise.
35799         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35800         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
35801         (__exp1): Likewise.
35802         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35803         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35804         (log1): Likewise.
35805         (my_log2): Likewise.
35806         (checkint): Likewise.
35807         * sysdeps/ieee754/dbl-64/e_remainder.c
35808         (__ieee754_remainder): Likewise.
35809         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35810         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
35811         (bsloww): Likewise.
35812         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35814         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35815         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
35816         MANTISSA_STORE_T to store computations on mantissa.  Use
35817         macros for rounding and division.
35818         (denorm): Likewise.
35819         (__dbl_mp): Likewise.
35820         (add_magnitudes): Likewise.
35821         (sub_magnitudes): Likewise.
35822         (__mul): Likewise.
35823         (__sqr): Likewise.
35824         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
35825         powers of two in terms of TWOPOW macro.
35826         (mp_no): Make type of mantissa as MANTISSA_T.
35827         [!RADIXI]: Define RADIXI.
35828         [!TWO52]: Define TWO52.
35829         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35831 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35833         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
35834         llroundl symbol when building for PPC32.
35836 2013-03-24  Mark H Weaver  <mhw@netris.org>
35838         * manual/arith.texi (Normalization Functions): Fix prototypes for
35839         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
35841 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35843         [BZ #13889]
35844         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
35845         high value to check if expl overflow.
35846         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
35847         to check for underflow and overflow.
35848         * math/libm-test.inc: Add exp test.
35850 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
35852         [BZ #11120]
35853         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
35854         with NOT_IN_libc.
35856 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35858         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
35859         symbol.
35861 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35863         * math/gen-libm-test.pl (parse_args, special_functions): Properly
35864         wrap blocks consisting of several statements.
35866         * sysdeps/generic/math-tests.h: New file.
35867         * sysdeps/i386/fpu/math-tests.h: Likewise.
35868         * math/test-snan.c: Include it.
35869         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
35871 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
35873         [BZ #15285]
35874         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
35875         (__ieee754_j0l): Do not improve calculations using cos of twice
35876         input for inputs above LDBL_MAX / 2.0L.
35877         (__ieee754_y0l): Likewise.
35878         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
35879         (__ieee754_j1l): Do not improve calculations using cos of twice
35880         input for inputs above LDBL_MAX / 2.0L.
35881         (__ieee754_y1l): Likewise.
35882         * math/libm-test.inc (j0_test): Add another test.
35883         (j1_test): Likewise.
35884         (y0_test): Likewise.
35885         (y1_test): Likewise.
35886         * sysdeps/i386/fpu/libm-test-ulps: Update.
35888 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35890         * Rules ($(objpfx)bench-%.c): Include code from a C source
35891         file.
35893 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
35895         [BZ #15287]
35896         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35897         imaginary part 1.0 and real part less than 0.5 specially.
35898         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35899         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35900         * math/libm-test.inc (cacos_test): Add more tests.
35901         (casin_test): Likewise.
35902         (casinh_test): Likewise.
35903         * sysdeps/i386/fpu/libm-test-ulps: Update.
35904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35906 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35908         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
35909         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
35911 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
35913         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
35914         * config.make.in (config-cflags-sse4): Remove variable.
35915         (config-cflags-avx): Likewise.
35916         (config-cflags-sse2avx): Likewise.
35917         (config-cflags-novzeroupper): Likewise.
35918         (config-asflags-i686): Likewise.
35919         (have-mfma4): Likewise.
35920         (have-as-vis3): Likewise.
35921         (MIG): Likewise.
35922         * configure.in (MIG): Do not AC_SUBST.
35923         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
35924         (libc_cv_cc_sse4): Do not AC_SUBST.
35925         (libc_cv_cc_avx): Likewise.
35926         (libc_cv_cc_sse2avx): Likewise.
35927         (libc_cv_cc_novzeroupper): Likewise.
35928         (libc_cv_cc_fma4): Likewise.
35929         (libc_cv_as_i686): Likewise.
35930         (libc_cv_sparc_as_vis3): Likewise.
35931         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
35932         LIBC_CONFIG_VAR.
35933         (config-asflags-i686): Likewise.
35934         (config-cflags-avx): Likewise.
35935         (config-cflags-sse2avx): Likewise.
35936         (have-mfma4): Likewise.
35937         (config-cflags-novzeroupper): Likewise.
35938         * sysdeps/mach/configure.in (MIG): Likewise.
35939         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
35940         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
35941         LIBC_CONFIG_VAR.
35942         (config-cflags-avx): Likewise.
35943         (config-cflags-sse2avx): Likewise.
35944         (have-mfma4): Likewise.
35945         (config-cflags-novzeroupper): Likewise.
35946         * configure: Regenerated.
35947         * sysdeps/i386/configure: Likewise.
35948         * sysdeps/mach/configure: Likewise.
35949         * sysdeps/sparc/configure: Likewise.
35950         * sysdeps/x86_64/configure: Likewise.
35952 2013-03-20  Roland McGrath  <roland@hack.frob.com>
35954         [BZ #14812]
35955         * locale/programs/localedef.c (options): Put N_ translation marker
35956         on argument names, not just descriptions.
35958 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35960         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
35962 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
35964         [BZ #14176]
35965         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
35967 2013-03-19  Roland McGrath  <roland@hack.frob.com>
35969         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
35970         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
35971         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
35972         [!BEFORE_ABORT] (before_abort): New function.
35973         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
35974         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
35975         (writev_for_fatal): New function.
35976         (WRITEV_FOR_FATAL): New macro; call that.
35977         (backtrace_and_maps): New function.
35978         (BEFORE_ABORT): New macro; call that.
35979         (struct str_list): Type removed.
35980         (__libc_message, __libc_fatal): Functions removed.
35981         Include <sysdeps/posix/libc_fatal.c> instead.
35983 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
35985         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
35986         constants.
35987         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
35988         double constants.
35990 2013-03-19  Andreas Schwab  <schwab@suse.de>
35992         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
35993         * sysdeps/gnu/configure: Regenerate.
35995         * configure.in: Substitute libc_cv_rtlddir.
35996         * configure: Regenerate.
35997         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
35998         * Makeconfig (rtlddir, inst_rtlddir): New variables.
35999         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
36000         * elf/Makefile (install-others, CFLAGS-interp.c)
36001         (ldso_install, common-ldd-rewrite): Likewise.
36002         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
36003         $(inst_slibdir)/$(rtld-installed-name).
36004         * scripts/rellns-sh: Add -p option.
36005         * Makerules (make-shlib-link): Use rellns-sh to get relative name
36006         for source.
36008 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36010         * manual/nptl.texi: Renamed to ...
36011         * manual/threads.texi: ... this.
36012         * manual/Makefile (chapters): Update.
36014 2013-03-18  Roland McGrath  <roland@hack.frob.com>
36016         [BZ #14812]
36017         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
36018         on argument names, not just descriptions.
36019         * malloc/memusagestat.c (options): Likewise.
36020         * nss/getent.c (options): Likewise.
36022 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
36024         [BZ #14812]
36025         * iconv/iconv_prog.c (options): Put N_ translation marker
36026         on argument names, not just descriptions.
36027         * iconv/iconvconfig.c (options): Likewise.
36029 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
36031         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
36032         implementation which is faster on all x86_64 architectures.
36033         Tested on AMD, Intel Nehalem, SNB, IVB.
36034         * sysdeps/x86_64/strnlen.S: Likewise.
36036         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36037         Remove all multiarch strlen and strnlen versions.
36038         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
36039         Remove strlen and strnlen related parts.
36041         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
36042         Inline strlen part.
36043         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
36045         * sysdeps/x86_64/multiarch/strlen.S: Remove.
36046         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
36047         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
36048         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
36049         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36050         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
36052 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
36054         * manual/memory.texi (Malloc Tunable Parameters):
36055         Sort parameters alphabetically. Add comments for missing entries.
36057 2013-03-17  David S. Miller  <davem@davemloft.net>
36059         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36061 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
36063         [BZ #15283]
36064         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
36065         for arguments at most half maximum finite value.
36066         * math/libm-test.inc (j0_test): Add more tests.
36067         (j1_test): Likewise.
36068         (y0_test): Likewise.
36069         (y1_test): Likewise.
36070         * sysdeps/i386/fpu/libm-test-ulps: Update.
36071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36073         [BZ #14155]
36074         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
36075         1 / x and functions P and Q for arguments above 0x1p256L.
36076         (__ieee754_y0l): Likewise.
36077         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
36078         (__ieee754_y1l): Likewise.
36079         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
36080         (j1_test): Likewise.
36081         (y0_test): Likewise.
36082         (y1_test): Likewise.
36084 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
36086         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
36087         variable.
36089 2013-03-15  Roland McGrath  <roland@hack.frob.com>
36091         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
36092         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
36093         zero since it's initialized to EXEC_PAGESIZE.
36095         * sysdeps/unix/sysv/linux/ldsodefs.h
36096         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
36097         * sysdeps/generic/ldsodefs.h: ... here.
36099 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
36101         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
36103         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
36104         math/test-snan.c.
36105         * math/test-snan.c: Renamed from
36106         sysdeps/powerpc/fpu/test-powerpc-snan.c.
36107         * math/Makefile (tests): Add test-snan.
36108         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
36109         test-powerpc-snan.
36111         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
36112         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
36113         functions.
36114         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
36115         __builtin_nan family of functions.
36116         * math/libm-test.inc (initialize): Initialize qnan_value with
36117         __builtin_nan family of functions.
36118         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
36119         Remove variables.
36120         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
36121         Remove functions.
36122         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
36123         storage class.  Initialize qNaN_var and sNaN_var with
36124         __builtin_nan and __builtin_nans families of functions,
36125         respectively.
36127         * math/libm-test.inc (acosh_test): Also test with qNaN input.
36128         (sqrt_test): Remove duplicate test with qNaN input.
36129         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
36130         (round_test, signbit_test, significand_test): Note missing +/-Inf
36131         as well as qNaN tests.
36133         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
36134         qNaN_var.  Fix a few strings, too.
36135         * math/libm-test.inc (nan_value): Rename to qnan_value.
36136         * math/gen-libm-test.pl (%beautify): Adjust to that.
36137         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
36138         * math/test-misc.c (main): Likewise.
36139         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
36140         to __qnan_bytes, and __qnan_union, respectively.
36141         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
36142         Likewise.
36143         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
36144         and lqnanval, respectively.
36145         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
36146         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
36147         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
36148         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
36150         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
36151         * math/test-misc.c (main) [__x86_64__]: Enable test for long
36152         doubles.
36154         * math/test-misc.c (main): Fix copy'n'pastos.
36155         * misc/tst-efgcvt.c (special): Likewise.
36157         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
36158         Remove declarations.
36160 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36162         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
36163         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
36164         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
36165         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
36167 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36169         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
36170         macro to return vdso values correctly in IFUNC implementations.
36171         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
36172         Optimization by using IFUNC.
36174 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36175             Richard Henderson  <rth@redhat.com>
36176             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36178         * Makefile.in (bench): New target.
36179         * NEWS: Mention the benchmark framework.
36180         * Rules (bench): Likewise.
36181         (binaries-bench): Generate binaries for functions to
36182         benchmark.
36183         * benchtests/Makefile: New makefile for benchmark tests.
36184         * benchtests/bench-skeleton.c: New skeleton file for benchmark
36185         programs.
36186         * benchtests/exp-inputs: New input file for EXP function.
36187         * benchtests/pow-inputs: New input file for POW function.
36188         * scripts/bench.pl: New script to generate source files for
36189         benchmark programs.
36191 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36193         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36194         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
36195         computations on mantissa.  Use macros for rounding and
36196         division.
36197         (denorm): Likewise.
36198         (__dbl_mp): Likewise.
36199         (add_magnitudes): Likewise.
36200         (sub_magnitudes): Likewise.
36201         (__mul): Likewise.
36202         (__sqr): Likewise.
36203         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36204         powers of two in terms of TWOPOW macro.
36205         (mp_no): Make type of mantissa as MANTISSA_T.
36206         [!RADIXI]: Define RADIXI.
36207         [!TWO52]: Define TWO52.
36208         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36210         * manual/nptl.texi (cindex): Modify threads to pthreads.
36212 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
36214         * sysdeps/x86_64/preconfigure: Regenerated.
36216 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
36218         [BZ #14155]
36219         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
36220         0x1p28 and above.
36221         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
36222         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
36223         0x1p28 and above.
36224         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
36225         * math/libm-test.inc (j0_test): Do not allow one spurious
36226         underflow exception.
36227         (y1_test): Likewise.
36229 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36231         * manual/Makefile (chapters): Add nptl.
36232         * manual/debug.texi (Debugging Support): Add link to Threads
36233         chapter.
36234         * manual/nptl.texi: New file.
36236         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
36238 2013-03-14  Petr Baudis  <pasky@ucw.cz>
36240         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
36241         for non-NULL pointer before the memory validity test. Pointed
36242         out by Holger Brunck <holger.brunck@keymile.com>.
36244 2013-03-13  Andreas Schwab  <schwab@suse.de>
36246         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
36247         instead of .os.
36249 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
36251         * timezone/zic.c: Update from tzcode 2013b.
36253 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
36255         * manual/install.texi (Configuring and compiling):
36256         Mention i686 and i586.
36257         * INSTALL: Regenerate.
36259 2013-03-12  Roland McGrath  <roland@hack.frob.com>
36261         * sysdeps/init_array/elf-init.c: New file.
36262         * csu/elf-init.c
36263         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
36264         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
36266         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
36267         __gmon_start__ as global, but as static with a .preinit_array pointer.
36268         * sysdeps/init_array/gmon-start.c: New file.  Use that.
36269         * sysdeps/init_array/crti.S: New file, empty except for comments.
36270         * sysdeps/init_array/crtn.S: Likewise.
36272 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
36274         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
36275         definining bcopy.
36276         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36277         Remove Prefer_SSE_for_memop.
36278         * sysdeps/x86_64/multiarch/init-arch.h: Remove
36279         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
36280         HAS_PREFER_SSE_FOR_MEMOP.
36281         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
36282         memset-x86-64.
36283         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36284         Remove bzero, memset ifunc support.
36285         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
36286         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
36287         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36288         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36290 2013-03-11  Andreas Schwab  <schwab@suse.de>
36292         [BZ #15234]
36293         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
36294         by SHLIB_COMPAT.
36295         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
36296         (GLIBC_2.16): Remove pthread_atfork.
36298 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
36300         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
36301         (ptestcases.h): Likewise.
36303 2013-03-08  Roland McGrath  <roland@hack.frob.com>
36305         * Makeconfig ($(common-objpfx)config.status): Depend on
36306         sysdeps/*/preconfigure{,.in} too.
36308 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
36310         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
36311         (__free_hook): Use void * instead of __malloc_ptr_t.
36312         (__malloc_hook): Likewise.
36313         (__realloc_hook): Likewise.
36314         (__memalign_hook): Likewise.
36315         (__after_morecore_hook): Likewise.
36316         * malloc/arena.c (save_malloc_hook): Likewise.
36317         (save_free_hook): Likewise.
36318         * malloc/hooks.c (malloc_hook_ini): Likewise.
36319         (realloc_hook_ini): Likewise.
36320         (memalign_hook_ini): Likewise.
36321         * malloc/malloc.c (malloc_hook_ini): Likewise.
36322         (realloc_hook_ini): Likewise.
36323         (memalign_hook_ini): Likewise.
36324         (__free_hook): Likewise.
36325         (__malloc_hook): Likewise.
36326         (__realloc_hook): Likewise.
36327         (__memalign_hook): Likewise.
36328         (__libc_malloc): Likewise.
36329         (__libc_free): Likewise.
36330         (__libc_realloc): Likewise.
36331         (__libc_memalign): Likewise.
36332         (__libc_valloc): Likewise.
36333         (__libc_pvalloc): Likewise.
36334         (__libc_calloc): Likewise.
36335         (__posix_memalign): Likewise.
36336         * malloc/morecore.c (__sbrk): Likewise.
36337         (__default_morecore): Likewise.
36339         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
36341         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
36342         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
36343         __malloc_ptrdiff_t.
36345         * malloc/malloc.h (__malloc_size_t): Remove macro.
36346         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
36347         __malloc_size_t.
36348         (old_memalign_hook): Likewise.
36349         (old_realloc_hook): Likewise.
36350         (struct hdr): Likewise.
36351         (flood): Likewise.
36352         (mallochook): Likewise.
36353         (memalignhook): Likewise.
36354         (reallochook): Likewise.
36355         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
36356         (tr_old_realloc_hook): Likewise.
36357         (tr_old_memalign_hook): Likewise.
36358         (tr_mallochook): Likewise.
36359         (tr_reallochook): Likewise.
36360         (tr_memalignhook): Likewise.
36362 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36364         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
36365         default_ldbl_pack and using as default implementation.
36366         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
36367         implementation.
36368         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
36369         redundant definition.
36370         (ldbl_insert_mantissa): Likewise.
36371         (ldbl_canonicalize): Likewise.
36372         (ldbl_nearbyint): Likewise.
36373         (ldbl_pack): Rename to ldbl_pack_ppc.
36374         (ldbl_unpack): Rename to ldbl_unpack_ppc.
36375         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
36376         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
36378 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36380         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
36381         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
36382         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
36383         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
36384         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
36385         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
36386         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
36387         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
36389 2013-03-07  Andreas Jaeger  <aj@suse.de>
36391         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36392         bits/mman-linux.h.
36394 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
36396         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
36397         Include mpa.h and declare __MPEXP.
36398         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
36399         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
36400         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
36401         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
36402         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36403         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
36404         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
36406         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
36407         (__slowpow): Use long double EXPL and LOGL functions to
36408         compute POW.
36409         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
36410         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
36411         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
36412         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36413         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
36414         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
36416         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
36417         intermediate variable to calculate exponent.
36418         (__sqr): Likewise.
36419         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36420         Likewise.
36421         (__sqr): Likewise.
36423         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
36424         [!NO__SQR]: Define __sqr.
36425         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
36426         and NO__SQR.  Remove all code except __mul and __sqr.  Include
36427         sysdeps/ieee754/dbl-64/mpa.c.
36428         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36430         [BZ #12723]
36431         * posix/Makefile (tests): Add tst-pathconf.
36432         * posix/tst-pathconf.c: New test case.
36433         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
36434         _PC_PIPE_BUF.
36435         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
36437 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
36439         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
36441 2013-03-06  Andreas Jaeger  <aj@suse.de>
36443         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
36444         definition via __MAP_ANONYMOUS.
36446         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
36447         it's not part of Linux headers.
36449         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
36450         (MAP_HUGE_MASK): Define.
36452         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36453         Define.
36454         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36455         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36456         Define.
36457         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36458         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36459         Define.
36460         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36461         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
36462         Define.
36463         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36465         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
36466         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
36467         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
36468         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
36469         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
36470         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
36472         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36473         Handle f2fs.
36475         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36476         Handle f2fs and efivarfs.
36478         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
36479         f2fs.
36481         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
36482         (EFIVARFS_MAGIC): Add.
36483         (F2FS_LINK_MAX): Add.
36485 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36487         * stdio-common/vfprintf.c: Replace __builtin_expect with
36488         __glibc_unlikely.
36490 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
36492         [BZ #13550]
36493         * sysdeps/generic/bp-sym.h: Remove file.
36494         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
36495         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
36496         <bp-sym.h> and <bp-asm.h>.
36497         (__longjmp): Don't use BP_SYM.
36498         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
36499         and <bp-asm.h>.
36500         (memcpy): Don't use BP_SYM.
36501         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
36502         <bp-sym.h> and <bp-asm.h>.
36503         (memcpy): Don't use BP_SYM.
36504         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
36505         <bp-asm.h>.
36506         (memcpy): Don't use BP_SYM.
36507         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
36508         <bp-asm.h>.
36509         (memset): Don't use BP_SYM.
36510         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36511         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36512         (__bzero): Don't use BP_SYM.
36513         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36514         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36515         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
36516         <bp-sym.h> and <bp-asm.h>.
36517         (memcmp): Don't use BP_SYM.  Remove comment about bounded
36518         pointers.
36519         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
36520         <bp-sym.h> and <bp-asm.h>.
36521         (memcpy): Don't use BP_SYM.
36522         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
36523         <bp-sym.h> and <bp-asm.h>.
36524         (memset): Don't use BP_SYM.
36525         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36526         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36527         (__bzero): Don't use BP_SYM.
36528         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36529         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36530         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
36531         <bp-sym.h> and <bp-asm.h>.
36532         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36533         pointers.
36534         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
36535         <bp-sym.h> and <bp-asm.h>.
36536         (memcpy): Don't use BP_SYM.
36537         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
36538         <bp-sym.h> and <bp-asm.h>.
36539         (memset): Don't use BP_SYM.
36540         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36541         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36542         (__bzero): Don't use BP_SYM.
36543         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36544         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36545         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
36546         <bp-sym.h> and <bp-asm.h>.
36547         (__memchr): Don't use BP_SYM.
36548         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
36549         <bp-sym.h> and <bp-asm.h>.
36550         (memcmp): Don't use BP_SYM.  Remove comment about bounded
36551         pointers.
36552         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
36553         <bp-sym.h> and <bp-asm.h>.
36554         (memcpy): Don't use BP_SYM.
36555         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
36556         <bp-sym.h> and <bp-asm.h>.
36557         (__mempcpy): Don't use BP_SYM.
36558         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
36559         <bp-sym.h> and <bp-asm.h>.
36560         (__memrchr): Don't use BP_SYM.
36561         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
36562         <bp-sym.h> and <bp-asm.h>.
36563         (memset): Don't use BP_SYM.
36564         (__bzero): Likewise.
36565         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
36566         <bp-sym.h> and <bp-asm.h>.
36567         (__rawmemchr): Don't use BP_SYM.
36568         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
36569         <bp-sym.h> and <bp-asm.h>.
36570         (__STRCMP): Don't use BP_SYM.
36571         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
36572         <bp-sym.h> and <bp-asm.h>.
36573         (strchr): Don't use BP_SYM.
36574         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
36575         <bp-sym.h> and <bp-asm.h>.
36576         (__strchrnul): Don't use BP_SYM.
36577         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
36578         <bp-sym.h> and <bp-asm.h>.
36579         (strlen): Don't use BP_SYM.
36580         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
36581         <bp-sym.h> and <bp-asm.h>.
36582         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36583         pointers.
36584         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
36585         <bp-sym.h> and <bp-asm.h>.
36586         (__strnlen): Don't use BP_SYM.
36587         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
36588         <bp-sym.h> and <bp-asm.h>.
36589         (__GI__setjmp): Don't use BP_SYM.
36590         (_setjmp): Likewise.
36591         (__sigsetjmp): Likewise.
36592         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
36593         (L(start_addresses)): Don't use BP_SYM.
36594         (_start): Likewise.
36595         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
36596         <bp-asm.h>.
36597         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
36598         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
36599         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36600         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36601         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
36602         <bp-asm.h>.
36603         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
36604         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
36605         about bounded pointers.
36606         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36607         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36608         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
36609         <bp-asm.h>.
36610         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
36611         about bounded pointers.  Remove GKM FIXME comments.
36612         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36613         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
36614         <bp-asm.h>.
36615         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
36616         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
36617         Remove GKM FIXME comments.
36618         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36619         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36620         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
36621         <bp-asm.h>.
36622         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
36623         about bounded pointers.  Remove GKM FIXME comment.
36624         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
36625         and <bp-asm.h>.
36626         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36627         pointers.
36628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
36629         <bp-sym.h> and <bp-asm.h>.
36630         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
36632         <bp-sym.h> and <bp-asm.h>.
36633         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
36634         comment.
36636 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36638         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
36639         call free(NULL).
36641 2013-03-05  David S. Miller  <davem@davemloft.net>
36643         * po/es.po: Update from translation team.
36645 2013-03-05  Andreas Jaeger  <aj@suse.de>
36647         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
36648         <bits/mman-linux.h>.
36649         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36650         is fine.
36651         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
36652         <bits/mman-linux.h> to end of file.
36653         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36654         is fine.
36655         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
36656         <bits/mman-linux.h> to end of file.
36657         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36658         is fine.
36659         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
36660         <bits/mman-linux.h> to end of file.
36662         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
36663         (MCL_CURRENT, MCL_FUTURE): Define here.
36665 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36667         [BZ #15232]
36668         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
36669         attribute_hidden.
36670         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36672 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36674         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
36675         fourth parameter needed for rt_sigprocmask syscall.
36676         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
36677         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
36678         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
36679         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
36680         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
36681         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
36683 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
36685         [BZ #13550]
36686         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
36687         comment about bounded pointers.
36688         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
36689         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
36691 2013-03-04  Andreas Jaeger  <aj@suse.de>
36693         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
36694         common definitions.
36696         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
36697         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
36698         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
36699         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36700         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36701         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36703 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36705         [BZ #15055]
36706         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
36707         __ieee754_sqrl instead of __sqrl.
36709 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
36711         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
36712         * sysdeps/powerpc/fpu_control.h: ... here.
36713         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
36714         * sysdeps/powerpc/bits/fenvinline.h: ... here.
36715         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
36716         * sysdeps/powerpc/bits/mathinline.h: ... here.
36718 2013-03-01  Roland McGrath  <roland@hack.frob.com>
36720         * elf/dl-hwcaps.c (_dl_important_hwcaps):
36721         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
36722         to just [NEED_DL_SYSINFO_DSO].
36723         * elf/dl-support.c: Likewise.
36724         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
36725         * elf/rtld.c (dl_main): Likewise.
36726         * elf/setup-vdso.h (setup_vdso): Likewise.
36727         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
36728         * sysdeps/unix/sysv/linux/dl-sysdep.c
36729         (_dl_discover_osversion): Likewise.
36731 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
36733         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
36734         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36736 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
36738         * NEWS: Mention libm performance improvements and non-x86 PI
36739         futex support.
36741         * csu/libc-start.c (__pthread_initialize_minimal): Change
36742         function arguments.
36743         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36745 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
36747         [BZ #13550]
36748         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
36749         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
36750         <bp-sym.h> and <bp-asm.h>.
36751         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36752         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
36753         and <bp-asm.h>.
36754         (memcpy): Don't use BP_SYM.
36755         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
36756         <bp-asm.h>.
36757         (__mpn_add_n): Don't use BP_SYM.
36758         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
36759         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
36760         and <bp-asm.h>.
36761         (__mpn_addmul_1): Don't use BP_SYM.
36762         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36763         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
36764         <bp-sym.h>.
36765         (_setjmp): Don't use BP_SYM.
36766         (__novmx_setjmp): Likewise.
36767         (__GI__setjmp): Likewise.
36768         (__vmx_setjmp): Likewise.
36769         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
36770         <bp-sym.h>.
36771         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
36772         (__bzero): Don't use BP_SYM.
36773         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36774         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36775         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
36776         <bp-sym.h> and <bp-asm.h>.
36777         (memcpy): Don't use BP_SYM.
36778         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
36779         <bp-sym.h> and <bp-asm.h>.
36780         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36781         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
36782         <bp-sym.h> and <bp-asm.h>.
36783         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36784         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
36785         <bp-asm.h>.
36786         (__mpn_lshift): Don't use BP_SYM.
36787         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36788         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
36789         <bp-asm.h>.
36790         (memset): Don't use BP_SYM.
36791         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36792         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36793         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
36794         <bp-asm.h>.
36795         (__mpn_mul_1): Don't use BP_SYM.
36796         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36797         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
36798         <bp-sym.h> and <bp-asm.h>.
36799         (memcmp): Don't use BP_SYM.
36800         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
36801         <bp-sym.h> and <bp-asm.h>.
36802         (memcpy): Don't use BP_SYM.
36803         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
36804         <bp-sym.h> and <bp-asm.h>.
36805         (memset): Don't use BP_SYM.
36806         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
36807         <bp-sym.h> and <bp-asm.h>.
36808         (strncmp): Don't use BP_SYM.
36809         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
36810         <bp-sym.h> and <bp-asm.h>.
36811         (memcpy): Don't use BP_SYM.
36812         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
36813         <bp-sym.h> and <bp-asm.h>.
36814         (memset): Don't use BP_SYM.
36815         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
36816         <bp-sym.h> and <bp-asm.h>.
36817         (__memchr): Don't use BP_SYM.
36818         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
36819         <bp-sym.h> and <bp-asm.h>.
36820         (memcmp): Don't use BP_SYM.
36821         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
36822         <bp-sym.h> and <bp-asm.h>.
36823         (memcpy): Don't use BP_SYM.
36824         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
36825         <bp-sym.h> and <bp-asm.h>.
36826         (__mempcpy): Don't use BP_SYM.
36827         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
36828         <bp-sym.h> and <bp-asm.h>.
36829         (__memrchr): Don't use BP_SYM.
36830         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
36831         <bp-sym.h> and <bp-asm.h>.
36832         (memset): Don't use BP_SYM.
36833         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
36834         <bp-sym.h> and <bp-asm.h>.
36835         (__rawmemchr): Don't use BP_SYM.
36836         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
36837         <bp-sym.h> and <bp-asm.h>.
36838         (__STRCMP): Don't use BP_SYM.
36839         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
36840         <bp-sym.h> and <bp-asm.h>.
36841         (strchr): Don't use BP_SYM.
36842         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
36843         <bp-sym.h> and <bp-asm.h>.
36844         (__strchrnul): Don't use BP_SYM.
36845         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
36846         <bp-sym.h> and <bp-asm.h>.
36847         (strlen): Don't use BP_SYM.
36848         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
36849         <bp-sym.h> and <bp-asm.h>.
36850         (strncmp): Don't use BP_SYM.
36851         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
36852         <bp-sym.h> and <bp-asm.h>.
36853         (__strnlen): Don't use BP_SYM.
36854         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
36855         <bp-asm.h>.
36856         (__mpn_rshift): Don't use BP_SYM.
36857         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36858         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
36859         <bp-sym.h> and <bp-asm.h>.
36860         (__sigsetjmp): Don't use BP_SYM.
36861         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
36862         (L(start_addresses)): Don't use BP_SYM.
36863         (_start): Likewise.
36864         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
36865         <bp-asm.h>.
36866         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
36867         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36868         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36869         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
36870         <bp-asm.h>.
36871         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
36872         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36873         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36874         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
36875         <bp-asm.h>.
36876         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
36877         comments.
36878         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36879         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
36880         <bp-asm.h>.
36881         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
36882         FIXME comments.
36883         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36884         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36885         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
36886         <bp-asm.h>.
36887         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
36888         comment.
36889         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
36890         and <bp-asm.h>.
36891         (strncmp): Don't use BP_SYM,
36892         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
36893         <bp-asm.h>.
36894         (__mpn_sub_n): Don't use BP_SYM.
36895         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36896         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
36897         and <bp-asm.h>.
36898         (__mpn_submul_1): Don't use BP_SYM.
36899         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
36901         <bp-sym.h> and <bp-asm.h>.
36902         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
36904         <bp-sym.h> and <bp-asm.h>.
36905         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
36906         comment.
36908 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36910         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
36911         Use ZK to minimize writes to Z.
36912         (sub_magnitudes): Simplify code a bit.
36913         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
36914         Use ZK to minimize writes to Z.
36915         (sub_magnitudes): Simplify code a bit.
36917 2013-02-27  Roland McGrath  <roland@hack.frob.com>
36919         * csu/gmon-start.c: Add special exception to license text.
36921 2013-02-27  Richard Henderson  <rth@redhat.com>
36923         * scripts/config.guess: Update from config.git.
36924         * scripts/config.sub: Likewise.
36926 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36928         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
36930         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
36932         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
36934         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
36936         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
36938 2013-02-26  Roland McGrath  <roland@hack.frob.com>
36940         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
36941         [$(build-shared = yes].
36943 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36945         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
36946         (__mul): Reduce iterations for calculating mantissa.
36948         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
36949         MPTWO.
36950         (__mpranred): Likewise.
36952         [BZ #15160]
36953         * malloc/memusagestat.c (main): Draw graphs for heap and stack
36954         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
36956 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
36958         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
36959         Define __attribute__.
36961 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36963         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
36964         unused.
36965         * posix/regex_internal.h (__attribute): Remove.
36966         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
36967         (re_string_context_at): Likewise.
36968         (bitset_not): Use __attribute__ and mark function as possibly
36969         unused.
36970         (bitset_merge): Likewise.
36971         (bitset_mask): Likewise.
36972         (re_string_char_size_at): Likewise.
36973         (re_string_wchar_at): Likewise.
36974         (re_string_elem_size_at): Likewise.
36976 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36978         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
36979         code.
36980         (cc32): Likewise.
36982         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
36983         (__acr): Likewise.
36984         (__cpy): Likewise.
36985         (norm): Likewise.
36986         (denorm): Likewise.
36987         (__dbl_mp): Likewise.
36988         (add_magnitudes): Likewise.
36989         (sub_magnitudes): Likewise.
36990         (__mul): Likewise.
36991         (__inv): Likewise.
36993         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
36994         style.
36996         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
36997         style.
36999         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
37000         code.
37002         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
37003         up changes with default code.
37004         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
37005         Likewise.
37007 2013-02-24  Allan McRae  <allan@archlinux.org>
37009         * manual/socket.texi (The Internet Namespace): Order menu items
37010         to match that in the file.
37012         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
37013         node listing of the info page menu.
37015 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
37017         [BZ #13550]
37018         * sysdeps/i386/bp-asm.h: Remove file.
37019         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37020         (PARMS): Do not use macros from bp-asm.h.
37021         (S1): Likewise.
37022         (S2): Likewise.
37023         (SIZE): Likewise.
37024         (__mpn_add_n): Do not use BP_SYM
37025         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
37026         "bp-asm.h".
37027         (PARMS): Do not use macros from bp-asm.h.
37028         (S1): Likewise.
37029         (SIZE): Likewise.
37030         (__mpn_addmul_1): Do not use BP_SYM
37031         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
37032         "bp-asm.h".
37033         (PARMS): Do not use macros from bp-asm.h.
37034         (SIGMSK): Likewise.
37035         (_setjmp): Likewise.  Do not use BP_SYM.
37036         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
37037         "bp-asm.h".
37038         (PARMS): Do not use macros from bp-asm.h.
37039         (SIGMSK): Likewise.
37040         (setjmp): Likewise.  Do not use BP_SYM.
37041         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
37042         "bp-asm.h".
37043         (PARMS): Do not use macros from bp-asm.h.
37044         (__frexp): Do not use BP_SYM.
37045         (frexp): Likewise.
37046         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
37047         "bp-asm.h".
37048         (PARMS): Do not use macros from bp-asm.h.
37049         (__frexpf): Do not use BP_SYM.
37050         (frexpf): Likewise.
37051         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
37052         "bp-asm.h".
37053         (PARMS): Do not use macros from bp-asm.h.
37054         (__frexpl): Do not use BP_SYM.
37055         (frexpl): Likewise.
37056         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
37057         "bp-asm.h".
37058         (PARMS): Do not use macros from bp-asm.h.
37059         (__remquo): Do not use BP_SYM.
37060         (remquo): Likewise.
37061         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
37062         "bp-asm.h".
37063         (PARMS): Do not use macros from bp-asm.h.
37064         (__remquof): Do not use BP_SYM.
37065         (remquof): Likewise.
37066         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
37067         "bp-asm.h".
37068         (PARMS): Do not use macros from bp-asm.h.
37069         (__remquol): Do not use BP_SYM.
37070         (remquol): Likewise.
37071         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
37072         "bp-asm.h".
37073         (PARMS): Do not use macros from bp-asm.h.
37074         (DEST): Likewise.
37075         (SRC): Likewise.
37076         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
37077         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
37078         "bp-asm.h".
37079         (PARMS): Do not use macros from bp-asm.h.
37080         (strlen): Do not use BP_SYM.
37081         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
37082         "bp-asm.h".
37083         (PARMS): Do not use macros from bp-asm.h.
37084         (S1): Likewise.
37085         (S2): Likewise.
37086         (SIZE): Likewise.
37087         (__mpn_add_n): Do not use BP_SYM.
37088         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
37089         "bp-asm.h".
37090         (PARMS): Do not use macros from bp-asm.h.
37091         (S1): Likewise.
37092         (SIZE): Likewise.
37093         (__mpn_addmul_1): Do not use BP_SYM.
37094         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
37095         weak_alias.
37096         (bzero): Likewise.
37097         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
37098         "bp-asm.h".
37099         (PARMS): Do not use macros from bp-asm.h.
37100         (S): Likewise.
37101         (SIZE): Likewise.
37102         (__mpn_lshift): Do not use BP_SYM.
37103         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
37104         "bp-asm.h".
37105         (PARMS): Do not use macros from bp-asm.h.
37106         (DEST): Likewise.
37107         (SRC): Likewise.
37108         (LEN): Likewise.
37109         (memcpy): Likewise.  Do not use BP_SYM.
37110         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
37111         libc_hidden_def and weak_alias.
37112         (mempcpy): Do not use BP_SYM in weak_alias.
37113         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
37114         "bp-asm.h".
37115         (PARMS): Do not use macros from bp-asm.h.
37116         (DEST): Likewise.
37117         (LEN): Likewise.
37118         [!BZERO_P] (CHR): Likewise.
37119         (memset): Likewise.  Do not use BP_SYM.
37120         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
37121         "bp-asm.h".
37122         (PARMS): Do not use macros from bp-asm.h.
37123         (S1): Likewise.
37124         (SIZE): Likewise.
37125         (__mpn_mul_1): Do not use BP_SYM.
37126         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
37127         "bp-asm.h".
37128         (PARMS): Do not use macros from bp-asm.h.
37129         (S): Likewise.
37130         (SIZE): Likewise.
37131         (__mpn_rshift): Do not use BP_SYM.
37132         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
37133         "bp-asm.h".
37134         (PARMS): Do not use macros from bp-asm.h.
37135         (STR): Likewise.
37136         (CHR): Likewise.
37137         (strchr): Likewise.  Do not use BP_SYM.
37138         (index): Do not use BP_SYM in weak_alias.
37139         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
37140         "bp-asm.h".
37141         (PARMS): Do not use macros from bp-asm.h.
37142         (DEST): Likewise.
37143         (SRC): Likewise.
37144         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
37145         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
37146         "bp-asm.h".
37147         (PARMS): Do not use macros from bp-asm.h.
37148         (strlen): Do not use BP_SYM.
37149         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
37150         "bp-asm.h".
37151         (PARMS): Do not use macros from bp-asm.h.
37152         (S1): Likewise.
37153         (S2): Likewise.
37154         (SIZE): Likewise.
37155         (__mpn_sub_n): Do not use BP_SYM.
37156         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
37157         "bp-asm.h".
37158         (PARMS): Do not use macros from bp-asm.h.
37159         (S1): Likewise.
37160         (SIZE): Likewise.
37161         (__mpn_submul_1): Do not use BP_SYM.
37162         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
37163         "bp-asm.h".
37164         (PARMS): Do not use macros from bp-asm.h.
37165         (S1): Likewise.
37166         (S2): Likewise.
37167         (SIZE): Likewise.
37168         (__mpn_add_n): Do not use BP_SYM.
37169         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
37170         weak_alias.
37171         (bzero): Likewise.
37172         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
37173         "bp-asm.h".
37174         (PARMS): Do not use macros from bp-asm.h.
37175         (BLK2): Likewise.
37176         (LEN): Likewise.
37177         (memcmp): Do not use BP_SYM.
37178         (bcmp): Do not use BP_SYM in weak_alias.
37179         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
37180         "bp-asm.h".
37181         (PARMS): Do not use macros from bp-asm.h.
37182         (DEST): Likewise.
37183         (SRC): Likewise.
37184         (LEN): Likewise.
37185         (memcpy): Likewise.  Do not use BP_SYM.
37186         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
37187         "bp-asm.h".
37188         (PARMS): Do not use macros from bp-asm.h.
37189         (DEST): Likewise.
37190         (SRC): Likewise.
37191         (LEN): Likewise.
37192         (memmove): Likewise.  Do not use BP_SYM.
37193         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
37194         "bp-asm.h".
37195         (PARMS): Do not use macros from bp-asm.h.
37196         (DEST): Likewise.
37197         (SRC): Likewise.
37198         (LEN): Likewise.
37199         (__mempcpy): Likewise.  Do not use BP_SYM.
37200         (mempcpy): Do not use BP_SYM in weak_alias.
37201         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
37202         "bp-asm.h".
37203         (PARMS): Do not use macros from bp-asm.h.
37204         (DEST): Likewise.
37205         (LEN): Likewise.
37206         [!BZERO_P] (CHR): Likewise.
37207         (memset): Likewise.  Do not use BP_SYM.
37208         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
37209         "bp-asm.h".
37210         (PARMS): Do not use macros from bp-asm.h.
37211         (STR2): Likewise.
37212         (strcmp): Do not use BP_SYM.
37213         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
37214         "bp-asm.h".
37215         (PARMS): Do not use macros from bp-asm.h.
37216         (STR): Likewise.
37217         (DELIM): Likewise.
37218         [USE_AS_STRTOK_R] (SAVE): Likewise.
37219         (FUNCTION): Likewise.  Do not use BP_SYM.
37220         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
37221         aliases.
37222         (strtok_r): Likewise.
37223         (__GI___strtok_r): Likewise.
37224         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37225         (PARMS): Do not use macros from bp-asm.h.
37226         (S): Likewise.
37227         (SIZE): Likewise.
37228         (__mpn_lshift): Do not use BP_SYM.
37229         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37230         (PARMS): Do not use macros from bp-asm.h.
37231         (STR): Likewise.
37232         (CHR): Likewise.
37233         (__memchr): Do not use BP_SYM.
37234         (memchr): Do not use BP_SYM in weak_alias.
37235         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37236         (PARMS): Do not use macros from bp-asm.h.
37237         (BLK2): Likewise.
37238         (LEN): Likewise.
37239         (memcmp): Do not use BP_SYM.
37240         (bcmp): Do not use BP_SYM in weak_alias.
37241         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
37242         (PARMS): Do not use macros from bp-asm.h.
37243         (S1): Likewise.
37244         (SIZE): Likewise.
37245         (__mpn_mul_1): Do not use BP_SYM.
37246         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
37247         "bp-asm.h".
37248         (PARMS): Do not use macros from bp-asm.h.
37249         (STR): Likewise.
37250         (CHR): Likewise.
37251         (__rawmemchr): Do not use BP_SYM.
37252         (rawmemchr): Do not use BP_SYM in weak_alias.
37253         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37254         (PARMS): Do not use macros from bp-asm.h.
37255         (S): Likewise.
37256         (SIZE): Likewise.
37257         (__mpn_rshift): Do not use BP_SYM.
37258         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37259         (PARMS): Do not use macros from bp-asm.h.
37260         (SIGMSK): Likewise.
37261         (__sigsetjmp): Likewise.  Do not use BP_SYM.
37262         * sysdeps/i386/start.S: Do not include "bp-sym.h".
37263         (_start): Do not use BP_SYM.
37264         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
37265         (PARMS): Do not use macros from bp-asm.h.
37266         (DEST): Likewise.
37267         (SRC): Likewise.
37268         (__stpcpy): Likewise.  Do not use BP_SYM.
37269         (stpcpy): Do not use BP_SYM in weak_alias.
37270         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
37271         "bp-asm.h".
37272         (PARMS): Do not use macros from bp-asm.h.
37273         (DEST): Likewise.
37274         (SRC): Likewise.
37275         (LEN): Likewise.
37276         (__stpncpy): Likewise.  Do not use BP_SYM.
37277         (stpncpy): Do not use BP_SYM in weak_alias.
37278         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37279         (PARMS): Do not use macros from bp-asm.h.
37280         (STR): Likewise.
37281         (CHR): Likewise.
37282         (strchr): Likewise.  Do not use BP_SYM.
37283         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
37284         "bp-asm.h".
37285         (PARMS): Do not use macros from bp-asm.h.
37286         (STR): Likewise.
37287         (CHR): Likewise.
37288         (__strchrnul): Likewise.  Do not use BP_SYM.
37289         (strchrnul): Do not use BP_SYM in weak_alias.
37290         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
37291         "bp-asm.h".
37292         (PARMS): Do not use macros from bp-asm.h.
37293         (STOP): Likewise.
37294         (strcspn): Do not use BP_SYM.
37295         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
37296         "bp-asm.h".
37297         (PARMS): Do not use macros from bp-asm.h.
37298         (STR): Likewise.
37299         (STOP): Likewise.
37300         (strpbrk): Likewise.  Do not use BP_SYM.
37301         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
37302         "bp-asm.h".
37303         (PARMS): Do not use macros from bp-asm.h.
37304         (STR): Likewise.
37305         (CHR): Likewise.
37306         (strrchr): Likewise.  Do not use BP_SYM.
37307         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
37308         (PARMS): Do not use macros from bp-asm.h.
37309         (SKIP): Likewise.
37310         (strspn): Do not use BP_SYM.
37311         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
37312         (PARMS): Do not use macros from bp-asm.h.
37313         (STR): Likewise.
37314         (DELIM): Likewise.
37315         (SAVE): Likewise.
37316         (FUNCTION): Likewise.  Do not use BP_SYM.
37317         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
37318         aliases.
37319         (strtok_r): Likewise.
37320         (__GI___strtok_r): Likewise.
37321         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37322         (PARMS): Do not use macros from bp-asm.h.
37323         (S1): Likewise.
37324         (S2): Likewise.
37325         (SIZE): Likewise.
37326         (__mpn_sub_n): Do not use BP_SYM.
37327         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
37328         "bp-asm.h".
37329         (PARMS): Do not use macros from bp-asm.h.
37330         (S1): Likewise.
37331         (SIZE): Likewise.
37332         (__mpn_submul_1): Do not use BP_SYM.
37333         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
37334         <bp-sym.h>.
37335         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
37336         and <bp-asm.h>.
37337         (PARMS): Do not use macros from bp-asm.h.
37338         (FLAGS): Likewise.
37339         (PTID): Likewise.
37340         (TLS): Likewise.
37341         (CTID): Likewise.
37342         (__clone): Do not use BP_SYM.
37343         (clone): Do not use BP_SYM in weak_alias.
37344         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
37345         and <bp-asm.h>.
37346         (PARMS): Do not use macros from bp-asm.h.
37347         (LEN): Likewise.
37348         (__mmap64): Do not use BP_SYM.
37349         (mmap64): Do not use BP_SYM in weak_alias.
37350         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37351         <bp-sym.h> and <bp-asm.h>.
37352         (PARMS): Do not use macros from bp-asm.h.
37353         (__posix_fadvise64_l64): Do not use BP_SYM.
37354         * sysdeps/unix/sysv/linux/i386/semtimedop.S
37355         (PARMS): Do not use macros from bp-asm.h.
37356         (NSOPS): Likewise.
37357         (semtimedop): Do not use BP_SYM.
37358         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
37359         and <bp-asm.h>.
37361 2013-02-21  Allan McRae  <allan@archlinux.org>
37363         * manual/message.texi (Charset conversion in gettext):
37364         Move @end statement to beginning of line.
37366 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37368         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
37369         static.
37370         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37371         Likewise.
37373         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
37374         (denorm): Likewise.
37375         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
37376         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
37378 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37380         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
37381         tail-call to the resolved function if pltexit isn't needed.
37383 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37385         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
37386         or Y being zero as being unlikely.
37387         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37388         Likewise.
37390 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
37392         * manual/nss.texi (System Databases and Name Service Switch):
37393         Remove frobnicate @pxref.
37395 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
37397         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
37398         __attribute__ ((unused)) to __attribute__ ((__unused__)).
37400 2013-02-20  Petr Machata  <pmachata@redhat.com>
37402         * elf/elf.h (R_ARM_TARGET1): New macro.
37403         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
37404         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
37405         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
37406         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
37407         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
37408         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
37409         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
37410         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
37411         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
37412         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
37413         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
37414         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
37415         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
37416         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
37417         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
37418         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
37419         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
37420         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
37421         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
37422         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
37423         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
37424         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
37425         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
37426         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
37427         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
37428         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
37429         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
37430         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
37431         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
37432         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
37433         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
37434         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
37435         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
37436         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
37437         (R_ARM_THM_GOT_BREL12): Likewise.
37438         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
37439         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
37440         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
37441         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
37442         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
37443         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
37444         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
37445         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
37446         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
37448 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
37450         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
37451         __attribute_used__ to __attribute__ ((unused)).
37453 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37455         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
37456         powerpc mpa.c.
37457         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
37458         comment formatting.
37459         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
37461 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
37463         [BZ #13550]
37464         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
37465         Remove macro.
37466         (ENTER): Remove both macro definitions.
37467         (LEAVE): Likewise.
37468         (CHECK_BOUNDS_LOW): Likewise.
37469         (CHECK_BOUNDS_HIGH): Likewise.
37470         (CHECK_BOUNDS_BOTH): Likewise.
37471         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
37472         (RETURN_BOUNDED_POINTER): Likewise.
37473         (RETURN_NULL_BOUNDED_POINTER): Likewise.
37474         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
37475         (POP_ERRNO_LOCATION_RETURN): Likewise.
37476         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
37477         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37478         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
37479         macros.
37480         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37481         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
37482         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
37483         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
37484         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
37485         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
37486         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
37487         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
37488         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
37489         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
37490         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
37491         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
37492         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37493         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
37494         removed macros.
37495         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37496         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
37497         macros.
37498         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37499         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
37500         * sysdeps/i386/i586/memset.S (memset): Likewise.
37501         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
37502         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37503         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
37504         macros.
37505         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37506         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
37507         Change uses of L(2) to L(out).
37508         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
37509         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
37510         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
37511         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37512         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
37513         removed macros.
37514         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37515         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
37516         macros.
37517         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37518         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
37519         (RETURN): Do not use macro LEAVE.
37520         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
37521         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
37522         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
37523         * sysdeps/i386/i686/memset.S (memset): Likewise.
37524         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
37525         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
37526         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37527         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
37528         Likewise.
37529         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37530         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
37531         L(1_2) and L(1_3) into L(1).
37532         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37533         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
37534         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37535         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
37536         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37537         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
37538         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
37539         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37540         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
37541         macros.
37542         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
37543         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37544         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
37545         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
37546         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
37547         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37548         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
37549         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
37550         * sysdeps/i386/strcspn.S (strcspn): Likewise.
37551         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
37552         * sysdeps/i386/strrchr.S (strrchr): Likewise.
37553         * sysdeps/i386/strspn.S (strspn): Likewise.
37554         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
37555         conditional code.
37556         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37557         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
37558         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37559         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
37560         L(1_3) into L(1_1).
37561         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
37562         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37563         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
37564         macros.
37565         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37567 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
37569         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
37570         macro.
37572 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37574         * math/atest-exp.c (exp_mpn): Remove ROUND.
37575         * math/atest-exp2.c (exp_mpn): Likewise.
37576         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
37578         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
37579         * stdlib/tst-tls-atexit-lib.c: Likewise.
37580         * stdlib/tst-tls-atexit.c: Likewise.
37582 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37584         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
37585         and __attribute_alloc_size__.
37587 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37589         * include/programs/xmalloc.h: Change __attribute_alloc_size to
37590         __attribute_alloc_size__.
37591         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
37592         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
37594 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37596         * include/programs/xmalloc.h: New file.
37597         * catgets/gencat.c: Include it.
37598         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
37599         * elf/pldd.c: Likewise.
37600         * iconv/iconv_charmap.c: Likewise.
37601         * iconv/iconvconfig.c: Likewise.
37602         * iconv/strtab.c: Likewise.
37603         * locale/programs/locale.c: Likewise.
37604         * locale/programs/localedef.h: Likewise.
37605         * locale/programs/simple-hash.c: Likewise.
37606         * nscd/nscd.h: Likewise.
37607         * nss/makedb.c: Likewise.
37608         * sysdeps/generic/ldconfig.h: Likewise.
37610 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37612         * Versions.def: Add GLIBC_2.18.
37613         * include/link.h (struct link_map): New member l_tls_dtor_count.
37614         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
37615         (__call_tls_dtors): Likewise.
37616         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
37617         __cxa_thread_atexit_impl.
37618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37619         Likewise.
37620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37621         Likewise.
37622         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37623         Likewise.
37624         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37625         Likewise.
37626         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37627         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
37628         Likewise.
37629         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
37630         Likewise.
37631         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37632         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37633         Likewise.
37634         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
37635         (tests): Add test case tst-tls-atexit.
37636         (modules-names): Add shared library for tst-tls-atexit.
37637         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
37638         (GLIBC_PRIVATE): Add __call_tls_dtors.
37639         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
37640         for libstdc++.
37641         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
37642         * stdlib/tst-tls-atexit.c: New test case.
37643         * stdlib/tst-tls-atexit-lib.c: New test case.
37645         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
37647         * elf/Versions (ld): Add _dl_find_dso_for_object.
37648         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
37649         * elf/dl-open.c (_dl_find_dso_for_object): New function.
37650         (dl_open_worker): Use _dl_find_dso_for_object.
37651         * elf/dl-sym.c (do_sym): Likewise.
37652         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
37654 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37656         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
37657         Syntactic changes only.
37658         (_dl_runtime_profile): Do a tail-call to the resolved function.
37660 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
37662         [BZ #13550]
37663         * sysdeps/x86_64/bp-asm.h: Remove file.
37664         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
37665         <bp-sym.h> and <bp-asm.h>.
37666         (__clone): Do not use BP_SYM.
37667         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
37668         <bp-sym.h> and <bp-asm.h>.
37669         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37670         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
37671         "bp-asm.h".
37672         (_setjmp): Do not use BP_SYM.
37673         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
37674         "bp-asm.h".
37675         (setjmp): Do not use BP_SYM.
37676         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
37677         libc_hidden_def.
37678         (mempcpy): Do not use BP_SYM in weak_alias.
37679         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
37680         "bp-asm.h".
37681         (strchr): Do not use BP_SYM.
37682         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
37683         "bp-asm.h".
37684         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
37685         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
37686         (_start): Do not use BP_SYM.
37687         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
37688         "bp-asm.h".
37689         (strcat): Do not use BP_SYM.
37690         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
37691         "bp-asm.h".
37692         (STRCMP): Do not use BP_SYM.
37693         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
37694         "bp-asm.h".
37695         (STRCPY): Do not use BP_SYM.
37696         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
37697         "bp-asm.h".
37698         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
37699         "bp-asm.h".
37700         (FUNCTION): Do not use BP_SYM.
37701         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
37702         weak_alias.
37703         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
37705 2013-02-17  Andreas Jaeger  <aj@suse.de>
37707         * time/Versions: Sort entries.
37708         * string/Versions: Likewise.
37709         * resolv/Versions: Likewise.
37710         * posix/Versions: Likewise.
37711         * iconv/Versions: Likewise.
37712         * elf/Versions: Likewise.
37713         * wcsmbs/Versions: Likewise.
37715 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37717         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
37718         loop termination condition.
37720         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
37721         variable to calculate EZ.
37722         (__sqr): Likewise.
37724         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
37725         the lower precision input.
37727 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
37729         [BZ #13550]
37730         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
37731         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
37732         (run-via-rtld-prefix): Do not handle %-bp tests.
37733         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
37734         (all-object-suffixes): Remove .ob.
37735         (bppfx): Remove variable.
37736         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
37737         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
37738         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
37739         [$(build-bounded) = yes] (libtype.ob): Likewise.
37740         * Makerules (elide-routines.ob): Remove variable.
37741         (do-tests-clean): Do not handle *-bp.out.
37742         (common-mostlyclean): Do not handle *-bp and *-bp.out.
37743         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
37744         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
37745         (tests): Do not include $(tests-bp.out).
37746         (xtests): Do not include $(xtests-bp.out).
37747         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
37748         [$(build-bounded) = yes] ($(addprefix
37749         $(objpfx),$(binaries-bounded))): Remove rule.
37750         ($(objpfx)%-bp.out): Remove rule.
37751         * config.make.in (build-bounded): Remove variable.
37752         * crypt/Makefile [$(build-bounded) = yes]
37753         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
37754         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
37755         append to variable.
37756         [$(build-bounded) = yes] (install-lib): Likewise.
37757         [$(build-bounded) = yes] (generated): Likewise.
37758         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
37759         Remove rule.
37760         * intl/Makefile [$(build-bounded) = yes]
37761         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
37762         * math/Makefile [$(build-bounded) = yes]
37763         ($(tests:%=$(objpfx)%-bp): Likewise.
37764         * misc/Makefile [$(build-bounded) = yes]
37765         ($(objpfx)tst-tsearch-bp): Likewise.
37766         * nptl/Makeconfig (bounded-thread-library): Remove variable.
37767         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
37768         Remove dependency.
37769         * string/Makefile (o-objects.ob): Remove variable.
37770         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
37771         (CFLAGS-.ob): Remove variable.
37772         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
37773         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
37774         both definitions of variable.
37775         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
37776         (ASFLAGS-.ob): Remove variable.
37778 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
37780         [BZ #13550]
37781         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
37782         Remove __BOUNDED_POINTERS__ from condition.
37783         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
37784         * string/bits/string2.h [!__NO_STRING_INLINES &&
37785         !__BOUNDED_POINTERS__]: Likewise.
37786         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
37787         Likewise.
37788         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
37789         Remove conditional code.
37790         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
37791         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
37792         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
37793         condition.
37795         [BZ #13550]
37796         * csu/libc-start.c: Do not include <bp-sym.h>.
37797         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
37798         * elf/dl-open.c: Do not include <bp-sym.h>.
37799         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
37800         * math/fegetenv.c: Do not include <bp-sym.h>.
37801         (fegetenv): Do not use BP_SYM in versioned symbols.
37802         * nptl/sysdeps/pthread/bits/libc-lockP.h
37803         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
37804         <bp-sym.h>.
37805         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37806         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
37807         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37808         (__pthread_mutex_destroy): Likewise.
37809         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37810         (__pthread_mutex_lock): Likewise.
37811         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37812         (__pthread_mutex_trylock): Likewise.
37813         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37814         (__pthread_mutex_unlock): Likewise.
37815         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37816         (__pthread_mutexattr_init): Likewise.
37817         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37818         (__pthread_mutexattr_destroy): Likewise.
37819         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37820         (__pthread_mutexattr_settype): Likewise.
37821         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37822         (__pthread_rwlock_init): Likewise.
37823         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37824         (__pthread_rwlock_destroy): Likewise.
37825         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37826         (__pthread_rwlock_rdlock): Likewise.
37827         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37828         (__pthread_rwlock_tryrdlock): Likewise.
37829         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37830         (__pthread_rwlock_wrlock): Likewise.
37831         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37832         (__pthread_rwlock_trywrlock): Likewise.
37833         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37834         (__pthread_rwlock_unlock): Likewise.
37835         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37836         (__pthread_key_create): Likewise.
37837         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37838         (__pthread_setspecific): Likewise.
37839         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37840         (__pthread_getspecific): Likewise.
37841         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
37842         Likewise.
37843         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37844         (_pthread_cleanup_push_defer): Likewise.
37845         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37846         (_pthread_cleanup_pop_restore): Likewise.
37847         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37848         (pthread_setcancelstate): Likewise.
37849         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
37850         <bp-sym.h>.
37851         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
37852         (memchr): Do not use BP_SYM in weak_alias.
37853         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
37854         (fegetenv): Do not use BP_SYM in versioned symbols.
37855         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
37856         (fesetenv): Do not use BP_SYM in versioned symbols.
37857         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37858         (feupdateenv): Do not use BP_SYM in versioned symbols.
37859         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37860         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37861         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
37862         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
37863         (open64): Do not use BP_SYM in weak_alias.
37864         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
37865         (fegetenv): Do not use BP_SYM in versioned symbols.
37866         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
37867         (fesetenv): Do not use BP_SYM in versioned symbols.
37868         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37869         (feupdateenv): Do not use BP_SYM in versioned symbols.
37870         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
37871         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
37872         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
37873         (feraiseexcept): Do not use BP_SYM in versioned symbols.
37874         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37875         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37876         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
37877         <bp-sym.h>.
37878         (__libc_start_main): Do not use BP_SYM.
37880 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37882         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
37883         redundant return line.
37884         (norm): Likewise.
37885         (denorm): Likewise.
37886         (dbl_mp): Likewise.
37887         (sub_magnitudes): Likewise.
37888         (__add): Likewise.
37889         (__sub): Likewise.
37890         (__mul): Likewise.
37891         (__inv): Likewise.
37892         (__dvd): Likewise.
37893         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
37894         (norm): Likewise.
37895         (denorm): Likewise.
37896         (dbl_mp): Likewise.
37897         (sub_magnitudes): Likewise.
37898         (__add): Likewise.
37899         (__sub): Likewise.
37900         (__mul): Likewise.
37901         (__inv): Likewise.
37902         (__dvd): Likewise.
37904         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
37905         instead of __mul.
37906         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37907         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
37908         (cc32): Likewise.
37910         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
37911         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
37912         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
37913         of __mul for squares.
37914         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
37915         function
37916         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
37917         Likewise.
37918         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
37919         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37921 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
37923         [BZ #13550]
37924         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
37925         code.
37926         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
37927         prototype or function definition.  Rename ubp_* variables and
37928         parameters.  Remove argv definitions conditional on
37929         [__BOUNDED_POINTERS__].
37930         * debug/backtrace.c (__backtrace): Do not use __unbounded.
37931         * elf/dl-runtime.c (_dl_fixup): Likewise.
37932         * include/set-hooks.h (RUN_HOOK): Likewise.
37933         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
37934         definition.
37935         * string/strcpy.c (strcpy): Do not use __unbounded.
37936         * sysdeps/generic/frame.h (struct layout): Likewise.
37937         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
37938         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
37939         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
37940         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
37941         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
37942         (__backtrace): Likewise.
37943         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
37944         use __ptrvalue.
37945         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
37946         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
37947         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
37948         Likewise.
37949         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
37950         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
37951         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
37952         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37953         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
37954         Do not use __unbounded.
37955         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
37956         Rename __unboundedrlimits parameter to rlimits in prototype.
37957         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
37958         Do not use __unbounded.
37959         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
37960         not use __ptrvalue.
37961         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37962         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
37963         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37964         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
37965         __ptrvalue or __unbounded.
37966         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
37967         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
37968         use __unbounded.
37969         (__new_msgctl): Do not use __ptrvalue.
37970         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
37971         __unbounded.
37972         (__libc_msgrcv): Do not use __ptrvalue.
37973         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
37974         startup_info): Do not use __unbounded.
37975         (__libc_start_main): Likewise.  Rename ubp_* variables and
37976         parameters.  Remove argv definitions conditional on
37977         [__BOUNDED_POINTERS__].
37978         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
37979         __ptrvalue.
37980         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
37981         use __unbounded.
37982         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
37983         or __ptrvalue.
37984         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
37985         use __unbounded.
37986         (__new_shmctl): Do not use __ptrvalue.
37987         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
37988         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
37989         Likewise.
37990         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
37991         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
37992         (__libc_sigaction): Likewise.
37993         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
37994         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
37995         Likewise.
37996         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37998 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
38000         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
38002         * string/mempcpy.c: Implement by calling memcpy.
38004 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38006         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
38008         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
38009         evaluation.
38011         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
38012         values in the mantissa.
38014         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
38015         minimize writes to Z.
38016         (sub_magnitudes): Simplify code a bit.
38018 2013-02-12  Roland McGrath  <roland@hack.frob.com>
38020         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
38021         from the message.  The linker prefixes all warnings with that already.
38023 2013-02-12  Andreas Schwab  <schwab@suse.de>
38025         [BZ #15078]
38026         * posix/regexec.c (extend_buffers): Add parameter min_len.
38027         (check_matching): Pass minimum needed length.
38028         (clean_state_log_if_needed): Likewise.
38029         (get_subexp): Likewise.
38030         * posix/Makefile (tests): Add bug-regex34.
38031         (bug-regex34-ENV): Define.
38032         * posix/bug-regex34.c: New file.
38034         [BZ #11561]
38035         * posix/regcomp.c (parse_bracket_exp): When looking up collating
38036         elements compare against the byte sequence of it, not its name.
38037         * posix/Makefile (tests): Add bug-regex35.
38038         (bug-regex35-ENV): Define.
38039         * posix/bug-regex35.c: New file.
38041 2013-02-11  Tom de Vries  <tom@codesourcery.com>
38043         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
38044         comment.
38045         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
38046         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
38047         (CHECK_EOL): Add undef.
38049 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
38051         * bits/stdlib-bsearch.h: New file.
38052         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
38053         * stdlib/stdlib.h: Likewise.
38055 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38057         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
38058         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
38059         declaration.
38060         * manual/search.texi (Array Search Function): Add missing const in
38061         lfind prototype.
38062         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
38063         declaration to use rlim_t.
38064         (Basic Scheduling Functions): Remove erroneous const from
38065         sched_getparam prototype.  Remove erroneous * from
38066         sched_get_priority_max and sched_get_priority_min prototypes.
38067         (Resource Usage): Fix summary @comment on vtimes to refer to
38068         sys/vtimes.h rather than vtimes.h.
38069         Add missing *s in vtimes prototype.
38070         (Limits on Resources): Fix ulimit prototype to return long int.
38071         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
38072         prototypes to use long int rather than double.
38073         (BSD Random): Fix initstate and setstate to use char *, not void *.
38074         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
38075         prototype to make second argument 'struct aiocb64 *const[]'.
38076         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
38077         (Status of AIO Operations): Remove erroneous const in aio_return and
38078         aio_return64 prototypes.
38079         (Synchronizing I/O): Fix sync prototype to return void.
38080         * manual/startup.texi (Suboptions): Remove an erroneous const in
38081         getsubopt prototype.
38082         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
38083         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
38084         use size_t rather than int.
38085         (Scanning All Users): Likewise for getpwent_r.
38086         (Setting Groups): Add missing const to setgroups prototype.
38087         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
38088         * manual/socket.texi (Host Names): Fix gethostbyaddr and
38089         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
38090         'const void *' rather than 'const char *'.
38091         (Host Address Functions): Likewise for inet_ntop.
38092         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
38093         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
38094         ssize_t for return value.
38095         (Sending Data): Likewise for send, sendto, sendmsg.
38096         (Socket Option Functions): Add a missing const in setsockopt prototype.
38097         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
38098         use wchar_t for the argument.
38099         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
38100         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
38101         take no arguments.
38102         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
38103         double/float/long double for second argument.
38104         Fix return types of significand, significandf, significandl.
38105         * manual/filesys.texi (Setting Permissions): Use mode_t for second
38106         argument in fchmod prototype.
38107         (File Owner): Use uid_t and gid_t in fchown prototype.
38108         (File Times): Add const to utimes, futimes, and lutimes prototypes.
38109         (Making Special Files): Use mode_t and dev_t in mknod prototype.
38110         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
38111         use 'const struct dirent **' as argument types to CMP function pointer
38112         argument.
38113         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
38114         (File Times): Fix summary magic @comment for struct utimbuf and utime
38115         to refer to utime.h, not time.h.
38116         * manual/string.texi (Argz Functions): Add missing const in
38117         argz_extract and argz_next prototypes.
38118         (Finding Tokens in a String): Likewise for basename.
38119         (String/Array Comparison): Fix typo in wcscasecmp prototype.
38120         (Copying and Concatenation): Fix typo in wmemmove prototype.
38121         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
38122         (Signal Stack): Remove erroneous const in sigstack prototype.
38123         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
38124         prototype.
38125         (Simple Calendar Time): Likewise for stime.
38126         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
38127         prototype.
38128         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
38129         say sys/sysctl.h instead.
38130         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
38131         and vsyslog prototypes.
38133 2013-02-11  Tom de Vries  <tom@codesourcery.com>
38135         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
38136         Remove.
38138 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38140         * misc/sys/mman.h: Fix typo in mremap comment.
38142 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38144         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
38145         the '\0' terminator.
38147 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
38149         [BZ #13550]
38150         * debug/segfault.c: Don't include <bp-checks.h>.
38151         * sysdeps/generic/bp-checks.h: Remove file.
38152         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
38153         (__GETDENTS): Don't use CHECK_N.
38154         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
38155         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
38156         (__getgroups): Don't use CHECK_N.
38157         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
38158         (setgroups): Don't use CHECK_N.
38159         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
38160         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
38161         (__libc_msgrcv): Don't use CHECK_N.
38162         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
38163         (__libc_msgsnd): Don't use CHECK_N.
38164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
38165         <bp-checks.h>.
38166         (__libc_pread): Don't use CHECK_N.
38167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
38168         include <bp-checks.h>.
38169         (__libc_pread64): Don't use CHECK_N.
38170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
38171         include <bp-checks.h>.
38172         (__libc_pwrite): Don't use CHECK_N.
38173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
38174         include <bp-checks.h>.
38175         (__libc_pwrite64): Don't use CHECK_N.
38176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
38177         <bp-checks.h>.
38178         (__libc_pread): Don't use CHECK_N.
38179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
38180         include <bp-checks.h>.
38181         (__libc_pread64): Don't use CHECK_N.
38182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
38183         include <bp-checks.h>.
38184         (__libc_pwrite): Don't use CHECK_N.
38185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
38186         include <bp-checks.h>.
38187         (__libc_pwrite64): Don't use CHECK_N.
38188         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
38189         (do_pread): Don't use CHECK_N.
38190         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
38191         (do_pread64): Don't use CHECK_N.
38192         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
38193         (do_pwrite): Don't use CHECK_N.
38194         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
38195         (do_pwrite64): Don't use CHECK_N.
38196         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
38197         (__libc_readv): Don't use CHECK_N.
38198         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
38199         (semop): Don't use CHECK_N.
38200         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
38201         <bp-checks.h>.
38202         (semtimedop): Don't use CHECK_N.
38203         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
38204         (__libc_pread): Don't use CHECK_N.
38205         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
38206         <bp-checks.h>.
38207         (__libc_pread64): Don't use CHECK_N.
38208         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
38209         <bp-checks.h>.
38210         (__libc_pwrite): Don't use CHECK_N.
38211         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
38212         <bp-checks.h>.
38213         (__libc_pwrite64): Don't use CHECK_N.
38214         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
38215         <bp-checks.h>.
38216         (__libc_msgrcv): Don't use CHECK_N.
38217         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
38218         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
38219         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
38220         (__libc_writev): Don't use CHECK_N.
38222 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38224         * string/strcpy.c: Removed unused variable.
38226         * Makeconfig (+sysdep-includes): Define with := rather than =.
38227         Use an existing include/ subdir of each sysdeps dir before it.
38229 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38231         * nscd/connection.c (register_traced_file): Comment function.
38232         [HAVE_INOTIFY] (union __inev): Define.
38233         [HAVE_INOTIFY] (inotify_check_files): New function.
38234         [HAVE_INOTIFY] (clear_db_cache): Likewise.
38235         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
38236         clear_db_cache.
38237         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
38239 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38241         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
38242         loaded if not already and that a failure is permanent.
38244 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38246         [BZ #15006]
38247         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
38248         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
38250 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
38252         [BZ #13550]
38253         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
38254         (CHECK_1_NULL_OK): Likewise.
38255         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
38256         (__fxstat): Do not use CHECK_1.
38257         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
38258         <bp-checks.h>.
38259         (___fxstat64): Do not use CHECK_1.
38260         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
38261         <bp-checks.h>.
38262         (__fxstatat): Do not use CHECK_1.
38263         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
38264         <bp-checks.h>.
38265         (__fxstatat64): Do not use CHECK_1.
38266         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
38267         <bp-checks.h>.
38268         (__fxstat): Do not use CHECK_1.
38269         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
38270         <bp-checks.h>.
38271         (__fxstatat): Do not use CHECK_1.
38272         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38273         <bp-checks.h>.
38274         (__getresgid): Do not use CHECK_1.
38275         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38276         <bp-checks.h>.
38277         (__getresuid): Do not use CHECK_1.
38278         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
38279         <bp-checks.h>.
38280         (__lxstat): Do not use CHECK_1.
38281         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38282         <bp-checks.h>.
38283         (__old_msgctl): Do not use CHECK_1.
38284         (__new_msgctl): Likewise.
38285         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
38286         <bp-checks.h>.
38287         (__new_setrlimit): Do not use CHECK_1.
38288         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38289         <bp-checks.h>.
38290         (__old_shmctl): Do not use CHECK_1.
38291         (__new_shmctl): Likewise.
38292         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
38293         <bp-checks.h>.
38294         (__xstat): Do not use CHECK_1.
38295         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
38296         (__lxstat): Do not use CHECK_1.
38297         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
38298         <bp-checks.h>.
38299         (___lxstat64): Do not use CHECK_1.
38300         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
38301         (__old_msgctl): Do not use CHECK_1.
38302         (__new_msgctl): Likewise.
38303         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
38304         <bp-checks.h>.
38305         (__gettimeofday): Do not use CHECK_1.
38306         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
38307         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
38308         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
38309         <bp-checks.h>.
38310         (__gettimeofday): Do not use CHECK_1.
38311         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
38312         (__old_shmctl): Do not use CHECK_1_NULL_OK.
38313         (__new_shmctl): Do not use CHECK_1.
38314         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
38315         <bp-checks.h>.
38316         (do_sigtimedwait): Do not use CHECK_1.
38317         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
38318         <bp-checks.h>.
38319         (do_sigwaitinfo): Do not use CHECK_1.
38320         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
38321         <bp-checks.h>.
38322         (msgctl): Do not use CHECK_1.
38323         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
38324         <bp-checks.h>.
38325         (shmctl): Do not use CHECK_1.
38326         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
38327         (ustat): Do not use CHECK_1.
38328         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
38329         <bp-checks.h>.
38330         (__fxstat): Do not use CHECK_1.
38331         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
38332         <bp-checks.h>.
38333         (__fxstatat): Do not use CHECK_1.
38334         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
38335         <bp-checks.h>.
38336         (__lxstat): Do not use CHECK_1.
38337         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
38338         <bp-checks.h>.
38339         (__xstat): Do not use CHECK_1.
38340         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
38341         (__xstat): Do not use CHECK_1.
38342         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
38343         (___xstat64): Do not use CHECK_1.
38345         [BZ #13550]
38346         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
38347         definitions.
38348         (CHECK_BOUNDS_HIGH): Likewise.
38349         * string/strcpy.c: Do not include <bp-checks.h>.
38350         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
38352 2013-02-07  Roland McGrath  <roland@hack.frob.com>
38354         * nscd/nscd-client.h (__nscd_drop_map_ref):
38355         Add __attribute__ ((unused)).
38356         * nis/nss-nisplus.h (niserr2nss): Likewise.
38358         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
38359         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
38361         * csu/libc-tls.c (init_static_tls, init_slotinfo):
38362         Remove inline keyword.
38363         * include/rounding-mode.h (round_away): Likewise.
38364         * libio/wfileops.c (adjust_wide_data): Likewise.
38365         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
38366         (__m128i_strloadu_tolower): Likewise.
38367         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
38368         (__m128i_strloadu_tolower): Likewise.
38369         * time/mktime.c (ydhms_diff): Likewise.
38370         * locale/elem-hash.h (elem_hash): Likewise.
38371         * locale/setlocale.c (setdata): Likewise.
38372         * posix/regex_internal.h (re_string_char_size_at): Likewise.
38373         (re_string_wchar_at): Likewise.
38374         (bitset_not, bitset_merge, bitset_mask): Likewise.
38375         [!(__GNUC__ > 3)] (inline): Remove macro.
38376         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
38377         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
38378         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
38379         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
38380         * string/memcmp.c (memcmp_bytes): Likewise.
38381         * locale/programs/locarchive.c (compute_hashval): Likewise.
38382         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
38383         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
38384         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
38385         * nss/getent.c (print_rpc, print_protocols): Likewise.
38386         (print_passwd, print_group, print_aliases): Likewise.
38387         * nis/nss-nisplus.h (niserr2nss): Likewise.
38388         * nscd/connections.c (restart_p): Likewise.
38389         Change return type to bool.
38391 2013-02-05  Roland McGrath  <roland@hack.frob.com>
38393         * Makeconfig (all-Depend-files): Add existing
38394         $(sorted-subdirs:=/Depend) files.
38395         (all-subdirs): Remove nss.
38396         * sysdeps/unix/inet/Subdirs: Add it here instead.
38397         * hesiod/Depend: New file.
38399         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
38400         instead of calling alloca.
38402         * io/lseek.c (__lseek): Rename to __libc_lseek.
38403         Define __lseek as an alias.
38405         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
38407 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
38409         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
38410         else clause and remove check for non-standard endianness.
38412 2013-02-04  David S. Miller  <davem@davemloft.net>
38414         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38416 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
38418         [BZ #13550]
38419         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
38420         (__ubp_memchr): Remove prototype.
38421         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
38422         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
38423         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
38424         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
38425         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
38426         Remove alias.
38427         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
38428         (__ubp_memchr): Likewise.
38429         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
38430         (__ubp_memchr): Likewise.
38431         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
38432         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
38433         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
38434         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
38435         CHECK_STRING.
38436         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
38437         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
38438         (__getcwd): Do not use CHECK_STRING.
38439         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38440         <bp-checks.h>.
38441         (__real_chown): Do not use CHECK_STRING.
38442         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
38443         <bp-checks.h>.
38444         (fchownat): Do not use CHECK_STRING.
38445         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
38446         CHECK_STRING.
38447         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38448         <bp-checks.h>.
38449         (__lchown): Do not use CHECK_STRING.
38450         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38451         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38452         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38453         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
38454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38455         include <bp-checks.h>.
38456         (truncate64): Do not use CHECK_STRING.
38457         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38458         <bp-checks.h>.
38459         (__real_chown): Do not use CHECK_STRING.
38460         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38461         <bp-checks.h>.
38462         (__lchown): Do not use CHECK_STRING.
38463         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38464         <bp-checks.h>.
38465         (__chown): Do not use CHECK_STRING.
38466         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
38467         <bp-checks.h>.
38468         (truncate64): Do not use CHECK_STRING.
38469         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
38470         Likewise.
38471         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
38472         (__xmknod): Do not use CHECK_STRING.
38473         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
38474         <bp-checks.h>.
38475         (__xmknodat): Do not use CHECK_STRING.
38476         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
38477         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
38479 2013-02-04  Andreas Schwab  <schwab@suse.de>
38481         [BZ #14142]
38482         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
38483         * include/netdb.h: Likewise for h_errno.
38484         * elf/tst-stackguard1.c: Include <tls.h>.
38486 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
38488         * elf/link.h (struct link_map): Extend the l_addr comment.
38489         * include/link.h (struct link_map): Likewise.
38491 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
38493         [BZ #13550]
38494         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
38495         (BOUNDED_1): Remove macro.
38496         * debug/backtrace.c: Don't include <bp-checks.h>.
38497         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
38498         (__backtrace): Likewise.
38499         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
38500         <bp-checks.h>.
38501         (__backtrace): Don't use BOUNDED_1.
38502         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
38503         <bp-checks.h>.
38504         (__backtrace): Don't use BOUNDED_1.
38505         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
38506         (__backtrace): Don't use BOUNDED_1.
38507         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
38508         (shmat): Don't use BOUNDED_N.
38510 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
38512         [BZ #13550]
38513         * sysdeps/generic/bp-start.h: Remove file.
38514         * csu/libc-start.c: Don't include <bp-start.h>.
38515         (LIBC_START_MAIN): Set up __environ directly instead of using
38516         INIT_ARGV_and_ENVIRON.
38517         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
38518         <bp-start.h>.
38520         [BZ #13550]
38521         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
38522         definitions.
38523         (CHECK_FCNTL): Likewise.
38524         (CHECK_N_PAGES): Likewise.
38526         [BZ #13550]
38527         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
38528         definitions.
38529         (CHECK_SIGSET_NULL_OK): Likewise.
38530         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
38531         <bp-checks.h>.
38532         (sigpending): Don't use CHECK_SIGSET.
38533         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
38534         <bp-checks.h>.
38535         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38536         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
38537         <bp-checks.h>.
38538         (do_sigsuspend): Don't use CHECK_SIGSET.
38539         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
38540         use CHECK_SIGSET.
38541         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
38542         (do_sigwait): Don't use CHECK_SIGSET.
38543         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
38544         use CHECK_SIGSET.
38545         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
38546         include <bp-checks.h>.
38547         (sigpending): Don't use CHECK_SIGSET.
38548         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
38549         include <bp-checks.h>.
38550         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38551         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
38552         <bp-checks.h>.
38553         (sigpending): Don't use CHECK_SIGSET.
38554         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
38555         <bp-checks.h>.
38556         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38558         [BZ #13550]
38559         * sysdeps/generic/bp-semctl.h: Remove file.
38560         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
38561         <bp-checks.h> and <bp-semctl.h>.
38562         (__old_semctl): Don't use CHECK_SEMCTL.
38563         (__new_semctl): Likewise.
38564         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
38565         and <bp-semctl.h>.
38566         (__old_semctl): Don't use CHECK_SEMCTL.
38567         (__new_semctl): Likewise.
38568         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
38569         <bp-checks.h> and <bp-semctl.h>.
38570         (__old_semctl): Don't use CHECK_SEMCTL.
38571         (__new_semctl): Likewise.
38572         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
38573         <bp-checks.h> and <bp-semctl.h>.
38574         (semctl): Don't use CHECK_SEMCTL.
38576         [BZ #13550]
38577         * Makerules (elide-bp-thunks): Remove variable.
38578         (elide-routines.oS): Don't use $(elide-bp-thunks).
38579         (elide-routines.os): Likewise.
38580         (elide-routines.o): Likewise.
38581         (elide-routines.op): Likewise.
38582         (elide-routines.og): Likewise.
38583         (objects): Don't use $(bp-thunks).
38584         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
38585         include.
38586         (common-generated): Do not add s-proto-bp.d.
38587         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
38588         (int): Likewise.
38589         (typ): Likewise.
38590         Do not generate makefile rules for bounded-pointer thunks.
38591         * sysdeps/generic/bp-thunks.h: Remove file.
38592         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
38593         * sysdeps/unix/s-proto-bp.S: Likewise.
38595         [BZ #15062]
38596         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
38597         parts of result separately when argument is not close to line from
38598         -i to i and one part of argument is small.
38599         * math/k_casinhf.c (__kernel_casinhf): Likewise.
38600         * math/k_casinhl.c (__kernel_casinhl): Likewise.
38601         * math/libm-test.inc (cacos_test): Add more tests.
38602         (casin_test): Likewise.
38603         (casinh_test): Likewise.
38604         * sysdeps/i386/fpu/libm-test-ulps: Update.
38605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38607 2013-01-31  David S. Miller  <davem@davemloft.net>
38609         * po/de.po: Update from translation team.
38611 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
38613         * time/tzfile.c: Include stdint.h for SIZE_MAX.
38615 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
38617         * configure.in (_AC_PROG_CC_C89): New definition.
38618         * configure: Regenerate.
38620         * configure.in (AC_PROG_CPP): New definition.
38621         * configure: Regenerate.
38623 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
38625         * debug/tst-backtrace.h: New file.
38626         * debug/tst-backtrace2.c: Include tst-backtrace.h.
38627         (ret): Remove variable.
38628         (x): Likewise.
38629         (FAIL): Remove macro.
38630         (NO_INLINE): Likewise.
38631         (fn1): Use match function instead of strstr.
38632         * debug/tst-backtrace3.c: Include tst-backtrace.h.
38633         (ret): Remove variable.
38634         (x): Likewise.
38635         (FAIL): Remove macro.
38636         (NO_INLINE): Likewise.
38637         (fn): Use match function instead of strstr.
38638         * debug/tst-backtrace4.c: Include tst-backtrace.h.
38639         (ret): Remove variable.
38640         (x): Likewise.
38641         (FAIL): Remove macro.
38642         (NO_INLINE): Likewise.
38643         (handle_signal): Use match function instead of strstr.
38644         * debug/tst-backtrace5.c: Include tst-backtrace.h.
38645         (ret): Remove variable.
38646         (x): Likewise.
38647         (FAIL): Remove macro.
38648         (NO_INLINE): Likewise.
38649         (handle_signal): Use match function instead of strstr.
38651 2013-01-23  Roland McGrath  <roland@hack.frob.com>
38653         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
38655 2013-01-23  David S. Miller  <davem@davemloft.net>
38657         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
38658         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
38659         argument of CAS if possible.
38660         * sysdeps/sparc/sparc64/bits/atomic.h
38661         (__arch_compare_and_exchange_val_32_acq): Likewise.
38662         (__arch_compare_and_exchange_val_64_acq): Likewise.
38664 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
38666         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
38667         * sysdeps/posix/ulimit.c: ... this.
38668         Include <limits.h>.
38669         * sysdeps/unix/bsd/ulimit.c: Remove file.
38671 2013-01-23  Adam Conrad  <adconrad@0c3.net>
38673         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
38674         (LDFLAGS-tst-array5): Likewise.
38676 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
38678         [BZ #15036]
38679         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
38680         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
38681         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
38682         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
38684 2013-01-21  David S. Miller  <davem@davemloft.net>
38686         * sysdeps/sparc/backtrace.c: New file.
38687         * sysdeps/sparc/sparc32/backtrace.h: New file.
38688         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
38689         * sysdeps/sparc/sparc64/backtrace.h: New file.
38690         * sysdeps/sparc/sparc64/backtrace.c: Delete.
38691         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
38692         -funwind-tables.
38694 2013-01-21  Andreas Schwab  <schwab@suse.de>
38696         [BZ #15020]
38697         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
38698         closed its stdout.
38700 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
38702         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
38703         "mpa2.h".
38704         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38706 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
38707             Mark Mitchell  <mark@codesourcery.com>
38708             Tom de Vries  <tom@codesourcery.com>
38709             Paul Pluzhnikov  <ppluzhnikov@google.com>
38711         * debug/tst-backtrace2.c: New file.
38712         * debug/tst-backtrace3.c: Likewise.
38713         * debug/tst-backtrace4.c: Likewise.
38714         * debug/tst-backtrace5.c: Likewise.
38715         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
38716         (CFLAGS-tst-backtrace3.c): Likewise.
38717         (CFLAGS-tst-backtrace4.c): Likewise.
38718         (CFLAGS-tst-backtrace5.c): Likewise.
38719         (LDFLAGS-tst-backtrace2): Likewise.
38720         (LDFLAGS-tst-backtrace3): Likewise.
38721         (LDFLAGS-tst-backtrace4): Likewise.
38722         (LDFLAGS-tst-backtrace5): Likewise.
38723         (tests): Add new tests tst-backtrace2, tst-backtrace3,
38724         tst-backtrace4 and tst-backtrace5.
38726 2013-01-18  Anton Blanchard  <anton@samba.org>
38727             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38729         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
38730         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
38731         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
38732         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
38733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38734         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
38735         "+r" and remove output regs list as redundant.  Add explicit inline
38736         asm to specify register of return val to work around compiler codegen
38737         bug.  Remove (int) cast on return value.  Add return type parameter to
38738         use in macro so that this macro does not truncate return value for
38739         64-bit values.
38740         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
38741         pass to INTERNAL_VSYSCALL_NCS.
38742         (INLINE_VSYSCALL): Add 'long int' as return type to
38743         INTERNAL_VSYSCALL_NCS macro invocation.
38744         (INTERNAL_VSYSCALL): Add 'long int' as return type to
38745         INTERNAL_VSYSCALL_NCS macro invocation.
38746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38748 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38750         [BZ #14496]
38751         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
38752         Fix application of SIMD FP exception mask.
38754         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
38755         mp_no from a power of two.
38756         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
38757         __mpexp_twomm1.  Use __pow_mp.
38759         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
38760         multiplication.
38762 2013-01-17  David S. Miller  <davem@davemloft.net>
38764         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38766 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
38768         [BZ #15023]
38769         * include/complex.h: Condition contents on [!_COMPLEX_H].
38770         (__kernel_casinhf): New prototype.
38771         (__kernel_casinh): Likewise.
38772         (__kernel_casinhl): Likewise.
38773         * math/Makefile (libm_calls): Add k_casinh.
38774         * math/k_casinh.c: New file.
38775         * math/k_casinhf.c: Likewise.
38776         * math/k_casinhl.c: Likewise.
38777         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
38778         finite nonzero arguments.
38779         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
38780         finite nonzero arguments.
38781         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
38782         finite nonzero arguments.
38783         * math/s_casinh.c: Do not include <float.h>.
38784         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
38785         * math/s_casinhf.c: Do not include <float.h>.
38786         (__casinhf): Move code for finite nonzero arguments to
38787         k_casinhf.c.
38788         * math/s_casinhl.c: Do not include <float.h>.
38789         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
38790         redefine.
38791         (__casinhl): Move code for finite nonzero arguments to
38792         k_casinhl.c.
38793         * math/libm-test.inc (cacos_test): Add more tests.
38794         * sysdeps/i386/fpu/libm-test-ulps: Update.
38795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38797 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
38799         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
38800         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
38801         [!HAVE_MREMAP]: Remove [defined linux] case.
38802         * malloc/arena.c: Do not include <malloc-sysdep.h>.
38804 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38806         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
38808 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
38810         * elf/elf.h (R_386_SIZE32): New relocation.
38811         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
38812         R_386_SIZE32.
38813         (elf_machine_rela): Likewise.
38814         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38815         R_X86_64_SIZE64 and R_X86_64_SIZE32.
38817 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
38819         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
38820         (FP_FAST_FMA): Do not define.
38821         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
38822         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
38823         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
38824         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
38825         !_SOFT_FLOAT]: Likewise.
38826         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
38827         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
38828         value.
38829         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
38830         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
38831         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
38832         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
38833         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
38834         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
38835         file.
38837 2013-01-16  Andreas Schwab  <schwab@suse.de>
38839         [BZ #14327]
38840         * include/stdlib.h (__mktemp): Add declaration.
38841         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
38842         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
38844 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38846         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
38847         definitions.
38848         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38849         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
38850         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
38851         definitions here.
38852         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
38853         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
38854         definitions.
38855         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
38856         and ONE.
38857         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
38858         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
38859         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
38860         definitions.
38861         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
38862         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
38863         definitions.
38864         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38866         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
38868 2013-01-15  David S. Miller  <davem@davemloft.net>
38870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38871         trunc{,f} to libm-sysdep_routes.
38872         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
38874         file.
38875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
38876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
38877         file.
38878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
38879         file.
38880         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
38881         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
38882         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
38883         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
38884         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
38885         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
38886         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
38887         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
38889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38890         nearbyint{,f} to libm-sysdep_routes.
38891         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
38893         New file.
38894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
38895         file.
38896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
38897         New file.
38898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
38899         file.
38900         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
38901         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
38902         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
38903         file.
38904         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
38905         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
38906         file.
38907         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
38908         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
38909         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
38911         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
38912         libc_feholdexcept and libc_fesetenv.
38914 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
38916         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
38918 2013-01-14  David S. Miller  <davem@davemloft.net>
38920         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
38921         (SPARC_ASM_VIS2_IFUNC): Likewise.
38922         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
38923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
38924         use of 'siam' instruction.
38925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
38926         Likewise.
38927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
38928         Likewise.
38929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
38930         Likewise.
38931         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
38932         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
38933         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
38934         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
38935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
38936         file.
38937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
38938         file.
38939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
38940         file.
38941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
38942         file.
38943         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
38944         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
38945         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
38946         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
38947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
38948         new VIS2 routines.
38949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38952         Likewise.
38953         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38954         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38955         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38956         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
38958         routines to libm-sysdep_routines.
38959         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38962         fdim/fdimf to libm-sysdep_routines.
38963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
38964         file.
38965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
38966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
38967         file.
38968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
38969         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
38970         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
38971         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
38972         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
38973         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
38974         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
38976 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38978         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
38979         to optimize copies.
38981         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
38982         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38983         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38985         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
38986         local variable MPTWO.
38987         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38988         Likewise.
38990 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38992         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
38993         GLOB_NOESCAPE.
38995 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38997         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
38999 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39001         * manual/pattern.texi (glob_t): Document gl_flags.
39002         (glob64_t): Likewise.
39004 2013-01-11  David S. Miller  <davem@davemloft.net>
39006         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
39007         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
39008         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
39009         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
39010         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
39011         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
39012         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
39013         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
39014         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
39015         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
39016         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
39017         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
39018         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
39020         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39021         sparc V9 rather than using V8 code.
39022         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39023         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39025         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39026         Move to...
39027         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
39028         Here.
39030 2013-01-11  Roland McGrath  <roland@hack.frob.com>
39032         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
39033         not in the main loop.
39034         * configure: Regenerated.
39036 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
39038         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
39039         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
39040         to just #else.
39041         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
39042         [!__GLIBC_HAVE_LONG_LONG] case.
39043         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
39044         condition to just #else.
39045         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
39046         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
39047         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
39048         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
39049         unconditional.
39050         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
39051         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39052         #elif condition to just #else.
39053         * sysdeps/unix/sysv/linux/sys/sysmacros.h
39054         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
39055         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39056         #elif condition to just #else.
39058 2013-01-11  Steve Ellcey  <sellcey@mips.com>
39060         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
39061         (EF_MIPS_ARCH_64): Fix value.
39062         (EF_MIPS_ARCH_32R2): New.
39063         (EF_MIPS_ARCH_64R2): New.
39065 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
39067         * Makeconfig (+link-pie-before-libc): New.
39068         (+link-pie-after-libc): Likewise.
39069         (+link-pie-tests): Likewise.
39070         (+link-pie): Rewritten.
39071         (link-before-libc): Remove $(config-LDFLAGS).
39072         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
39073         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
39074         (config-LDFLAGS): Renamed to ...
39075         (rtld-LDFLAGS): This.
39076         (rtld-tests-LDFLAGS): New macro.
39077         (link-libc-rpath-link): Likewise.
39078         (link-libc-tests-rpath-link): Likewise.
39079         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
39080         (link-libc): Prepand $(link-libc-rpath-link).
39081         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
39082         (test-program-prefix): New macro.
39083         (test-via-rtld-prefix): Likewise.
39084         (test-program-cmd): Likewise.
39085         (host-test-program-cmd): Likewise.
39086         * Makefile ($(common-objpfx)testrun.sh): Replace
39087         $(run-program-prefix) with $(test-program-prefix).
39088         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
39089         $(rtld-LDFLAGS).
39090         ($(common-objpfx)shlib.lds): Likewise.
39091         (build-module-helper): Likewise.
39092         ($(common-objpfx)format.lds): Likewise.
39093         * Rules (binaries-pie-tests): New.
39094         (binaries-pie-notests): Likewise.
39095         (binaries-pie): Rewritten.
39096         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
39097         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
39098         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
39099         (make-test-out): Replace $(host-built-program-cmd) with
39100         $(host-test-program-cmd).
39101         * config.make.in (build-hardcoded-path-in-tests): New variable.
39102         * configure.in (--enable-hardcoded-path-in-tests): New configure
39103         option.
39104         (hardcoded_path_in_tests): New AC_SUBST.
39105         * configure: Regenerated.
39106         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
39107         $(built-program-cmd) with $(test-program-cmd).
39108         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
39109         (test_program_cmd): This.
39110         * elf/Makefile ($(objpfx)order.out): Run test with
39111         $(test-program-prefix).
39112         ($(objpfx)order2.out): Likewise.
39113         ($(objpfx)tst-initorder.out): Likewise.
39114         ($(objpfx)tst-initorder2.out): Likewise.
39115         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
39116         $(test-program-cmd).
39117         ($(objpfx)tst-array1-static.out): Likewise.
39118         ($(objpfx)tst-array2.out): Likewise.
39119         ($(objpfx)tst-array3.out): Likewise.
39120         ($(objpfx)tst-array4.out): Likewise.
39121         ($(objpfx)tst-array5.out): Likewise.
39122         ($(objpfx)tst-array5-static.out): Likewise.
39123         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
39124         $(test-program-cmd).
39125         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
39126         $(run-program-prefix) with $(test-program-prefix).
39127         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
39128         (test_program_prefix): This.
39129         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
39130         $(run-program-prefix) with $(test-program-prefix).
39131         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
39132         (test_program_prefix): This.
39133         * iconvdata/tst-tables.sh: Likewise.
39134         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
39135         $(run-program-prefix) with $(test-program-prefix).
39136         ($(objpfx)tst-translit.out): Likewise.
39137         ($(objpfx)tst-gettext2.out): Likewise.
39138         ($(objpfx)tst-gettext4.out): Likewise.
39139         ($(objpfx)tst-gettext6.out): Likewise.
39140         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
39141         (test_program_prefix): This.
39142         * intl/tst-gettext2.sh: Likewise.
39143         * intl/tst-gettext4.sh  Likewise.
39144         * intl/tst-gettext6.sh: Likewise.
39145         * intl/tst-translit.sh: Likewise.
39146         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
39147         with $(test-program-cmd).
39148         * libio/Makefile ($(objpfx)test-freopen.out): Replace
39149         $(run-program-prefix) with $(test-program-prefix).
39150         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
39151         (test_program_prefix): This.
39152         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
39153         $(run-program-prefix) with $(test-program-prefix).
39154         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
39155         (test_program_prefix): This.
39156         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
39157         * posix/Makefile ($(objpfx)globtest.out): Replace
39158         $(run-via-rtld-prefix) and $(test-wrapper) with
39159         $(test-program-prefix) and $(test-via-rtld-prefix).
39160         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
39161         $(test-program-prefix).
39162         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
39163         $(host-test-program-cmd).
39164         (tst-spawn-ARGS): Likewise.
39165         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
39166         $(test-program-prefix).
39167         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
39168         (test_via_rtld_prefix): This.
39169         (test_wrapper): Renamed to ...
39170         (test_program_prefix): This.
39171         (run_program_prefix): Replaced by test_program_prefix.
39172         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
39173         (test_program_prefix): This.
39174         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
39175         with $(host-test-program-cmd).
39176         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
39177         $(run-program-prefix) with $(test-program-prefix).
39178         ($(objpfx)tst-printf.out): Likewise.
39179         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
39180         $(test-program-cmd).
39181         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
39182         (test_program_prefix): This.
39183         * stdio-common/tst-unbputc.sh: Likewise.
39184         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
39185         $(run-program-prefix) with $(test-program-prefix).
39186         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
39187         (test_program_prefix): This.
39188         * string/Makefile ($(objpfx)tst-svc.out):  Replace
39189         $(built-program-cmd) with $(test-program-cmd).
39191 2013-01-11  Andreas Jaeger  <aj@suse.de>
39193         [BZ #15003]
39194         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
39195         value. Sync with Linux 3.7.
39197 2013-01-10  David S. Miller  <davem@davemloft.net>
39199         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
39200         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39201         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39203 2013-01-10  Roland McGrath  <roland@hack.frob.com>
39205         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
39206         never set.
39207         * configure: Regenerated.
39209 2013-01-10  David S. Miller  <davem@davemloft.net>
39211         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39212         sparc V9 rather than using V8 code.
39213         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39214         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39216 2013-01-10  Roland McGrath  <roland@hack.frob.com>
39218         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
39219         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
39220         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
39221         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
39222         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
39223         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
39224         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
39225         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
39226         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
39227         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
39228         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
39229         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
39230         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
39231         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
39232         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
39233         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
39234         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
39235         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
39236         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
39237         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
39238         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
39239         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
39240         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
39241         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
39242         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
39243         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
39244         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
39246 2013-01-10  David S. Miller  <davem@davemloft.net>
39248         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39250 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
39252         * posix/Makefile (tests-static): New variable.
39253         (tests): Add $(tests-static).
39254         (tst-exec-static-ARGS): New variable.
39255         (tst-spawn-static-ARGS): Likewise.
39256         * posix/tst-exec-static.c: New file.
39257         * posix/tst-spawn-static.c: Likewise.
39258         * posix/tst-exec.c: Support run directly.
39259         * posix/tst-spawn.c: Likewise.
39261 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
39263         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
39264         long.
39265         * math/bits/mathcalls.h (llrint): Likewise.
39266         (llround): Likewise.
39267         * stdlib/stdlib.h (struct drand48_data): Likewise.
39268         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
39269         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
39270         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
39271         Likewise.
39272         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
39273         Likewise.
39274         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
39275         (elf_greg_t): Likewise.
39276         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
39277         (__jmp_buf): Likewise.
39278         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
39279         definitions.
39280         (llrint): Likewise, for all definitions.
39281         (llrintl): Likewise.
39283         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
39284         Remove [__GNUC__] condition.
39285         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
39286         condition to just [__USE_ISOC99].
39287         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
39289 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
39291         [BZ #14200]
39292         * sysdeps/unix/sysv/linux/x86/bits/environments.h
39293         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
39294         defined.
39295         (_POSIX_V6_ILP32_OFF32): Likewise.
39296         (_XBS5_ILP32_OFF32): Likewise.
39297         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
39298         (__ILP32_OFFBIG_LDFLAGS): Likewise.
39300 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39302         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
39304         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
39305         doubles __mpexp_twomm1.  Adjust usage.
39306         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
39307         Remove.
39309 2013-01-10  Andreas Schwab  <schwab@suse.de>
39311         [BZ #14964]
39312         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
39313         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
39315 2013-01-09  David S. Miller  <davem@davemloft.net>
39317         [BZ #15003]
39318         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
39319         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
39320         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
39321         (TCP_FASTOPEN): Define.
39322         (tcp_repair_opt): New structure.
39323         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
39324         enum values.
39325         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
39326         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
39327         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
39328         (tcp_cookie_transactions): New structure.
39330 2013-01-09  Anton Blanchard  <anton@samba.org>
39332         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
39333         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
39334         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
39335         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
39337 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
39339         * include/features.h (__USE_ANSI): Remove.
39341 2013-01-09  Roland McGrath  <roland@hack.frob.com>
39343         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
39345         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
39347 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
39349         * sysdeps/s390/fpu/libm-test-ulps: Update.
39351         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39353         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
39354         (__acr): Likewise.
39355         (__cpy): Likewise.
39356         (norm): Likewise.
39357         (denorm): Likewise.
39358         (__mp_dbl): Likewise.
39359         (__dbl_mp): Likewise.
39360         (add_magnitudes): Likewise.
39361         (sub_magnitudes): Likewise.
39362         (__add): Likewise.
39363         (__sub): Likewise.
39364         (__mul): Likewise.
39365         (__inv): Likewise.
39366         (__dvd): Likewise.
39367         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
39368         (__acr): Likewise.
39369         (__cpy): Likewise.
39370         (norm): Likewise.
39371         (denorm): Likewise.
39372         (__mp_dbl): Likewise.
39373         (__dbl_mp): Likewise.
39374         (add_magnitudes): Likewise.
39375         (sub_magnitudes): Likewise.
39376         (__add): Likewise.
39377         (__sub): Likewise.
39378         (__mul): Likewise.
39379         (__inv): Likewise.
39380         (__dvd): Likewise.
39381         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
39382         (__acr): Likewise.
39383         (__cpy): Likewise.
39384         (norm): Likewise.
39385         (denorm): Likewise.
39386         (__mp_dbl): Likewise.
39387         (__dbl_mp): Likewise.
39388         (add_magnitudes): Likewise.
39389         (sub_magnitudes): Likewise.
39390         (__add): Likewise.
39391         (__sub): Likewise.
39392         (__mul): Likewise.
39393         (__inv): Likewise.
39394         (__dvd): Likewise.
39396 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
39398         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
39399         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
39400         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
39401         2 && __USE_EXTERN_INLINES]: Likewise.
39403 2013-01-08  Andreas Jaeger  <aj@suse.de>
39405         [BZ# 14985]
39406         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
39407         Remove.
39408         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
39409         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
39411 2013-01-07  Anton Blanchard  <anton@samba.org>
39413         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
39414         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
39415         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
39416         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
39417         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
39418         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39419         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
39420         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39421         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39422         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39423         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39424         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39425         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39426         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39427         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
39428         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39429         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39430         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39431         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
39432         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
39433         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
39434         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
39435         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39436         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
39437         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
39438         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
39439         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39440         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
39441         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
39442         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39443         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
39444         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39445         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39446         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39447         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39448         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39449         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39450         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39451         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
39452         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
39453         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
39454         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39455         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39457 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
39459         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
39460         (__MALLOC_PMT): Likewise.
39461         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
39462         [__GNUC__], only on [_LIBC].
39463         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
39464         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
39465         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
39466         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
39467         forward declaration.
39468         (realloc_hook_ini): Likewise.
39469         (memalign_hook_ini): Likewise.
39470         (__libc_memalign): Do not use __MALLOC_PMT in variable
39471         declaration.
39472         (__libc_valloc): Likewise.
39473         (__libc_pvalloc): Likewise.
39474         (__libc_calloc): Likewise.
39475         (__posix_memalign): Likewise.
39477         [BZ #14996]
39478         * math/s_casinh.c: Include <float.h>.
39479         (__casinh): Do not do computation with squaring and square root
39480         for large arguments.
39481         * math/s_casinhf.c: Include <float.h>.
39482         (__casinhf): Do not do computation with squaring and square root
39483         for large arguments.
39484         * math/s_casinhl.c: Include <float.h>.
39485         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
39486         (__casinhl): Do not do computation with squaring and square root
39487         for large arguments.
39488         * math/libm-test.inc (casin_test): Add more tests.
39489         (casinh_test): Likewise.
39490         * sysdeps/i386/fpu/libm-test-ulps: Update.
39491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39493 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
39495         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
39496         (__x86_64_raw_data_cache_size): Likewise.
39497         (__x86_64_data_cache_size_half): Likewise.
39498         (__x86_64_raw_data_cache_size_half): Likewise.
39499         (__x86_64_shared_cache_size): Likewise.
39500         (__x86_64_raw_shared_cache_size): Likewise.
39501         (__x86_64_shared_cache_size_half): Likewise.
39502         (__x86_64_raw_shared_cache_size_half): Likewise.
39503         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
39504         to ...
39505         (__x86_data_cache_size): This.
39506         (__x86_64_raw_data_cache_size): Renamed to ...
39507         (__x86_raw_data_cache_size): This.
39508         (__x86_64_data_cache_size_half): Renamed to ...
39509         (__x86_data_cache_size_half): This.
39510         (__x86_64_raw_data_cache_size_half): Renamed to ...
39511         (__x86_raw_data_cache_size_half): This.
39512         (__x86_64_shared_cache_size): Renamed to ...
39513         (__x86_shared_cache_size): This.
39514         (__x86_64_raw_shared_cache_size): Renamed to ...
39515         (__x86_raw_shared_cache_size): This.
39516         (__x86_64_shared_cache_size_half): Renamed to ...
39517         (__x86_shared_cache_size_half): This.
39518         (__x86_64_raw_shared_cache_size_half): Renamed to ...
39519         (__x86_raw_shared_cache_size_half): This.
39520         * sysdeps/x86_64/memcpy.S: Updated.
39521         * sysdeps/x86_64/memset.S: Likewise.
39522         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39523         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39524         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39526 2013-01-04  David S. Miller  <davem@davemloft.net>
39528         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39530 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
39532         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
39533         1 to avoid redefinition warning.
39534         (__USE_GNU): Don't define.
39535         (init_signaling_nan): Protoize.
39537         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39539 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39541         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
39542         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
39543         (__cpymn): Likewise.
39544         (norm): Remove commented code.
39545         (denorm): Likewise.
39546         (__mp_dbl): Likewise.
39547         (__inv): Likewise.
39548         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
39549         (__cpymn): Likewise.
39550         (norm): Remove commented code.
39551         (denorm): Likewise.
39552         (__mp_dbl): Likewise.
39553         (__inv): Likewise.
39555         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
39556         mp_no value for 1.0 and 2.0.
39557         (norm): Use RADIXI instead of radixi.d.
39558         (denorm): Likewise.
39559         (__mul): Use 0.0 instead of zero.d.
39560         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
39561         mp_no value for 1.0 and 2.0.
39562         (norm): Use RADIXI instead of radixi.d.
39563         (denorm): Likewise.
39564         (__mul): Use 0.0 instead of zero.d.
39566 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
39568         [BZ #14994]
39569         * math/s_casinh.c (__casinh): Reduce finite argument to first
39570         quadrant then set signs of results at the end.
39571         * math/s_casinhf.c (__casinhf): Likewise.
39572         * math/s_casinhl.c (__casinhl): Likewise.
39573         * math/libm-test.inc (casin_test): Add more tests.
39574         (casinh_test): Likewise.
39575         * sysdeps/i386/fpu/libm-test-ulps: Update.
39576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39578 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39580         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
39582         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
39584         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
39585         declarations.
39586         (denorm): Likewise.
39587         (__mp_dbl): Likewise.
39588         (__inv): Likewise.
39590         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
39591         and adjust the header comment.
39593         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
39594         variable name from declaration.
39596 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
39598         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39599         Initialize COMMON_CPUID_INDEX_7 element.
39600         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
39601         (CPUID_RTM): Likewise.
39602         (HAS_RTM): Likewise.
39603         (COMMON_CPUID_INDEX_7): New enum.
39605 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
39607         [BZ #14981]
39608         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
39609         size is zero, record memory as freed.
39611 2013-01-03  Andreas Jaeger  <aj@suse.de>
39613         * po/ia.po: Add new Interlingua translation.
39615 2012-01-03  Allan McRae  <allan@archlinux.org>
39617         * locale/programs/localedef.c: Fix description of '--posix' flag.
39619 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
39621         * NEWS: Update dates in second copyright notice.
39622         * README: Update copyright dates in example.
39623         * manual/libc.texinfo: Update copyright dates.
39624         * scripts/test-installation.pl: Update copyright date in --version
39625         output.
39627         * hurd/ctty-input.c: Fix copyright notice formatting.
39628         * hurd/ctty-output.c: Likewise.
39629         * hurd/dtable.c: Likewise.
39630         * hurd/hurd-raise.c: Likewise.
39631         * hurd/hurdprio.c: Likewise.
39632         * hurd/msgportdemux.c: Likewise.
39633         * misc/sys/file.h: Likewise.
39634         * misc/sys/ioctl.h: Likewise.
39635         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
39636         * sysdeps/mach/hurd/chdir.c: Likewise.
39637         * sysdeps/mach/hurd/fchdir.c: Likewise.
39638         * sysdeps/mach/hurd/rename.c: Likewise.
39639         * sysdeps/mach/hurd/rmdir.c: Likewise.
39640         * sysdeps/mach/hurd/seekdir.c: Likewise.
39641         * sysdeps/mach/hurd/setsid.c: Likewise.
39642         * sysdeps/posix/wait3.c: Likewise.
39644         * All files with FSF copyright notices: Update copyright dates
39645         using scripts/update-copyrights.
39646         * intl/plural.c: Regenerated.
39647         * locale/programs/charmap-kw.h: Likewise.
39648         * locale/programs/locfile-kw.h: Likewise.
39650 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39652         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
39653         four values.
39655         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
39656         calculation loop and add branch prediction.
39658         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
39659         check access beyond bounds of m1np.
39661         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39662         MPTWO.
39663         (__inv): Remove local variable MPTWO to use the global
39664         constant.
39665         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
39666         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39667         variable MPTWO.
39668         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
39669         MP3HALFS static const.
39671 2013-01-01  David S. Miller  <davem@davemloft.net>
39673         * po/ca.po: Update from translation team.
39675 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
39677         * scripts/update-copyrights: New file.
39678         * Makeconfig: Reformat copyright notice.
39679         * ctype/ctype.h: Likewise.
39680         * debug/swprintf_chk.c: Likewise.
39681         * elf/dl-cache.c: Likewise.
39682         * elf/dl-debug.c: Likewise.
39683         * elf/dl-object.c: Likewise.
39684         * grp/initgroups.c: Likewise.
39685         * hurd/Makefile: Likewise.
39686         * hurd/hurd/signal.h: Likewise.
39687         * hurd/hurdfault.c: Likewise.
39688         * hurd/hurdioctl.c: Likewise.
39689         * hurd/hurdlookup.c: Likewise.
39690         * hurd/intr-msg.c: Likewise.
39691         * iconv/gconv_open.c: Likewise.
39692         * libio/swprintf.c: Likewise.
39693         * locale/lc-ctype.c: Likewise.
39694         * locale/nl_langinfo.c: Likewise.
39695         * mach/Machrules: Likewise.
39696         * mach/Makefile: Likewise.
39697         * malloc/obstack.h: Likewise.
39698         * manual/Makefile: Likewise.
39699         * manual/tsort.awk: Likewise.
39700         * misc/bits/stab.def: Likewise.
39701         * nis/nis_print_group_entry.c: Likewise.
39702         * nis/nis_table.c: Likewise.
39703         * nis/nss_compat/compat-pwd.c: Likewise.
39704         * nis/nss_compat/compat-spwd.c: Likewise.
39705         * po/Makefile: Likewise.
39706         * posix/fnmatch.c: Likewise.
39707         * posix/regex.h: Likewise.
39708         * resolv/Makefile: Likewise.
39709         * resolv/nss_dns/dns-network.c: Likewise.
39710         * resolv/res_hconf.c: Likewise.
39711         * scripts/gen-sorted.awk: Likewise.
39712         * soft-fp/soft-fp.h: Likewise.
39713         * stdio-common/printf.h: Likewise.
39714         * stdlib/monetary.h: Likewise.
39715         * stdlib/random.c: Likewise.
39716         * stdlib/random_r.c: Likewise.
39717         * sysdeps/generic/Makefile: Likewise.
39718         * sysdeps/gnu/Makefile: Likewise.
39719         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39720         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39721         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39722         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39723         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39724         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39725         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39726         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39727         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39728         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39729         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39730         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39731         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39732         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39733         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
39734         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39735         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39736         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39737         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39738         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39739         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39740         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39741         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39742         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
39743         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
39744         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39745         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
39746         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
39747         * sysdeps/mach/hurd/errnos.awk: Likewise.
39748         * sysdeps/mach/hurd/fork.c: Likewise.
39749         * sysdeps/mach/hurd/getcwd.c: Likewise.
39750         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
39751         * sysdeps/mach/hurd/mmap.c: Likewise.
39752         * sysdeps/mach/hurd/utimes.c: Likewise.
39753         * sysdeps/mach/hurd/xmknod.c: Likewise.
39754         * sysdeps/posix/profil.c: Likewise.
39755         * sysdeps/posix/readdir_r.c: Likewise.
39756         * sysdeps/powerpc/bits/mathdef.h: Likewise.
39757         * sysdeps/powerpc/bits/setjmp.h: Likewise.
39758         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
39759         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39760         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39761         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39762         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39763         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39764         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39765         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39766         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39767         * sysdeps/pthread/lio_listio.c: Likewise.
39768         * sysdeps/sparc/dl-procinfo.h: Likewise.
39769         * sysdeps/unix/i386/sysdep.S: Likewise.
39770         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
39771         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
39772         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
39773         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
39774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39775         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
39776         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
39777         * sysdeps/unix/sysv/linux/speed.c: Likewise.
39778         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
39779         * sysdeps/wordsize-32/divdi3.c: Likewise.
39780         * time/sys/time.h: Likewise.
39781         * wcsmbs/Makefile: Likewise.
39783 2013-01-01  David S. Miller  <davem@davemloft.net>
39785         * po/fr.po: Update from translation team.
39787         * catgets/gencat.c: Update copyright year.
39788         * csu/version.c: Likewise.
39789         * debug/catchsegv.sh: Likewise.
39790         * debug/pcprofiledump.c: Likewise.
39791         * debug/xtrace.sh: Likewise.
39792         * elf/ldconfig.c: Likewise.
39793         * elf/ldd.bash.in: Likewise.
39794         * elf/pldd.c: Likewise.
39795         * elf/sotruss.ksh: Likewise.
39796         * elf/sprof.c: Likewise.
39797         * iconv/iconv_prog.c: Likewise.
39798         * iconv/iconvconfig.c: Likewise.
39799         * locale/programs/locale.c: Likewise.
39800         * locale/programs/localedef.c: Likewise.
39801         * login/programs/pt_chown.c: Likewise.
39802         * malloc/memusage.sh: Likewise.
39803         * malloc/memusagestat.c: Likewise.
39804         * malloc/mtrace.pl: Likewise.
39805         * nscd/nscd.c: Likewise.
39806         * nss/getent.c: Likewise.
39807         * nss/makedb.c: Likewise.
39808         * posix/getconf.c: Likewise.
39810 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39812         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
39813         numbers.
39815 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
39817         * math/bits/mathcalls.h (modf): Use __nonnull.
39819 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39821         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
39822         (split): Use macro CN instead of the bare value.
39823         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
39824         could be used.
39825         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
39826         instead of the bare value.
39827         (power1): Likewise.
39829 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39831         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
39832         __ATAN_TWOM.
39833         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39835         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
39836         their values.
39837         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39838         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39839         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
39840         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39842 2012-12-28  Andreas Jaeger  <aj@suse.de>
39844         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
39845         values are from Linux 3.7.
39847         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
39848         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
39850 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39852         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
39853         TRUE case.
39855         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
39856         (norm): Likewise.
39857         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
39858         variables with preprocessor constants.
39859         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39860         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39861         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39863 2012-12-27  Bruno Haible  <bruno@clisp.org>
39865         [BZ #14317]
39866         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
39867         only if needed.
39869 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39871         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
39872         and use variable directly.
39873         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
39875         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39876         MPONE.
39877         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
39878         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39879         variable MPONE.
39880         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39881         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39882         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
39883         include directive.  Remove local variable MPONE.
39884         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
39885         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
39886         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39888 2012-12-25  David S. Miller  <davem@davemloft.net>
39890         * version.h (RELEASE): Set to "development".
39891         (VERSION): Set to "2.17.90".
39892         * NEWS: Add 2.18 section.
39894 2012-12-21  David S. Miller  <davem@davemloft.net>
39896         * po/hr.po: Update from translation team.
39898 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39900         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
39902 2012-12-19  Steve Ellcey  <sellcey@mips.com>
39904         * NEWS:  Mention new memcpy for MIPS.
39906 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39908         * manual/contrib.texi (Contributors): Spelling correction.
39910 2012-12-15  David S. Miller  <davem@davemloft.net>
39912         * po/ru.po: Update from translation team.
39914 2012-12-13  David S. Miller  <davem@davemloft.net>
39916         * NEWS: Mention IFUNC testsuite enhancements.
39918         * po/pl.po: Update from translation team.
39919         * po/bg.po: Likewise.
39921         * manual/contrib.texi (Contributors): Update entries for Hongjiu
39922         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
39924 2012-12-11  David S. Miller  <davem@davemloft.net>
39926         * po/sv.po: Update from translation team.
39928         * po/vi.po: Update from translation team.
39930         * po/cs.po: Update from translation team.
39932         * po/de.po: Update from translation team.
39933         * po/eo.po: Likewise.
39934         * po/nl.po: Likewise.
39936 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39938         [BZ #14246]
39939         * manual/argp.texi (Argp Helper Functions): Move node to follow
39940         Argp Parsing State.
39942         [BZ #14872]
39943         * manual/conf.texi (Limits on File System Capacity): Mention if
39944         terminating null is included in the max size.
39946 2012-12-10  Andreas Jaeger  <aj@suse.de>
39948         * po/cs.po: Update from translation team.
39950 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39952         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
39953         void pointer and cast to uintptr_t.
39954         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
39955         path.
39956         * sysdeps/s390/s390-64/memcpy.S: Likewise.
39957         * sysdeps/s390/s390-64/memset.S: Likewise.
39959 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
39961         [BZ #14833]
39962         * menual/message.texi (Message Translation): Fix typos.
39963         (Helper programs for gettext): Likewise.
39965 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
39967         [BZ #14898]
39968         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
39969         Change to -1.
39971 2012-12-07  David S. Miller  <davem@davemloft.net>
39973         * po/libc.pot: Update.
39975 2012-12-07  Richard Henderson  <rth@redhat.com>
39977         [BZ #10114]
39978         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
39979         normal/normal case to before the switch.
39980         (_FP_DIV): Likewise.
39982 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
39983             Mike Frysinger  <vapier@gentoo.org>
39985         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
39986         check for __NR_fadvise64_64.
39988 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
39990         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
39991         0, not just to plain "0" as a statement.
39992         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
39993         with cw.
39995 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
39997         * NEWS: Use sourceware.org in Bugzilla URL.
39999 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40002         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40004         * stdio-common/tst-put-error.c (do_test): Add newline to the
40005         padded test to ensure flush.
40007 2012-12-05  Jeff Law  <law@redhat.com>
40009         * sunrpc/etc.rpc (fedfs_admin): Add entry.
40011 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
40013         * README: Don't refer to ports add-on as distributed separately.
40014         Mention AArch64 in list of systems supported in the ports add-on.
40016         * LICENSES: Add more non-FSF copyright and license notices.
40018         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
40019         ((unused)).
40021         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
40023         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
40024         10000 as width of padded output.
40026 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
40028         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
40030         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
40031         variable LX with __attribute__ ((unused)).
40032         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
40033         Likewise.
40034         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
40035         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40036         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
40037         with __attribute__ ((unused)).
40039 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
40041         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
40043 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
40045         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
40046         (CFLAGS-nldbl-acos.c): New variable.
40047         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
40048         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
40049         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
40050         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
40051         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
40052         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
40053         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
40054         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
40055         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
40056         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
40057         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
40058         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
40059         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
40060         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
40061         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
40062         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
40063         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
40064         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
40065         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
40066         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
40067         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
40068         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
40069         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
40070         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
40071         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
40072         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
40073         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
40074         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
40075         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
40076         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
40077         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
40078         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
40079         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
40080         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
40081         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
40082         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
40083         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
40084         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
40085         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
40086         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
40087         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
40088         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
40089         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
40090         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
40091         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
40092         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
40093         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
40094         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
40095         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
40096         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
40097         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
40098         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
40099         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
40100         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
40101         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
40102         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
40103         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
40104         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
40105         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
40106         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
40107         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
40108         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
40109         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
40110         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
40111         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
40112         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
40113         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
40114         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
40115         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
40116         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
40117         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
40118         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
40119         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
40120         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
40121         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
40122         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
40123         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
40124         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
40125         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
40126         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
40127         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
40128         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
40129         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
40130         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
40131         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
40132         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
40133         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
40134         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
40135         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
40136         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
40137         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
40138         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
40139         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
40140         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
40141         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
40142         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
40143         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
40145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40146         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40148         [BZ #14914]
40149         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
40150         whole low double instead of just low 47 bits when splitting values
40151         into two parts.
40153 2012-12-03  Allan McRae  <allan@archlinux.org>
40155         * manual/stdio.texi (Predefined Printf Handlers): Remove
40156         @hsep and @vsep usage.
40158 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
40160         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
40161         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
40163 2012-12-03  Jeff Law  <law@redhat.com>
40165         * time/sys/time.h (settimeofday): Do not mark TV argument
40166         as __nonnull.
40168 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
40170         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
40171         when currently writing and seek to current position when not.
40172         * libio/Makefile (tests): Remove bug-fclose1.
40173         * libio/bug-fclose1.c: Delete.
40175 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
40177         * manual/arith.texi (feenableexcept): Fix typo.
40178         (fedisableexcept): Likewise.
40180 2012-11-30  Roland McGrath  <roland@hack.frob.com>
40182         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
40183         second, differently-typed declaration, rather than a cast.
40185 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40187         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
40188         * include/rpc/svc.h: ... here.
40190 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
40192         [BZ #13013]
40193         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
40194         depending n and resplen2 to catch cases where answer
40195         equals answerp2.
40197 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
40199         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
40200         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
40202 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
40204         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
40206 2012-11-29  Roland McGrath  <roland@hack.frob.com>
40208         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
40210 2012-11-28  Jeff Law  <law@redhat.com>
40212         [BZ #13761]
40213         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
40214         dataset_temporary.  Track alloca usage into alloca_used.
40215         If dataset is large allocate and release it via malloc/free.
40217 2012-06-04  Florian Weimer  <fweimer@redhat.com>
40219         [BZ #14197]
40220         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
40222 2012-11-28  David S. Miller  <davem@davemloft.net>
40224         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40226 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
40228         [BZ #14803]
40229         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
40230         of pi/2 rounded to nearest to 64 bits.
40231         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
40232         nearest to 64 bits.
40233         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
40234         bits.
40236 2012-11-28  Jeff Law <law@redhat.com>
40237             Martin Osvald <mosvald@redhat.com>
40239         [BZ #14889]
40240         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
40241         * sunrpc/svc.c: Include time.h.
40242         (__svc_accept_failed): New function.
40243         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
40244         any reason other than EINTR, call __svc_accept_failed.
40245         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
40246         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
40248 2012-11-28  Andreas Schwab  <schwab@suse.de>
40250         * scripts/abilist.awk: Also handle indirect functions in .opd
40251         section.
40253 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
40255         [BZ #13881]
40256         * sysdeps/x86/fpu/powl_helper.c: New file.
40257         * sysdeps/x86/fpu/Makefile: Likewise.
40258         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
40259         (p3): New object.
40260         (__ieee754_powl): Use __powl_helper for finite arguments except
40261         integer exponents below 8.
40262         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
40263         (p3): New object.
40264         (__ieee754_powl): Use __powl_helper for finite arguments except
40265         integer exponents below 8.
40266         * math/libm-test.inc (pow_test): Add more tests and enable some
40267         previously disabled tests.
40268         * sysdeps/i386/fpu/libm-test-ulps: Update.
40269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40271 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40272             Carlos O'Donell  <carlos_odonell@mentor.com>
40274         * nss/makedb.c (is_prime): Assert that input is odd and greater
40275         than 4.  Note that fact in a comment too.
40276         (next_prime): Add 4 to input.
40278 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40280         [BZ #11741]
40281         * libio/Makefile (tests): Add test case tst-fwrite-error.
40282         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
40283         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
40284         * libio/tst-fwrite-error.c: New test case.
40286 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
40288         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
40289         before casting to void *.
40290         * include/libc-internal.h (__pointer_type): New macro.
40291         (__integer_if_pointer_type_sub): Likewise.
40292         (__integer_if_pointer_type): Likewise.
40293         (cast_to_integer): Likewise.
40294         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
40295         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
40296         before casting to atomic64_t.
40297         (atomic_exchange_acq): Likewise.
40298         (__arch_exchange_and_add_body): Likewise.
40299         (__arch_add_body): Likewise.
40300         (atomic_add_negative): Likewise.
40301         (atomic_add_zero): Likewise.
40303 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
40305         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
40306         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
40307         (add_fdes): Likewise.
40308         (linear_search_fdes): Likewise.
40309         (binary_search_unencoded_fdes): Likewise.
40311 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
40313         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
40315 2012-11-24  Adam Conrad  <adconrad@0c3.net>
40317         * configure.in: Autodetect C++ header directories.
40318         * configure: Regenerated.
40320 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
40322         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
40324 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
40326         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40328 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
40330         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
40331         LDBL_MANT_DIG == 106]: Disable some tests.
40332         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40333         Likewise.
40334         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40335         Likewise.
40337         [BZ #14871]
40338         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
40339         input for small inputs.  Return +/- pi/2 for large inputs.
40340         * math/libm-test.inc (atan_test): Add more tests.
40342         * sysdeps/generic/unwind-dw2-fde-glibc.c
40343         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
40344         __attribute__ ((unused)).
40346         [BZ #14645]
40347         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
40348         x * y if x and y are nonzero and z is zero.
40350         [BZ #14811]
40351         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
40352         nonzero exponents with absolute value below 0x1p-117 to +/-
40353         0x1p-117.
40355         [BZ #14869]
40356         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
40357         up arguments below 2**-450, not just those below 2**-500.
40358         * math/libm-test.inc (hypot_test): Add another test.
40360         [BZ #14868]
40361         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
40362         Return a+b for ratio over 2**120, not 2**60.
40363         * math/libm-test.inc (hypot_test): Add another test.
40365         * math/libm-test.inc (clog_test): Use
40366         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
40367         (clog10_test): Likewise.
40369         [BZ #6778]
40370         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
40372 2012-11-22  Andreas Schwab  <schwab@suse.de>
40374         * sysdeps/i386/fpu/libm-test-ulps: Update.
40376 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
40378         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
40379         printf output with newline.
40381 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
40383         [BZ #14865]
40384         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
40385         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
40386         -z nodlopen, -z initfirst and -z execstack support.
40387         * configure: Regenerated.
40389         * elf/elf.h (DF_1_NODIRECT): New macro.
40390         (DF_1_IGNMULDEF): Likewise.
40391         (DF_1_NOKSYMS): Likewise.
40392         (DF_1_NOHDR): Likewise.
40393         (DF_1_EDITED): Likewise.
40394         (DF_1_NORELOC): Likewise.
40395         (DF_1_SYMINTPOSE): Likewise.
40396         (DF_1_GLOBAUDIT): Likewise.
40397         (DF_1_SINGLETON): Likewise.
40398         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
40399         DT_1_SUPPORTED_MASK bits.
40400         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
40402 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
40404         * sysdeps/unix/make-syscalls.sh: Document prefixes.
40406 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
40408         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
40409         macro.
40411         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
40412         (sendmmsg): Move declarations...
40413         * socket/sys/socket.h: ... here.
40414         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
40415         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
40416         include it from...
40417         * socket/recvmmsg.c: ... this new file.
40418         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
40419         (sendmmsg): Rename to __sendmmsg, create weak alias and make
40420         definition of __sendmmsg hidden.
40421         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
40422         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
40423         Move ENOSYS stub into and include it from...
40424         * socket/sendmmsg.c: ... this new file.
40425         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
40426         (sysdep_routines): Move recvmmsg and sendmmsg...
40427         * socket/Makefile (routines): ... here.
40428         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
40429         (GLIBC_PRIVATE): Add __sendmmsg.
40430         * include/sys/socket.h (__sendmmsg): Add declarations.
40431         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
40432         sendmmsg.
40434 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
40436         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
40437         variable I1 with __attribute__ ((unused)).
40438         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40440 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
40442         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
40443         DUMMY variables with __attribute__ ((unused)).
40445         * bits/byteswap.h: Include <bits/types.h>.
40446         (__bswap_64): Use __uint64_t instead of unsigned long long int.
40448 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
40450         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
40451         string_t.  Do not manually set errno.
40452         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
40453         length with __strnlen.  Make sure to both set errno and return it on
40454         failure.
40456 2012-11-19  David S. Miller  <davem@davemloft.net>
40458         With help from Joseph Myers.
40459         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
40460         very large arguments properly.
40461         * math/libm-test.inc (atan_test): New tests.
40462         (atan2_test): New tests.
40463         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40464         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40466 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
40468         [BZ #14856]
40469         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
40470         Define to 3.
40472         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
40473         [POSIX] (EADDRNOTAVAIL): Likewise.
40474         [POSIX] (EAFNOSUPPORT): Likewise.
40475         [POSIX] (EALREADY): Likewise.
40476         [POSIX] (ECONNABORTED): Likewise.
40477         [POSIX] (ECONNREFUSED): Likewise.
40478         [POSIX] (ECONNRESET): Likewise.
40479         [POSIX] (EDESTADDRREQ): Likewise.
40480         [POSIX] (EDQUOT): Likewise.
40481         [POSIX] (EHOSTUNREACH): Likewise.
40482         [POSIX] (EIDRM): Likewise.
40483         [POSIX] (EISCONN): Likewise.
40484         [POSIX] (ELOOP): Likewise.
40485         [POSIX] (EMULTIHOP): Likewise.
40486         [POSIX] (ENETDOWN): Likewise.
40487         [POSIX] (ENETUNREACH): Likewise.
40488         [POSIX] (ENOBUFS): Likewise.
40489         [POSIX] (ENODATA): Likewise.
40490         [POSIX] (ENOLINK): Likewise.
40491         [POSIX] (ENOMSG): Likewise.
40492         [POSIX] (ENOPROTOOPT): Likewise.
40493         [POSIX] (ENOSR): Likewise.
40494         [POSIX] (ENOSTR): Likewise.
40495         [POSIX] (ENOTCONN): Likewise.
40496         [POSIX] (ENOTSOCK): Likewise.
40497         [POSIX] (EOPNOTSUPP): Likewise.
40498         [POSIX] (EOVERFLOW): Likewise.
40499         [POSIX] (EPROTO): Likewise.
40500         [POSIX] (EPROTONOSUPPORT): Likewise.
40501         [POSIX] (EPROTOTYPE): Likewise.
40502         [POSIX] (ESTALE): Likewise.
40503         [POSIX] (ETIME): Likewise.
40504         [POSIX] (ETXTBSY): Likewise.
40505         [POSIX] (EWOULDBLOCK): Likewise.
40506         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
40507         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
40508         [POSIX] (SEEK_CUR): Likewise.
40509         [POSIX] (SEEK_END): Likewise.
40510         [POSIX || UNIX98] (mode_t): Do not require.
40511         [POSIX] (off_t): Likewise.
40512         [POSIX] (pid_t): Likewise.
40513         [POSIX] (sys/stat.h): Do not allow header.
40514         [POSIX] (unistd.h): Likewise.
40515         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
40516         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
40517         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
40518         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
40519         require.
40520         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
40521         sigevent): Specify elements.
40522         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
40523         entry.
40524         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
40525         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
40527         * conform/data/cpio.h-data [POSIX]: Disable whole file.
40528         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
40529         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
40530         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
40531         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
40532         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
40533         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
40534         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
40535         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
40536         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
40537         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
40538         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
40539         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
40540         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
40541         Likewise.
40542         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
40543         Likewise.
40544         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
40545         Likewise.
40546         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
40547         Likewise.
40548         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
40549         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
40550         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
40551         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
40552         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
40553         Specify lower bound on value.
40554         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
40555         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
40556         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
40557         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
40558         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
40559         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
40560         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
40561         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
40562         value.
40563         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
40564         as optional.
40565         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
40566         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
40567         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
40568         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
40569         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
40570         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
40571         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
40572         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
40573         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
40574         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
40575         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
40576         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
40577         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
40578         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
40579         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
40580         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
40581         entry.
40582         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
40583         optional.
40584         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
40585         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
40586         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
40587         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
40588         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
40589         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
40590         Likewise.
40591         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
40592         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
40593         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
40594         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
40595         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
40596         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
40597         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
40598         as optional.
40599         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
40600         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
40601         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
40602         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
40603         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
40604         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
40605         specify as optional.
40606         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
40607         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
40608         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
40609         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
40610         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
40611         [XPG3] (NL_LANGMAX): Likewise.
40612         [POSIX || XPG3] (NL_MSGMAX): Likewise.
40613         [POSIX || XPG3] (NL_NMAX): Likewise.
40614         [POSIX || XPG3] (NL_SETMAX): Likewise.
40615         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
40616         [XPG3] (NZERO): Likewise.
40617         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
40618         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
40619         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
40620         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
40621         (REG_ERANGE): Expect.
40622         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
40623         optional-constant.
40624         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
40625         Use (void) in prototype.
40626         [POSIX] (*_t): Allow.
40627         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
40628         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
40629         (WRDE_BADVAL): Expect.
40631         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
40632         expect.
40633         [XPG3 || XPG4] (O_RSYNC): Likewise.
40634         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
40635         Likewise.
40636         [XPG3 || XPG4] (pthread_sigmask): Likewise.
40637         [XPG3 || XPG4] (sigqueue): Likewise.
40638         [XPG3 || XPG4] (sigtimedwait): Likewise.
40639         [XPG3 || XPG4] (sigwaitinfo): Likewise.
40640         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
40641         [XPG3 || XPG4] (vsnprintf): Likewise.
40642         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
40643         Likewise.
40644         [XPG3 || XPG4] (blksize_t): Likewise.
40645         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
40646         Likewise.
40647         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
40648         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
40649         [XPG3 || XPG4] (struct itimerspec): Likewise.
40650         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
40651         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
40652         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
40653         [XPG3 || XPG4] (clockid_t): Likewise.
40654         [XPG3 || XPG4] (timer_t): Likewise.
40655         [XPG3 || XPG4] (clock_getres): Likewise.
40656         [XPG3 || XPG4] (clock_gettime): Likewise.
40657         [XPG3 || XPG4] (clock_settime): Likewise.
40658         [XPG3 || XPG4] (nanosleep): Likewise.
40659         [XPG3 || XPG4] (timer_create): Likewise.
40660         [XPG3 || XPG4] (timer_delete): Likewise.
40661         [XPG3 || XPG4] (timer_gettime): Likewise.
40662         [XPG3 || XPG4] (timer_getoverrun): Likewise.
40663         [XPG3 || XPG4] (timer_settime): Likewise.
40664         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
40665         [XPG3 || XPG4] (getlogin_r): Likewise.
40666         [XPG3 || XPG4] (pread): Likewise.
40667         [XPG3 || XPG4] (pthread_atfork): Likewise.
40668         [XPG3 || XPG4] (pwrite): Likewise.
40670         [BZ #14835]
40671         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
40672         <bits/siginfo.h>.
40674 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
40676         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
40677         finalizing MALLSTREAM.
40679         * sysdeps/mach/hurd/syncfs.c: New file.
40681 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40683         [BZ #14719]
40684         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
40685         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
40686         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
40687         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
40688         (_nss_dns_gethostbyname4_r): Likewise.
40689         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
40690         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
40692 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
40694         [BZ #13763]
40695         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
40697 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
40699         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
40700         * elf/cache.c (print_entry): Print ",AArch64" for
40701         FLAG_AARCH64_LIB64
40703         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
40704         * elf/cache.c (print_entry): Print ",hard-float" for
40705         FLAG_ARM_LIBHF.
40707 2012-11-18  David S. Miller  <davem@davemloft.net>
40709         With help from Joseph Myers.
40710         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
40711         cutoff to 2**-13.
40712         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
40713         cutoff to 2**-25.
40714         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
40715         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
40716         small.
40717         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
40718         * math/libm-test.inc (y0_test): New tests.
40719         (y1_test): New tests.
40720         * sysdeps/i386/fpu/libm-test-ulps: Update.
40721         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40722         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40724 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
40726         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
40727         64-bit targets.
40728         * configure: Regenerated.
40730 2012-11-17  David S. Miller  <davem@davemloft.net>
40732         [BZ #14811]
40733         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
40734         nonzero exponents with absolute value below 0x1p-128 to +/-
40735         0x1p-128.
40737 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
40739         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
40741         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
40743         * posix/getconf-speclist.c: New file.
40744         * posix/posix-envs.def: Likewise.
40745         * posix/confstr.c (START_ENV_GROUP): New macro.
40746         (END_ENV_GROUP): Likewise.
40747         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40748         (KNOWN_PRESENT_ENV_STRING): Likewise.
40749         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40750         (UNKNOWN_ENVIRONMENT): Likewise.
40751         (confstr): Include posix-envs.def instead of handling
40752         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
40753         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
40754         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
40755         (END_ENV_GROUP): Likewise.
40756         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40757         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40758         (UNKNOWN_ENVIRONMENT): Likewise.
40759         (__sysconf): Include posix-envs.def instead of handling associated
40760         cases directly here.
40761         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
40762         preprocessing getconf-speclist.c rather than running getconf or
40763         generating empty file.
40765 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
40767         * scripts/check-local-headers.sh: Ignore 'mach' headers.
40769 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
40771         [BZ #14672]
40772         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
40774 2012-11-16  David S. Miller  <davem@davemloft.net>
40776         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
40777         smaller than LDBL_EPSILON/2.0L, just return xm1.
40779 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
40781         * elf/tst-array1.c (init): Set constructor priority to 1000.
40782         (fini): Set destructor priority to 1000.
40783         * elf/tst-array2dep.c: Likewise.
40785 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40787         [BZ #11741]
40788         * libio/fileops.c (_IO_new_file_write): Correctly return error.
40789         (_IO_new_file_xsputn): Also return EOF if none of the input
40790         data was written when overflow failed.
40791         * libio/iopadn.c (_IO_padn): Likewise.
40792         * libio/iowpadn.c (_IO_wpadn): Likewise.
40793         * stdio-common/tst-put-error.c: Add copyright notice.
40794         (do_test): Add case for printing padded string.
40795         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
40796         _IO_padn returned error.
40797         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
40798         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
40799         return EOF.
40801 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40803         * libio/libioP.h: Add comment note that the references to C++
40804         bits are now obsolete.
40806 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40808         * math/libm-test.inc (check_complex): Use asprintf.
40810 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
40812         * debug/pcprofiledump.c (print_version): Update copyright year.
40813         * malloc/memusagestat.c (print_version): Likewise.
40815 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
40817         [BZ #14831]
40818         * elf/Makefile (tests): Add tst-audit8.
40819         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
40820         ($(objpfx)tst-audit8.out): New target.
40821         (tst-audit8-ENV): New variable.
40822         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
40823         audit if l_reloc_result is NULL.
40824         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
40825         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
40826         * elf/tst-audit8.c: New file.
40828 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40830         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
40831         * misc/Makefile (CFLAGS-select.c): Define.
40832         * posix/Makefile (CFLAGS-pause.c): Define.
40834 2012-11-13  David S. Miller  <davem@davemloft.net>
40836         * crypt/Makefile: Move test targets after toplevel Rules
40837         inclusion.  Grab any necessary sysdep routines when linking.
40838         * crypt/md5.c (md5_process_block): Remove define, we will always
40839         name it __md5_process_block.
40840         (md5_finish_ctx): Update md5_process_block call.
40841         (md5_stream): Likewise.
40842         (md5_process_bytes): Likewise.
40843         (md5_process_block): Rename to __md5_process_block and move to ...
40844         * crypt/md5-block.c: ... here.
40845         * crypt/sha256.c (sha256_process_block): Move to ...
40846         * crypt/sha256-block.c: ... here.
40847         * crypt/sha512.c (sha512_process_block): Move to ...
40848         * crypt/sha512-block.c: ... here.
40849         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
40850         path.
40851         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
40852         * sysdeps/sparc/sparc64/multiarch/Makefile
40853         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
40854         crypt subdir.
40855         (localedef-aux): Add md5 crypto assembler when in locale subdir.
40856         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
40857         multiarch changes.
40858         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
40859         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
40860         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
40861         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
40862         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
40863         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
40864         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
40865         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
40866         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
40867         file.
40868         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
40869         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
40870         file.
40871         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
40873 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
40875         * timezone/tzselect.ksh: Update from tzcode git revision
40876         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
40877         * timezone/zdump.c: Likewise.
40878         * timezone/zic.c: Likewise.
40879         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
40880         in TZVERSION setting, not $(PKGVERSION).
40881         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
40882         REPORT_BUGS_TO settings.
40884         [BZ #14838]
40885         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
40886         macro.
40888 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40890         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
40891         detection to immediately after _FP_ROUND().
40892         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
40893         bits are 0.
40895 2012-11-11  David S. Miller  <davem@davemloft.net>
40897         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
40898         inttypes.h
40899         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
40900         __close rather than their public counterparts.
40902 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
40904         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
40905         file.
40906         [UNIX98] (sem_timedwait): Do not expect.
40907         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
40908         [XPG4 || UNIX98] (sockatmark): Do not expect.
40909         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
40910         (clock_getcpuclockid): Do not expect.
40911         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
40912         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
40913         Do not expect.
40914         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
40915         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
40916         [UNIX98] (vwscanf): Likewise.
40917         [UNIX98] (vswscanf): Likewise.
40919 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
40921         * timezone/version.h: Remove file.
40922         * timezone/README: Do not refer to version.h.
40923         * timezone/Makefile ($(objpfx)zic.o): New dependency on
40924         $(objpfx)version.h.
40925         ($(objpfx)zdump.o): Likewise.
40926         ($(objpfx)version.h): New target.
40928         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
40929         2012i.
40930         * timezone/README: Don't mention modification to tzselect.ksh.
40931         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
40932         work on unmodified tzselect.ksh.  Substitute version numbers in
40933         tzselect.ksh.
40935         * Makefile (format-me): Remove.
40936         (INSTALL): Adjust indentation.  Use commands directly instead of
40937         using $(format-me).
40939         * aclocal.m4 (ACX_PKGVERSION): New macro.
40940         (ACX_BUGURL): Likewise.
40941         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
40942         (PKGVERSION): New AC_DEFINE_UNQUOTED.
40943         (REPORT_BUGS_TO): Likewise.
40944         * configure: Regenerated.
40945         * config.h.in (PKGVERSION): New macro.
40946         (REPORT_BUGS_TO): Likewise.
40947         * config.make.in (PKGVERSION): New variable.
40948         (PKGVERSION_TEXI): Likewise.
40949         (REPORT_BUGS_TO): Likewise.
40950         (REPORT_BUGS_TEXI): Likewise.
40951         * Makefile (format-me): Use -I$(common-objpfx)manual.
40952         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
40953         ($(common-objpfx)manual/%): New target.
40954         (manual/%): Remove target.
40955         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
40956         (print_version): Use PKGVERSION.
40957         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
40958         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
40959         and REPORT_BUGS_TO.
40960         ($(objpfx)xtrace): Likewise.
40961         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
40962         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
40963         (print_version): Use PKGVERSION.
40964         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
40965         (do_version): Use PKGVERSION.
40966         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
40967         REPORT_BUGS_TO.
40968         (common-ldd-rewrite): Likewise.
40969         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
40970         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
40971         (print_version): Use PKGVERSION.
40972         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
40973         * elf/pldd.c (argp_program_bug_address): Remove variable.
40974         (more_help): New function.
40975         (argp): Use more_help.
40976         (print_version): Use PKGVERSION.
40977         * elf/sln.c (main): Use PKGVERSION.
40978         (usage): Use REPORT_BUGS_TO.
40979         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
40980         (top level): Use PKGVERSION.
40981         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
40982         (print_version): Use PKGVERSION.
40983         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
40984         (print_version): Use PKGVERSION.
40985         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
40986         (print_version): Use PKGVERSION.
40987         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
40988         (print_version): Use PKGVERSION.
40989         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
40990         (print_version): Use PKGVERSION.
40991         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
40992         (print_version): Use PKGVERSION.
40993         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
40994         and BUGURL.
40995         ($(objpfx)memusage): Likewise.
40996         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
40997         (do_version): Use PKGVERSION.
40998         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
40999         (print_version): Use PKGVERSION.
41000         * malloc/mtrace.pl ($PACKAGE): Remove variable.
41001         ($PKGVERSION): New variable.
41002         ($REPORT_BUGS_TO): Likewise.
41003         (usage): Use $REPORT_BUGS_TO.
41004         (top level): Use $PKGVERSION.
41005         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
41006         ($(objpfx)pkgvers.texi): New rule.
41007         ($(objpfx)stamp-pkgvers): Likewise.
41008         * manual/install.texi: Include pkgvers.texi.
41009         (--with-pkgversion): Document new configure option.
41010         (--with-bugurl): Likewise.
41011         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
41012         than necessarily for this particular distribution.  Use
41013         REPORT_BUGS_TO for where to report bugs.
41014         * INSTALL: Regenerated.
41015         * manual/libc.texinfo: Include pkgvers.texi.
41016         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
41017         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
41018         (print_version): Use PKGVERSION.
41019         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
41020         (print_version): Use PKGVERSION.
41021         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
41022         (print_version): Use PKGVERSION.
41023         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
41024         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
41025         macro.
41026         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
41027         (print_version): Use PKGVERSION.
41028         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
41029         (print_version): Use PKGVERSION.
41030         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
41031         and PKGVERSION.
41033         * timezone/checktab.awk: Update from tzcode 2012i.
41034         * timezone/ialloc.c: Likewise.
41035         * timezone/private.h: Likewise.
41036         * timezone/scheck.c: Likewise.
41037         * timezone/tzfile.h: Likewise.
41038         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
41039         (TZVERSION): Hardcode tzcode version number.
41040         * timezone/zdump.c: Update from tzcode 2012i.
41041         * timezone/zic.c: Likewise.
41042         * timezone/version.h: New file.
41043         * timezone/README: Describe version.h.  Update upstream location.
41045         [BZ #14824]
41046         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
41047         (mktemp): Enable declaration.
41048         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
41049         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
41050         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
41051         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
41052         Likewise.
41053         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
41054         Likewise.
41055         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
41056         Likewise.
41057         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
41058         Likewise.
41059         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
41060         Likewise.
41061         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
41062         Likewise.
41064         [BZ #14821]
41065         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
41066         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
41067         for copies of such integer values.
41068         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
41069         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
41071 2012-11-09  Andreas Jaeger  <aj@suse.de>
41073         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
41074         definitions and declarations that are provided by
41075         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41077 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41079         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
41080         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
41081         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
41082         definition.
41084 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41086         * elf/elf.h: Update comment before AArch64 relocations.
41088 2012-11-07  David S. Miller  <davem@davemloft.net>
41090         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
41091         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41092         (__start_context): Declare.
41093         (__makecontext_ret): Delete.
41094         (__makecontext): Hook up __start_context instead of
41095         __makecontext_ret.
41096         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
41097         (sysdep_routines): Add __start_context when in stdlib.
41099 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41101         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
41102         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
41103         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
41104         hardcoded "nm".
41105         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
41106         (READELF): New variable.  Use it instead of hardcoded "readelf".
41108 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
41110         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
41111         * sysdeps/x86/Makefile: Here.
41112         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
41113         * sysdeps/x86/tst-xmmymm.sh: This.
41115 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41117         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
41118         expectations.
41119         [UNIX98] (pthread_barrier_t): Do not expect.
41120         [UNIX98] (pthread_barrierattr_t): Likewise.
41121         [UNIX98] (pthread_spinlock_t): Likewise.
41122         [UNIX98] (pthread_barrier_destroy): Likewise.
41123         [UNIX98] (pthread_barrier_init): Likewise.
41124         [UNIX98] (pthread_barrier_wait): Likewise.
41125         [UNIX98] (pthread_barrierattr_destroy): Likewise.
41126         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
41127         [UNIX98] (pthread_barrierattr_init): Likewise.
41128         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
41129         [UNIX98] (pthread_getcpuclockid): Likewise.
41130         [UNIX98] (pthread_mutex_timedlock): Likewise.
41131         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
41132         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
41133         [UNIX98] (pthread_sigmask): Likewise.
41134         [UNIX98] (pthread_spin_destroy): Likewise.
41135         [UNIX98] (pthread_spin_init): Likewise.
41136         [UNIX98] (pthread_spin_lock): Likewise.
41137         [UNIX98] (pthread_spin_trylock): Likewise.
41138         [UNIX98] (pthread_spin_unlock): Likewise.
41139         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
41140         Do not expect.
41141         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
41142         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
41143         [XPG3 || XPG4] (pthread_cond_t): Likewise.
41144         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
41145         [XPG3 || XPG4] (pthread_key_t): Likewise.
41146         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
41147         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
41148         [XPG3 || XPG4] (pthread_once_t): Likewise.
41149         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
41150         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
41151         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
41152         [XPG3 || XPG4] (pthread_t): Likewise.
41154         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
41155         not expect.
41156         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
41158         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
41159         Change function return type to int.
41161         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
41162         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
41163         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
41164         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
41165         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
41166         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
41167         [!POSIX] (posix_madvise): Likewise.
41168         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
41169         && !UNIX98].
41170         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
41171         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
41172         (mode_t): Likewise.
41173         (posix_mem_offset): Likewise.
41174         (posix_typed_mem_get_info): Likewise.
41175         (posix_typed_mem_open): Likewise.
41177         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
41178         Change condition to [XOPEN2K8].
41180         * conform/conformtest.pl: Preprocess allow-header data with -x c
41181         instead of from stdin.
41182         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
41183         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
41184         [C99-based standards] (cerfc): Likewise.
41185         [C99-based standards] (cexp2): Likewise.
41186         [C99-based standards] (cexpm1): Likewise.
41187         [C99-based standards] (clog10): Likewise.
41188         [C99-based standards] (clog1p): Likewise.
41189         [C99-based standards] (clog2): Likewise.
41190         [C99-based standards] (clgamma): Likewise.
41191         [C99-based standards] (ctgamma): Likewise.
41192         [C99-based standards] (cerff): Likewise.
41193         [C99-based standards] (cerfcf): Likewise.
41194         [C99-based standards] (cexp2f): Likewise.
41195         [C99-based standards] (cexpm1f): Likewise.
41196         [C99-based standards] (clog10f): Likewise.
41197         [C99-based standards] (clog1pf): Likewise.
41198         [C99-based standards] (clog2f): Likewise.
41199         [C99-based standards] (clgammaf): Likewise.
41200         [C99-based standards] (ctgammaf): Likewise.
41201         [C99-based standards] (cerfl): Likewise.
41202         [C99-based standards] (cerfcl): Likewise.
41203         [C99-based standards] (cexp2l): Likewise.
41204         [C99-based standards] (cexpm1l): Likewise.
41205         [C99-based standards] (clog10l): Likewise.
41206         [C99-based standards] (clog1pl): Likewise.
41207         [C99-based standards] (clog2l): Likewise.
41208         [C99-based standards] (clgammal): Likewise.
41209         [C99-based standards] (ctgammal): Likewise.
41210         * conform/data/inttypes.h-data [C99-based standards]: Include
41211         stdint.h-data.  Remove all expectations for stdint.h contents.
41212         [C99-based standards] (PRI*): Do not allow.
41213         [C99-based standards] (SCN*): Likewise.
41214         [C99-based standards] (*_t): Likewise.
41215         [C99-based-standards] (PRId8): Expect macro.
41216         [C99-based-standards] (PRIi8): Likewise.
41217         [C99-based-standards] (PRIo8): Likewise.
41218         [C99-based-standards] (PRIu8): Likewise.
41219         [C99-based-standards] (PRIx8): Likewise.
41220         [C99-based-standards] (PRIX8): Likewise.
41221         [C99-based-standards] (SCNd8): Likewise.
41222         [C99-based-standards] (SCNi8): Likewise.
41223         [C99-based-standards] (SCNo8): Likewise.
41224         [C99-based-standards] (SCNu8): Likewise.
41225         [C99-based-standards] (SCNx8): Likewise.
41226         [C99-based-standards] (PRIdLEAST8): Likewise.
41227         [C99-based-standards] (PRIiLEAST8): Likewise.
41228         [C99-based-standards] (PRIoLEAST8): Likewise.
41229         [C99-based-standards] (PRIuLEAST8): Likewise.
41230         [C99-based-standards] (PRIxLEAST8): Likewise.
41231         [C99-based-standards] (PRIXLEAST8): Likewise.
41232         [C99-based-standards] (SCNdLEAST8): Likewise.
41233         [C99-based-standards] (SCNiLEAST8): Likewise.
41234         [C99-based-standards] (SCNoLEAST8): Likewise.
41235         [C99-based-standards] (SCNuLEAST8): Likewise.
41236         [C99-based-standards] (SCNxLEAST8): Likewise.
41237         [C99-based-standards] (PRIdFAST8): Likewise.
41238         [C99-based-standards] (PRIiFAST8): Likewise.
41239         [C99-based-standards] (PRIoFAST8): Likewise.
41240         [C99-based-standards] (PRIuFAST8): Likewise.
41241         [C99-based-standards] (PRIxFAST8): Likewise.
41242         [C99-based-standards] (PRIXFAST8): Likewise.
41243         [C99-based-standards] (SCNdFAST8): Likewise.
41244         [C99-based-standards] (SCNiFAST8): Likewise.
41245         [C99-based-standards] (SCNoFAST8): Likewise.
41246         [C99-based-standards] (SCNuFAST8): Likewise.
41247         [C99-based-standards] (SCNxFAST8): Likewise.
41248         [C99-based-standards] (PRId16): Likewise.
41249         [C99-based-standards] (PRIi16): Likewise.
41250         [C99-based-standards] (PRIo16): Likewise.
41251         [C99-based-standards] (PRIu16): Likewise.
41252         [C99-based-standards] (PRIx16): Likewise.
41253         [C99-based-standards] (PRIX16): Likewise.
41254         [C99-based-standards] (SCNd16): Likewise.
41255         [C99-based-standards] (SCNi16): Likewise.
41256         [C99-based-standards] (SCNo16): Likewise.
41257         [C99-based-standards] (SCNu16): Likewise.
41258         [C99-based-standards] (SCNx16): Likewise.
41259         [C99-based-standards] (PRIdLEAST16): Likewise.
41260         [C99-based-standards] (PRIiLEAST16): Likewise.
41261         [C99-based-standards] (PRIoLEAST16): Likewise.
41262         [C99-based-standards] (PRIuLEAST16): Likewise.
41263         [C99-based-standards] (PRIxLEAST16): Likewise.
41264         [C99-based-standards] (PRIXLEAST16): Likewise.
41265         [C99-based-standards] (SCNdLEAST16): Likewise.
41266         [C99-based-standards] (SCNiLEAST16): Likewise.
41267         [C99-based-standards] (SCNoLEAST16): Likewise.
41268         [C99-based-standards] (SCNuLEAST16): Likewise.
41269         [C99-based-standards] (SCNxLEAST16): Likewise.
41270         [C99-based-standards] (PRIdFAST16): Likewise.
41271         [C99-based-standards] (PRIiFAST16): Likewise.
41272         [C99-based-standards] (PRIoFAST16): Likewise.
41273         [C99-based-standards] (PRIuFAST16): Likewise.
41274         [C99-based-standards] (PRIxFAST16): Likewise.
41275         [C99-based-standards] (PRIXFAST16): Likewise.
41276         [C99-based-standards] (SCNdFAST16): Likewise.
41277         [C99-based-standards] (SCNiFAST16): Likewise.
41278         [C99-based-standards] (SCNoFAST16): Likewise.
41279         [C99-based-standards] (SCNuFAST16): Likewise.
41280         [C99-based-standards] (SCNxFAST16): Likewise.
41281         [C99-based-standards] (PRId32): Likewise.
41282         [C99-based-standards] (PRIi32): Likewise.
41283         [C99-based-standards] (PRIo32): Likewise.
41284         [C99-based-standards] (PRIu32): Likewise.
41285         [C99-based-standards] (PRIx32): Likewise.
41286         [C99-based-standards] (PRIX32): Likewise.
41287         [C99-based-standards] (SCNd32): Likewise.
41288         [C99-based-standards] (SCNi32): Likewise.
41289         [C99-based-standards] (SCNo32): Likewise.
41290         [C99-based-standards] (SCNu32): Likewise.
41291         [C99-based-standards] (SCNx32): Likewise.
41292         [C99-based-standards] (PRIdLEAST32): Likewise.
41293         [C99-based-standards] (PRIiLEAST32): Likewise.
41294         [C99-based-standards] (PRIoLEAST32): Likewise.
41295         [C99-based-standards] (PRIuLEAST32): Likewise.
41296         [C99-based-standards] (PRIxLEAST32): Likewise.
41297         [C99-based-standards] (PRIXLEAST32): Likewise.
41298         [C99-based-standards] (SCNdLEAST32): Likewise.
41299         [C99-based-standards] (SCNiLEAST32): Likewise.
41300         [C99-based-standards] (SCNoLEAST32): Likewise.
41301         [C99-based-standards] (SCNuLEAST32): Likewise.
41302         [C99-based-standards] (SCNxLEAST32): Likewise.
41303         [C99-based-standards] (PRIdFAST32): Likewise.
41304         [C99-based-standards] (PRIiFAST32): Likewise.
41305         [C99-based-standards] (PRIoFAST32): Likewise.
41306         [C99-based-standards] (PRIuFAST32): Likewise.
41307         [C99-based-standards] (PRIxFAST32): Likewise.
41308         [C99-based-standards] (PRIXFAST32): Likewise.
41309         [C99-based-standards] (SCNdFAST32): Likewise.
41310         [C99-based-standards] (SCNiFAST32): Likewise.
41311         [C99-based-standards] (SCNoFAST32): Likewise.
41312         [C99-based-standards] (SCNuFAST32): Likewise.
41313         [C99-based-standards] (SCNxFAST32): Likewise.
41314         [C99-based-standards] (PRId64): Likewise.
41315         [C99-based-standards] (PRIi64): Likewise.
41316         [C99-based-standards] (PRIo64): Likewise.
41317         [C99-based-standards] (PRIu64): Likewise.
41318         [C99-based-standards] (PRIx64): Likewise.
41319         [C99-based-standards] (PRIX64): Likewise.
41320         [C99-based-standards] (SCNd64): Likewise.
41321         [C99-based-standards] (SCNi64): Likewise.
41322         [C99-based-standards] (SCNo64): Likewise.
41323         [C99-based-standards] (SCNu64): Likewise.
41324         [C99-based-standards] (SCNx64): Likewise.
41325         [C99-based-standards] (PRIdLEAST64): Likewise.
41326         [C99-based-standards] (PRIiLEAST64): Likewise.
41327         [C99-based-standards] (PRIoLEAST64): Likewise.
41328         [C99-based-standards] (PRIuLEAST64): Likewise.
41329         [C99-based-standards] (PRIxLEAST64): Likewise.
41330         [C99-based-standards] (PRIXLEAST64): Likewise.
41331         [C99-based-standards] (SCNdLEAST64): Likewise.
41332         [C99-based-standards] (SCNiLEAST64): Likewise.
41333         [C99-based-standards] (SCNoLEAST64): Likewise.
41334         [C99-based-standards] (SCNuLEAST64): Likewise.
41335         [C99-based-standards] (SCNxLEAST64): Likewise.
41336         [C99-based-standards] (PRIdFAST64): Likewise.
41337         [C99-based-standards] (PRIiFAST64): Likewise.
41338         [C99-based-standards] (PRIoFAST64): Likewise.
41339         [C99-based-standards] (PRIuFAST64): Likewise.
41340         [C99-based-standards] (PRIxFAST64): Likewise.
41341         [C99-based-standards] (PRIXFAST64): Likewise.
41342         [C99-based-standards] (SCNdFAST64): Likewise.
41343         [C99-based-standards] (SCNiFAST64): Likewise.
41344         [C99-based-standards] (SCNoFAST64): Likewise.
41345         [C99-based-standards] (SCNuFAST64): Likewise.
41346         [C99-based-standards] (SCNxFAST64): Likewise.
41347         [C99-based-standards] (PRIdMAX): Likewise.
41348         [C99-based-standards] (PRIiMAX): Likewise.
41349         [C99-based-standards] (PRIoMAX): Likewise.
41350         [C99-based-standards] (PRIuMAX): Likewise.
41351         [C99-based-standards] (PRIxMAX): Likewise.
41352         [C99-based-standards] (PRIXMAX): Likewise.
41353         [C99-based-standards] (SCNdMAX): Likewise.
41354         [C99-based-standards] (SCNiMAX): Likewise.
41355         [C99-based-standards] (SCNoMAX): Likewise.
41356         [C99-based-standards] (SCNuMAX): Likewise.
41357         [C99-based-standards] (SCNxMAX): Likewise.
41358         [C99-based-standards] (PRIdPTR): Likewise.
41359         [C99-based-standards] (PRIiPTR): Likewise.
41360         [C99-based-standards] (PRIoPTR): Likewise.
41361         [C99-based-standards] (PRIuPTR): Likewise.
41362         [C99-based-standards] (PRIxPTR): Likewise.
41363         [C99-based-standards] (PRIXPTR): Likewise.
41364         [C99-based-standards] (SCNdPTR): Likewise.
41365         [C99-based-standards] (SCNiPTR): Likewise.
41366         [C99-based-standards] (SCNoPTR): Likewise.
41367         [C99-based-standards] (SCNuPTR): Likewise.
41368         [C99-based-standards] (SCNxPTR): Likewise.
41369         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
41370         allow.
41371         * conform/data/stdint.h-data: Update comments to clarify
41372         requirements.
41373         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
41374         type.
41375         [C99-based standards] (INT8_MAX): Likewise.
41376         [C99-based standards] (INT16_MIN): Likewise.
41377         [C99-based standards] (INT16_MAX): Likewise.
41378         [C99-based standards] (INT32_MIN): Likewise.
41379         [C99-based standards] (INT32_MAX): Likewise.
41380         [C99-based standards] (INT64_MIN): Likewise.
41381         [C99-based standards] (INT64_MAX): Likewise.
41382         [C99-based standards] (UINT8_MAX): Likewise.
41383         [C99-based standards] (UINT16_MAX): Likewise.
41384         [C99-based standards] (UINT32_MAX): Likewise.
41385         [C99-based standards] (UINT64_MAX): Likewise.
41386         [C99-based standards] (INT_LEAST8_MIN): Likewise.
41387         [C99-based standards] (INT_LEAST8_MAX): Likewise.
41388         [C99-based standards] (INT_LEAST16_MIN): Likewise.
41389         [C99-based standards] (INT_LEAST16_MAX): Likewise.
41390         [C99-based standards] (INT_LEAST32_MIN): Likewise.
41391         [C99-based standards] (INT_LEAST32_MAX): Likewise.
41392         [C99-based standards] (INT_LEAST64_MIN): Likewise.
41393         [C99-based standards] (INT_LEAST64_MAX): Likewise.
41394         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
41395         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
41396         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
41397         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
41398         [C99-based standards] (INT_FAST8_MIN): Likewise.
41399         [C99-based standards] (INT_FAST8_MAX): Likewise.
41400         [C99-based standards] (INT_FAST16_MIN): Likewise.
41401         [C99-based standards] (INT_FAST16_MAX): Likewise.
41402         [C99-based standards] (INT_FAST32_MIN): Likewise.
41403         [C99-based standards] (INT_FAST32_MAX): Likewise.
41404         [C99-based standards] (INT_FAST64_MIN): Likewise.
41405         [C99-based standards] (INT_FAST64_MAX): Likewise.
41406         [C99-based standards] (UINT_FAST8_MAX): Likewise.
41407         [C99-based standards] (UINT_FAST16_MAX): Likewise.
41408         [C99-based standards] (UINT_FAST32_MAX): Likewise.
41409         [C99-based standards] (UINT_FAST64_MAX): Likewise.
41410         [C99-based standards] (INTPTR_MIN): Likewise.
41411         [C99-based standards] (INTPTR_MAX): Likewise.
41412         [C99-based standards] (UINTPTR_MAX): Likewise.
41413         [C99-based standards] (INTMAX_MIN): Likewise.
41414         [C99-based standards] (INTMAX_MAX): Likewise.
41415         [C99-based standards] (UINTMAX_MAX): Likewise.
41416         [C99-based standards] (PTRDIFF_MIN): Likewise.
41417         [C99-based standards] (PTRDIFF_MAX): Likewise.
41418         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
41419         [C99-based standards] (SIZE_MAX): Likewise.
41420         [C99-based standards] (WCHAR_MAX): Likewise.
41421         [C99-based standards] (WINT_MAX): Likewise.
41422         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
41423         constraint on value.
41424         [C99-based standards] (WCHAR_MIN): Likewise.
41425         [C99-based standards] (WINT_MIN): Likewise.
41426         [C99-based standards] (*_t): Allow.
41427         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
41428         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
41429         Include math.h-data and complex.h-data.  Remove all expectations
41430         of math.h and complex.h contents.
41431         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
41432         at end of line.
41433         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
41434         (struct tm): Expect tag.
41435         [C99-based-standards] (wcstof): Expect function.
41436         [C99-based-standards] (wcstold): Likewise.
41437         [C99-based-standards] (wcstoll): Likewise.
41438         [C99-based-standards] (wcstoull): Likewise.
41439         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
41440         macro-int-constant.  Specify type.
41441         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
41442         constraint on value.
41443         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
41444         Specify type.
41445         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
41446         Specify value.
41447         [ISO C standards]: Do not allow headers.
41448         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
41449         wcs[abcdefghijklmnopqrstuvwxyz]*.
41450         [ISO C standards] (*_t): Do not allow.
41451         * conform/data/wctype.h-data [C99-based standards] (iswblank):
41452         Expect function.
41453         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
41454         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
41455         Specify type.
41456         [ISO C standards]: Do not allow headers.
41457         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
41458         is[abcdefghijklmnopqrstuvwxyz]*.
41459         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
41460         to[abcdefghijklmnopqrstuvwxyz]*.
41461         [ISO C standards] (*_t): Do not allow.
41462         * conform/data/stdalign.h-data: New file.
41463         * conform/data/stdbool.h-data: Likewise.
41464         * conform/data/stdnoreturn.h-data: Likewise.
41466 2012-11-07  Roland McGrath  <roland@hack.frob.com>
41468         [BZ #14815]
41469         * manual/filesys.texi (Directory Entries): Typo fix.
41470         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
41472 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41474         * elf/elf.h (EM_AARCH64): New macro.
41475         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
41476         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
41477         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
41478         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
41479         (R_AARCH64_TLSDESC): Likewise.
41480         (NT_ARM_TLS): Likewise.
41481         (NT_ARM_HW_BREAK): Likewise.
41482         (NT_ARM_HW_WATCH): Likewise.
41484 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41486         [BZ #14811]
41487         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
41488         (__ieee754_powl): Saturate nonzero exponents with absolute value
41489         below 0x1p-79 to +/- 0x1p-79.
41490         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
41491         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
41492         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
41493         nonzero exponents with absolute value below 0x1p-32 to +/-
41494         0x1p-32.
41495         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
41496         (__ieee754_powl): Saturate nonzero exponents with absolute value
41497         below 0x1p-79 to +/- 0x1p-79.
41498         * math/libm-test.inc (pow_test): Add more tests.
41500 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41502         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
41503         _dl_s390_cap_flags with kernel. Increase string length.
41504         (_dl_s390_platforms): Add z196 and zEC12.
41506 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41508         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
41509         Change XOPEN21K to XOPEN2K.
41511 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
41513         * string/memmove.c: Use memcpy when possible.
41515 2012-11-06  Andreas Jaeger  <aj@suse.de>
41517         * po/eo.po: Update from translation team.
41519 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
41521         [BZ #14793]
41522         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
41523         exponent and small x and y exponents, scale x or y up.  Increase
41524         by 2 the exponent used in scaling up.
41525         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41526         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41527         * math/libm-test.inc (fma_test): Add more tests.
41528         (fma_test_towardzero): Likewise.
41529         (fma_test_downward): Likewise.
41530         (fma_test_upward): Likewise.
41532 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
41534         [BZ #14805]
41535         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
41536         fenv_t *.
41538         [BZ #14801]
41539         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
41540         namespace for names of struct fields.
41541         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
41542         fenv_t fields.
41543         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41544         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
41546 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41548         [BZ #3665]
41549         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
41551 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
41553         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
41554         PTR_DEMANGLE.
41556         [BZ #5246]
41557         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
41558         PTR_DEMANGLE.
41560 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
41562         [BZ #14797]
41563         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
41564         definitely overflow as x * y not x * y + z.
41565         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41566         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41567         * math/libm-test.inc (fma_test): Add more tests.
41568         (fma_test_towardzero): Likewise.
41569         (fma_test_downward): Likewise.
41570         (fma_test_upward): Likewise.
41572 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
41574         [BZ #157]
41576         * include/stub-tag.h: Remove file.
41577         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
41578         '#include' of it.
41579         * manual/maint.texi (Porting): Don't reference it.
41580         * Makerules ($(objpfx)stubs): Likewise.
41581         * dirent/closedir.c: Don't include <stub-tag.h>.
41582         * dirent/dirfd.c: Likewise.
41583         * dirent/fdopendir.c: Likewise.
41584         * dirent/getdents.c: Likewise.
41585         * dirent/getdents64.c: Likewise.
41586         * dirent/opendir.c: Likewise.
41587         * dirent/readdir.c: Likewise.
41588         * dirent/readdir64.c: Likewise.
41589         * dirent/readdir64_r.c: Likewise.
41590         * dirent/readdir_r.c: Likewise.
41591         * dirent/rewinddir.c: Likewise.
41592         * dirent/seekdir.c: Likewise.
41593         * dirent/telldir.c: Likewise.
41594         * gmon/profil.c: Likewise.
41595         * grp/setgroups.c: Likewise.
41596         * inet/if_index.c: Likewise.
41597         * io/access.c: Likewise.
41598         * io/chdir.c: Likewise.
41599         * io/chmod.c: Likewise.
41600         * io/chown.c: Likewise.
41601         * io/close.c: Likewise.
41602         * io/dup.c: Likewise.
41603         * io/dup2.c: Likewise.
41604         * io/dup3.c: Likewise.
41605         * io/euidaccess.c: Likewise.
41606         * io/faccessat.c: Likewise.
41607         * io/fchdir.c: Likewise.
41608         * io/fchmod.c: Likewise.
41609         * io/fchmodat.c: Likewise.
41610         * io/fchown.c: Likewise.
41611         * io/fchownat.c: Likewise.
41612         * io/fcntl.c: Likewise.
41613         * io/flock.c: Likewise.
41614         * io/fstatfs.c: Likewise.
41615         * io/fstatfs64.c: Likewise.
41616         * io/fstatvfs.c: Likewise.
41617         * io/fstatvfs64.c: Likewise.
41618         * io/futimens.c: Likewise.
41619         * io/fxstat.c: Likewise.
41620         * io/fxstat64.c: Likewise.
41621         * io/fxstatat.c: Likewise.
41622         * io/fxstatat64.c: Likewise.
41623         * io/getcwd.c: Likewise.
41624         * io/isatty.c: Likewise.
41625         * io/lchmod.c: Likewise.
41626         * io/lchown.c: Likewise.
41627         * io/link.c: Likewise.
41628         * io/linkat.c: Likewise.
41629         * io/lseek.c: Likewise.
41630         * io/lseek64.c: Likewise.
41631         * io/lxstat64.c: Likewise.
41632         * io/mkdir.c: Likewise.
41633         * io/mkdirat.c: Likewise.
41634         * io/mkfifo.c: Likewise.
41635         * io/mkfifoat.c: Likewise.
41636         * io/open.c: Likewise.
41637         * io/open64.c: Likewise.
41638         * io/openat.c: Likewise.
41639         * io/openat64.c: Likewise.
41640         * io/pipe.c: Likewise.
41641         * io/pipe2.c: Likewise.
41642         * io/poll.c: Likewise.
41643         * io/posix_fadvise.c: Likewise.
41644         * io/posix_fadvise64.c: Likewise.
41645         * io/posix_fallocate.c: Likewise.
41646         * io/posix_fallocate64.c: Likewise.
41647         * io/read.c: Likewise.
41648         * io/readlink.c: Likewise.
41649         * io/readlinkat.c: Likewise.
41650         * io/rmdir.c: Likewise.
41651         * io/sendfile.c: Likewise.
41652         * io/sendfile64.c: Likewise.
41653         * io/statfs.c: Likewise.
41654         * io/statfs64.c: Likewise.
41655         * io/statvfs.c: Likewise.
41656         * io/statvfs64.c: Likewise.
41657         * io/symlink.c: Likewise.
41658         * io/symlinkat.c: Likewise.
41659         * io/ttyname.c: Likewise.
41660         * io/ttyname_r.c: Likewise.
41661         * io/umask.c: Likewise.
41662         * io/unlink.c: Likewise.
41663         * io/unlinkat.c: Likewise.
41664         * io/utime.c: Likewise.
41665         * io/utimensat.c: Likewise.
41666         * io/write.c: Likewise.
41667         * io/xmknod.c: Likewise.
41668         * io/xmknodat.c: Likewise.
41669         * io/xstat.c: Likewise.
41670         * io/xstat64.c: Likewise.
41671         * login/getpt.c: Likewise.
41672         * login/grantpt.c: Likewise.
41673         * login/unlockpt.c: Likewise.
41674         * math/e_acoshl.c: Likewise.
41675         * math/e_acosl.c: Likewise.
41676         * math/e_asinl.c: Likewise.
41677         * math/e_atan2l.c: Likewise.
41678         * math/e_atanhl.c: Likewise.
41679         * math/e_coshl.c: Likewise.
41680         * math/e_expl.c: Likewise.
41681         * math/e_fmodl.c: Likewise.
41682         * math/e_gammal_r.c: Likewise.
41683         * math/e_hypotl.c: Likewise.
41684         * math/e_j0l.c: Likewise.
41685         * math/e_j1l.c: Likewise.
41686         * math/e_jnl.c: Likewise.
41687         * math/e_lgammal_r.c: Likewise.
41688         * math/e_log10l.c: Likewise.
41689         * math/e_log2l.c: Likewise.
41690         * math/e_logl.c: Likewise.
41691         * math/e_powl.c: Likewise.
41692         * math/e_rem_pio2l.c: Likewise.
41693         * math/e_sinhl.c: Likewise.
41694         * math/e_sqrtl.c: Likewise.
41695         * math/fclrexcpt.c: Likewise.
41696         * math/fedisblxcpt.c: Likewise.
41697         * math/feenablxcpt.c: Likewise.
41698         * math/fegetenv.c: Likewise.
41699         * math/fegetexcept.c: Likewise.
41700         * math/fegetround.c: Likewise.
41701         * math/feholdexcpt.c: Likewise.
41702         * math/fesetenv.c: Likewise.
41703         * math/fesetround.c: Likewise.
41704         * math/feupdateenv.c: Likewise.
41705         * math/fgetexcptflg.c: Likewise.
41706         * math/fraiseexcpt.c: Likewise.
41707         * math/fsetexcptflg.c: Likewise.
41708         * math/ftestexcept.c: Likewise.
41709         * math/k_cosl.c: Likewise.
41710         * math/k_rem_pio2l.c: Likewise.
41711         * math/k_sinl.c: Likewise.
41712         * math/k_tanl.c: Likewise.
41713         * math/s_asinhl.c: Likewise.
41714         * math/s_atanl.c: Likewise.
41715         * math/s_cbrtl.c: Likewise.
41716         * math/s_erfl.c: Likewise.
41717         * math/s_expm1l.c: Likewise.
41718         * math/s_log1pl.c: Likewise.
41719         * math/s_tanhl.c: Likewise.
41720         * misc/acct.c: Likewise.
41721         * misc/brk.c: Likewise.
41722         * misc/chflags.c: Likewise.
41723         * misc/chroot.c: Likewise.
41724         * misc/fchflags.c: Likewise.
41725         * misc/fgetxattr.c: Likewise.
41726         * misc/flistxattr.c: Likewise.
41727         * misc/fremovexattr.c: Likewise.
41728         * misc/fsetxattr.c: Likewise.
41729         * misc/fsync.c: Likewise.
41730         * misc/ftruncate.c: Likewise.
41731         * misc/futimes.c: Likewise.
41732         * misc/futimesat.c: Likewise.
41733         * misc/getdomain.c: Likewise.
41734         * misc/getdtsz.c: Likewise.
41735         * misc/gethostid.c: Likewise.
41736         * misc/gethostname.c: Likewise.
41737         * misc/getloadavg.c: Likewise.
41738         * misc/getpagesize.c: Likewise.
41739         * misc/getsysstats.c: Likewise.
41740         * misc/getxattr.c: Likewise.
41741         * misc/gtty.c: Likewise.
41742         * misc/ioctl.c: Likewise.
41743         * misc/lgetxattr.c: Likewise.
41744         * misc/listxattr.c: Likewise.
41745         * misc/llistxattr.c: Likewise.
41746         * misc/lremovexattr.c: Likewise.
41747         * misc/lsetxattr.c: Likewise.
41748         * misc/lutimes.c: Likewise.
41749         * misc/madvise.c: Likewise.
41750         * misc/mincore.c: Likewise.
41751         * misc/mlock.c: Likewise.
41752         * misc/mlockall.c: Likewise.
41753         * misc/mmap.c: Likewise.
41754         * misc/mprotect.c: Likewise.
41755         * misc/msync.c: Likewise.
41756         * misc/munlock.c: Likewise.
41757         * misc/munlockall.c: Likewise.
41758         * misc/munmap.c: Likewise.
41759         * misc/preadv.c: Likewise.
41760         * misc/preadv64.c: Likewise.
41761         * misc/ptrace.c: Likewise.
41762         * misc/pwritev.c: Likewise.
41763         * misc/pwritev64.c: Likewise.
41764         * misc/readv.c: Likewise.
41765         * misc/reboot.c: Likewise.
41766         * misc/remap_file_pages.c: Likewise.
41767         * misc/removexattr.c: Likewise.
41768         * misc/revoke.c: Likewise.
41769         * misc/select.c: Likewise.
41770         * misc/setdomain.c: Likewise.
41771         * misc/setegid.c: Likewise.
41772         * misc/seteuid.c: Likewise.
41773         * misc/sethostid.c: Likewise.
41774         * misc/sethostname.c: Likewise.
41775         * misc/setregid.c: Likewise.
41776         * misc/setreuid.c: Likewise.
41777         * misc/setxattr.c: Likewise.
41778         * misc/sstk.c: Likewise.
41779         * misc/stty.c: Likewise.
41780         * misc/swapoff.c: Likewise.
41781         * misc/swapon.c: Likewise.
41782         * misc/sync.c: Likewise.
41783         * misc/syncfs.c: Likewise.
41784         * misc/syscall.c: Likewise.
41785         * misc/truncate.c: Likewise.
41786         * misc/ualarm.c: Likewise.
41787         * misc/usleep.c: Likewise.
41788         * misc/ustat.c: Likewise.
41789         * misc/utimes.c: Likewise.
41790         * misc/vhangup.c: Likewise.
41791         * misc/writev.c: Likewise.
41792         * posix/_exit.c: Likewise.
41793         * posix/alarm.c: Likewise.
41794         * posix/execve.c: Likewise.
41795         * posix/fexecve.c: Likewise.
41796         * posix/fork.c: Likewise.
41797         * posix/fpathconf.c: Likewise.
41798         * posix/getaddrinfo.c: Likewise.
41799         * posix/getegid.c: Likewise.
41800         * posix/geteuid.c: Likewise.
41801         * posix/getgid.c: Likewise.
41802         * posix/getgroups.c: Likewise.
41803         * posix/getlogin.c: Likewise.
41804         * posix/getlogin_r.c: Likewise.
41805         * posix/getpgid.c: Likewise.
41806         * posix/getpid.c: Likewise.
41807         * posix/getppid.c: Likewise.
41808         * posix/getresgid.c: Likewise.
41809         * posix/getresuid.c: Likewise.
41810         * posix/getsid.c: Likewise.
41811         * posix/getuid.c: Likewise.
41812         * posix/glob64.c: Likewise.
41813         * posix/nanosleep.c: Likewise.
41814         * posix/pathconf.c: Likewise.
41815         * posix/pause.c: Likewise.
41816         * posix/posix_madvise.c: Likewise.
41817         * posix/pread.c: Likewise.
41818         * posix/pread64.c: Likewise.
41819         * posix/pwrite.c: Likewise.
41820         * posix/pwrite64.c: Likewise.
41821         * posix/sched_getaffinity.c: Likewise.
41822         * posix/sched_getp.c: Likewise.
41823         * posix/sched_gets.c: Likewise.
41824         * posix/sched_primax.c: Likewise.
41825         * posix/sched_primin.c: Likewise.
41826         * posix/sched_rr_gi.c: Likewise.
41827         * posix/sched_setaffinity.c: Likewise.
41828         * posix/sched_setp.c: Likewise.
41829         * posix/sched_sets.c: Likewise.
41830         * posix/sched_yield.c: Likewise.
41831         * posix/setgid.c: Likewise.
41832         * posix/setlogin.c: Likewise.
41833         * posix/setpgid.c: Likewise.
41834         * posix/setresgid.c: Likewise.
41835         * posix/setresuid.c: Likewise.
41836         * posix/setsid.c: Likewise.
41837         * posix/setuid.c: Likewise.
41838         * posix/sleep.c: Likewise.
41839         * posix/spawni.c: Likewise.
41840         * posix/sysconf.c: Likewise.
41841         * posix/times.c: Likewise.
41842         * posix/wait.c: Likewise.
41843         * posix/wait3.c: Likewise.
41844         * posix/wait4.c: Likewise.
41845         * posix/waitpid.c: Likewise.
41846         * resolv/gai_sigqueue.c: Likewise.
41847         * resource/getpriority.c: Likewise.
41848         * resource/getrlimit.c: Likewise.
41849         * resource/getrusage.c: Likewise.
41850         * resource/nice.c: Likewise.
41851         * resource/setpriority.c: Likewise.
41852         * resource/setrlimit.c: Likewise.
41853         * resource/ulimit.c: Likewise.
41854         * rt/aio_cancel.c: Likewise.
41855         * rt/aio_fsync.c: Likewise.
41856         * rt/aio_read.c: Likewise.
41857         * rt/aio_sigqueue.c: Likewise.
41858         * rt/aio_suspend.c: Likewise.
41859         * rt/aio_write.c: Likewise.
41860         * rt/clock_getres.c: Likewise.
41861         * rt/clock_gettime.c: Likewise.
41862         * rt/clock_nanosleep.c: Likewise.
41863         * rt/clock_settime.c: Likewise.
41864         * rt/lio_listio.c: Likewise.
41865         * rt/mq_close.c: Likewise.
41866         * rt/mq_getattr.c: Likewise.
41867         * rt/mq_notify.c: Likewise.
41868         * rt/mq_open.c: Likewise.
41869         * rt/mq_receive.c: Likewise.
41870         * rt/mq_send.c: Likewise.
41871         * rt/mq_setattr.c: Likewise.
41872         * rt/mq_timedreceive.c: Likewise.
41873         * rt/mq_timedsend.c: Likewise.
41874         * rt/mq_unlink.c: Likewise.
41875         * rt/shm_open.c: Likewise.
41876         * rt/shm_unlink.c: Likewise.
41877         * rt/timer_create.c: Likewise.
41878         * rt/timer_delete.c: Likewise.
41879         * rt/timer_getoverr.c: Likewise.
41880         * rt/timer_gettime.c: Likewise.
41881         * rt/timer_settime.c: Likewise.
41882         * setjmp/__longjmp.c: Likewise.
41883         * setjmp/setjmp.c: Likewise.
41884         * signal/kill.c: Likewise.
41885         * signal/killpg.c: Likewise.
41886         * signal/raise.c: Likewise.
41887         * signal/sigaction.c: Likewise.
41888         * signal/sigaltstack.c: Likewise.
41889         * signal/sigblock.c: Likewise.
41890         * signal/sigignore.c: Likewise.
41891         * signal/sigintr.c: Likewise.
41892         * signal/signal.c: Likewise.
41893         * signal/sigpause.c: Likewise.
41894         * signal/sigpending.c: Likewise.
41895         * signal/sigqueue.c: Likewise.
41896         * signal/sigreturn.c: Likewise.
41897         * signal/sigset.c: Likewise.
41898         * signal/sigsetmask.c: Likewise.
41899         * signal/sigstack.c: Likewise.
41900         * signal/sigsuspend.c: Likewise.
41901         * signal/sigtimedwait.c: Likewise.
41902         * signal/sigvec.c: Likewise.
41903         * signal/sigwait.c: Likewise.
41904         * signal/sigwaitinfo.c: Likewise.
41905         * signal/sysv_signal.c: Likewise.
41906         * socket/accept.c: Likewise.
41907         * socket/accept4.c: Likewise.
41908         * socket/bind.c: Likewise.
41909         * socket/connect.c: Likewise.
41910         * socket/getpeername.c: Likewise.
41911         * socket/getsockname.c: Likewise.
41912         * socket/getsockopt.c: Likewise.
41913         * socket/isfdtype.c: Likewise.
41914         * socket/listen.c: Likewise.
41915         * socket/recv.c: Likewise.
41916         * socket/recvfrom.c: Likewise.
41917         * socket/recvmsg.c: Likewise.
41918         * socket/send.c: Likewise.
41919         * socket/sendmsg.c: Likewise.
41920         * socket/sendto.c: Likewise.
41921         * socket/setsockopt.c: Likewise.
41922         * socket/shutdown.c: Likewise.
41923         * socket/sockatmark.c: Likewise.
41924         * socket/socket.c: Likewise.
41925         * socket/socketpair.c: Likewise.
41926         * stdio-common/ctermid.c: Likewise.
41927         * stdio-common/cuserid.c: Likewise.
41928         * stdio-common/remove.c: Likewise.
41929         * stdio-common/rename.c: Likewise.
41930         * stdio-common/renameat.c: Likewise.
41931         * stdio-common/tempname.c: Likewise.
41932         * stdlib/getcontext.c: Likewise.
41933         * stdlib/makecontext.c: Likewise.
41934         * stdlib/setcontext.c: Likewise.
41935         * stdlib/swapcontext.c: Likewise.
41936         * stdlib/system.c: Likewise.
41937         * streams/fattach.c: Likewise.
41938         * streams/fdetach.c: Likewise.
41939         * streams/getmsg.c: Likewise.
41940         * streams/getpmsg.c: Likewise.
41941         * streams/putmsg.c: Likewise.
41942         * streams/putpmsg.c: Likewise.
41943         * sysdeps/unix/bsd/getpt.c: Likewise.
41944         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
41945         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
41946         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41948         Likewise.
41949         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
41950         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41951         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
41952         * sysvipc/msgctl.c: Likewise.
41953         * sysvipc/msgget.c: Likewise.
41954         * sysvipc/msgrcv.c: Likewise.
41955         * sysvipc/msgsnd.c: Likewise.
41956         * sysvipc/semctl.c: Likewise.
41957         * sysvipc/semget.c: Likewise.
41958         * sysvipc/semop.c: Likewise.
41959         * sysvipc/semtimedop.c: Likewise.
41960         * sysvipc/shmat.c: Likewise.
41961         * sysvipc/shmctl.c: Likewise.
41962         * sysvipc/shmdt.c: Likewise.
41963         * sysvipc/shmget.c: Likewise.
41964         * termios/tcdrain.c: Likewise.
41965         * termios/tcflow.c: Likewise.
41966         * termios/tcflush.c: Likewise.
41967         * termios/tcgetattr.c: Likewise.
41968         * termios/tcgetpgrp.c: Likewise.
41969         * termios/tcsendbrk.c: Likewise.
41970         * termios/tcsetattr.c: Likewise.
41971         * termios/tcsetpgrp.c: Likewise.
41972         * time/adjtime.c: Likewise.
41973         * time/clock.c: Likewise.
41974         * time/getitimer.c: Likewise.
41975         * time/gettimeofday.c: Likewise.
41976         * time/setitimer.c: Likewise.
41977         * time/settimeofday.c: Likewise.
41978         * time/stime.c: Likewise.
41979         * time/time.c: Likewise.
41981 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
41983         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
41984         /usr/old/bin.
41986         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
41987         instead of spaces.
41988         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
41990 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
41992         [BZ #14796]
41993         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
41994         FE_TONEAREST before applying Dekker multiplication and Knuth
41995         addition.  Clear inexact exceptions and check for exact zero
41996         results afterwards.
41997         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41998         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41999         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42000         * math/libm-test.inc (fma_test): Add more tests.
42001         (fma_test_towardzero): Likewise.
42002         (fma_test_downward): Likewise.
42003         (fma_test_upward): Likewise.
42004         * sysdeps/generic/math_private.h (default_libc_fesetround): New
42005         function.
42006         (libc_fesetround): New macro.
42007         (libc_fesetroundf): Likewise.
42008         (libc_fesetroundl): Likewise.
42009         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
42010         function.
42011         (libc_fesetround_387): Likewise.
42012         (libc_fesetroundf): New macro.
42013         (libc_fesetround): Likewise.
42014         (libc_fesetroundl): Likewise.
42015         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
42016         function.
42017         (libc_fesetroundf): New macro.
42018         (libc_fesetround): Likewise.
42019         (libc_fesetroundl): Likewise.
42020         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
42021         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
42022         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
42023         libm_hidden_ver.
42024         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
42025         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
42026         libm_hidden_def.
42027         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
42028         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
42029         libm_hidden_ver.
42030         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
42031         libm_hidden_def.
42033         [BZ #3439]
42034         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
42035         integer constant usable in #if and use that to give value to enum
42036         constant.
42037         (FE_DIVBYZERO): Likewise.
42038         (FE_UNDERFLOW): Likewise.
42039         (FE_OVERFLOW): Likewise.
42040         (FE_INVALID): Likewise.
42041         (FE_INVALID_SNAN): Likewise.
42042         (FE_INVALID_ISI): Likewise.
42043         (FE_INVALID_IDI): Likewise.
42044         (FE_INVALID_ZDZ): Likewise.
42045         (FE_INVALID_IMZ): Likewise.
42046         (FE_INVALID_COMPARE): Likewise.
42047         (FE_INVALID_SOFTWARE): Likewise.
42048         (FE_INVALID_SQRT): Likewise.
42049         (FE_INVALID_INTEGER_CONVERSION): Likewise.
42050         (FE_TONEAREST): Likewise.
42051         (FE_TOWARDZERO): Likewise.
42052         (FE_UPWARD): Likewise.
42053         (FE_DOWNWARD): Likewise.
42054         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
42055         (FE_DIVBYZERO): Likewise.
42056         (FE_OVERFLOW): Likewise.
42057         (FE_UNDERFLOW): Likewise.
42058         (FE_INEXACT): Likewise.
42059         (FE_TONEAREST): Likewise.
42060         (FE_DOWNWARD): Likewise.
42061         (FE_UPWARD): Likewise.
42062         (FE_TOWARDZERO): Likewise.
42063         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
42064         (FE_UNDERFLOW): Likewise.
42065         (FE_OVERFLOW): Likewise.
42066         (FE_DIVBYZERO): Likewise.
42067         (FE_INVALID): Likewise.
42068         (FE_TONEAREST): Likewise.
42069         (FE_TOWARDZERO): Likewise.
42070         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
42071         (FE_OVERFLOW): Likewise.
42072         (FE_UNDERFLOW): Likewise.
42073         (FE_DIVBYZERO): Likewise.
42074         (FE_INEXACT): Likewise.
42075         (FE_TONEAREST): Likewise.
42076         (FE_TOWARDZERO): Likewise.
42077         (FE_UPWARD): Likewise.
42078         (FE_DOWNWARD): Likewise.
42079         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
42080         (FE_DIVBYZERO): Likewise.
42081         (FE_OVERFLOW): Likewise.
42082         (FE_UNDERFLOW): Likewise.
42083         (FE_INEXACT): Likewise.
42084         (FE_TONEAREST): Likewise.
42085         (FE_DOWNWARD): Likewise.
42086         (FE_UPWARD): Likewise.
42087         (FE_TOWARDZERO): Likewise.
42089 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
42091         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
42093 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
42095         * scripts/cross-test-ssh.sh (command): Use newlines to separate
42096         commands.  Quote $PWD.
42097         (blacklist_exports): Don't use remove_newlines.  Replace "declare
42098         -x" by "export".
42099         (remove_newlines): Remove.
42101 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
42103         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
42104         * stdlib/stdlib.h (atof): Moved to ...
42105         * include/bits/stdlib-float.h: Here.  New file.
42106         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
42107         * stdlib/bits/stdlib-float.h: New file.
42108         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
42109         -mno-sse -mno-mmx.
42110         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
42111         <xmmintrin.h>.
42113 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42115         * conform/conformtest.pl (@headers): Add fenv.h.
42116         * conform/data/fenv.h-data: New file.
42117         * include/fenv.h [_ISOMAC]: Disable all contents of file except
42118         include of <math/fenv.h>.
42120         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
42121         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
42122         && !UNIX98].  Enables tests for XOPEN2K8.
42123         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
42124         POSIX2008]: Likewise.
42126         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
42127         (struct rusage): Do not expect type or its members.
42129         [BZ #3439]
42130         * math/math.h (FP_NAN): Define macro to integer constant usable in
42131         #if and use that to give value to enum constant.
42132         (FP_INFINITE): Likewise.
42133         (FP_ZERO): Likewise.
42134         (FP_SUBNORMAL): Likewise.
42135         (FP_NORMAL): Likewise.
42137 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
42139         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
42140         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
42141         arguments.
42143 2012-11-02  Roland McGrath  <roland@hack.frob.com>
42145         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
42146         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
42147         autoconf-time if not.
42148         * configure.in: Remove AC_PREREQ.
42150 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42152         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
42153         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
42154         of the internal implementation.
42156 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42158         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
42159         except include of <misc/sys/syslog.h>.
42161 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
42164         function returns with a NULL context exit with zero.
42166 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42168         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
42170 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
42172         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
42173         (run_program_cmd): This.
42174         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
42175         (tst_langinfo): New variable.  Use it.
42177 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
42179         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
42180         floating point opcodes.
42182 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42184         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
42185         variable.
42187         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
42189         * sysdeps/mach/hurd/powerpc: Remove directory.
42190         * sysdeps/mach/powerpc: Likewise.
42192 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42194         * scripts/check-local-headers.sh: Ignore c++ headers.
42196 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42198         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
42199         __libc_cleanup_region_start argument.
42201 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
42203         [BZ #14784]
42204         [BZ #14785]
42205         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
42206         x * y using scaling, not as x * y + z.
42207         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42208         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42209         * math/libm-test.inc (fma_test): Add more tests.
42210         (fma_test_towardzero): Likewise.
42211         (fma_test_downward): Likewise.
42212         (fma_test_upward): Likewise.
42214 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42216         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
42218 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
42220         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
42221         New variable.
42223 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
42225         * rt/tst-shm.c (worker): Correct checking for mmap failure.
42227 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
42229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42230         Fix sort order.
42231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42232         Likewise.
42234 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42237         Fix the order of the list for glibc 2.17.
42238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42239         Likewise.
42241 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
42243         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42245 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
42247         [BZ #14610]
42248         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
42249         for low part of x being zero before using __atanl (y).
42250         * math/libm-test.inc (atan2_test): Add another test.
42252         * manual/install.texi (Configuring and compiling): Document
42253         general use of test-wrapper and test-wrapper-env.
42254         * INSTALL: Regenerated.
42256         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
42257         (__fma): Do not extract and scale down low bits on after-rounding
42258         systems when result rounded to normal precision would have normal
42259         exponent.
42260         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
42261         (__fmal): Do not extract and scale down low bits on after-rounding
42262         systems when result rounded to normal precision would have normal
42263         exponent.
42264         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
42265         (__fmal): Do not extract and scale down low bits on after-rounding
42266         systems when result rounded to normal precision would have normal
42267         exponent.
42268         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
42269         macro.
42270         (fma_test): Add more tests.
42271         (fma_test_towardzero): Likewise.
42272         (fma_test_downward): Likewise.
42273         (fma_test_upward): Likewise.
42275 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
42277         * sysdeps/i386/tininess.h: Renamed to ...
42278         * sysdeps/x86/tininess.h: This.
42279         * sysdeps/x86_64/tininess.h: Removed.
42281 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
42283         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
42284         input.  Use $(build-program-cmd).
42285         ($(objpfx)tst-array1-static.out): Likewise.
42286         ($(objpfx)tst-array2.out): Likewise.
42287         ($(objpfx)tst-array3.out): Likewise.
42288         ($(objpfx)tst-array4.out): Likewise.
42289         ($(objpfx)tst-array5.out): Likewise.
42290         ($(objpfx)tst-array5-static.out): Likewise.
42292 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
42294         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
42295         if defined.
42297         * nss/nsswitch.h (nss_interface_function): Provide new
42298         macro for use with NSS functions.
42299         * grp/initgroups.c: Use new macro.
42300         * nss/getXXbyYY.c: Likewise.
42301         * nss/getXXbyYY_r.c: Likewise.
42302         * nss/getXXent.c: Likewise.
42303         * nss/getXXent_r.c: Likewise.
42304         * sysdeps/posix/getaddrinfo.c: Likewise.
42306 2012-10-30  Andreas Jaeger  <aj@suse.de>
42308         * po/ru.po: Update Russion translation from translation project.
42310 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
42312         [BZ #14152]
42313         [BZ #14783]
42314         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
42315         result and shift together with sticky bit instead of replicating
42316         round-to-nearest rounding.
42317         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42318         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42319         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
42320         missing underflow exceptions.
42321         (fma_test_towardzero): Add more tests.
42322         (fma_test_downward): Likewise.
42323         (fma_test_upward): Likewise.
42325         [BZ #14047]
42326         * sysdeps/generic/tininess.h: New file.
42327         * sysdeps/i386/tininess.h: Likewise.
42328         * sysdeps/sh/tininess.h: Likewise.
42329         * sysdeps/x86_64/tininess.h: Likewise.
42330         * stdlib/tst-strtod-underflow.c: Likewise.
42331         * stdlib/tst-tininess.c: Likewise.
42332         * stdlib/strtod_l.c: Include <tininess.h>.
42333         (round_and_return): Do not set errno for exact underflow cases.
42334         Force an underflow exception when setting errno for underflow.
42335         Determine underflow based on rounding to normal precision if
42336         TININESS_AFTER_ROUNDING.
42337         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
42338         ERANGE for exact underflow cases.
42339         * stdlib/Makefile (tests): Add tst-tininess and
42340         tst-strtod-underflow.
42341         ($(objpfx)tst-tininess): Use $(link-libm).
42342         ($(objpfx)tst-strtod-underflow): Likewise.
42344 2012-10-30  Andreas Jaeger  <aj@suse.de>
42346         [BZ#14767]
42347         * elf/Makefile (tests): Remove conditional for have-initfini-array
42348         since this is now always required and the variable does not exist
42349         anymore.
42350         (tests-static): Likewise.
42351         (modules-names): Likewise.
42353         * po/eo.po: Add Esperanto translation from translation project.
42355         * elf/tst-array1.c (fini_array): Make writeable so that it can be
42356         merged with constructor/destructor.
42357         (init_array): Likewise.
42358         * elf/tst-array2dep.c (fini_array): Likewise.
42359         (init_array): Likewise.
42361 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
42363         * manual/message.texi: Delete @cartouche tags.
42365 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
42367         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
42368         EOPNOTSUPP.
42369         * sysdeps/mach/hurd/fsync.c: Likewise.
42371         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
42372         [_POSIX_REALTIME_SIGNALS]: Change condition to
42373         [_POSIX_REALTIME_SIGNALS > 0].
42375 2012-10-27  Andreas Jaeger  <aj@suse.de>
42377         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
42378         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
42379         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
42380         [__WORDSIZE != 64]: Likewise.
42382 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
42384         *  iconvdata/tst-table.sh: Remove ${SHELL}.
42385         *  iconvdata/tst-tables.sh: Likewise.
42387 2012-10-25  David S. Miller  <davem@davemloft.net>
42389         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42390         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
42391         of strtoull.
42393         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
42394         ifunc-impl-list.c
42395         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42396         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
42397         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
42398         file.
42400 2012-10-25  Roland McGrath  <roland@hack.frob.com>
42402         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42403         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
42404         __getdirentries.
42406 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
42407             Jim Blandy  <jimb@codesourcery.com>
42409         * scripts/cross-test-ssh.sh: New file.
42410         * manual/install.texi (Configuring and compiling): Document use of
42411         cross-test-ssh.sh.
42412         * INSTALL: Regenerated.
42414 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
42416         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
42417         EOPNOTSUPP.
42419 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
42421         * Makeconfig (run-program-prefix): Fix comment.
42423 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
42424             Jim Blandy  <jimb@codesourcery.com>
42426         * Makeconfig (test-wrapper): New variable,
42427         (test-wrapper-env): Likewise.
42428         [$(cross-compiling) = yes && $(test-wrapper) != ""]
42429         (run-built-tests): Define to yes.
42430         (run-program-prefix): Use $(test-wrapper).
42431         (built-program-cmd): Likewise.
42432         * Rules (make-test-out): Use $(test-wrapper-env) and
42433         $(host-built-program-cmd).
42434         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
42435         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
42436         tst-pathopt.sh.
42437         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
42438         $(test-wrapper-env) to tst-rtld-load-self.sh.
42439         ($(objpfx)order2.out): Use $(test-wrapper).
42440         ($(objpfx)tst-initorder.out): Likewise.
42441         ($(objpfx)tst-initorder2.out): Likewise.
42442         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
42443         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
42444         (test_wrapper_env): New variable.  Use it to run ld.so.
42445         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
42446         Use it to run ld.so.
42447         (test_wrapper_env): Likewise.
42448         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
42449         $(test-wrapper) to run-iconv-test.sh.
42450         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
42451         (ICONV): Use $test_wrapper.
42452         * posix/Makefile ($(objpfx)globtest.out): Pass
42453         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
42454         globtest.sh, not $(run-program-prefix).
42455         * posix/globtest.sh (run_via_rtld_prefix): New variable.
42456         (test_wrapper): Likewise.
42457         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
42458         set together with run_via_rtld_prefix.
42459         (run_program_prefix): Define in terms of test_wrapper and
42460         run_via_rtld_prefix.
42462 2012-10-24  Roland McGrath  <roland@hack.frob.com>
42464         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
42465         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
42466         Targets removed.
42468         [BZ #14743]
42469         * include/time.h: Remove librt_hidden_proto (clock_gettime).
42470         Declare __clock_getres, __clock_gettime, __clock_settime,
42471         __clock_nanosleep, and __clock_getcpuclockid.
42472         * rt/clock_gettime.c: Define __clock_gettime as an alias.
42473         Remove librt_hidden_def (clock_gettime).
42474         * sysdeps/unix/clock_gettime.c: Likewise.
42475         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
42476         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
42477         * rt/clock_getres.c: Define __clock_getres as an alias.
42478         * sysdeps/posix/clock_getres.c: Likewise.
42479         * rt/clock_settime.c: Define __clock_settime as an alias.
42480         * sysdeps/unix/clock_settime.c: Likewise.
42481         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
42482         * sysdeps/unix/clock_nanosleep.c: Likewise.
42483         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
42484         * rt/clock-compat.c: New file.
42485         * rt/Makefile (librt-routines): Add clock-compat and move
42486         $(clock-routines) to ...
42487         (routines): ... here, new variable.
42488         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
42489         Don't add get_clockfreq here.
42490         * rt/Versions (libc: GLIBC_2.17): New version set.
42491         Add clock_* symbols here.
42492         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
42493         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
42494         (GLIBC_2.17): Add clock_* symbols.
42495         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
42496         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
42497         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
42498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42499         Likewise.
42500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42501         Likewise.
42502         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
42503         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
42504         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
42505         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
42506         * NEWS: Mention the move.
42508         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
42509         Use __open, __read, __close rather than their public counterparts.
42510         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42511         (__get_clockfreq_via_cpuinfo): Likewise.
42512         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
42513         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
42515         * config.h.in (HAVE_IFUNC): New #undef.
42516         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
42517         was successful.
42518         * configure: Regenerated.
42520 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
42522         * configure.in: Move READELF check to start of file.
42523         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
42524         libc_cv_asm_gnu_indirect_function in the process.
42525         * configure: Regenerated.
42527 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
42529         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
42530         send the output to /dev/null.
42531         (libc_cv_cc_with_libunwind): Likewise.
42532         (libc_cv_as_noexecstack): Likewise.
42533         * configure: Regenerate.
42535 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
42537         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
42539         * posix/globtest.sh (TMPDIR): Do not set.
42540         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
42541         (testout): Likewise.
42543 2012-10-24  Andreas Jaeger  <aj@suse.de>
42545         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
42546         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
42547         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
42548         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
42549         posix_fadvise64, posix_fallocate64.
42551         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
42552         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
42553         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
42554         Likewise.
42555         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
42556         Likewise.
42557         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
42559         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
42560         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
42561         <bits/fcntl-linux.h>.
42562         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
42564         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
42565         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
42566         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
42567         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
42568         [__WORDSIZE != 64]: Likewise.
42570 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
42572         * Makeconfig (run-built-tests): New variable.
42573         * Rules [$(cross-compiling) = yes]: Change condition to
42574         [$(run-built-tests) = no].
42575         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
42576         to [$(run-built-tests) = yes].
42577         * elf/Makefile [$(cross-compiling) = no]: Likewise
42578         * grp/Makefile [$(cross-compiling) = no]: Likewise.
42579         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
42580         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
42581         * intl/Makefile [$(cross-compiling) = no]: Likewise.
42582         * io/Makefile [$(cross-compiling) = no]: Likewise.
42583         * libio/Makefile [$(cross-compiling) = no]: Likewise.
42584         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
42585         * misc/Makefile [$(cross-compiling) = no]: Likewise.
42586         * posix/Makefile [$(cross-compiling) = no]: Likewise.
42587         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
42588         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
42589         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
42590         * string/Makefile [$(cross-compiling) = no]: Likewise.
42592         * posix/Makefile ($(objpfx)globtest.out): Pass
42593         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
42594         $(rtld-installed-name).
42595         * posix/globtest.sh (elf_objpfx): Remove variable.
42596         (rtld_installed_name): Likewise.
42597         (library_path): Likewise.
42598         (run_program_prefix): New variable.  Use for running globtest
42599         binary.
42601 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
42602             Joseph Myers  <joseph@codesourcery.com>
42604         * Makeconfig (host-built-program-cmd): New variable.
42605         * elf/Makefile (tst-stackguard1-ARGS): Use
42606         $(host-built-program-cmd).
42607         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
42608         (tst-spawn-ARGS): Likewise.
42609         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
42611 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
42612             Jim Blandy  <jimb@codesourcery.com>
42614         * Makeconfig (run-via-rtld-prefix): New variable.
42615         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
42616         (built-program-cmd): Likewise.
42618 2012-10-22  Andreas Jaeger  <aj@suse.de>
42620         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
42621         __O_RSYNC if it exists, otherwise to O_SYNC.
42623 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
42624             Joseph Myers  <joseph@codesourcery.com>
42626         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
42627         /dev/null.
42628         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
42629         from /dev/null
42630         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
42631         /dev/null.
42633 2012-10-22  Andreas Jaeger  <aj@suse.de>
42635         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
42636         Define always.
42637         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
42639         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42640         bits/fcntl-linux.h.
42642         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
42643         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
42645         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
42646         to __O_LARGEFILE.
42647         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
42648         to __O_LARGEFILE.
42650 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
42651             Joseph Myers  <joseph@codesourcery.com>
42653         * config.make.in (NM): New variable.
42655 2012-10-21  Andreas Jaeger  <aj@suse.de>
42657         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
42658         definitions and declarations that are provided by
42659         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
42661 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
42663         [BZ #14683]
42664         * elf/Makefile (tests-static): Add tst-leaks1-static.
42665         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
42666         ($(objpfx)tst-leaks1-static): New rule.
42667         ($(objpfx)tst-leaks1-static-mem): Likewise.
42668         (tst-leaks1-static-ENV): New macro.
42669         * elf/dl-open.c (dl_open_worker): Check the main application
42670         only if SHARED is defined.
42671         * elf/tst-leaks1-static.c: New file.
42673 2012-10-20  Andreas Jaeger  <aj@suse.de>
42675         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
42676         generic values for Linux.
42677         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
42678         and declarations that are provided by <bits/fcntl-linux.h> and
42679         include <bits/fcntl-linux.h>.
42680         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42681         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42683 2012-10-20  Roland McGrath  <roland@hack.frob.com>
42685         * io/fcntl.h: Move include of <bits/types.h> to the top and
42686         include it unconditionally.
42688 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
42690         * wcsmbs/Makefile (tests-ifunc): New variable.
42691         (tests): Add $(tests-ifunc).
42692         * wcsmbs/test-wcschr-ifunc.c: New file.
42693         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
42694         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
42695         * wcsmbs/test-wcslen-ifunc.c: Likewise.
42696         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
42697         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
42699         * string/Makefile (tests-ifunc): New variable.
42700         (tests): Add $(tests-ifunc).
42701         * string/test-memccpy.c (TEST_NAME): New macro.
42702         * string/test-memchr.c (TEST_NAME): Likewise.
42703         * string/test-memcmp.c (TEST_NAME): Likewise.
42704         * string/test-memcpy.c (TEST_NAME): Likewise.
42705         * string/test-memmem.c (TEST_NAME): Likewise.
42706         * string/test-memmove.c (TEST_NAME): Likewise.
42707         * string/test-memset.c (TEST_NAME): Likewise.
42708         * string/test-rawmemchr.c (TEST_NAME): Likewise.
42709         * string/test-stpcpy.c (TEST_NAME): Likewise.
42710         * string/test-stpncpy.c (TEST_NAME): Likewise.
42711         * string/test-strcasecmp.c (TEST_NAME): Likewise.
42712         * string/test-strcasestr.c (TEST_NAME): Likewise.
42713         * string/test-strcat.c (TEST_NAME): Likewise.
42714         * string/test-strchr.c (TEST_NAME): Likewise.
42715         * string/test-strcmp.c(TEST_NAME): Likewise.
42716         * string/test-strcpy.c (TEST_NAME): Likewise.
42717         * string/test-strcspn.c (TEST_NAME): Likewise.
42718         * string/test-strlen.c (TEST_NAME): Likewise.
42719         * string/test-strncasecmp.c (TEST_NAME): Likewise.
42720         * string/test-strncmp.c (TEST_NAME): Likewise.
42721         * string/test-strncpy.c (TEST_NAME): Likewise.
42722         * string/test-strnlen.c (TEST_NAME): Likewise.
42723         * string/test-strpbrk.c (TEST_NAME): Likewise.
42724         * string/test-strrchr.c (TEST_NAME): Likewise.
42725         * string/test-strspn.c (TEST_NAME): Likewise.
42726         * string/test-strstr.c (TEST_NAME): Likewise.
42727         * string/test-bcopy-ifunc.c: New file.
42728         * string/test-bzero-ifunc.c: Likewise.
42729         * string/test-memccpy-ifunc.c: Likewise.
42730         * string/test-memchr-ifunc.c: Likewise.
42731         * string/test-memcmp-ifunc.c: Likewise.
42732         * string/test-memcpy-ifunc.c: Likewise.
42733         * string/test-memmem-ifunc.c: Likewise.
42734         * string/test-memmove-ifunc.c: Likewise.
42735         * string/test-mempcpy-ifunc.c: Likewise.
42736         * string/test-memset-ifunc.c: Likewise.
42737         * string/test-rawmemchr-ifunc.c: Likewise.
42738         * string/test-stpcpy-ifunc.c: Likewise.
42739         * string/test-stpncpy-ifunc.c: Likewise.
42740         * string/test-strcasecmp-ifunc.c: Likewise.
42741         * string/test-strcasestr-ifunc.c: Likewise.
42742         * string/test-strcat-ifunc.c: Likewise.
42743         * string/test-strchr-ifunc.c: Likewise.
42744         * string/test-strchrnul-ifunc.c: Likewise.
42745         * string/test-strcmp-ifunc.c: Likewise.
42746         * string/test-strcpy-ifunc.c: Likewise.
42747         * string/test-strcspn-ifunc.c: Likewise.
42748         * string/test-strlen-ifunc.c: Likewise.
42749         * string/test-strncasecmp-ifunc.c: Likewise.
42750         * string/test-strncat-ifunc.c: Likewise.
42751         * string/test-strncmp-ifunc.c: Likewise.
42752         * string/test-strncpy-ifunc.c: Likewise.
42753         * string/test-strnlen-ifunc.c: Likewise.
42754         * string/test-strpbrk-ifunc.c: Likewise.
42755         * string/test-strrchr-ifunc.c: Likewise.
42756         * string/test-strspn-ifunc.c: Likewise.
42757         * string/test-strstr-ifunc.c: Likewise.
42759         * debug/Makefile (tests-ifunc): New variable.
42760         (tests): Add $(tests-ifunc).
42761         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
42762         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
42763         * debug/test-stpcpy_chk-ifunc.c: New file.
42764         * debug/test-strcpy_chk-ifunc.c: Likewise.
42766 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42768         [BZ #13601]
42769         * elf/dl-load.c (open_verify): Retry read if the entire ELF
42770         header is not read in.
42772 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
42774         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
42775         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
42776         directly.  Pass built executable to script as
42777         $(built-program-cmd).
42778         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
42779         $testprogram without using LD_LIBRARY_PATH and $ldso.
42781         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
42782         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
42783         $(rtld-installed-name).
42784         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
42785         (rtld_installed_name): Likewise.
42786         (library_path): Likewise.
42787         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
42788         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
42789         $(run-program-prefix) to tst-tables.sh.
42790         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
42791         it to run tst-table-from and tst-table-to.
42792         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
42793         Pass it to tst-table.sh.
42794         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
42795         $(run-program-prefix) to tst-gettext.sh.
42796         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
42797         tst-translit.sh.
42798         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
42799         tst-gettext2.sh.
42800         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
42801         to run tst-gettext.
42802         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
42803         to run tst-gettext2.
42804         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
42805         to run tst-translit.
42806         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
42807         $(run-program-prefix) to tst-mtrace.sh.
42808         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
42809         to run tst-mtrace.
42810         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
42811         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
42812         $(rtld-installed-name).
42813         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
42814         (rtld_installed_name): Likewise.
42815         (run_program_prefix): New variable.  Use it to run wordexp-test.
42817         * Makeconfig (ARCH): Remove all definitions.
42818         (machine): Likewise.
42819         [ARCH]: Remove conditional code.
42820         [!objdir]: Give error.
42821         [!objdir] (objpfx): Remove.
42822         [!objdir] (common-objpfx): Likewise.
42823         [!objdir] (common-objdir): Likewise.
42824         * configure.in (config_makefile): Remove.  Hardcode Makefile in
42825         AC_CONFIG_FILES call.
42826         * configure: Regenerated.
42828         [BZ #13888]
42829         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
42830         or TMPDIR.
42831         (testout): Likewise.
42833         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
42834         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
42835         $(rtld-installed-name).
42836         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
42837         (rtld_installed_name): Likwise.
42838         (runit): Remove function.
42839         (run_getconf): New variable,  Use it for running getconf binary.
42841 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
42843         [BZ #14716]
42844         * string/test-memmem.c (check_result): New function.
42845         (do_one_test): Use it.
42846         (check1): New function.
42847         (test_main): Use it.
42849 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
42851         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
42853 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
42855         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
42856         (_G_LSEEK64): Likewise.
42857         (_G_MMAP64): Likewise.
42858         (_G_FSTAT64): Likewise.
42859         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
42860         (_G_LSEEK64): Likewise.
42861         (_G_MMAP64): Likewise.
42862         (_G_FSTAT64): Likewise.
42863         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
42864         unconditional.  Call __mmap64 directly.
42865         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
42866         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
42867         __lseek64 directly.
42868         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
42869         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
42870         __mmap64 directly.
42871         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
42872         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
42873         __lseek64 directly.
42874         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
42875         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
42876         __lseek64 directly.
42877         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
42878         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
42879         __lseek64 directly.
42880         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
42881         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
42882         __fxstat64 directly.
42883         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
42884         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
42885         unconditional.
42886         (freopen64) [!_G_OPEN64]: Remove conditional code.
42887         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
42888         unconditional.
42889         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
42890         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
42891         unconditional.
42892         (ftello64) [!_G_LSEEK64]: Remove conditional code.
42893         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
42894         unconditional.
42895         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42896         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
42897         unconditional.
42898         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
42899         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
42900         unconditional.
42901         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42902         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
42903         unconditional.
42904         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42905         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
42906         unconditional.
42907         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42909 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42911         [BZ #12140]
42912         * manual/memory.texi (Malloc Tunable Parameters): Add note
42913         about free list pointers overwriting some perturb bytes.
42914         Wording suggested by Roland McGrath.
42916 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
42918         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
42919         (lgamma_test): Likewise.
42920         (tgamma_test): Likewise.
42922 2012-10-16  Florian Weimer  <fweimer@redhat.com>
42924         [BZ #14700]
42925         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
42926         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
42928 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
42930         * NEWS: Mention BZ #14716.
42931         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
42932         when removing AVAILABLE1_USES_J macro.
42934 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
42936         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
42937         (__bswap_64): __uint64_t for unsigned 64-bit int.
42939 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
42941         * include/string.h (memmem): Declare libc hidden alias.
42942         * string/memmem.c (memmem): Define libc hidden alias.
42943         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
42944         __read, __close instead of open, read, close.
42946 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
42948         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
42949         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
42950         global and hidden.
42951         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
42952         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
42953         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
42954         Likewise.
42955         (__rawmemchr_sse2): Likewise.
42956         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
42957         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
42958         (__strchr_sse2): Likewise.
42959         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
42960         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
42961         (__strcasecmp_sse2): Likewise.
42962         (__strncasecmp_sse2): Likewise.
42963         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
42964         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
42965         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
42966         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
42967         (__strrchr_sse2): Likewise.
42968         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
42969         ifunc-impl-list.c.
42970         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
42971         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
42972         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
42973         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42974         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
42975         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
42976         * sysdeps/x86_64/multiarch/memset.S: Likewise.
42977         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42978         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
42979         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
42980         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
42981         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
42982         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
42983         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
42984         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
42985         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42986         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
42987         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
42988         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
42989         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
42990         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
42991         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
42992         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
42993         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
42994         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
42995         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42996         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
42997         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42998         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
42999         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43001         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
43002         global and hidden.
43003         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
43004         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
43005         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
43006         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
43007         Likewise.
43008         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
43009         Likewise.
43010         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
43011         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
43012         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
43013         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
43014         ifunc-impl-list.c.
43015         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43016         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43017         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43018         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43019         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43020         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43021         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43022         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43023         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43024         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43025         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43026         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43027         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43028         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
43029         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
43030         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43031         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
43032         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
43033         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43034         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43035         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43036         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43037         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43038         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43039         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43040         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
43041         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
43042         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
43043         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
43044         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43045         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
43046         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43047         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43048         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
43049         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43050         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43051         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43052         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43053         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43054         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43055         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
43057         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
43058         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
43059         * include/ifunc-impl-list.h: New file.
43060         * misc/ifunc-impl-list.c: Likewise.
43061         * misc/Makefile (routines): Add ifunc-impl-list.
43062         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
43063         * string/test-string.h: Include <ifunc-impl-list.h>.
43064         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
43065         TEST_NAME]: New variables.
43066         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
43067         are defined.
43068         (test_init): Call __libc_ifunc_impl_list to initialize
43069         func_list if TEST_IFUNC and TEST_NAME are defined.
43071         * string/Makefile (strop-tests): Add bcopy and bzero.
43072         * string/test-bcopy.c: New file.
43073         * string/test-bzero.c: Likewise.
43074         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
43075         defined.
43076         * string/test-memset.c: Support bzero test if TEST_BZERO is
43077         defined.
43078         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
43079         __libc_memmove.
43080         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
43081         __libc_memset.
43082         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
43083         of memset.
43085 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
43087         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
43088         * configure: Regenerated.
43090         * Makeconfig (+link-static-before-libc): Don't include
43091         $(link-static-libc).
43093         * libio/libio.h (_IO_pos_t): Remove.
43095 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43097         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
43098         McGrath.
43100 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43102         * crypt/crypt-entry.c: Include fips-private.h.
43103         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
43104         * crypt/md5c-test.c (main): Tolerate disabled MD5.
43105         * sysdeps/unix/sysv/linux/fips-private.h: New file.
43106         * sysdeps/generic/fips-private.h: New file, dummy fallback.
43108 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43110         * crypt/crypt-private.h: Include stdbool.h.
43111         (_ufc_setup_salt_r): Return bool.
43112         * crypt/crypt-entry.c: Include errno.h.
43113         (__crypt_r): Return NULL with EINVAL for bad salt.
43114         * crypt/crypt_util.c (bad_for_salt): New.
43115         (_ufc_setup_salt_r): Check that salt is long enough and within
43116         the specified alphabet.
43117         * crypt/badsalttest.c: New file.
43118         * crypt/Makefile (tests): Add it.
43119         ($(objpfx)badsalttest): New.
43121 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
43123         * NEWS: Add entry for BZ #14602.
43125 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43127         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
43128         type-generic.
43129         * math/libm-test.inc: Update comment listing what functions and
43130         macros are tested.
43131         (isgreater_test): New function.
43132         (isgreaterequal_test): Likewise.
43133         (isless_test): Likewise.
43134         (islessequal_test): Likewise.
43135         (islessgreater_test): Likewise.
43136         (isunordered_test): Likewise.
43137         (main): Call the new functions.
43139 2012-10-09  Roland McGrath  <roland@hack.frob.com>
43141         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
43142         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
43143         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
43144         * sysdeps/i386/configure: Regenerated.
43145         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
43146         * sysdeps/mach/configure: Regenerated.
43147         * sysdeps/mach/hurd/configure: Regenerated.
43148         * sysdeps/powerpc/configure: Regenerated.
43149         * sysdeps/powerpc/powerpc32/configure: Regenerated.
43150         * sysdeps/powerpc/powerpc64/configure: Regenerated.
43151         * sysdeps/s390/s390-32/configure: Regenerated.
43152         * sysdeps/s390/s390-64/configure: Regenerated.
43153         * sysdeps/sh/configure: Regenerated.
43154         * sysdeps/sparc/configure: Regenerated.
43155         * sysdeps/unix/sysv/linux/configure: Regenerated.
43156         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
43157         * sysdeps/x86_64/configure: Regenerated.
43159         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
43160         defined.  Don't check if MAP is NULL.
43162 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43164         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
43165         (_G_stat64): Likewise.
43166         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
43167         (_G_stat64): Likewise.
43168         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
43169         instead of struct _G_stat64.
43170         * libio/fileops.c (mmap_remap_check): Likewise.
43171         (decide_maybe_mmap): Likewise.
43172         (_IO_new_file_seekoff): Likewise.
43173         (_IO_file_stat): Likewise.
43174         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
43175         _G_off64_t.
43176         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
43177         instead of struct _G_stat64.
43178         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43180 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
43182         [BZ #14602]
43183         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43184         Replace with ...
43185         (CHECK_EOL): New macro.
43186         (two_way_short_needle): Check beginning of haystack for EOL.  Use
43187         CHECK_EOL.
43188         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43189         Replace with CHECK_EOL.
43190         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43191         Replace with CHECK_EOL.
43193 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
43195         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
43196         type-generic.
43197         * math/libm-test.inc: Update comment listing what functions and
43198         macros are tested.
43199         (finite_test): New function.
43200         (isinf_test): Likewise.
43201         (isnan_test): Likewise.
43202         (fpclassify_test): Test subnormal input.
43203         (isfinite_test): Likewise.
43204         (isnormal_test): Likewise.
43205         (main): Call the new functions.
43207 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
43209         [BZ #14660]
43210         * Makerules (%.dynsym): Force C locale when running
43211         $(OBJDUMP) --dynamic-syms.
43213 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
43215         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
43216         <stdint.h>.
43218 2012-10-06  David S. Miller  <davem@davemloft.net>
43220         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
43221         upper 32-bits of the length value in %o2 since we use branch-on-register
43222         tests which consider the entire 64-bit register.
43224 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
43226         * string/test-strstr.c (check2): Add a test for page boundary.
43228 2012-10-05  David S. Miller  <davem@davemloft.net>
43230         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
43231         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
43232         file.
43233         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43234         sysdep_routines.
43235         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43236         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
43237         and bzero when HWCAP_SPARC_CRYPTO is present.
43239 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
43241         [BZ #14602]
43242         * string/test-strstr.c (check2): New function.
43243         (test_main): Call check2.
43245         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
43246         and bug-strchr1.
43247         * string/bug-strcasestr1.c (do_test): Moved to ...
43248         * string/test-strcasestr.c (check1): Here.  New function.
43249         (do_one_test): Break out result checking code into ...
43250         (check_result): This.  New function.
43251         (do_one_test): Call check_result.
43252         (test_main): Call check1.
43253         * string/bug-strchr1.c (do_test): Moved to ...
43254         * string/test-strchr.c (check1): Here.  New function.
43255         (do_one_test): Break out result checking code into ...
43256         (check_result): This.  New function.
43257         (do_one_test): Call check_result.
43258         (test_main): Call check1.
43259         * string/bug-strstr1.c (main): Moved to ...
43260         * string/test-strstr.c (check1): Here.  New function.
43261         (do_one_test): Break out result checking code into ...
43262         (check_result): This.  New function.
43263         (do_one_test): Call check_result.
43264         (test_main): Call check1.
43265         * string/bug-strcasestr1.c: Removed.
43266         * string/bug-strchr1.c: Likewise.
43267         * string/bug-strstr1.c: Likewise.
43269         * elf/Makefile (dl-routines): Add hwcaps.
43270         * elf/dl-support.c (_dl_important_hwcaps): Removed.
43271         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
43272         (_dl_important_hwcaps): Moved to ...
43273         * elf/dl-hwcaps.c: Here.  New file.
43274         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
43276         [BZ #14557]
43277         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
43278         if IS_IN_rtld isn't defined.
43280         * elf/dl-support.c (_dl_sysinfo_map): New.
43281         Include "get-dynamic-info.h" and "setup-vdso.h".
43282         (_dl_non_dynamic_init): Call setup_vdso.
43283         * elf/dynamic-link.h: Don't include <assert.h>.
43284         (elf_get_dynamic_info): Moved to ...
43285         * elf/get-dynamic-info.h: Here.  New file.
43286         * elf/dynamic-link.h: Include "get-dynamic-info.h".
43287         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
43288         * elf/setup-vdso.h: Here.  New file.
43289         * elf/rtld.c: Include "setup-vdso.h".
43290         (dl_main): Call setup_vdso.
43292 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
43294         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
43295         creal in comment listing functions tested.  List finite, isinf,
43296         isnan, isless, islessequal, isgreater, isgreaterequal,
43297         islessgreater, isunordered, lgamma_r and pow10 as functions and
43298         macros not tested.  Mention which functions not tested are aliases
43299         for other functions.  Fix typo.  Note that signs of NaNs are not
43300         tested.
43302         * scripts/config.guess: Update from config.git.
43303         * scripts/config.sub: Likewise.
43305 2012-10-04  Roland McGrath  <roland@hack.frob.com>
43307         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
43308         * misc/madvise.c (madvise): Renamed to __madvise.
43309         Make madvise a weak alias.
43310         * include/sys/mman.h: Declare __madvise.
43311         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
43312         * sysdeps/unix/syscalls.list
43313         (madvise): Make __madvise the strong name, and madvise a weak alias.
43314         * sysdeps/unix/sysv/linux/syscalls.list
43315         (madvise, mmap): Remove redundant entries.
43316         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
43317         * malloc/malloc.c (mtrim): Likewise.
43318         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
43320 2012-10-03  Roland McGrath  <roland@hack.frob.com>
43322         * sysdeps/mach/hurd/dl-cache.c: File removed.
43323         * config.h.in (USE_LDCONFIG): New #undef.
43324         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
43325         * configure: Regenerated.
43326         * elf/Makefile (dl-routines): Add dl-cache only under
43327         [$(use-ldconfig) = yes].
43328         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
43329         cache on [USE_LDCONFIG].
43330         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
43331         [USE_LDCONFIG].
43332         * elf/rtld.c (dl_main): Likewise.
43334 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
43336         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
43337         _SC_LEVEL4_CACHE_LINESIZE.
43339 2012-10-03  Roland McGrath  <roland@hack.frob.com>
43341         * sysdeps/unix/bsd/confstr.h: File removed.
43343 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
43345         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
43346         sys/sdt-config.h.
43348 2012-10-02  Roland McGrath  <roland@hack.frob.com>
43350         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
43351         Make 'mapoff' field ElfW(Off) rather than off_t.
43353 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
43355         * nscd/Makefile: Remove nscd-cflags and all its users.
43356         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
43357         (CFLAGS-nonlib): Add compiler flags for nscd modules.
43359         [BZ #10631]
43360         * malloc.c (malloc_printerr): Clarify error message.
43362 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
43364         [BZ #14648]
43365         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43366         Set bit_FMA_Usable if FMA is supported.
43367         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
43368         macro.
43369         (bit_FMA4_Usable): Updated.
43370         (index_FMA_Usable): New macro.
43371         (CPUID_FMA): Likewise
43372         (HAS_FMA): Defined with bit_FMA_Usable.
43374 2012-10-01  Roland McGrath  <roland@hack.frob.com>
43376         * bits/types.h (__swblk_t): Type removed.
43377         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
43378         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
43379         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43380         (__SWBLK_T_TYPE): Likewise.
43381         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43382         (__SWBLK_T_TYPE): Likewise.
43383         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43384         (__SWBLK_T_TYPE): Likewise.
43385         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43386         (__SWBLK_T_TYPE): Likewise.
43388 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
43389             Honza Horak <hhorak@redhat.com>
43391         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
43392         (xdr_mapname): Use YPMAXMAP as maxsize.
43393         (xdr_peername): Use YPMAXPEER as maxsize.
43394         (xdr_keydat): Use YPAXRECORD as maxsize.
43395         (xdr_valdat): Use YPMAXRECORD as maxsize.
43397 2012-10-01  Roland McGrath  <roland@hack.frob.com>
43399         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
43401         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
43402         * csu/init-first.c: ... here.
43403         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
43404         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
43405         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
43406         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
43407         * sysdeps/i386/init-first.c: File removed.
43408         * sysdeps/sh/init-first.c: File removed.
43410 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
43412         [BZ #14645]
43413         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
43414         if x * y might underflow to zero and z is zero.
43415         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43416         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43417         * math/libm-test.inc (min_subnorm_value): New variable.
43418         (fma_test): Add more tests.
43419         (fma_test_towardzero): Likewise.
43420         (fma_test_downward): Likewise
43421         (fma_test_upward): Likewise.
43422         (initialize): Set min_subnorm_value.
43424 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
43426         [BZ #14638]
43427         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
43428         0 + 0.
43429         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
43430         mode for addition resulting in exact zero.
43431         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
43432         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
43433         exact 0 + 0.
43434         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43435         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43436         * math/libm-test.inc (fma_test): Add more tests.
43437         (fma_test_towardzero): New function.
43438         (fma_test_downward): Likewise.
43439         (fma_test_upward): Likewise.
43440         (main): Call the new functions.
43442 2012-09-28  David S. Miller  <davem@davemloft.net>
43444         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
43446 2012-09-28  Roland McGrath  <roland@hack.frob.com>
43448         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
43449         instead of SIGALRM.
43451         * sysdeps/gnu/_G_config.h: Moved to ...
43452         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
43453         * sysdeps/mach/hurd/_G_config.h: Moved to ...
43454         * sysdeps/generic/_G_config.h: ... here.
43456         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
43458         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
43460         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
43461         Conditionalize target on [libnss_test1.so-version].
43463         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
43465         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
43466         (elfobjdir): Move out of conditionals.
43468         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
43469         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
43470         (__nss_lookup_function): Conditionalize label remove_from_tree on
43471         [!DO_STATIC_NSS || SHARED], matching its only use.
43473 2012-09-28  David S. Miller  <davem@davemloft.net>
43475         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
43476         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
43477         file.
43478         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43479         sysdep_routines.
43480         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43481         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
43482         when HWCAP_SPARC_CRYPTO is present.
43484 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43486         * io/tst-mknodat.c: Create a FIFO instead of a socket.
43488 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
43490         [BZ #6530]
43491         * stdio-common/vfprintf.c (process_string_arg): Revert
43492         2000-07-22 change.
43494 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
43496         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
43497         for testcase.
43498         * stdio-common/tst-sprintf.c: Include <locale.h>
43499         (main): Test sprintf's handling of incomplete multibyte
43500         characters.
43502 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
43504         * elf/dl-runtime.c (VERSYMIDX): Removed.
43505         * elf/dl-version.c (VERSYMIDX): Likewise.
43506         * elf/do-rel.h (VERSYMIDX): Likewise.
43507         (VALIDX): Likewise.
43508         * elf/dynamic-link.h (VERSYMIDX): Likewise.
43509         * elf/rtld.c (VALIDX): Likewise.
43510         (ADDRIDX): Likewise.
43511         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
43512         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
43513         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
43514         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
43515         (VALIDX): Likewise.
43516         (ADDRIDX): Likewise.
43518 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43520         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
43522 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
43524         [BZ #11438]
43525         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
43526         to global scope.
43527         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
43528         addresses are in the same scope as 192.0.2/24.
43529         * posix/gai.conf: Document new scope table defaults.
43531 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43533         [BZ #5298]
43534         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
43535         for ftell.  Compute offsets from write pointers instead.
43536         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43538 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43540         [BZ #14543]
43541         * libio/Makefile (tests): New test case tst-fseek.
43542         * libio/tst-fseek.c: New test case to verify that fseek/ftell
43543         combination works in wide mode.
43544         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
43545         state when the external buffer state changes.
43547 2012-09-27  David S. Miller  <davem@davemloft.net>
43549         [BZ #14376]
43550         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
43551         pass reloc->r_addend in as the 'high' argument to
43552         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
43554         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43556 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43558         * rt/tst-aio2.c: Include <pthread.h>.
43559         * rt/tst-aio3.c: Likewise.
43561 2012-09-27  Steve Ellcey  <sellcey@mips.com>
43563         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
43565 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
43567         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
43568         contents on [SHARED].
43570 2012-09-26  Marek Polacek  <polacek@redhat.com>
43572         [BZ #14530]
43573         [BZ #13741]
43574         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
43575         for C++ and GCC <4.3 as well as for non GCC compilers.
43577 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
43579         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43581 2012-09-25  Roland McGrath  <roland@hack.frob.com>
43583         * Makefile.in (all, install): Declare with .PHONY.
43584         Reported by Michael Hope <michael.hope@linaro.org>.
43586 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43588         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
43589         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
43590         system header.
43591         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
43592         Likewise.
43593         (sydep_routines): Add the new and the internal functions.
43594         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
43595         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
43596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
43597         (GLIBC_2.17): Add the new function.
43598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
43599         (GLIBC_2.17): Likewise.
43600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
43601         (GLIBC_2.17): Likewise.
43602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
43603         (GLIBC_2.17): Likewise.
43604         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
43606 2012-09-25  Alan Modra  <amodra@gmail.com>
43608         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
43609         Add release barrier before setting once_control to say
43610         initialisation is done.  Add hints on lwarx.  Use macro in
43611         place of isync.
43612         (clear_once_control): Add release barrier.
43614 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
43616         [BZ #13629]
43617         * math/s_clog.c (__clog): Handle more values close to |z| = 1
43618         specially.
43619         * math/s_clog10.c (__clog10): Likewise.
43620         * math/s_clog10f.c (__clog10f): Likewise.
43621         * math/s_clog10l.c (__clog10l): Likewise.
43622         * math/s_clogf.c (__clogf): Likewise.
43623         * math/s_clogl.c (__clogl): Likewise.
43624         * math/Makefile (libm-calls): Add x2y2m1.
43625         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
43626         (__x2y2m1): Likewise.
43627         (__x2y2m1l): Likewise.
43628         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
43629         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
43630         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
43631         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
43632         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
43633         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
43634         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
43635         * sysdeps/i386/fpu/libm-test-ulps: Update.
43636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43638         [BZ #14621]
43639         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
43640         int as type of variable DEPTH.
43641         (glob): Use size_t instead of int as type of variables NEWCOUNT
43642         and OLD_PATHC.
43644 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43646         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43647         Add s_sincosf-sse2.
43648         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
43649         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
43650         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
43651         macros for using routine as __sincosf_ia32.
43652         Use macro for function declaration and weak_alias.
43653         * sysdeps/i386/fpu/libm-test-ulps: Update.
43655         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
43656         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43658         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
43659         subnormal argument.
43660         * math/s_cexpf.c (__cexpf): Likewise.
43661         * math/s_csinf.c (__csinf): Likewise.
43662         * math/s_csinhf.c (__csinhf): Likewise.
43663         * math/s_ctanf.c (__ctanf): Likewise.
43664         * math/s_ctanhf.c (__ctanhf): Likewise.
43665         * math/s_ccosh.c (__ccoshf): Likewise.
43666         * math/s_cexp.c (__cexpl): Likewise.
43667         * math/s_csin.c (__csin): Likewise.
43668         * math/s_csinh.c (__csinh): Likewise.
43669         * math/s_ctan.c (__ctan): Likewise.
43670         * math/s_ctanh.c (ctanh): Likewise.
43671         * math/s_ccoshl.c (__ccoshl): Likewise.
43672         * math/s_cexpl.c (__cexpl): Likewise.
43673         * math/s_csinl.c (__csinl): Likewise.
43674         * math/s_csinhl.c (__csinhl): Likewise.
43675         * math/s_ctanl.c (__ctanl): Likewise.
43676         * math/s_ctanhl.c (__ctanhl): Likewise.
43678 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
43680         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
43681         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
43682         (_IO_off_t): Define to __off_t, not _G_off_t.
43683         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
43684         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
43685         (_IO_wint_t): Define to wint_t, not _G_wint_t.
43686         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
43687         type of __dummy and __dummy2 fields.
43688         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
43689         (_G_ssize_t): Likewise.
43690         (_G_off_t): Likewise.
43691         (_G_pid_t): Likewise.
43692         (_G_uid_t): Likewise.
43693         (_G_wchar_t): Likewise.
43694         (_G_wint_t): Likewise.
43695         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
43696         (_G_ssize_t): Likewise.
43697         (_G_off_t): Likewise.
43698         (_G_pid_t): Likewise.
43699         (_G_uid_t): Likewise.
43700         (_G_wchar_t): Likewise.
43701         (_G_wint_t): Likewise.
43702         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
43703         (_G_ssize_t): Likewise.
43704         (_G_off_t): Likewise.
43705         (_G_pid_t): Likewise.
43706         (_G_uid_t): Likewise.
43707         (_G_wchar_t): Likewise.
43708         (_G_wint_t): Likewise.
43710 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43712         * malloc/arena.c: Include malloc-sysdep.h.
43713         (shrink_heap): Use check_may_shrink_heap to decide if madvise
43714         is sufficient to shrink the heap or an unmap is needed.
43715         * sysdeps/generic/malloc-sysdep.h: New file.  Define
43716         new function check_may_shrink_heap.
43717         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
43718         new function check_may_shrink_heap.
43720 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43722         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
43723         comments.
43725 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
43727         * catgets/test-gencat.sh: Add "set -e".
43728         * elf/tst-pathopt.sh: Likewise.
43729         * grp/tst_fgetgrent.sh: Likewise.
43730         * iconvdata/run-iconv-test.sh: Likewise.
43731         * intl/tst-gettext.sh: Likewise.
43732         * intl/tst-gettext2.sh: Likewise.
43733         * intl/tst-gettext4.sh: Likewise.
43734         * intl/tst-gettext6.sh: Likewise.
43735         * intl/tst-translit.sh: Likewise.
43736         * io/ftwtest-sh: Likewise.
43737         * libio/test-freopen.sh: Likewise.
43738         * malloc/tst-mtrace.sh: Likewise.
43739         * posix/globtest.sh: Likewise.
43740         * posix/tst-getconf.sh: Likewise.
43741         * posix/wordexp-tst.sh: Likewise.
43742         * stdio-common/tst-printf.sh: Likewise.
43743         * stdio-common/tst-unbputc.sh: Likewise.
43744         * stdlib/tst-fmtmsg.sh: Likewise.
43745         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43746         * catgets/Makefile: Do not specify -e option when running
43747         testsuite shell scripts.
43748         * elf/Makefile: Likewise.
43749         * grp/Makefile: Likewise.
43750         * iconvdata/Makefile: Likewise.
43751         * intl/Makefile: Likewise.
43752         * io/Makefile: Likewise.
43753         * libio/Makefile: Likewise.
43754         * malloc/Makefile: Likewise.
43755         * posix/Makefile: Likewise.
43756         * stdio-common/Makefile: Likewise.
43757         * stdlib/Makefile: Likewise.
43758         * sysdeps/x86_64/Makefile: Likewise.
43760         * io/ftwtest-sh: Add copyright header.
43761         * posix/globtest.sh: Likewise.
43762         * posix/tst-getconf.sh: Likewise.
43763         * posix/wordexp-tst.sh: Likewise.
43764         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43766 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
43768         [BZ #13679]
43769         * Makeconfig (+link): Defined as $(+link-static) if
43770         $(build-shared) isn't yes.
43771         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
43772         isn't yes.
43773         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
43775         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
43777         [BZ #14562]
43778         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
43779         new chunk size with MALLOC_ALIGN_MASK.
43781 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
43783         [BZ #5044]
43784         * stdio-common/printf_fphex.c: Include <stdbool.h> and
43785         <rounding-mode.h>.
43786         (__printf_fphex): Determine rounding using get_rounding_mode and
43787         round_away.
43788         * stdio-common/tst-printf-round.c (struct hex_test): New
43789         structure.
43790         (hex_tests): New variable.
43791         (test_hex_in_one_mode): New function.
43792         (do_test): Also run tests for hex float output.
43794 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
43796         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43797         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43798         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
43799         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43800         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43801         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
43802         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43803         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43805 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
43807         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
43808         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
43809         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
43810         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
43812 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
43814         [BZ #14579]
43815         * elf/rtld.c (dl_main): Limit the check for self loading to normal
43816         mode only.
43817         * elf/tst-rtld-load-self.sh: New test.
43818         * elf/Makefile: Run it.
43820 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
43822         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
43823         (tst-writev-ENV): Remove.
43824         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
43826 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
43828         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
43830 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
43832         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
43833         unconditional.
43834         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
43835         Likewise.
43836         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
43837         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
43838         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
43839         Likewise.
43841 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
43843         [BZ #14587]
43844         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
43845         * config.make.in (have-cpp-asm-debuginfo): Removed.
43846         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
43847         * configure: Regenerated.
43849 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
43851         [BZ #5044]
43852         * stdio-common/printf_fp.c: Include <stdbool.h> and
43853         <rounding-mode.h>.
43854         (___printf_fp): Determine rounding using get_rounding_mode and
43855         round_away.
43856         * stdio-common/tst-printf-round.c: New file.
43857         * stdio-common/Makefile (tests): Add tst-printf-round.
43858         (link-libm): New variable.
43859         ($(objpfx)tst-printf-round): Depend in $(link-libm).
43861 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
43863         [BZ #14576]
43864         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
43865         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
43866         Likewise.
43867         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
43868         Likewise.
43870 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
43872         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
43873         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43874         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43875         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43877 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
43879         [BZ #14518]
43880         * include/rounding-mode.h: New file.
43881         * sysdeps/generic/get-rounding-mode.h: Likewise.
43882         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
43883         * stdlib/strtod_l.c: Include <rounding-mode.h>.
43884         (MAX_VALUE): New macro.
43885         (MIN_VALUE): Likewise.
43886         (overflow_value): New function.
43887         (underflow_value): Likewise.
43888         (round_and_return): Use overflow_value and underflow_value to
43889         determine return values in overflow and underflow cases.  Use
43890         round_away to determine rounding depending on rounding mode.
43891         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
43892         determine return values in overflow and underflow cases.
43893         * stdlib/tst-strtod-round.c: Include <fenv.h>.
43894         (struct test_results): New structure.
43895         (struct test): Use struct test_results to store expected results
43896         for all rounding modes.
43897         (TEST): Include expected results for all rounding modes.
43898         (test_in_one_mode): New function.
43899         (do_test): Use test_in_one_mode to compute and check results.
43900         Check results for all rounding modes.
43901         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
43902         $(link-libm).
43904 2012-12-09  Allan McRae  <allan@archlinux.org>
43906         * sysdeps/i386/fpu/libm-test-ulps: Update
43908 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
43910         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
43911         (_G_int32_t): Likewise.
43912         (_G_uint16_t): Likewise.
43913         (_G_uint32_t): Likewise.
43914         (_G_HAVE_BOOL): Likewise.
43915         (_G_HAVE_ATEXIT): Likewise.
43916         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43917         (_G_HAVE_IO_FILE_OPEN): Likewise.
43918         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
43919         (_G_int32_t): Likewise.
43920         (_G_uint16_t): Likewise.
43921         (_G_uint32_t): Likewise.
43922         (_G_HAVE_BOOL): Likewise.
43923         (_G_HAVE_ATEXIT): Likewise.
43924         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43925         (_G_HAVE_IO_FILE_OPEN): Likewise.
43926         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
43927         (_G_int32_t): Likewise.
43928         (_G_uint16_t): Likewise.
43929         (_G_uint32_t): Likewise.
43930         (_G_HAVE_BOOL): Likewise.
43931         (_G_HAVE_ATEXIT): Likewise.
43932         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43933         (_G_HAVE_IO_FILE_OPEN): Likewise.
43935 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
43937         * csu/libc-tls.c: Update copyright years.
43939 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
43941         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
43942         [!_G_USING_THUNKS]: Remove conditional code.
43943         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
43944         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
43946         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
43947         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
43948         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43949         (_G_VTABLE_LABEL_PREFIX): Likewise.
43950         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43951         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43952         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43953         (_G_VTABLE_LABEL_PREFIX): Likewise.
43954         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43955         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43956         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43957         (_G_VTABLE_LABEL_PREFIX): Likewise.
43958         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43960 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
43962         * libio/Makefile: Include ../Makeconfig before tests.
43963         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
43964         only if $(build-shared) is yes.
43966         * iconv/gconv_db.c: Update copyright years.
43968 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43970         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
43971         unwind info if defined PIC. Fix special cases description.
43972         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
43974         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
43975         DP_HI_MASK entry.
43976         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
43978 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
43980         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
43982         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
43983         is NULL.
43985         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
43986         (LDLIBS-tst-chk4): This.
43987         (LDFLAGS-tst-chk5): Renamed to ...
43988         (LDLIBS-tst-chk5): This.
43989         (LDFLAGS-tst-chk6): Renamed to ...
43990         (LDLIBS-tst-chk6): This.
43991         (LDFLAGS-tst-lfschk4): Renamed to ...
43992         (LDLIBS-tst-lfschk4): This.
43993         (LDFLAGS-tst-lfschk5): Renamed to ...
43994         (LDLIBS-tst-lfschk5): This.
43995         (LDFLAGS-tst-lfschk6): Renamed to ...
43996         (LDLIBS-tst-lfschk6): This.
43998         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
43999         on $(common-objpfx)soversions.mk.
44001 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
44003         [BZ #10014]
44004         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
44005         example host name.
44007 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
44009         * malloc/arena.c (arena_get_retry): New function that gets
44010         another arena for the caller to try its request on.
44011         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
44012         current arena cannot fulfill the request.
44013         (__libc_memalign): Likewise.
44014         (__libc_memalign): Likewise.
44015         (__libc_pvalloc): Likewise.
44016         (__libc_calloc): Likewise.
44018 2012-09-05  John Tobey  <john.tobey@gmail.com>
44020         [BZ #13542]
44021         * manual/arith.texi (Operations on Complex): Fix description
44022         of carg branch cut.
44024 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
44026         [BZ #10014]
44027         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
44028         host name.
44030         [BZ #10038]
44031         * manual/memory.texi (Memory): Make order of menu items match
44032         order of sections.
44034 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44036         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
44037         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
44038         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
44040 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44042         * csu/libc-tls.c (static_dtv): Renamed to ...
44043         (_dl_static_dtv): This.  Make it global.
44044         (_dl_initial_dtv): Removed.
44045         (__libc_setup_tls): Updated.
44046         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
44047         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
44048         DL_INITIAL_DTV.
44050 2012-09-06  Petr Machata  <pmachata@redhat.com>
44052         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
44053         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
44054         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
44055         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
44057 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44059         [BZ #14545]
44060         * csu/libc-tls.c (_dl_initial_dtv): New variable.
44061         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
44062         freeing dtv[-1].
44064 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44066         [BZ #14544]
44067         * Makeconfig (link-static-before-libc): Replace $(+prector)
44068         with $(+prectorT).
44069         (link-static-after-libc): Replace $(+postctor) with
44070         $(+postctorT).
44071         (link-bounded): Replace $(+prector)/$(+postctor) with
44072         $(+prectorT)/$(+postctorT).
44073         (+prectorT): New macro.
44074         (+postctorT): Likewise.
44076 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
44078         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
44079         (round_str): Handle values above the maximum for IBM long double
44080         as inexact.
44081         * stdlib/tst-strtod-round.c (tests): Regenerated.
44083 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44085         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
44086         assembler flag.
44087         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
44088         zarch_nohighgprs around the zarch optimized routines.
44089         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
44090         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
44091         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
44092         for zarch.
44094 2012-09-05  David S. Miller  <davem@davemloft.net>
44096         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44098         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
44099         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
44100         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
44101         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44102         entries.
44104 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44106         * malloc/arena.c: Fold copyright years.
44107         * malloc/mcheck.c, malloc/memusage.c: Likewise.
44109 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44111         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
44113 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44115         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
44117 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44119         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
44120         change internal state upon failure.
44122 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44124         * malloc/mcheck.c (mcheck_check_all): Fix typo.
44125         * malloc/memusage.c (mmap): Likewise.
44126         (mmap64, mremap): Likewise.  Adjust name in comment.
44128 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44130         * libio/fileops.c: Fix typos in comments.
44131         * libio/oldfileops.c: Likewise.
44132         * libio/wfileops.c: Likewise.
44134 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44136         [BZ #1349]
44137         * malloc/Makefile (tests): Add tst-malloc-usable test case.
44138         (tst-malloc-usable-ENV): Set environment for test case.
44139         * malloc/hooks.c (malloc_check_get_size): New function to get
44140         requested size.
44141         * malloc/malloc.c (musable): Use malloc_check_get_size.
44142         * malloc/tst-malloc-usable.c: New test case.
44144 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44146         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
44148 2012-09-05  Allan McRae  <allan@archlinux.org>
44150         [BZ #13966]
44151         * configure.in (CXX_SYSINCLUDES): Use compiler output to
44152         determine header location.
44153         * configure: Regenerated.
44155 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44157         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
44158         float format.
44159         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
44160         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
44161         format.
44162         (test): Regenerate.
44164 2012-09-04  David S. Miller  <davem@davemloft.net>
44166         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
44167         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
44168         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
44170 2012-09-04  Florian Weimer  <fweimer@redhat.com>
44172         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
44173         failures.
44175         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
44177 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
44179         [BZ #9914]
44180         * libio/iogetdelim.c: Include <limits.h>.
44181         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
44182         + len + 1 would overflow.
44184 2012-09-03  Andreas Jaeger  <aj@suse.de>
44186         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44187         * sysdeps/i386/fpu/libm-test-ulps: Update.
44189 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44191         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44192         Add s_sinf-sse2, s_conf-sse2.
44194         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
44195         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
44196         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
44197         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
44199         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
44200         for using routine as __sinf_ia32.
44201         Use macro for function declaration and weak_alias.
44202         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
44203         for using routine as __cosf_ia32.
44204         Use macro for function declaration and weak_alias.
44206         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
44207         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
44209         * sysdeps/x86_64/fpu/s_sinf.S: New file.
44210         * sysdeps/x86_64/fpu/s_cosf.S: New file.
44211         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44213         * math/libm-test.inc (cos_test): Add more test cases.
44214         (sin_test): Likewise.
44215         (sincos_test): Likewise.
44217 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44219         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
44220         (IFUNC_RESOLVE): Make pointers to the specialized implementations
44221         hidden.
44222         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
44224 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
44226         [BZ #14538]
44227         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
44228         first element of the GOT.
44229         (elf_machine_load_address): Return the difference between
44230         the runtime address of _DYNAMIC and elf_machine_dynamic ().
44232 2012-09-01  Allan McRae  <allan@archlinux.org>
44234         [BZ #13412]
44235         * configure.in (AWK): Require gawk version 3.0 or later.
44236         * configure: Regenerated.
44238 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
44240         * sysdeps/unix/sysv/linux/kernel-features.h
44241         (__ASSUME_POSIX_CPU_TIMERS): Remove.
44242         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44243         [__NR_clock_getres]: Make code unconditional.
44244         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
44245         (clock_getcpuclockid): Remove code left unreachable by removal of
44246         conditionals.
44247         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
44248         code unconditional.
44249         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44250         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44251         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
44252         Make code unconditional.
44253         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44254         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44255         * sysdeps/unix/sysv/linux/clock_settime.c
44256         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
44257         conditional code.
44258         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
44259         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44261 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
44263         [BZ #14476]
44264         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
44265         scripts/test-installation.pl.
44267         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
44268         and $ld_so_version if it is set.
44270 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44272         [BZ #14516]
44273         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
44274         failure if reading from procfs failed.
44275         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
44277 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
44279         * sysdeps/unix/sysv/linux/kernel-features.h
44280         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
44281         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44282         Remove conditional code.
44283         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44284         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
44285         Remove conditional code.
44286         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44287         * sysdeps/unix/sysv/linux/i386/fxstat.c
44288         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44289         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44290         * sysdeps/unix/sysv/linux/i386/fxstatat.c
44291         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44292         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44293         * sysdeps/unix/sysv/linux/i386/lxstat.c
44294         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44295         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44296         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
44297         Remove conditional code.
44298         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44299         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44300         Remove conditional code.
44301         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44302         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
44303         <kernel-features.h>.
44304         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
44305         Remove.
44306         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
44307         Remove conditional code.
44308         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44309         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
44310         Remove conditional.
44312 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
44314         [BZ #5400]
44315         * NEWS: Add fixed bug number.
44317 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
44319         [BZ #14519]
44320         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
44321         underflowing exponent in case of negative sign.
44322         * stdlib/tst-strtod-round-data: Add more tests.
44323         * stdlib/tst-strtod-round.c (tests): Regenerated.
44325         [BZ #3479]
44326         * stdlib/strtod_l.c (NDIG): Remove.
44327         (HEXNDIG): Likewise.
44328         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
44329         smallest representable value.
44330         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
44331         lie within an exact representation of 1/2 ulp of the result.
44332         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
44333         unconditionally.
44334         (TENS_P9_IDX): Define unconditionally.
44335         (TENS_P9_SIZE): Likewise.
44336         (TENS_P10_IDX): Likewise.
44337         (TENS_P10_SIZE): Likewise.
44338         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
44339         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
44340         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
44341         entries for 10^2^13 and 10^2^14.
44342         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
44343         (TENS_P13_IDX): Define.
44344         (TENS_P13_SIZE): Likewise.
44345         (TENS_P14_IDX): Likewise.
44346         (TENS_P14_SIZE): Likewise.
44347         (_fpioconst_pow10): Change array size to
44348         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
44349         unconditional.
44350         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
44351         1024]: Add entries for 10^2^13 and 10^2^14.
44352         [LAST_POW10 > _LAST_POW10]: Remove #error.
44353         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
44354         (_fpioconst_pow10): Change array size to
44355         FPIOCONST_POW10_ARRAY_SIZE.
44356         * stdlib/gen-fpioconst.c: New file.
44357         * stdlib/gen-tst-strtod-round.c: Likewise.
44358         * stdlib/tst-strtod-round-data: Likewise.
44359         * stdlib/tst-strtod-round.c: Likewise.
44360         * stdlib/Makefile (tests): Add tst-strtod-round.
44362         [BZ #14459]
44363         * stdlib/strtod_l.c: Include <stdint.h>.
44364         (NDEBUG): Do not define.
44365         (round_and_return): Change EXPONENT parameter to type intmax_t.
44366         Rearrange calculations to avoid internal overflow possibilities.
44367         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
44368         Rearrange calculations to avoid internal overflow possibilities.
44369         Assert that number fits inside MPNSIZE limbs.
44370         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
44371         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
44372         calculations and add assertions to avoid internal overflow
44373         possibilities.  Add casts to avoid signed/unsigned operations.
44374         * stdlib/tst-strtod-overflow.c: New file.
44375         * stdlib/Makefile (tests): Add tst-strtod-overflow.
44377 2012-08-25  Marek Polacek  <polacek@redhat.com>
44379         * time/time.h: Fix some typos in comments.
44381 2012-08-23  Roland McGrath  <roland@hack.frob.com>
44383         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
44384         * posix/tst-rfc3484-2.c: Likewise.
44385         * posix/tst-rfc3484-3.c: Likewise.
44387 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
44389         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
44390         (EF_ARM_ABI_FLOAT_HARD): Likewise.
44392 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
44394         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
44395         #include of fxstatat64.c.
44397 2012-08-22  Roland McGrath  <roland@hack.frob.com>
44399         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
44400         * shadow/getspent_r.c: Likewise.
44401         * shadow/getspnam.c: Likewise.
44402         * shadow/getspnam_r.c: Likewise.
44403         * gshadow/getsgent.c: Likewise.
44404         * gshadow/getsgent_r.c: Likewise.
44405         * gshadow/getsgnam.c: Likewise.
44406         * gshadow/getsgnam_r.c: Likewise.
44407         * inet/getnetbyad.c: Likewise.
44408         * inet/getnetbyad_r.c: Likewise.
44409         * inet/getnetbynm.c: Likewise.
44410         * inet/getnetbynm_r.c: Likewise.
44411         * inet/getnetent.c: Likewise.
44412         * inet/getnetent_r.c: Likewise.
44413         * inet/getproto.c: Likewise.
44414         * inet/getproto_r.c: Likewise.
44415         * inet/getprtent.c: Likewise.
44416         * inet/getprtent_r.c: Likewise.
44417         * inet/getprtname.c: Likewise.
44418         * inet/getprtname_r.c: Likewise.
44419         * inet/getrpcbyname.c: Likewise.
44420         * inet/getrpcbyname_r.c: Likewise.
44421         * inet/getrpcbynumber.c: Likewise.
44422         * inet/getrpcbynumber_r.c: Likewise.
44423         * inet/getrpcent.c: Likewise.
44424         * inet/getrpcent_r.c: Likewise.
44425         * inet/getaliasent.c: Likewise.
44426         * inet/getaliasent_r.c: Likewise.
44427         * inet/getaliasname.c: Likewise.
44428         * inet/getaliasname_r.c: Likewise.
44429         * nscd/getgrgid_r.c: Likewise.
44430         * nscd/getgrnam_r.c: Likewise.
44431         * nscd/gethstbyad_r.c: Likewise.
44432         * nscd/gethstbynm3_r.c: Likewise.
44433         * nscd/getpwnam_r.c: Likewise.
44434         * nscd/getpwuid_r.c: Likewise.
44435         * nscd/getsrvbynm_r.c: Likewise.
44436         * nscd/getsrvbypt_r.c: Likewise.
44437         * nscd/gai.c: Likewise.
44439         * configure.in (build_nscd): New substituted variable, set
44440         by --disable-build-nscd and defaults to $use_nscd.
44441         * configure: Regenerated.
44442         * config.make.in (build-nscd): New substituted variable.
44443         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
44444         Change conditional to require [$(build-nscd) = yes] as well.
44445         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
44447         [BZ# 13696]
44448         * configure.in (use_nscd): New substituted variable, set by
44449         --disable-nscd.  If enabled, define USE_NSCD.
44450         * configure: Regenerated.
44451         * config.h.in: Add USE_NSCD.
44452         * config.make.in (use-nscd): New substituted variable.
44453         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
44454         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
44455         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
44456         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
44457         (CFLAGS-getgrnam_r.c): Likewise.
44458         (CFLAGS-initgroups.c): Likewise.
44459         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
44460         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
44461         Variables removed.
44462         * inet/getnetgrent_r.c
44463         (nscd_setnetgrent): New function, broken out of ...
44464         (setnetgrent): ... here.  Call it.
44465         (innetgr): Conditionalize nscd bits on [USE_NSCD].
44466         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
44467         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
44468         * nscd/Makefile (routines, aux): Move definitions after include of
44469         Makeconfig.  Conditionalize on [$(use-nscd) != no].
44470         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
44471         Conditionalize on [USE_NSCD].
44472         (is_nscd, nscd_init_cb): Likewise.
44473         (nss_load_library): Conditionalize init callback on [USE_NSCD].
44474         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
44475         * nss/nss_db/db-init.c: Likewise.
44476         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
44477         [USE_NSCD].
44478         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
44479         (make_request): Use it.
44480         (cache_valid_p): New function.
44481         (__check_pf): Use it.
44482         * NEWS: Add item for --disable-nscd.
44484 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
44486         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
44487         to support sed >= 4.2.1-20-ga9bf076.
44488         * configure: Regenerated.
44490 2012-08-22  Roland McGrath  <roland@hack.frob.com>
44492         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
44493         Conditionalize whole body on [IREL].
44495 2012-08-22  Jeff Law <law@redhat.com>
44497         [BZ #14505]
44498         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
44499         if the family is PF_UNSPEC.
44501 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
44503         * Makerules (lib-version): Rename from V.
44504         (install-lib-nosubdir): Change V to lib-version.
44506 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
44508         [BZ #14252]
44509         * powerpc32/power6/wcschr.c: New file.
44510         * powerpc32/power6/wcscpy.c: New file.
44511         * powerpc32/power6/wcsrchr.c: New file.
44512         * powerpc64/power6/wcschr.c: New file.
44513         * powerpc64/power6/wcscpy.c: New file.
44514         * powerpc64/power6/wcsrchr.c: New file.
44516 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
44518         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
44519         (two_way_short_needle): Use it.
44520         * string/strstr.c (AVAILABLE1_USES_J): Define.
44521         * string/strcasestr.c: Likewise.
44523         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
44524         array references.
44525         * string/strcasestr.c (TOLOWER): Make side-effect safe.
44527         [BZ #11607]
44528         * NEWS: Add an entry.
44529         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
44530         define their defaults.
44531         (two_way_short_needle): Detect end-of-string on-the-fly.
44532         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
44533         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
44534         * string/bug-strcasestr1.c: New test.
44535         * string/Makefile: Run it.
44537 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
44539         [BZ #11607]
44540         * string/str-two-way.h (two_way_short_needle): Optimize matching of
44541         the first character.
44543 2012-08-21  Roland McGrath  <roland@hack.frob.com>
44545         * csu/elf-init.c (__libc_csu_irel): Function removed.
44546         * csu/libc-start.c (apply_irel): New function.
44547         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
44549 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
44551         * sysdeps/unix/sysv/linux/kernel-features.h
44552         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
44553         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
44554         <kernel-features.h>.
44555         [__NR_fadvise64_64]: Make code unconditional.
44556         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
44557         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44558         !__NR_fadvise64_64)]: Likewise.
44559         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44560         !__NR_fadvise64_64))]: Likewise.
44561         [__NR_fadvise64]: Make code unconditional.
44562         [!__NR_fadvise64]: Remove conditional code.
44563         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
44564         <kernel-features.h>.
44565         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44566         unconditional.
44567         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44568         conditional code.
44569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
44570         not include <kernel-features.h>.
44571         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44572         unconditional.
44573         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44574         conditional code.
44575         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
44576         include <kernel-features.h>.
44577         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44578         unconditional.
44579         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44580         conditional code.
44582 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
44584         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
44585         slight instruction rearrangements per scrollpipe analysis.
44586         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
44588 2012-08-20  Roland McGrath  <roland@hack.frob.com>
44590         * manual/syslog.texi (syslog; vsyslog, closelog):
44591         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
44592         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
44594         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
44595         DSOCAPS to match condition on defining it.
44597 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
44599         * sysdeps/unix/sysv/linux/kernel-features.h
44600         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
44601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
44602         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44603         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
44605         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44606         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
44608         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44609         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44611         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
44612         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
44614         * sysdeps/unix/sysv/linux/kernel-features.h
44615         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
44616         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
44617         unconditional.
44618         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44619         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
44620         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44621         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44622         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
44623         Make code unconditional.
44624         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44625         (__mmap64) [!__NR_mmap2]: Likewise.
44626         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
44627         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44628         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44629         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
44630         [__NR_mmap2]: Make code unconditional.
44631         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44632         (__mmap64) [!__NR_mmap2]: Likewise.
44634 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44636         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
44638 2012-08-18  Andreas Jaeger  <aj@suse.de>
44640         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
44642 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
44644         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
44645         * include/unistd.h (__have_sock_cloexec): Likewise.
44646         (__have_pipe2): Likewise.
44647         (__have_dup3): Likewise.
44649 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
44651         [BZ #9685]
44652         * include/unistd.h (__have_pipe2): Change define into an extern int.
44653         (__have_dup3): Likewise.
44654         * socket/have_sock_cloexec.c: Include fcntl.h.
44655         (__have_pipe2): New variable.
44656         (__have_dup3): Likewise.
44658 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
44660         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
44662 2012-08-17  Marek Polacek  <polacek@redhat.com>
44664         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
44665         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
44667 2012-08-17  Roland McGrath  <roland@hack.frob.com>
44669         * configure.in: Add AC_SUBST for sysheaders.
44670         * configure: Regenerated.
44671         * config.make.in (sysheaders): New substituted variable.
44673         * sysdeps/unix/mkfifo.c: Moved ...
44674         * sysdeps/posix/mkfifo.c: ... here.
44675         * sysdeps/unix/mkfifoat.c: Moved ...
44676         * sysdeps/posix/mkfifoat.c: ... here.
44678         * sysdeps/unix/utime.c: Moved ...
44679         * sysdeps/posix/utime.c: ... here.
44681         * sysdeps/unix/time.c: Moved ...
44682         * sysdeps/posix/time.c: ... here.
44683         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
44684         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
44686         * sysdeps/unix/nice.c: Moved ...
44687         * sysdeps/posix/nice.c: ... here.
44689         * sysdeps/unix/alarm.c: Moved ...
44690         * sysdeps/posix/alarm.c: ... here.
44692         * intl/Makefile ($(codeset_mo)): Depend on the input file.
44694 2012-08-17  Jeff Law <law@redhat.com>
44696         * intl/Makefile (codeset_mo): New variable.
44697         ($(codeset_mo)): New target.
44698         (tst-codeset.out): Depend on that.  Remove explicit rule.
44699         (tst-gettext3.out, tst-gettext5.out): Likewise.
44700         (LOCPATH-ENV, tst-codeset-ENV): New variables.
44701         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
44702         * intl/tst-codeset.sh: Remove.
44703         * intl/tst-gettext3.sh: Likewise.
44704         * intl/tst-gettext5.sh: Likewise.
44706 2012-08-17  Roland McGrath  <roland@hack.frob.com>
44708         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
44709         * sysdeps/unix/syscalls.list: ... here.
44711         * sysdeps/posix/getaddrinfo.c
44712         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
44713         (gaiconf_init, gaiconf_reload): Use them.
44714         [!_STATBUF_ST_NSEC]
44715         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
44716         Define using time_t rather than struct timespec.
44718         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
44719         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
44720         Macros removed.
44721         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
44722         [!NO_THREADS].
44723         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
44724         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
44725         Likewise.
44727         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
44728         __libc_cleanup_push argument.
44730         * bits/param.h: New file.
44731         * misc/sys/param.h: New file.
44732         * include/sys/param.h: New file.
44733         * misc/Makefile (headers): Add bits/param.h.
44734         * sysdeps/generic/sys/param.h: File removed.
44735         * sysdeps/unix/sysv/linux/bits/param.h: New file.
44736         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
44737         * sysdeps/mach/hurd/bits/param.h: New file.
44738         * sysdeps/mach/hurd/sys/param.h: File removed.
44740         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
44741         last change.
44743         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
44744         [_IO_MTSAFE_IO].
44745         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
44746         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
44747         New macros.
44749         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
44750         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
44751         rather than -D_IO_MTSAFE_IO conditionally.
44752         * stdio-common/Makefile (CPPFLAGS): Likewise.
44753         * wcsmbs/Makefile (CPPFLAGS): Likewise.
44754         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
44755         Use $(libio-mtsafe).
44756         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
44757         of -D_IO_MTSAFE_IO.
44758         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
44759         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
44760         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
44761         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
44762         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
44763         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
44764         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
44765         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
44766         (CFLAGS-fread_u_chk.c): Likewise.
44767         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
44768         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
44769         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
44770         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
44771         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
44772         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
44773         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
44774         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
44775         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
44777         * libio/Makefile: Test [$(libc-reentrant) = yes]
44778         instead of [$(filter %REENTRANT, $(defines)) nonempty].
44780         * Makeconfig
44781         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
44782         * sysdeps/pthread/configure: File removed.
44783         * sysdeps/pthread/Makeconfig: New file.
44784         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
44785         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
44787 2012-08-16  Gary Benson  <gbenson@redhat.com>
44789         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
44790         unmapping the first object in a namespace.
44792 2012-08-16  Roland McGrath  <roland@hack.frob.com>
44794         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
44795         (__internal_setnetgrent): ... this.  Add internal_function to
44796         definition.  Add libc_hidden_def.
44797         (setnetgrent): Update caller.
44798         (internal_endnetgrent): Renamed to ...
44799         (__internal_endnetgrent): ... this.  Add internal_function to
44800         definition.  Add libc_hidden_def.
44801         (endnetgrent): Update caller.
44802         (internal_getnetgrent_r): Renamed to ...
44803         (__internal_getnetgrent_r): ... this.  Add internal_function to
44804         definition.  Add libc_hidden_def.
44805         (__getnetgrent_r): Update caller.
44806         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
44808 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
44810         * stdlib/longlong.h: Update from GCC.
44812 2012-08-16  Roland McGrath  <roland@hack.frob.com>
44814         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
44815         on _QL, which is set by umul_ppmm but never used.
44816         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
44817         variables, which are set by GMP macros but never used.
44818         * stdio-common/_itowa.c (_itowa): Likewise.
44819         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
44820         * stdlib/mod_1.c (mpn_mod_1): Likewise.
44822 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
44824         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
44825         struct La_sh_regs is not constant.
44826         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
44827         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
44828         and struct La_sparc64_regs are not constant.
44830 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
44832         * sysdeps/unix/sysv/linux/kernel-features.h
44833         (__ASSUME_POSIX_TIMERS): Remove.
44834         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44835         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44836         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
44837         Make code unconditional.
44838         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44839         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
44840         Make code unconditional.
44841         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44842         * sysdeps/unix/sysv/linux/clock_nanosleep.c
44843         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
44844         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44845         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
44846         Make code unconditional.
44847         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44848         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
44849         (__libc_missing_posix_timers): Remove.
44851 2012-08-15  Roland McGrath  <roland@hack.frob.com>
44853         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
44854         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
44856         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
44858         * elf/dl-sym.c: Include <stdlib.h>.
44860         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
44861         constants, which avoids warnings in 32-bit builds.
44863         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
44864         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
44866         * misc/lseek.c: File moved to ...
44867         * io/lseek.c: ... here.
44869         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
44871         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
44872         shifting LEN more than 31 bits at once.
44874 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44876         [BZ #14195]
44877         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
44878         segmentation fault for a case of two empty input strings.
44879         * string/test-strncasecmp.c (check1): Renamed to...
44880         (bz12205): ...this.
44881         (bz14195): Add new testcase for two empty input strings and N > 0.
44882         (test_main): Call new testcase, adapt for renamed function.
44884 2012-08-15  Andreas Jaeger  <aj@suse.de>
44886         [BZ #14090]
44887         * crypt/md5test2.c: New test, based on test supplied by Serge
44888         Belyshev <belyshev@depni.sinp.msu.ru>.
44889         * crypt/Makefile (xtests): Add md5test-giant..
44890         * crypt/Makefile ($(objpfx)md5test-giant): Add.
44892 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
44894         [BZ #14090]
44895         * crypt/md5.c (md5_process_block): Don't assume the buffer
44896         length is less than 2**32.
44897         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
44898         length is less than 2**64.
44900 2012-08-15  Roland McGrath  <roland@hack.frob.com>
44902         * string/str-two-way.h: Include <sys/param.h>.
44903         (MAX): Macro removed.
44905         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
44906         Move #define and #undef of memmove to just before and after
44907         including <string.h>.
44909         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
44910         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
44911         and after including <string.h>.  Move declarations of
44912         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
44913         to before #include "string/memmove.c".
44915         * include/dirent.h: Declare __getdirentries.
44917         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
44918         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
44920 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
44922         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
44923         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
44924         * sysdeps/i386/configure: Regenerated.
44925         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
44926         STABS_CURRENT_FILE, and STABS_FUN.
44927         (END): Remove call to STABS_FUN_END.
44928         (STABS_CURRENT_FILE1): Delete.
44929         (STABS_CURRENT_FILE): Likewise.
44930         (STABS_FUN): Likewise.
44931         (STABS_FUN_END): Likewise.
44932         (STABS_FUN2): Likewise.
44933         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
44934         * sysdeps/x86_64/configure: Regenerated.
44936 2012-08-14  Roland McGrath  <roland@hack.frob.com>
44938         * elf/dl-open.c: Include <atomic.h>.
44939         * elf/dl-lookup.c: Likewise.
44941 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
44943         * sysdeps/unix/sysv/linux/kernel-features.h
44944         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
44945         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
44946         unconditionally.
44947         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
44948         unconditionally.
44949         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
44950         condition on __ASSUME_CLONE_THREAD_FLAGS.
44952 2012-08-14  Andreas Jaeger  <aj@suse.de>
44954         * sysdeps/i386/fpu/libm-test-ulps: Update.
44956 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
44958         * include/atomic.h (atomic_exchange_and_add): Split into ...
44959         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
44960         New atomic macros.
44962 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
44964         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44966 2012-08-13  Jeff Law <law@redhat.com>
44968         * manual/stdio.texi (snprintf): Clarify handling of the trailing
44969         null byte in the output string.
44971 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
44973         * sysdeps/unix/sysv/linux/kernel-features.h
44974         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
44975         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
44976         (__ASSUME_ARG_MAX_STACK_BASED): Define.
44977         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
44978         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
44979         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
44980         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
44982 2012-08-09  Jeff Law <law@redhat.com>
44984         [BZ #13939]
44985         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
44986         When avoid_arena is set, don't retry in the that arena.  Pick the
44987         next one, whatever it might be.
44988         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
44989         (arena_lock): Pass in new parameter to arena_get2.
44990         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
44991         arena_get2.
44992         (__libc_malloc): Unify retrying after main arena failure with
44993         __libc_memalign version.
44994         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
44996 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
44998         [BZ #14166]
44999         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
45000         to __redirect_strstr.
45001         (__strstr_sse42): Use typeof __redirect_strstr.
45002         (__strstr_ia32): Likewise.
45003         (__libc_strstr): New prototype.
45004         (strstr): Renamed to ...
45005         (__libc_strstr): This.
45006         (strstr): New strong alias of __libc_strstr.
45007         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
45008         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
45009         __redirect_time.
45010         Include <time.h>.
45011         (__libc_time): New prototype.
45012         (time_ifunc): Replace time with __libc_time.
45013         (time): New strong alias and hidden definition of __libc_time.
45014         (__GI_time): Remove strong alias.
45015         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
45016         Include <stddef.h>.
45017         (memmove): Redefined to __redirect_memmove.
45018         (__memmove_sse2): Use typeof __redirect_memmove.
45019         (__memmove_ssse3): Likewise.
45020         (__memmove_ssse3_back): Likewise.
45021         (__libc_memmove): New prototype.
45022         (memmove): Renamed to ...
45023         (__libc_memmove): This.
45024         (memmove): New strong alias of __libc_memmove.
45026 2012-08-08  Mark Salter  <msalter@redhat.com>
45028         * elf/elf.h
45029         (R_MN10300_TLS_GD): Define.
45030         (R_MN10300_TLS_LD): Likewise.
45031         (R_MN10300_TLS_LDO): Likewise.
45032         (R_MN10300_TLS_GOTIE): Likewise.
45033         (R_MN10300_TLS_IE): Likewise.
45034         (R_MN10300_TLS_LE): Likewise.
45035         (R_MN10300_TLS_DTPMOD): Likewise.
45036         (R_MN10300_TLS_DTPOFF): Likewise.
45037         (R_MN10300_TLS_TPOFF): Likewise.
45038         (R_MN10300_SYM_DIFF): Likewise.
45039         (R_MN10300_ALIGN): Likewise.
45040         (R_MN10300_NUM): Update.
45042 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
45044         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
45045         Remove.
45047 2012-08-08  Roland McGrath  <roland@hack.frob.com>
45049         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
45051         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
45052         sysdeps/unix -> sysdeps/posix move.
45053         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45055 2012-08-07      Allan McRae     <allan@archlinux.org>
45057         [BZ #14303]
45058         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
45059         (SUNOS_CPP): Likewise.
45060         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
45061         not found.
45062         (open_input): Call CPP using execvp.
45064 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45066         * sysdeps/unix/sysv/linux/kernel-features.h
45067         (__ASSUME_PROT_GROWSUPDOWN): Remove.
45068         (__ASSUME_NO_CLONE_DETACHED): Likewise.
45069         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45070         (__ASSUME_WAITID_SYSCALL): Likewise.
45071         * sysdeps/unix/sysv/linux/dl-execstack.c
45072         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
45073         code unconditional.
45074         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
45075         conditional code.
45076         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
45077         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
45078         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
45079         code.
45080         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
45081         unconditional.
45082         [__ASSUME_WAITID_SYSCALL]: Likewise.
45083         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
45085 2012-08-07  Roland McGrath  <roland@hack.frob.com>
45087         * sysdeps/unix/closedir.c: Renamed to ...
45088         * sysdeps/posix/closedir.c: ... here.
45089         * sysdeps/unix/dirfd.c: Renamed to ...
45090         * sysdeps/posix/dirfd.c: ... here.
45091         * sysdeps/unix/dirstream.h: Renamed to ...
45092         * sysdeps/posix/dirstream.h: ... here.
45093         * sysdeps/unix/fdopendir.c: Renamed to ...
45094         * sysdeps/posix/fdopendir.c: ... here.
45095         * sysdeps/unix/opendir.c: Renamed to ...
45096         * sysdeps/posix/opendir.c: ... here.
45097         * sysdeps/unix/readdir.c: Renamed to ...
45098         * sysdeps/posix/readdir.c: ... here.
45099         * sysdeps/unix/readdir_r.c: Renamed to ...
45100         * sysdeps/posix/readdir_r.c: ... here.
45101         * sysdeps/unix/rewinddir.c: Renamed to ...
45102         * sysdeps/posix/rewinddir.c: ... here.
45103         * sysdeps/unix/seekdir.c: Renamed to ...
45104         * sysdeps/posix/seekdir.c: ... here.
45105         * sysdeps/unix/telldir.c: Renamed to ...
45106         * sysdeps/posix/telldir.c: ... here.
45107         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
45108         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
45109         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
45110         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
45112         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
45113         * bits/fcntl.h: ... here.
45115         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
45116         not 0.
45117         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
45118         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
45119         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
45120         (struct flock): Move l_start, l_len to the beginning.
45121         Use __pid_t for l_pid.
45122         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
45123         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
45124         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
45125         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
45126         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
45127         [__USE_LARGEFILE64] (struct flock64): New type.
45128         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
45130         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
45131         * bits/dirent.h: ... here.
45133         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
45134         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
45136 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45138         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45139         Change from 2.6.0 to 2.6.16.
45140         * sysdeps/unix/sysv/linux/configure: Regenerated.
45141         * sysdeps/unix/sysv/linux/kernel-features.h
45142         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
45143         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
45144         version.
45145         (__ASSUME_UTIMES): Likewise.
45146         (__ASSUME_CLONE_STOPPED): Remove.
45147         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
45148         architectures, not kernel version.
45149         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
45150         (__ASSUME_NO_CLONE_DETACHED): Likewise.
45151         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45152         (__ASSUME_WAITID_SYSCALL): Likewise.
45153         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
45154         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
45155         * README: State 2.6.16 as minimum Linux kernel version.  Do not
45156         refer to older versions.
45158 2012-08-06  Roland McGrath  <roland@hack.frob.com>
45160         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
45161         Define alphasort64 as an alias.
45162         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
45163         Define versionsort64 as an alias.
45164         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
45165         Define scandir64 as an alias.
45166         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
45167         Define scandirat64 as an alias.
45168         * dirent/alphasort64.c (alphasort64):
45169         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
45170         * dirent/versionsort64.c: Likewise.
45171         * dirent/scandir64.c: Likewise.
45172         * dirent/scandirat64.c: Likewise.
45173         * sysdeps/wordsize-64/alphasort.c: File removed.
45174         * sysdeps/wordsize-64/alphasort64.c: File removed.
45175         * sysdeps/wordsize-64/scandir.c: File removed.
45176         * sysdeps/wordsize-64/scandir64.c: File removed.
45177         * sysdeps/wordsize-64/scandirat.c: File removed.
45178         * sysdeps/wordsize-64/scandirat64.c: File removed.
45179         * sysdeps/wordsize-64/versionsort.c: File removed.
45180         * sysdeps/wordsize-64/versionsort64.c: File removed.
45181         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
45182         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
45183         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
45184         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
45185         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
45186         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
45187         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
45188         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
45190         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
45191         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45192         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
45193         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45194         [defined __arch64__ || defined __sparcv9]
45195         (__INO_T_MATCHES_INO64_T): New macro.
45196         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45197         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
45198         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
45199         * sysdeps/unix/sysv/linux/bits/dirent.h
45200         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
45201         (_DIRENT_MATCHES_DIRENT64): New macro.
45203         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
45204         Define lockf64 as an alias.
45205         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
45206         Define fseeko64 as an alias.
45207         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
45208         Define ftello64 as an alias.
45209         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
45210         Define _IO_fgetpos64 and fgetpos64 as aliases.
45211         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
45212         Define _IO_fsetpos64 and fsetpos64 as aliases.
45213         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
45214         Conditionalize body on this.
45215         * libio/fseeko64.c: Likewise.
45216         * libio/ftello64.c: Likewise.
45217         * libio/iofgetpos64.c: Likewise.
45218         * libio/iofsetpos64.c: Likewise.
45219         * sysdeps/wordsize-64/lockf.c: File removed.
45220         * sysdeps/wordsize-64/lockf64.c: File removed.
45221         * sysdeps/wordsize-64/fseeko.c: File removed.
45222         * sysdeps/wordsize-64/fseeko64.c: File removed.
45223         * sysdeps/wordsize-64/ftello.c: File removed.
45224         * sysdeps/wordsize-64/ftello64.c: File removed.
45225         * sysdeps/wordsize-64/iofgetpos.c: File removed.
45226         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
45227         * sysdeps/wordsize-64/iofsetpos.c: File removed.
45228         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
45229         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
45230         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
45231         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
45232         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
45233         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
45234         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
45235         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
45236         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
45237         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
45238         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
45240         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45241         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45242         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
45243         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45244         [defined __arch64__ || defined __sparcv9]
45245         (__OFF_T_MATCHES_OFF64_T): New macro.
45246         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45247         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45248         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45249         (__OFF_T_MATCHES_OFF64_T): New macro.
45251 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
45253         * stdlib/secure-getenv.c (__secure_getenv): Replace
45254         GLIBC_2_16 with GLIBC_2_17.
45256 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
45258         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
45259         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45261 2012-08-03  David S. Miller  <davem@davemloft.net>
45263         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45265 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
45267         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
45268         Remove.
45269         (__ASSUME_CORRECT_SI_PID): Likewise.
45270         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
45271         (__ASSUME_TMPFS_NAME): Likewise.
45272         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
45273         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
45274         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
45275         (HAVE_AUX_SECURE): Make definition unconditional.
45276         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
45277         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
45279 2012-08-03  Roland McGrath  <roland@hack.frob.com>
45281         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
45282         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
45283         * sysdeps/mach/hurd/eloop-threshold.h: New file.
45284         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
45285         __eloop_threshold instead of SYMLOOP_MAX.
45287         * sysdeps/generic/eloop-threshold.h: New file.
45288         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
45289         of MAXSYMLINKS.
45290         * elf/chroot_canon.c (chroot_canon): Likewise.
45292 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
45294         [BZ #13717]
45295         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45296         Change to 2.6.0 everywhere.
45297         * sysdeps/unix/sysv/linux/configure: Regenerated.
45298         * sysdeps/unix/sysv/linux/kernel-features.h
45299         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
45300         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
45301         kernel versions.
45302         (__ASSUME_POSIX_TIMERS): Define unconditionally.
45303         (__ASSUME_FUTEX_REQUEUE): Remove.
45304         (__ASSUME_STATFS64): Define unconditionally.
45305         (__ASSUME_AT_SECURE): Likewise.
45306         (__ASSUME_CORRECT_SI_PID): Likewise.
45307         (__ASSUME_TGKILL): Define without depending on kernel version for
45308         i386.
45309         (__ASSUME_UTIMES): Likewise.
45310         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
45311         kernel version.
45312         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
45313         (__ASSUME_TMPFS_NAME): Likewise.
45314         * README: Update reference to Linux kernel versions.
45316 2012-08-02  Marek Polacek  <polacek@redhat.com>
45318         [BZ# 14150]
45319         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
45320         libc_cv_asm_type_prefix with %.
45321         * configure: Regenerated.
45322         * include/libc-symbols.h: Remove comment about
45323         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45324         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
45325         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
45326         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
45327         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
45328         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45329         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
45330         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
45331         * elf/tst-unique2mod1.c: Likewise.
45332         * elf/tst-unique1mod2.c: Likewise.
45333         * elf/tst-unique1mod1.c: Likewise.
45334         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
45335         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
45336         Replace ASM_TYPE_DIRECTIVE with .type.
45337         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45338         * sysdeps/i386/sysdep.h: Likewise.
45339         * sysdeps/x86_64/sysdep.h: Likewise.
45340         * sysdeps/sh/sysdep.h: Likewise.
45341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45342         Do not define ASM_TYPE_DIRECTIVE.
45343         * sysdeps/powerpc/sysdep.h: Likewise.
45344         * sysdeps/powerpc/powerpc32/sysdep.h:
45345         Replace ASM_TYPE_DIRECTIVE with .type.
45346         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45347         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45348         * sysdeps/i386/fpu/e_powf.S: Likewise.
45349         * sysdeps/i386/fpu/e_expl.S: Likewise.
45350         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45351         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45352         * sysdeps/i386/fpu/e_pow.S: Likewise.
45353         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45354         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45355         * sysdeps/i386/fpu/s_expm1.S: Likewise.
45356         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45357         * sysdeps/i386/fpu/e_log2.S: Likewise.
45358         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45359         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45360         * sysdeps/i386/fpu/e_powl.S: Likewise.
45361         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45362         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45363         * sysdeps/i386/fpu/e_logl.S: Likewise.
45364         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45365         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
45366         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
45367         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45368         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45369         * sysdeps/i386/fpu/e_log.S: Likewise.
45370         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45371         * sysdeps/i386/fpu/e_logf.S: Likewise.
45372         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45373         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45374         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
45375         * sysdeps/i386/fpu/e_log10.S: Likewise.
45376         * sysdeps/i386/fpu/s_frexp.S: Likewise.
45377         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45378         * sysdeps/i386/fpu/s_asinh.S: Likewise.
45379         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
45380         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45381         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
45382         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
45383         * sysdeps/i386/i686/strtok.S: Likewise.
45384         * sysdeps/i386/i386-mcount.S: Likewise.
45385         * sysdeps/i386/strtok.S: Likewise.
45386         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
45387         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45388         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45389         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45390         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45391         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45392         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
45393         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
45394         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45395         * sysdeps/x86_64/_mcount.S: Likewise.
45396         * sysdeps/x86_64/strtok.S: Likewise.
45397         * sysdeps/sh/_mcount.S: Likewise.
45399 2012-08-01  Roland McGrath  <roland@hack.frob.com>
45401         * libio/iofopen.c: Include <fcntl.h>.
45402         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
45403         (_IO_fopen64, fopen64): Define as aliases.
45404         * libio/iofopen64.c: Include <fcntl.h>.
45405         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
45406         Conditionalize body on this.
45407         * sysdeps/wordsize-64/iofopen.c: File removed.
45408         * sysdeps/wordsize-64/iofopen64.c: File removed.
45410 2012-08-01  Marek Polacek  <polacek@redhat.com>
45412         * libc/Makeconfig: Use elf in place of binfmt-subdir.
45413         Use dlfcn directly instead of a variable.
45414         (binfmt-subdir): Do not define.
45415         (dlfcn): Likewise.
45417 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
45419         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
45420         Remove all definitions.
45421         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
45422         <kernel-features.h>.
45423         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
45424         (miss_F_GETOWN_EX): Remove all definitions.
45425         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
45426         macro definition.
45427         [!__ASSUME_FCNTL64]: Remove conditional code.
45428         [__ASSUME_FCNTL64]: Make code unconditional.
45429         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
45430         <kernel-features.h>.
45431         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
45432         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
45433         (lockf64) [__NR_fcntl64]: Make code unconditional.
45434         (lockf64) [__ASSUME_FCNTL64]: Likewise.
45436         * sysdeps/unix/sysv/linux/kernel-features.h
45437         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
45438         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
45439         Make code unconditional.
45440         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45441         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
45443         [__NR_vfork]: Make code unconditional.
45444         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45445         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
45447         [__NR_vfork]: Make code unconditional.
45448         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45449         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45451 2012-08-01  Roland McGrath  <roland@hack.frob.com>
45453         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
45454         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
45456         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45457         Define mkstemp64 as an alias.
45458         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45459         Define mkstemps64 as an alias.
45460         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45461         Define mkostemp64 as an alias.
45462         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45463         Define mkostemps64 as an alias.
45464         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
45465         Conditionalize body on this.
45466         * misc/mkostemp64.c: Likewise.
45467         * misc/mkostemps64.c: Likewise.
45468         * misc/mkstemps64.c: Likewise.
45469         * sysdeps/wordsize-64/mkstemp64.c: File removed.
45470         * sysdeps/wordsize-64/mkostemp64.c: File removed.
45471         * sysdeps/wordsize-64/mkostemp.c: File removed.
45472         * sysdeps/wordsize-64/mkstemp.c: File removed.
45473         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
45474         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
45475         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
45476         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
45478         [BZ #14138]
45479         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
45480         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
45481         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
45482         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
45484         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
45485         compat_symbol macros from <shlib-compat.h> rather than the underlying
45486         default_symbol_version and symbol_version macros, so that DEFAULT
45487         lines in shlib-versions are respected.
45488         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
45490 2012-08-01  Florian Weimer  <fweimer@redhat.com>
45492         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
45493         Declare with warn_unused_result.
45494         (setgid, setregid, setegid, setresgid): Likewise.
45495         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
45496         Likewise.
45497         * WUR-REPORT: Remove set*id functions.
45499 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
45501         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
45503 2012-07-31  Roland McGrath  <roland@hack.frob.com>
45505         [BZ #10191]
45506         * include/sys/socket.h (__libc_accept, __libc_accept4):
45507         Add attribute_hidden.
45508         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
45510         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
45511         use of PTR_MANGLE.
45512         * inet/getnetgrent_r.c (setup): Likewise.
45514         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
45516 2012-07-31  David S. Miller  <davem@davemloft.net>
45518         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45520 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
45522         [BZ #13629]
45523         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
45524         value between 1.0 and 2.0 and smaller part has absolute value less
45525         than 1.0.
45526         * math/s_clog10.c (__clog10): Likewise.
45527         * math/s_clog10f.c (__clog10f): Likewise.
45528         * math/s_clog10l.c (__clog10l): Likewise.
45529         * math/s_clogf.c (__clogf): Likewise.
45530         * math/s_clogl.c (__clogl): Likewise.
45531         * math/libm-test.inc (clog_test): Add more tests.
45532         (clog10_test): Likewise.
45533         * sysdeps/i386/fpu/libm-test-ulps: Update.
45534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45536 2012-07-31  Florian Weimer  <fweimer@redhat.com>
45538         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
45539         Exit with zero in case no suitable GID is found, and write a
45540         message to standard error.
45542 2012-07-30  Roland McGrath  <roland@hack.frob.com>
45544         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
45545         rather than to 1.
45546         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
45547         (MAXPATHLEN): Removed.
45548         (NOGROUP, NODEV): New macros.
45549         (setbit, clrbit, isset, isclr): New macros.
45550         (howmany, roundup, powerof2): New macros.
45551         (DEV_BSIZE): New macro.
45553         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
45554         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
45556         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
45557         definition on [!__NO_LONG_DOUBLE_MATH].
45559         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
45560         PTR_MANGLE and PTR_DEMANGLE.
45562         * socket/accept4.c (accept4): Rename to __libc_accept4.
45563         Define accept4 as a weak alias.
45565         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
45566         on [_DIRENT_HAVE_D_TYPE].
45567         * io/ftw.c (ftw_dir): Likewise.
45569         * io/xmknod.c (__xmknod): Don't check PATH for being null.
45571         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
45573         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
45574         Use the BSD numbers rather than the arbitrary ones we had.
45575         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
45576         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
45577         (SIGXCPU, SIGXFSZ): New macros.
45578         (_NSIG): Now 32.
45580         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
45581         initializer on [_LIBC_REENTRANT].
45583         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
45584         definitions inside [_POSIX_MAPPED_FILES].
45586         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
45588         * dirent/opendir.c: Include <fcntl.h>.
45590         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
45591         (__libc_getspecific): Likewise.
45592         (__libc_key_create): Likewise.
45594         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
45595         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
45596         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
45597         (tmpfile64): Define as alias.
45598         * sysdeps/wordsize-64/tmpfile.c: File removed.
45599         * sysdeps/wordsize-64/tmpfile64.c: File removed.
45600         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
45601         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
45603         * stdio-common/vfscanf.c: Include <stdbool.h>.
45604         * nss/makedb.c: Likewise.
45605         * stdio-common/_i18n_number.h: Likewise.
45606         * argp/argp-help.c: Likewise.
45607         * posix/wordexp.c: Likewise.
45608         * sysdeps/posix/spawni.c: Likewise.
45609         * nss/nss_files/files-initgroups.c: Likewise.
45610         * stdio-common/reg-modifier.c: Include <stdlib.h>.
45611         * nss/nss_files/files-initgroups.c: Likewise.
45612         * nss/nss_db/db-netgrp.c: Likewise.
45613         * nss/nss_db/db-initgroups.c: Likewise.
45614         * io/fchmodat.c: Include <sys/stat.h>.
45616         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
45617         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
45619         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
45620         [HAVE_MMAP].
45622         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
45623         Add multiple inclusion protection.
45625 2012-07-27  David S. Miller  <davem@davemloft.net>
45627         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45629 2012-07-27  Gary Benson  <gbenson@redhat.com>
45631         [BZ #14298]
45632         * elf/rtld.c: Include <stap-probe.h>.
45633         (dl_main): Added static probes "init_start" and "init_complete".
45634         * elf/dl-load.c: Include <stap-probe.h>.
45635         (lose): Take new parameter "nsid".
45636         Added static probe "map_failed".
45637         (_dl_map_object_from_fd): Pass namespace id to lose.
45638         Added static probe "map_start".
45639         (open_verify): Pass namespace id to lose.
45640         * elf/dl-open.c: Include <stap-probe.h>.
45641         (dl_open_worker) Added static probes "map_complete", "reloc_start"
45642         and "reloc_complete".
45643         * elf/dl-close.c: Include <stap-probe.h>.
45644         (_dl_close_worker): Added static probes "unmap_start" and
45645         "unmap_complete".
45646         * elf/rtld-debugger-interface.txt: New file documenting the above.
45648 2012-07-26  Roland McGrath  <roland@hack.frob.com>
45650         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
45651         rather than a string variable.
45652         * sunrpc/rpc_main.c (h_output): Likewise.
45653         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
45655 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
45657         * inet/check_native.c: New file.
45659 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
45661         [BZ #13629]
45662         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
45663         if larger part has absolute value 1.0.
45664         * math/s_clog10.c (__clog10): Likewise.
45665         * math/s_clog10f.c (__clog10f): Likewise.
45666         * math/s_clog10l.c (__clog10l): Likewise.
45667         * math/s_clogf.c (__clogf): Likewise.
45668         * math/s_clogl.c (__clogl): Likewise.
45669         * math/libm-test.inc (clog_test): Add more tests.
45670         (clog10_test): Likewise.
45671         * sysdeps/i386/fpu/libm-test-ulps: Update.
45672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45674         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
45675         (pltexit): Likewise.
45676         (La_regs): Likewise.
45677         (La_retval): Likewise.
45678         (int_retval): Likewise.
45679         Update #error for removed macros to refer only to definitions in
45680         tst-audit.h.
45681         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
45682         macro.
45683         (pltexit): Likewise.
45684         (La_regs): Likewise.
45685         (La_retval): Likewise.
45686         (int_retval): Likewise.
45687         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
45688         macro.
45689         (pltexit): Likewise.
45690         (La_regs): Likewise.
45691         (La_retval): Likewise.
45692         (int_retval): Likewise.
45693         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
45694         macro.
45695         (pltexit): Likewise.
45696         (La_regs): Likewise.
45697         (La_retval): Likewise.
45698         (int_retval): Likewise.
45699         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
45700         macro.
45701         (pltexit): Likewise.
45702         (La_regs): Likewise.
45703         (La_retval): Likewise.
45704         (int_retval): Likewise.
45705         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
45706         macro.
45707         (pltexit): Likewise.
45708         (La_regs): Likewise.
45709         (La_retval): Likewise.
45710         (int_retval): Likewise.
45711         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
45712         macro.
45713         (pltexit): Likewise.
45714         (La_regs): Likewise.
45715         (La_retval): Likewise.
45716         (int_retval): Likewise.
45717         * sysdeps/generic/tst-audit.h: Update comment to refer only to
45718         macro definitions in tst-audit.h.
45719         * sysdeps/i386/tst-audit.h: New file.
45720         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
45721         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
45722         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
45723         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
45724         * sysdeps/sh/tst-audit.h: Likewise.
45725         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
45726         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
45727         * sysdeps/x86_64/tst-audit.h: Likewise.
45729 2012-07-26  Andreas Jaeger  <aj@suse.de>
45731         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
45732         ptrace.
45734         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
45735         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
45736         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
45737         PTRACE_O_MASK.
45738         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
45739         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
45740         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
45742         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
45743         value.
45745         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
45746         _sigsys.
45747         (si_call_addr, si_syscall, si_arch): Define new macro.
45748         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
45749         _sigsys.
45750         (si_call_addr, si_syscall, si_arch): Define new marcro.
45751         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
45752         _sigsys.
45753         (si_call_addr, si_syscall, si_arch): Define new macro.
45754         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
45755         _sigsys.
45756         (si_call_addr, si_syscall, si_arch): Define new macro.
45758 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
45760         [BZ #13717]
45761         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45762         Change to 2.4.21 where previously 2.4.1.
45763         * sysdeps/unix/sysv/linux/configure: Regenerated.
45764         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
45765         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
45766         Linux kernel version.
45767         (__ASSUME_STD_AUXV): Remove.
45768         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
45769         kernel version.
45770         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
45771         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
45772         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
45773         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
45774         (__ASSUME_NETLINK_SUPPORT): Likewise.
45775         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
45776         (__no_netlink_support): Remove conditional definition.
45777         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
45778         Remove.
45779         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45780         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
45781         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
45782         (if_nameindex_ioctl): Remove.
45783         (if_nameindex_netlink): Do not handle __no_netlink_support.
45784         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45785         code.
45786         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
45787         Remove conditional code.
45788         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45789         code.
45790         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
45791         unconditional.
45792         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45793         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
45794         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
45795         Remove.
45796         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
45797         [!__ASSUME_STD_AUXV]: Remove conditional code.
45798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
45799         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
45800         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
45801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
45802         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
45803         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45804         code.
45805         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45807         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
45808         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45809         conditional code.
45810         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45812         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45813         code.
45814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45815         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45816         conditional code.
45817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
45818         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45819         code unconditional.
45820         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45821         conditional code.
45822         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45823         unconditional.
45824         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45825         conditional code.
45826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45827         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45828         unconditional.
45829         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45830         conditional code.
45831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
45832         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45833         code unconditional.
45834         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45835         conditional code.
45836         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45837         unconditional.
45838         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45839         conditional code.
45840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
45841         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45842         code unconditional.
45843         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45844         conditional code.
45845         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45846         unconditional.
45847         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45848         conditional code.
45850 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
45852         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
45853         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
45854         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
45855         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
45856         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
45857         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
45858         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
45859         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
45860         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
45861         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
45862         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
45863         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
45864         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
45865         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
45866         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
45867         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
45868         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
45869         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
45870         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
45871         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
45872         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
45873         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
45874         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
45876 2012-07-25  Florian Weimer  <fweimer@redhat.com>
45878         * Versions.def: Add GLIBC_2.17.
45879         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
45880         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
45881         Introduce __libc_secure_getenv.
45882         * stdlib/Versions (2.17): Add secure_getenv
45883         (GLIBC_PRIVATE): Add __libc_secure_getenv.
45884         * stdlib/secure-getenv.c: Rename __secure_getenv to
45885         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
45886         symbol __secure_getenv for GLIBC_2.0.
45887         * stdlib/tst-secure-getenv.c: New.
45888         * stdlib/Makefile (tests): Add testcase.
45889         * manual/startup.texi (Environment Access): Document
45890         secure_getenv.
45891         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
45892         __libc_secure_getenv.
45893         * inet/ruserpass.c (ruserpass): Likewise.
45894         * malloc/mtrace.c (mtrace): Likewise.
45895         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
45896         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
45897         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
45898         * sysdeps/posix/tempname.c: Likewise.  Evaluate
45899         HAVE_SECURE_GETENV.
45900         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
45901         __secure_getenv to __libc_secure_getenv.
45902         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
45903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45904         Likewise.
45905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45906         Likewise.
45907         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45908         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45909         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45910         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45911         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45912         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45913         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45915 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
45917         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
45918         (struct La_i86_retval): Likewise.
45919         (struct La_x86_64_regs): Likewise.
45920         (struct La_x86_64_retval): Likewise.
45921         (struct La_x32_regs): Likewise.
45922         (struct La_x32_retval): Likewise.
45923         (struct La_ppc32_regs): Likewise.
45924         (struct La_ppc32_retval): Likewise.
45925         (struct La_ppc64_regs): Likewise.
45926         (struct La_ppc64_retval): Likewise.
45927         (struct La_sh_regs): Likewise.
45928         (struct La_sh_retval): Likewise.
45929         (struct La_s390_32_regs): Likewise.
45930         (struct La_s390_32_retval): Likewise.
45931         (struct La_s390_64_regs): Likewise.
45932         (struct La_s390_64_retval): Likewise.
45933         (struct La_sparc32_regs): Likewise.
45934         (struct La_sparc32_retval): Likewise.
45935         (struct La_sparc64_regs): Likewise.
45936         (struct La_sparc64_retval): Likewise.
45937         (struct audit_ifaces): Remove architecture-specific pltenter and
45938         pltexit members.
45939         * sysdeps/i386/ldsodefs.h: New file.
45940         * sysdeps/powerpc/ldsodefs.h: Likewise.
45941         * sysdeps/s390/ldsodefs.h: Likewise.
45942         * sysdeps/sh/ldsodefs.h: Likewise.
45943         * sysdeps/sparc/ldsodefs.h: Likewise.
45944         * sysdeps/x86_64/ldsodefs.h: Likewise.
45946 2012-07-25  Marek Polacek  <polacek@redhat.com>
45948         [BZ #6808]
45949         * math/libm-test.inc (yn_test): Add another test.
45950         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
45951         to ERANGE when the result is +-Inf.
45952         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
45953         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
45954         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
45955         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
45957 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
45959         * conform/data/time.h-data (NULL): Use macro-constant.  Require
45960         equal to 0.
45961         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
45962         clock_t.
45963         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
45965 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
45967         * configure.in <sysdeps resolving>: Correct printing
45968         Implies_before.
45969         * configure: Regenerate.
45971 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
45973         * math/w_ilogb.c: Include <limits.h>.
45974         * math/w_ilogbl.c: Likewise.
45976 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
45978         * manual/lang.texi (__va_copy): Document primarily as ISO C99
45979         va_copy.  Document allowing for unavailable va_copy only as
45980         pre-C99 compatibility.
45981         * manual/string.texi (Copying and Concatenation): Use va_copy
45982         instead of __va_copy in concat example.
45984 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
45986         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
45987         (__sendto): Use create_address_port.  Initialize APORT and deallocate
45988         it if not null.
45990         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
45991         with O_NOLINK passed to __file_name_lookup.
45993         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
45994         with O_NOLINK passed to __file_name_lookup.
45996         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
45997         negative N or less than NGIDS.
45999         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
46000         type to string_t.  Set ERANGE as errno and return it if NAME is not big
46001         enough.  Use memcpy instead of strncpy.
46003 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
46005         * elf/Makefile (check-data): Remove.
46006         (localplt.data): New vpath directive.
46007         ($(objpfx)check-localplt.out): Use localplt.data from vpath
46008         instead of $(check-data).
46009         * scripts/data/localplt-generic.data: Move to ...
46010         * sysdeps/generic/localplt.data: ... here.
46011         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
46012         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
46013         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
46014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
46015         ... here.
46016         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
46017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
46018         ... here.
46019         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
46020         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
46021         ... here.
46022         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
46023         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
46024         ... here.
46025         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
46026         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
46027         ... here.
46028         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
46029         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
46030         ... here.
46032 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46034         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
46035         PPC32 and PPC64 files.
46036         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
46037         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
46039 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46041         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
46042         __makecontext_ret to ...
46043         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
46044         ... here and call exit if uc_link is NULL.  New file.
46045         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
46046         __makecontext_ret.S.
46047         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
46048         __makecontext_ret to ...
46049         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
46050         ... here and call exit if uc_link is NULL.  New file.
46051         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
46052         __makecontext_ret.S.
46054 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46056         * elf/elf.h (R_390_IRELATIVE): New definition.
46057         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
46058         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
46059         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
46060         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
46061         (elf_machine_lazy_rel): Likewise.
46062         * sysdeps/s390/dl-irel.h: New file.
46063         * sysdeps/s390/s390-64/memcpy.S: New asm code.
46064         * sysdeps/s390/s390-64/memset.S: New asm code.
46065         * sysdeps/s390/s390-64/memcmp.S: New asm code.
46066         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
46067         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
46068         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
46069         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
46070         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
46071         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
46072         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
46073         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
46074         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
46075         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
46076         * sysdeps/s390/s390-32/memcpy.S: New asm code.
46077         * sysdeps/s390/s390-32/memset.S: New asm code.
46078         * sysdeps/s390/s390-32/memcmp.S: New asm code.
46080 2012-07-17  Marek Polacek  <polacek@redhat.com>
46082         [BZ #14349]
46083         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
46084         * sysdeps/s390/s390-64/configure.in: Likewise.
46085         * sysdeps/sparc/configure.in: Likewise.
46086         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
46087         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
46088         * sysdeps/i386/configure.in: Likewise.
46089         * sysdeps/x86_64/configure.in: Likewise.
46090         * sysdeps/sh/configure.in: Likewise.
46091         * sysdeps/s390/s390-32/configure: Regenerated.
46092         * sysdeps/s390/s390-64/configure: Likewise.
46093         * sysdeps/x86_64/configure: Likewise.
46094         * sysdeps/sh/configure: Likewise.
46095         * sysdeps/powerpc/powerpc64/configure: Likewise.
46096         * sysdeps/powerpc/powerpc32/configure: Likewise.
46097         * sysdeps/sparc/configure: Likwise.
46098         * sysdeps/i386/configure: Likewise.
46100         * elf/dl-open.c: Comment fixes.
46102 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
46104         * Makefile [CXX] (check-data): Remove.
46105         [CXX] (c++-types.data): New vpath directive.
46106         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
46107         vpath.  Do not allow for C++ type data being missing.
46108         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
46109         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
46110         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
46111         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
46112         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
46113         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
46114         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
46115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
46116         ... here.
46117         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
46118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
46119         ... here.
46120         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
46121         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
46122         ... here.
46123         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
46124         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
46125         ... here.
46126         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
46127         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
46128         ... here.
46129         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
46130         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
46131         ... here.
46132         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
46133         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
46134         ... here.
46135         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
46136         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
46138         * elf/tls-macros.h (TLS_LE): Move architecture-specific
46139         definitions to architecture-specific files.
46140         (TLS_IE): Likewise.
46141         (TLS_LD): Likewise.
46142         (TLS_GD): Likewise.
46143         * sysdeps/i386/tls-macros.h: New file.
46144         * sysdeps/powerpc/tls-macros.h: Likewise.
46145         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
46146         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
46147         * sysdeps/sh/tls-macros.h: Likewise.
46148         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
46149         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
46150         * sysdeps/x86_64/tls-macros.h: Likewise.
46152 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
46154         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
46155         zero value for regular exit case.
46157         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
46158         (__start_context): Preserve zero value for regular exit case.
46160 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
46161             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46163         * manual/setjmp.texi (setcontext): Clarify normal process
46164         termination when uc_link is the null pointer.
46165         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
46166         exit call.
46168 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
46170         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
46171         preprocessor.  Test for each exception mask separately.
46173 2012-07-16  Andreas Jaeger  <aj@suse.de>
46175         * po/ru.po: Update from translation team.
46177 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
46179         * conform/data/string.h-data (NULL): Use macro-constant.  Require
46180         equal to 0.
46181         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46182         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46183         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
46184         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
46185         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46187 2012-07-13  Andreas Jaeger  <aj@suse.de>
46189         * po/fr.po: Update from translation team.
46191 2012-07-12  Marek Polacek  <polacek@redhat.com>
46193         [BZ #14173]
46194         * math/libm-test.inc (yn_test): Add test for BZ #14173.
46195         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
46196         loop condition.
46198 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
46200         [BZ #13717]
46201         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46202         Change to 2.4.1 where previously 2.4.0.
46203         * sysdeps/unix/sysv/linux/configure: Regenerated.
46204         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
46205         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
46206         version.
46207         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
46208         (__ASSUME_AT_CLKTCK): Remove.
46209         (__ASSUME_AT_PAGESIZE): Likewise.
46210         (__ASSUME_AT_XID): Likewise.
46211         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
46212         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
46213         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
46214         unconditionally.
46215         (HAVE_AUX_PAGESIZE): Likewise.
46216         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
46217         [__ASSUME_AT_CLKTCK]: Make code unconditional.
46218         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
46220 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
46222         [BZ #14307]
46223         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
46224         the temporary buffer used to invoke __gethostbyname2_r,
46225         __gethostbyaddr_r and gethostbyname4_r to make room for struct
46226         host_data / struct gaih_addrtuple.
46227         * resolv/nss_dns/dns-host.c (global scope): Move definition of
46228         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
46229         header file nss/nsswitch.h.
46230         * nss/nsswitch.h (global scope): Add definition of implementation
46231         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
46232         resolv/nss_dns/dns-host.c).
46234 2012-07-11  Andreas Jaeger  <aj@suse.de>
46236         * po/fr.po: Update from translation team.
46238         * po/sv.po: Update from translation team
46239         * po/fr.po: Another update from translation team.
46241 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46243         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
46244         for subnormals or multiply small sinh result by itself.
46245         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46246         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46248 2012-07-11  David S. Miller  <davem@davemloft.net>
46250         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46252 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
46254         [BZ #14347]
46255         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
46256         (INTERNAL_MARK): Shift it here.
46258 2012-07-10  Marek Polacek  <polacek@redhat.com>
46260         [BZ #14151]
46261         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
46262         libc_cv_asm_global_directive with .globl.
46263         * configure: Regenerated.
46264         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
46265         with .globl.
46266         * sysdeps/i386/configure: Regenerated.
46267         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
46268         with .globl.
46269         * sysdeps/x86_64/configure: Regenerated.
46270         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
46271         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
46272         * elf/tst-unique2mod2.c: Likewise.
46273         * elf/tst-unique2mod1.c: Likewise.
46274         * elf/tst-unique1mod2.c: Likewise.
46275         * elf/tst-unique1mod1.c: Likewise.
46276         * sysdeps/s390/s390-32/sysdep.h: Likewise.
46277         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46278         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46279         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46280         * sysdeps/mach/sysdep.h: Likewise.
46281         * sysdeps/i386/sysdep.h: Likewise.
46282         * sysdeps/i386/i386-mcount.S: Likewise.
46283         * sysdeps/x86_64/_mcount.S: Likewise.
46284         * sysdeps/x86_64/sysdep.h: Likewise.
46285         * sysdeps/sh/_mcount.S: Likewise.
46286         * sysdeps/sh/sysdep.h: Likewise.
46287         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
46288         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
46289         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
46290         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46291         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
46292         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
46293         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
46294         * locale/localeinfo.h: Likewise.
46295         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
46296         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
46298 2012-07-09  Roland McGrath  <roland@hack.frob.com>
46300         [BZ #14336]
46301         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
46302         system".
46303         * manual/message.texi (The Uniforum approach): Likewise.
46304         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
46305         (glibc iconv Implementation): Likewise.
46307 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
46309         [BZ #14337]
46310         * math/s_clog.c (__clog): Avoid scaling a value down where that
46311         could result in underflow.
46312         * math/s_clog10.c (__clog10): Likewise.
46313         * math/s_clog10f.c (__clog10f): Likewise.
46314         * math/s_clog10l.c (__clog10l): Likewise.
46315         * math/s_clogf.c (__clogf): Likewise.
46316         * math/s_clogl.c (__clogl): Likewise.
46317         * math/libm-test.inc (clog_test): Add more tests.
46318         (clog10_test): Likewise.
46319         * sysdeps/i386/fpu/libm-test-ulps: Update.
46320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46322 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
46324         [BZ #14283]
46325         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
46326         by 7 not 8 to examine high bit of fractional part.
46328         [BZ #14042]
46329         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
46330         for call to __mcount_internal.
46331         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
46332         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
46333         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
46335 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
46337         [BZ #14154]
46338         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
46339         approximation for values within 0x1p-13f of an odd multiple of
46340         pi/4.
46341         * math/libm-test.inc (tan_test): Do not allow spurious underflow
46342         exception.  Add more tests.
46343         * sysdeps/i386/fpu/libm-test-ulps: Update.
46345         [BZ #6778]
46346         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
46347         inputs and return -1 for them.  Do not check for +Inf in case not
46348         reachable for +Inf.
46349         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
46350         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
46351         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46352         and return -1 for them.  Do not check for +Inf in case not
46353         reachable for +Inf.
46354         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
46355         define.
46356         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46357         and return -1 for them.  Do not check for +Inf in case not
46358         reachable for +Inf.
46359         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
46360         spurious underflow.
46361         * sysdeps/i386/fpu/libm-test-ulps: Update.
46362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46364 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
46366         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
46368 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
46370         [BZ #14157]
46371         [BZ #14331]
46372         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
46373         could result in spurious underflow.  Scale down values above
46374         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
46375         * math/s_csqrtf.c (__csqrtf): Likewise.
46376         * math/s_csqrtl.c (__csqrtl): Likewise.
46377         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
46378         spurious underflow.
46379         * sysdeps/i386/fpu/libm-test-ulps: Update.
46380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46382 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
46384         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
46385         xopen-msg.sed.
46386         * catgets/xopen-msg.awk: New file.
46387         * catgets/xopen-msg.sed: Removed.
46389         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
46390         po2text.sed.
46391         * intl/po2test.awk: New file.
46392         * intl/po2test.sed: Removed.
46394 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
46396         [BZ #14328]
46397         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
46398         or multiply small sinh result by itself.
46399         * math/s_ctanf.c (__ctanf): Likewise.
46400         * math/s_ctanh.c (__ctanh): Likewise.
46401         * math/s_ctanhf.c (__ctanhf): Likewise.
46402         * math/s_ctanhl.c (__ctanhl): Likewise.
46403         * math/s_ctanl.c (__ctanl): Likewise.
46404         * math/libm-test.inc (ctan_test_tonearest): New function.
46405         (ctan_test_towardzero): Likewise.
46406         (ctan_test_downward): Likewise.
46407         (ctan_test_upward): Likewise.
46408         (ctanh_test_tonearest): Likewise.
46409         (ctanh_test_towardzero): Likewise.
46410         (ctanh_test_downward): Likewise.
46411         (ctanh_test_upward): Likewise.
46412         (main): Call these new functions.
46413         * sysdeps/i386/fpu/libm-test-ulps: Update.
46414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46416 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
46418         * .gitignore: Delete /ports entry.
46420 2012-07-03  Andreas Jaeger  <aj@suse.de>
46422         * po/bg.po: Update from translation team.
46423         * po/cs.po: Likewise.
46424         * po/de.po: Likewise.
46425         * po/hr.po: Likewise.
46426         * po/nl.pl: Likewise.
46427         * po/pl.po: Likewise.
46428         * po/vi.po: Likewise.
46430 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
46432         * Makeconfig [!+link] (+link-before-libc): New variable.
46433         [!+link] (+link-after-libc): Likewise.
46434         [!+link] (+link-tests): Likewise.
46435         [!+link] (+link): Define in terms of $(+link-before-libc) and
46436         $(+link-after-libc).
46437         [!+link-static] (+link-static-before-libc): New variable.
46438         [!+link-static] (+link-static-after-libc): Likewise.
46439         [!+link-static] (+link-static-tests): Likewise.
46440         [!+link-static] (+link-static): Define in terms of
46441         $(+link-static-before-libc) and $(+link-static-after-libc).
46442         [build-shared] (link-libc-before-gnulib): New variable.
46443         [build-shared] (link-libc-tests): Likewise.
46444         [build-shared] (link-libc): Define in terms of
46445         $(link-libc-before-gnulib).
46446         [!build-shared] (link-libc-tests): New variable.
46447         (link-libc-static-tests): New variable.
46448         [!gnulib] (gnulib-arch): New variable.
46449         [!gnulib] (gnulib-tests): Likewise.
46450         [!gnulib] (static-gnulib-arch): Likewise.
46451         [!gnulib] (static-gnulib-tests): Likewise.
46452         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
46453         Define with "=" instead of ":=".
46454         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
46455         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
46456         * Rules (binaries-all-notests): New variable.
46457         (binaries-all-tests): Likewise.
46458         (binaries-static-notests): Likewise.
46459         (binaries-static-tests): Likewise.
46460         (binaries-all): Define using $(binaries-all-notests) and
46461         $(binaries-all-tests).
46462         (binaries-static): Define using $(binaries-static-notests) and
46463         $(binaries-static-tests).
46464         (binaries-shared-tests): New variable.
46465         (binaries-shared-notests): Likewise.
46466         (binaries-shared): Remove variable.
46467         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
46468         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
46469         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
46470         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
46471         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
46472         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
46473         * elf/Makefile (sln-modules): New variable.
46474         (extra-objs): Add $(sln-modules:=.o).
46475         (ldconfig-modules): Add static-stubs.
46476         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
46477         * elf/static-stubs.c: New file.
46479         [BZ #14283]
46480         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
46481         by 7 not 8 to examine high bit of fractional part.  Use volatile
46482         variables when splitting into final array of floats if
46483         __FLT_EVAL_METHOD__ != 0.
46484         * math/libm-test.inc (cos_test): Add another test.
46485         (sin_test): Likewise.
46486         * sysdeps/i386/fpu/libm-test-ulps: Update.
46488         [BZ #14273]
46489         * math/libm-test.inc (cosh_test): Add more tests.
46491         * version.h (RELEASE): Set to "development".
46492         (VERSION): Set to "2.16.90".
46494 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
46496         * NEWS: Update copyright. Remove last-updated date.
46497         Mention math library bug fixes and timezone data changes.
46498         * README: Mention GNU/Hurd, x32, and HPPA support status.
46500 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
46502         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
46504 2012-06-27  Andreas Jaeger  <aj@suse.de>
46506         * manual/contrib.texi (Contributors): Add Samuel Thibault.
46508 2012-06-25  Andreas Jaeger  <aj@suse.de>
46510         * sysdeps/s390/fpu/libm-test-ulps: Update.
46512 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
46513             Thomas Schwinge  <thomas@codesourcery.com>
46515         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
46516         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
46517         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
46518         fanotify_mark.
46520 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
46522         * sysdeps/mach/start.c: Remove file.
46523         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
46524         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
46525         * sysdeps/sh/init-first.c: Likewise.
46527         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
46528         registers for frame unwinding purposes, add CFI directives.
46529         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46530         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
46531         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
46532         Likewise.
46534         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
46535         __fortify_fail returning.
46536         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46538         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
46539         sysdeps/sh/____longjmp_chk.S.
46540         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
46541         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
46542         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
46543         (gen-as-const-headers): Append sigaltstack-offsets.sym.
46545         * sysdeps/sh/abort-instr.h: New file.
46546         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
46547         process in case exit returns.
46549         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
46550         initialize the GOT register before use.
46552         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
46553         calculation of ARGC > 4.
46555         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
46556         meaningful names to some local labels.
46558 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46559             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46561         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
46562         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
46563         (__arch_compare_and_exchange_val_16_acq): Likewise.
46564         (__arch_compare_and_exchange_val_32_acq): Likewise.
46565         (atomic_exchange_and_add): Fix gUSA sequence.
46566         (atomic_add): Likewise.
46567         (atomic_add_negative): Likewise.
46568         (atomic_add_zero): Likewise.
46569         (atomic_bit_test_set): Likewise.
46571 2012-06-22  Andreas Schwab  <schwab@redhat.com>
46573         [BZ #13579]
46574         * include/link.h (struct link_map): Add l_free_initfini.
46575         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
46576         l_initfini.
46577         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
46578         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
46579         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
46580         set.
46582 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
46584         * configure.in: Use AC_LANG_SOURCE.
46585         * configure: Regenerate.
46587 2012-06-22  Roland McGrath  <roland@hack.frob.com>
46589         * configure.in (libc_cv_localstatedir): New substituted variable.
46590         * configure: Regenerated.
46591         * config.make.in (localstatedir): New variable, substituted from
46592         libc_cv_localstatedir.
46593         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
46594         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
46595         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
46596         * sysdeps/gnu/configure: Regenerated.
46598 2012-06-21  Jeff Law  <law@redhat.com>
46600         [BZ #14277]
46601         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
46602         free.  Simplify list management for _LIBC case.
46604 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
46606         [BZ #14273]
46607         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
46608         Clear sign bit of 64-bit integer value before comparing against
46609         overflow value.
46611         * sysdeps/mach/configure: Regenerated.
46613 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
46615         [BZ #14278]
46616         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
46618 2012-06-21  Jeff Law  <law@redhat.com>
46620         [BZ #13882]
46621         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
46622         uint16_t for elements in the "seen" array to avoid char overflows.
46623         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46624         * elf/dl-open.c (dl_open_worker): Likewise.
46626 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
46628         * scripts/list-sources.sh: Scan PORTS for translations.
46629         * po/libc.pot: Regenerated.
46631 2012-06-21  Andreas Jaeger  <aj@suse.de>
46633         [BZ #12194]
46634         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
46635         warning.
46636         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
46637         * bits/byteswap-16.h (__bswap_16): Likewise.
46638         * bits/byteswap.h (__bswap_constant_16): Likewise.
46640 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
46642         [BZ #14117]
46643         * sysdeps/i386/fpu_control.h: Removed.
46644         * sysdeps/x86_64/fpu_control.h: Moved to ...
46645         * sysdeps/x86/fpu_control.h: Here.
46647         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
46648         (_FPU_SETCW): Likewise.
46650 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
46652         [BZ #14117]
46653         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
46654         * sysdeps/x86/fpu/bits/mathinline.h: This.
46655         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
46657         [BZ #14050]
46658         [BZ #14117]
46659         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
46660         functions if __x86_64__ is defined.
46662 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
46664         * string/endian.h: Add !__ASSEMBLER__ condition for including
46665         conversion interfaces.
46667 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
46669         [BZ #14241]
46670         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
46671         of ABS(x) in calculating zero to negative powers other than odd
46672         integers.
46673         * math/libm-test.inc (pow_test): Add more tests.
46675 2012-06-15  Andreas Jaeger  <aj@suse.de>
46677         * manual/contrib.texi (Contributors): Update entry of Liubov
46678         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
46679         Machado Filho.
46681 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
46683         * string/string.h: Add __wur to GNU version of strerror_r.
46685 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
46687         [BZ #14229]
46688         * string/Makefile (tests): Add tst-strtok_r.
46689         * string/tst-strtok_r.c: New file.
46690         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
46691         RAX_LP/RDX_LP on SAVE_PTR.
46693 2012-06-14  Roland McGrath  <roland@hack.frob.com>
46695         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
46697 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
46699         * libm_test.inc (csqrt_test): Allow more spurious underflow
46700         exceptions.
46701         (j0_test): Likewise.
46702         (j1_test): Likewise.
46703         (y0_test): Likewise.
46704         (y1_test): Likewise.
46706 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
46708         * po/Makefile (libc.pot): Use UTF-8 charset.
46710 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
46712         [BZ #14210]
46713         Suppress sign-conversion warning from FD_SET.
46714         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
46715         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
46716         not unsigned long int.
46717         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
46719 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
46721         [BZ #14050]
46722         [BZ #14117]
46723         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
46724         __extern_always_inline instead of __extern_inline.
46725         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
46726         (__signbit): Likewise.
46727         (__signbitl): Support C++ namespace.
46728         (lrintf): New inline function.
46729         (lrint): Likewise.
46730         (llrintf): Likewise.
46731         (llrint): Likewise.
46732         (fmaxf): Likewise.
46733         (fmax): Likewise.
46734         (fminf): Likewise.
46735         (fmin): Likewise.
46736         (rint): Likewise.
46737         (rintf): Likewise.
46738         (ceil): Likewise.
46739         (ceilf): Likewise.
46740         (floor): Likewise.
46741         (floorf): Likewise.
46742         (nearbyint): Likewise.
46743         (nearbyintf): Likewise.
46745 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
46747         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
46748         non-default versions.
46750 2012-06-11  Roland McGrath  <roland@hack.frob.com>
46752         [BZ #14218]
46753         * manual/argp.texi (Argp): Reword argp_parse description slightly.
46755 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
46757         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
46758         (FE_UPWARD, FE_DOWNWARD): Don't define.
46759         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
46760         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46762         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
46763         reading it.
46764         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46765         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46767 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46769         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46770         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
46771         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
46772         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
46774 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
46776         [BZ #14117]
46777         * sysdeps/i386/fpu/bits/fenv.h: Removed.
46778         * sysdeps/i386/fpu/Implies: New file.
46779         * sysdeps/x86_64/fpu/Implies: Likewise.
46780         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
46781         * sysdeps/x86/fpu/bits/fenv.h: This.
46783         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
46784         __SSE_MATH__.
46786 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
46788         [BZ #14134]
46789         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
46790         character 0xffff that matches the last element of the
46791         conversion table.
46793 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46795         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
46796         fmodl commit.
46798 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46800         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
46801         values higher than 25.6283.
46803 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46805         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
46806         subnormal exponent extraction and add some __builtin_expect.
46807         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
46808         Fix for subnormal mantissa calculation.
46810 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
46812         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
46813         cpu2 is -1 and errno is not ENOSYS.
46815 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
46817         [BZ #14117]
46818         * sysdeps/i386/i486/bits/string.h: Renamed to ...
46819         * sysdeps/x86/bits/string.h: This.
46820         * sysdeps/x86_64/bits/string.h: Removed.
46822         * sysdeps/i386/i486/bits/string.h: Define inline functions only
46823         if not compiling for x86-64, but compiling for >= i486.
46825         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
46826         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
46828         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
46829         New macro from Linux kernel 3.4.0.
46830         (FP_XSTATE_MAGIC2): Likewise.
46831         (FP_XSTATE_MAGIC2_SIZE): Likewise.
46832         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
46833         (struct _fpx_sw_bytes): New struct.
46834         (struct _xsave_hdr): Likewise.
46835         (struct _ymmh_state): Likewise.
46836         (struct _xstate): Likewise.
46838         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
46839         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
46840         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
46841         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
46842         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
46843         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
46845         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
46846         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
46847         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
46848         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
46849         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
46850         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
46852 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46854         [BZ #13743]
46855         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
46856         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
46857         (sysdep_headers): Include sys/platform/ppc.h.
46858         * sysdeps/powerpc/test-gettimebase.c: Test for
46859         __ppc_get_timebase() to catch future ISA opcode/insn changes.
46860         * manual/Makefile (appendices): Include platform.texi.
46861         * manual/contrib.texi (Contributors): Update @node pointers.
46862         * manual/maint.texi (Maintenance): Likewise.
46863         (Platform): New node.
46864         * manual/platform.texi: New file.  Document the new features.
46866 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46867             Jakub Jelinek  <jakub@redhat.com>
46869         [BZ #14188]
46870         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
46871         where __builtin_expect is unavailable.
46873 2012-06-03  David S. Miller  <davem@davemloft.net>
46875         * stdlib/longlong.h: Updated from GCC.
46877 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
46879         [BZ #14042]
46880         * sysdeps/powerpc/powerpc32/mcount.c: New file.
46881         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
46882         __mcount_internal.
46883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
46884         (GLIBC_2.16): Likewise.
46886 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46888         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
46890 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
46892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
46893         (default-abi): New variable.
46894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
46895         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
46896         variable.
46897         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
46898         Likewise.
46899         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
46900         Likewise.
46901         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
46902         Likewise.
46904         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
46905         definition.  Document in comment.
46907 2012-06-01  David S. Miller  <davem@davemloft.net>
46909         * stdlib/longlong.h: Updated from GCC.
46911 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46913         [BZ #14117]
46914         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
46915         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
46916         sys/debugreg.h sys/io.h here.
46917         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
46918         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
46919         sys/io.h.
46920         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
46921         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
46922         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
46923         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
46924         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
46925         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
46927         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
46928         Define only if __x86_64__ is defined.
46930 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
46932         [BZ #14048]
46933         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
46934         Use int64_t for variable i.
46935         * math/libm-test.inc (fmod_test): Add more tests.
46937         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
46938         z computation is not scheduled after fetestexcept.
46939         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
46940         Use math_force_eval instead of asm to ensure calculation scheduled
46941         before exception test.
46942         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
46943         Ensure a1 + u.d computation is not scheduled after fetestexcept.
46945 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
46947         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
46948         computation is not scheduled after fetestexcept.
46950 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46952         [BZ #14117]
46953         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
46954         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
46956 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46958         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
46959         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46961 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
46963         [BZ #14117]
46964         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
46965         <bits/wordsize.h>.
46966         (__WCHAR_MIN): Support __WORDSIZE == 64.
46967         (__WCHAR_MAX): Likewise.
46969         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
46970         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
46972         [BZ #14183]
46973         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
46974         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
46976         [BZ #14117]
46977         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
46978         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
46980         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
46981         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
46983         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
46984         Defined to 1 if __x86_64__ isn't defined.
46985         (_STAT_VER_LINUX_OLD): New.
46986         (st_atime): Remove duplicate.
46987         (st_mtime): Likewise.
46988         (st_ctime): Likewise.
46990 2012-05-31  David S. Miller  <davem@davemloft.net>
46992         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
46993         entries.
46995 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
46997         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
46998         gen-libm-test.pl.
47000         [BZ #14132]
47001         * elf/dl-reloc.c: Include <_itoa.h>.
47002         (_dl_reloc_bad_type): Remove use of INTUSE.
47003         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
47004         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
47005         * stdio-common/psiginfo.c (psiginfo): Likewise.
47006         * stdio-common/psignal.c (psignal): Likewise.
47007         * string/strsignal.c (strsignal): Likewise.
47008         * include/signal.h (_sys_siglist): Declare hidden proto.
47009         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
47010         INTVARDEF with libc_hidden_data_def.
47011         * stdio-common/itoa-udigits.c: Likewise.
47012         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
47013         (_itoa_lower_digits_internal): Remove declaration.
47014         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
47015         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
47016         (_sys_sigabbrev_internal): Remove aliases.
47017         (_sys_siglist): Define hidden alias.
47019 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
47021         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47022         bits/sysctl.h.
47024 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
47026         [BZ #14117]
47027         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
47028         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
47030         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
47031         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
47032         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
47033         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
47034         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
47035         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
47037         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
47038         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
47039         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
47041         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
47042         with __addr.
47043         (insw): Likewise.
47044         (insl): Likewise.
47045         (outsb): Likewise.
47046         (outsw): Likewise.
47047         (outsl): Likewise.
47049         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
47050         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
47051         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
47053         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
47054         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
47055         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
47056         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
47057         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
47058         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
47060         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
47061         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
47063         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
47064         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
47066         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
47067         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
47068         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
47070         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
47071         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
47072         to ...
47073         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
47075         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
47076         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
47077         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
47079         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
47080         for x86-64.
47081         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
47083 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
47085         * math/math.h (M_El): Use two more decimal places.
47086         (M_LOG2El): Likewise.
47087         (M_LOG10El): Likewise.
47088         (M_LN2l): Likewise.
47089         (M_LN10l): Likewise.
47090         (M_PIl): Likewise.
47091         (M_PI_2l): Likewise.
47092         (M_PI_4l): Likewise.
47093         (M_1_PIl): Likewise.
47094         (M_2_PIl): Likewise.
47095         (M_2_SQRTPIl): Likewise.
47096         (M_SQRT2l): Likewise.
47097         (M_SQRT1_2l): Likewise.
47099 2012-05-31  David S. Miller  <davem@davemloft.net>
47101         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
47102         values between float registers.
47103         * sysdeps/sparc/sparc64/memset.S: Likewise.
47104         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47106 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
47108         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
47109         -D_FORTIFY_SOURCE=1.
47110         (CPPFLAGS-tst-longjmp_chk.c): Define.
47111         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
47112         (CPPFLAGS-tst-longjmp_chk2.c): Define.
47113         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
47114         CFLAGS-tst-wchar-h.c.
47116 2012-05-31  Marek Polacek  <polacek@redhat.com>
47118         [BZ #14132]
47119         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
47120         __endmntent_internal): Remove declaration.
47121         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
47122         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
47123         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
47125 2012-05-30  David S. Miller  <davem@davemloft.net>
47127         * sysdeps/sparc/sparc32/soft-fp/q_util.c
47128         (___Q_simulate_exceptions): Use real FP ops rather than writing
47129         into the %fsr.
47130         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
47131         Likewise.
47133 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47135         [BZ #14117]
47136         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
47137         * sysdeps/x86/bits/xtitypes.h: This.
47139         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
47140         * sysdeps/x86/bits/wordsize.h: This.
47142         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
47143         * sysdeps/x86/bits/huge_vall.h: This.
47145         * sysdeps/i386/bits/select.h: Removed.
47146         * sysdeps/x86_64/bits/select.h: Renamed to ...
47147         * sysdeps/x86/bits/select.h: This.
47149         * sysdeps/i386/bits/setjmp.h: Removed.
47150         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
47151         * sysdeps/x86/bits/setjmp.h: This.
47153         * sysdeps/i386/bits/mathdef.h: Removed.
47154         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
47155         * sysdeps/x86/bits/mathdef.h: This.
47157 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
47159         [BZ #14132]
47160         * include/sys/socket.h (__connect_internal)
47161         (__libc_sa_len_internal): Remove declaration.
47162         (__connect, __libc_sa_len): Declare hidden_proto.
47163         (SA_LEN): Remove use of INTUSE.
47164         * socket/connect.c: Add libc_hidden_def.
47165         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
47166         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
47167         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
47168         alias.
47169         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
47170         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
47171         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
47172         of adding _internal alias.
47174 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47176         [BZ #14117]
47177         * sysdeps/i386/bits/link.h: Removed.
47178         * sysdeps/i386/bits/linkmap.h: Likewise.
47179         * sysdeps/x86_64/bits/link.h: Renamed to ...
47180         * sysdeps/x86/bits/link.h: This.
47181         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
47182         * sysdeps/x86/bits/linkmap.h: This.
47184         * sysdeps/i386/bits/endian.h: Removed.
47185         * sysdeps/x86_64/bits/endian.h: Renamed to ...
47186         * sysdeps/x86/bits/endian.h: This.
47188         * sysdeps/i386/bits/byteswap.h: Removed.
47189         * sysdeps/i386/bits/byteswap-16.h: Likewise.
47190         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
47191         * sysdeps/x86/bits/byteswap.h: This.
47192         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
47193         * sysdeps/x86/bits/byteswap-16.h: This.
47194         * sysdeps/i386/Implies: Add x86.
47195         * sysdeps/x86_64/Implies: Likewise.
47197 2012-05-30  David S. Miller  <davem@davemloft.net>
47199         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
47200         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
47201         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
47202         (FP_TRAPPING_EXCEPTIONS): Define.
47203         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
47204         (FP_TRAPPING_EXCEPTIONS): Define.
47205         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
47206         subnormals only when inexact has been signalled or underflow
47207         exceptions are enabled.
47208         (_FP_PACK_CANONICAL): Likewise.
47210 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47212         [BZ #14183]
47213         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
47214         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
47216 2012-05-30  Richard Henderson  <rth@twiddle.net>
47218         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
47219         with #ifndef NOT_IN_libc.
47221         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
47222         marked to avoid plt entry.
47224 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47226         [BZ #14112]
47227         * Makeconfig (default-abi): New macro.
47228         (abi-includes): Likewise.
47229         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
47230         $(abi-$(default-abi)-lib-soname) for soname if defined.
47231         ($(common-objpfx)gnu/lib-names.stmp): Generate from
47232         abi-variants.
47233         * Makefile (installed-stubs): Likewise.
47234         * include/stubs-biarch.h: Removed.
47235         * scripts/lib-names.awk: Only handle one library at a time.
47236         * scripts/soversions.awk: Remove WORDSIZE support.
47237         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
47238         entries.
47239         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
47240         Removed.
47241         (syscall-list-default-condition): Likewise.
47242         (syscall-list-default-condition): Likewise.
47243         (syscall-list-includes): Likewise.
47244         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
47245         syscall-list-* with abi-*.  Handle undefined abi-variants.
47246         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
47247         * sysdeps/unix/sysv/linux/i386/Implies: New file.
47248         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
47249         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
47250         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
47251         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
47252         Removed.
47253         (syscall-list-32-options): Likewise.
47254         (syscall-list-32-condition): Likewise.
47255         (syscall-list-64-options): Likewise.
47256         (syscall-list-64-condition): Likewise.
47257         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
47258         macro.
47259         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
47260         Renamed to ...
47261         (abi-*): This.
47262         (abi-64-ld-soname): New macro.
47263         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
47264         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
47265         Renamed to ...
47266         (abi-*): This.
47267         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
47268         * sysdeps/x86_64/x32/shlib-versions: Likewise.
47270 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
47272         * sysdeps/unix/sysv/linux/kernel-features.h
47273         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
47274         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
47275         include <kernel-features.h>.
47276         [!__NR_ftruncate64]: Remove conditional code.
47277         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47278         [__NR_ftruncate64]: Make code unconditional.
47279         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47280         * sysdeps/unix/sysv/linux/truncate64.c: Do not
47281         include <kernel-features.h>.
47282         [!__NR_ftruncate64]: Remove conditional code.
47283         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47284         [__NR_ftruncate64]: Make code unconditional.
47285         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
47287         include <kernel-features.h>.
47288         [!__NR_ftruncate64]: Remove conditional code.
47289         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47290         [__NR_ftruncate64]: Make code unconditional.
47291         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
47293         include <kernel-features.h>.
47294         [!__NR_ftruncate64]: Remove conditional code.
47295         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47296         [__NR_ftruncate64]: Make code unconditional.
47297         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47299         * configure.in (libc_cv_fpie): Weaken to a compile test using
47300         LIBC_TRY_CC_OPTION.
47301         * configure: Regenerated.
47303 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47305         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
47306         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
47307         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
47308         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47309         Refreshed.
47310         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
47311         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
47312         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
47313         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
47314         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
47315         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47316         Refreshed.
47318 2012-05-27  David S. Miller  <davem@davemloft.net>
47320         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
47321         (___Q_zero): New.
47322         (__Q_simulate_exceptions): Return void.  Change to simulate
47323         exceptions by writing into the %fsr.
47324         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
47325         (__Qp_handle_exceptions): Likewise.
47326         (numbers): Delete.
47327         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
47328         __Qp_handle_exceptions.
47329         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
47330         __Qp_handle_exceptions.
47331         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47332         as unused and give dummy FP_RND_NEAREST initializer.
47333         (FP_INHIBIT_RESULTS): Define.
47334         (___Q_simulate_exceptions): Update declaration.
47335         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
47336         formatting.
47337         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47338         as unused and give dummy FP_RND_NEAREST initializer.
47339         (__Qp_handle_exceptions): Update declaration.
47340         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
47341         formatting.
47343 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
47345         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
47346         the temporary FPU control word.
47347         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
47348         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
47349         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
47350         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47351         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
47352         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
47353         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
47354         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47355         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
47356         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
47357         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47359 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47361         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
47362         fields.
47364 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
47366         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
47367         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
47368         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
47369         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
47370         Likewise.
47371         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
47372         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
47373         Likewise.
47375 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
47377         * po/h.po: Update from translation team.
47379 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
47381         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
47383         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
47384         handling of denormals.
47385         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47386         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
47387         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
47388         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
47389         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47390         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
47391         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
47392         Likewise.
47394 2012-05-26  Marek Polacek  <polacek@redhat.com>
47396         [BZ #14152]
47397         * math/libm-test.inc (fma_test): Don't always expect underflow
47398         exception.
47400 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47402         [BZ #12416]
47403         * elf/tst-execstack.c: Include stackinfo.h.
47404         (do_test): Adjust test case to ensure that pthread_getattr_np
47405         behaviour remains the same after marking stack executable.
47407 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
47409         * sysdeps/unix/sysv/linux/kernel-features.h
47410         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
47411         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
47412         kernel-features.h.
47413         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
47414         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
47415         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
47416         kernel-features.h.
47417         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
47418         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
47420 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
47422         * configure.in: Define the default includes to being none.
47423         * configure: Regenerated.
47425 2012-05-25  Roland McGrath  <roland@hack.frob.com>
47427         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
47428         * sysdeps/x86_64/setjmp.S: Likewise.
47429         * sysdeps/i386/bsd-setjmp.S: Likewise.
47430         * sysdeps/i386/bsd-_setjmp.S: Likewise.
47431         * sysdeps/i386/setjmp.S: Likewise.
47432         * sysdeps/i386/__longjmp.S: Likewise.
47433         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47434         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
47436         * include/stap-probe.h: New file.
47437         * configure.in: Handle --enable-systemtap.
47438         * configure: Regenerated.
47439         * config.h.in (USE_STAP_PROBE): New #undef.
47440         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
47441         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
47442         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
47444 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
47446         [BZ #13717]
47447         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47448         to 2.4.0 where earlier.
47449         * sysdeps/unix/sysv/linux/configure: Regenerated.
47450         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
47451         <kernel-features.h>.
47452         [__ASSUME_32BITUIDS]: Make code unconditional.
47453         [!__ASSUME_32BITUIDS]: Remove conditional code.
47454         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
47455         <kernel-features.h>.
47456         [__ASSUME_32BITUIDS]: Make code unconditional.
47457         [!__ASSUME_32BITUIDS]: Remove conditional code.
47458         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
47459         [__ASSUME_32BITUIDS]: Make code unconditional.
47460         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
47461         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
47462         <kernel-features.h>.
47463         [__ASSUME_32BITUIDS]: Make code unconditional.
47464         [!__ASSUME_32BITUIDS]: Remove conditional code.
47465         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
47466         <kernel-features.h>.
47467         [__ASSUME_32BITUIDS]: Make code unconditional.
47468         [!__ASSUME_32BITUIDS]: Remove conditional code.
47469         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
47470         <kernel-features.h>.
47471         [__ASSUME_32BITUIDS]: Make code unconditional.
47472         [!__ASSUME_32BITUIDS]: Remove conditional code.
47473         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
47474         <kernel-features.h>.
47475         [__ASSUME_32BITUIDS]: Make code unconditional.
47476         [!__ASSUME_32BITUIDS]: Remove conditional code.
47477         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
47478         <kernel-features.h>.
47479         [__ASSUME_32BITUIDS]: Make code unconditional.
47480         [!__ASSUME_32BITUIDS]: Remove conditional code.
47481         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
47482         <kernel-features.h>.
47483         [__ASSUME_32BITUIDS]: Make code unconditional.
47484         [!__ASSUME_32BITUIDS]: Remove conditional code.
47485         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
47486         <kernel-features.h>.
47487         [__ASSUME_32BITUIDS]: Make code unconditional.
47488         [!__ASSUME_32BITUIDS]: Remove conditional code.
47489         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
47490         <kernel-features.h>.
47491         [__ASSUME_32BITUIDS]: Make code unconditional.
47492         [!__ASSUME_32BITUIDS]: Remove conditional code.
47493         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
47494         <kernel-features.h>.
47495         [__ASSUME_32BITUIDS]: Make code unconditional.
47496         [!__ASSUME_32BITUIDS]: Remove conditional code.
47497         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
47498         <kernel-features.h>.
47499         [__ASSUME_32BITUIDS]: Make code unconditional.
47500         [!__ASSUME_32BITUIDS]: Remove conditional code.
47501         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
47502         <kernel-features.h>.
47503         [__NR_setresgid] (__setresgid): Do not declare.
47504         [__ASSUME_32BITUIDS]: Make code unconditional.
47505         [!__ASSUME_32BITUIDS]: Remove conditional code.
47506         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
47507         <kernel-features.h>.
47508         [__NR_setresuid] (__setresuid): Do not declare.
47509         [__ASSUME_32BITUIDS]: Make code unconditional.
47510         [!__ASSUME_32BITUIDS]: Remove conditional code.
47511         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
47512         <kernel-features.h>.
47513         [__ASSUME_32BITUIDS]: Make code unconditional.
47514         [!__ASSUME_32BITUIDS]: Remove conditional code.
47515         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
47516         <kernel-features.h>.
47517         [__ASSUME_32BITUIDS]: Make code unconditional.
47518         [!__ASSUME_32BITUIDS]: Remove conditional code.
47519         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
47520         <kernel-features.h>.
47521         [__ASSUME_32BITUIDS]: Make code unconditional.
47522         [!__ASSUME_32BITUIDS]: Remove conditional code.
47523         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
47524         <kernel-features.h>.
47525         [__ASSUME_32BITUIDS]: Make code unconditional.
47526         [!__ASSUME_32BITUIDS]: Remove conditional code.
47527         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
47528         <kernel-features.h>.
47529         [__ASSUME_32BITUIDS]: Make code unconditional.
47530         [!__ASSUME_32BITUIDS]: Remove conditional code.
47531         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
47532         <kernel-features.h>.
47533         [__ASSUME_32BITUIDS]: Make code unconditional.
47534         [!__ASSUME_32BITUIDS]: Remove conditional code.
47535         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
47536         <kernel-features.h>.
47537         [__ASSUME_32BITUIDS]: Make code unconditional.
47538         [!__ASSUME_32BITUIDS]: Remove conditional code.
47539         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
47540         <kernel-features.h>.
47541         [__ASSUME_32BITUIDS]: Make code unconditional.
47542         [!__ASSUME_32BITUIDS]: Remove conditional code.
47543         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
47544         <kernel-features.h>.
47545         [__ASSUME_32BITUIDS]: Make code unconditional.
47546         [!__ASSUME_32BITUIDS]: Remove conditional code.
47547         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
47548         <kernel-features.h>.
47549         [__ASSUME_32BITUIDS]: Make code unconditional.
47550         [!__ASSUME_32BITUIDS]: Remove conditional code.
47551         * sysdeps/unix/sysv/linux/kernel-features.h
47552         (__ASSUME_SETRESUID_SYSCALL): Remove.
47553         (__ASSUME_SETRESGID_SYSCALL): Likewise.
47554         (__ASSUME_32BITUIDS): Likewise.
47555         (__ASSUME_LDT_WORKS): Likewise.
47556         (__ASSUME_O_DIRECTORY): Likewise.
47557         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
47558         architecture but not kernel version.
47559         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
47560         (__ASSUME_MMAP2_SYSCALL): Likewise.
47561         (__ASSUME_STAT64_SYSCALL): Likewise.
47562         (__ASSUME_IPC64): Likewise.
47563         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
47564         <kernel-features.h>.
47565         [__ASSUME_32BITUIDS]: Make code unconditional.
47566         [!__ASSUME_32BITUIDS]: Remove conditional code.
47567         * sysdeps/unix/sysv/linux/opendir.c: Do not include
47568         <kernel-features.h>.
47569         [__ASSUME_O_DIRECTORY]: Make code unconditional.
47570         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
47571         132096]: Remove conditional code.
47572         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
47573         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
47574         <kernel-features.h>.
47575         [__ASSUME_32BITUIDS]: Make code unconditional.
47576         [!__ASSUME_32BITUIDS]: Remove conditional code.
47577         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
47578         <kernel-features.h>.
47579         [__ASSUME_32BITUIDS]: Make code unconditional.
47580         [!__ASSUME_32BITUIDS]: Remove conditional code.
47581         * sysdeps/unix/sysv/linux/setegid.c: Do not include
47582         <kernel-features.h>.
47583         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
47584         unconditional.
47585         (__setresgid): Do not declare.
47586         [__ASSUME_32BITUIDS]: Make code unconditional.
47587         [!__ASSUME_32BITUIDS]: Remove conditional code.
47588         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
47589         <kernel-features.h>.
47590         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
47591         unconditional.
47592         (__setresuid): Do not declare.
47593         [__ASSUME_32BITUIDS]: Make code unconditional.
47594         [!__ASSUME_32BITUIDS]: Remove conditional code.
47595         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
47596         <kernel-features.h>.
47597         [__ASSUME_32BITUIDS]: Make code unconditional.
47598         [!__ASSUME_32BITUIDS]: Remove conditional code.
47599         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
47600         <kernel-features.h>.
47601         [__ASSUME_32BITUIDS]: Make code unconditional.
47602         [!__ASSUME_32BITUIDS]: Remove conditional code.
47604 2012-05-25  Richard Henderson  <rth@twiddle.net>
47606         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
47607         dl_hwcap to ifunc resolver.
47608         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
47609         elf_ifunc_invoke.
47610         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
47611         dl_hwcap to ifunc resolver.
47612         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
47614 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47616         [BZ #14153]
47617         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
47618         for |x| <= 2**-26, not 2**-57.
47619         * math/libm-test.inc (acos_test): Do not allow spurious underflow
47620         exception.
47622 2012-05-24  Jeff Law  <law@redhat.com>
47624         * stdio-common/Makefile (tests): Add bug25.
47625         * stdio-common/bug25.c: New test.
47627 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
47629         [BZ #13576]
47630         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
47631         multiple of MALLOC_ALIGNMENT in size.
47632         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
47634 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47636         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
47637         Require >= 256.
47638         (FILENAME_MAX): Use macro-int-constant.
47639         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
47640         (_IOFBF): Use macro-int-constant.
47641         (_IOLBF): Likewise.
47642         (_IONBF): Likewise.
47643         (SEEK_CUR): Likewise.
47644         (SEEK_END): Likewise.
47645         (SEEK_SET): Likewise.
47646         (TMP_MAX): Likewise.
47647         (EOF): Use macro-int-constant.  Require < 0.
47648         (NULL): Use macro-constant.  Require == 0.
47649         (stdin): Require type to be FILE *.
47650         (stdout): Likewise.
47651         (stderr): Likewise.
47652         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
47653         macro-int-constant.
47654         (EXIT_SUCCESS): Likewise.
47655         (NULL): Use macro-constant.  Require == 0.
47656         (RAND_MAX): Use macro-int-constant.
47657         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
47658         [C99-based standards] (strtof): Require function.
47659         [C99-based standards] (strtold): Likewise.
47660         [C99-based standards] (strtoll): Likewise.
47661         [C99-based standards] (strtoull): Likewise.
47662         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47663         [ISO || ISO99 || ISO11] (limits.h): Likewise.
47664         [ISO || ISO99 || ISO11] (math.h): Likewise.
47665         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
47666         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47667         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47669 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
47671         [BZ #14132]
47672         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
47673         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
47674         * intl/dgettext.c (DCGETTEXT): Likewise.
47675         * intl/gettext.c (DCGETTEXT): Likewise.
47676         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
47677         * posix/regex_internal.h (gettext): Likewise.
47678         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
47679         Remove declaration.
47680         * include/argz.h (__argz_count_internal)
47681         (__argz_stringify_internal): Remove declaration.
47682         (__argz_count, __argz_stringify): Declare hidden proto.
47683         * intl/dcgettext.c: Remove use of INTDEF.
47684         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
47685         * string/argz-stringify.c: Likewise.
47686         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47687         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47688         Declare hidden proto.
47689         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47690         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47691         Declare hidden proto.
47692         * include/stdio.h (__asprintf_internal): Don't declare.
47693         (__asprintf): Don't define as macro.  Declare hidden proto.
47694         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
47695         (__fsetlocking): Declare hidden proto.
47696         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
47697         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
47698         hidden proto.
47699         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
47700         (_IO_setlinebuf): Remove use of INTUSE.
47701         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
47702         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
47703         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
47704         Remove declaration.
47705         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
47706         (_IO_do_flush): Remove use of INTUSE.
47707         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
47708         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
47709         (_IO_adjust_column, _IO_least_wmarker)
47710         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
47711         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
47712         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
47713         (_IO_default_doallocate, _IO_wdefault_doallocate)
47714         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
47715         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
47716         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
47717         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
47718         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
47719         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
47720         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
47721         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
47722         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
47723         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
47724         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
47725         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
47726         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
47727         proto.
47728         (_IO_flush_all_internal, _IO_adjust_column_internal)
47729         (_IO_default_uflow_internal, _IO_default_finish_internal)
47730         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
47731         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
47732         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
47733         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
47734         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
47735         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
47736         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
47737         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
47738         (_IO_file_close_internal, _IO_file_close_it_internal)
47739         (_IO_file_underflow_internal, _IO_file_overflow_internal)
47740         (_IO_file_init_internal, _IO_file_attach_internal)
47741         (_IO_file_fopen_internal, _IO_file_read_internal)
47742         (_IO_file_sync_internal, _IO_file_seek_internal)
47743         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
47744         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
47745         (_IO_str_underflow_internal, _IO_str_overflow_internal)
47746         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
47747         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
47748         (_IO_list_all_internal, _IO_link_in_internal)
47749         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
47750         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
47751         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
47752         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
47753         (_IO_do_write_internal, _IO_padn_internal)
47754         (_IO_getline_info_internal, _IO_getline_internal)
47755         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
47756         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
47757         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
47758         (_IO_vfscanf_internal, _IO_vfprintf_internal)
47759         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
47760         (_IO_init_internal, _IO_un_link_internal): Don't declare.
47761         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
47762         with libc_hidden_ver, remove use of INTUSE.
47763         * libio/genops.c: Likewise.
47764         * libio/freopen.c: Likewise.
47765         * libio/freopen64.c: Likewise.
47766         * libio/iofclose.c: Likewise.
47767         * libio/iofdopen.c: Likewise.
47768         * libio/iofflush.c: Likewise.
47769         * libio/iofflush_u.c: Likewise.
47770         * libio/iofgets.c: Likewise.
47771         * libio/iofgets_u.c: Likewise.
47772         * libio/iofopen.c: Likewise.
47773         * libio/iofopncook.c: Likewise.
47774         * libio/iofread.c: Likewise.
47775         * libio/iofread_u.c: Likewise.
47776         * libio/ioftell.c: Likewise.
47777         * libio/iofwrite.c: Likewise.
47778         * libio/iogetline.c: Likewise.
47779         * libio/iogets.c: Likewise.
47780         * libio/iogetwline.c: Likewise.
47781         * libio/iopadn.c: Likewise.
47782         * libio/iopopen.c: Likewise.
47783         * libio/ioseekoff.c: Likewise.
47784         * libio/ioseekpos.c: Likewise.
47785         * libio/iosetbuffer.c: Likewise.
47786         * libio/iosetvbuf.c: Likewise.
47787         * libio/ioungetc.c: Likewise.
47788         * libio/ioungetwc.c: Likewise.
47789         * libio/iovdprintf.c: Likewise.
47790         * libio/iovsprintf.c: Likewise.
47791         * libio/iovsscanf.c: Likewise.
47792         * libio/memstream.c: Likewise.
47793         * libio/obprintf.c: Likewise.
47794         * libio/oldfileops.c: Likewise.
47795         * libio/oldiofclose.c: Likewise.
47796         * libio/oldiofdopen.c: Likewise.
47797         * libio/oldiofopen.c: Likewise.
47798         * libio/oldiopopen.c: Likewise.
47799         * libio/oldstdfiles.c: Likewise.
47800         * libio/putc.c: Likewise.
47801         * libio/setbuf.c: Likewise.
47802         * libio/setlinebuf.c: Likewise.
47803         * libio/stdfiles.c: Likewise.
47804         * libio/strops.c: Likewise.
47805         * libio/vasprintf.c: Likewise.
47806         * libio/vscanf.c: Likewise.
47807         * libio/vsnprintf.c: Likewise.
47808         * libio/vswprintf.c: Likewise.
47809         * libio/wfiledoalloc.c: Likewise.
47810         * libio/wfileops.c: Likewise.
47811         * libio/wgenops.c: Likewise.
47812         * libio/wmemstream.c: Likewise.
47813         * libio/wstrops.c: Likewise.
47814         * libio/__fpurge.c: Likewise.
47815         * libio/__fsetlocking.c: Likewise.
47816         * assert/assert.c: Likewise.
47817         * debug/fgets_chk.c: Likewise.
47818         * debug/fgets_u_chk.c: Likewise.
47819         * debug/fread_chk.c: Likewise.
47820         * debug/fread_u_chk.c: Likewise.
47821         * debug/gets_chk.c: Likewise.
47822         * debug/obprintf_chk.c: Likewise.
47823         * debug/vasprintf_chk.c: Likewise.
47824         * debug/vdprintf_chk.c: Likewise.
47825         * debug/vsnprintf_chk.c: Likewise.
47826         * debug/vsprintf_chk.c: Likewise.
47827         * malloc/mtrace.c: Likewise.
47828         * misc/error.c: Likewise.
47829         * misc/syslog.c: Likewise.
47830         * stdio-common/asprintf.c: Likewise.
47831         * stdio-common/fxprintf.c: Likewise.
47832         * stdio-common/getw.c: Likewise.
47833         * stdio-common/isoc99_fscanf.c: Likewise.
47834         * stdio-common/isoc99_scanf.c: Likewise.
47835         * stdio-common/isoc99_vfscanf.c: Likewise.
47836         * stdio-common/isoc99_vscanf.c: Likewise.
47837         * stdio-common/isoc99_vsscanf.c: Likewise.
47838         * stdio-common/printf-prs.c: Likewise.
47839         * stdio-common/printf_fp.c: Likewise.
47840         * stdio-common/printf_fphex.c: Likewise.
47841         * stdio-common/printf_size.c: Likewise.
47842         * stdio-common/putw.c: Likewise.
47843         * stdio-common/scanf.c: Likewise.
47844         * stdio-common/sprintf.c: Likewise.
47845         * stdio-common/tmpfile.c: Likewise.
47846         * stdio-common/vfprintf.c: Likewise.
47847         * stdio-common/vfscanf.c: Likewise.
47848         * stdlib/strfmon_l.c: Likewise.
47849         * sunrpc/openchild.c: Likewise.
47850         * sunrpc/xdr_stdio.c: Likewise.
47851         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
47852         * sysdeps/mach/hurd/tmpfile.c: Likewise.
47854 2012-05-24  Roland McGrath  <roland@hack.frob.com>
47856         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47858         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
47859         in the third column, to generate for the shared library an IFUNC
47860         that uses _dl_vdso_vsym.
47861         * Makerules (COMPILE.c, compile-stdin.c): New variables.
47862         * Makeconfig (object-suffixes-noshared): New variable.
47864         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
47865         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
47866         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
47867         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
47869         [BZ #14132]
47870         * include/sys/time.h (__gettimeofday): Remove macro.
47871         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
47872         * time/gettimeofday.c (__gettimeofday): Remove #undef.
47873         Remove INTDEF.
47874         (__gettimeofday): Add libc_hidden_def.
47875         (gettimeofday): Add libc_hidden_weak.
47876         * sysdeps/mach/gettimeofday.c: Likewise.
47877         * sysdeps/posix/gettimeofday.c: Likewise.
47878         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
47879         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
47880         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
47881         (__gettimeofday_internal): Remove strong_alias.
47882         (__gettimeofday): Add libc_hidden_def.
47883         (gettimeofday): Add libc_hidden_weak.
47884         * sysdeps/unix/syscalls.list (gettimeofday):
47885         Remove __gettimeofday_internal alias.
47887 2012-05-24  Daniel Jacobowitz  <drow@false.org>
47888             H.J. Lu  <hongjiu.lu@intel.com>
47890         [BZ #12495]
47891         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
47892         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
47893         (largebin_index_32_big): New.
47894         (largebin_index): Use it for 16-byte alignment.
47895         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
47896         correction with front_misalign.
47898 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
47900         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
47901         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
47902         Likewise.
47903         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
47904         Likewise.
47905         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47906         Likewise.
47907         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
47908         Likewise.
47909         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
47910         Likewise.
47911         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
47912         Likewise.
47913         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
47914         Likewise.
47915         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
47916         Likewise.
47917         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
47918         Likewise.
47919         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
47920         Likewise.
47921         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
47922         Likewise.
47923         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
47924         Likewise.
47926         * scripts/data/c++-types-x32-linux-gnu.data: New file.
47927         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
47929 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47931         [BZ #10846]
47932         [BZ #14036]
47933         * math/libm-test.inc (exp_test): Add test from bug 14036.
47934         (pow_test): Add test from bug 10846.
47936         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
47937         and other flags.
47938         (special_function): Do not include flags in test name.
47939         (parse_args): Likewise.
47940         * sysdeps/i386/fpu/libm-test-ulps: Update.
47941         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47942         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47943         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47946         * math/gen-libm-test.pl (%beautify): Add entries for underflow
47947         exceptions.
47948         * math/libm-test.inc ("Philosophy"): Update comment about
47949         exception testing.
47950         (UNDERFLOW_EXCEPTION): New macro.
47951         (UNDERFLOW_EXCEPTION_OK): Likewise.
47952         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
47953         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
47954         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
47955         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
47956         (INVALID_EXCEPTION_OK): Update value.
47957         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47958         (OVERFLOW_EXCEPTION_OK): Likewise.
47959         (IGNORE_ZERO_INF_SIGN): Likewise.
47960         (test_exceptions): Handle underflow exceptions.
47961         (acos_test): Update for underflow exception expectations.
47962         (cexp_test): Likewise.
47963         (clog_test): Likewise.
47964         (clog10_test): Likewise.
47965         (csqrt_test): Likewise.
47966         (ctan_test): Likewise.
47967         (ctanh_test): Likewise.
47968         (exp_test): Likewise.
47969         (exp10_test): Likewise.
47970         (exp2_test): Likewise.
47971         (expm1_test): Likewise.
47972         (fma_test): Likewise.
47973         (j0_test): Likewise.
47974         (jn_test): Likewise.
47975         (nexttoward_test): Likewise.
47976         (pow_test): Likewise.
47977         (scalbn_test): Likewise.
47978         (scalbln_test): Likewise.
47979         (tan_test): Likewise.
47980         (y1_test): Likewise.
47981         * sysdeps/i386/fpu/libm-test-ulps: Update.
47982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47984 2012-05-23  David S. Miller  <davem@davemloft.net>
47986         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47987         (__libc_sigaction): Remove unused local variables.
47989 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47991         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
47993 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
47995         mktime: avoid signed integer overflow
47996         * time/mktime.c (__mktime_internal): Do not mishandle the case
47997         where diff == INT_MIN.
47999         mktime: simplify computation of average
48000         * time/mktime.c (ranged_convert): Use new time_t_avg function
48001         instead of rolling our own (probably-slower) code.
48003         mktime: do not assume signed right shift propagates sign bit
48004         * time/mktime.c (isdst_differ): New static function.
48005         (__mktime_internal): No need to normalize tm_isdst now.
48006         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
48007         tm_isdst values.
48009         mktime: merge another wrapv change from gnulib
48010         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
48011         from some compilers.
48013         mktime: remove incorrect attempt at unusual arithmetics
48014         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
48015         The code didn't really work on such machines anyway.
48016         (TYPE_MINIMUM): Assume two's complement.
48017         (twos_complement_arithmetic): Verify that long_int and time_t
48018         are two's complement (or unsigned, in the latter case).
48020         mktime: check signed shifts on long_int and time_t, too
48021         * time/mktime.c (SHR): Check that shifts work as desired
48022         on the types long_int and time_t too, as SHR is used on
48023         such types.
48025         mktime: do not assume 'long' is wide enough
48026         * time/mktime.c (verify): Move decl up.
48027         (long_int): New type.
48028         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
48029         to remove assumption in the code that 'long' is wide enough to
48030         store year values.  This assumption is not true on x32 and on
48031         some non-glibc platforms.
48033         mktime: merge wrapv change from gnulib
48034         * time/mktime.c (WRAPV): New macro.
48035         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
48036         (guess_time_tm, __mktime_internal): Do not assume that signed
48037         integer overflow wraps around; modern compilers generate code
48038         where this assumption is no longer valid.
48040 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48042         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48043         Replace "jmp L(pseudo_end)" with "ret".
48044         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
48045         Likewise.
48047 2012-05-23  Andreas Jaeger  <aj@suse.de>
48049         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
48050         * sysdeps/unix/sysv/linux/poll.c: Remove file.
48052 2012-05-23  Andreas Jaeger  <aj@suse.de>
48053             Maximilian Attems  <max@stro.at>
48055         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
48056         New macros.
48058 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48060         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
48061         code so that pseudo_end is just ret and the stack pointer is
48062         correct also for static library in error case.
48064 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
48066         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
48067         move to syscalls.list.
48068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48073         * manual/install.texi (Running make install): Do not mention Linux
48074         kernel version for which pt_chown is not needed.
48075         (Linux): Do not mention problems with nscd with 2.0 kernels.
48076         * INSTALL: Regenerated.
48078 2012-05-23  Andreas Jaeger  <aj@suse.de>
48080         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
48081         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
48082         macro.
48083         * sysdeps/unix/sysv/linux/s390/bits/mman.h
48084         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48085         * sysdeps/unix/sysv/linux/sh/bits/mman.h
48086         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48087         * sysdeps/unix/sysv/linux/i386/bits/mman.h
48088         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48089         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
48090         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48091         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
48092         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48093         * sysdeps/unix/sysv/linux/bits/in.h
48094         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
48096 2012-05-22  Roland McGrath  <roland@hack.frob.com>
48098         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
48099         (PREPARE_VERSION): Just use assert instead, it will be elided
48100         under [NDEBUG] anyway.
48102 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48104         * sysdeps/unix/sysv/linux/Makefile: Include
48105         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
48106         (sysdep_routines): Remove sysctl.
48107         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
48108         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
48109         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
48110         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
48111         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
48113 2012-05-22  Andreas Jaeger  <aj@suse.de>
48115         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
48116         that pseudo_end is just ret and the stack pointer is correct also
48117         for static library in error case.
48119 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
48121         [BZ #14122]
48122         * nss/nsswitch.c (defconfig_entries): New variable.
48123         (__nss_database_lookup): Don't leak defconfig entries.
48124         (nss_parse_service_list): Don't leak on error paths.
48125         (free_database_entries): New function.
48126         (free_defconfig): New function.
48127         (free_mem): Move common code to free_database_entries.
48129 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48131         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
48132         Add arch_prctl.
48133         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
48135         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
48136         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
48137         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
48138         New macro.
48139         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
48140         (INTERNAL_SYSCALL_TYPES): Likewise.
48141         (LOAD_ARGS_TYPES_[1-6]): Likewise.
48142         (LOAD_REGS_TYPES_[1-6]): Likewise.
48143         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
48144         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
48146 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48148         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
48149         copysignl for GLIBC_2_0.
48150         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
48151         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
48152         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
48153         logbl for GLIBC_2_0.
48154         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
48155         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
48157 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48159         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
48160         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48162         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48163         Use "neg %eax".
48165         * time/mktime.c: Update copyright years.
48167 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
48169         mktime: merge comment-quoting-style change from gnulib
48170         * time/mktime.c: Quote 'like this' in comments.
48171         The GNU coding standards suggest that we no longer quote `like this',
48172         as "`" and "'" are typically rendered asymmetrically nowadays.
48173         The typical gnulib style is to quote 'like this' when quoting
48174         code, and "like this" when quoting English.
48176         * time/mktime.c (compile-command): Add "-I.".
48178         mktime: merge mktime-internal.h change from gnulib
48179         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
48181         mktime: merge time_r change from gnulib
48182         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
48184         mktime: merge DEBUG change from gnulib
48185         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
48186         case system <time.h> has a #define.
48188         mktime: merge <sys/types.h> change from gnulib
48189         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
48190         since <time.t> is now guaranteed to define time_t.
48192         mktime: merge HAVE_CONFIG_H change from gnulib
48193         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
48195 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48197         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48198         Use "neg %eax".
48200         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
48201         __rlim_t cast.
48202         (struct rusage): Use anonymous union to pad each field to
48203         __syscall_slong_t.
48205 2012-05-21  David S. Miller  <davem@davemloft.net>
48207         * Makefules (o-iterator): Remove .s cases.
48208         (compile-command.s): Delete.
48209         (COMPILE.s): Delete.
48210         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
48212 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
48214         * configure.in (libc_cv_predef_stack_protector): Only consider
48215         "foobar" and "__stack_chk_fail" lines in libc_undefs.
48216         * configure: Regenerated.
48218 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48220         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48221         New macro.  Use R*LP on int and pointer.
48222         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
48223         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
48224         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
48225         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
48227         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
48228         [__WORDSIZE_TIME64_COMPAT32] instead of
48229         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
48230         (struct utmp): Likewise.
48231         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
48232         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
48233         Renamed to ...
48234         (__WORDSIZE_TIME64_COMPAT32): This.
48235         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
48236         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
48237         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
48238         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
48239         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
48240         (__WORDSIZE_TIME64_COMPAT32): New macro.
48242 2012-05-21  Andreas Jaeger  <aj@suse.de>
48244         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
48245         only if [SHARED]. Add prototype for __wcschr_ia32.
48247 2012-05-21  Roland McGrath  <roland@hack.frob.com>
48249         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
48250         of %rbp unmolested in the jmp_buf while mangling the low bits.
48251         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
48252         unmolested high bits of %rbp while demangling the low bits.
48253         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48255 2012-05-21  Andreas Jaeger  <aj@suse.de>
48257         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
48258         * sunrpc/svc_simple.c: Use it for registerrpc.
48259         * sunrpc/xcrypt.c: Use it for passwd2des.
48261         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
48263 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48265         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
48266         Don't define if [__SYSCALL_WORDSIZE != 32].
48267         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
48268         New macro.
48270 2012-05-21  Bruno Haible  <bruno@clisp.org>
48271             Andreas Jaeger  <aj@suse.de>
48273         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
48274         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
48275         inptr and inend for must_buffer_ch.
48276         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
48277         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
48278         * stdio-common/Makefile (tests): Remove bug15.
48279         (bug15-ENV): Remove macro.
48280         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
48281         anymore.
48283 2012-05-19  Andreas Jaeger  <aj@suse.de>
48284             Roland McGrath  <roland@hack.frob.com>
48286         * manual/contrib.texi: Completely rewritten. It contains now an
48287         alphabetical list of contributors and their contributions.
48289 2012-05-21  Richard Henderson  <rth@twiddle.net>
48291         * misc/getauxval.c (__getauxval): Use unsigned long int.
48292         * misc/sys/auxv.h: Include <sys/cdefs.h>.
48293         (getauxval): Use unsigned long int.
48295 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48297         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48299 2012-05-21  Roland McGrath  <roland@hack.frob.com>
48301         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
48302         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
48303         __alignof__ (long double).
48305 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48307         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48309 2012-05-20  Richard Henderson  <rth@twiddle.net>
48311         * misc/getauxval.c: New file.
48312         * misc/sys/auxv.h: New file.
48313         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
48314         (routines): Add getauxval.
48315         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
48316         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
48317         * elf/dl-sysdep.c (_dl_auxv): Remove.
48318         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
48319         * elf/dl-support.c (_dl_auxv): New variable.
48320         (_dl_aux_init): Initialize it.
48321         * manual/startup.texi (Auxiliary Vector): New node.
48322         * sysdeps/generic/bits/hwcap.h: New file.
48323         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
48324         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
48325         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
48326         * sysdeps/sparc/sysdep.h: ... here.  Include it.
48327         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
48328         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
48329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48330         Update.
48331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
48332         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
48333         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
48334         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
48335         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48336         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48337         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
48338         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
48340 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48342         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48344 2012-05-19  David S. Miller  <davem@davemloft.net>
48346         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48348 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
48350         [BZ #14123]
48351         * math/s_ccosh.c: Include <float.h>
48352         (__ccosh): Avoid internal overflow calculating sinh and cosh
48353         values before multiplying by sin and cos values.
48354         * math/s_ccoshf.c: Likewise.
48355         * math/s_ccoshl.c: Likewise.
48356         * math/s_csin.c: Likewise.
48357         * math/s_csinf.c: Likewise.
48358         * math/s_csinl.c: Likewise.
48359         * math/s_csinh.c: Likewise.
48360         * math/s_csinhf.c: Likewise.
48361         * math/s_csinhl.c: Likewise.
48362         * math/libm-test.inc (ccos_test): Add more tests.
48363         (ccosh_test): Likewise.
48364         (csin_test): Likewise.
48365         (csinh_test): Likewise.
48366         * sysdeps/i386/fpu/libm-test-ulps: Update.
48367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48369 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
48371         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
48372         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
48374         * sysdeps/x86_64/x32/_itoa.h: Add comment.
48376 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
48378         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
48379         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
48380         * sysdeps/powerpc/soft-fp/Versions: Likewise.
48381         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
48382         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
48383         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
48384         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
48385         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
48386         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
48387         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
48388         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
48389         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
48390         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
48391         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
48392         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
48393         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
48394         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
48395         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
48396         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
48397         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
48398         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
48399         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
48400         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
48401         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
48402         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
48403         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
48404         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
48405         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
48406         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
48407         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
48408         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
48410 2012-05-18  Andreas Jaeger  <aj@suse.de>
48412         * csu/.gitignore: Delete.
48414 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48416         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
48417         (timex): Use __syscall_slong_t.
48419 2012-05-18  Andreas Jaeger  <aj@suse.de>
48420             Carlos O'Donell  <carlos_odonell@mentor.com>
48422         * manual/install.texi (Configuring and compiling): Update
48423         description about files modified in the source directory.
48424         * INSTALL: Regenerated.
48426 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48428         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
48429         value.  Use "or" to set return value to -1.
48430         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
48431         negate return value.
48433 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48435         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
48436         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
48437         failure if the compiler has Graphite support disabled.
48438         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
48439         Likewise.
48440         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
48441         (CFLAGS-memmove.c): Likewise.
48442         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
48443         Likewise.
48445 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48447         * sysdeps/x86_64/x32/_itoa.h: New file.
48449         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
48450         getdents system call only if kernel and user dirents have the
48451         same d_ino and d_off.
48453         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
48454         LLONG_MAX != LONG_MAX.
48455         (_itoa_word): Use _ITOA_WORD_TYPE on value.
48456         (_fitoa_word): Likewise.
48458         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
48459         years.
48460         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
48461         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
48462         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
48464         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
48465         include <bits/wordsize.h>.  Check __x86_64__ instead of
48466         __WORDSIZE.
48467         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
48468         if __x86_64__ is defined.  Use anonymous union on fpstate.
48470         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
48471         anonymous union.
48473 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
48475         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
48476         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
48477         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
48478         Refer to _rtld_local_ro instead of _rtld_global_ro.
48479         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
48480         Likewise.
48481         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
48482         Likewise.
48483         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
48484         Likewise.
48485         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
48486         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
48487         of _rtld_global, and rtld_progname instead of _dl_argv[0].
48489         * sysdeps/powerpc/powerpc32/dl-machine.c
48490         (__elf_machine_runtime_setup) [PROF]: Don't reference
48491         _dl_prof_resolve.
48493 2012-05-18  Andreas Jaeger  <aj@suse.de>
48495         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
48496         function only available for GCCs before 3.4 since GCC 3.4
48497         introduced a builtin.
48498         (lrint): Likewise.
48499         (llrintf): Likewise.
48500         (llrint): Likewise.
48501         (fmaxf): Likewise.
48502         (fmax): Likewise.
48503         (fminf): Likewise.
48504         (fmin): Likewise.
48505         (rint): Likewise.
48506         (rintf): Likewise.
48507         (nearbyint): Likewise.
48508         (nearbyintf): Likewise.
48509         (ceil): Likewise.
48510         (ceilf): Likewise.
48511         (floor): Likewise.
48512         (floorf): Likewise.
48514 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48516         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
48517         on both fields and cast pointer to __syscall_ulong_t.
48519         * bits/types.h (__fsword_t): New type.
48520         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
48521         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
48522         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48523         (__FSWORD_T_TYPE): Likewise.
48524         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48525         (__FSWORD_T_TYPE): Likewise.
48526         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48527         (__FSWORD_T_TYPE): Likewise.
48528         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
48529         (__FSWORD_T_TYPE): Likewise.
48530         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
48531         __SWORD_TYPE with __fsword_t.
48532         (statfs64): Likewise.
48534 2012-05-17  David S. Miller  <davem@davemloft.net>
48536         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
48538 2012-05-17  Andreas Jaeger  <aj@suse.de>
48540         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
48541         warning.
48543 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48545         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
48547 2012-05-17  Andreas Jaeger  <aj@suse.de>
48549         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
48550         when it is used.
48552 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
48554         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
48556 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48558         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
48559         * sysdeps/x86_64/tst-mallocalign1.c: New file.
48561 2012-05-17  Andreas Jaeger  <aj@suse.de>
48562             Carlos O'Donell  <carlos_odonell@mentor.com>
48564         [BZ #14059]
48565         * sysdeps/x86_64/multiarch/init-arch.h
48566         (bit_YMM_Usable): Rename to...
48567         (bit_AVX_Usable): ... this.
48568         (bit_FMA4_Usable): New macro.
48569         (bit_XMM_state): New macro.
48570         (bit_YMM_state): New macro.
48571         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
48572         [__ASSEMBLER__] (index_AVX_Usable): ... this.
48573         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
48574         (CPUID_OSXSAVE): New macro.
48575         (CPUID_AVX): New macro.
48576         (CPUID_FMA4): New macro.
48577         (index_YMM_Usable): Rename to...
48578         (index_AVX_Usable): ... this.
48579         (HAS_AVX): Use HAS_ARCH_FEATURE.
48580         (HAS_FMA4): Likewise.
48581         (HAS_YMM_USABLE): Remove.
48582         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48583         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
48584         are present.
48585         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
48586         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
48587         * sysdeps/x86_64/multiarch/Makefile: Likewise.
48588         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
48589         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
48591 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
48593         * math/libm-test.c: Support platforms without multiple rounding modes.
48594         * math/bug-nextafter.c: Support platforms without FP exceptions.
48595         * math/bug-nexttoward.c: Likewise.
48596         * math/test-fenv.c: Likewise.
48597         * math/test-misc.c: Likewise.
48598         * stdlib/bug-getcontext.c: Likewise.
48600 2012-05-17  Andreas Jaeger  <aj@suse.de>
48602         * manual/examples/search.c (critter_cmp): Change signature to
48603         avoid warnings.
48604         * manual/string.texi (Collation Functions): Likewise.
48606 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48608         * bits/types.h: Fold copyright years.
48609         * bits/typesizes.h: Likewise.
48610         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
48611         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
48612         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
48613         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
48614         * time/time.h: Likewise.
48616 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
48618         [BZ #208]
48619         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
48620         in instead of returning them.  Return void.
48621         (__libc_mallinfo): Accumulate over all arenas.
48622         (__malloc_stats): Adjust for change in int_mallinfo interface.
48624 2012-05-16  Roland McGrath  <roland@hack.frob.com>
48626         [BZ #10375]
48627         * configure.in (NM): Add AC_CHECK_TOOL for it.
48628         (libc_extra_cflags): New substituted variable.
48629         Check for -fstack-protector being used implicitly.
48630         * configure: Regenerated.
48631         * config.make.in (config-extra-cflags): New variable,
48632         gets @libc_extra_cflags@.
48633         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
48635         [BZ #10375]
48636         * configure.in: Check for _FORTIFY_SOURCE being predefined.
48637         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
48638         * configure: Regenerated.
48639         * config.make.in (CPPUNDEFS): New substituted variable.
48640         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
48641         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
48642         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
48644 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48646         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
48647         (mq_attr): Use __syscall_slong_t.
48649 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48651         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
48652         Check __x86_64__ instead of __WORDSIZE.
48653         (_STAT_VER_LINUX): Likewise.
48654         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
48655         __syscall_ulong_t and __syscall_slong_t.
48656         (stat64): Likewise.
48658 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48660         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
48662 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48664         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
48666 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48668         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
48669         __syscall_ulong_t.
48671         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
48672         include <bits/wordsize.h>.  Check __x86_64__ instead of
48673         __WORDSIZE.
48674         (greg_t): Use "__extension__ long long int" if __x86_64__ is
48675         defined.
48676         (mcontext_t): Replace "unsigned long" with "unsigned long long".
48678         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
48679         include <bits/wordsize.h>.  Check __x86_64__ instead of
48680         __WORDSIZE.
48681         (user_regs_struct): Use "__extension__ unsigned long long"
48682         instead of "unsigned long" if __x86_64__ is defined.
48683         (user): Likewise.  Pad after pointer field if __ILP32__ is
48684         defined.
48686 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
48688         * configure.in (makeinfo): Require version 4.5 or later.  Allow
48689         versions 5 to 9.
48690         * configure: Regenerated.
48691         * manual/install.texi (texinfo): Increase version requirement to
48692         4.5 or later.
48693         * INSTALL: Regenerated.
48695         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
48697 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48699         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
48701         * sysdeps/x86_64/x32/ffs.c: New file.
48703         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
48704         __syscall_ulong_t.
48705         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
48706         defined.  Use __syscall_ulong_t.
48707         (shminfo): Use __syscall_ulong_t.
48708         (shm_info): Likewise.
48710         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
48711         __syscall_ulong_t.
48713         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
48714         <bits/wordsize.h>.
48715         (msgqnum_t): Use __syscall_ulong_t.
48716         (msglen_t): Likewise.
48717         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
48718         __syscall_ulong_t.
48720         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
48721         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48723         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
48725         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
48726         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
48728         * sysvipc/sys/msg.h (msgbuf): Replace long int with
48729         __syscall_slong_t.
48731         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
48732         include <bits/wordsize.h>.  Check __x86_64__ instead of
48733         __WORDSIZE.
48735         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
48736         "unsigned long long int" if __x86_64__ is defined.
48737         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
48739         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
48740         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48741         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
48743         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
48744         <stdint.h>.
48745         (GET_PC): Cast to uintptr_t first.
48746         (GET_FRAME): Likewise.
48747         (GET_STACK): Likewise.
48749         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
48750         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
48751         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
48752         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
48753         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
48754         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
48755         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
48756         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
48757         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
48758         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
48759         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
48760         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
48761         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
48762         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
48763         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
48764         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
48765         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
48766         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
48767         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
48768         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
48769         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
48770         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
48771         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
48772         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
48773         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
48774         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
48775         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
48776         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
48777         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
48779 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
48781         * Makerules (+depfiles): Also collect depfiles from .oS in
48782         $(extra-objs).
48783         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
48784         .oS, $(libnldbl-routines)).
48786         * Makerules (native-compile-mkdep-flags): Define.
48787         * sunrpc/Makefile (extra-objs): Add $(addprefix
48788         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
48789         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
48790         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
48791         calling $(make-target-directory).
48793 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48795         * bits/types.h (__snseconds_t): Removed.
48796         * time/time.h (struct timespec): Replace __snseconds_t with
48797         __syscall_slong_t.
48798         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
48799         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
48800         Likewise.
48801         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48802         (__SNSECONDS_T_TYPE): Likewise.
48803         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48804         (__SNSECONDS_T_TYPE): Likewise.
48805         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48806         (__SNSECONDS_T_TYPE): Likewise.
48808 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48810         * sysdeps/mach/hurd/bits/typesizes.h
48811         (__SYSCALL_SLONG_TYPE): New macro.
48812         (__SYSCALL_ULONG_TYPE): Likewise.
48814 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48816         * bits/types.h (__syscall_slong_t): New type.
48817         (__syscall_ulong_t): Likewise.
48819         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
48820         (__SYSCALL_ULONG_TYPE): Likewise.
48821         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48822         (__SYSCALL_SLONG_TYPE): Likewise.
48823         (__SYSCALL_ULONG_TYPE): Likewise.
48824         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48825         (__SYSCALL_SLONG_TYPE): Likewise.
48826         (__SYSCALL_ULONG_TYPE): Likewise.
48827         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48828         (__SYSCALL_SLONG_TYPE): Likewise.
48829         (__SYSCALL_ULONG_TYPE): Likewise.
48831 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48833         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
48834         Add sigaltstack-offsets.sym.
48835         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
48836         <sigaltstack-offsets.h>.
48837         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
48838         longjmp_msg pointer.
48839         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
48840         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
48841         signal stack.
48842         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
48844 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
48846         * elf/stackguard-macros.h: Remove file.
48847         * sysdeps/generic/stackguard-macros.h: New file.
48848         * sysdeps/i386/stackguard-macros.h: Likewise.
48849         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
48850         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
48851         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
48852         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
48853         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
48854         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
48855         * sysdeps/x86_64/stackguard-macros.h: Likewise.
48856         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
48857         <elf/stackguard-macros.h>.
48859         [BZ #14109]
48860         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
48861         __aligned__ in attribute.
48862         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
48863         (gregset_t): Likewise.
48865 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48867         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
48868         * sysdeps/x86_64/64/Implies-after: Here.  New file.
48869         * sysdeps/x86_64/x32/Implies-after: New file.
48871 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48873         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
48874         and access return value for _dl_profile_fixup.  Use R10_LP to
48875         load frame size.
48877 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48879         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
48881 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48883         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
48884         * sysdeps/x86_64/x32/sysdep.h: New file.
48886 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48888         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
48889         * sysdeps/x86_64/setjmp.S: Likewise.
48891 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48893         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
48894         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
48895         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
48896         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
48897         remove unused global constant.
48899 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
48901         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
48902         include of <not-cancel.h>.
48904 2012-05-15  Roland McGrath  <roland@hack.frob.com>
48906         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
48908 2012-05-15  Jeff Law  <law@redhat.com>
48909             Andreas Jaeger  <aj@suse.de>
48911         [BZ #13594]
48912         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
48913         out from...
48914         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
48915         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
48916         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
48917         code changing __hst_map_handle.map.
48919 2012-05-15  Roland McGrath  <roland@hack.frob.com>
48921         * configure.in (sysnames): Look for Implies-before and Implies-after
48922         files.
48923         * configure: Regenerated.
48925 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48927         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
48928         8-byte data alignment with LP_SIZE alignment.
48930 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48932         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
48933         into R10_LP.
48935 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48937         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
48939 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48941         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
48942         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
48943         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
48944         Likewise.
48945         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48947 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48949         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
48950         (stackinfo_sub_sp): Likewise.
48952 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48954         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
48955         RAX_LP.
48957 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48959         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
48960         into R*_LP.
48962 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48964         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
48965         sizes into R*_LP.
48967 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48969         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
48971 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48973         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
48974         into R11_LP and load __x86_64_shared_cache_size_half into
48975         R8_LP.
48977 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48979         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
48980         R8_LP.
48982 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48984         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
48985         logb for POWER7.
48986         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
48987         logbf for POWER7.
48988         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
48989         logbl for POWER7.
48990         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
48991         powerpc32/power7/fpu/s_logb.c via #include.
48992         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
48993         powerpc32/power7/fpu/s_logbf.c via #include.
48994         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
48995         powerpc32/power7/fpu/s_logbl.c via #include.
48997 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
48999         * README.libm: Remove file.
49001 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49003         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
49004         count for x32.  Use R*_LP and omit operand-size suffix.
49006 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49008         * shlib-versions: Move x86_64-.*-linux.* entries to ...
49009         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
49010         * sysdeps/x86_64/x32/shlib-versions: New file.
49012 2012-05-14  Roland McGrath  <roland@hack.frob.com>
49014         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
49015         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
49016         Use _dl_fatal_printf instead.
49018 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
49020         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
49021         set if not set by the user.  Do not allow for being unset.
49022         * sysdeps/unix/sysv/linux/configure: Regenerated.
49024 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49026         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
49027         the `q' suffix from lea and replace .quad with ASM_ADDR.
49029 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49031         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
49032         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
49033         instead of $17.
49034         (PTR_DEMANGLE): Likewise.
49036 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49038         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
49039         (LP_OP): Likewise.
49040         (ASM_ADDR): Likewise.
49041         (RAX_LP): Likewise.
49042         (RBP_LP): Likewise.
49043         (RBX_LP): Likewise.
49044         (RCX_LP): Likewise.
49045         (RDI_LP): Likewise.
49046         (RSI_LP): Likewise.
49047         (RSP_LP): Likewise.
49048         (R8_LP): Likewise.
49049         (R9_LP): Likewise.
49050         (R10_LP): Likewise.
49051         (R10_LP): Likewise.
49052         (R11_LP): Likewise.
49053         (R12_LP): Likewise.
49054         (R13_LP): Likewise.
49055         (R14_LP): Likewise.
49056         (R15_LP): Likewise.
49058 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49060         * sysdeps/x86_64/x32/dl-machine.h: New file.
49062 2012-05-14  Andreas Jaeger  <aj@suse.de>
49064         * manual/Makefile (subdir): Remove export of subdir.
49065         (all): Remove target.
49066         (.PHONY): Remove all from list.
49067         (mkinstalldirs): Remove.
49068         (.PHONY): Remove installdirs from list.
49069         ($(inst_infodir)/libc.info): Use make-target-directory.
49070         (installdirs): Remove.
49071         (subdir_%): Remove.
49072         (glibc-targets): Remove.
49073         (lib): Remove.
49074         (stubs): Remove.
49075         ($(objpfx)stubs ../po/manual.pot): Remove.
49076         ($(objpfx)stamp%): Remove.
49077         (make-target-directory): Remove.
49078         (subdir_install): Remove.
49079         (routines): Remove.
49080         (aux): Remove.
49081         (sources): Remove.
49082         (objects): Remove.
49083         (headers): Remove.
49085         [BZ #13750]
49086         * manual/.gitignore: Remove, it's not needed anymore.
49087         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
49088         all files in it.
49089         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
49090         directory.
49091         (texis): Renamed to $(objpfx)texis.
49092         (texis-path): New, contains path to generated files.
49093         (chapters.%): Use texis-path for complete path, add extra argument
49094         libc-texinfo.sh.
49095         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
49096         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
49097         (summary,texi, stamp-summary): Use complete path of
49098         files. Generate files in build dir.
49099         (dir-add.texi): Build in build dir.
49100         (libm-err.texi,stamp-libm-err): Likewise.
49101         (version.texi, stamp-version): Likewise.
49102         (.%c.texi): Likewise.
49103         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
49104         (mostlyclean): Remove target.
49105         (realclean): Remove target.
49106         (generated): Add new variable with contents from mostlyclean and
49107         realclean, remove entries duplicated in common-mostlyclean, add
49108         stamp-libm-err and stamp-version.
49109         (generated-dirs): Add libc directory.
49110         ($(inst_infodir)/libc.info): Install files from build dir.
49112         * manual/install.texi (Configuring and compiling): Adjust since
49113         the info files are not part of the tar ball anymore.
49115 2012-05-14  Andreas Jaeger  <aj@suse.de>
49117         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
49118         variable.
49120 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
49122         [BZ #13717]
49123         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49124         to 2.2.0 where earlier.
49125         * sysdeps/unix/sysv/linux/configure: Regenerated.
49126         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
49127         Remove conditional code.
49128         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
49129         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
49130         Remove conditional code.
49131         [!__NR_lchown]: Likewise.
49132         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49133         [__NR_lchown]: Likewise.
49134         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
49135         comment referencing __ASSUME_LCHOWN_SYSCALL.
49136         * sysdeps/unix/sysv/linux/i386/sigaction.c
49137         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49138         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49139         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
49140         Remove conditional code.
49141         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
49142         (__protocol_available): Remove #if 0 code.
49143         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
49144         conditional code.
49145         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
49146         * sysdeps/unix/sysv/linux/kernel-features.h
49147         (__ASSUME_GETCWD_SYSCALL): Don't define.
49148         (__ASSUME_REALTIME_SIGNALS): Likewise.
49149         (__ASSUME_PREAD_SYSCALL): Likewise.
49150         (__ASSUME_PWRITE_SYSCALL): Likewise.
49151         (__ASSUME_POLL_SYSCALL): Likewise.
49152         (__ASSUME_LCHOWN_SYSCALL): Likewise.
49153         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
49154         non-SPARC.
49155         (__ASSUME_SIOCGIFNAME): Don't define.
49156         (__ASSUME_MSG_NOSIGNAL): Likewise.
49157         (__ASSUME_SENDFILE): Define unconditionally.
49158         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
49159         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
49160         conditional code.
49161         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
49162         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
49163         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49164         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49165         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
49166         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49167         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
49169         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49170         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
49172         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49173         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
49175         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49176         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
49178         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49179         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
49181         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49182         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
49184         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49185         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
49187         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49188         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
49190         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49191         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49192         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
49193         Remove conditional code.
49194         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49195         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49196         Remove conditional code.
49197         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49198         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
49199         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
49200         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49201         Remove conditional code.
49202         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49203         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
49204         Remove conditional code.
49205         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49206         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
49207         Remove conditional code.
49208         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49209         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49210         Remove conditional code.
49211         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49212         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49213         Remove conditional code.
49214         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49215         * sysdeps/unix/sysv/linux/sh/pwrite64.c
49216         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49217         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49218         * sysdeps/unix/sysv/linux/sigaction.c
49219         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49220         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49221         * sysdeps/unix/sysv/linux/sigpending.c
49222         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49223         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49224         * sysdeps/unix/sysv/linux/sigprocmask.c
49225         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49226         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49227         * sysdeps/unix/sysv/linux/sigsuspend.c
49228         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49229         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49230         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49231         (__libc_missing_rt_sigs): Remove.
49232         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
49233         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
49234         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
49235         Remove conditional code.
49236         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
49237         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
49238         return 1.
49239         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
49240         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
49241         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
49242         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
49244 2012-05-14  Andreas Jaeger  <aj@suse.de>
49246         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
49247         it's not used in glibc.
49248         (__coshm1): Likewise.
49249         (__acosh1p): Likewise.
49250         (__sgn): Likewise.
49252         * manual/string.texi (Copying and Concatenation): Add missing
49253         variable in concat example.
49254         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
49256 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49258         [BZ #14103]
49259         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
49260         __builtin_clzl with __builtin_clzll.
49262 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49264         [BZ #14104]
49265         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
49266         libc_freeres_ptr.
49268 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49270         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
49271         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
49272         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
49273         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
49275 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
49277         * NEWS: Update ia64 info.
49279 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
49281         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
49282         used as bcopy.
49284 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
49286         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
49287         * sysdeps/unix/syscalls.list (dup3): Likewise.
49288         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
49289         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
49291 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
49293         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
49294         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
49296 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
49298         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
49299         thread pointer.
49300         (TLS_IE): Use mov/add instead of movq/addq to load thread
49301         pointer.
49302         (TLS_GD_PREFIX): New.
49303         (TLS_GD): Use it.
49305 2012-05-11  David S. Miller  <davem@davemloft.net>
49307         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
49308         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
49309         (_FPU_SETCW): Likewise.
49311 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49313         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
49314         is 32-byte aligned.
49316 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
49318         [BZ #11837]
49319         * iconvdata/gb18030.c: Update tables.
49320         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
49321         characters specially.
49322         (BODY for TO_LOOP): Add encoding of missing ranges.
49324 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
49326         [BZ #13673]
49327         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
49328         * sysdeps/mach/hurd/dup3.c: Likewise.
49329         * sysdeps/mach/hurd/readlinkat.c: Likewise.
49330         * sysdeps/powerpc/memmove.c:: Likewise.
49332 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49334         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
49335         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
49337 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49339         * elf/elf.h (R_X86_64_RELATIVE64): New.
49340         (R_X86_64_NUM): Updated.
49341         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
49342         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
49343         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
49344         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
49345         tst-quad1pie tst-quad2pie
49346         (modules-names): Add tst-quadmod1 tst-quadmod2.
49347         ($(objpfx)tst-quad1): New dependency.
49348         ($(objpfx)tst-quad2): Likewise.
49349         ($(objpfx)tst-quad1pie): Likewise.
49350         ($(objpfx)tst-quad2pie): Likewise.
49351         * sysdeps/x86_64/tst-quad1.c: New file.
49352         * sysdeps/x86_64/tst-quad1pie.c: New file.
49353         * sysdeps/x86_64/tst-quad2.c: Likewise.
49354         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
49355         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
49356         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
49357         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
49358         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
49360 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49362         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
49363         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
49364         * streams/stropts.h (t_scalar_t): Define type.
49366         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
49367         (_PATH_PRESERVE): Set to "/var/lib".
49368         (_PATH_RWHODIR): Set to "/var/spool/rwho".
49370         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
49371         instead of int.
49373         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
49374         if __dir_mkfile succeeded.
49376         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
49377         checking for _hurd_dtablesize.  Unlock it right after having
49378         finished _hurd_dtable allocation.
49380 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49382         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
49383         * sysdeps/mach/hurd/configure: Regenerated.
49384         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
49385         special-casing to...
49386         * sysdeps/gnu/configure.in: ... this new file.
49387         * sysdeps/unix/sysv/linux/configure: Regenerated.
49388         * sysdeps/gnu/configure: New generated file.
49390         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
49391         for Linux: use nsec instead of usec, as well as:
49392         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
49393         members of type struct timespec.
49394         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
49395         New macros.
49396         (struct stat64): Likewise.
49397         (_STATBUF_ST_NSEC): New macro.
49398         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
49400         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
49401         __strtoul_internal rather than strtoul.
49403 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49405         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
49406         and reject them.
49408 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49410         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
49411         which preserves existing values.
49412         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
49414 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49416         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
49417         TIMEOUT values.  Return EINVAL for NFDS values either negative or
49418         greater than FD_SETSIZE.
49420 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49422         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
49423         allocated, call __vm_protect to finish enabling the existing space, and
49424         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
49425         allocate the remainder.
49427 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49429         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
49430         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
49432 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49434         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
49435         sysdeps/mach/hurd/readlink.c.
49437         * posix/tst-sysconf.c (posix_options): Only use
49438         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
49439         _POSIX_SYNCHRONIZED_IO when they are defined
49440         * sysdeps/mach/hurd/bits/posix_opt.h:
49441         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
49442         (_XOPEN_REALTIME): Undefine macro.
49443         (_XOPEN_REALTIME_THREADS): Undefine macro.
49444         (_XOPEN_SHM): Undefine macro.
49445         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
49446         macro to -1.
49447         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
49448         macro to -1.
49449         (_POSIX_ASYNC_IO): Undefine macro.
49450         (_POSIX_PRIORITIZED_IO): Undefine macro.
49451         (_POSIX_SPIN_LOCKS): Define macro to -1.
49453         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
49454         SA_NODEFER, SA_RESETHAND.
49455         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
49456         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
49457         F_DUPFD_CLOEXEC.
49459 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49461         * elf/Makefile (pldd-modules): Define unconditionally.
49463 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49465         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
49467 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49469         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
49470         Return ENOENT when name is empty.
49471         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
49473 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49475         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
49477         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
49479 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49481         Fix mlock in all cases except non-readable pages.
49482         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
49483         instead of VM_PROT_ALL as parameter to __vm_wire function.
49485         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
49486         (__mkdir): When path is `/', just fail with EEXIST.
49487         * sysdeps/mach/hurd/mkdirat.c: Likewise.
49489 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49491         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
49492         <sys/uio.h> (for writev).
49493         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
49494         and <sys/param.h> (for MIN).
49496 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49498         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
49499         REQUESTED_TIME.  Properly set the remaining time and return EINTR
49500         if interrupted.
49502 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49504         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
49505         Depend on against $(link-rpcuserlibs).
49507 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49509         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
49510         (__libc_stack_end): Do not use attribute_relro.
49511         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
49512         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
49513         to libthread-provided value.
49514         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
49515         attribute_relro.
49517 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49519         [BZ #3748]
49520         * bits/libc-lock.h (__libc_once_get): New macro.
49521         * sysdeps/mach/bits/libc-lock.h: Likewise.
49522         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
49523         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
49524         instead of using implementation details.
49526         * libio/fileops.c: Unconditionally include <kernel-features.h>.
49527         * libio/freopen.c: Likewise.
49528         * libio/freopen64.c: Likewise.
49529         * misc/syslog.c: Likewise.
49530         * nscd/connections.c: Likewise.
49531         * nscd/netgroupcache.c: Likewise.
49532         * sysdeps/posix/getcwd.c: Likewise.
49534 2012-05-10  Roland McGrath  <roland@hack.frob.com>
49536         * math/w_ilogbf.c: Add #include <limits.h>.
49538 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49540         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
49541         path instead of returning without unlocking.
49543         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
49544         immediate-write ioctls.
49545         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
49547 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49549         * sysdeps/mach/hurd/i386/init-first.c (init): Use
49550         __builtin_frame_address instead of making assumptions about the
49551         location of the return address relative to DATA.  Force early load of
49552         the return address.
49553         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
49554         __builtin_frame_address.
49556         dup3 for GNU Hurd.
49557         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
49558         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
49559         implement dup3 and do some further code clean-ups.
49560         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
49561         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
49563 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49565         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
49567         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
49568         HURD_CRITICAL_END around holding _hurd_dtable_lock.
49569         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
49570         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
49571         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
49572         d->port.lock.
49574         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
49575         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
49576         when handler == SIG_ERR, not when handler != SIG_ERR.
49578 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49580         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
49581         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
49582         definitions.
49584         accept4 for GNU Hurd.
49585         * include/sys/socket.h (__libc_accept4): New prototype.
49586         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
49587         to implement __libc_accept4.
49588         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
49589         __libc_accept4.
49590         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
49592         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
49593         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
49594         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
49595         signal-defines.sym.
49597 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49599         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
49601 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49603         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
49604         assertion on O_CLOEXEC flag.
49605         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
49606         * hurd/intern-fd.c: Likewise.
49607         * hurd/port2fd.c: Likewise.
49609 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49611         [BZ #3906]
49612         * bits/in.h (IPV6_PKTINFO): Define new macro.
49613         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
49615 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49617         [BZ #13954]
49618         [BZ #13955]
49619         [BZ #13956]
49620         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
49621         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49622         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
49623         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49624         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49625         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49626         * math/libm-test.inc (logb_test) : Additional logb tests.
49628 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
49629             Andreas Jaeger  <aj@suse.de>
49631         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
49632         * configure: Regenerated.
49633         * config.h.in (LINK_OBSOLETE_RPC): New macro.
49634         * config.make.in (link-obsolete-rpc): New substituted variable.
49635         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
49636         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
49637         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49638         (shared-only-routines): Don't set it under [link-obsolete-rpc],
49639         so that libc.a contains the symbols.
49640         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49641         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
49642         * sunrpc/auth_none.c: Likewise.
49643         * sunrpc/auth_unix.c: Likewise.
49644         * sunrpc/authdes_prot.c: Likewise.
49645         * sunrpc/authuxprot.c: Likewise.
49646         * sunrpc/clnt_gen.c: Likewise.
49647         * sunrpc/clnt_perr.c: Likewise.
49648         * sunrpc/clnt_raw.c: Likewise.
49649         * sunrpc/clnt_simp.c: Likewise.
49650         * sunrpc/clnt_tcp.c: Likewise.
49651         * sunrpc/clnt_udp.c: Likewise.
49652         * sunrpc/clnt_unix.c: Likewise.
49653         * sunrpc/des_crypt.c: Likewise.
49654         * sunrpc/des_soft.c: Likewise.
49655         * sunrpc/get_myaddr.c: Likewise.
49656         * sunrpc/key_call.c: Likewise.
49657         * sunrpc/key_prot.c: Likewise.
49658         * sunrpc/netname.c: Likewise.
49659         * sunrpc/pm_getmaps.c: Likewise.
49660         * sunrpc/pm_getport.c: Likewise.
49661         * sunrpc/pmap_clnt.c: Likewise.
49662         * sunrpc/pmap_prot.c: Likewise.
49663         * sunrpc/pmap_prot2.c: Likewise.
49664         * sunrpc/pmap_rmt.c: Likewise.
49665         * sunrpc/publickey.c: Likewise.
49666         * sunrpc/rpc_cmsg.c: Likewise.
49667         * sunrpc/rpc_common.c: Likewise.
49668         * sunrpc/rpc_dtable.c: Likewise.
49669         * sunrpc/rpc_prot.c: Likewise.
49670         * sunrpc/rpc_thread.c: Likewise.
49671         * sunrpc/rtime.c: Likewise.
49672         * sunrpc/svc.c: Likewise.
49673         * sunrpc/svc_auth.c: Likewise.
49674         * sunrpc/svc_raw.c: Likewise.
49675         * sunrpc/svc_run.c: Likewise.
49676         * sunrpc/svc_tcp.c: Likewise.
49677         * sunrpc/svc_udp.c: Likewise.
49678         * sunrpc/svc_unix.c: Likewise.
49679         * sunrpc/svcauth_des.c: Likewise.
49680         * sunrpc/xcrypt.c: Likewise.
49681         * sunrpc/xdr.c: Likewise.
49682         * sunrpc/xdr_array.c: Likewise.
49683         * sunrpc/xdr_float.c: Likewise.
49684         * sunrpc/xdr_intXX_t.c: Likewise.
49685         * sunrpc/xdr_mem.c: Likewise.
49686         * sunrpc/xdr_rec.c: Likewise.
49687         * sunrpc/xdr_ref.c: Likewise.
49688         * sunrpc/xdr_sizeof.c: Likewise.
49689         * sunrpc/xdr_stdio.c: Likewise.
49691 2012-05-10  Roland McGrath  <roland@hack.frob.com>
49693         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
49694         change.  Update copyright years.
49696 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
49698         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
49700 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
49701             Joseph Myers  <joseph@codesourcery.com>
49702             Paul Pluzhnikov  <ppluzhnikov@google.com>
49704         [BZ #14012]
49705         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
49706         requiring rpcgen.
49707         [cross-compiling] (extra-libs): Likewise.
49708         [cross-compiling] (extra-libs-others): Likewise.
49709         [cross-compiling] (librpcsvc-routines): Likewise.
49710         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
49711         [cross-compiling] (omit-deps): Likewise.
49712         (sunrpc-CPPFLAGS): New variable.
49713         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
49714         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
49715         (cross-rpcgen-objs): New variable.
49716         (extra-objs): Append $(cross-rpcgen-objs).
49717         ($(cross-rpcgen-objs)): New rule.
49718         ($(objpfx)cross-rpcgen): Likewise.
49719         (rpcgen-cmd): Define to use $(built-program-file).  Expand
49720         comment.
49721         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
49722         ($(objpfx)x%.stmp): Likewise.
49723         * sunrpc/proto.h [IS_IN_build] (_): Define.
49724         [IS_IN_build] (_libc_intl_domainname): Likewise.
49726 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49728         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
49729         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
49730         and R_X86_64_TPOFF64.
49732 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
49734         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
49735         sysdeps/unix/sysv/syscalls.list.
49736         (stime): Likewise.
49737         (utime): Likewise.
49738         * sysdeps/unix/sysv/syscalls.list: Remove file.
49740 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
49742         [BZ #3440]
49743         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
49744         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
49745         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
49746         (__LC_IDENTIFICATION): Make these macros useful in #if
49747         expressions, as required by C99.
49749 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
49751         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
49752         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
49753         after this.
49755 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
49757         * stdlib/longlong.h: Updated from GCC.
49759 2012-05-09  Andreas Jaeger  <aj@suse.de>
49761         * nscd/nscd.c (run_modes): Make named enum, reorder so that
49762         default is first entry.
49763         (run_mode): Set type.
49764         (main): Remove informal message about syslog.
49765         (options): Fix typo.
49767         [BZ #14053]
49768         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
49769         to asm.
49770         (lrint): Likewise.
49771         (llrintf): Likewise.
49772         (llrint): Likewise.
49773         (rint): Likewise.
49774         (rintf): Likewise.
49775         (nearbyint): Likewise.
49776         (nearbyintf): Likewise.
49778 2012-05-09  Andreas Jaeger  <aj@suse.de>
49779             Pedro Alves  <palves@redhat.com>
49781         * nscd/nscd.c (run_mode): Use enum.
49782         (main): Cleanup coding style issue.
49784 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
49785             Andreas Jaeger  <aj@suse.de>
49787         * nscd/nscd.c (go_background): Replaced with...
49788         (run_mode): ... this.
49789         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
49790         (options): Add -F --foreground.
49791         (main): Implement it.
49792         (parse_opt): Parse it.
49794 2012-05-09  Andreas Jaeger  <aj@suse.de>
49796         [BZ #14083]
49797         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
49798         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
49799         -Wconversion warning.
49800         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
49801         Likewise.
49803 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
49805         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
49806         == 0.
49807         (LC_ALL): Use macro-int-constant.
49808         (LC_COLLATE): Likewise.
49809         (LC_CTYPE): Likewise.
49810         (LC_MESSAGES): Likewise.
49811         (LC_MONETARY): Likewise.
49812         (LC_NUMERIC): Likewise.
49813         (LC_TIME): Likewise.
49814         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
49815         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49816         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49817         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
49818         Specify type.
49819         [C99-based standards] (float_t): Expect type.
49820         [C99-based standards] (double_t): Expect type.
49821         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
49822         type.
49823         [C99-based standards] (HUGE_VALL): Likewise.
49824         [C99-based standards] (INFINITY): Likewise.
49825         [C99-based standards] (NAN): Likewise.
49826         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
49827         [C99-based standards] (FP_NAN): Likewise.
49828         [C99-based standards] (FP_NORMAL): Likewise.
49829         [C99-based standards] (FP_SUBNORMAL): Likewise.
49830         [C99-based standards] (FP_ZERO): Likewise.
49831         [C99-based standards] (FP_FAST_FMA): Use
49832         optional-macro-int-constant.  Specify type.  Require == 1.
49833         [C99-based standards] (FP_FAST_FMAF): Likewise.
49834         [C99-based standards] (FP_FAST_FMAL): Likewise.
49835         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
49836         [C99-based standards] (FP_ILOGBNAN): Likewise.
49837         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
49838         Specify type.
49839         [C99-based standards] (MATH_ERREXCEPT): Likewise.
49840         [C99-based standards] (math_errhandling): Specify type.
49841         [ISO99 || ISO11] (signgam): Do not allow.
49842         [non-C99-based standards] (copysignf): Do not allow.
49843         [non-C99-based standards] (exp2f): Likewise.
49844         [non-C99-based standards] (log2f): Likewise.
49845         [non-C99-based standards] (modff): Allow.
49846         [non-C99-based standards] (erff): Do not allow.
49847         [non-C99-based standards] (erfcf): Likewise.
49848         [non-C99-based standards] (gammaf): Likewise.
49849         [non-C99-based standards] (hypotf): Likewise.
49850         [non-C99-based standards] (j0f): Likewise.
49851         [non-C99-based standards] (j1f): Likewise.
49852         [non-C99-based standards] (jnf): Likewise.
49853         [non-C99-based standards] (lgammaf): Likewise.
49854         [non-C99-based standards] (tgammaf): Likewise.
49855         [non-C99-based standards] (y0f): Likewise.
49856         [non-C99-based standards] (y1f): Likewise.
49857         [non-C99-based standards] (ynf): Likewise.
49858         [non-C99-based standards] (isnanf): Likewise.
49859         [non-C99-based standards] (acoshf): Likewise.
49860         [non-C99-based standards] (asinhf): Likewise.
49861         [non-C99-based standards] (atanhf): Likewise.
49862         [non-C99-based standards] (cbrtf): Likewise.
49863         [non-C99-based standards] (expm1f): Likewise.
49864         [non-C99-based standards] (ilogbf): Likewise.
49865         [non-C99-based standards] (log1pf): Likewise.
49866         [non-C99-based standards] (logbf): Likewise.
49867         [non-C99-based standards] (nextafterf): Likewise.
49868         [non-C99-based standards] (remainderf): Likewise.
49869         [non-C99-based standards] (rintf): Likewise.
49870         [non-C99-based standards] (scalbf): Likewise.
49871         [non-C99-based standards] (copysignl): Likewise.
49872         [non-C99-based standards] (exp2l): Likewise.
49873         [non-C99-based standards] (log2l): Likewise.
49874         [non-C99-based standards] (modfl): Allow.
49875         [non-C99-based standards] (erfl): Do not allow.
49876         [non-C99-based standards] (erfcl): Likewise.
49877         [non-C99-based standards] (gammal): Likewise.
49878         [non-C99-based standards] (hypotl): Likewise.
49879         [non-C99-based standards] (j0l): Likewise.
49880         [non-C99-based standards] (j1l): Likewise.
49881         [non-C99-based standards] (jnl): Likewise.
49882         [non-C99-based standards] (lgammal): Likewise.
49883         [non-C99-based standards] (tgammal): Likewise.
49884         [non-C99-based standards] (y0l): Likewise.
49885         [non-C99-based standards] (y1l): Likewise.
49886         [non-C99-based standards] (ynl): Likewise.
49887         [non-C99-based standards] (isnanl): Likewise.
49888         [non-C99-based standards] (acoshl): Likewise.
49889         [non-C99-based standards] (asinhl): Likewise.
49890         [non-C99-based standards] (atanhl): Likewise.
49891         [non-C99-based standards] (cbrtl): Likewise.
49892         [non-C99-based standards] (expm1l): Likewise.
49893         [non-C99-based standards] (ilogbl): Likewise.
49894         [non-C99-based standards] (log1pl): Likewise.
49895         [non-C99-based standards] (logbl): Likewise.
49896         [non-C99-based standards] (nextafterl): Likewise.
49897         [non-C99-based standards] (remainderl): Likewise.
49898         [non-C99-based standards] (rintl): Likewise.
49899         [non-C99-based standards] (scalbl): Likewise.
49900         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49901         [non-C99-based standards] (FP_*): Do not allow.
49902         [C99-based standards] (FP_*): Change to
49903         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49904         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49905         allow.
49906         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
49907         (SIG_ERR): Likewise.
49908         [X/Open-based standards] (SIG_HOLD): Likewise.
49909         (SIG_IGN): Likewise.
49910         (SIGABRT): Use macro-int-constant.  Specify type.  Require
49911         positive value.
49912         (SIGFPE): Likewise.
49913         (SIGILL): Likewise.
49914         (SIGINT): Likewise.
49915         (SIGSEGV): Likewise.
49916         (SIGTER): Likewise.
49917         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
49918         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
49919         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
49920         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
49921         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
49922         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
49923         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
49924         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
49925         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
49926         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
49927         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
49928         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
49929         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
49930         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
49931         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
49932         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
49933         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
49934         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
49935         [X/Open-based standards] (SIGTRAP): Likewise.
49936         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
49937         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
49938         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
49939         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
49940         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49941         allow.
49943 2012-05-08  Ian Wienand  <ianw@vmware.com>
49945         [BZ #14080]
49946         * time/tzset.c (__tzset_parse_tz): Update default rules for
49947         daylight time changes in the Energy Policy Act of 2005.
49949 2012-05-09  Andreas Jaeger  <aj@suse.de>
49951         [BZ #13983]
49952         * elf/ldconfig.c (parse_conf): Change string to make clear that
49953         ldconfig only issued a warning if ld.so.conf does not exist.
49955 2012-05-08  David S. Miller  <davem@davemloft.net>
49957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
49958         movxtod instead of popping the value on the stack.
49960         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49962 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
49964         * config.h.in: Add HAVE_ARM_PCS_VFP.
49966 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
49968         [BZ #13979]
49969         * include/features.h: Warn if user requests __FORTIFY_SOURCE
49970         checking but the checks are disabled for any reason.
49972 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
49974         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
49975         and ELF64_R_TYPE with ELFW(R_TYPE).
49977 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
49979         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
49980         (ulimit): Likewise.
49982         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
49983         (settimeofday): Likewise.
49985 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
49987         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
49988         a struct th_u2 inside the union, and move tu_block/tu_code into
49989         a new th_u3 union of tu_block/tu_code inside of that.  Move
49990         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
49991         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
49992         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
49993         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
49994         (th_stuff): Change to th_u1.tu_stuff.
49995         (th_data): Define.
49996         (th_msg): Change to th_u1.th_u2.tu_data.
49998 2012-05-07  David S. Miller  <davem@davemloft.net>
50000         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50002         [BZ #14074]
50003         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
50004         (SETUP_PIC_REG): Use it.
50005         (SETUP_PIC_REG_LEAF): Use it.
50007 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
50009         [BZ #13885]
50010         [BZ #13923]
50011         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50012         USE_AS_EXPM1L.
50013         (EXPL_FINITE): Likewise.
50014         (FLDLOG): Likewise.
50015         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50016         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50017         e_expl.S.
50018         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50019         USE_AS_EXPM1L.
50020         (EXPL_FINITE): Likewise.
50021         (FLDLOG): Likewise.
50022         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50023         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50024         e_expl.S.
50025         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
50026         test of -max_value argument for long double.
50027         * sysdeps/i386/fpu/libm-test-ulps: Update.
50028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50030 2012-05-06  David S. Miller  <davem@davemloft.net>
50032         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
50033         quad soft-float symbols whose references which are compiler
50034         generated.
50035         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50037 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
50039         [BZ #13884]
50040         [BZ #13914]
50041         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50042         USE_AS_EXP10L.
50043         (EXPL_FINITE): Likewise.
50044         (FLDLOG): Likewise.
50045         (c0): Likewise.
50046         (c1): Likewise.
50047         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
50048         Adjust comments for base varying.
50049         (__expl_finite): Change alias to EXPL_FINITE.
50050         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
50051         e_expl.S.
50052         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
50053         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
50054         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
50055         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
50056         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50057         USE_AS_EXP10L.
50058         (EXPL_FINITE): Likewise.
50059         (FLDLOG): Likewise.
50060         (c0): Likewise.
50061         (c1): Likewise.
50062         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
50063         Adjust comments for base varying.
50064         (__expl_finite): Change alias to EXPL_FINITE.
50065         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
50066         tests for bugs.
50067         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50069         [BZ #14064]
50070         * math/libm-test.inc (check_float_internal): Correct ulp
50071         calculation for subnormal expected results.
50073 2012-05-06  Andreas Jaeger  <aj@suse.de>
50075         * Makeconfig (+math-flags): New, set to -frounding-math.
50076         (+cflags): Add +math-flags so that all of glibc gets compiled with
50077         it.
50079         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
50081 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
50083         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
50084         Disable one test.
50086         [BZ #13787]
50087         [BZ #13922]
50088         [BZ #14036]
50089         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
50090         (__ieee754_expl): Allow for and saturate large arguments.
50091         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
50092         (u_threshold): Likewise.
50093         (__exp): Call __ieee754_exp before checking for overflow and
50094         underflow.
50095         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
50096         (u_threshold): Likewise.
50097         (__expf): Call __ieee754_expf before checking for overflow and
50098         underflow.
50099         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
50100         (u_threshold): Likewise.
50101         (__expl): Call __ieee754_expl before checking for overflow and
50102         underflow.
50103         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
50104         (__ieee754_expl): Allow for and saturate large arguments.
50105         * math/libm-test.inc (exp_test): Add another test.  Do not allow
50106         missing overflow exception on overflow.
50107         (expm1_test): Do not allow missing overflow exception on overflow.
50109         * sysdeps/i386/fpu/e_expl.c: Move to ...
50110         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
50111         rather than using inline asm.
50112         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
50113         * sysdeps/x86_64/fpu/e_expl.S: Copy from
50114         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
50116         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
50117         (nice): Likewise.
50118         (poll): Likewise.
50119         (signal): Likewise.
50120         (time): Likewise.
50121         (times): Likewise.
50123 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50125         * sysdeps/unix/syscalls.list (adjtime): Add entry from
50126         sysdeps/unix/common/syscalls.list.
50127         (fchmod): Likewise.
50128         (fchown): Likewise.
50129         (ftruncate): Likewise.
50130         (getrusage): Likewise.
50131         (gettimeofday): Likewise.
50132         (setpgid): Likewise.
50133         (setregid): Likewise.
50134         (setreuid): Likewise.
50135         (sigaction): Likewise.
50136         (truncate): Likewise.
50137         (vhangup): Likewise.
50138         * sysdeps/unix/common/syscalls.list: Remove file.
50139         * sysdeps/unix/bsd/Implies: Don't include unix/common.
50140         * sysdeps/unix/sysv/linux/Implies: Likewise.
50142 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
50144         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
50145         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
50146         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
50147         Moved to ...
50148         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
50149         Here.
50150         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
50151         to ...
50152         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
50153         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
50154         to ...
50155         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
50156         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
50157         to ...
50158         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
50159         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
50160         to ...
50161         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
50162         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
50163         to ...
50164         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
50165         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
50166         to ...
50167         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
50168         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
50169         to ...
50170         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
50171         Here.
50172         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
50173         to ...
50174         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
50175         Here.
50176         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
50177         to ...
50178         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
50179         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
50180         Moved to ...
50181         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
50182         Here.
50183         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
50184         to ...
50185         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
50187 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50189         * sysdeps/unix/common/bits/dirent.h: Remove file.
50190         * sysdeps/unix/common/bits/fcntl.h: Likewise.
50192         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
50193         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
50194         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
50195         * sysdeps/unix/bsd/isatty.c: Likewise.
50196         * sysdeps/unix/bsd/tcdrain.c: Likewise.
50197         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
50198         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
50200 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50202         [BZ #13563]
50203         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
50204         long double comparison inaccuracies.
50205         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
50206         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50208 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
50210         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
50211         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
50213 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50215         [BZ #14049]
50216         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
50217         nonzero digits before rounding a hex value.
50218         * stdlib/tst-strtod.c (tests): Add another test.
50220 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50222         * sysdeps/s390/fpu/libm-test-ulps: Update.
50224 2012-05-03  Andreas Jaeger  <aj@suse.de>
50226         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
50227         does not get optimized out.
50228         (malloc_opt_barrier): New.
50230 2012-05-03  Andreas Jaeger  <aj@suse.de>
50231             Roland McGrath  <roland@hack.frob.com>
50233         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
50234         intermediate file deletion.
50235         (generated): Add .symlist files.
50237 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
50239         [BZ #13775]
50240         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
50241         Redirect under this condition.
50242         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50243         [__USE_GNU] (__dprintf_chk): Not under this condition.
50244         [__USE_GNU] (__vdprintf_chk): Likewise.
50245         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
50246         under this condition.
50247         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50248         [__USE_XOPEN2K8] (dprintf): Define under this condition.
50249         [__USE_XOPEN2K8] (vdprintf): Likewise.
50250         [__USE_GNU] (__dprintf_chk): Not under this condition.
50251         [__USE_GNU] (__vdprintf_chk): Likewise.
50252         [__USE_GNU] (dprintf): Likewise.
50253         [__USE_GNU] (vdprintf): Likewise.
50255 2012-05-03  Roland McGrath  <roland@hack.frob.com>
50257         * elf/Makefile (common-generated): Set this instead of generated for
50258         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
50259         $(all-built-dso)-derived lists.
50261 2012-05-03  Andreas Jaeger  <aj@suse.de>
50263         * sysdeps/i386/fpu/libm-test-ulps: Update.
50265         * FAQ: Removed.
50266         * FAQ.in: Likewise.
50267         * scripts/gen-FAQ.pl: Likewise.
50268         * manual/install.texi (Installation): Point to online location of
50269         FAQ.
50270         * Makefile (files-for-dist): Remove FAQ.
50271         (FAQ): Remove.
50273 2012-05-02  Allan McRae  <allan@archlinux.org>
50275         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
50276         (LDFLAGS-reldepmod5.so): Likewise.
50277         (LDFLAGS-reldep6mod1.so): Likewise.
50278         (LDFLAGS-reldep6mod4.so): Likewise.
50279         (LDFLAGS-reldep8mod3.so): Likewise.
50280         (LDFLAGS-unload4mod1.so): Likewise.
50281         (LDFLAGS-unload4mod2.so): Likewise.
50282         (LDFLAGS-tst-initorder): Likewise.
50283         (LDFLAGS-tst-initordera2.so): Likewise.
50284         (LDFLAGS-tst-initordera3.so): Likewise.
50285         (LDFLAGS-tst-initordera4.so): Likewise.
50286         (LDFLAGS-tst-initorderb2.so): Likewise.
50287         (LDFLAGS-noload): Likewise.
50288         (LDFLAGS-next): Likewise.
50289         (LDFLAGS-order2mod1.so): Likewise.
50290         (LDFLAGS-order2mod2.so): Likewise.
50291         (LDFLAGS-tst-initorder2): Likewise.
50292         (LDFLAGS-tst-initorder2a.so): Likewise.
50293         (LDFLAGS-tst-initorder2b.so): Likewise.
50294         (LDFLAGS-tst-initorder2c.so): Likewise.
50295         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
50297 2012-05-02  David S. Miller  <davem@davemloft.net>
50299         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50301 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
50303         [BZ #14055]
50304         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
50306 2012-05-02  Andreas Jaeger  <aj@suse.de>
50308         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
50309         since we manipulate rounding mode.
50310         (CPPFLAGS-test-idouble.c): Likewise.
50311         (CPPFLAGS-test-ifloat.c): Likewise.
50312         (CFLAGS-test-ldouble.c): Likewise.
50313         (CFLAGS-test-double.c): Likewise.
50314         (CFLAGS-test-float.c): Likewise.
50315         (CFLAGS-test-misc.c): Likewise.
50316         (CFLAGS-test-test-fenv.c): Likewise.
50318 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50320         [BZ #2550]
50321         [BZ #2570]
50322         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
50323         comparisons to determine direction to adjust input.
50325 2012-05-01  Roland McGrath  <roland@hack.frob.com>
50327         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
50328         output to the target.
50330         * scripts/localplt.awk: New file.
50331         * elf/Makefile ($(objpfx)check-localplt): Target removed.
50332         (check-localplt-CFLAGS): Variable removed.
50333         ($(all-built-dso:=.jmprel)): New static pattern rule.
50334         (generated): Add those targets.
50335         (localplt-built-dso): New variable.
50336         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
50338         * elf/check-localplt.c: File removed.
50340         * scripts/check-execstack.awk: New file.
50341         * elf/Makefile ($(objpfx)check-execstack): Target removed.
50342         (check-execstack-CFLAGS): Variable removed.
50343         ($(objpfx)check-execstack.h): Target removed.
50344         ($(objpfx)execstack-default): New target.
50345         (generated): Add that instead of check-execstack.h.
50346         ($(all-built-dso:=.phdr)): New static pattern rule.
50347         (generated): Add those targets.
50348         * elf/check-execstack.c: File removed.
50350         * scripts/check-textrel.awk: New file.
50351         * elf/Makefile ($(objpfx)check-textrel): Target removed.
50352         (check-textrel-CFLAGS): Variable removed.
50353         (all-built-dso): Use := to define.o
50354         ($(all-built-dso:=.dyn)): New static pattern rule.
50355         (generated): Add those targets.
50356         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
50357         * config.make.in (READELF): New substituted variable.
50358         * elf/check-textrel.c: File removed.
50360 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
50362         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50363         allow.
50364         * conform/data/ctype.h-data [C99-based standards] (isblank):
50365         Expect function.
50366         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
50367         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
50368         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50369         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
50370         Specify type.  Require positive value.
50371         (EILSEQ): Likewise.
50372         (ERANGE): Likewise.
50373         [ISO || POSIX] (EILSEQ): Do not expect.
50374         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
50375         Specify type.  Require positive value.
50376         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
50377         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
50378         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
50379         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
50380         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
50381         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
50382         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
50383         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
50384         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
50385         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
50386         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
50387         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
50388         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
50389         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
50390         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
50391         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
50392         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
50393         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
50394         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
50395         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
50396         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
50397         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
50398         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
50399         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
50400         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
50401         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
50402         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
50403         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
50404         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
50405         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
50406         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
50407         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
50408         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
50409         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
50410         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
50411         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
50412         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
50413         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
50414         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
50415         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
50416         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
50417         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
50418         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
50419         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
50420         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
50421         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
50422         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
50423         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
50424         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
50425         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
50426         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
50427         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
50428         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
50429         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
50430         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
50431         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
50432         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
50433         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
50434         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
50435         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
50436         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
50437         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
50438         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
50439         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
50440         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
50441         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
50442         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
50443         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
50444         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
50445         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
50446         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
50447         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
50448         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
50449         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
50450         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
50451         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
50452         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
50453         Require >= 2.
50454         (FLT_ROUNDS): Expect as macro, not constant.
50455         (FLT_MANT_DIG): Use macro-int-constant.
50456         (DBL_MANT_DIG): Likewise.
50457         (LDBL_MANT_DIG): Likewise.
50458         (FLT_DIG): Likewise.
50459         (DBL_DIG): Likewise.
50460         (LDBL_DIG): Likewise.
50461         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
50462         (DBL_MIN_EXP): Likewise.
50463         (LDBL_MIN_EXP): Likewise.
50464         (FLT_MAX_EXP): Use macro-int-constant.
50465         (DBL_MAX_EXP): Likewise.
50466         (LDBL_MAX_EXP): Likewise.
50467         (FLT_MAX_10_EXP): Likewise.
50468         (DBL_MAX_10_EXP): Likewise.
50469         (LDBL_MAX_10_EXP): Likewise.
50470         (FLT_MAX): Use macro-constant.
50471         (DBL_MAX): Likewise.
50472         (LDBL_MAX): Likewise.
50473         (FLT_EPSILON): Use macro-constant.  Give upper bound.
50474         (DBL_EPSILON): Likewise.
50475         (LDBL_EPSILON): Likewise.
50476         (FLT_MIN): Likewise.
50477         (DBL_MIN): Likewise.
50478         (LDBL_MIN): Likewise.
50479         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
50480         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
50481         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
50482         [ISO11] (FLT_HAS_SUBNORM): Likewise.
50483         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
50484         [ISO11] (DBL_DECIMAL_DIG): Likewise.
50485         [ISO11] (FLT_DECIMAL_DIG): Likewise.
50486         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
50487         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
50488         [ISO11] (FLT_TRUE_MIN): Likewise.
50489         [ISO11] (LDBL_TRUE_MIN): Likewise.
50490         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50491         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
50492         (SCHAR_MIN): Use macro-int-constant.  Specify type.
50493         (SCHAR_MAX): Likewise.
50494         (UCHAR_MAX): Likewise.
50495         (CHAR_MIN): Likewise.
50496         (CHAR_MAX): Likewise.
50497         (MB_LEN_MAX): Use macro-int-constant.
50498         (SHRT_MIN): Use macro-int-constant.  Specify type.
50499         (SHRT_MAX): Likewise.
50500         (USHRT_MAX): Likewise.
50501         (INT_MAX): Likewise.
50502         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
50503         bound negative.
50504         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50505         bound with "U".
50506         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50507         bound with "L".
50508         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
50509         bound negative.  Suffix upper bound with "L".
50510         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50511         bound with "UL".
50512         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
50513         Specify type.
50514         [C99-based standards] (LLONG_MAX): Likewise.
50515         [C99-based standards] (ULLONG_MAX): Likewise.
50516         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
50517         == 0.
50518         [ISO11] (max_align_t): Require type.
50519         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50521         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
50522         from $CFLAGS, without defining away __attribute__ calls.
50523         (checknamespace): Use $CFLAGS_namespace.
50525         * conform/conformtest.pl (@keywords): Only include C99 keywords
50526         for standards based on C99 or C11.
50528         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
50529         Disable tests.
50530         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
50531         UNIX98]: Likewise.
50533         * conform/conformtest.pl: Handle "macro-int-constant" and test for
50534         usability of symbols in #if.
50536         * conform/conformtest.pl: If macro or constant types start
50537         "promoted:", expect the symbol to be of the following type
50538         promoted by the integer promotions.
50540         * conform/conformtest.pl: Parse all "constant" and "macro" lines
50541         in one place.  Also handle "macro-constant".
50543         * conform/conformtest.pl: Only accept expected macro values with
50544         "==".  Parse all "macro" lines in one place.
50545         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
50547         * conform/conformtest.pl: Handle braced types on "constant" lines
50548         instead of handling "typed-constant".
50549         * conform/data/signal.h-data: Use "constant" instead of
50550         "typed-constant".
50552         * conform/conformtest.pl: Handle "optional-" at start of lines in
50553         one place rather than duplicating several cases.  Handle each
50554         format of "macro" line with initial "optional-".
50556         * conform/conformtest.pl: Only accept expected constant or
50557         optional-constant values with "==".  Parse all "constant" lines in
50558         one place.  Parse all "optional-constant" lines in one place.
50559         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
50560         * conform/data/fmtmsg.h-data: Likewise.
50561         * conform/data/netinet/in.h-data: Likewise.
50562         * conform/data/tar.h-data: Likewise.
50563         * conform/data/limits.h-data: Use "==" form on "constant" and
50564         "optional-constant" lines.
50566         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
50567         Use -std=c99 for XOPEN2K.
50568         (@knownproblems): Remove.
50569         (newtoken): Don't check %isknown.
50571         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
50572         Do not expect macro.
50573         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
50574         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
50575         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
50576         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
50577         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
50578         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
50579         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
50580         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
50581         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
50582         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
50583         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
50584         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
50585         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
50586         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
50587         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
50588         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
50589         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
50590         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
50591         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
50592         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
50593         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
50594         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
50595         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
50596         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
50597         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
50598         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
50599         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
50600         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
50601         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
50602         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
50603         [XPG3] (acosh): Likewise.
50604         [XPG3] (asinh): Likewise.
50605         [XPG3] (atanh): Likewise.
50606         [XPG3] (cbrt): Likewise.
50607         [XPG3] (expm1): Likewise.
50608         [XPG3] (ilogb): Likewise.
50609         [XPG3] (log1p): Likewise.
50610         [XPG3] (logb): Likewise.
50611         [XPG3] (nextafter): Likewise.
50612         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
50613         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
50614         [XPG3] (remainder): Likewise.
50615         [XPG3] (rint): Likewise.
50616         [XPG3 || XPG4 || UNIX98] (round): Likewise.
50617         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
50618         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
50619         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
50620         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
50621         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
50622         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
50623         [UNIX98 || XOPEN2K] (scalb): Expect.
50624         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
50625         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
50626         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
50627         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
50628         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
50629         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
50630         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
50631         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
50632         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
50633         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
50634         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
50635         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
50636         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
50637         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
50638         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
50639         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
50640         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
50641         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
50642         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
50643         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
50644         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
50645         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
50646         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
50647         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
50648         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
50649         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
50650         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
50651         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
50652         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
50653         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
50654         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
50655         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
50656         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
50657         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
50658         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
50659         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
50660         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
50661         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
50662         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
50663         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
50664         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
50665         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
50666         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
50667         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
50668         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
50669         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
50670         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
50671         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
50672         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
50673         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
50674         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
50675         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
50676         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
50677         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
50678         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
50679         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
50680         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
50681         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
50682         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
50683         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
50684         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
50685         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
50686         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
50687         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
50688         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
50689         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
50690         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
50691         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
50692         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
50693         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
50694         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
50695         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
50696         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
50697         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
50698         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
50699         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
50700         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
50701         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
50702         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
50703         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
50704         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
50705         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
50706         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
50707         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
50708         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
50709         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
50710         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
50711         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
50712         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
50713         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
50714         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
50715         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
50716         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
50717         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
50718         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
50719         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
50720         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
50721         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
50722         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
50723         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
50724         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
50725         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
50726         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
50727         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
50728         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
50729         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
50730         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
50731         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
50732         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
50733         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
50734         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
50735         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
50736         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
50737         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
50738         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
50739         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
50740         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
50741         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
50742         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
50743         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
50744         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
50745         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
50746         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
50747         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
50748         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
50749         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
50750         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
50751         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
50752         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
50753         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
50754         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
50755         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
50756         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
50757         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
50758         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
50759         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
50760         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
50762         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
50763         _XOPEN_SOURCE_EXTENDED for XPG4.
50765         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
50767         * Makeconfig (localtime): Remove variable.
50768         (inst_localtime-file): Likewise.
50770 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
50773         Update.
50774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50775         Update.
50776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
50777         Update.
50778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
50779         Update.
50780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
50781         Update.
50782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
50783         Update.
50784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50785         Update.
50786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
50787         Update.
50788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50789         Update.
50791 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
50793         [BZ #2550]
50794         [BZ #2570]
50795         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
50796         comparisons to determine direction to adjust input.
50797         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
50798         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
50799         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
50800         Likewise.
50801         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
50802         Likewise.
50803         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
50804         Likewise.
50805         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
50806         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
50807         Likewise.
50808         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
50809         Likewise.
50810         * math/libm-test.inc (nexttoward_test): Add more tests.
50812 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50814         [BZ #14040]
50815         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
50816         in version GLIBC_2.1, not GLIBC_2.0.
50817         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
50818         Likewise.
50820 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
50822         [BZ #13942]
50823         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
50824         (1 - x) * (1 + x).
50825         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50826         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
50827         * math/libm-test.inc (acos_test): Add more tests.
50828         (asin_test): Likewise.
50829         * sysdeps/i386/fpu/libm-test-ulps: Update.
50830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50832         [BZ #14034]
50833         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
50834         of square root.
50835         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
50836         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50837         * math/libm-test.inc (acos_test_tonearest): New function.
50838         (acos_test_towardzero): Likewise.
50839         (acos_test_downward): Likewise.
50840         (acos_test_upward): Likewise.
50841         (asin_test_tonearest): Likewise.
50842         (asin_test_towardzero): Likewise.
50843         (asin_test_downward): Likewise.
50844         (asin_test_upward): Likewise.
50845         (main): Call the new functions.
50846         * sysdeps/i386/fpu/libm-test-ulps: Update.
50847         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50849         [BZ #13884]
50850         [BZ #13924]
50851         * math/e_exp10.c: Include <float.h>.
50852         (__ieee754_exp10): Handle underflow here rather than multiplying
50853         large negative argument by M_LN10.
50854         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
50855         of __ieee754_expf.
50856         * math/e_exp10l.c: Include <float.h>.
50857         (__ieee754_exp10l): Handle underflow here rather than multiplying
50858         large negative argument by M_LN10l.
50859         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
50860         spurious overflow exception on underflow.
50862 2012-04-29  Marek Polacek  <polacek@redhat.com>
50864         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
50865         (__fortify_function): New macro.
50866         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
50867         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
50868         __extern_always_inline.
50869         * libio/bits/stdio2.h: Likewise.
50870         * libio/bits/stdio.h: Likewise.
50871         * string/string.h: Likewise.
50872         * string/bits/string3.h: Likewise.
50873         * include/stdio.h: Likewise.
50874         * stdlib/bits/stdlib.h: Likewise.
50875         * stdlib/stdlib.h: Likewise.
50876         * rt/bits/mqueue2.h: Likewise.
50877         * rt/mqueue.h: Likewise.
50878         * posix/bits/unistd.h: Likewise.
50879         * posix/unistd.h: Likewise.
50880         * io/bits/poll2.h: Likewise.
50881         * io/bits/fcntl2.h: Likewise.
50882         * io/fcntl.h: Likewise.
50883         * io/sys/poll.h: Likewise.
50884         * misc/bits/syslog.h: Likewise.
50885         * misc/bits/syslog-ldbl.h: Likewise.
50886         * misc/sys/syslog.h: Likewise.
50887         * socket/bits/socket2.h: Likewise.
50888         * socket/sys/socket.h: Likewise.
50889         * debug/tst-chk1.c: Likewise.
50890         * wcsmbs/bits/wchar2.h: Likewise.
50891         * wcsmbs/bits/wchar-ldbl.h: Likewise.
50892         * wcsmbs/wchar.h: Likewise.
50894 2012-04-29  Andreas Jaeger  <aj@suse.de>
50896         * Makerules (tests): Remove enable-check-abi protection.
50897         (check-abi-warn): Remove.
50898         (check-abi-%): Remove check-abi-warn usage.
50900         * configure.in: Remove check-abi configure option.
50901         * configure: Regenerated.
50902         * config.make.in (enable-check-abi): Remove.
50904 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
50906         [BZ #14033]
50907         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
50908         double functions to double *_finite functions.
50910         [BZ #13941]
50911         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
50912         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
50913         LDBL_MIN_EXP.
50914         * stdio-common/Makefile (tests): Add tst-sprintf3.
50915         * stdio-common/tst-sprintf3.c: New file.
50917         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
50918         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
50920 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
50922         * conform/conformtest.pl: Remove duplicate typed-constant
50923         handling.
50925 2012-04-28  David S. Miller  <davem@davemloft.net>
50927         * Makerules (%.abilist): Add vpath on sysdep_dirs.
50928         (check-abi-%): Remove AWK script prerequisite and explicit
50929         abilist directory.
50930         (check-abi): Rewrite to just diff the symlist with the abilist.
50931         (config-tls, config-abi-config): Delete, no longer used.
50932         (update-abi-%): Remove AWK script and explicit abilist directory.
50933         (update-abi): Rewrite to simply compare and conditionally copy the
50934         symlist and the sysdep abilist file.  Remove update-abi-config
50935         checks.
50936         * abilist/ld.abilist: Remove.
50937         * abilist/libBrokenLocale.abilist: Remove.
50938         * abilist/libanl.abilist: Remove.
50939         * abilist/libcrypt.abilist: Remove.
50940         * abilist/libdl.abilist: Remove.
50941         * abilist/librt.abilist: Remove.
50942         * abilist/libthread_db.abilist: Remove.
50943         * abilist/libutil.abilist: Remove.
50944         * scripts/extract-abilist.awk: Remove.
50945         * scripts/merge-abilist.awk: Remove.
50946         * sysdeps/generic/libcidn.abilist: New file.
50947         * sysdeps/generic/libnss_compat.abilist: New file.
50948         * sysdeps/generic/libnss_db.abilist: New file.
50949         * sysdeps/generic/libnss_dns.abilist: New file.
50950         * sysdeps/generic/libnss_files.abilist: New file.
50951         * sysdeps/generic/libnss_hesiod.abilist: New file.
50952         * sysdeps/generic/libnss_nis.abilist: New file.
50953         * sysdeps/generic/libnss_nisplus.abilist: New file.
50954         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
50955         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
50956         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
50957         file.
50958         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
50959         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
50960         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
50961         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
50962         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
50963         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
50964         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
50965         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
50966         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
50967         file.
50968         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
50969         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
50970         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
50971         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
50972         file.
50973         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
50974         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
50975         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
50976         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
50977         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
50978         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
50979         file.
50980         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
50981         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
50982         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
50983         file.
50984         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
50985         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
50986         New file.
50987         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
50988         New file.
50989         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
50990         New file.
50991         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
50992         New file.
50993         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
50994         New file.
50995         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
50996         New file.
50997         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
50998         New file.
50999         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
51000         New file.
51001         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
51002         New file.
51003         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
51004         New file.
51005         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
51006         New file.
51007         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
51008         New file.
51009         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
51010         New file.
51011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
51012         file.
51013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
51014         New file.
51015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
51016         New file.
51017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
51018         file.
51019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
51020         New file.
51021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
51022         New file.
51023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
51024         file.
51025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
51026         New file.
51027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51028         New file.
51029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
51030         New file.
51031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
51032         New file.
51033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
51034         New file.
51035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
51036         New file.
51037         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
51038         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
51039         file.
51040         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
51041         New file.
51042         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
51043         file.
51044         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
51045         file.
51046         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
51047         file.
51048         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
51049         file.
51050         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
51051         file.
51052         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51053         New file.
51054         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
51055         file.
51056         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
51057         file.
51058         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
51059         New file.
51060         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
51061         file.
51062         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
51063         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
51064         file.
51065         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
51066         New file.
51067         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
51068         file.
51069         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
51070         file.
51071         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
51072         file.
51073         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
51074         file.
51075         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
51076         file.
51077         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51078         New file.
51079         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
51080         file.
51081         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
51082         file.
51083         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
51084         New file.
51085         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
51086         file.
51087         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
51088         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
51089         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
51090         file.
51091         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
51092         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
51093         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
51094         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
51095         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
51096         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
51097         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
51098         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
51099         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
51100         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
51101         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
51102         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
51103         file.
51104         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
51105         New file.
51106         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
51107         file.
51108         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
51109         file.
51110         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
51111         file.
51112         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
51113         file.
51114         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
51115         file.
51116         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
51117         New file.
51118         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
51119         New file.
51120         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
51121         file.
51122         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
51123         New file.
51124         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
51125         file.
51126         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
51127         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
51128         file.
51129         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
51130         New file.
51131         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
51132         file.
51133         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
51134         file.
51135         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
51136         file.
51137         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
51138         file.
51139         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
51140         file.
51141         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
51142         New file.
51143         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
51144         New file.
51145         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
51146         file.
51147         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
51148         New file.
51149         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
51150         file.
51152 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51154         * conform/conformtest.pl: Fix typo in handling typed-constant from
51155         allow-header.
51157 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
51159         * README: Cut down references to pre-2.6 Linux kernels and
51160         Linuxthreads.  Update lists of configurations in libc and ports
51161         and sort alphabetically.  Say "or newer" with Linux kernel version
51162         requirements.
51164         * config.h.in [IS_IN_build]: Allow compiling without optimization.
51166 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51168         [BZ #887]
51169         * math/libm-test.inc (logb_test_downward): New test to expose
51170         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
51171         rounding mode.
51173 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
51175         [BZ #14027]
51176         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
51177         to be done.
51178         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
51179         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
51181 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
51183         * sysdeps/unix/i386/brk.S: Remove file.
51184         * sysdeps/unix/i386/dl-brk.S: Likewise.
51185         * sysdeps/unix/i386/pipe.S: Likewise.
51186         * sysdeps/unix/i386/sigreturn.S: Likewise.
51187         * sysdeps/unix/i386/syscall.S: Likewise.
51188         * sysdeps/unix/i386/vfork.S: Likewise.
51189         * sysdeps/unix/i386/wait.S: Likewise.
51191         * sysdeps/unix/common/tcsendbrk.c: Move to ...
51192         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
51194         * configure.in (arm*-none*): Do not allow without
51195         --enable-hacker-mode.
51196         (netbsd*): Remove case setting base_os.
51197         (386bsd*): Likewise.
51198         (freebsd*): Likewise.
51199         (bsdi*): Likewise.
51200         (osf*): Likewise.
51201         (sunos*): Likewise.
51202         (ultrix*): Likewise.
51203         (newsos*): Likewise.
51204         (dynix*): Likewise.
51205         (*bsd*): Likewise.
51206         (sysv*): Likewise.
51207         (isc*): Likewise.
51208         (esix*): Likewise.
51209         (sco*): Likewise.
51210         (minix*): Likewise.
51211         (irix4*): Likewise.
51212         (irix6*): Likewise.
51213         (solaris[2-9]*): Likewise.
51214         (none): Likewise.
51215         * configure: Regenerated.
51217 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51219         [BZ #11521]
51220         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
51221         overflow or cancellation in calculating denominator.
51222         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
51223         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
51224         down expression to avoid unexpected rounding in newer GCCs.
51225         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
51227 2012-04-26  David S. Miller  <davem@davemloft.net>
51229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
51230         long-double compat symbols.
51231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
51235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51236         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
51237         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
51238         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
51239         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
51240         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
51241         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
51242         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
51243         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51245 2012-04-25  David S. Miller  <davem@davemloft.net>
51247         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
51248         HWCAP_* values only after the memory barriers have been defined.
51249         (atomic_full_barrier): Define.
51250         (atomic_read_barrier): Define.
51251         (atomic_write_barrier): Define.
51253 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51255         * shlib-versions: Add libgcc_s version information.
51256         * sysdeps/generic/libgcc_s.h: Remove.
51257         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
51258         libgcc_s.h.
51259         * sysdeps/gnu/unwind-resume.c: Likewise.
51260         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
51262 2012-04-25  David S. Miller  <davem@davemloft.net>
51264         * sysdeps/unix/sparc/brk.S: Delete.
51265         * sysdeps/unix/sparc/dl-brk.S: Delete.
51266         * sysdeps/unix/sparc/pipe.S: Delete.
51267         * sysdeps/unix/sparc/sysdep.S: Delete.
51268         * sysdeps/unix/sparc/sysdep.h: Delete.
51269         * sysdeps/unix/sparc/vfork.S: Delete.
51270         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
51271         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
51272         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
51273         (ret_ERRVAL, r0, r1, MOVE): Define.
51274         (JUMPTARGET): Remove.
51275         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
51276         sysdeps/unix/sparc/sysdep.h
51277         (ENTRY, END): Remove.
51278         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51280 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
51282         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
51283         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
51284         -DIS_IN_build.
51286         * timezone/README: Update upstream location and email address for
51287         tzcode and tzdata.
51288         * timezone/zdump.c: Update from tzcode 2012b.
51289         * timezone/zic.c: Likewise.
51291         * configure.in (libc_cv_as_needed): Remove test.
51292         * configure: Regenerated.
51293         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
51294         conditional definition.
51295         [$(have-as-needed) != yes] (no-as-needed): Likewise.
51296         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
51297         * config.make.in (have-as-needed): Remove variable.
51299 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51300             Paul Pluzhnikov  <ppluzhnikov@google.com>
51302         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
51303         strings correctly.
51305 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
51307         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
51308         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
51309         * sysdeps/sh/strlen.S: Likewise.
51311 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51313         * sysdeps/unix/fork.S: Remove file.
51314         * sysdeps/unix/i386/fork.S: Likewise.
51315         * sysdeps/unix/sparc/fork.S: Likewise.
51317         * sysdeps/unix/system.c: Remove file.
51318         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
51320         * sysdeps/unix/getegid.S: Remove file.
51321         * sysdeps/unix/geteuid.S: Likewise.
51323 2012-04-24  Roland McGrath  <roland@hack.frob.com>
51325         * scripts/check-localplt.awk: New file.
51326         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
51327         of diff.
51328         * scripts/data/localplt-generic.data: Add a comment.
51330         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
51331         NODE when __dir_mkfile failed.
51332         * sysdeps/mach/hurd/symlinkat.c: Likewise.
51333         Reported by Ludovic Courtès <ludo@gnu.org>.
51335 2012-04-24  Andreas Jaeger  <aj@suse.de>
51337         * Makerules (common-clean): Also remove gen-as-const-headers
51338         files.
51340 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51342         * Makerules (native-compile): Do not change working directory for
51343         build.  Use $(OUTPUT_OPTION) in command.
51344         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
51346 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51348         [BZ #13886]
51349         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
51350         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
51351         * math/libm-test.inc (floor_test): Add more tests.
51352         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
51354 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51356         * sysdeps/unix/getdents.c: Remove file.
51357         * sysdeps/unix/sysv/getdents.c: Likewise.
51358         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
51360         * sysdeps/unix/syscalls.list (madvise): Add syscall from
51361         sysdeps/unix/mman/syscalls.list.
51362         (mmap): Likewise.
51363         (mprotect): Likewise.
51364         (msync): Likewise.
51365         (munmap): Likewise.
51366         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
51367         * sysdeps/unix/mman/syscalls.list: Remove.
51368         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
51370         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
51371         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
51372         * configure: Regenerated.
51373         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
51374         $(libgcc_s_suffix).
51375         * config.make.in (libgcc_s_suffix): Remove variable.
51377 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
51379         * sysdeps/unix/sysv/gethostname.c: Move to ...
51380         * sysdeps/posix/gethostname.c: ... here.
51382         * sysdeps/unix/execve.S: Remove file.
51384         * sysdeps/unix/_exit.S: Remove file.
51386 2012-04-23  Andreas Jaeger  <aj@suse.de>
51388         [BZ #13739]
51389         * manual/Makefile: Remove make dist support, there's no
51390         need for a stand-alone documentation tar ball.
51391         (TEXI2DVI): Define always, it's not in Makeconfig.
51392         (dist): Removed.
51393         (tar-it): Removed.
51394         (edition): Removed.
51395         (glibc-doc-$(edition).tar): Removed
51396         (%.Z): Removed.
51397         (%.gz): Removed.
51398         (%.uu): Removed.
51399         (ETAGS): Remove, it's in Makeconfig.
51400         (move-if-change): Remove, it's in Makeconfig.
51402 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
51404         [BZ #13970]
51405         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
51406         (strtod, strtof, strtold, strtol, strtoul, strtoq)
51407         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
51408         (strtod_l, strtof_l, strtold_l): Remove __wur.
51409         It is not necessarily an error to ignore strtol's return value.
51410         One can reliably look at the stored endptr to decide whether
51411         the number had valid syntax.
51413 2012-04-21  Andreas Jaeger  <aj@suse.de>
51415         [BZ #13739]
51416         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
51418 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
51420         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
51421         * sysdeps/unix/sysv/Versions: Remove file.
51423 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
51425         [BZ #13927]
51426         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51428 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
51430         [BZ #7064]
51431         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
51432         version from __vm86.
51434 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
51436         * sysdeps/unix/common/lxstat.c: Remove file.
51437         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
51439         * sysdeps/unix/sysv/Makefile: Remove file.
51441         * sysdeps/unix/sysv/direct.h: Remove file.
51443         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
51444         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
51445         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
51446         * sysdeps/unix/sysv/bits/signum.h: Likewise.
51447         * sysdeps/unix/sysv/bits/stat.h: Likewise.
51448         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
51449         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
51451         * sysdeps/unix/sysv/setrlimit.c: Remove file.
51453         * sysdeps/unix/xmknod.c: Remove file.
51454         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
51456         * sysdeps/unix/sysv/settimeofday.c: Remove file.
51458         * sysdeps/unix/sysv/i386/time.S: Remove file.
51460         * sysdeps/unix/fxstat.c: Remove file.
51461         * sysdeps/unix/xstat.c: Likewise.
51462         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
51464         * sysdeps/unix/sysv/sigaction.c: Remove file.
51466         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
51467         (sysdep_headers): Remove variable.
51468         [termio.h not in sysdep_headers] (generated): Likewise.
51469         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
51470         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
51471         * sysdeps/unix/sysv/tcdrain.c: Likewise.
51472         * sysdeps/unix/sysv/tcflow.c: Likewise.
51473         * sysdeps/unix/sysv/tcflush.c: Likewise.
51474         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
51475         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
51476         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
51477         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
51478         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
51480         * sysdeps/unix/siglist.c: Remove file.
51482         * sysdeps/unix/getppid.S: Remove file.
51484         * sysdeps/unix/mkdir.c: Remove file.
51485         * sysdeps/unix/rmdir.c: Likewise.
51487 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
51489         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
51490         ERR_MAX value.
51491         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
51492         errlist-compat value.
51494 2012-04-18  David S. Miller  <davem@davemloft.net>
51496         * sysdeps/generic/memcopy.h (reg_char): Delete.
51497         * debug/strcat_chk.c: Use char, not reg_char.
51498         * debug/strcpy_chk.c: Likewise.
51499         * debug/strncat_chk.c: Likewise.
51500         * debug/strncpy_chk.c: Likewise.
51501         * string/memchr.c: Likewise.
51502         * string/memrchr.c: Likewise.
51503         * string/rawmemchr.c: Likewise.
51504         * string/strcat.c: Likewise.
51505         * string/strchr.c: Likewise.
51506         * string/strchrnul.c: Likewise.
51507         * string/strcmp.c: Likewise.
51508         * string/strcpy.c: Likewise.
51509         * string/strncat.c: Likewise.
51510         * string/strncmp.c: Likewise.
51511         * string/strncpy.c: Likewise.
51513 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51515         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
51516         __builtin_memcopy is called when src and dest ranges are known to not
51517         overlap.
51519 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51521         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
51522         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
51523         fwd_align_merge macro call.
51524         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
51525         bwd_align_merge macro call.
51526         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51528 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51530         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
51531         bwd_align_merge macros.
51532         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
51533         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
51534         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51536 2012-04-18  David S. Miller  <davem@davemloft.net>
51538         * sysdeps/sparc/sparc64/memcopy.h: Delete.
51540 2012-04-18  Andreas Jaeger  <aj@suse.de>
51542         [BZ# 6794]
51543         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
51544         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
51545         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51547         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
51548         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
51549         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51551         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
51552         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
51553         Adjust for changed ldbl-128 files.
51555         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
51556         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
51557         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51559 2012-04-17  David S. Miller  <davem@davemloft.net>
51561         * sysdeps/sparc/sparc32/memcopy.h: Delete.
51563 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
51565         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
51566         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
51567         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
51568         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
51569         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
51570         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
51572 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51574         [BZ #6794]
51575         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
51576         * math/libm-test.inc: Add ilogb errno and exception tests.
51577         * math/w_ilogb.c: New file: ilogb wrapper.
51578         * math/w_ilogbf.c: New file: ilogbf wrapper.
51579         * math/w_ilogbl.c: New file: ilogbl wrapper.
51580         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
51581         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
51582         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
51583         exception being thrown with 0.0 as argument.
51584         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
51585         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
51586         exception being thrown with 0.0 as argument.
51587         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
51588         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51589         exception being thrown with 0.0 as argument.
51590         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
51591         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51592         exception being thrown with 0.0 as argument.
51593         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
51594         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
51595         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
51596         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
51597         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
51598         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
51599         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
51600         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
51601         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
51603 2012-04-17  Petr Baudis  <pasky@ucw.cz>
51605         * include/sys/uio.h: Change __vector to __iovec to avoid clash
51606         with altivec.
51608 2012-04-16  Marek Polacek  <polacek@redhat.com>
51610         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
51612 2012-04-16  Marek Polacek  <polacek@redhat.com>
51614         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
51615         operands of fdivp instruction.
51617 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
51619         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
51620         * elf/tst-auditmod3b.c: Likewise.
51621         * elf/tst-auditmod4b.c: Likewise.
51622         * elf/tst-auditmod5b.c: Likewise.
51623         * elf/tst-auditmod6b.c: Likewise.
51624         * elf/tst-auditmod6c.c: Likewise.
51625         * elf/tst-auditmod7b.c: Likewise.
51626         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
51627         * sysdeps/x86_64/preconfigure.in: Likewise.
51628         * sysdeps/x86_64/preconfigure: Regenerated.
51630 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
51632         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
51633         __ILP32__.
51635 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
51637         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51638         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
51640 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
51642         [BZ #13973]
51643         * locale/iso-639.def: Fix gl language name. Spotted by
51644         Yaron Shahrabani.
51646 2012-04-12  Roland McGrath  <roland@hack.frob.com>
51648         [BZ #2074]
51649         * libio/libio.h (__io_write_fn): Update comment.
51651 2012-04-12  Petr Baudis  <pasky@ucw.cz>
51653         [BZ #2074]
51654         * stdio.texi (Hook Functions): The user provided writer function
51655         is not allowed to return -1.
51657 2012-04-11  David S. Miller  <davem@davemloft.net>
51659         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51661 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
51663         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
51664         Add a leading slash to rtkaio.
51666 2012-04-11  Jim Meyering  <meyering@redhat.com>
51668         [BZ #11959]
51669         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
51670         It is not necessarily an error to ignore fwrite's return
51671         value.  One can reliably use ferror to test for errors after
51672         the fact.
51674 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
51676         * bits/types.h (__snseconds_t): New type.
51677         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
51679         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
51680         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51681         (__SNSECONDS_T_TYPE): Likewise.
51682         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51683         (__SNSECONDS_T_TYPE): Likewise.
51684         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51685         (__SNSECONDS_T_TYPE): Likewise.
51687 2012-04-10  Andreas Jaeger  <aj@suse.de>
51689         [BZ #2636]
51690         * manual/time.texi (Processor Time): Return type of times is
51691         elapsed real time since an arbitrary point in the past.
51692         (CPU Time): Move CLK_TCK from here...
51693         (Processor Time): ...to here.  Correct description.
51694         * manual/conf.texi (Constants for Sysconf): Correct description of
51695         _SC_CLK_TCK.
51697 2012-04-10  David S. Miller  <davem@davemloft.net>
51699         [BZ #13967]
51700         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
51701         where the is a gap between DT_REL(A) and DT_JMPREL.
51703 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
51705         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
51706         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51707         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51709 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51711         * elf/dl-support.c (_dl_inhibit_cache): New variable.
51712         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
51713         (dl_main): Handle --inhibit-cache.
51714         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
51715         _dl_inhibit_cache.
51716         * elf/dl-load.c (_dl_map_object): Use it.
51717         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
51719 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
51721         [BZ #13872]
51722         * sysdeps/i386/fpu/e_powl.S (p78): New object.
51723         (__ieee754_powl): Saturate large exponents rather than testing for
51724         overflow of y*log2(x).
51725         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51726         * math/libm-test.inc (pow_test): Do not permit spurious overflow
51727         exceptions.
51729         [BZ #11521]
51730         * math/s_ctan.c: Include <float.h>.
51731         (__ctan): Avoid internal overflow or cancellation in calculating
51732         denominator.
51733         * math/s_ctanf.c: Likewise.
51734         * math/s_ctanl.c: Likewise.
51735         * math/s_ctanh.c: Likewise.
51736         * math/s_ctanhf.c: Likewise.
51737         * math/s_ctanhl.c: Likewise.
51738         * math/libm-test.inc (ctan_test): Add more tests.
51739         (ctanh_test): Likewise.
51740         * sysdeps/i386/fpu/libm-test-ulps: Update.
51741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51743 2012-04-09  Andreas Jaeger  <aj@suse.de>
51745         [BZ #6894]
51746         * manual/filesys.texi (Directory Entries): Mention that d_namlen
51747         is an optional BSD extension.
51749         [BZ #10254]
51750         * manual/stdio.texi (Opening Streams): Document additional fopen
51751         parameters.
51753 2012-04-09  Roland McGrath  <roland@hack.frob.com>
51755         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
51756         %eax without telling the compiler.
51758 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
51760         [BZ # 13963]
51761         * manual/install.texi: Use sourceware.org.
51763 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
51765         [BZ #13873]
51766         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
51767         (__ieee754_pow): Generate overflow and underflow using huge*huge
51768         and tiny*tiny rather than just returning constant infinity or zero
51769         for large exponents.
51770         * math/libm-test.inc (pow_test): Require overflow exceptions for
51771         applicable cases of large exponents.
51773         [BZ #706]
51774         * sysdeps/i386/fpu/e_pow.S (p10): New object.
51775         (__ieee754_pow): Use iterative multiplication algorithm only for
51776         integer exponents with absolute value below 1024.  Check for odd
51777         integer exponents when using algorithm for real exponents.
51778         * math/libm-test.inc (pow_test): Add more tests.
51779         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51781 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
51783         [BZ #13705]
51784         * math/libm-test.inc (exp_test): Do not allow overflow exception
51785         on underflow test.
51787 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
51789         [BZ #13705]
51790         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
51791         instead of __kernel_standard_f.
51793 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
51795         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
51796         * sysdeps/x86_64/memset_chk.S: Likewise.
51798 2012-04-08  Andreas Jaeger  <aj@suse.de>
51800         [BZ #10153]
51801         * manual/startup.texi (Environment Access): Describe return value
51802         for putenv and setenv.
51804         [BZ #6895]
51805         * manual/filesys.texi (Directory Entries): Add description for
51806         DT_LNK.
51808         [BZ #6890]
51809         * manual/filesys.texi (Directory Entries): Clarify that it's file
51810         system not operating system in the description of DT_UNKNOWN.
51812         [BZ #6578]
51813         * manual/syslog.texi (closelog): Fix reference, it's openlog.
51815 2012-04-08  Stephen Compall  <s11@member.fsf.org>
51817         [BZ #6649]
51818         * manual/llio.texi (Opening and Closing Files): Add cross
51819         reference to explain mode argument.
51821 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
51823         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
51824         * sysdeps/x86_64/memset_chk.S: Likewise.
51826 2012-04-07  David S. Miller  <davem@davemloft.net>
51828         * elf/elf.h (R_SPARC_WDISP10): Define.
51829         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
51830         R_SPARC_SIZE32.
51831         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
51832         R_SPARC_SIZE64 and R_SPARC_H34.
51834 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
51836         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
51837         conditions and remove no longer applicable assertion.
51839 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
51841         * bits/byteswap.h: Include <features.h>.
51842         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51843         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51845 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
51847         * bits/byteswap.h (__bswap_16): Removed.
51848         Include <bits/byteswap-16.h> to get __bswap_16.
51849         * sysdeps/i386/bits/byteswap.h: Likewise.
51850         * sysdeps/s390/bits/byteswap.h: Likewise.
51851         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51852         * bits/byteswap-16.h: New file.
51853         * sysdeps/i386/bits/byteswap-16.h: Likewise.
51854         * sysdeps/s390/bits/byteswap-16.h: Likewise.
51855         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
51856         * string/Makefile (headers): Add bits/byteswap-16.h.
51858 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
51860         [BZ #13895]
51861         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
51862         extra indirection.
51863         * nss/Makefile (tests-static, tests): Add tst-nss-static.
51864         * nss/tst-nss-static.c: New.
51866 2012-04-06  Robert Millan  <rmh@gnu.org>
51868         [BZ #6486]
51869         * manual/llio.texi (File Position Primitive): lseek
51870         refers to WHENCE when it really means OFFSET.
51872 2012-04-06  Andreas Jaeger  <aj@suse.de>
51874         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
51875         strncmp declarations.
51877         * abilist/libc.abilist: Add __poll and __ppoll.
51879 2012-04-05  David S. Miller  <davem@davemloft.net>
51881         * scripts/check-local-headers.sh: Accept a host triplet in the
51882         path matched by the exclude regexp.
51884         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
51885         definition.
51886         * sysdeps/powerpc/powerpc32/dl-machine.h
51887         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
51888         * sysdeps/s390/s390-32/dl-machine.h
51889         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51890         * sysdeps/sparc/sparc32/dl-machine.h
51891         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51892         * sysdeps/sparc/sparc64/dl-machine.h
51893         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51895         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
51896         lazy binding.
51897         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
51898         undefined symbol errors.
51900         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
51901         DT_NEEDED entries.
51903 2012-04-05  Michael Matz  <matz@suse.de>
51905         [BZ #13592]
51906         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
51908 2012-04-05  Andreas Jaeger  <aj@suse.de>
51910         [BZ #13908]
51911         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
51912         comment.
51914 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51916         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
51917         which ROUND is no valid rounding mode.
51919 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51921         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
51922         read again.
51923         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
51925 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51927         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
51928         an exception using FPU order intentionally.
51930 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51932         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
51933         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
51934         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
51935         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
51937 2012-04-05  Simon Josefsson  <simon@josefsson.org>
51939         [BZ #12340]
51940         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
51941         EINVAL when BUFLEN is too smal.
51943 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
51945         [BZ #13553]
51946         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
51947         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
51949 2012-04-03  Andreas Jaeger  <aj@suse.de>
51951         [BZ #13938]
51952         * manual/setjmp.texi (System V contexts): Fix sentence.
51954         [BZ #13926]
51955         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
51956         New macro for this case.
51957         [!__GNUC__] (__bswap_64): New inline function for this case.
51958         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51959         * bits/byteswap.h: Likewise.
51960         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
51961         ull, guard with __GLIBC_HAVE_LONG_LONG.
51963         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
51964         __GLIBC_HAVE_LONG_LONG.
51966         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
51967         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
51969 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51971         [BZ #13691]
51972         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
51973         inptr and inend, rather than using last_ch.
51975 2012-04-02  David S. Miller  <davem@davemloft.net>
51977         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
51978         * stdio-common/printf-parse.h (read_int): Change return type to
51979         'int', return -1 on INT_MAX overflow.
51980         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
51981         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
51982         overflows INT_MAX.  Check for overflow of in-format-string precision
51983         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
51984         SIZE_MAX not INT_MAX for integer overflow test.
51985         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
51986         skip the construct in the format string but do not record anything.
51987         * stdio-common/bug22.c: Adjust to test both width/prevision
51988         INT_MAX overflow as well as total length INT_MAX overflow.  Check
51989         explicitly for proper errno values.
51991 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
51993         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
51994         CHAR_MAX.
51995         * string/test-strcmp.c [! WIDE]: Likewise.
51996         * time/tst-mktime2.c: Likewise for INT_MAX.
51997         * string/test-string.h: #include <sys/param.h> for MIN.
51999         * csu/init-first.c (__libc_init_first): Call __ctype_init.
52000         * sysdeps/i386/init-first.c (init): Likewise.
52001         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
52002         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
52003         * sysdeps/sh/init-first.c (init): Likewise.
52005 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
52007         * po/ru.po: Update from translation team.
52008         * po/vi.po: Likewise.
52010 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52012         * resolv/nss_dns/dns-host.c: Merge copyright years.
52014 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52016         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52017         Optimize memcpy with prefetch if
52018         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
52019         src, dst pointers have unequal 16 byte alignments.
52021 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52023         [BZ #13928]
52024         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
52025         from a CNAME entry and return the minimum ttl for the query.
52026         (gaih_getanswer_slice): Likewise.
52028 2012-03-30  Jeff Law  <law@redhat.com>
52030         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
52031         due to long keys.
52032         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
52033         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
52035         * resolv/nss_dns/dns-host.c: Update copyright year.
52037 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
52039         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
52040         requests to save a system call.  Fix check that all bytes are sent.
52042         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
52043         comments for sendmmsg.
52045 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52047         [BZ #13691]
52048         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
52049         with only 1 character between 0x0041 and 0x01b0.
52050         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
52051         * wcsmbs/tst-mbsnrtowcs.c: New file.
52053 2012-03-29  David S. Miller  <davem@davemloft.net>
52055         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
52056         small copies by hand.
52058 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52060         [BZ #13761]
52061         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
52062         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
52063         group memberships.
52065 2012-03-28  David S. Miller  <davem@davemloft.net>
52067         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
52068         that branches into memcpy.
52069         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
52070         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
52071         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
52072         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
52073         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
52074         bits.
52075         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
52076         implementation too.
52077         * sysdeps/sparc/mempcpy.S: New file.
52079         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
52080         the IFUNC routine in the libc case.
52081         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52083         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
52084         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
52085         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
52086         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
52087         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
52088         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
52089         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
52090         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
52092         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
52093         loop to 256 bytes instead of 64 bytes and fix test signedness.
52095         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
52096         * sysdeps/sparc/sparc32/Makefile: rather than here...
52097         * sysdeps/sparc/sparc64/Makefile: and here.
52099 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
52101         * malloc/mallocbug.c: Avoid warnings about unused variables.
52103 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52105         [BZ #13760]
52106         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
52107         in the right place. Discard and retry query if response is
52108         larger than input buffer size.
52110 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
52112         [BZ #369]
52113         [BZ #2678]
52114         [BZ #3866]
52115         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
52116         x for large integer exponent.
52117         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
52118         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
52119         sign of result as needed afterwards.
52120         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
52121         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
52122         result for underflowing pow the same as for overflow.
52123         (__kernel_standard_l): Handle powl overflow and underflow here
52124         rather than calling __kernel_standard.
52125         * math/libm-test.inc (pow_test): Add more tests.
52127         [BZ #3868]
52128         [BZ #13879]
52129         [BZ #13910]
52130         [BZ #13911]
52131         [BZ #13912]
52132         [BZ #13913]
52133         [BZ #13915]
52134         [BZ #13916]
52135         [BZ #13917]
52136         [BZ #13918]
52137         [BZ #13919]
52138         [BZ #13920]
52139         [BZ #13921]
52140         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
52141         * sysdeps/ieee754/k_standard.c: Include <float.h>.
52142         (__kernel_standard_l): New function.
52143         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
52144         __kernel_standard.
52145         * math/w_acosl.c (__acosl): Likewise.
52146         * math/w_asinl.c (__asinl): Likewise.
52147         * math/w_atan2l.c (__atan2l): Likewise.
52148         * math/w_atanhl.c (__atanhl): Likewise.
52149         * math/w_coshl.c (__coshl): Likewise.
52150         * math/w_exp10l.c (__exp10l): Likewise.
52151         * math/w_exp2l.c (__exp2l): Likewise.
52152         * math/w_fmodl.c (__fmodl): Likewise.
52153         * math/w_hypotl.c (__hypotl): Likewise.
52154         * math/w_j0l.c (__j0l, __y0l): Likewise.
52155         * math/w_j1l.c (__j1l, __y1l): Likewise.
52156         * math/w_jnl.c (__jnl, __ynl): Likewise.
52157         * math/w_lgammal.c (__lgammal): Likewise.
52158         * math/w_log10l.c (__log10l): Likewise.
52159         * math/w_log2l.c (__log2l): Likewise.
52160         * math/w_logl.c (__logl): Likewise.
52161         * math/w_powl.c (__powl): Likewise.
52162         * math/w_remainderl.c (__remainderl): Likewise.
52163         * math/w_scalbl.c (sysv_scalbl): Likewise.
52164         * math/w_sinhl.c (__sinhl): Likewise.
52165         * math/w_sqrtl.c (__sqrtl): Likewise.
52166         * math/w_tgammal.c (__tgammal): Likewise.
52167         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
52168         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
52169         * math/libm-test.inc (acos_test): Add more tests.
52170         (acosh_test): Likewise.
52171         (asin_test): Likewise.
52172         (atanh_test): Likewise.
52173         (exp_test): Likewise.
52174         (exp10_test): Likewise.
52175         (exp2_test): Likewise.
52176         (expm1_test): Likewise.
52177         (lgamma_test): Likewise.
52178         (log_test): Likewise.
52179         (log10_test): Likewise.
52180         (log1p_test): Likewise.
52181         (log2_test): Likewise.
52182         (pow_test): Do not allow some spurious overflow exceptions.
52183         (sqrt_test): Add more tests.
52184         (tgamma_test): Likewise.
52185         (y0_test): Likewise.
52186         (y1_test): Likewise.
52187         (yn_test): Likewise.
52189 2012-03-27  Anton Blanchard  <anton@samba.org>
52191         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
52192         MAP_HUGETLB.
52193         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52194         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52195         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52197 2012-03-27  David S. Miller  <davem@davemloft.net>
52199         * conform/Makefile: Run run-conformtest.sh using $(BASH).
52201         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
52202         have-as-vis3 check.
52204 2012-03-27  Andreas Jaeger  <aj@suse.de>
52206         * sysdeps/x86_64/elf/configure.in: Moved to ...
52207         * sysdeps/x86_64/configure.in: ... here.
52208         * sysdeps/x86_64/elf/start.S: Moved to ...
52209         * sysdeps/x86_64/start.S: ... here.
52210         * sysdeps/x86_64/elf/configure: Delete.
52212         * sysdeps/x86_64/configure.in: Merge contents from
52213         sysdeps/i386/configure.in (without i686 check).
52215         * sysdeps/i386/elf/Versions: Merge into ...
52216         * sysdeps/i386/Versions: ... this.
52217         * sysdeps/i386/elf/Versions: Delete file.
52218         * sysdeps/i386/elf/start.S: Moved to ...
52219         * sysdeps/i386/start.S: ...here.
52220         * sysdeps/i386/elf/configure.in: Merge into...
52221         * sysdeps/i386/configure.in: ...here.
52222         * sysdeps/i386/elf/configure.in: Delete file.
52223         * sysdeps/i386/elf/configure: Delete file.
52225         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
52226         * debug/backtracesyms.c: ... here.
52227         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
52228         * debug/backtracesymsfd.c: ... here.
52229         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
52230         * sysdeps/generic/ifunc-sel.h: ... here.
52232         * sysdeps/unix/i386/start.c: Delete file.
52233         * sysdeps/unix/sparc/start.c: Delete file.
52234         * sysdeps/unix/start.c: Delete file.
52236         * sysdeps/sh/elf/configure.in: Moved to ...
52237         * sysdeps/sh/configure.in: ... here.
52238         * sysdeps/sh/elf/start.S: Moved to ...
52239         * sysdeps/sh/start.S: ... here.
52240         * sysdeps/sh/elf/configure: Delete file.
52242         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
52243         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
52244         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
52245         * sysdeps/powerpc/powerpc64/entry.h: ... here.
52246         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
52247         * sysdeps/powerpc/powerpc64/start.S: here.
52248         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
52249         * sysdeps/powerpc/powerpc64/Makefile: ... this.
52250         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
52251         * sysdeps/powerpc/powerpc64/configure.in: ... this.
52252         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
52254         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
52255         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
52256         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
52257         * sysdeps/powerpc/powerpc32/start.S: ... here.
52258         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
52259         * sysdeps/powerpc/powerpc32/configure.in: ... this.
52260         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
52262         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
52263         * sysdeps/powerpc/ifunc-sel.h: ... here.
52264         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
52265         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
52267         * sysdeps/sparc/elf/configure.in: Moved to ...
52268         * sysdeps/sparc/configure.in: ... here.
52269         * sysdeps/sparc/elf/configure: Delete file.
52270         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
52271         * sysdeps/sparc/sparc32/start.S: ... here.
52272         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
52273         * sysdeps/sparc/sparc64/start.S: ... here.
52274         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
52275         * sysdeps/sparc/sparc32/Makefile: ... this.
52276         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
52277         * sysdeps/sparc/sparc64/Makefile: ... this.
52279         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
52280         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
52281         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
52282         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
52283         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
52284         * sysdeps/s390/s390-32/setjmp.S: ... here.
52285         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
52286         * sysdeps/s390/s390-32/configure.in: ... here.
52287         * sysdeps/s390/s390-32/elf/configure: Delete file.
52288         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
52289         * sysdeps/s390/s390-32/start.S: ... here.
52291         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
52292         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
52293         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
52294         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
52295         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
52296         * sysdeps/s390/s390-64/setjmp.S: ... here.
52297         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
52298         * sysdeps/s390/s390-64/configure.in: ... here
52299         * sysdeps/s390/s390-64/elf/configure: Delete file.
52300         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
52301         * sysdeps/s390/s390-64/start.S: ... here.
52302         * sysdeps/s390/s390-64/elf/configure: Delete.
52304         * configure.in: Remove support for elf directories in sysdeps.
52306         * configure: Regenerated.
52307         * sysdeps/i386/configure: Regenerated.
52308         * sysdeps/powerpc/powerpc32/configure: Regenerated.
52309         * sysdeps/powerpc/powerpc64/configure: Regenerated.
52310         * sysdeps/s390/s390-32/configure: Regenerated.
52311         * sysdeps/s390/s390-64/configure: Regenerated.
52312         * sysdeps/sh/configure: Regenerated.
52313         * sysdeps/sparc/configure: Regenerated.
52314         * sysdeps/x86_64/configure: Regenerated.
52316 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
52318         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52320         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
52321         denormal result into account.
52323 2012-03-25  Roland McGrath  <roland@hack.frob.com>
52325         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
52326         Reported by Allan McRae <allan@archlinux.org>.
52328 2012-03-23  Jeff Law  <law@redhat.com>
52330         * nss/getnssent.c (__nss_getent): Fix typo.
52332 2012-03-23  David S. Miller  <davem@davemloft.net>
52334         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52336 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
52338         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
52339         to pad to uint64_t for each field.
52340         (dl_tls_index): Replace unsigned long with uint64_t.
52342 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
52343         Paul Pluzhnikov  <ppluzhnikov@google.com>
52345         [BZ #6528]
52346         * grp/Makefile (otherlibs): Don't set it.
52347         * inet/Makefile (otherlibs): Likewise.
52348         * login/Makefile (otherlibs): Likewise.
52349         * nscd/Makefile (otherlibs): Likewise.
52350         * posix/Makefile (otherlibs): Likewise.
52351         * pwd/Makefile (otherlibs): Likewise.
52352         * rt/Makefile (otherlibs): Likewise.
52353         * sunrpc/Makefile (otherlibs): Likewise.
52354         * nss/Makefile (otherlibs): Likewise.
52355         Add libnss_files to routines and static-only-routines.
52356         ($(objpfx)getent): Remove rule.
52357         * resolv/Makefile: Add libnss_dns and libresolv to routines and
52358         static-only-routines.
52360 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
52362         [BZ #13892]
52363         * math/s_cexp.c: Include <float.h>.
52364         (__cexp): Handle exp result overflowing not necessarily
52365         overflowing both real and imaginary parts of result.
52366         * math/s_cexpf.c: Likewise.
52367         * math/s_cexpl.c: Likewise.
52368         * math/libm-test.inc (cexp_test): Add more tests.
52369         * sysdeps/i386/fpu/libm-test-ulps: Update.
52370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52372 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52374         * include/link.h (ELFW): New macro.
52375         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
52376         Replace ELF64_R_TYPE with ELFW(R_TYPE).
52378 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52380         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
52381         with uint64_t.
52383 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52385         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
52386         declaration.
52387         (struct La_x32_retval): Likewise.
52389 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52391         * sysdeps/x86_64/preconfigure.in: New file.
52392         * sysdeps/x86_64/preconfigure: New generated file.
52394 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
52396         [BZ #13824]
52397         * math/e_exp2l.c: Include <float.h>.
52398         (__ieee754_exp2l): Handle overflow and underflow cases
52399         separately.  Only pass fractional part of argument to
52400         __ieee754_expl.
52401         * math/libm-test.inc (exp2_test): Add more tests.
52403         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
52404         negating x to take absolute value.
52405         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
52406         Likewise.
52407         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
52408         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
52409         Likewise.
52410         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
52411         computing low part if x was negated.
52412         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
52414 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52416         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
52417         la_x32_gnu_pltexit.
52418         (pltexit): Cast int_retval to ptrdiff_t.
52419         * elf/tst-auditmod3b.c: Likewise.
52420         * elf/tst-auditmod4b.c: Likewise.
52421         * elf/tst-auditmod5b.c: Likewise.
52422         * elf/tst-auditmod6b.c: Likewise.
52423         * elf/tst-auditmod6c.c: Likewise.
52424         * elf/tst-auditmod7b.c: Likewise.
52426         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
52427         and x32_gnu_pltexit.
52429         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
52430         __ELF_NATIVE_CLASS.
52431         (La_x32_regs): New macro.
52432         (La_x32_retval): Likewise.
52433         (la_x32_gnu_pltenter): New function prototype.
52434         (la_x32_gnu_pltexit): Likewise.
52436 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
52438         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
52439         exponent.
52441         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52443         * configure.in (libc_cv_cc_nofma): Check for option to disable
52444         generation of FMA instructions.
52445         * configure: Regenerate.
52446         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
52447         * sysdeps/ieee754/dbl-64/Makefile: New file.
52448         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
52449         Remove brandred-fma4.
52450         (CFLAGS-brandred-fma4.c): Remove.
52451         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
52452         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
52453         define.
52454         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
52455         define.
52457 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52459         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
52460         LLONG_MAX != LONG_MAX.
52461         (_itoa_word): Use _ITOA_WORD_TYPE on value.
52462         (_fitoa_word): Likewise.
52463         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
52464         LLONG_MAX != LONG_MAX.
52465         * stdio-common/_itowa.h: Include <_itoa.h>.
52466         (_itowa_word): Use _ITOA_WORD_TYPE on value.
52467         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
52468         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
52469         only if not defined.
52470         (_ITOA_WORD_TYPE): Likewise.
52471         (_itoa_word): Use _ITOA_WORD_TYPE on value.
52472         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
52474 2012-03-21  David S. Miller  <davem@davemloft.net>
52476         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52478 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52480         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
52481         of x86_64 when setting libc_cv_slibdir, libdir and
52482         libc_cv_localedir.
52483         * sysdeps/unix/sysv/linux/configure: Regenerated.
52485 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52487         * manual/lang.texi (Old Varargs): Remove section.
52488         (How Variadic): Update menu.
52489         (va_start): Do not mention varargs.h.
52491 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52492             Joseph Myers  <joseph@codesourcery.com>
52494         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
52495         link test.
52496         * configure: Regenerated.
52498 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52500         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
52501         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
52502         conformtest.pl
52504 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52506         * NOTES: Remove.
52507         * Makefile (files-for-dist): Remove NOTES.
52508         (NOTES): Remove rule.
52509         * README: Don't refer to NOTES.
52510         * manual/creature.texi: Don't include macros.texi.
52511         * manual/intro.texi (creature.texi): Remove comment referring to
52512         NOTES.
52514         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
52515         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
52516         * configure: Regenerated.
52517         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
52518         LIBC_TRY_CC_OPTION.
52519         (libc_cv_as_i686): Likewise.
52520         (libc_cv_cc_avx): Likewise.
52521         (libc_cv_cc_sse2avx): Likewise.
52522         (libc_cv_cc_fma4): Likewise.
52523         (libc_cv_cc_novzeroupper): Likewise.
52524         * sysdeps/i386/configure: Regenerated.
52526         [BZ #13883]
52527         * sysdeps/i386/fpu/s_cexp.S: Remove.
52528         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
52529         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52530         * math/libm-test.inc (cexp_test): Add more tests.
52531         * sysdeps/i386/fpu/libm-test-ulps: Update.
52532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52534 2012-03-21  Allan McRae  <allan@archlinux.org>
52536         * timezone/Makefile: Do not install iso3166.tab and zone.tab
52538 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52540         [BZ #13871]
52541         * math/w_exp2.c: Do not include <float.h>.
52542         (o_threshold, u_threshold): Remove.
52543         (__exp2): Calculate result before checking finiteness and calling
52544         __kernel_standard.
52545         * math/w_exp2f.c: Likewise.
52546         * math/w_exp2l.c: Likewise.
52547         * math/libm-test.inc (exp2_test): Require overflow exception for
52548         1e6 input.
52550         [BZ #3866]
52551         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
52552         range of signed 64-bit integers before using fistpll.  Remove
52553         checks for whether integers fit in mantissa bits.
52554         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
52555         the range of signed 32-bit integers before using fistpl.  Remove
52556         checks for whether integers fit in mantissa bits.
52557         * sysdeps/i386/fpu/e_powl.S (p64): New object.
52558         (__ieee754_powl): Test for y outside the range of signed 64-bit
52559         integers before using fistpll.  Reduce 64-bit values to 63-bit
52560         ones as needed.
52561         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
52562         divide-by-zero is raised for zero to large negative powers.
52563         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
52564         (__ieee754_powl): Test for y outside the range of signed 64-bit
52565         integers before using fistpll.  Reduce 64-bit values to 63-bit
52566         ones as needed.
52567         * math/libm-test.inc (pow_test): Add more tests.
52569 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52571         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
52572         <stdio-common/_itoa.h>.
52573         * debug/segfault.c: Likewise.
52574         * elf/dl-cache.c: Likewise.
52575         * elf/dl-minimal.c: Likewise.
52576         * elf/dl-misc.c: Likewise.
52577         * elf/dl-sysdep.c: Likewise.
52578         * elf/dl-version.c: Likewise.
52579         * elf/rtld.c: Likewise.
52580         * hurd/hurdsock.c: Likewise.
52581         * hurd/lookup-retry.c: Likewise.
52582         * malloc/malloc.c: Likewise.
52583         * malloc/mtrace.c: Likewise.
52584         * nscd/nscd_getgr_r.c: Likewise.
52585         * nscd/nscd_getpw_r.c: Likewise.
52586         * nscd/nscd_getserv_r.c: Likewise.
52587         * posix/getopt_init.c: Likewise.
52588         * posix/wordexp.c: Likewise.
52589         * stdio-common/_itoa.c: Likewise.
52590         * stdio-common/printf_fphex.c: Likewise.
52591         * stdio-common/vfprintf.c: Likewise.
52592         * string/_strerror.c: Likewise.
52593         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
52594         * sysdeps/i386/i686/hp-timing.h: Likewise.
52595         * sysdeps/mach/_strerror.c: Likewise.
52596         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
52597         * sysdeps/mach/hurd/sethostid.c: Likewise.
52598         * sysdeps/mach/hurd/xmknodat.c: Likewise.
52599         * sysdeps/mach/xpg-strerror.c: Likewise.
52600         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52601         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
52602         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
52603         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
52604         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
52605         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
52606         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
52607         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
52608         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
52609         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
52610         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
52611         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
52612         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
52613         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
52614         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
52615         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
52616         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
52617         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
52618         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
52619         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
52620         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
52622         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
52624         * stdio-common/_itoa.h: Moved to ...
52625         * sysdeps/generic/_itoa.h: Here.
52627         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
52629         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
52630         instead of "_itoa.h" and "_itowa.h".
52631         * stdio-common/vfprintf.: Likewise.
52633 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52635         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
52636         <bits/wordsize.h>.
52637         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
52638         (__signbit): Likwise.
52639         (llrintf): Likwise.
52640         (llrint): Likwise.
52642 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52644         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
52645         __WORDSIZE != 64.
52647 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
52649         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
52650         OVERFLOW_EXCEPTION_OK.
52651         * math/libm-test.inc ("Philosophy"): Update comment about
52652         exception testing.
52653         (OVERFLOW_EXCEPTION): Define.
52654         (OVERFLOW_EXCEPTION_OK): Likewise.
52655         (INVALID_EXCEPTION_OK): Renumber.
52656         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
52657         (IGNORE_ZERO_INF_SIGN): Likewise.
52658         (test_exceptions): Handle FE_OVERFLOW.
52659         (exp10_test): Expect overflow exceptions.
52660         (exp2_test): Likewise.
52661         (expm1_test): Likewise.
52662         (nextafter_test): Likewise.
52663         (pow_test): Likewise.
52664         (scalbn_test): Likewise.
52665         (scalbln_test): Likewise.
52667 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52669         * sysdeps/x86_64/bits/atomic.h
52670         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
52671         64bit integer.
52672         (atomic_exchange_acq): Likewise.
52673         (__arch_exchange_and_add_body): Likewise.
52674         (__arch_add_body): Likewise.
52675         (atomic_add_negative): Likewise.
52676         (atomic_add_zero): Likewise.
52678 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52680         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
52681         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
52683 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52685         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
52686         Check __x86_64__ instead of __WORDSIZE.
52688 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52690         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
52692 2012-03-19  David S. Miller  <davem@davemloft.net>
52694         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52696         * sysdeps/sparc/fpu/fenv_private.h: New file.
52697         * sysdeps/sparc/fpu/math_private.h: Use it.
52698         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
52699         Remove.
52700         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
52701         (libc_feholdexcept_setroundl): Remove.
52702         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
52703         Remove.
52704         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
52705         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
52707 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52709         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
52710         int64_t instead of long int.
52711         (INSERT_WORDS64): Likwise.
52713 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52715         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
52716         _Unwind_GetCFA return to _Unwind_Ptr first.
52718 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
52720         [BZ #13629]
52721         * math/s_clog.c: Include <float.h>.
52722         (__clog): Scale large or subnormal inputs.
52723         * math/s_clogf.c: Likewise.
52724         * math/s_clogl.c: Likewise.
52725         * math/s_clog10.c: Include <float.h>.
52726         (M_LOG10_2): Define.
52727         (__clog10): Scale large or subnormal inputs.
52728         * math/s_clog10f.c: Likewise.
52729         * math/s_clog10l.c: Likewise.
52730         * math/libm-test.inc (clog_test): Add more tests.
52731         (clog10_test): Likewise.
52732         * sysdeps/i386/fpu/libm-test-ulps: Update.
52733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52735         [BZ #11451]
52736         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
52737         x and y.
52738         * math/libm-test.inc (atan2_test): Add another test.
52740         * Makerules (common-objdir-compile): Remove.
52741         * sysdeps/unix/Makefile (config-generated): Do not add
52742         $(unix-generated) to variable.
52743         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
52744         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
52745         Remove rule.
52746         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
52747         Likewise.
52748         [generic bits/local_lim.h] (before-compile): Do not append to
52749         variable.
52750         [generic bits/local_lim.h] (common-generated): Likewise.
52751         [generic sys/param.h] (before-compile): Do not append to variable.
52752         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
52753         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
52754         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
52755         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
52756         include.
52757         [generic sys/param.h] (sys/param.h-includes): Remove variable.
52758         [generic sys/param.h] (sys/param.h-includes): Remove rule.
52759         [generic sys/param.h] ($(addprefix
52760         $(common-objpfx),$(sys/param.h-includes))): Likewise.
52761         [generic sys/param.h] (common-generated): Do not append to
52762         variable.
52763         [generic sys/param.h] (sysdep_headers): Likewise.
52764         [generic bits/errno.h] (before-compile): Do not append to
52765         variable.
52766         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
52767         rule.
52768         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
52769         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
52770         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
52771         [generic bits/errno.h] (common-generated): Do not append to
52772         variable.
52773         [generic bits/ioctls.h] (before-compile): Do not append to
52774         variable.
52775         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
52776         rule.
52777         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
52778         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
52779         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
52780         rule.
52781         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
52782         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
52783         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
52784         [generic bits/ioctls.h] (common-generated): Do not append to
52785         variable.
52786         [generic sys/syscall.h] (syscall.h): Remove variable.
52787         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
52788         rule.
52789         [generic sys/syscall.h] (before-compile): Do not append to
52790         variable.
52791         [generic sys/syscall.h] (common-generated): Likewise.
52792         * sysdeps/unix/errnos-tmpl.c: Remove file.
52793         * sysdeps/unix/errnos.awk: Likewise.
52794         * sysdeps/unix/ioctls-tmpl.c: Likewise.
52795         * sysdeps/unix/ioctls.awk: Likewise.
52796         * sysdeps/unix/mk-local_lim.c: Likewise.
52797         * sysdeps/unix/snarf-ioctls: Likewise.
52799 2012-03-19  Richard Henderson  <rth@twiddle.net>
52801         * sysdeps/i386/fpu/fenv_private.h: New file.
52802         * sysdeps/i386/fpu/math_private.h: Use it.
52803         (math_opt_barrier, math_force_eval): Remove.
52804         (libc_feholdexcept_setround_53bit): Remove.
52805         (libc_feupdateenv_53bit): Remove.
52806         * sysdeps/x86_64/fpu/math_private.h: Likewise.
52807         (math_opt_barrier, math_force_eval): Remove.
52808         (libc_feholdexcept): Remove.
52809         (libc_feholdexcept_setround): Remove.
52810         (libc_fetestexcept, libc_fesetenv): Remove.
52811         (libc_feupdateenv_test): Remove.
52812         (libc_feupdateenv, libc_feholdsetround): Remove.
52813         (libc_feresetround): Remove.
52815         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
52816         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
52818         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
52819         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
52820         (libc_feupdateenv_testl): New.
52821         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
52822         (libc_feupdateenv_testf): New.
52823         (libc_feupdateenv): Use libc_feupdateenv_test.
52824         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
52825         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
52827         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
52828         (libc_feholdsetroundf, libc_feholdsetroundl): New.
52829         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
52830         (libc_feresetround_noex): New.
52831         (libc_feresetround_noexf): New.
52832         (libc_feresetround_noexl): New.
52833         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
52834         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
52835         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
52836         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
52837         SET_RESTORE_ROUND.
52838         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52839         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
52840         (__cos): Likewise.
52841         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
52842         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
52843         SET_RESTORE_ROUND_NOEX.
52844         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
52845         SET_RESTORE_ROUND_NOEXF.
52846         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
52847         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
52848         (libc_feholdsetroundf): New.
52849         (libc_feresetround, libc_feresetroundf): New.
52851         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
52852         (libc_feholdexcept_setround_53bit): Convert from macro to function.
52853         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
52855         * sysdeps/generic/math_private.h: Include <fenv.h>.
52856         (default_libc_feholdexcept): New.
52857         (default_libc_feholdexcept_setround): New.
52858         (default_libc_fesetenv, default_libc_feupdateenv): New.
52859         (libc_feholdexcept): Only define if undefined.
52860         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
52861         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
52862         (libc_feholdexcept_setroundl): Likewise.
52863         (libc_feholdexcept_setround_53bit): Likewise.
52864         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
52865         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
52866         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
52867         (libc_feupdateenv_53bit): Likewise.
52868         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
52869         (libc_feholdexcept): Convert from macro to inline function.
52870         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
52871         (libc_fesetenv, libc_feupdateenv): Likewise.
52873         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
52874         not previously defined.
52875         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
52876         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
52877         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
52878         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
52879         * sysdeps/ieee754/flt-32/math_private.h: New file.
52880         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
52881         math_private.h below SET_FLOAT_WORD.
52882         (__isnan, __isinf_ns, __finite): Remove.
52883         (__isnanf, __isinf_nsf, __finitef): Remove.
52885 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
52887         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52889 2012-03-17  David S. Miller  <davem@davemloft.net>
52891         [BZ #6471]
52892         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
52893         for 2.16.
52895 2012-03-16  David S. Miller  <davem@davemloft.net>
52897         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
52898         warnings.
52900         [BZ #6471]
52901         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
52902         properly.
52903         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
52904         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
52905         sysdep_routines when subdir is sysvipc.
52906         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
52907         __getshmlba helper.
52909         * sysdeps/sparc/fpu/libm-test/ulps: Update.
52911 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52913         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
52914         [__LP64__].
52916 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52918         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
52919         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
52920         (__lround): Renamed to ...
52921         (__llround): This.  Replace long int with long long int.
52922         Define lround functions as aliases of llround functions.
52923         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
52925 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52927         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
52928         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
52929         adresses to uintptr_t.  Replace "long int" and "unsigned long
52930         int" with "greg_t" on va_arg.
52932 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52934         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
52935         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
52937         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
52938         Move e_machine check before EI_CLASS check.  Handle x32
52939         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
52940         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
52941         SKIP_EM_IA_64 and include
52942         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
52944         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
52945         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
52946         (add_system_dir): New macro.
52948         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
52949         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
52951 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
52953         [BZ #2551]
52954         [BZ #2552]
52955         [BZ #2553]
52956         [BZ #2554]
52957         [BZ #2562]
52958         [BZ #2563]
52959         [BZ #2565]
52960         [BZ #2566]
52961         [BZ #2576]
52962         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
52963         (y0): Likewise.
52964         * math/w_j0f.c (j0f): Likewise.
52965         (y0f): Likewise.
52966         * math/w_j0l.c (__j0l): Likewise.
52967         (__y0l): Likewise.
52968         * math/w_j1.c (j1): Likewise.
52969         (y1): Likewise.
52970         * math/w_j1f.c (j1f): Likewise.
52971         (y1f): Likewise.
52972         * math/w_j1l.c (__j1l): Likewise.
52973         (__y1l): Likewise.
52974         * math/w_jn.c (jn): Likewise.
52975         (yn): Likewise.
52976         * math/w_jnf.c (jnf): Likewise.
52977         (ynf): Likewise.
52978         * math/w_jnl.c (__jnl): Likewise.
52979         (__ynl): Likewise.
52980         * math/libm-test.inc (j0_test): Add more tests.
52981         (j1_test): Likewise.
52982         (jn_test): Likewise.  Add trailing semicolon to existing test.
52983         (y0_test): Likewise.
52984         (y1_test): Likewise.
52985         * sysdeps/i386/fpu/libm-test-ulps: Update.
52986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52988         [BZ #13851]
52989         [BZ #13854]
52990         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
52991         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
52992         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
52993         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
52994         (__tanl): Set errno for infinite argument.
52995         * sysdeps/i386/fpu/mptan.c: Remove.
52996         * sysdeps/i386/fpu/s_tan.S: Likewise.
52997         * sysdeps/i386/fpu/s_tanl.S: Likewise.
52998         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
52999         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
53000         * math/libm-test.inc (tan_test): Add more tests and enable more
53001         tests for double and long double.
53002         * sysdeps/i386/fpu/libm-test-ulps: Update.
53003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53005 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
53007         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
53008         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
53010 2012-03-16  Roland McGrath  <roland@hack.frob.com>
53012         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
53013         * configure.in: Use it for both main tree and add-ons.
53014         * configure: Regenerated.
53016 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53018         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
53020 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
53022         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
53023         in comment.
53025         [BZ #13851]
53026         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
53027         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
53028         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
53029         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
53030         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
53031         infinite argument.
53032         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
53033         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
53034         != 0 for prec == 2.
53035         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
53036         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
53037         * sysdeps/i386/fpu/s_cosl.S: Likewise.
53038         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
53039         * sysdeps/i386/fpu/s_sinl.S: Likewise.
53040         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
53041         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
53042         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
53043         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
53044         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
53045         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
53046         * math/libm-test.inc (cos_test): Add more tests and enable more
53047         tests for long double.
53048         (sin_test): Likewise.
53049         (sincos_test): Likewise.
53050         * sysdeps/i386/fpu/libm-test-ulps: Update.
53051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53053 2012-03-16  David S. Miller  <davem@davemloft.net>
53055         * sysdeps/sparc/fpu/math_private.h: New file.
53057 2012-03-15  David S. Miller  <davem@davemloft.net>
53059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
53060         file.
53061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
53062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
53063         file.
53064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
53065         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
53066         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
53067         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
53068         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
53069         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
53070         sysdep routines.
53071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53073         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
53074         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
53076         * sysdeps/sparc/sparc-ifunc.h: New file.
53077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
53078         sparc-ifunc.h
53079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
53081         Likewise.
53082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
53083         Likewise.
53084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
53085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
53086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53088         Likewise.
53089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
53091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
53093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
53094         Likewise.
53095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
53096         Likewise.
53097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
53099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
53100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
53101         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53102         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53103         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
53104         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
53105         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53106         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53107         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
53108         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
53109         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
53110         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
53111         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
53112         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
53113         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
53114         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
53115         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
53116         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
53117         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
53118         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
53119         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
53120         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
53122 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53124         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
53125         scaling.
53126         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53128 2012-03-15  Andreas Jaeger  <aj@suse.de>
53130         [BZ #13852]
53131         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
53132         ieee754/flt-32 implementation for sin, cos and sincos.
53133         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
53134         * sysdeps/i386/fpu/s_cosf.S: Likewise.
53135         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
53136         * sysdeps/i386/fpu/s_sinf.S: Likewise.
53137         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
53138         ieee754/flt-32 implementation for tan.
53140         * math/libm-test.inc (cos_test): Enable some large input tests for
53141         float as well
53142         (sin_test): Likewise.
53143         (sincos_test): Likewise.
53144         (tan_test): Add tests for large input.
53146         * sysdeps/i386/fpu/libm-test-ulps: Update.
53148 2012-03-15  Andreas Jaeger  <aj@suse.de>
53150         [BZ #13658]
53151         * math/libm-test.inc (cos_test): Add more test cases.
53152         (sin_test): Likewise.
53153         (sincos_test): Likewise.
53155 2012-03-15  Andreas Jaeger  <aj@suse.de>
53157         [BZ #13837]
53158         * math/libm-test.inc (cos_test): Add a test case for large input
53159         value.
53160         (sin_test): Likewise.
53161         (sincos_test): Likewise.
53163 2012-03-15  Andreas Jaeger  <aj@suse.de>
53164             Joseph Myers  <joseph@codesourcery.com>
53166         [BZ #13658]
53167         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
53168         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
53169         * sysdeps/i386/fpu/branred.c: Likewise.
53170         * sysdeps/i386/fpu/dosincos.c: Likewise.
53171         * sysdeps/i386/fpu/mpa.c: Likewise.
53172         * sysdeps/i386/fpu/s_cos.S: Likewise.
53173         * sysdeps/i386/fpu/s_sin.S: Likewise.
53174         * sysdeps/i386/fpu/s_sincos.S: Likewise.
53175         * sysdeps/i386/fpu/sincos32.c: Likewise.
53177         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
53178         Define.
53179         (libc_feupdateenv_53bit): Define.
53180         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
53181         Define.
53182         (libc_feupdateenv_53bit): Define.
53184         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
53185         53 bit (without extend i386 double precision).
53187         * math/libm-test.inc (sincos_test): Add tests for large input.
53188         (sin): Likewise.
53189         (cos): Likewise.
53191         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
53193 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53195         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53197 2012-03-15  David S. Miller  <davem@davemloft.net>
53199         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
53200         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
53201         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
53202         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
53203         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
53204         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
53205         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
53206         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
53207         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
53208         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
53209         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
53210         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
53211         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
53212         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
53213         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
53214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
53215         file.
53216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
53217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
53218         file.
53219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
53220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
53221         file.
53222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
53223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
53224         file.
53225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
53226         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
53227         fmin/fmax sysdep routines.
53228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53230 2012-03-14  David S. Miller  <davem@davemloft.net>
53232         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
53233         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
53234         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
53235         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
53236         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
53237         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
53238         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
53239         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
53240         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
53241         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
53242         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
53243         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
53244         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
53245         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
53246         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
53247         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
53248         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
53249         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
53250         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
53251         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
53252         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
53253         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
53254         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
53255         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
53256         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
53257         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
53258         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
53259         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
53260         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
53261         routines.
53262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
53263         file.
53264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
53265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
53266         file.
53267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
53268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
53269         file.
53270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
53271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
53272         file.
53273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
53274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
53275         file.
53276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
53277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
53278         file.
53279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
53280         file.
53281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
53282         file.
53283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
53284         file.
53285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
53286         New file.
53287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
53288         file.
53289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
53290         file.
53291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
53292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
53293         file.
53294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
53295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
53296         file.
53297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
53298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
53299         file.
53300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
53301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
53302         VIS3 routines.
53304         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53305         New file.
53307         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53309         * sysdeps/sparc/configure.in: New file.
53310         * sysdeps/sparc/configure: Generate.
53311         * configure.in (libc_cv_sparc_as_vis3): Substitute.
53312         * configure: Regenerate.
53313         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
53314         * config.make.in (have-as-vis3): New.
53315         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
53316         available use -Av9d instead of -Av9a.
53317         * sysdeps/sparc/sparc64/Makefile: Likewise.
53318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
53319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
53320         New file.
53321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
53322         file.
53323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
53324         New file.
53325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
53326         file.
53327         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
53328         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
53329         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
53330         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
53331         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
53333         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
53334         fzeros/fnegs to load 0x80000000 into a float register instead of
53335         using the stack.
53336         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
53338 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
53340         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53341         bits/syscall.h.
53342         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
53343         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
53344         ($(inst_includedir)/bits/syscall.h): Remove rule.
53345         ($(objpfx)bits/syscall.d): Include instead of
53346         $(objpfx)syscall-list.d.
53347         (generated): Change syscall-list.h and syscall-list.d to
53348         bits/syscall.h and bits/syscall.d.
53350 2012-03-14  Roland McGrath  <roland@hack.frob.com>
53352         [BZ #13846]
53353         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
53355 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
53357         [BZ #13841]
53358         * math/s_csqrt.c: Include <float.h>.
53359         (__csqrt): Scale large or subnormal inputs.
53360         * math/s_csqrtf.c: Likewise.
53361         * math/s_csqrtl.c: Likewise.
53362         * math/libm-test.inc (csqrt_test): Add more tests.
53363         * sysdeps/i386/fpu/libm-test-ulps: Update.
53364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53366         [BZ #13840]
53367         * math/libm-test.inc (hypot_test): Add more tests.
53369 2012-03-13  David S. Miller  <davem@davemloft.net>
53371         [BZ #13840]
53372         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
53373         double-precision for the calculation instead of scaling.
53375 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
53377         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
53378         manipulate bits before adding and subtracting TWO52[sx].
53379         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
53380         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
53381         Likewise.
53382         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
53384 2012-03-13  David S. Miller  <davem@davemloft.net>
53386         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
53387         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
53388         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
53389         rtld-global-offsets.h
53390         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53392         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
53393         large parameters.
53395         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
53397         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
53398         'err' in the ifdef scope in which it is actually used.
53400         * nss/nss_db/db-init.c: Include string.h
53402 2012-03-12  David S. Miller  <davem@davemloft.net>
53404         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53405         masking out of the most significant byte of random value used.
53406         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53407         Fix coding style in previous change.
53409         * sysdeps/unix/sysv/linux/kernel-features.h
53410         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
53411         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
53412         expression.
53413         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
53414         later.
53416 2012-03-11  David S. Miller  <davem@davemloft.net>
53418         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
53419         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
53420         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
53421         for 'resultvar' otherwise things get truncated on 64-bit.
53423         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53424         Fix masking out of the most significant byte of random value used.
53426         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53428 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
53430         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53432 2012-03-09  David S. Miller  <davem@davemloft.net>
53434         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
53435         variables with appropriate CPP guards.
53436         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
53437         from the frame pointer, not the stack pointer.  Correct layout
53438         comments.  Fix test on resulting framesize and the management of
53439         the outregs buffer for pltexit.  Preserve floating point return
53440         values across _dl_call_pltexit call.
53441         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
53442         framesize and the management of the outregs buffer for pltexit.
53443         Preserve floating point return values across _dl_call_pltexit
53444         call.
53445         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
53446         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
53447         (la_sparc64_gnu_pltexit): New functions.
53448         (print_exit): Fix format string for return register value.
53450 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
53452         * sunrpc/Makefile (others): Add rpcgen.
53453         ($(objpfx)rpcgen): Remove special build rule and dependency on
53454         libc.
53455         * sunrpc/rpcgen.c: New file.
53457 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
53459         [BZ #13673]
53460         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
53461         * stdio-common/bug-vfprintf-nargs.c: Likewise.
53462         * sysdeps/i386/crti.S: Likewise.
53463         * sysdeps/i386/crtn.S: Likewise.
53464         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
53465         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
53466         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
53467         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
53468         * sysdeps/sh/crti.S: Likewise.
53469         * sysdeps/sh/crtn.S: Likewise.
53470         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
53472         [BZ #13673]
53473         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
53474         with URL.
53475         * locale/programs/locfile-kw.gperf: Likewise.
53476         * locale/programs/charmap-kw.h: Regenerated.
53477         * locale/programs/locfile-kw.h: Likewise.
53479         [BZ #13673]
53480         * intl/plural.y: Replace FSF snail mail address with URL.
53481         * intl/plural.c: Regenerated.
53483 2012-03-09  Richard Henderson  <rth@twiddle.net>
53485         * include/math_private.h: Remove file.
53486         * math/math_private.h: Move file ...
53487         * sysdeps/generic/math_private.h: ... here.
53489         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
53490         * sysdeps/powerpc/fpu/math_private.h: Likewise.
53491         * sysdeps/x86_64/fpu/math_private.h: Likewise.
53493         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
53494         and <math_private.h>.
53495         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
53496         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
53497         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
53498         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
53499         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
53500         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
53501         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53502         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53503         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53504         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53505         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53506         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53507         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53508         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53509         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53510         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53511         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53512         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53513         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53514         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53515         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53516         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53517         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53518         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53519         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
53520         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53521         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53522         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53523         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53524         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53525         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53526         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53527         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
53528         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53529         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53530         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53531         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53532         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53533         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53534         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53535         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
53536         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53537         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53538         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
53539         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
53540         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53541         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
53542         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
53543         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53544         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53545         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
53546         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
53547         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
53548         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53549         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
53550         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53551         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53552         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
53553         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
53554         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
53555         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53556         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
53557         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53558         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53559         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
53560         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53561         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53562         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53563         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
53564         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
53565         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
53566         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53567         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
53568         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53569         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
53570         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
53571         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
53572         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53573         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
53574         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
53575         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
53576         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
53577         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
53578         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
53579         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53580         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
53581         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
53582         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
53583         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53584         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53585         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53586         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53587         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53588         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53589         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53590         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53591         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53592         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53593         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53594         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53595         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53596         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53597         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53598         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53599         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53600         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53601         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53602         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53603         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53604         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53605         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53606         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53607         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53608         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53609         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
53610         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53611         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53612         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
53613         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53614         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
53615         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53616         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
53617         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53618         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
53619         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53620         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
53621         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53622         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
53623         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
53624         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
53625         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
53626         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
53627         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53628         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
53629         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
53630         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53631         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
53632         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53633         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
53634         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
53635         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53636         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53637         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53638         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
53639         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
53640         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53641         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53642         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53643         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
53644         * sysdeps/ieee754/k_standard.c: Likewise.
53645         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53646         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53647         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53648         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53649         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53650         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53651         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53652         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53653         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53654         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53655         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53656         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53657         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53658         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53659         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53660         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53661         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
53662         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53663         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53664         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
53665         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
53666         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
53667         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53668         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
53669         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
53670         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
53671         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
53672         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
53673         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
53674         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53675         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
53676         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53677         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
53678         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
53679         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
53680         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53681         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53682         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
53683         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
53684         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53685         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
53686         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
53687         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
53688         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53689         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
53690         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
53691         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53692         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53693         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53694         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53695         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53696         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
53697         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53698         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
53699         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53700         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53701         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
53702         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
53703         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53704         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53705         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53706         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
53707         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
53708         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53709         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53710         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53711         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53712         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53713         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53714         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53715         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53716         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53717         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53718         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53719         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53720         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53721         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
53722         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53723         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53724         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
53725         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
53726         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
53727         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
53728         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
53729         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
53730         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
53731         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
53732         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
53733         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
53734         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
53735         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
53736         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
53737         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
53738         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
53739         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
53740         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
53741         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
53742         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
53743         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
53744         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
53745         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
53746         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
53747         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53748         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
53749         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
53750         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53751         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53752         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
53753         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
53754         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
53755         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
53756         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
53757         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53758         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53759         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53760         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53761         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53762         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53763         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53764         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53765         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53766         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53767         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53768         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53769         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53770         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
53771         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53772         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
53773         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
53774         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53775         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53776         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53777         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53778         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
53779         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
53780         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
53781         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
53782         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
53783         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53784         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
53785         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
53786         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53787         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
53788         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
53789         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53790         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53791         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53792         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
53793         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
53794         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
53795         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53796         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
53797         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53798         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53799         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
53800         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
53801         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
53802         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
53803         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
53804         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
53805         * sysdeps/ieee754/s_lib_version.c: Likewise.
53806         * sysdeps/ieee754/s_matherr.c: Likewise.
53807         * sysdeps/ieee754/s_signgam.c: Likewise.
53808         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53809         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53810         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
53811         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
53812         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
53813         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
53814         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
53815         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
53816         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
53817         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
53818         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
53819         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
53820         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53821         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53822         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
53823         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53824         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53825         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53826         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53827         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53828         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53830 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
53832         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
53833         * sunrpc/rpc_main.c: Likewise.
53834         * sunrpc/rpc_svcout.c: Likewise.
53836 2012-03-09  David S. Miller  <davem@davemloft.net>
53838         * include/math_private.h: New file.
53840 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
53842         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
53843         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
53844         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
53845         from <bits/socket_type.h>.
53846         (enum __socket_type): Don't define here.
53847         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
53848         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53849         bits/socket_type.h.
53851         [BZ #13566]
53852         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
53853         checking __USE_GNU.
53855         * Makerules ($(inst_includedir)/%.h): New rule.
53856         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
53857         (install-others): Remove variable setting.
53858         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
53860 2012-03-08  Richard Henderson  <rth@twiddle.net>
53862         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
53863         from macro to inline function; merge with the
53864         !__LIBC_INTERNAL_MATH_INLINES version.
53865         (__ieee754_sqrtf): Likewise.
53867         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
53868         to inline function.
53869         (__rintf, __floor, __floorf): Likewise.
53871         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
53872         macro to inline function.
53873         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
53875         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
53876         not <math/math_private.h>.
53878 2012-03-08  David S. Miller  <davem@davemloft.net>
53880         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
53881         copyright year.
53882         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
53884 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
53886         * resolv/gai_misc.c (handle_requests): Fix struct timespec
53887         normalization.
53888         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
53889         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
53891 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
53893         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
53894         be defined individually, they must be defined as a block.  Define
53895         S for printing a string instead of hidint the different by using a
53896         macro for adding the 'l'.
53897         * stdio-common/tst-fphex-wide.c: Adjust.
53899 2012-03-07  Marek Polacek  <polacek@redhat.com>
53901         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
53903 2012-03-08  Marek Polacek  <polacek@redhat.com>
53905         [BZ #13806]
53906         * stdio-common/Makefile (tests): Add tst-fphex-wide.
53907         * stdio-common/tst-fphex.c: Define a few macros to make the
53908         test reusable.  Use them.
53909         * stdio-common/tst-fphex-wide.c: New file.
53911 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
53913         [BZ #6911]
53914         * manual/macros.texi (gnusystems): New macro.
53915         (nongnusystems): Likewise.
53916         (gnulinuxhurdsystems): Likewise.
53917         (gnuhurdsystems): Likewise..
53918         (gnulinuxsystems): Likewise.
53919         * manual/charset.texi: Use new macros or @theglibc{} to refer to
53920         variants of the GNU system, not "GNU system".
53921         * manual/conf.texi: Likewise.
53922         * manual/errno.texi: Likewise.  Update example of errno macro
53923         expansion.
53924         * manual/filesys.texi: Likewise.
53925         (getumask): Document as specific to GNU/Hurd.
53926         * manual/install.texi: Likewise.  Reword some references to
53927         GNU/Linux.
53928         * manual/intro.texi: Likewise.
53929         * manual/io.texi: Likewise.
53930         (File Name Portability): Detail which constraints are inapplicable
53931         to all GNU systems and which are only inapplicable to GNU/Hurd.
53932         * manual/job.texi: Likewise.
53933         * manual/llio.texi: Likewise.
53934         (O_NOCTTY): Document as present on GNU/Linux.
53935         * manual/maint.texi: Likewise.
53936         * manual/memory.texi: Likewise.
53937         * manual/pattern.texi: Likewise.
53938         * manual/pipe.texi: Likewise.
53939         * manual/process.texi: Likewise.
53940         * manual/resource.texi: Likewise.
53941         (RUSAGE_CHILDREN): Remove statement about specifying a particular
53942         child on GNU/Hurd.
53943         * manual/setjmp.texi: Likewise.
53944         * manual/signal.texi: Likewise.
53945         * manual/startup.texi: Likewise.
53946         * manual/stdio.texi: Likewise.
53947         * manual/terminal.texi: Likewise.
53948         (ONLCR): Document as POSIX.
53949         (OXTABS): Document availability on GNU/Linux as XTABS.
53950         (ONOEOT): Document availability separately from other bits.
53951         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
53952         * manual/time.texi: Likewise.
53953         * manual/users.texi: Likewise.
53954         * INSTALL: Regenerated.
53955         * sysdeps/gnu/errlist.c: Regenerated.
53957         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
53958         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
53959         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
53960         puts.
53961         * configure: Regenerated.
53963 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
53965         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
53966         default includes instead of AC_HEADER_CHECK.
53967         * sysdeps/i386/configure: Regenerated.
53969         [BZ #10716]
53970         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
53971         * math/s_cacoshf.c (__cacoshf): Likewise.
53972         * math/s_cacoshl.c (__cacoshl): Likewise.
53973         * math/s_casinh.c (__casinh): Set signs of result from argument.
53974         * math/s_casinhf.c (__casinhf): Likewise.
53975         * math/s_casinhl.c (__casinhl): Likewise.
53976         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
53977         (casinh_test): Add more tests.
53978         * sysdeps/i386/fpu/libm-test-ulps: Update.
53979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53981 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
53983         * po/zh_TW.po: Update from translation team.
53985         * login/Makefile (distribute): Remove variable.
53986         * catgets/Makefile: Likewise.
53987         * mach/Makefile: Likewise.
53988         * malloc/Makefile: Likewise.
53989         * misc/Makefile: Likewise.
53990         * iconv/Makefile: Likewise.
53991         * nscd/Makefile: Likewise.
53992         * hurd/Makefile: Likewise.
53993         * manual/Makefile: Likewise.
53994         * locale/Makefile: Likewise.
53995         * intl/Makefile: Likewise.
53996         * conform/Makefile: Likewise.
53997         * nss/Makefile: Likewise.
53998         * time/Makefile: Likewise.
53999         * soft-fp/Makefile: Likewise.
54000         * dirent/Makefile: Likewise.
54001         * gmon/Makefile: Likewise.
54002         * po/Makefile: Likewise.
54003         * rt/Makefile: Likewise.
54004         * socket/Makefile: Likewise.
54005         * math/Makefile: Likewise.
54006         * signal/Makefile: Likewise.
54007         * debug/Makefile: Likewise.
54008         * elf/Makefile: Likewise.
54009         * timezone/Makefile: Likewise.
54010         * stdlib/Makefile: Likewise.
54011         * iconvdata/Makefile: Likewise.
54012         * sunrpc/Makefile: Likewise.
54013         * io/Makefile: Likewise.
54014         * argp/Makefile: Likewise.
54015         * inet/Makefile: Likewise.
54016         * hesiod/Makefile: Likewise.
54017         * grp/Makefile: Likewise.
54018         * csu/Makefile: Likewise.
54019         * wctype/Makefile: Likewise.
54020         * crypt/Makefile: Likewise.
54021         * libio/Makefile: Likewise.
54022         * string/Makefile: Likewise.
54023         * nis/Makefile: Likewise.
54024         * resolv/Makefile: Likewise.
54025         * stdio-common/Makefile: Likewise.
54026         * wcsmbs/Makefile: Likewise.
54027         * dlfcn/Makefile: Likewise.
54028         * posix/Makefile: Likewise.
54030         [BZ #6959]
54031         * timezone/Makefile: Don't install timezone files, just the programs
54032         and scripts.
54034 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
54036         * nss/databases.def: Add missing gshadow entry.
54038         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
54040 2012-03-06  Marek Polacek  <polacek@redhat.com>
54042         [BZ #13726]
54043         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
54044         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
54045         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
54046         * stdio-common/tst-long-dbl-fphex.c: New file.
54048 2012-03-06  David S. Miller  <davem@davemloft.net>
54050         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54051         (set_obp_int): New function.
54052         (get_obp_int): New function.
54053         (__get_clockfreq_via_dev_openprom): Likewise.
54054         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
54055         Avoid unused variable warnings on 'val' and use builtin_expect.
54056         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
54057         __builtin_expect.
54058         (INLINE_CLONE_SYSCALL): Likewise.
54060 2012-03-05  David S. Miller  <davem@davemloft.net>
54062         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54064 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
54066         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54068         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
54069         only for |x| >= 40.
54070         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54072 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
54074         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
54075         Replace gettimeofday with __vdso_gettimeofday.
54077         * sysdeps/unix/sysv/linux/x86_64/init-first.c
54078         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
54079         __vdso_clock_gettime and __vdso_getcpu.
54081         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
54082         time with __vdso_time.
54084 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
54086         * manual/lang.texi (size_t): Note types to which size_t may be
54087         equivalent with the GNU C Library, but do not describe when
54088         differences between them are significant.
54090 2012-03-05  Andreas Jaeger  <aj@suse.de>
54092         * sysdeps/i386/fpu/libm-test-ulps: Update.
54094 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
54096         [BZ #3976]
54097         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
54098         (__ieee754_pow): Save and restore rounding mode and use
54099         round-to-nearest for main computations.
54100         * math/libm-test.inc (pow_test_tonearest): New function.
54101         (pow_test_towardzero): Likewise.
54102         (pow_test_downward): Likewise.
54103         (pow_test_upward): Likewise.
54104         (main): Call the new functions.
54105         * sysdeps/i386/fpu/libm-test-ulps: Update.
54106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54108         [BZ #3976]
54109         * math/libm-test.inc (cosh_test_tonearest): New function.
54110         (cosh_test_towardzero): Likewise.
54111         (cosh_test_downward): Likewise.
54112         (cosh_test_upward): Likewise.
54113         (sinh_test_tonearest): Likewise.
54114         (sinh_test_towardzero): Likewise.
54115         (sinh_test_downward): Likewise.
54116         (sinh_test_upward): Likewise.
54117         (main): Call the new functions.
54118         * sysdeps/i386/fpu/libm-test-ulps: Update.
54119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54121 2012-03-05  Tom de Vries  <tom@codesourcery.com>
54123         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
54124         default stack guard is set in last bytes.
54125         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
54127 2012-03-05  Kees Cook  <keescook@chromium.org>
54129         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
54131         [BZ #13656]
54132         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
54133         possibly allocate from heap instead of stack.
54134         * stdio-common/bug-vfprintf-nargs.c: New file.
54135         * stdio-common/Makefile (tests): Add nargs overflow test.
54137 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
54139         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54141 2012-03-03  Marek Polacek  <polacek@redhat.com>
54143         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
54144         * math/math_private.h: Likewise.
54145         * stdlib/tst-strtod.c: Likewise.
54146         * sysdeps/i386/i486/bits/atomic.h: Likewise.
54147         * sysdeps/x86_64/bits/atomic.h: Likewise.
54149 2012-03-02  David S. Miller  <davem@davemloft.net>
54151         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
54152         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
54153         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
54154         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
54155         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
54156         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
54157         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
54158         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
54160 2012-03-02  Roland McGrath  <roland@hack.frob.com>
54162         [BZ #13792]
54163         * manual/examples/README: New file, says the example source files
54164         can be used under GPL>=2.
54165         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
54166         line containing just "*/".
54167         * manual/examples/add.c: Add copyright header (GPL>=2).
54168         * manual/examples/argp-ex1.c: Likewise.
54169         * manual/examples/argp-ex2.c: Likewise.
54170         * manual/examples/argp-ex3.c: Likewise.
54171         * manual/examples/argp-ex4.c: Likewise.
54172         * manual/examples/atexit.c: Likewise.
54173         * manual/examples/db.c: Likewise.
54174         * manual/examples/dir.c: Likewise.
54175         * manual/examples/dir2.c: Likewise.
54176         * manual/examples/execinfo.c: Likewise.
54177         * manual/examples/filecli.c: Likewise.
54178         * manual/examples/filesrv.c: Likewise.
54179         * manual/examples/fmtmsgexpl.c: Likewise.
54180         * manual/examples/genpass.c: Likewise.
54181         * manual/examples/inetcli.c: Likewise.
54182         * manual/examples/inetsrv.c: Likewise.
54183         * manual/examples/isockad.c: Likewise.
54184         * manual/examples/longopt.c: Likewise.
54185         * manual/examples/memopen.c: Likewise.
54186         * manual/examples/memstrm.c: Likewise.
54187         * manual/examples/mkfsock.c: Likewise.
54188         * manual/examples/mkisock.c: Likewise.
54189         * manual/examples/mygetpass.c: Likewise.
54190         * manual/examples/pipe.c: Likewise.
54191         * manual/examples/popen.c: Likewise.
54192         * manual/examples/rprintf.c: Likewise.
54193         * manual/examples/search.c: Likewise.
54194         * manual/examples/select.c: Likewise.
54195         * manual/examples/setjmp.c: Likewise.
54196         * manual/examples/sigh1.c: Likewise.
54197         * manual/examples/sigusr.c: Likewise.
54198         * manual/examples/stpcpy.c: Likewise.
54199         * manual/examples/strdupa.c: Likewise.
54200         * manual/examples/strftim.c: Likewise.
54201         * manual/examples/strncat.c: Likewise.
54202         * manual/examples/subopt.c: Likewise.
54203         * manual/examples/swapcontext.c: Likewise.
54204         * manual/examples/termios.c: Likewise.
54205         * manual/examples/testopt.c: Likewise.
54206         * manual/examples/testpass.c: Likewise.
54207         * manual/examples/timeval_subtract.c: Likewise.
54209         [BZ #13792]
54210         * manual/time.texi (Elapsed Time): Move timeval_subtract example
54211         function to ...
54212         * manual/timeval_subtract.c.texi: ... here, new file.
54214 2012-03-02  David S. Miller  <davem@davemloft.net>
54216         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
54218 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
54220         [BZ #3976]
54221         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
54222         (__sin): Save and restore rounding mode and use round-to-nearest
54223         for all computations.
54224         (__cos): Save and restore rounding mode and use round-to-nearest
54225         for all computations.
54226         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
54227         <fenv.h>.
54228         (tan): Save and restore rounding mode and use round-to-nearest for
54229         all computations.
54230         * math/libm-test.inc (cos_test_tonearest): New function.
54231         (cos_test_towardzero): Likewise.
54232         (cos_test_downward): Likewise.
54233         (cos_test_upward): Likewise.
54234         (sin_test_tonearest): Likewise.
54235         (sin_test_towardzero): Likewise.
54236         (sin_test_downward): Likewise.
54237         (sin_test_upward): Likewise.
54238         (tan_test_tonearest): Likewise.
54239         (tan_test_towardzero): Likewise.
54240         (tan_test_downward): Likewise.
54241         (tan_test_upward): Likewise.
54242         (main): Call the new functions.
54243         * sysdeps/i386/fpu/libm-test-ulps: Update.
54244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54246         [BZ #10135]
54247         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
54248         small n, then large n, before computing and testing k+n.
54249         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
54250         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
54251         Likewise.
54252         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
54253         Likewise.
54254         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
54255         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
54256         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
54257         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
54258         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
54259         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
54260         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
54261         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
54262         * math/libm-test.inc (scalbn_test): Add more tests.
54263         (scalbln_test): Likewise.
54265         * manual/filesys.texi (mode_t): Describe constraints on size and
54266         signedness, not exact equivalence to a particular type.
54267         (ino_t): Likewise.
54268         (ino64_t): Likewise.
54269         (dev_t): Likewise.
54270         (nlink_t): Likewise.
54271         (blkcnt_t): Likewise.
54272         (blkcnt64_t): Likewise.
54273         * manual/llio.texi (off_t): Likewise.
54275         [BZ #3976]
54276         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
54277         (__ieee754_exp): Save and restore rounding mode and use
54278         round-to-nearest for all computations.
54279         * math/libm-test.inc (exp_test_tonearest): New function.
54280         (exp_test_towardzero): Likewise.
54281         (exp_test_downward): Likewise.
54282         (exp_test_upward): Likewise.
54283         (main): Call the new functions.
54284         * sysdeps/i386/fpu/libm-test-ulps: Update.
54285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54287 2012-03-01  Chris Demetriou  <cgd@google.com>
54289         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
54290         have predictable order.
54292 2012-03-01  David S. Miller  <davem@davemloft.net>
54294         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
54296         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
54297         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
54298         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
54299         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
54301         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
54302         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
54303         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
54304         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
54305         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
54306         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
54307         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
54308         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
54309         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
54311         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54313         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
54314         * sysdeps/sparc/fpu/libm-test-ulps: to here.
54315         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
54317         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
54318         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
54319         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54320         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
54321         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
54322         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
54323         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
54324         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
54325         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54326         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
54327         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
54328         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54329         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
54330         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54331         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54332         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54333         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
54334         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
54335         * sysdeps/sparc/elf/configure: Regenerated.
54337 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
54339         * configure.in (AS, LD): Require binutils 2.20 or later.
54340         * configure: Regenerated.
54341         * manual/install.texi (Tools for Compilation): Give binutils 2.20
54342         as required minimum version.
54343         * INSTALL: Regenerated.
54345         [BZ #2541]
54346         [BZ #4108]
54347         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
54348         before squaring exponent.
54349         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
54350         bottom long double and 27 bits of top long double before squaring
54351         exponent.
54352         * math/libm-test.inc (erfc_test): Add more tests.
54353         * sysdeps/i386/fpu/libm-test-ulps: Update.
54354         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54357 2012-03-01  Kai Tietz  <ktietz@redhat.com>
54359         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
54360         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
54361         containing bit-fields.
54362         * soft-fp/extended.h (_FP_UNION_E): Likewise.
54363         * soft-fp/single.h (_FP_UNION_S): Likewise.
54364         * soft-fp/double.h (_FP_UNION_D): Likewise.
54366 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
54368         [BZ #13786]
54369         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
54370         not include ../strcmp.S.
54371         [USE_AS_STRNCASECMP_L]: Likewise.
54372         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
54373         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
54374         * sysdeps/i386/i686/multiarch/strncase_l-c.c
54375         (__strncasecmp_l_ia32): Define as alias to
54376         __strncasecmp_l_nonascii.
54378         [BZ #5794]
54379         * math/libm-test.inc (expm1_test): Add test for bug 5794.
54380         * sysdeps/i386/fpu/libm-test-ulps: Update.
54381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54383         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
54384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54386 2012-02-29  Jeff Law  <law@redhat.com>
54388         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
54389         out of bounds read.
54391 2012-02-29  Marek Polacek  <polacek@redhat.com>
54393         [BZ #13706]
54394         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
54395         * elf/Makefile: Add rules to run tst-unused-dep.out.
54397 2012-02-28  David S. Miller  <davem@davemloft.net>
54399         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
54400         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
54401         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
54402         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
54403         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
54404         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
54406 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
54408         * math/libm-test.inc (llround_test): Move one test from
54409         lround_test.  Use TEST_f_L in moved test.
54410         (lround_test): Move misplaced test to llround_test.  Add testcase
54411         from bug 2561.
54413 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
54415         * sysdeps/x86_64/fpu/e_expf.S: New file.
54416         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
54418 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
54420         [BZ #13637]
54421         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
54422         of remain_len that may cause incomplete multi-byte character and
54423         false match.
54424         * posix/bug-regex33.c: New file.
54425         * posix/Makefile (tests): Add bug-regex33.
54427 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
54429         * manual/macros.texi: New file.
54430         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
54431         * manual/libc.texinfo: Include macros.texi.
54432         * manual/creatute.texi: Likewise.
54433         * manual/install.texi: Likewise.
54434         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
54435         @glibcadj{} in references to the GNU C Library.
54436         * manual/charset.texi: Likewise.
54437         * manual/conf.texi: Likewise.
54438         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
54439         when not using those macros.
54440         * manual/creature.texi: Likewise.
54441         * manual/crypt.texi: Likewise.
54442         * manual/errno.texi: Likewise.
54443         * manual/filesys.texi: Likewise.
54444         * manual/header.texi: Likewise.
54445         * manual/install.texi: Likewise.
54446         * manual/intro.texi: Likewise.
54447         * manual/io.texi: Likewise.
54448         * manual/job.texi: Likewise.
54449         * manual/lang.texi: Likewise.
54450         * manual/libc.texiinfo: Likewise.
54451         * manual/llio.texi: Likewise.
54452         * manual/locale.texi: Likewise.
54453         * manual/maint.texi: Likewise.
54454         * manual/math.texi: Likewise.
54455         * manual/memory.texi: Likewise.
54456         * manual/message.texi: Likewise.
54457         * manual/nss.texi: Likewise.
54458         * manual/pattern.texi: Likewise.
54459         * manual/process.texi: Likewise.
54460         * manual/resource.texi: Likewise.
54461         * manual/search.texi: Likewise.
54462         * manual/setjmp.texi: Likewise.
54463         * manual/signal.texi: Likewise.
54464         * manual/socket.texi: Likewise.
54465         * manual/startup.texi: Likewise.
54466         * manual/stdio.texi: Likewise.
54467         * manual/string.texi: Likewise.
54468         * manual/sysinfo.texi: Likewise.
54469         * manual/syslog.texi: Likewise.
54470         * manual/terminal.texi: Likewise.
54471         * manual/time.texi: Likewise.
54472         * manual/users.texi: Likewise.
54473         * INSTALL: Regenerated.
54474         * NOTES: Regenerated.
54475         * sysdeps/gnu/errlist.c: Regenerated.
54477 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
54479         * include/dirent.h: Include <dirstream.h> before
54480         <dirent/dirent.h>.
54482 2012-02-28  David S. Miller  <davem@davemloft.net>
54484         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
54485         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
54486         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
54487         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
54489 2012-02-27  David S. Miller  <davem@davemloft.net>
54491         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
54492         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
54493         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
54494         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
54496         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
54497         frame pointer instead of stack pointer relative arg slot.
54498         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
54499         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54500         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54502 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
54504         [BZ #3992]
54505         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
54507 2012-02-27  David S. Miller  <davem@davemloft.net>
54509         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
54510         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
54511         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
54512         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
54513         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54514         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54515         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
54516         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
54518 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
54520         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
54521         later.  Allow versions 5-9.
54522         * configure: Regenerated.
54523         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
54524         required minimum version and 4.6 as recommended version.  Do not
54525         mention bugs in GCC 2.7 and 2.8.
54526         * INSTALL: Regenerated.
54528 2012-02-27  David S. Miller  <davem@davemloft.net>
54530         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
54531         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
54532         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
54533         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
54534         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
54535         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
54536         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
54537         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
54539         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
54540         manipulate bits before adding and subtracting TWO112[sx].
54541         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54543 2012-02-27  Roland McGrath  <roland@hack.frob.com>
54545         [BZ #13775]
54546         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
54547         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
54548         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
54549         being in POSIX, because they are in 1003.1-2008.
54551         * rt/tst-aio.c: Include <fcntl.h>.
54552         * rt/tst-aio7.c: Likewise.
54553         * rt/tst-aio64.c: Likewise.
54555         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
54557 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
54559         * manual/install.texi (--with-headers): Describe headers as
54560         interface headers, not private headers.
54561         (Specific advice for GNU/Linux systems): Describe use of headers
54562         from "make headers_install", not private headers from older
54563         kernels.
54564         * INSTALL: Regenerated.
54565         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
54566         Change to 2.6.19.
54567         * sysdeps/unix/sysv/linux/configure: Regenerated.
54569         * manual/llio.texi (fclean): Remove documentation.
54571         * manual/Makefile (libc-texi-generated): New variable.  Include
54572         version.texi.
54573         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
54574         $(libc-texi-generated), not duplicated list of files.
54575         (version.texi, stamp-version): New rules.
54576         (realclean): Remove $(libc-texi-generated), not individual files
54577         from that list.  Do not remove dir-add.texinfo.
54578         * manual/libc.texinfo: Comment out uses of edition numbers and
54579         references to printed manual.  Remove last-updated dates.
54580         (EDITION): Comment out.
54581         (ISBN): Likewise.
54582         (VERSION, UPDATED): Remove.
54583         (version.texi): Include.
54585 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
54587         * sysdeps/posix/spawni.c: Include <signal.h>.
54588         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
54589         * sysdeps/pthread/aio_fsync.c: Likewise.
54591 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
54593         * conform/Makefile (tests): Run only when not cross-compiling and
54594         when fast-check is not defined.
54596         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
54597         * conform/data/limits.h-data: Fixes for POSIX2008.
54598         * conform/run-conformtest.sh: Run all tests.
54599         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
54600         headers.
54601         * include/bits/dlfcn.h: Likewise.
54602         * include/langinfo.h: Likewise.
54603         * include/monetary.h: Likewise.
54604         * include/sys/poll.h: Likewise.
54606         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
54607         for __USE_GNU.
54608         * posix/spawn.h: Define __need_sigset_t.
54609         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
54610         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
54611         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
54612         to get sigevent_t only.
54613         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
54614         only for __USE_GNU.
54615         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54616         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54617         process_vm_writev only for __USE_GNU.
54618         * termios/termios.h: Declare tcgetsid also for POSIX2008.
54620         * conform/Makefile: For now ignore errors from run-conformtest.
54621         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
54622         POSIX to avoid namespace pollution.  Don't prepend headers.
54623         * conform/data/aio.h-data: Fixes for POSIX testing.
54624         * conform/data/fcntl.h-data: Likewise.
54625         * conform/data/glob.h-data: Likewise.
54626         * conform/data/grp.h-data: Likewise.
54627         * conform/data/pthread.h-data: Likewise.
54628         * conform/data/pwd.h-data: Likewise.
54629         * conform/data/signal.h-data: Likewise.
54630         * conform/data/spawn.h-data: Likewise.
54631         * conform/data/stdio.h-data: Likewise.
54632         * conform/data/stdlib.h-data: Likewise.
54633         * conform/data/stropts.h-data: Likewise.
54634         * conform/data/sys/mman.h-data: Likewise.
54635         * conform/data/sys/stat.h-data: Likewise.
54636         * conform/data/sys/types.h-data: Likewise.
54637         * conform/data/sys/wait.h-data: Likewise.
54638         * conform/data/time.h-data: Likewise.
54639         * conform/data/unistd.h-data: Likewise.
54640         * conform/data/utime.h-data: Likewise.
54642         * io/sys/stat.h: fchmod was always in POSIX.
54643         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
54644         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
54645         * rt/aio.h: Define __need_timespec before including <time.h>.
54646         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
54647         struct.  Add forward declaration of pthread_attr_t and use it in
54648         sigevent.
54649         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54650         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54651         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
54652         always remove CLK_TCK definition.
54654 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
54656         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
54658 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
54660         * conform/run-conformtest.sh: New file.
54661         * conform/Makefile: Run run-conformtest for tests.
54662         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
54663         support.
54665         * conform/data/uchar.h-data: New file.
54666         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
54667         * conform/data/arpa/inet.h-data: Likewise.
54668         * conform/data/assert.h-data: Likewise.
54669         * conform/data/complex.h-data: Likewise.
54670         * conform/data/cpio.h-data: Likewise.
54671         * conform/data/ctype.h-data: Likewise.
54672         * conform/data/dirent.h-data: Likewise.
54673         * conform/data/dlfcn.h-data: Likewise.
54674         * conform/data/errno.h-data: Likewise.
54675         * conform/data/fcntl.h-data: Likewise.
54676         * conform/data/float.h-data: Likewise.
54677         * conform/data/fmtmsg.h-data: Likewise.
54678         * conform/data/fnmatch.h-data: Likewise.
54679         * conform/data/ftw.h-data: Likewise.
54680         * conform/data/glob.h-data: Likewise.
54681         * conform/data/grp.h-data: Likewise.
54682         * conform/data/iconv.h-data: Likewise.
54683         * conform/data/inttypes.h-data: Likewise.
54684         * conform/data/langinfo.h-data: Likewise.
54685         * conform/data/libgen.h-data: Likewise.
54686         * conform/data/limits.h-data: Likewise.
54687         * conform/data/locale.h-data: Likewise.
54688         * conform/data/math.h-data: Likewise.
54689         * conform/data/monetary.h-data: Likewise.
54690         * conform/data/mqueue.h-data: Likewise.
54691         * conform/data/ndbm.h-data: Likewise.
54692         * conform/data/net/if.h-data: Likewise.
54693         * conform/data/netdb.h-data: Likewise.
54694         * conform/data/netinet/in.h-data: Likewise.
54695         * conform/data/nl_types.h-data: Likewise.
54696         * conform/data/poll.h-data: Likewise.
54697         * conform/data/pthread.h-data: Likewise.
54698         * conform/data/pwd.h-data: Likewise.
54699         * conform/data/regex.h-data: Likewise.
54700         * conform/data/sched.h-data: Likewise.
54701         * conform/data/search.h-data: Likewise.
54702         * conform/data/semaphore.h-data: Likewise.
54703         * conform/data/setjmp.h-data: Likewise.
54704         * conform/data/signal.h-data: Likewise.
54705         * conform/data/spawn.h-data: Likewise.
54706         * conform/data/stdarg.h-data: Likewise.
54707         * conform/data/stdio.h-data: Likewise.
54708         * conform/data/stdlib.h-data: Likewise.
54709         * conform/data/string.h-data: Likewise.
54710         * conform/data/strings.h-data: Likewise.
54711         * conform/data/stropts.h-data: Likewise.
54712         * conform/data/sys/ipc.h-data: Likewise.
54713         * conform/data/sys/mman.h-data: Likewise.
54714         * conform/data/sys/msg.h-data: Likewise.
54715         * conform/data/sys/resource.h-data: Likewise.
54716         * conform/data/sys/select.h-data: Likewise.
54717         * conform/data/sys/sem.h-data: Likewise.
54718         * conform/data/sys/shm.h-data: Likewise.
54719         * conform/data/sys/socket.h-data: Likewise.
54720         * conform/data/sys/stat.h-data: Likewise.
54721         * conform/data/sys/statvfs.h-data: Likewise.
54722         * conform/data/sys/time.h-data: Likewise.
54723         * conform/data/sys/timeb.h-data: Likewise.
54724         * conform/data/sys/times.h-data: Likewise.
54725         * conform/data/sys/types.h-data: Likewise.
54726         * conform/data/sys/uio.h-data: Likewise.
54727         * conform/data/sys/un.h-data: Likewise.
54728         * conform/data/sys/utsname.h-data: Likewise.
54729         * conform/data/sys/wait.h-data: Likewise.
54730         * conform/data/syslog.h-data: Likewise.
54731         * conform/data/tar.h-data: Likewise.
54732         * conform/data/termios.h-data: Likewise.
54733         * conform/data/utime.h-data: Likewise.
54734         * conform/data/utmpx.h-data: Likewise.
54735         * conform/data/varargs.h-data: Likewise.
54736         * conform/data/wchar.h-data: Likewise.
54737         * conform/data/wctype.h-data: Likewise.
54738         * conform/data/wordexp.h-data: Likewise.
54740         * include/stropts.h: New file.
54741         * include/uchar.h: New file.
54742         * include/aio.h: Changes to allow conformtest.pl to use the headers.
54743         * include/assert.h: Likewise.
54744         * include/ctype.h: Likewise.
54745         * include/dirent.h: Likewise.
54746         * include/dlfcn.h: Likewise.
54747         * include/fcntl.h: Likewise.
54748         * include/fnmatch.h: Likewise.
54749         * include/glob.h: Likewise.
54750         * include/grp.h: Likewise.
54751         * include/libio.h: Likewise.
54752         * include/locale.h: Likewise.
54753         * include/math.h: Likewise.
54754         * include/net/if.h: Likewise.
54755         * include/netdb.h: Likewise.
54756         * include/netinet/in.h: Likewise.
54757         * include/pthread.h: Likewise.
54758         * include/pwd.h: Likewise.
54759         * include/regex.h: Likewise.
54760         * include/sched.h: Likewise.
54761         * include/search.h: Likewise.
54762         * include/setjmp.h: Likewise.
54763         * include/signal.h: Likewise.
54764         * include/stdio.h: Likewise.
54765         * include/stdlib.h: Likewise.
54766         * include/string.h: Likewise.
54767         * include/sys/cdefs.h: Likewise.
54768         * include/sys/mman.h: Likewise.
54769         * include/sys/msg.h: Likewise.
54770         * include/sys/resource.h: Likewise.
54771         * include/sys/select.h: Likewise.
54772         * include/sys/socket.h: Likewise.
54773         * include/sys/stat.h: Likewise.
54774         * include/sys/statvfs.h: Likewise.
54775         * include/sys/time.h: Likewise.
54776         * include/sys/times.h: Likewise.
54777         * include/sys/uio.h: Likewise.
54778         * include/sys/utsname.h: Likewise.
54779         * include/sys/wait.h: Likewise.
54780         * include/termios.h: Likewise.
54781         * include/time.h: Likewise.
54782         * include/ulimit.h: Likewise.
54783         * include/unistd.h: Likewise.
54784         * include/utime.h: Likewise.
54785         * include/wchar.h: Likewise.
54786         * include/wctype.h: Likewise.
54787         * include/wordexp.h: Likewise.
54789         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
54791         * time/time.h: TIME_UTC must be a macro.
54792         Make timespec_get available for ISO C11 only as well.
54794 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
54796         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
54797         Reported by Peng Haitao <penght@cn.fujitsu.com>.
54799 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54801         * configure.in: Use -o not -a in test for unsupported multi-arch.
54803 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54805         * manual/texinfo.tex: Update to version 2012-01-19.16.
54807 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54809         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
54811 2012-02-24  Roland McGrath  <roland@hack.frob.com>
54813         [BZ #13738]
54814         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
54815         * manual/fdl-1.3.texi: New file.
54816         * manual/fdl-1.1.texi: File removed.
54818         [BZ #13738]
54819         * manual/libc.texinfo (FDL_VERSION): New @set.
54820         Use it for mention of FDL in cover text.
54821         (Documentation License): Use it in @include file name.
54823 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54824             Roland McGrath  <roland@hack.frob.com>
54826         [BZ #5461]
54827         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
54828         (not LONG_LONG_MAX and LONG_LONG_MIN.
54829         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
54830         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
54831         name.
54832         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
54834 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54836         [BZ #2547]
54837         [BZ #11365]
54838         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
54839         manipulate bits before adding and subtracting TWO23[sx].
54840         * math/libm-test.inc (nearbyint_test): Add more tests.
54842 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54844         [BZ #2548]
54845         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
54846         bits before adding and subtracting TWO23[sx].
54847         * math/libm-test.inc (rint_test): Add more tests.
54848         (rint_test_tonearest): Likewise.
54849         (rint_test_towardzero): Likewise.
54850         (rint_test_downward): Likewise.
54851         (rint_test_upward: Likewise.
54853 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54855         [BZ #10110]
54856         * include/stdc-predef.h: New file.  Extracted from features.h.
54857         * include/features.h: Include stdc-predef.h.
54858         * Makefile (headers): Add stdc-predef.h.
54859         * CONFORMANCE (Compiler limitations): Update.
54861 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54863         * manual/libc.texinfo (VERSION, UPDATED): Revert.
54865 2012-02-21  David S. Miller  <davem@davemloft.net>
54867         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
54868         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54870 2012-02-20  David S. Miller  <davem@davemloft.net>
54872         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
54873         using a normal save/restore sequence, rather than allocating a
54874         dummy stack frame just to store a frame pointer and restore.
54875         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54877 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54879         * manual/install.texi: Fix stray word in line-wrapped comment.
54881 2012-02-20  David S. Miller  <davem@davemloft.net>
54883         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
54884         both binutils and gcc support GOTDATA.
54886         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
54887         "rd %pc" in the PIC register setup sequences.
54889         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
54890         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
54891         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54892         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
54893         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54894         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54895         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54896         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54897         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
54898         (SYSCALL_ERROR_HANDLER): Likewise.
54899         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54900         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54901         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
54902         (SYSCALL_ERROR_HANDLER): Likewise.
54904         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
54905         (HAVE_GCC_GOTDATA): New.
54906         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
54907         relocation support in both binutils and gcc.
54908         * sysdeps/sparc/elf/configure: Regenerate.
54910         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
54911         * sysdeps/sparc/sparc32/elf/configure: Delete.
54912         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
54913         * sysdeps/sparc/sparc64/elf/configure: Delete.
54914         * sysdeps/sparc/elf/configure.in: New file.
54915         * sysdeps/sparc/elf/configure: Generate.
54917         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
54918         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
54919         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
54920         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
54921         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
54923 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54925         * manual/install.texi: Do not mention specific glibc version
54926         numbers.
54927         * manual/libc.texinfo (VERSION, UPDATED): Update.
54928         (@copying): Use @copyright{} and range of years.
54930 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54932         [BZ #13695]
54933         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
54934         [crti.S not in sysdirs] (generated): Do not append.
54935         [crti.S not in sysdirs] (omit-deps): Likewise.
54936         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
54937         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
54938         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
54939         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
54940         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
54941         Likewise.
54942         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
54943         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
54944         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
54945         * csu/defs.awk: Remove file.
54946         * sysdeps/generic/initfini.c: Likewise.
54947         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
54948         variable.
54949         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
54950         Likewise.
54952 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54954         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
54955         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
54956         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
54957         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
54958         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54959         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
54960         <bits/epoll.h>.
54961         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
54962         (__EPOLL_PACKED): Define to empty if not defined by
54963         <bits/epoll.h>.
54964         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
54965         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54966         bits/epoll.h.
54968 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54970         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
54971         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
54972         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
54973         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
54974         <bits/timerfd.h>.
54975         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
54976         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54977         bits/timerfd.h.
54979 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54981         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
54982         in C locale.
54983         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54984         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
54985         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
54986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54988 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
54990         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54991         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54993 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
54995         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
54996         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
54997         defined.
54998         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
54999         Likewise.
55000         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
55001         entry for 2.16.
55003 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
55005         * math/w_acos.c: Use non-signaling floating-point comparisons.
55006         * math/w_acosf.c: Likewise.
55007         * math/w_acosh.c: Likewise.
55008         * math/w_acoshf.c: Likewise.
55009         * math/w_acoshl.c: Likewise.
55010         * math/w_acosl.c: Likewise.
55011         * math/w_asin.c: Likewise.
55012         * math/w_asinf.c: Likewise.
55013         * math/w_asinl.c: Likewise.
55014         * math/w_atanh.c: Likewise.
55015         * math/w_atanhf.c: Likewise.
55016         * math/w_atanhl.c: Likewise.
55017         * math/w_exp2.c: Likewise.
55018         * math/w_exp2f.c: Likewise.
55019         * math/w_exp2l.c: Likewise.
55020         * math/w_j0.c: Likewise.
55021         * math/w_j0f.c: Likewise.
55022         * math/w_j0l.c: Likewise.
55023         * math/w_j1.c: Likewise.
55024         * math/w_j1f.c: Likewise.
55025         * math/w_j1l.c: Likewise.
55026         * math/w_jn.c: Likewise.
55027         * math/w_jnf.c: Likewise.
55028         * math/w_log.c: Likewise.
55029         * math/w_log10.c: Likewise.
55030         * math/w_log10f.c: Likewise.
55031         * math/w_log10l.c: Likewise.
55032         * math/w_log2.c: Likewise.
55033         * math/w_log2f.c: Likewise.
55034         * math/w_log2l.c: Likewise.
55035         * math/w_logf.c: Likewise.
55036         * math/w_logl.c: Likewise.
55037         * math/w_sqrt.c: Likewise.
55038         * math/w_sqrtf.c: Likewise.
55039         * math/w_sqrtl.c: Likewise.
55040         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55041         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
55042         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55043         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55044         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55046 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55048         [BZ #9739]
55049         * manual/string.texi (strnlen): Use correct parameter name in
55050         equivalent expression.
55052 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55054         [BZ #11174]
55055         * manual/users.texi (seteuid): Consistently use neweuid for
55056         argument name.
55058 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55060         [BZ #13704]
55061         * manual/nss.texi (Services in the NSS configuration): Correct
55062         list of services in example configuration file.
55064 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
55066         [BZ #11322]
55067         * manual/arith.texi: Remove statements about negative zero
55068         behaving identically to zero.
55070 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
55072         [BZ #5993]
55073         * manual/install.texi: Do not document upgrading from libc5.
55075 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
55077         [BZ #4596]
55078         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
55080 2012-02-18  David S. Miller  <davem@davemloft.net>
55082         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
55083         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
55084         %o7 across the call.
55085         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
55086         instead.
55087         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
55088         SETUP_PIC_REG_LEAF.
55089         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55090         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
55091         * sysdeps/sparc/crtn.S: Likewise.
55093 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
55095         * aout/Makefile: Remove.
55097 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
55099         [BZ #13058]
55100         * manual/examples/argp-ex1.c (main): Format definition in GNU
55101         style.
55102         * manual/examples/argp-ex2.c (main): Likewise.
55103         * manual/examples/argp-ex3.c (main): Likewise.
55104         * manual/examples/argp-ex4.c (main): Likewise.
55105         * manual/examples/longopt.c (main): Use new-style prototype
55106         definition.
55107         * manual/examples/strncat.c (main): Specify return type and use
55108         (void) for arguments.
55109         * manual/examples/subopt.c (main): Use char **argv argument.
55111 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55113         [BZ #5077]
55114         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
55115         rounding modes.
55117 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
55119         [BZ #6907]
55120         * manual/string.texi (strchr): Change when strchrnul is
55121         recommended.
55123 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
55125         [BZ #174]
55126         * manual/locale.texi (setlocale): Document LOCPATH.
55128 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55130         [BZ #10210]
55131         * manual/process.texi (execle): Move @dots{} before last argument.
55133 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
55135         [BZ #12047]
55136         * manual/charset.texi (Generic Charset Conversion): Fix typo
55137         (LC_TYPE -> LC_CTYPE).
55139 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
55141         [BZ #5805]
55142         * manual/arith.texi (scalbn): Use @var{} on parameter names.
55143         (scalbnf): Likewise.
55144         (scalbnl): Likewise.
55145         (scalbln): Likewise.
55146         (scalblnf): Likewise.
55147         (scalblnl): Likewise.
55148         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
55149         (vwarnx): Likewise.
55150         (verr): Likewise.
55151         (verrx): Likewise.
55152         * manual/filesys.texi (telldir): Use braces around return type.
55153         * manual/llio.texi (mmap): Add space after comma.
55154         (mmap64): Likewise.
55155         * manual/math.texi (jn): Use @var{} on parameter names.
55156         (jnf): Likewise.
55157         (jnl): Likewise.
55158         (yn): Likewise.
55159         (ynf): Likewise.
55160         (ynl): Likewise.
55161         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
55162         line.
55163         * manual/resource.texi (ulimit): Use @dots{} instead of literal
55164         "...".
55165         (sched_get_priority_min): Remove semicolon on @deftypefun line.
55166         (sched_get_priority_max): Likewise.
55167         * manual/signal.texi (sigvec): Add space after comma.
55168         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
55169         names.
55170         (if_indextoname): Likewise.
55171         (if_freenameindex): Likewise.
55172         (sendto): Use ',' instead of '.' in prototype.
55173         * manual/startup.texi (syscall): Use @dots{} instead of literal
55174         "...".
55175         * manual/stdio.texi (__fpending): Separate initial words of
55176         paragraph from @deftypefun line.
55177         * manual/syslog.texi (syslog): Use @dots{} instead of literal
55178         "...".
55179         (vsyslog): Use @var{} on parameter names.
55180         * manual/terminal.texi (stty): Use @var{} on parameter names.
55181         * manual/users.texi (getutmp): Use @var{} on parameter names.
55182         (getutmpx): Likewise.
55184 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55186         [BZ #6884]
55187         * manual/stdio.texi (fopen): Fix typos in description of
55188         ",ccs=STRING".
55190 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
55192         [BZ #4026]
55193         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
55194         get clock_id definition.
55196 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
55198         [BZ #4822]
55199         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
55200         (madvise): Cast every argument to void on its own.
55202 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55204         [BZ #9902]
55205         * manual/startup.texi (Exit Status): Fix typo.
55207 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55209         [BZ #10140]
55210         * manual/examples/argp-ex1.c: Include <stdlib.h>.
55211         * manual/examples/argp-ex2.c: Likewise.
55212         * manual/examples/argp-ex3.c: Likewise.
55214 2012-02-16  Richard Henderson  <rth@redhat.com>
55216         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
55217         * sysdeps/s390/s390-32/initfini.c: Remove.
55218         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
55219         * sysdeps/s390/s390-64/initfini.c: Remove.
55221 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55223         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
55224         compiler output for sysdeps/generic/initfini.c.
55225         * sysdeps/sh/elf/initfini.c: Remove file.
55227 2012-02-16  David S. Miller  <davem@davemloft.net>
55229         [BZ #11494]
55230         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
55232         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
55233         * sysdeps/sparc/crti.S: New file.
55234         * sysdeps/sparc/crtn.S: New file.
55235         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
55236         * sysdeps/sparc/sparc64/Makefile: Likewise.
55238 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
55240         [BZ #3335]
55241         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
55243 2012-02-15  Roland McGrath  <roland@hack.frob.com>
55245         [BZ #4822]
55246         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
55248         * mach/devstream.c (cookie_io_functions_t): Macro removed.
55249         (write, read, close): Likewise.
55250         Patch by Aurelien Jarno <aurelien@aurel32.net>.
55252 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
55254         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
55255         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
55256         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
55257         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
55258         <bits/signalfd.h>.
55259         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
55260         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55261         bits/signalfd.h.
55263 2012-02-14  Marek Polacek  <polacek@redhat.com>
55265         * sysdeps/x86_64/crti.S: New file.
55266         * sysdeps/x86_64/crtn.S: New file.
55267         * sysdeps/x86_64/elf/initfini.c: Remove file.
55269 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
55271         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
55272         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
55273         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
55274         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
55275         <bits/inotify.h>.
55276         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
55277         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55278         bits/inotify.h.
55280 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
55282         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
55283         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
55284         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
55285         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
55286         <bits/eventfd.h>.
55287         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
55288         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55289         bits/eventfd.h.
55291 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
55293         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
55294         __feraiseexcept instead of feraiseexcept.
55296         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
55297         nanosleep invocations.
55298         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
55299         strings, and add error checking for a nanosleep invocations.
55301 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
55303         Replace FSF snail mail address with URLs, as per GNU coding standards.
55304         Most of the snail mail addresses were wrong anyway, and omitting
55305         them makes the source code easier to maintain.  Almost all of the
55306         changes are to license notices and to locale LC_IDENTIFICATION
55307         addresses, except for this one:
55308         * manual/libc.texinfo: In "Published by", give the FSF's URL,
55309         not its snail mail address.
55311 2012-02-09  Richard Henderson  <rth@twiddle.net>
55313         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
55314         of kernel-features.h.
55316         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
55318 2012-02-08  Marek Polacek  <polacek@redhat.com>
55320         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
55321         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
55322         * sysdeps/gnu/_G_config.h: Likewise.
55323         * sysdeps/generic/_G_config.h: Likewise.
55325 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
55327         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
55328         tests.
55329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55331         * sysdeps/powerpc/powerpc32/crti.S: New file.
55332         * sysdeps/powerpc/powerpc32/crtn.S: New file.
55333         * sysdeps/powerpc/powerpc64/crti.S: New file.
55334         * sysdeps/powerpc/powerpc64/crtn.S: New file.
55336         * Makeconfig (have-initfini): Don't set.
55337         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
55338         * configure.in (nopic_initfini): Don't substitute.
55339         * config.h.in (HAVE_INITFINI): Don't #undef.
55340         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
55341         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
55343 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
55345         Support crti.S and crtn.S provided directly by architectures.
55346         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
55347         [crti.S in sysdirs] (omit-deps): Likewise.
55348         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
55349         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
55350         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
55351         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
55352         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
55353         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
55354         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
55355         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
55356         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
55357         compiler output for sysdeps/generic/initfini.c.
55358         * sysdeps/i386/elf/Makefile: Remove file.
55359         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
55361 2012-02-07  Marek Polacek  <polacek@redhat.com>
55363         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
55364         * sysdeps/gnu/_G_config.h: Likewise.
55365         * sysdeps/mach/hurd/_G_config.h: Likewise.
55367 2012-02-07  Marek Polacek  <polacek@redhat.com>
55369         * math/Makefile (tests): Add tst-CMPLX2.
55370         * math/tst-CMPLX2.c: New file.
55372 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
55374         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55376         * math/libm-test.inc (jn_test): Add missing L suffix.
55378 2012-02-06  Marek Polacek  <polacek@redhat.com>
55380         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
55381         * sysdeps/i386/fpu/e_powf.S: Likewise.
55382         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55383         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
55384         * sysdeps/i386/fpu/e_acosh.S: Likewise.
55385         * sysdeps/i386/fpu/e_pow.S: Likewise.
55386         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
55387         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55388         * sysdeps/i386/fpu/s_expm1.S: Likewise.
55389         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
55390         * sysdeps/i386/fpu/e_log2.S: Likewise.
55391         * sysdeps/i386/fpu/e_log2l.S: Likewise.
55392         * sysdeps/i386/fpu/e_scalb.S: Likewise.
55393         * sysdeps/i386/fpu/e_powl.S: Likewise.
55394         * sysdeps/i386/fpu/s_log1p.S: Likewise.
55395         * sysdeps/i386/fpu/e_log10f.S: Likewise.
55396         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
55397         * sysdeps/i386/fpu/e_logl.S: Likewise.
55398         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
55399         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
55400         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
55401         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
55402         * sysdeps/i386/fpu/e_log2f.S: Likewise.
55403         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55404         * sysdeps/i386/fpu/e_log.S: Likewise.
55405         * sysdeps/i386/fpu/s_cexp.S: Likewise.
55406         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55407         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
55408         * sysdeps/i386/fpu/e_logf.S: Likewise.
55409         * sysdeps/i386/fpu/e_log10l.S: Likewise.
55410         * sysdeps/i386/fpu/e_atanh.S: Likewise.
55411         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
55412         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
55413         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
55414         * sysdeps/i386/fpu/e_log10.S: Likewise.
55415         * sysdeps/i386/fpu/s_frexp.S: Likewise.
55416         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55417         * sysdeps/i386/fpu/s_asinh.S: Likewise.
55418         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
55419         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55420         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
55421         * sysdeps/i386/asm-syntax.h: Likewise.
55422         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55423         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55424         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55425         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
55426         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
55427         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55428         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
55429         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
55430         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55431         * sysdeps/powerpc/sysdep.h: Likewise.
55432         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
55433         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55435 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
55437         [BZ #411]
55438         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
55440 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
55442         * sysdeps/i386/sysdep.h: Include <features.h>.
55443         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
55444         version.
55446 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
55448         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
55449         Define.
55450         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
55451         LOAD_PIC_REG_STR.
55453 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55455         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
55456         (SETUP_PIC_REG): Use GET_PC_THUNK.
55457         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
55458         macro.
55460 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55462         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
55463         for non-PIC compilation.
55464         (SETUP_PIC_REG): Add .p2align directive.
55465         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
55466         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
55467         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
55468         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
55469         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
55470         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
55471         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
55472         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55473         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
55474         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
55475         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
55476         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
55477         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
55478         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
55479         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
55480         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
55481         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
55482         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
55483         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
55484         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
55485         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
55486         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
55487         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
55488         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
55489         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
55490         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
55491         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55492         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
55493         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
55494         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
55495         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
55496         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55497         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
55498         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
55499         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
55500         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
55501         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
55502         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
55503         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
55504         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
55505         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
55507 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55509         * math/tst-CMPLX.c: Include <stdio.h>.
55511 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
55513         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
55514         float.
55515         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55516         * sysdeps/sparc/bits/mathdef.h: Likewise.
55518 2012-01-31  Marek Polacek  <polacek@redhat.com>
55520         * libio/libio.h: Don't define _PARAMS.
55521         * locale/programs/config.h: Don't define PARAMS.
55522         * stdlib/strtol_l.c: Likewise.
55523         (__strtol_l): Remove PARAMS from the prototype.
55525 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
55527         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
55528         names.  Just use the correct names.  Remove unnecessary wrapper
55529         functions.
55530         * malloc/arena.c: Likewise.
55531         * malloc/hooks.c: Likewise.
55533         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
55534         ARENA_TEST says not to.  Simplify test for creation of a new arena.
55535         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
55537 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
55539         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
55540         into tail calls.
55541         (update_get_addr): New function.
55542         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
55543         GET_ADDR_MODULE parameter.
55545 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
55547         * crypt/cert.c: Remove __STDC__ conditionals.
55548         * crypt/crypt-entry.c: Likewise.
55549         * crypt/crypt_util.c: Likewise.
55550         * libio/filedoalloc.c: Likewise.
55551         * libio/fileops.c: Likewise.
55552         * libio/genops.c: Likewise.
55553         * libio/iofclose.c: Likewise.
55554         * libio/iofdopen.c: Likewise.
55555         * libio/iofopen.c: Likewise.
55556         * libio/iofopen64.c: Likewise.
55557         * libio/iogetdelim.c: Likewise.
55558         * libio/iopopen.c: Likewise.
55559         * libio/obprintf.c: Likewise.
55560         * libio/oldfileops.c: Likewise.
55561         * libio/oldiofclose.c: Likewise.
55562         * libio/oldiofdopen.c: Likewise.
55563         * libio/oldiofopen.c: Likewise.
55564         * libio/oldiopopen.c: Likewise.
55565         * libio/wfiledoalloc.c: Likewise.
55566         * libio/wgenops.c: Likewise.
55567         * locale/programs/xmalloc.c: Likewise.
55568         * misc/syslog.c: Likewise.
55569         * stdio-common/xbug.c: Likewise.
55570         * string/memchr.c: Likewise.
55571         * string/memcmp.c: Likewise.
55572         * string/memrchr.c: Likewise.
55573         * string/rawmemchr.c: Likewise.
55574         * sysdeps/posix/getcwd.c: Likewise.
55575         * time/strftime_l.c: Likewise.
55577 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
55579         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
55580         * config.make.in (config-cflags-sse2avx): Define.
55581         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
55582         Fix typo.
55584 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
55586         * scripts/config.guess: Update from upstream config git repository.
55587         * scripts/config.sub: Likewise.
55589 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
55591         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
55592         (EM_NUM): Update.
55593         (R_TILEPRO_*, R_TILEGX_*): New macros.
55595         * scripts/firstversions.awk: Fix bug in version range handling.
55597         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
55599         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
55601         * include/sys/epoll.h: New file.
55602         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
55603         libc_hidden_def.
55605 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
55607         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
55608         Avoid unnecessary __WORDSIZE == 64 test.
55609         (fmaxf): Use VEX format if possible.
55610         (fmax): Likewise.
55611         (fminf): Likewise.
55612         (fmin): Likewise.
55614         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
55615         * math/math_private.h: Remove libc_fegetround* and
55616         libc_fesetround*.
55617         * sysdeps/i386/configure.in: Check for -msse2avx.
55618         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
55619         also if SSE2AVX is defined.
55620         Remove libc_fegetround* and libc_fesetround*.
55621         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
55622         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
55623         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
55624         of HAS_YMM_USABLE.
55625         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55626         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55627         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55628         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55629         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55631         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
55633 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55635         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
55636         size is not set.
55637         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55639 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
55641         [BZ #13618]
55642         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
55643         relocation.
55644         * Makeconfig (libm): Define.
55645         * elf/Makefile: Add rules to build and run tst-relsort1.
55646         * elf/tst-relsort1.c: New file.
55647         * elf/tst-relsort1mod1.c: New file.
55648         * elf/tst-relsort1mod2.c: New file.
55650 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
55652         * math/s_ldexp.c: Remove __STDC__ conditionals.
55653         * math/s_ldexpf.c: Likewise.
55654         * math/s_ldexpl.c: Likewise.
55655         * math/s_nextafter.c: Likewise.
55656         * math/s_nexttowardf.c: Likewise.
55657         * math/s_significand.c: Likewise.
55658         * math/s_significandf.c: Likewise.
55659         * math/s_significandl.c: Likewise.
55660         * math/w_jnl.c: Likewise.
55661         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55662         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55663         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55664         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55665         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55666         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55667         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
55668         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55669         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55670         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55671         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55672         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55673         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55674         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55675         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55676         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55677         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55678         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55679         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55680         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55681         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55682         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55683         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55684         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55685         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55686         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55687         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55688         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55689         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55690         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55691         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55692         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55693         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55694         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
55695         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55696         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55697         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55698         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55699         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55700         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55701         * sysdeps/ieee754/k_standard.c: Likewise.
55702         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55703         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55704         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55705         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55706         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55707         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55708         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55709         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55710         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55711         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55712         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55713         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55714         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55715         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55716         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55717         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55718         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55719         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55720         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55721         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55722         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55723         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55724         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55725         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55726         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55727         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55728         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55729         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55730         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55731         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
55732         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
55733         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
55734         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
55735         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
55736         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
55737         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
55738         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
55739         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
55740         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
55741         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
55742         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
55743         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
55744         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
55745         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
55746         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
55747         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
55748         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
55749         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55750         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55751         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
55752         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
55753         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55754         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55755         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55756         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55757         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55758         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
55759         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55760         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55761         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55762         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55763         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55764         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55765         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55766         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55767         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55768         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55769         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55770         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55771         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55772         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55773         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55774         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55775         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55776         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55777         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55778         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55779         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55780         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55781         * sysdeps/ieee754/s_matherr.c: Likewise.
55782         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55783         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55784         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55785         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55787 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
55789         * crypt/md5.h: Remove __STDC__ conditionals.
55790         * libio/libioP.h: Likewise.
55791         * locale/programs/config.h: Likewise.
55792         * sysdeps/generic/sysdep.h: Likewise.
55793         * sysdeps/i386/asm-syntax.h: Likewise.
55794         * sysdeps/s390/asm-syntax.h: Likewise.
55795         * sysdeps/unix/sysdep.h: Likewise.
55796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
55797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55799 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
55801         * libio/libio.h: Remove __STDC__ conditionals.
55802         * malloc/obstack.h: Likewise.
55803         * math/complex.h: Likewise.
55804         * math/math.h: Likewise.
55805         * sysdeps/generic/_G_config.h: Likewise.
55806         * sysdeps/gnu/_G_config.h: Likewise.
55807         * sysdeps/mach/hurd/_G_config.h: Likewise.
55808         * sysdeps/powerpc/bits/mathdef.h: Likewise.
55809         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55810         * sysdeps/sparc/bits/mathdef.h: Likewise.
55812 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
55814         [BZ #13583]
55815         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
55816         Clean up HAS_* macros.
55817         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
55818         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
55819         possible.
55820         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
55821         HAS_AVX.
55822         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55823         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55824         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55825         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55826         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55828 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
55830         * elf/tst-unique3.cc (gets): Remove declaration.
55831         * elf/tst-unique3lib.cc (gets): Likewise.
55832         * elf/tst-unique3lib2.cc (gets): Likewise.
55833         * elf/tst-unique4.cc (gets): Likewise.
55835 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
55837         * include/stdio.h: Add C++ protection.  Add gets declarations and
55838         definitions.
55839         * debug/tst-chk1.c: Don't declare gets here.
55840         * stdio-common/tst-gets.c: Likewise.
55842 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
55844         * posix/glob: Remove directory.
55846 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
55848         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
55850 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
55852         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
55853         of the non-standard EPFNOSUPPORT.
55855 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55857         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
55858         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
55859         ANYWHERE set to 1 only on KERN_NO_SPACE error.
55861 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
55863         * wcsmbs/uchar.h: Test __STDC_VERSION__.
55865 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
55867         * nscd/aicache.c (addhstaiX): Do not cache negative results of
55868         transient errors.
55869         * nscd/grpcache.c (cache_addgr): Likewise.
55870         * nscd/hstcache.c (cache_addhst): Likewise.
55871         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55872         * nscd/pwdcache.c (cache_addpw): Likewise.
55873         * nscd/servicescache.c (cache_addserv): Likewise.
55875 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
55877         * malloc/malloc.c: Various cleanups.
55878         * malloc/hooks.c: Likewise.
55880         * stdlib/Makefile (tests): Add bug-fmtmsg1.
55881         * stdlib/bug-fmtmsg1.c: New file.
55883         * stdlib/fmtmsg.c (init): Add missing unlock.
55884         Patch by Peng Haitao <penght@cn.fujitsu.com>.
55886 2012-01-12  Marek Polacek  <polacek@redhat.com>
55888         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
55889         and _GNU_SOURCE.
55891 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
55893         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
55894         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
55895         macro to ensure uniqueness of label name.
55896         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55897         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55899 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
55901         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
55903         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
55904         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55905         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55906         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
55908 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
55910         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
55912         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
55913         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55914         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55916         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
55918         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
55919         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55920         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55921         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
55923         * math/bits/math-finite.h: Add ldexp support.
55925 2012-01-10  Marek Polacek  <polacek@redhat.com>
55927         * locale/programs/localedef.h (show_archive_content): Add noreturn
55928         attribute.
55930 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
55932         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
55934 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55936         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
55938         * io/Makefile (headers): Add bits/poll2.h.
55940 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
55942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
55943         typo #include statement.
55945 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55947         * include/sys/cdefs.h: Define __attribute_alloc_size.
55948         * catgets/gencat.c: Add alloc_size attribute and apply consistently
55949         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
55950         * elf/pldd.c: Likewise.
55951         * iconv/iconv_charmap.c: Likewise.
55952         * iconv/iconvconfig.c: Likewise.
55953         * iconv/strtab.c: Likewise.
55954         * locale/programs/locale.c: Likewise.
55955         * locale/programs/localedef.h: Likewise.
55956         * locale/programs/simple-hash.c: Likewise.
55957         * nscd/nscd.h: Likewise.
55958         * nss/makedb.c: Likewise.
55959         * sysdeps/generic/ldconfig.h: Likewise.
55960         * locale/programs/localedef.c: Remove xmalloc prototype.
55961         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
55963 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
55965         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
55966         appropriate.
55968 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55970         * math/Makefile (tests): Add tst-CMPLX.
55971         * math/tst-CMPLX.c: New file.
55973         * math/complex.h (CMPLXL): Fix typo.
55975         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
55976         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
55977         GLIBC_2.16.
55978         * debug/tst-chk1.c: Add poll and ppoll tests.
55979         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
55980         * include/sys/poll.h: Add hidden proto for ppoll.
55981         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
55982         * sysdeps/mach/hurd/ppoll.c: Likewise.
55983         * io/ppoll.c: Likewise.
55984         * debug/poll_chk.c: New file.
55985         * debug/ppoll_chk.c: New file.
55986         * include/bits/poll2.h: New file.
55987         * io/bits/poll2.h: New file.
55989         [BZ #1350]
55990         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
55992         * configure.in: static is always set to yes.  Remove.
55993         * config.make.in: Don't set build-static.
55994         * Makeconfig: Remove use of build-static.
55995         * dlfcn/Makefile: Likewise.
55996         * elf/Makefile: Likewise.
55997         * math/Makefile: Likewise.
55998         * misc/Makefile: Likewise.
55999         * nptl/Makefile: Likewise.
56000         * sysdeps/mach/hurd/Makefile: Likewise.
56002         * configure.in: PWD_P is not used anymore.
56003         * config.make.in: Remove PWD_P entry.
56005         * configure.in: Remove last remnants of RANLIB.
56006         No need to check for signed size_t anymore.
56007         Don't set libc_commonpagesize and libc_relro_required here for Alpha
56008         and IA-64.
56009         Remove __builtin_expect test because we require at least gcc 3.4.
56010         * aclocal.m4: Likewise.
56012         * wcsmbs/mbrtoc16.c: Implement using towc function.
56013         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
56014         * wcsmbs/wcsmbsload.c: Likewise.
56015         * iconv/gconv_simple.c: Likewise.
56016         * iconv/gconv_int.h: Likewise.
56017         * iconv/gconv_builtin.h: Likewise.
56018         * iconv/iconv_prog.c: Remove CHAR16 handling.
56020         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
56022         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
56024         * configure.in: Remove --with-elf and --enable-bounded options.
56025         Dont set base_machine for ia64.  More non-ELF conditions removed.
56026         Remove testing and setting of leading underscore information.
56027         * config.make.in (build-bounded): Set to no.
56028         * config.h.in: Remove NO_UNDERSCORES entry.
56029         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
56030         them.
56031         * csu/start.c: Remove !NO_UNDERSCORE code.
56032         * locale/localeinfo.h: Likewise.
56033         * sysdeps/generic/machine-gmon.h: Likewise.
56034         * sysdeps/generic/sysdep.h: Likewise.
56035         * sysdeps/i386/sysdep.h: Likewise.
56036         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56037         * sysdeps/mach/sysdep.h: Likewise.
56038         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56039         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56040         * sysdeps/sh/sysdep.h: Likewise.
56041         * sysdeps/sparc/sparc32/alloca.S: Likewise.
56042         * sysdeps/unix/i386/sysdep.S: Likewise.
56043         * sysdeps/unix/sparc/start.c: Likewise.
56044         * sysdeps/unix/sparc/sysdep.S: Likewise.
56045         * sysdeps/unix/sparc/sysdep.h: Likewise.
56046         * sysdeps/unix/start.c: Likewise.
56047         * sysdeps/unix/x86_64/sysdep.S: Likewise.
56048         * sysdeps/x86_64/sysdep.h: Likewise.
56050 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
56052         [BZ #13553]
56053         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
56054         for non-gcc.
56055         * argp/argp-fmtstream.h: Use const instead __const.
56056         * argp/argp.h: Likewise.
56057         * assert/assert.h: Likewise.
56058         * bits/fenv.h: Likewise.
56059         * bits/sched.h: Likewise.
56060         * bits/sigset.h: Likewise.
56061         * bits/sigthread.h: Likewise.
56062         * catgets/nl_types.h: Likewise.
56063         * conform/data/pthread.h-data: Likewise.
56064         * crypt/crypt-private.h: Likewise.
56065         * crypt/crypt.h: Likewise.
56066         * crypt/crypt_util.c: Likewise.
56067         * ctype/ctype.h: Likewise.
56068         * debug/execinfo.h: Likewise.
56069         * debug/mbsnrtowcs_chk.c: Likewise.
56070         * debug/mbsrtowcs_chk.c: Likewise.
56071         * debug/wcsnrtombs_chk.c: Likewise.
56072         * debug/wcsrtombs_chk.c: Likewise.
56073         * debug/wcstombs_chk.c: Likewise.
56074         * dirent/dirent.h: Likewise.
56075         * dlfcn/dlfcn.h: Likewise.
56076         * elf/neededtest4.c: Likewise.
56077         * grp/grp.h: Likewise.
56078         * gshadow/gshadow.h: Likewise.
56079         * iconv/gconv.h: Likewise.
56080         * iconv/gconv_int.h: Likewise.
56081         * iconv/gconv_simple.c: Likewise.
56082         * iconv/iconv.h: Likewise.
56083         * iconv/loop.c: Likewise.
56084         * iconv/skeleton.c: Likewise.
56085         * include/aio.h: Likewise.
56086         * include/aliases.h: Likewise.
56087         * include/argz.h: Likewise.
56088         * include/arpa/inet.h: Likewise.
56089         * include/assert.h: Likewise.
56090         * include/dirent.h: Likewise.
56091         * include/dlfcn.h: Likewise.
56092         * include/execinfo.h: Likewise.
56093         * include/fcntl.h: Likewise.
56094         * include/fenv.h: Likewise.
56095         * include/glob.h: Likewise.
56096         * include/grp.h: Likewise.
56097         * include/libintl.h: Likewise.
56098         * include/mntent.h: Likewise.
56099         * include/netdb.h: Likewise.
56100         * include/pwd.h: Likewise.
56101         * include/rpc/netdb.h: Likewise.
56102         * include/sched.h: Likewise.
56103         * include/search.h: Likewise.
56104         * include/shadow.h: Likewise.
56105         * include/signal.h: Likewise.
56106         * include/stdio.h: Likewise.
56107         * include/stdlib.h: Likewise.
56108         * include/string.h: Likewise.
56109         * include/sys/socket.h: Likewise.
56110         * include/sys/stat.h: Likewise.
56111         * include/sys/statfs.h: Likewise.
56112         * include/sys/statvfs.h: Likewise.
56113         * include/sys/syslog.h: Likewise.
56114         * include/sys/time.h: Likewise.
56115         * include/sys/uio.h: Likewise.
56116         * include/time.h: Likewise.
56117         * include/unistd.h: Likewise.
56118         * include/utmp.h: Likewise.
56119         * include/wchar.h: Likewise.
56120         * include/wctype.h: Likewise.
56121         * inet/aliases.h: Likewise.
56122         * inet/arpa/inet.h: Likewise.
56123         * inet/netinet/ether.h: Likewise.
56124         * inet/netinet/in.h: Likewise.
56125         * intl/libintl.h: Likewise.
56126         * io/bits/fcntl2.h: Likewise.
56127         * io/fcntl.h: Likewise.
56128         * io/ftw.h: Likewise.
56129         * io/sys/poll.h: Likewise.
56130         * io/sys/stat.h: Likewise.
56131         * io/sys/statfs.h: Likewise.
56132         * io/sys/statvfs.h: Likewise.
56133         * io/utime.h: Likewise.
56134         * libio/bits/stdio.h: Likewise.
56135         * libio/bits/stdio2.h: Likewise.
56136         * libio/libio.h: Likewise.
56137         * libio/libioP.h: Likewise.
56138         * libio/stdio.h: Likewise.
56139         * locale/lc-ctype.c: Likewise.
56140         * locale/locale.h: Likewise.
56141         * login/utmp.h: Likewise.
56142         * malloc/arena.c: Likewise.
56143         * malloc/malloc.c: Likewise.
56144         * malloc/malloc.h: Likewise.
56145         * malloc/mcheck.c: Likewise.
56146         * malloc/mtrace.c: Likewise.
56147         * math/bits/mathcalls.h: Likewise.
56148         * math/fenv.h: Likewise.
56149         * math/math_private.h: Likewise.
56150         * misc/bits/error.h: Likewise.
56151         * misc/bits/syslog.h: Likewise.
56152         * misc/err.h: Likewise.
56153         * misc/error.h: Likewise.
56154         * misc/fstab.h: Likewise.
56155         * misc/mntent.h: Likewise.
56156         * misc/regexp.h: Likewise.
56157         * misc/search.h: Likewise.
56158         * misc/sgtty.h: Likewise.
56159         * misc/sys/mman.h: Likewise.
56160         * misc/sys/syslog.h: Likewise.
56161         * misc/sys/uio.h: Likewise.
56162         * misc/sys/xattr.h: Likewise.
56163         * misc/ttyent.h: Likewise.
56164         * nis/rpcsvc/ypclnt.h: Likewise.
56165         * nss/nss.h: Likewise.
56166         * posix/bits/unistd.h: Likewise.
56167         * posix/fnmatch.h: Likewise.
56168         * posix/glob.h: Likewise.
56169         * posix/sched.h: Likewise.
56170         * posix/spawn.h: Likewise.
56171         * posix/sys/wait.h: Likewise.
56172         * posix/unistd.h: Likewise.
56173         * posix/wordexp.h: Likewise.
56174         * pwd/pwd.h: Likewise.
56175         * resolv/netdb.h: Likewise.
56176         * resource/sys/resource.h: Likewise.
56177         * rt/aio.h: Likewise.
56178         * rt/bits/mqueue2.h: Likewise.
56179         * rt/mqueue.h: Likewise.
56180         * shadow/shadow.h: Likewise.
56181         * signal/signal.h: Likewise.
56182         * socket/send.c: Likewise.
56183         * socket/sendto.c: Likewise.
56184         * socket/sys/socket.h: Likewise.
56185         * stdio-common/printf.h: Likewise.
56186         * stdlib/bits/stdlib.h: Likewise.
56187         * stdlib/fmtmsg.h: Likewise.
56188         * stdlib/monetary.h: Likewise.
56189         * stdlib/stdlib.h: Likewise.
56190         * stdlib/ucontext.h: Likewise.
56191         * streams/stropts.h: Likewise.
56192         * string/argz.h: Likewise.
56193         * string/bits/string2.h: Likewise.
56194         * string/string.h: Likewise.
56195         * string/strings.h: Likewise.
56196         * sunrpc/rpc/auth.h: Likewise.
56197         * sunrpc/rpc/auth_des.h: Likewise.
56198         * sunrpc/rpc/clnt.h: Likewise.
56199         * sunrpc/rpc/netdb.h: Likewise.
56200         * sunrpc/rpc/pmap_clnt.h: Likewise.
56201         * sunrpc/rpc/xdr.h: Likewise.
56202         * sysdeps/generic/inttypes.h: Likewise.
56203         * sysdeps/generic/net/if.h: Likewise.
56204         * sysdeps/generic/sys/swap.h: Likewise.
56205         * sysdeps/gnu/net/if.h: Likewise.
56206         * sysdeps/gnu/utmpx.h: Likewise.
56207         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
56208         * sysdeps/i386/i486/bits/string.h: Likewise.
56209         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
56210         * sysdeps/s390/bits/string.h: Likewise.
56211         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
56212         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
56213         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
56214         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
56215         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
56216         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
56217         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
56218         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
56219         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
56220         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
56221         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
56222         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
56223         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
56224         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
56225         * sysdeps/unix/sysv/linux/readv.c: Likewise.
56226         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
56227         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
56228         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56229         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
56230         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
56231         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56232         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
56233         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
56234         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
56235         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
56236         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
56237         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
56238         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56239         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
56240         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
56241         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
56242         * sysvipc/sys/ipc.h: Likewise.
56243         * sysvipc/sys/msg.h: Likewise.
56244         * sysvipc/sys/sem.h: Likewise.
56245         * sysvipc/sys/shm.h: Likewise.
56246         * termios/termios.h: Likewise.
56247         * time/sys/time.h: Likewise.
56248         * time/time.h: Likewise.
56249         * wcsmbs/bits/wchar2.h: Likewise.
56250         * wcsmbs/uchar.h: Likewise.
56251         * wcsmbs/wchar.h: Likewise.
56252         * wctype/wctype.h: Likewise.
56254         [BZ #13551]
56255         * Makeconfig: Remove all but ELF support including AIX support.
56256         * Makerules: Likewise.
56257         * config.h.in: Likewise.
56258         * config.make.in: Likewise.
56259         * configure: Likewise.
56260         * configure.in: Likewise.
56261         * csu/Makefile: Likewise.
56262         * csu/version.c: Likewise.
56263         * debug/Makefile: Likewise.
56264         * dlfcn/Makefile: Likewise.
56265         * elf/Makefile: Likewise.
56266         * extra-lib.mk: Likewise.
56267         * iconv/Makefile: Likewise.
56268         * include/libc-symbols.h: Likewise.
56269         * include/shlib-compat.h: Likewise.
56270         * resolv/Makefile: Likewise.
56271         * resolv/res_libc.c: Likewise.
56272         * rt/Makefile: Likewise.
56273         * sysdeps/i386/asm-syntax.h: Likewise.
56274         * sysdeps/i386/sysdep.h: Likewise.
56275         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56276         * sysdeps/mach/sysdep.h: Likewise.
56277         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
56278         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
56279         * sysdeps/s390/asm-syntax.h: Likewise.
56280         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56281         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56282         * sysdeps/sh/sysdep.h: Likewise.
56283         * sysdeps/unix/sparc/sysdep.h: Likewise.
56284         * sysdeps/wordsize-32/divdi3.c: Likewise.
56285         * sysdeps/x86_64/sysdep.h: Likewise.
56287         * argp/Versions: Remove _argp_unlock_xxx.
56289         [BZ #13559]
56290         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
56291         * abilist/libBrokenLocale.abilist: Likewise.
56292         * abilist/libanl.abilist: Likewise.
56293         * abilist/libc.abilist: Likewise.
56294         * abilist/libcrypt.abilist: Likewise.
56295         * abilist/libdl.abilist: Likewise.
56296         * abilist/libm.abilist: Likewise.
56297         * abilist/libnsl.abilist: Likewise.
56298         * abilist/libpthread.abilist: Likewise.
56299         * abilist/libresolv.abilist: Likewise.
56300         * abilist/librt.abilist: Likewise.
56301         * abilist/libthread_db.abilist: Likewise.
56302         * abilist/libutil.abilist: Likewise.
56303         * abilist/libnss_db.abilist: New file.
56305         * scripts/abilist.awk: Add support for indirect functions.
56307         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
56309         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
56311         * shlib-versions: Remove entries for ports architectures.
56313         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
56314         files in ports.
56315         * elf/stackguard-macros.h: Remove support for IA-64.
56316         * elf/tst-auditmod1.c: Likewise.
56317         * sysdeps/generic/ldsodefs.h: Likewise.
56319         * sysdeps/unix/sysv/linux/configure.in: Ports should define
56320         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
56321         configure files.
56323         [BZ #13552]
56324         * configure.in: Remove --enable-omitfp support.
56325         * FAQ.in: Adjust.
56326         * config.make.in: Likewise.
56327         * Makeconfig: Likewise.
56328         * manual/install.texi: Likewise.
56330         In case anyone cares, the IA-64 architecture could move to ports.
56331         * sysdeps/ia64/*: Removed.
56332         * sysdeps/unix/sysv/linux/ia64/*: Removed.
56333         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
56335         [BZ #13555]
56336         * configure.in: Remove entries for unsupported architectures.
56338         [BZ #13533]
56339         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
56340         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
56341         routines.
56342         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
56343         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
56344         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
56345         fall back to using wcrtomb.
56346         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
56347         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
56348         renaming.
56349         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
56350         * wcsmbs/tst-c16c32-1.c: New file.
56352         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
56353         local variable.
56355         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
56357         * elf/tst-unique3.cc: Add explicit declaration of gets.
56358         * elf/tst-unique3lib.cc: Likewise.
56359         * elf/tst-unique3lib2.cc: Likewise.
56360         * elf/tst-unique4.cc: Likewise.
56362         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
56364 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
56366         [BZ #13566]
56367         * assert/assert.h (static_assert): Don't define for C++.
56368         * libio/stdio.h (gets): Do declare for C++ <= C++11.
56369         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
56371 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
56373         * iconv/loop.c (single loop): Fix assertion in storing of
56374         remaining bytes.
56376         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
56378 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
56380         * posix/getconf.c: Update copyright year.
56381         * nss/getent.c: Likewise.
56382         * nss/makedb.c: Likewise.
56383         * iconv/iconvconfig.c: Likewise.
56384         * iconv/iconv_prog.c: Likewise.
56385         * elf/ldconfig.c: Likewise.
56386         * elf/pldd.c: Likewise.
56387         * elf/sotruss.ksh: Likewise.
56388         * catgets/gencat.c: Likewise.
56389         * csu/version.c: Likewise.
56390         * elf/ldd.bash.in: Likewise.
56391         * elf/sprof.c (print_version): Likewise.
56392         * locale/programs/locale.c: Likewise.
56393         * locale/programs/localedef.c: Likewise.
56394         * login/programs/pt_chown.c: Likewise.
56395         * nscd/nscd.c (print_version): Likewise.
56396         * debug/xtrace.sh: Likewise.
56397         * malloc/memusage.sh: Likewise.
56398         * malloc/mtrace.pl: Likewise.
56399         * debug/catchsegv.sh: Likewise.
56401 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
56403         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
56404         pure attribute.
56406 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
56408         [BZ #13533]
56409         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
56410         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
56411         transformations.
56412         * iconv/gconv_int.h: Likewise.
56413         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
56414         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
56415         from libc for GLIBC_2.16.
56416         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
56417         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
56418         * wcsmbs/uchar.h: Really define mbstate_t.
56419         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
56420         * wcsmbs/c16rtomb.c: New file.
56421         * wcsmbs/mbrtoc16.c: New file.
56422         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
56423         for C/POSIX locale.
56424         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
56425         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
56427         * wcsmbs/wchar.h: Add missing __restrict.
56429 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
56431         [BZ #13532]
56432         * time/Makefile (routines): Add timespec_get.
56433         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
56434         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
56435         timespec for ISO C11.
56436         * time/timespec_get.c: New file.
56437         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
56438         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
56440         [BZ #13531]
56441         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
56442         * stdlib/stdlib.h: Declare aligned_alloc.
56443         * Versions.def: Add GLIBC_2.16 for libc.
56444         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
56446         [BZ 13527]
56447         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
56448         ISO C11.
56450         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
56451         code.
56453         [BZ #13528]
56454         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
56456         [BZ #13529]
56457         * assert/assert.h (static_assert): Define.
56459         * version.h: Update for 2.16 development version.
56461         [BZ #13526]
56462         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
56463         _ISOC11_SOURCE.
56465         * version.h (RELEASE): Bump for 2.15 release.
56466         * include/features.h (__GLIBC_MINOR__): Bump to 15.
56468         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
56469         Patch by Marek Polacek <mpolacek@redhat.com>.
56471         * bits/byteswap.h: Protect long long constants with __extension__.
56472         * sysdeps/i386/bits/byteswap.h: Likewise.
56473         * sysdeps/ia64/bits/byteswap.h: Likewise.
56474         * sysdeps/s390/bits/byteswap.h: Likewise.
56475         * sysdeps/x86_64/bits/byteswap.h: Likewise.
56477 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56479         [BZ #13540]
56480         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
56481         destination buffer.
56482         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
56484 2011-12-23  Marek Polacek  <polacek@redhat.com>
56486         * elf/dl-addr.c (determine_info): Add inline keyword.
56487         * elf/tst-auditmod4b.c (check_avx): Likewise.
56488         * elf/tst-auditmod6b.c (check_avx): Likewise.
56489         * elf/tst-auditmod6c.c (check_avx): Likewise.
56490         * elf/tst-auditmod7b.c (check_avx): Likewise.
56492 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
56494         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
56495         !__SSE_MATH__.
56497 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56499         [BZ #13540]
56500         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
56501         processing for last bytes.
56503 2011-08-06  Bruno Haible  <bruno@clisp.org>
56505         [BZ #13061]
56506         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
56507         U+0385, not to U+1FEE.
56509         [BZ #13062]
56510         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
56511         entry for U+00A5 U+0301.
56513 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
56515         [BZ #13166]
56516         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
56517         buffer for the output is too small.
56519         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
56520         optimization.
56522         [BZ #13185]
56523         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
56524         SSE flags if possible.
56526 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56528         [BZ #13540]
56529         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
56530         processing for last bytes.
56532 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
56534         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
56535         (syscall-list-default-options, syscall-list-default-condition)
56536         (syscall-list-includes): Define.
56537         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
56538         list of ABIs and options and #if conditions for each ABI.  Do not
56539         handle common syscalls between ABIs specially.
56540         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
56541         Remove.
56542         (syscall-list-variants, syscall-list-32bit-options)
56543         (syscall-list-32bit-condition, syscall-list-64bit-options)
56544         (syscall-list-64bit-condition): Define.
56545         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
56546         (syscall-list-variants, syscall-list-32bit-options)
56547         (syscall-list-32bit-condition, syscall-list-64bit-options)
56548         (syscall-list-64bit-condition): Define.
56549         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
56550         Remove.
56551         (syscall-list-variants, syscall-list-32bit-options)
56552         (syscall-list-32bit-condition, syscall-list-64bit-options)
56553         (syscall-list-64bit-condition): Define.
56554         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
56555         Remove.
56556         (syscall-list-variants, syscall-list-32bit-options)
56557         (syscall-list-32bit-condition, syscall-list-64bit-options)
56558         (syscall-list-64bit-condition): Define.
56560 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
56562         * locale/iso-639.def: Add brx entry.
56564         [BZ #13328]
56565         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
56566         Proposed by Mariusz_Cukr <marcukr@op.pl>.
56568         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
56569         __feraiseexcept_renamed.
56571 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
56573         [BZ #13538]
56574         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
56575         EPOLLET with unsigned values.
56576         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56577         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56579         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
56580         to large cancellation.
56581         * math/s_cacoshf.c: Likewise.
56582         * math/s_cacoshl.c: Likewise.
56584 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
56586         [BZ #13305]
56587         [BZ #12786]
56588         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
56589         * math/s_cacoshf.c: Likewise.
56590         * math/s_cacoshl.c: Likewise.
56592 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
56594         [BZ #13439]
56595         * iconv/gconv.h: Define __GCONV_SWAP.
56596         * iconvdata/unicode.c: The swap bit must be stored in __flags.
56597         * iconvdata/utf-16.c: Likewise.
56598         * iconvdata/utf-32.c: Likewise.
56600 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
56602         [BZ #13524]
56603         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
56604         numerator after shifting it by one limb.
56606 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
56608         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
56609         under [__USE_EXTERN_INLINES].
56611 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
56613         [BZ #13446]
56614         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
56616 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56618         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
56619         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
56620         optimized code.
56621         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
56622         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
56623         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
56624         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
56625         for strncasecmp/strncasecmp_l compilation.
56626         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
56627         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
56629 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
56631         [BZ #13484]
56632         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
56633         of __asm__.
56635 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
56637         [BZ #13506]
56638         * time/tzfile.c (__tzfile_read): Check values from file header.
56640 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
56642         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
56643         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
56644         * powerpc/powerpc32/dl-start.S: Likewise.
56645         * powerpc/powerpc32/elf/start.S: Likewise.
56646         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
56647         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
56648         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
56649         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
56650         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
56651         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
56652         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
56653         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
56654         * powerpc/powerpc32/fpu/s_round.S: Likewise.
56655         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
56656         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
56657         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
56658         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
56659         * powerpc/powerpc32/memset.S: Likewise.
56660         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
56661         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56662         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56663         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56664         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56665         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
56666         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
56667         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
56668         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
56669         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
56670         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
56671         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56672         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56674 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56676         * math/libm-test.inc: Added more nearbyint tests.
56677         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
56678         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
56679         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
56680         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
56682 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
56684         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
56685         FD_CLOEXEC.
56687 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56689         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
56690         Add wcscpy-ssse3 wcscpy-c.
56691         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
56692         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
56693         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
56694         * sysdeps/x86_64/wcschr.S: New file.
56695         * sysdeps/x86_64/wcsrchr.S: New file.
56696         * string/test-strcmp.c: Remove checking of wcscmp function for
56697         wrong alignments.
56698         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
56699         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
56700         wcsrchr-sse2 wcsrchr-c.
56701         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
56702         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
56703         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
56704         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
56705         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
56706         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
56707         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
56708         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
56709         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
56710         * wcsmbc/wcschr.c (WCSCHR): New macro.
56712 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56714         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
56715         * wcsmbs/test-wcsrchr.c: New file.
56716         * string/test-strrchr.c: Add wcsrchr support.
56717         (WIDE): New macro.
56718         * wcsmbs/test-wcscpy.c: New file.
56719         * string/test-strcpy.c: Add wcscpy support.
56720         (WIDE): New macro.
56722 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
56724         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
56725         the inner loop.
56727 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
56729         [BZ #13472]
56730         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
56732 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
56734         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
56735         Minor optimizations.
56737         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
56738         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
56739         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
56741 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
56743         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
56744         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
56745         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
56746         for gcc to avoid warnings.
56747         * inet/Makefile (tests): Add tst-checks.
56748         * inet/tst-checks.c: New file.
56750         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
56751         warning.
56753         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
56754         __wmemcmp_sse2.
56756         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
56757         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
56759         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
56761 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
56763         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
56764         problem.
56766         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
56768 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
56770         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
56771         conditional on GCC version.
56772         (__arch_compare_and_exchange_val_8_acq)
56773         (__arch_compare_and_exchange_val_16_acq)
56774         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
56775         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
56776         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
56778 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
56780         * sysdeps/sh/backtrace.c: New file.
56782 2011-12-02  Andreas Schwab  <schwab@redhat.com>
56784         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
56785         parenthesis.
56787 2011-12-01  Andreas Schwab  <schwab@redhat.com>
56789         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
56790         falling back to utime.
56792 2011-11-30  Andreas Schwab  <schwab@redhat.com>
56794         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
56795         expectations for float.
56797 2011-11-29  Andreas Schwab  <schwab@redhat.com>
56799         * locale/weight.h (findidx): Add parameter len.
56800         * locale/weightwc.h (findidx): Likewise.
56801         * posix/fnmatch_loop.c (FCT): Adjust caller.
56802         * posix/regcomp.c (build_equiv_class): Likewise.
56803         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
56804         * posix/regexec.c (check_node_accept_bytes): Likewise.
56805         * string/strcoll_l.c (STRCOLL): Likewise.
56806         * string/strxfrm_l.c (STRXFRM): Likewise.
56808 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
56810         * Makefile.in: Remove CVSOPT handling.
56811         * configure.in: Remove use of AC_REVISION.
56812         * iconvdata/Makefile (distribute): No need to filter out CVS.
56813         * scripts/list-sources.sh: Remove CVS, subversion and monotone
56814         handling.
56816 2011-11-16  Andreas Schwab  <schwab@redhat.com>
56818         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
56819         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
56820         [USE_AS_STRNCASECMP_L]: Likewise.
56821         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
56822         NO_TLS_DIRECT_SEG_REFS.
56823         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
56824         Fix argument offsets for non-PIC.
56825         [USE_AS_STRNCASECMP_L]: Likewise.
56826         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
56827         NO_TLS_DIRECT_SEG_REFS.
56829 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
56831         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
56832         O_CLOEXEC.
56833         * locale/loadlocale.c (_nl_load_locale): Likewise.
56835 2011-11-15  Andreas Schwab  <schwab@redhat.com>
56837         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
56838         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
56839         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
56840         (SYSCALL_GETTIME): Set errno on error.
56842         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
56843         count references to noai6ai_cached.
56845 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
56847         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
56849         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
56850         FD_CLOEXEC for /proc/self/maps.
56852         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
56853         FD_CLOEXEC for /proc/meminfo.
56855         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
56856         gai.conf.
56858         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
56859         FD_CLOEXEC for given file.
56861         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
56863         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
56864         FD_CLOEXEC for /etc/hosts.
56865         (_gethtent): Likewise.
56867         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
56869         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
56870         cancellation and set FD_CLOEXEC for /etc/netgroup.
56872         * nss/nss_files/files-key.c (search): Don't allow cancellation when
56873         reading /etc/publickey.
56875         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
56876         allow cancellation when reading /etc/group.
56878         * nss/nss_files/files-alias.c (internal_setent): Don't allow
56879         cancellation.
56880         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
56882         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
56883         when using data file.
56885         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
56887         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
56888         (write_nis_obj): Use "c" and "e" in fopen.
56890         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
56892         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
56894         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
56896         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
56898         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
56899         locale.alias.
56901         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
56903         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
56905         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
56907         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
56908         file parsing and set FD_CLOEXEC.
56910 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
56912         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
56914 2011-11-14  Andreas Schwab  <schwab@redhat.com>
56916         * malloc/arena.c (arena_get2): Don't call reused_arena when
56917         _int_new_arena failed.
56919 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
56921         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
56922         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
56923         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
56924         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56925         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56926         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
56927         to compile strcasecmp and strncasecmp.
56928         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
56929         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
56931         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
56933 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
56935         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
56936         locale-defines.sym to gen-as-const-headers.
56937         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
56938         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
56939         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
56940         to compile strcasecmp and strncasecmp.
56941         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
56942         strcasecmp_l and strncasecmp_l.
56943         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
56944         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
56945         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
56946         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
56947         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
56948         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
56949         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
56950         * sysdeps/i386/i686/multiarch/strncase.S: New file.
56951         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
56952         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
56953         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
56955 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
56957         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
56958         result of SYSDEP_GETTIME_CPU to retval.
56959         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
56960         parameter list to macro.  Remove trailing semicolon.  Adjust users.
56962         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
56963         variable.
56965         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
56966         mantissa words.
56967         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
56969         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
56970         from unused variable.
56972         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
56973         DWARF definitions.
56974         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
56975         for assembling.
56977         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
56978         over namespaces.
56980         * sunrpc/rpc_prot.c (rejected): Fix case value.
56982         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
56983         unsigned long long int to avoid warnings in shift.
56985         * posix/regex_internal.c (re_string_reconstruct): Actually use result
56986         of use of trans.
56987         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
56988         variable tmp.
56990         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
56991         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
56992         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
56994         * nis/nis_table.c (nis_list): Use variable of correct type for
56995         result of __follow_path call.
56997 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56999         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
57000         of math functions ceil, trunc, floor, round, and sqrt, when
57001         avaliable on the platform.
57002         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
57003         name clash.
57004         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57005         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57006         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57008 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
57010         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
57011         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
57013 2011-11-11  Roland McGrath  <roland@hack.frob.com>
57015         * include/unistd.h: Fix __readlink return type.
57016         Reported by Chris Metcalf <cmetcalf@tilera.com>.
57018 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
57020         * stdlib/ucontext.h: Undo last change for makecontext.
57022 2011-11-11  Andreas Schwab  <schwab@redhat.com>
57024         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
57026         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
57027         * setjmp/setjmp.h: Mark functions as non-leaf.
57028         * setjmp/bits/setjmp2.h: Likewise.
57029         * stdlib/ucontext.h: Likewise.
57031 2011-11-10  Andreas Schwab  <schwab@redhat.com>
57033         * malloc/arena.c (_int_new_arena): Don't increment narenas.
57034         (reused_arena): Don't check arena limit.
57035         (arena_get2): Atomically check arena limit.
57037 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
57039         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
57040         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
57042         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
57043         instructions.
57045 2011-11-07  Andreas Schwab  <schwab@redhat.com>
57047         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
57048         handler when locking.
57050         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57051         Fix size of allocated buffer.
57053 2011-11-04  Andreas Schwab  <schwab@redhat.com>
57055         [BZ #10103]
57056         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
57057         declarations for long double functions.
57058         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
57060         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
57062 2011-11-03  Andreas Schwab  <schwab@redhat.com>
57064         * nscd/nscd.c (main): Don't start AVC thread until credentials are
57065         installed.
57067         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
57068         is disabled.
57070 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57072         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
57074 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57076         * include/alloca.h (stackinfo_alloca_round): Define.
57077         (extend_alloca): Use it.
57078         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
57079         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
57080         here.
57082         * scripts/check-local-headers.sh: Ignore libaudit.h.
57084         * nscd/Makefile (extra-objs): Make recursively expanded.
57086 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
57088         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
57089         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
57091         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
57092         * posix/tst-rfc3484-2.c: Likewise.
57093         * posix/tst-rfc3484-3.c: Likewise.
57095         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
57096         process_vm_writev.
57097         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
57098         process_vm_writev.
57099         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
57100         process_vm_writev from libc using GLIBC_2.15 version.
57102         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
57104 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
57106         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
57107         stack usage.
57109 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
57111         [BZ #13367]
57112         * nss/getent.c (initgroups_keys): Show error message in case no group
57113         names are given.
57115         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
57116         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
57117         __bump_nl_timestamp.
57118         * nscd/connections (nscd_init): When host database is served open
57119         netlink socket and request notification about configuration changes.
57120         (main_loop_poll): Track netlink file descriptor and bump timestamp
57121         in case data becomes available.
57122         (main_loop_epoll): Likewise.
57123         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
57124         (database_pers_head): Add extra_data fileds.
57125         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
57126         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
57127         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
57128         Adjust caller.
57129         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
57130         in6ai data, call __free_in6ai.
57131         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
57132         Add -DHAVE_NETLINK.
57133         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
57134         interface information.  Reuse previous data if netlink timestamp
57135         is not changed.
57136         (__bump_nl_timestamp): New function.
57137         (__free_in6ai): New function.
57139 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
57141         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
57142         close_not_cancel_no_status here.
57143         (__check_pf): Reorganize code a bit to not call close twice if OOM.
57145 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
57147         [BZ #13276]
57148         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
57149         return value.
57151         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
57152         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
57153         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
57155 2011-07-03  Andreas Jaeger  <aj@suse.de>
57157         [BZ #10709]
57158         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
57159         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
57160         * math/libm-test.inc (sin_test): Add test case.
57162 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
57164         [BZ #13337]
57165         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
57166         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57168         * elf/chroot_canon.c (chroot_canon): Cleanups.
57170         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
57172         [BZ #13335]
57173         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
57174         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57176         * string/test-strchr.c: Make usable for strchrnul testing.
57177         * string/test-strchrnul.c: New file.
57178         * string/Makefile (strop-tests): Add strchrnul.
57180         * po/it.po: Update from translation team.
57181         * po/es.po: Likewise.
57183 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
57185         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
57186         the three constants needed as parameters.  Drop the others.
57187         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
57188         __m128i_strloadu_tolower.
57189         Create and initialize variable zero and use it in all the places
57190         where _mm_setzero_si128 was used.
57192         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
57193         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
57194         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
57195         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
57196         anymore.
57197         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
57198         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
57199         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
57200         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
57201         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
57202         __mpranred, __mptan.
57203         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
57204         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
57205         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
57206         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
57207         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
57208         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
57209         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
57210         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
57211         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
57213 2011-10-28  Andreas Schwab  <schwab@redhat.com>
57215         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
57216         redefine if SHARED.
57217         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
57219         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
57220         wide char related routines to wcsmbs subdir.
57222 2011-10-27  Andreas Schwab  <schwab@redhat.com>
57224         [BZ #13344]
57225         * misc/sys/cdefs.h (__THROWNL): Define.
57226         * posix/unistd.h: Use __THREADNL instead of __THREAD
57227         for memory synchronization functions.
57229 2011-10-26  Roland McGrath  <roland@hack.frob.com>
57231         [BZ #13349]
57232         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
57233         doesn't exist.
57234         * manual/stdio.texi (Obstack Streams): Node removed.
57236 2011-10-26  Andreas Schwab  <schwab@redhat.com>
57238         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
57239         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57240         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57242         * math/math_private.h (math_force_eval): Allow non-addressable
57243         arguments.
57244         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
57246 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57248         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
57249         file is not needed.
57251         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
57252         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
57253         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57254         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57255         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57256         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57257         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57258         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
57259         Add AVX variants.
57260         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
57261         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
57262         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
57263         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
57264         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
57265         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
57266         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
57267         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
57268         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
57269         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
57270         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
57271         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
57272         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
57273         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
57274         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
57275         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
57276         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
57277         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
57278         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
57280         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
57281         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
57283         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
57284         place.  Use VEX encoding when compiling for AVX.
57286 2011-10-25  Andreas Schwab  <schwab@redhat.com>
57288         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
57289         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
57291         * string/test-strchr.c (do_test): Don't generate NUL bytes.
57293 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57295         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
57296         useless if() expression.
57297         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57298         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
57299         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57300         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57301         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57302         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57303         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57304         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57305         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
57306         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57307         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57308         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57309         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
57310         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57311         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
57312         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57313         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57314         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57315         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
57317         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
57319 2011-10-25  Andreas Schwab  <schwab@redhat.com>
57321         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
57322         condition.
57323         * elf/dl-fini.c (_dl_sort_fini): Likewise.
57325 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57327         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
57328         .text section.  Avoid duplicate constants.
57329         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57330         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57331         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57332         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57333         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57334         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57335         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57336         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57337         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57338         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
57339         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57340         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57341         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57342         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57343         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57344         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57345         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57346         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57347         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57348         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57349         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57350         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57351         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57352         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
57353         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
57354         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
57355         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
57356         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
57357         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
57358         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
57359         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
57360         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
57361         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57362         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
57363         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
57364         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
57365         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
57366         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
57367         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
57368         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
57369         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
57370         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
57371         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
57372         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
57373         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
57375 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
57377         * sysdeps/x86_64/dla.h: Move to ...
57378         * sysdeps/x86_64/fpu/dla.h: ...here.
57379         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
57380         situations.  Use __builtin_fma only for gcc 4.6 and up.
57382         * config.make.in: Add have-mfma4 entry.
57383         * configure.in: Substitute libc_cv_cc_fma4.
57384         * math/Makefile (dbl-only-routines): Add sincostab.
57385         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
57386         Use __sincostab not sincos.
57387         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
57388         name is a macro.
57389         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57390         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57391         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57392         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
57393         using __copysign.
57394         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
57395         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
57396         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
57397         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
57398         and __inv.
57399         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
57400         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
57401         __copysign.
57402         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
57403         define aliases when function name is a macro.
57404         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
57405         sysdeps/ieee754/dbl-64/sincos.tbl.
57406         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
57407         fma4-enabled routines.
57408         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
57409         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
57410         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
57411         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
57412         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
57413         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
57414         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
57415         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
57416         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
57417         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
57418         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
57419         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
57420         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
57421         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
57422         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
57423         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
57424         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
57425         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
57426         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
57427         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
57428         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
57429         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
57430         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
57431         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
57432         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
57433         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
57434         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
57435         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
57436         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
57437         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
57439         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
57440         rename.
57441         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57442         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57443         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57444         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57445         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57446         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57447         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57448         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57450 2011-10-24  Andreas Schwab  <schwab@redhat.com>
57452         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
57454 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57456         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
57458         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
57459         prediction.
57460         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
57462         * string/strnlen.c: Don't define STRNLEN, reverse logic.
57463         Remove unused variable magic_bits.
57464         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
57466         * string/strnlen.c: Define and use STRNLEN macro.
57467         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
57468         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
57469         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
57470         * wcsmbs/wcslen.c: Define and use WCSLEN.
57471         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
57472         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
57473         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
57474         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
57475         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
57476         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
57477         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57479 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57481         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57482         strnlen-sse2-no-bsf.
57483         Rename strlen-no-bsf to strlen-sse2-no-bsf.
57484         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
57485         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
57486         Add strnlen support.
57487         (USE_AS_STRNLEN): New macro.
57488         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
57489         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
57490         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
57491         * sysdeps/x86_64/wcslen.S: New file.
57493 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
57495         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
57496         XMM-moves are used for copying on small sizes.
57498 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57500         * wcsmbs/Makefile (strop-tests): Add wcschr.
57501         * wcsmbs/test-wcschr.c: New file.
57502         * string/test-strchr.c: Update.
57503         Add wcschr support.
57504         (WIDE): New macro.
57506 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57508         * wcsmbs/Makefile (strop-tests): Add wcslen.
57509         * wcsmbs/test-wcslen.c: New file.
57510         * string/test-strlen.c: Update.
57511         Add wcslen support.
57512         (WIDE): New macro.
57514 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57516         * po/it.po: Update from translation team.
57518 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57520         * sysdeps/x86_64/wcscmp.S: Update.
57521         Fix wrong comparison semantics.
57522         wcscmp shall use signed comparison not unsigned.
57523         Don't use substraction to avoid overflow bug.
57524         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
57525         * wcsmbc/wcscmp.c: Likewise.
57526         * string/test-strcmp.c: Likewise.
57527         Add new tests to check cases with negative values.
57529 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57531         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
57532         * sysdeps/x86_64/dla.h: ...here.  New file.
57533         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
57534         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57535         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57536         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57537         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57538         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57539         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57540         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57541         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57543 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
57545         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
57546         __ynl_finite aliases.
57548 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
57550         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57552         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
57553         define DLA_FMA.
57554         [DLA_FMA] (EMULV): Use DLA_FMA.
57555         [DLA_FMA] (MUL12): Use EMULV.
57556         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
57557         that are not needed.
57558         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57559         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57560         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57561         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57562         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57563         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57564         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57566 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
57568         * math/s_nan.c: Undef __nan.
57569         * math/s_nanf.c: Undef __nanf.
57570         * math/s_nanl.c: Undef __nanl.
57571         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
57572         "math_private.h".
57574 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
57576         * math/s_catan.c: Add branch predictions.
57577         * math/s_catanf.c: Likewise.
57578         * math/s_catanh.c: Likewise.
57579         * math/s_catanhf.c: Likewise.
57580         * math/s_catanhl.c: Likewise.
57581         * math/s_catanl.c: Likewise.
57582         * math/s_cexp.c: Likewise.
57583         * math/s_cexpf.c: Likewise.
57584         * math/s_cexpl.c: Likewise.
57585         * math/s_clog.c: Likewise.
57586         * math/s_clog10.c: Likewise.
57587         * math/s_clog10f.c: Likewise.
57588         * math/s_clog10l.c: Likewise.
57589         * math/s_clogf.c: Likewise.
57590         * math/s_clogl.c: Likewise.
57591         * math/s_csqrt.c: Likewise.
57592         * math/s_csqrtf.c: Likewise.
57593         * math/s_csqrtl.c: Likewise.
57594         * math/s_ctanf.c: Likewise.
57595         * math/s_ctanh.c: Likewise.
57596         * math/s_ctanhf.c: Likewise.
57597         * math/s_ctanhl.c: Likewise.
57598         * math/s_ctanl.c: Likewise.
57600         * math/math_private.h: Define __nan, __nanf, __nanl.
57601         * math/s_cacosh.c: Include <math_private.h>.
57602         * math/s_cacoshl.c: Likewise.
57603         * math/s_casinh.c: Likewise.
57604         * math/s_casinhf.c: Likewise.
57605         * math/s_casinhl.c: Likewise.
57606         * math/s_ccos.c: Rely entire on ccosh.
57607         * math/s_ccosf.c: Rely entire on ccoshf.
57608         * math/s_ccosl.c: Rely entirely on ccoshl.
57609         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
57610         Remove tests for FE_INVALID.
57611         * math/s_ccoshf.c: Likewise.
57612         * math/s_ccoshl.c: Likewise.
57613         * math/s_csin.c: Likewise.
57614         * math/s_csinf.c: Likewise.
57615         * math/s_csinh.c Likewise.
57616         * math/s_csinhf.c: Likewise.
57617         * math/s_csinhl.c: Likewise.
57618         * math/s_csinl.c: Likewise.
57619         * math/s_ctan.c: Likewise.
57620         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
57621         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
57622         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
57624 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
57626         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
57627         compilation problems.
57629         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
57630         __builtin_expect.
57632 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
57634         * sysdeps/i386/configure.in: Test for -mfma4 option.
57635         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
57636         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
57637         COMMON_CPUID_INDEX_80000001.
57638         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
57639         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
57640         use it if FMA3 is not supported.
57641         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
57643         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
57644         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57646 2011-10-20  Andreas Schwab  <schwab@redhat.com>
57648         [BZ #12892]
57649         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
57650         it would create a cycle with a link time dependency.
57652 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
57654         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
57655         instruction.
57656         * string/Makefile (strop-tests): Add rawmemchr.
57657         * string/test-rawmemchr.c: New file.
57659         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
57660         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
57661         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
57662         when compiling str{,n}casecmp and when AVX is available.  Hook up
57663         new optimized code in initializers.
57665 2011-10-19  Andreas Schwab  <schwab@redhat.com>
57667         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
57668         __feraiseexcept instead of feraiseexcept.
57670 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
57672         * math/math_private.h: Define defaults for libc_fetestexcept and
57673         libc_feupdateenv.
57674         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
57675         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
57676         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57677         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57678         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
57679         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57680         libc_fetestexcept and libc_feupdateenv.
57682         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
57683         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
57684         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
57685         * sysdeps/x86_64/fpu/math_private.h: Define special version of
57686         libc_feholdexcept_setround.
57688         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
57689         Add s_nearbyint-c and s_nearbyintf-c.
57690         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
57691         nearbyintf inlines.
57692         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
57693         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
57694         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
57695         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
57697         * math/math_private.h: Define defaults for libc_fegetround,
57698         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
57699         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
57700         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
57701         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
57702         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
57703         standard functions.
57704         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57705         Remove comments and hacks for old compiler versions.
57706         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57707         libc_fegetround, libc_fesetround, libc_feholdexcept, and
57708         libc_feholdexceptl.
57710 2011-10-18  Andreas Schwab  <schwab@redhat.com>
57712         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
57713         (__feraiseexcept_renamed): Add __NTH.
57714         (feraiseexcept): Add __NTH.  Rename local variables to fix
57715         namespace violations.
57717 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
57719         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
57721         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
57723         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
57724         recently added interfaces.
57725         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
57727         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
57728         about macro parameter expansion.
57730         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
57731         __NO_MATH_INLINES is defined.  Cleanups.
57733         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
57734         and __floorf is target has SSE4.1.
57735         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
57736         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
57737         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
57738         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
57740         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
57741         name.
57742         (floorf): Likewise.
57744         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
57746 2011-10-17  Andreas Schwab  <schwab@redhat.com>
57748         * misc/sys/cdefs.h: Fix last change.
57750         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
57751         database lookup.
57753 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
57755         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
57757         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
57758         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57759         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
57760         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57761         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57762         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
57763         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57764         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57765         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
57766         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
57767         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
57768         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
57769         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
57770         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
57771         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
57772         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
57773         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
57774         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
57775         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
57776         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
57777         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
57778         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
57780         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
57781         ceil, ceilf, floor, floorf.
57783         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
57784         Perform IRELATIVE relocations last.
57786         * elf/do-rel.h: Add another parameter nrelative, replacing the
57787         local variable with the same name.  Change name of the function
57788         to end in Rel or Rela (uppercase).
57789         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
57790         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
57791         elf_dynamic_do_##reloc function.
57793 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
57795         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
57796         is sufficient, at least on modern CPUs.
57798         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
57800         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
57801         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
57803         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
57804         __expl_finite.
57805         * math/bits/math-finite.h: Add entries for exp.
57806         * math/e_expl.c: Add __*_finite alias.
57807         * sysdeps/i386/fpu/e_exp.S: Likewise.
57808         * sysdeps/i386/fpu/e_expf.S: Likewise.
57809         * sysdeps/i386/fpu/e_expl.c: Likewise.
57810         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57811         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57812         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57813         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57814         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
57815         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57816         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57818         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
57819         is sufficient, at least on modern CPUs.
57821         * ctype/ctype-info.c (__ctype_init): Define.
57822         * include/ctype.h (__ctype_init): Declare.
57823         (__ctype_b_loc): The variable is always initialized.
57824         (__ctype_toupper_loc): Likewise.
57825         (__ctype_tolower_loc): Likewise.
57826         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
57827         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
57829 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
57831         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
57833         * configure.in: Also look in $cxxmachine/include for C++ system
57834         headers.
57836 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57838         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
57839         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
57840         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
57841         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
57842         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
57843         (USE_AS_WMEMCMP): New macro.
57844         Fixing indents.
57845         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
57846         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
57847         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
57848         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
57849         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57850         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
57851         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
57852         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
57853         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
57854         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
57855         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
57856         (USE_AS_WMEMCMP): New macro.
57857         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
57858         * sysdeps/string/test-memcmp.c: Update.
57859         Fix simple_wmemcmp.
57860         Add new tests.
57861         * wcsmbs/wmemcmp.c: Update.
57862         (WMEMCMP): New macro.
57863         Fix overflow bug.
57865 2011-10-12  Andreas Jaeger  <aj@suse.de>
57867         [BZ #13268]
57868         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
57870 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
57872         * libio/iofwide.c (do_length): Avoid warning.
57874         * ctype/ctype.h (__isctype_f): Add missing __THROW.
57876 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
57878         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
57880         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
57881         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
57882         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
57883         * sysdeps/i386/i686/fpu/e_log.S: New file.
57884         * sysdeps/i386/i686/fpu/e_logf.S: New file.
57885         * sysdeps/i386/i686/fpu/e_logl.S: New file.
57887         * ctype/ctype.h: Add support for inlined isXXX functions when
57888         compiling C++ code.
57890 2011-10-14  Andreas Schwab  <schwab@redhat.com>
57892         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57894         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
57896 2011-10-13  Roland McGrath  <roland@hack.frob.com>
57898         [BZ #13291]
57899         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
57901 2011-10-13  Andreas Schwab  <schwab@redhat.com>
57903         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
57904         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
57905         feraiseexcept.
57907         * sysdeps/x86_64/memrchr.S: Check for zero size.
57909         * string/stratcliff.c: Add memrchr tests.
57911 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57913         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57914         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
57915         rawmemchr-sse2 rawmemchr-sse2-bsf.
57916         * sysdeps/i386/i686/multiarch/memchr.S: New file.
57917         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
57918         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
57919         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
57920         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
57921         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
57922         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
57923         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
57924         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
57925         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
57926         * string/memrchr.c (MEMRCHR): New macro.
57928 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
57930         Add integration with gcc's -ffinite-math-only and optimize wrapper
57931         functions in libm.
57932         * Versions.def: Define GLIBC_2.15 version for libm.
57933         * math/Makefile (headers): Add bits/math-finite.h.
57934         * math/bits/math-finite.h: New file.
57935         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
57936         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
57937         * math/e_acoshl.c: Add __*_finite alias.
57938         * math/e_acosl.c: Likewise.
57939         * math/e_asinl.c: Likewise.
57940         * math/e_atan2l.c: Likewise.
57941         * math/e_atanhl.c: Likewise.
57942         * math/e_coshl.c: Likewise.
57943         * math/e_exp10.c: Likewise.
57944         * math/e_exp10f.c: Likewise.
57945         * math/e_exp10l.c: Likewise.
57946         * math/e_exp2l.c: Likewise.
57947         * math/e_fmodl.c: Likewise.
57948         * math/e_gammal_r.c: Likewise.
57949         * math/e_hypotl.c: Likewise.
57950         * math/e_j0l.c: Likewise.
57951         * math/e_j1l.c: Likewise.
57952         * math/e_jnl.c: Likewise.
57953         * math/e_lgammal_r.c: Likewise.
57954         * math/e_log10l.c: Likewise.
57955         * math/e_log2l.c: Likewise.
57956         * math/e_logl.c: Likewise.
57957         * math/e_powl.c: Likewise.
57958         * math/e_sinhl.c: Likewise.
57959         * math/e_sqrtl.c: Likewise.
57960         * math/e_scalb.c: Completely rewritten and optimized.
57961         * math/e_scalbf.c: Likewise.
57962         * math/e_scalbl.c: Likewise.
57963         * math/w_acos.c: Likewise.
57964         * math/w_acosf.c: Likewise.
57965         * math/w_acosl.c: Likewise.
57966         * math/w_acosh.c: Likewise.
57967         * math/w_acoshf.c: Likewise.
57968         * math/w_acoshl.c: Likewise.
57969         * math/w_asin.c: Likewise.
57970         * math/w_asinf.c: Likewise.
57971         * math/w_asinl.c: Likewise.
57972         * math/w_atan2.c: Likewise.
57973         * math/w_atan2f.c: Likewise.
57974         * math/w_atan2l.c: Likewise.
57975         * math/w_atanh.c: Likewise.
57976         * math/w_atanhf.c: Likewise.
57977         * math/w_atanhl.c: Likewise.
57978         * math/w_exp10.c: Likewise.
57979         * math/w_exp10f.c: Likewise.
57980         * math/w_exp10l.c: Likewise.
57981         * math/w_fmod.c: Likewise.
57982         * math/w_fmodf.c: Likewise.
57983         * math/w_fmodl.c: Likewise.
57984         * math/w_j0.c: Likewise.
57985         * math/w_j0f.c: Likewise.
57986         * math/w_j0l.c: Likewise.
57987         * math/w_j1.c: Likewise.
57988         * math/w_j1f.c: Likewise.
57989         * math/w_j1l.c: Likewise.
57990         * math/w_jn.c: Likewise.
57991         * math/w_jnf.c: Likewise.
57992         * math/w_log.c: Likewise.
57993         * math/w_logf.c: Likewise.
57994         * math/w_logl.c: Likewise.
57995         * math/w_log10.c: Likewise.
57996         * math/w_log10f.c: Likewise.
57997         * math/w_log10l.c: Likewise.
57998         * math/w_log2.c: Likewise.
57999         * math/w_log2f.c: Likewise.
58000         * math/w_log2l.c: Likewise.
58001         * math/w_pow.c: Likewise.
58002         * math/w_powf.c: Likewise.
58003         * math/w_powl.c: Likewise.
58004         * math/w_remainder.c: Likewise.
58005         * math/w_remainderf.c: Likewise.
58006         * math/w_remainderl.c: Likewise.
58007         * math/w_scalb.c: Likewise.
58008         * math/w_scalbf.c: Likewise.
58009         * math/w_scalbl.c: Likewise.
58010         * math/w_sqrt.c: Likewise.
58011         * math/w_sqrtf.c: Likewise.
58012         * math/w_sqrtl.c: Likewise.
58013         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
58014         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
58015         used.
58016         * math/math_private.h: Declare __kernel_standard_f.
58017         * math/w_cosh.c: Remove cruft and optimize a bit.
58018         * math/w_coshf.c: Likewise.
58019         * math/w_coshl.c: Likewise.
58020         * math/w_exp2.c: Likewise.
58021         * math/w_exp2f.c: Likewise.
58022         * math/w_exp2l.c: Likewise.
58023         * math/w_hypot.c: Likewise.
58024         * math/w_hypotf.c: Likewise.
58025         * math/w_hypotl.c: Likewise.
58026         * math/w_lgamma.c: Likewise.
58027         * math/w_lgamma_r.c: Likewise.
58028         * math/w_lgammaf.c: Likewise.
58029         * math/w_lgammaf_r.c: Likewise.
58030         * math/w_lgammal.c: Likewise.
58031         * math/w_lgammal_r.c: Likewise.
58032         * math/w_sinh.c: Likewise.
58033         * math/w_sinhf.c: Likewise.
58034         * math/w_sinhl.c: Likewise.
58035         * math/w_tgamma.c: Likewise.
58036         * math/w_tgammaf.c: Likewise.
58037         * math/w_tgammal.c: Likewise.
58038         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58039         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58040         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
58041         Minor optimizations.  Pretty printing.  Remove cruft.
58042         * sysdeps/i386/fpu/e_acosf.S: Likewise.
58043         * sysdeps/i386/fpu/e_acosh.S: Likewise.
58044         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58045         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58046         * sysdeps/i386/fpu/e_acosl.c: Likewise.
58047         * sysdeps/i386/fpu/e_asin.S: Likewise.
58048         * sysdeps/i386/fpu/e_asinf.S: Likewise.
58049         * sysdeps/i386/fpu/e_atan2.S: Likewise.
58050         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
58051         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
58052         * sysdeps/i386/fpu/e_atanh.S: Likewise.
58053         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58054         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58055         * sysdeps/i386/fpu/e_exp10.S: Likewise.
58056         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
58057         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
58058         * sysdeps/i386/fpu/e_exp2.S: Likewise.
58059         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
58060         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
58061         * sysdeps/i386/fpu/e_fmod.S: Likewise.
58062         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
58063         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
58064         * sysdeps/i386/fpu/e_hypot.S: Likewise.
58065         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
58066         * sysdeps/i386/fpu/e_log.S: Likewise.
58067         * sysdeps/i386/fpu/e_log10.S: Likewise.
58068         * sysdeps/i386/fpu/e_log10f.S: Likewise.
58069         * sysdeps/i386/fpu/e_log10l.S: Likewise.
58070         * sysdeps/i386/fpu/e_log2.S: Likewise.
58071         * sysdeps/i386/fpu/e_log2f.S: Likewise.
58072         * sysdeps/i386/fpu/e_log2l.S: Likewise.
58073         * sysdeps/i386/fpu/e_logf.S: Likewise.
58074         * sysdeps/i386/fpu/e_logl.S: Likewise.
58075         * sysdeps/i386/fpu/e_pow.S: Likewise.
58076         * sysdeps/i386/fpu/e_powf.S: Likewise.
58077         * sysdeps/i386/fpu/e_powl.S: Likewise.
58078         * sysdeps/i386/fpu/e_remainder.S: Likewise.
58079         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
58080         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
58081         * sysdeps/i386/fpu/e_scalb.S: Likewise.
58082         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58083         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58084         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
58085         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
58086         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
58087         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
58088         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58089         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58090         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
58091         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58092         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
58093         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
58094         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
58095         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58096         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58097         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
58098         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
58099         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58100         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
58101         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
58102         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58103         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58104         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
58105         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58106         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58107         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
58108         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
58109         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58110         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58111         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
58112         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
58113         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58114         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
58115         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
58116         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
58117         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58118         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
58119         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58120         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
58121         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
58122         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
58123         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
58124         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
58125         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
58126         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
58127         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
58128         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
58129         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
58130         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
58131         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58132         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
58133         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
58134         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
58135         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
58136         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
58137         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
58138         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
58139         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
58140         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58141         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
58142         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
58143         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
58144         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
58145         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
58146         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
58147         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
58148         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
58149         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
58150         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
58151         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
58152         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
58153         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
58154         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
58155         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
58156         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
58157         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
58158         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
58159         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
58160         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
58161         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
58162         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
58163         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
58164         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
58165         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
58166         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
58167         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58168         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
58169         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
58170         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
58171         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58172         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
58173         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58174         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
58175         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
58176         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
58177         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
58178         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
58179         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
58180         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
58181         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58182         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58183         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58184         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
58185         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
58186         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
58187         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
58188         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
58189         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
58190         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
58191         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58192         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58193         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58194         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58195         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
58196         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58197         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
58198         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
58199         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
58200         (__isnanf): Likewise.
58201         (__isinf_ns): Likewise.
58202         (__isinf_nsf): Likewise.
58203         (__finite): Likewise.
58204         (__finitef): Likewise.
58205         (__ieee754_sqrt): Define as macro.
58206         (__ieee754_sqrtf): Define as macro.
58207         (__ieee754_sqrtl): Define as macro.
58208         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
58209         inlined copy.
58210         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
58211         __FINITE_MATH_ONLY__ consistent.
58212         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
58214 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
58216         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
58217         of rawmemchr.
58219         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
58221 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
58223         * po/ja.po: Update from translation team.
58225 2011-10-08  Roland McGrath  <roland@hack.frob.com>
58227         * locale/programs/locarchive.c (prepare_address_space): New function.
58228         (create_archive, enlarge_archive, open_archive): Use it.
58230         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
58231         inside [SHARED], where it is used.
58233         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
58235         * nss/getent.c (netgroup_keys): Remove unused variable.
58236         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
58238 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
58240         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
58241         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
58242         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
58243         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
58244         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
58245         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
58246         * math/Makefile (libm-calls): Add s_isinf_ns.
58247         * math/divtc3.c: Use __isinf_nsl instead of isinf.
58248         * math/multc3.c: Likewise.
58249         * math/s_casin.c: Likewise.
58250         * math/s_casinf.c: Likewise.
58251         * math/s_casinl.c: Likewise.
58252         * math/s_ccos.c: Likewise.
58253         * math/s_ccosf.c: Likewise.
58254         * math/s_ccosl.c: Likewise.
58255         * math/s_ctan.c: Likewise.
58256         * math/s_ctanf.c: Likewise.
58257         * math/s_ctanh.c: Likewise.
58258         * math/s_ctanhf.c: Likewise.
58259         * math/s_ctanhl.c: Likewise.
58260         * math/s_ctanl.c: Likewise.
58261         * math/w_fmod.c: Likewise.
58262         * math/w_fmodf.c: Likewise.
58263         * math/w_fmodl.c: Likewise.
58264         * math/w_remainder.c: Likewise.
58265         * math/w_remainderf.c: Likewise.
58266         * math/w_remainderl.c: Likewise.
58267         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
58268         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
58269         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
58270         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
58271         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
58272         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
58273         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
58274         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
58276         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
58277         of the number.
58278         * stdio-common/printf_fphex.c: Likewise.
58279         * stdio-common/printf_size.c: Likewise.
58281         * math/e_exp10.c: Include math_private.h using <...> not "...".
58282         * math/e_exp10f.c: Likewise.
58283         * math/e_exp10l.c: Likewise.
58284         * math/e_exp2l.c: Likewise.
58285         * math/e_j0l.c: Likewise.
58286         * math/e_j1l.c: Likewise.
58287         * math/e_jnl.c: Likewise.
58288         * math/e_lgammal_r.c: Likewise.
58289         * math/e_rem_pio2l.c: Likewise.
58290         * math/e_scalb.c: Likewise.
58291         * math/e_scalbf.c: Likewise.
58292         * math/e_scalbl.c: Likewise.
58293         * math/k_cosl.c: Likewise.
58294         * math/k_sinl.c: Likewise.
58295         * math/k_tanl.c: Likewise.
58296         * math/s_cacoshf.c: Likewise.
58297         * math/s_catan.c: Likewise.
58298         * math/s_catanf.c: Likewise.
58299         * math/s_catanh.c: Likewise.
58300         * math/s_catanhf.c: Likewise.
58301         * math/s_catanhl.c: Likewise.
58302         * math/s_catanl.c: Likewise.
58303         * math/s_ccosh.c: Likewise.
58304         * math/s_ccoshf.c: Likewise.
58305         * math/s_ccoshl.c: Likewise.
58306         * math/s_cexp.c: Likewise.
58307         * math/s_cexpf.c: Likewise.
58308         * math/s_cexpl.c: Likewise.
58309         * math/s_clog.c: Likewise.
58310         * math/s_clog10.c: Likewise.
58311         * math/s_clog10f.c: Likewise.
58312         * math/s_clog10l.c: Likewise.
58313         * math/s_clogf.c: Likewise.
58314         * math/s_clogl.c: Likewise.
58315         * math/s_csin.c: Likewise.
58316         * math/s_csinf.c: Likewise.
58317         * math/s_csinh.c: Likewise.
58318         * math/s_csinhf.c: Likewise.
58319         * math/s_csinhl.c: Likewise.
58320         * math/s_csinl.c: Likewise.
58321         * math/s_csqrt.c: Likewise.
58322         * math/s_csqrtf.c: Likewise.
58323         * math/s_csqrtl.c: Likewise.
58324         * math/s_ctan.c: Likewise.
58325         * math/s_ctanf.c: Likewise.
58326         * math/s_ctanh.c: Likewise.
58327         * math/s_ctanhf.c: Likewise.
58328         * math/s_ctanhl.c: Likewise.
58329         * math/s_ctanl.c: Likewise.
58330         * math/s_ldexp.c: Likewise.
58331         * math/s_ldexpf.c: Likewise.
58332         * math/s_ldexpl.c: Likewise.
58333         * math/s_significand.c: Likewise.
58334         * math/s_significandf.c: Likewise.
58335         * math/s_significandl.c: Likewise.
58336         * math/w_acos.c: Likewise.
58337         * math/w_acosf.c: Likewise.
58338         * math/w_acosh.c: Likewise.
58339         * math/w_acoshf.c: Likewise.
58340         * math/w_acoshl.c: Likewise.
58341         * math/w_acosl.c: Likewise.
58342         * math/w_asin.c: Likewise.
58343         * math/w_asinf.c: Likewise.
58344         * math/w_asinl.c: Likewise.
58345         * math/w_atan2.c: Likewise.
58346         * math/w_atan2f.c: Likewise.
58347         * math/w_atan2l.c: Likewise.
58348         * math/w_atanh.c: Likewise.
58349         * math/w_atanhf.c: Likewise.
58350         * math/w_atanhl.c: Likewise.
58351         * math/w_cosh.c: Likewise.
58352         * math/w_coshf.c: Likewise.
58353         * math/w_coshl.c: Likewise.
58354         * math/w_dremf.c: Likewise.
58355         * math/w_exp10.c: Likewise.
58356         * math/w_exp10f.c: Likewise.
58357         * math/w_exp10l.c: Likewise.
58358         * math/w_exp2.c: Likewise.
58359         * math/w_exp2f.c: Likewise.
58360         * math/w_fmod.c: Likewise.
58361         * math/w_fmodf.c: Likewise.
58362         * math/w_fmodl.c: Likewise.
58363         * math/w_hypot.c: Likewise.
58364         * math/w_hypotf.c: Likewise.
58365         * math/w_hypotl.c: Likewise.
58366         * math/w_j0.c: Likewise.
58367         * math/w_j0f.c: Likewise.
58368         * math/w_j0l.c: Likewise.
58369         * math/w_j1.c: Likewise.
58370         * math/w_j1f.c: Likewise.
58371         * math/w_j1l.c: Likewise.
58372         * math/w_jn.c: Likewise.
58373         * math/w_jnf.c: Likewise.
58374         * math/w_jnl.c: Likewise.
58375         * math/w_lgamma.c: Likewise.
58376         * math/w_lgamma_r.c: Likewise.
58377         * math/w_lgammaf.c: Likewise.
58378         * math/w_lgammaf_r.c: Likewise.
58379         * math/w_lgammal.c: Likewise.
58380         * math/w_lgammal_r.c: Likewise.
58381         * math/w_log.c: Likewise.
58382         * math/w_log10.c: Likewise.
58383         * math/w_log10f.c: Likewise.
58384         * math/w_log10l.c: Likewise.
58385         * math/w_log2.c: Likewise.
58386         * math/w_log2f.c: Likewise.
58387         * math/w_log2l.c: Likewise.
58388         * math/w_logf.c: Likewise.
58389         * math/w_logl.c: Likewise.
58390         * math/w_pow.c: Likewise.
58391         * math/w_powf.c: Likewise.
58392         * math/w_powl.c: Likewise.
58393         * math/w_remainder.c: Likewise.
58394         * math/w_remainderf.c: Likewise.
58395         * math/w_remainderl.c: Likewise.
58396         * math/w_scalb.c: Likewise.
58397         * math/w_scalbf.c: Likewise.
58398         * math/w_scalbl.c: Likewise.
58399         * math/w_sinh.c: Likewise.
58400         * math/w_sinhf.c: Likewise.
58401         * math/w_sinhl.c: Likewise.
58402         * math/w_sqrt.c: Likewise.
58403         * math/w_sqrtf.c: Likewise.
58404         * math/w_sqrtl.c: Likewise.
58405         * math/w_tgamma.c: Likewise.
58406         * math/w_tgammaf.c: Likewise.
58407         * math/w_tgammal.c: Likewise.
58409         * po/ja.po: Update from translation team.
58411 2011-09-29  Andreas Jaeger  <aj@suse.de>
58413         [BZ #13179]
58414         * sunrpc/netname.c (netname2host): Fix logic.
58416         [BZ #6779]
58417         [BZ #6783]
58418         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
58419         correctly.
58420         * math/w_remainder.c (__remainder): Likewise.
58421         * math/w_remainderf.c (__remainderf): Likewise.
58422         * math/libm-test.inc (remainder_test): Add test cases.
58424 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58426         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
58427         sdiv_qrnnd.
58429 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
58431         * string/test-memcmp.c: Avoid unncessary #defines.
58432         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58434 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58436         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
58437         Use new sse2 version for core i3 - i7 as it's faster
58438         than sse42 version.
58439         (bit_Prefer_PMINUB_for_stringop): New.
58440         * sysdeps/x86_64/rawmemchr.S: Update.
58441         Replace with faster SSE2 version.
58442         * sysdeps/x86_64/memrchr.S: New file.
58443         * sysdeps/x86_64/memchr.S: Update.
58444         Replace with faster SSE2 version.
58446 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
58448         * elf/dl-load.c (lose): Add cast to avoid warning.
58450 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
58452         * po/ca.po: Update from translation team.
58454         * inet/getnetgrent_r.c: Hook up nscd.
58455         * nscd/Makefile (routines): Add nscd_netgroup.
58456         (nscd-modules): Add netgroupcache.
58457         (CFLAGS-netgroupcache.c): Define.
58458         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
58459         (cache_search): Add const to second parameter.
58460         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
58461         INNETGR.
58462         (dbs): Add netgrdb entry.
58463         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
58464         (verify_persistent_db): Handle netgrdb.
58465         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
58466         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
58467         GETFDNETGR.
58468         (netgroup_response_header): Define.
58469         (innetgroup_response_header): Define.
58470         (datahead): Add netgroup_response_header and innetgroup_response_header
58471         elements.
58472         * nscd/nscd.conf: Add entries for netgroup cache.
58473         * nscd/nscd.h (dbtype): Add netgrdb.
58474         (_PATH_NSCD_NETGROUP_DB): Define.
58475         (netgroup_iov_disabled): Declare.
58476         (xmalloc, xcalloc, xrealloc): Move declarations here.
58477         (cache_search): Adjust prototype.
58478         Add netgroup-related prototypes.
58479         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
58480         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
58481         (__nscd_innetgr): Declare.
58482         * nscd/selinux.c (perms): Use access_vector_t as element type and
58483         add netgroup-related initializers.
58484         * nscd/netgroupcache.c: New file.
58485         * nscd/nscd_netgroup.c: New file.
58486         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
58487         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
58488         For four parameters use innetgr.
58489         * nss/nss_files/files-init.c: Add definition and callback for netgr.
58490         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
58491         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
58492         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
58494         * nscd/connections.c (register_traced_file): Don't register file
58495         for disabled databases.
58497 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
58499         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
58501         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
58502         from tree and freeing node.
58504 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
58506         * nss/nsswitch.c (__nss_database_lookup): Handle
58507         nss_parse_service_list out of memory case.
58509 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
58511         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
58512         out of memory case.
58514 2011-10-04  Andreas Schwab  <schwab@redhat.com>
58516         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
58517         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
58518         pass it down.
58519         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
58520         elf_machine_rela, elf_machine_lazy_rel.
58521         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
58522         (ELF_DYNAMIC_DO_REL): Likewise.
58523         (ELF_DYNAMIC_DO_RELA): Likewise.
58524         (ELF_DYNAMIC_RELOCATE): Likewise.
58525         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
58526         to ELF_DYNAMIC_DO_REL.
58527         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
58528         (dl_main): In trace mode always set __RTLD_NOIFUNC.
58529         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
58530         elf_machine_rela.
58531         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
58532         skip_ifunc, don't call ifunc function if non-zero.
58533         (elf_machine_rela): Likewise.
58534         (elf_machine_lazy_rel): Likewise.
58535         (elf_machine_lazy_rela): Likewise.
58536         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
58537         (elf_machine_lazy_rel): Likewise.
58538         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
58539         Likewise.
58540         (elf_machine_lazy_rel): Likewise.
58541         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58542         Likewise.
58543         (elf_machine_lazy_rel): Likewise.
58544         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
58545         (elf_machine_lazy_rel): Likewise.
58546         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
58547         (elf_machine_lazy_rel): Likewise.
58548         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
58549         (elf_machine_lazy_rel): Likewise.
58550         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
58551         (elf_machine_lazy_rel): Likewise.
58552         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
58553         (elf_machine_lazy_rel): Likewise.
58554         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
58555         (elf_machine_lazy_rel): Likewise.
58557 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
58559         * nss/nss_files/files-init.c (_nss_files_init): Use static
58560         initialization for all the *_traced_file variables.
58562 2011-09-28  Andreas Schwab  <schwab@redhat.com>
58564         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58566 2011-09-27  Roland McGrath  <roland@hack.frob.com>
58568         [BZ #13226]
58569         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
58571 2011-09-27  Andreas Schwab  <schwab@redhat.com>
58573         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58574         Reread the line before reparsing it.
58576 2011-09-26  Andreas Schwab  <schwab@redhat.com>
58578         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
58580 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
58581             Maxim Kuvyrkov  <maxim@codesourcery.com>
58582             Joseph Myers  <joseph@codesourcery.com>
58584         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
58585         if needed for __stack_chk_guard.
58587 2011-09-19  Roland McGrath  <roland@hack.frob.com>
58589         * sysdeps/posix/spawni.c (script_execute): Always define it.
58590         It will be optimized away if unused.
58591         (maybe_script_execute): New function.
58592         (__spawni): Call it.
58594         * Makerules: Don't include tls.make.
58595         (config-tls): Always set to thread.
58596         * tls.make.c: File removed.
58598 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
58600         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
58601         * config.make.in (CPPFLAGS-config): New substituted variable.
58603 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
58605         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
58607         [BZ #13192]
58608         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
58609         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
58611 2011-09-15  Roland McGrath  <roland@hack.frob.com>
58613         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
58614         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
58615         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
58616         (CALL_FAIL): Likewise.
58617         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
58618         (CALL_FAIL): Macro removed.
58619         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
58621 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
58623         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
58624         for __FINITE_MATH_ONLY__ == 1.
58626 2011-09-15  Andreas Schwab  <schwab@redhat.com>
58628         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
58629         __ieee754_sqrt instead of sqrt.
58630         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
58631         __ieee754_sqrtf instead of sqrtf.
58632         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
58633         __floorf instead of floorf.
58634         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
58635         __floorf, __truncf instead of floorf, truncf.
58637 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
58639         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
58641         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
58642         __extern_always_inline.
58643         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
58644         32-bit.
58646 2011-09-14  Andreas Schwab  <schwab@redhat.com>
58648         * elf/rtld.c (dl_main): Also relocate in dependency order when
58649         doing symbol dependency testing.
58651 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
58653         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58654         Always define `refsym'.
58656 2011-09-13  Andreas Schwab  <schwab@redhat.com>
58658         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
58659         (__FD_ELT): Renamed from __FDELT.
58660         * misc/bits/select2.h (__FD_ELT): Likewise.
58661         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
58662         __FD_MASK instead of __FDELT, __FDMASK.
58663         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58664         Likewise.
58665         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58666         Likewise.
58668         * elf/Makefile (gen-ldd): Fix pattern.
58670         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
58671         (init_tls): Likewise.
58673 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
58675         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
58677 2011-09-12  Andreas Schwab  <schwab@redhat.com>
58679         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
58680         `struct cmsghdr *' instead of `void *'.
58681         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
58682         Likewise.
58684 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
58686         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
58687         if non-absolute.
58688         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
58689         ldd_rewrite_script.
58691 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
58693         * configure.in: Remove --with-tls option.
58694         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
58695         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
58696         out in case it is missing.
58697         * sysdeps/ia64/elf/configure.in: Likewise.
58698         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
58699         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
58700         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
58701         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
58702         * sysdeps/sh/elf/configure.in: Likewise.
58703         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
58704         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
58705         * sysdeps/x86_64/elf/configure.in: Likewise.
58706         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
58707         * sysdeps/mach/hurd/tls.h: Likewise.
58709         [BZ #13067]
58710         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
58712         [BZ #13090]
58713         * configure.in: Fix use of AC_INIT.
58715         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
58717 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
58719         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
58720         __set_errno.
58721         * malloc/hooks.c: Likewise.
58723         [BZ #11929]
58724         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
58725         variables statically.
58726         (narenas): Initialize.
58727         (list_lock): Initialize.
58728         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
58729         initializtion of main_arena and list_lock.  Small cleanups.
58730         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
58731         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
58732         Add initializers to main_arena and mp_.
58733         (malloc_state): Remove pagesize member.  Change all users to use
58734         GLRO(dl_pagesize).
58736         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
58737         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
58738         is always initialized.
58740         * malloc/malloc.c: Removed unused configurations and dead code.
58741         * malloc/arena.c: Likewise.
58742         * malloc/hooks.c: Likewise.
58743         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
58745         * include/tls.h: Removed.  USE___THREAD must always be defined.
58746         * bits/libc-tsd.h: Don't handle !USE___THREAD.
58747         * elf/dl-libc.c: Likewise.
58748         * elf/dl-tsd.c: Likewise.
58749         * include/errno.h: Likewise.
58750         * include/netdb.h: Likewise.
58751         * include/resolv.h: Likewise.
58752         * inet/herrno-loc.c: Likewise.
58753         * inet/herrno.c: Likewise.
58754         * malloc/arena.c: Likewise.
58755         * malloc/hooks.c: Likewise.
58756         * malloc/malloc.c: Likewise.
58757         * resolv/res-state.c: Likewise.
58758         * resolv/res_libc.c: Likewise.
58759         * sysdeps/i386/dl-machine.h: Likewise.
58760         * sysdeps/ia64/dl-machine.h: Likewise.
58761         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
58762         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
58763         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
58764         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
58765         * sysdeps/sh/dl-machine.h: Likewise.
58766         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
58767         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
58768         * sysdeps/unix/i386/sysdep.S: Likewise.
58769         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
58770         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
58771         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
58772         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
58773         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
58774         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
58775         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
58776         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
58777         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58778         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
58779         * sysdeps/unix/x86_64/sysdep.S: Likewise.
58780         * sysdeps/x86_64/dl-machine.h: Likewise.
58781         * tls.make.c: Likewise.
58783         * configure.in: Remove --with-__thread option.  Make tests for
58784         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
58785         tls_model attribute fail if no support is available.  Remove
58786         USE_IN_LIBIO.
58787         * Makeconfig: Adjust for dropped configure option.  All features are
58788         now mandatory.
58789         * Makerules: Likewise.
58790         * Versions.def: Likewise.
58791         * argp/argp-fmtstream.c: Likewise.
58792         * argp/argp-fmtstream.h: Likewise.
58793         * argp/argp-help.c: Likewise.
58794         * assert/assert.c: Likewise.
58795         * config.h.in: Likewise.
58796         * config.make.in: Likewise.
58797         * configure: Likewise.
58798         * configure.in: Likewise.
58799         * csu/Versions: Likewise.
58800         * csu/init.c: Likewise.
58801         * elf/tst-audit2.c: Likewise.
58802         * elf/tst-tls10.c: Likewise.
58803         * elf/tst-tls10.h: Likewise.
58804         * elf/tst-tls11.c: Likewise.
58805         * elf/tst-tls12.c: Likewise.
58806         * elf/tst-tls14.c: Likewise.
58807         * elf/tst-tlsmod11.c: Likewise.
58808         * elf/tst-tlsmod12.c: Likewise.
58809         * elf/tst-tlsmod13.c: Likewise.
58810         * elf/tst-tlsmod13a.c: Likewise.
58811         * elf/tst-tlsmod14a.c: Likewise.
58812         * elf/tst-tlsmod15b.c: Likewise.
58813         * elf/tst-tlsmod16a.c: Likewise.
58814         * elf/tst-tlsmod16b.c: Likewise.
58815         * elf/tst-tlsmod7.c: Likewise.
58816         * elf/tst-tlsmod8.c: Likewise.
58817         * elf/tst-tlsmod9.c: Likewise.
58818         * gmon/gmon.c: Likewise.
58819         * grp/fgetgrent_r.c: Likewise.
58820         * grp/putgrent.c: Likewise.
58821         * hurd/fopenport.c: Likewise.
58822         * include/libc-symbols.h: Likewise.
58823         * include/tls.h: Likewise.
58824         * intl/gettextP.h: Likewise.
58825         * intl/loadinfo.h: Likewise.
58826         * locale/global-locale.c: Likewise.
58827         * locale/localeinfo.h: Likewise.
58828         * mach/devstream.c: Likewise.
58829         * malloc/arena.c: Likewise.
58830         * malloc/set-freeres.c: Likewise.
58831         * misc/err.c: Likewise.
58832         * misc/getttyent.c: Likewise.
58833         * misc/mntent_r.c: Likewise.
58834         * posix/getopt.c: Likewise.
58835         * posix/wordexp.c: Likewise.
58836         * pwd/fgetpwent_r.c: Likewise.
58837         * resolv/Versions: Likewise.
58838         * resolv/res_hconf.c: Likewise.
58839         * shadow/fgetspent_r.c: Likewise.
58840         * shadow/putspent.c: Likewise.
58841         * stdio-common/printf_fphex.c: Likewise.
58842         * stdio-common/tmpfile.c: Likewise.
58843         * stdlib/abort.c: Likewise.
58844         * stdlib/fmtmsg.c: Likewise.
58845         * sunrpc/auth_unix.c: Likewise.
58846         * sunrpc/clnt_perr.c: Likewise.
58847         * sunrpc/clnt_tcp.c: Likewise.
58848         * sunrpc/clnt_udp.c: Likewise.
58849         * sunrpc/clnt_unix.c: Likewise.
58850         * sunrpc/openchild.c: Likewise.
58851         * sunrpc/svc_simple.c: Likewise.
58852         * sunrpc/svc_tcp.c: Likewise.
58853         * sunrpc/svc_udp.c: Likewise.
58854         * sunrpc/svc_unix.c: Likewise.
58855         * sunrpc/xdr.c: Likewise.
58856         * sunrpc/xdr_array.c: Likewise.
58857         * sunrpc/xdr_rec.c: Likewise.
58858         * sunrpc/xdr_ref.c: Likewise.
58859         * sunrpc/xdr_stdio.c: Likewise.
58861 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58863         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58865 2011-07-03  Andreas Jaeger  <aj@suse.de>
58867         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
58868         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
58869         regenerate with gen-libm-tests.pl.
58871 2010-05-12  Petr Baudis  <pasky@suse.cz>
58873         [BZ #11589]
58874         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
58875         around j0() zero points by switching to j1().
58876         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58877         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58878         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58879         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58881 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58883         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
58884         instead of 0.
58885         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
58886         instead of 0.
58887         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58888         Patch in part by Pavel Roskin <proski@gnu.org>.
58890         [BZ #13138]
58891         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
58892         realloc.
58893         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
58894         Free memory block if necessary.
58896         [BZ #12847]
58897         * libio/genops.c (INTDEF): For string streams the _lock pointer can
58898         be NULL.  Don't lock in this case.
58900 2011-09-09  Roland McGrath  <roland@hack.frob.com>
58902         * elf/elf.h (ELFOSABI_GNU): New macro.
58903         (ELFOSABI_LINUX): Define to that.
58905 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
58907         * string/strncat.c (strncat): Undef the symbol in case it has been
58908         defined in bits/string.h.
58910 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58912         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
58914         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
58915         link map.
58917 2011-08-17  Andreas Jaeger  <aj@suse.de>
58919         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
58921 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
58922             Ian Lance Taylor  <iant@google.com>
58924         * math/libm-test.inc (lround_test): New testcase.
58925         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
58927 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
58929         * Makefile: Remove support for automatic cvs check-ins.
58930         * Makerules: Likewise.
58931         * config.make.in: Likewise.
58932         * configure.in: Likewise.
58933         * intl/Makefile: Likewise.
58934         * locale/Makefile: Likewise.
58935         * po/Makefile: Likewise.
58936         * posix/Makefile: Likewise.
58937         * sysdeps/gnu/Makefile: Likewise.
58938         * sysdeps/mach/hurd/Makefile: Likewise.
58939         * sysdeps/sparc/sparc32/Makefile: Likewise.
58941         [BZ #13118]
58942         * posix/Makefile (bug-regex32-ENV): Define.
58943         Patch by John Stanley <jpsinthemix@verizon.net>.
58945         * misc/Makefile (headers): Add bits/select2.h.
58946         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
58947         * misc/bits/select2.h: New file.
58948         * include/bits/select2.h: New file.
58949         * debug/Makefile (routines): Add fdelt_chk.
58950         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
58951         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
58952         FD_ISSET.
58953         * debug/fdelt_chk.c: New file.
58955         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
58956         * wcsmbs/test-wmemcmp.c: Likewise.
58957         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
58958         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
58960 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58962         * string/Makefile (strop-tests): Add memcmp.
58963         * string/test-wmemcmp.c: New file.
58964         * string/test-memcmp.c: Add wmemcmp support.
58966 2011-09-08  Roland McGrath  <roland@hack.frob.com>
58968         [BZ #13153]
58969         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
58970         2011-07-19 change.
58972         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
58973         garbage value in a __mach_port_mod_refs call in the cases of the
58974         task-self and thread-self ports.
58976 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58978         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
58980 2011-09-08  Andreas Schwab  <schwab@redhat.com>
58982         * elf/dl-load.c (lose): Check for non-null L.
58984 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
58986         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
58988         * elf/dl-libc.c (dlerror_run): Pass back error code from
58989         dl_catch_error.
58991         [BZ #13123]
58992         * elf/dl-load.c (lose): Free l_origin if it is valid.
58994         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
58995         names.
58996         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
58997         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58998         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58999         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59000         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
59001         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
59003 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59005         * sysdeps/powerpc/fpu/e_hypot.c: New file.
59006         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
59007         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
59008         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
59009         * sysdeps/powerpc/fpu/k_cosf.c: New file.
59010         * sysdeps/powerpc/fpu/k_sinf.c: New file.
59011         * sysdeps/powerpc/fpu/s_cosf.c: New file.
59012         * sysdeps/powerpc/fpu/s_sinf.c: New file.
59013         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
59014         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
59016 2011-08-15  Alan Modra  <amodra@gmail.com>
59018         [BZ #13092]
59019         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
59020         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
59021         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
59022         ppc_mcount to static-only-routines.
59023         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
59024         __mcount_internal.
59025         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
59026         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
59028 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
59030         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
59031         for finite and infinity parameters.
59033 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
59035         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
59036         and add nop instructions for throughput optimization.
59037         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59039 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
59041         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
59042         aligned copy for power7 with vector-scalar instructions.
59043         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
59045 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
59047         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
59048         AVX check.
59050 2011-09-07  Andreas Schwab  <schwab@redhat.com>
59052         [BZ #13144]
59053         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
59054         last change.
59056 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
59058         * sysdeps/unix/sysv/linux/x86_64/init-first.c
59059         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
59060         syscall wrapper around clock_gettime in __vdso_clock_gettime.
59061         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
59062         clock_gettime.
59064 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59066         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
59067         Forgot to demangle the pointer.
59069         * sysdeps/i386/sysdep.h: Define atom_text_section.
59070         * sysdeps/x86_64/sysdep.h: Likewise.
59071         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
59072         section with atom_text_section.
59073         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59074         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59075         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
59076         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59077         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
59079         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
59080         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
59081         already be defined.  Change to take two parameters and don't assign
59082         result to variable.  Adjust all users.
59083         Define INTERNAL_GETTIME if not already defined.
59084         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
59085         call.
59086         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
59087         HAVE_CLOCK_GETTIME_VSYSCALL.
59088         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
59090         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
59091         gettimeofday vsyscall, just use time.
59093 2011-09-06  Andreas Schwab  <schwab@redhat.com>
59095         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
59096         <errno.h>.
59098 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59100         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
59101         syscall on x86-64.
59102         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
59103         syscall.
59104         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
59105         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
59106         syscall if possible.
59108 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59110         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
59111         e_ident.  Don't pass to find_mapsXX.
59112         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
59114 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59116         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59117         strchr-sse2-no-bsf strrchr-sse2-no-bsf
59118         * sysdeps/x86_64/multiarch/strchr.S: Update.
59119         Check bit_slow_BSF bit.
59120         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59121         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
59122         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
59124 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59126         [BZ #13134]
59127         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
59128         before glibc 2.15.
59129         (tryshell): Define.
59130         (__spawni): Change last parameter to be flag.  Test
59131         SPAWN_XFLAGS_USE_PATH flag to use path or not.
59132         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
59133         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
59134         * posix/spawni.c: Likewise.
59135         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
59136         * posix/spawnp.c: Likewise.  Change normal version to use
59137         SPAWN_XFLAGS_USE_PATH.
59138         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
59139         SPAWN_XFLAGS_TRY_SHELL.
59141         [BZ #13150]
59142         * posix/glob.h: Remove gcc 1.x support.
59144         [BZ #13068]
59145         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
59147 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59149         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59150         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
59151         strrchr-sse2-bsf
59152         * sysdeps/i386/i686/multiarch/strchr.S: New file.
59153         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
59154         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
59155         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
59156         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
59157         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
59159 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59161         * sysdeps/x86_64/wcscmp.S: New file.
59163         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
59164         wcscmp-c wcscmp-sse2
59165         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
59166         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
59167         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
59168         * wcsmbs/wcscmp.c: Allow renaming.
59170 2011-09-05  David S. Miller  <davem@davemloft.net>
59172         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
59173         stack slot, rather than the struct return pointer slot.
59174         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
59175         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
59176         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
59177         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
59179 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59181         * po/ja.po: Update from translation team.
59183         [BZ #13144]
59184         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
59185         kernel in 64-bit binaries.
59187 2011-09-01  David S. Miller  <davem@davemloft.net>
59189         * elf/elf.h (HWCAP_SPARC_*): Move to..
59190         * sysdeps/sparc/sysdep.h: this new file and add new values.
59191         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
59192         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
59193         _DL_HWCAP_COUNT to 24.
59194         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
59195         entries.
59196         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
59197         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
59198         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
59199         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
59200         instead of magic constants.
59201         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59203 2011-08-31  David S. Miller  <davem@davemloft.net>
59205         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
59206         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
59207         Reimplement to do errno handling inline.
59208         (SYSCALL_ERROR_HANDLER): New macro.
59209         (__SYSCALL_STRING): Do not do errno handling in asm.
59210         (__CLONE_SYSCALL_STRING): Delete.
59211         (__INTERNAL_SYSCALL_STRING): Delete.
59212         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
59213         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
59214         (PSEUDO): Reimplement to do errno handling inline.
59215         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
59216         (SYSCALL_ERROR_HANDLER): New macro.
59217         (__SYSCALL_STRING): Do not do errno handling in asm.
59218         (__CLONE_SYSCALL_STRING): Delete.
59219         (__INTERNAL_SYSCALL_STRING): Delete.
59220         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
59221         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
59222         i386.
59223         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
59224         (inline_syscall*): Add 'err' argument.
59225         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
59226         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
59227         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
59228         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
59230         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
59231         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
59233 2011-08-30  Andreas Schwab  <schwab@redhat.com>
59235         * elf/rtld.c (dl_main): Relocate objects in dependency order.
59237 2011-08-29  Jiri Olsa <jolsa@redhat.com>
59239         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
59240         directive.
59242 2011-08-24  David S. Miller  <davem@davemloft.net>
59244         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
59246 2011-08-24  Andreas Schwab  <schwab@redhat.com>
59248         * elf/Makefile: Add rules to build and run unload8 test.
59249         * elf/unload8.c: New file.
59250         * elf/unload8mod1.c: New file.
59251         * elf/unload8mod1x.c: New file.
59252         * elf/unload8mod2.c: New file.
59253         * elf/unload8mod3.c: New file.
59255         * elf/dl-close.c (_dl_close_worker): Reset private search list if
59256         it wasn't used.
59258 2011-08-23  David S. Miller  <davem@davemloft.net>
59260         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
59261         subtract stack bias.
59262         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
59263         %sp not %fp in calculations.
59264         (_JMPBUF_UNWINDS_ADJ): Likewise.
59266         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
59267         (aio_suspend): Call it to force an exception region around the
59268         AIO_MISC_WAIT() invocation.
59270 2011-08-23  Andreas Schwab  <schwab@redhat.com>
59272         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
59273         backslash.
59275 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
59277         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
59278         protection macro.
59279         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
59280         and <dl-machine.h>.
59281         (Elf64_FuncDesc): Remove.
59283 2011-08-22  David S. Miller  <davem@davemloft.net>
59285         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
59286         sigaltstack check, add missing cfi directives.
59287         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
59288         missing cfi directives, and sigaltstack handling.
59290 2011-08-16  Andreas Schwab  <schwab@redhat.com>
59292         [BZ #11724]
59293         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
59294         object is seen twice.
59295         * elf/dl-fini.c (_dl_sort_fini): Likewise.
59297         * elf/Makefile (distribute): Add tst-initorder2.c.
59298         (tests): Add tst-initorder2.
59299         (modules-names): Add tst-initorder2a tst-initorder2b
59300         tst-initorder2c tst-initorder2d.  Add rules to build them.
59301         ($(objpfx)tst-initorder2.out): New rule.
59302         * elf/tst-initorder2.c: New file.
59303         * elf/tst-initorder2.exp: New file.
59305 2011-08-22  Andreas Schwab  <schwab@redhat.com>
59307         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
59309         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
59310         dependencies back to end of function.
59312         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
59313         $(elfobjdir)/ld.so.
59315 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
59317         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
59318         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
59319         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
59320         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
59321         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
59322         of __vdso_gettimeofday.
59323         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
59324         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
59325         attribute_hidden.
59326         (_libc_vdso_platform_setup): Remove initialization of
59327         __vdso_gettimeofday and __vdso_time.
59329 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
59331         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
59332         and fgetc_unlocked.
59333         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
59334         getc_unlocked.
59336         * elf/dl-open.c (add_to_global): Report additions to the global scope
59337         for LD_DEBUG=scopes.
59338         (dl_open_worker): Also print scope of newly loaded dependencies.
59339         (_dl_show_scope): Indicate if there is no scope.
59341         [BZ #13114]
59342         * stdio-common/Makefile (tests): Add bug24.
59343         * stdio-common/bug24.c: New file.
59345 2011-08-19  Andreas Jaeger  <aj@suse.de>
59347         [BZ #13114]
59348         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
59349         non-existant file when using close-on-exec mode.
59351 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
59353         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
59354         the very first instruction.
59356         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
59357         the CFI state in the end.
59358         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
59359         inclusion of dl-trampoline.h.
59360         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
59362 2011-08-19  Andreas Schwab  <schwab@redhat.com>
59364         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
59365         expectations for long double.
59367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
59368         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
59370 2011-08-14  David S. Miller  <davem@davemloft.net>
59372         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
59373         artificual limit depends upon the system page size.
59375 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
59377         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
59378         * resolv/Makefile: Define CFLAGS-libresolv.
59380 2011-08-17  Andreas Schwab  <schwab@redhat.com>
59382         * nss/makedb.c (compute_tables): Make variables used in nested
59383         function static.
59385 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
59387         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
59388         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
59389         if buffer was too small.
59391         * elf/pldd.c (main): Attach to all threads in the process.
59392         Rewrite /proc handling to use *at functions.
59394 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
59396         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
59397         specifies first scope to show.
59398         (dl_open_worker): Update callers.  Move printing scope of new
59399         object to before the relocation.
59400         * elf/rtld.c (dl_main): Update _dl_show_scope call.
59401         * sysdeps/generic/ldsodefs.h: Update declaration.
59403         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
59404         string for the scope number.
59406 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
59408         * nscd/servicescache.c (cache_addserv): Make sure written is always
59409         initialized.
59411 2011-08-14  Roland McGrath  <roland@hack.frob.com>
59413         * sysdeps/i386/i486/bits/atomic.h
59414         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
59415         statement expression, so as to suppress "set but not used" warning.
59416         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
59418         * string/strncat.c (STRNCAT): Use prototype definition.
59420         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
59421         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
59422         -Iprograms here.
59423         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
59424         (localedef-modules): Add localedef.
59425         (locale-modules): Add locale.
59427         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
59428         * elf/rtld.c (dl_main): Invert order of assignment in last change,
59429         to avoid a warning.
59431 2011-08-14  David S. Miller  <davem@davemloft.net>
59433         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
59434         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
59436 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
59438         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
59439         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
59440         * elf/rtld.c (dl_main): Set l_name of vDSO.
59441         Call _dl_show_scope when DL_DEBUG_SCOPES.
59442         (process_dl_debug): Recognize scopes flag and also set it for all.
59443         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
59444         Declare _dl_show_scope.
59446         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
59447         (do_dlopen): Pass caller_dlopen to dl_open.
59448         (__libc_dlopen_mode): Initialize caller_dlopen.
59450         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
59451         of libc.  Make tolower call locale-independent.  Optimize a bit by
59452         using isdigit instead of isalnum.
59453         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
59455 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
59457         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
59458         was a dependency or dynamically loaded.
59460 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
59462         * intl/l10nflist.c: Allow architecture-specific pop function.
59463         * sysdeps/x86_64/l10nflist.c: New file.
59465         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
59466         classification.
59468 2011-08-10  Andreas Schwab  <schwab@redhat.com>
59470         * include/dirent.h: Add libc_hidden_proto for scandirat and
59471         scandirat64.  Don't declare __scandirat64.
59472         * dirent/scandirat.c: Add libc_hidden_def.
59473         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
59474         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
59476 2011-08-10  David S. Miller  <davem@davemloft.net>
59478         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
59479         enum.
59480         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59481         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59482         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59484 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
59486         * Versions.def [libc]: Add GLIBC_2.15.
59487         * dirent/Makefile (routines): Add scandirat and scandirat64.
59488         * dirent/Versions [libc]: Export scandirat and scandirat64 for
59489         GLIBC_2.15.
59490         * dirent/dirent.h: Declare scandirat and scandirat64.
59491         * dirent/scandirat.c: New file.
59492         * dirent/scandirat64.c: New file.
59493         * sysdeps/wordsize-64/scandirat.c: New file.
59494         * sysdeps/wordsize-64/scandirat64.c: New file.
59495         * dirent/opendir.c: Define opendirat.
59496         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
59497         using scandirat.
59498         * dirent/scandir64.c: Adjust for scandir.c change.
59499         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
59500         __scandirat64, and __scandir_cancel_handler.
59501         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
59502         additional parameter and use openat instead of open (outside of ld.so).
59503         Add new __opendir as wrapper around __opendirat.
59504         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
59505         here without requiring old scandirat implementation.
59507 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
59509         * dirent/scandir.c (cancel_handler): Renamed to
59510         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
59511         defined.  Adjust users.
59512         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
59513         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
59515 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
59517         * string/test-string.h (IMPL): Use __STRING to expand name and then
59518         stringify it.
59520         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
59521         of cleanups.
59523 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59525         * string/Makefile: Update.
59526         (strop-tests): Append strncat.
59527         * string/test-wcscmp.c: New file.
59528         New comprehensive test for wcscmp.
59529         * string/test-strcmp.c: Update.
59530         (WIDE): New define.
59532 2011-07-22  Andreas Schwab  <schwab@redhat.com>
59534         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
59535         line.
59537 2011-07-26  Andreas Schwab  <schwab@redhat.com>
59539         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59540         encoding to ACE if AI_IDN.
59542 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
59544         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
59545         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
59547 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59549         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
59550         Fix overflow bug in strncat.
59551         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
59553         * string/test-strncat.c: Update.
59554         Add new tests for checking overflow bugs.
59556 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59558         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59559         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
59560         * sysdeps/i386/i686/multiarch/strcat.S: New file.
59561         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
59562         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
59563         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
59564         * sysdeps/i386/i686/multiarch/strncat.S: New file.
59565         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
59566         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
59568         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
59569         (USE_AS_STRCAT): Define.
59570         Add strcat and strncat support.
59571         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59573 2011-07-25  Andreas Schwab  <schwab@redhat.com>
59575         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
59576         __n bigger than INT_MAX+1.
59577         (__strncmp_g): Likewise.
59579 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
59581         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
59582         * libio/stido.h: Likewise.
59584         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
59585         (AF_NFC): Define.
59586         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
59587         (AF_NFC): Define.
59589         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
59590         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59591         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59592         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
59593         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59595         [BZ #13021]
59596         * scripts/test-installation.pl: Don't expect libnss_test1 to be
59597         installed.
59599         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
59600         typo.
59601         (_dl_x86_64_save_sse): Likewise.
59603 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
59605         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
59606         OSXSAVE.
59607         (_dl_x86_64_save_sse): Likewise.
59609         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
59611         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
59613 2011-07-21  Andreas Schwab  <schwab@redhat.com>
59615         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
59616         change.
59617         (_dl_x86_64_save_sse): Use correct AVX check.
59619 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59621         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
59622         bug in strncpy/strncat.
59623         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
59625 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
59627         * string/tester.c (test_strcat): Add tests for different alignments
59628         of source and destination.
59629         (test_strncat): Likewise.
59631 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
59633         [BZ #12852]
59634         * posix/glob.c (glob): Check passed in values before using them in
59635         expressions to avoid some overflows.
59636         (glob_in_dir): Likewise.
59638         [BZ #13007]
59639         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
59640         check for AVX enablement so that we don't crash with old kernels and
59641         new hardware.
59642         * elf/tst-audit4.c: Add same checks here.
59643         * elf/tst-audit6.c: Likewise.
59645         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
59647 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
59649         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
59651 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
59653         * po/cs.po: Update from translation team.
59654         * po/bg.po: Likewise.
59656 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
59658         * misc/sys/cdefs.h: Add support for const attribute.
59659         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
59660         to gnu_dev_{major,minor,makedev} functions.
59662 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
59664         * intl/dcigettext.c (get_output_charset): Add missing bracket.
59666 2011-07-20  Andreas Schwab  <schwab@redhat.com>
59668         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
59669         strlen results.
59671 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59673         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
59674         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
59675         register in order to avoid conflicts with the soft frame pointer
59676         being held in r11 when necessary.
59677         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
59678         (INTERNAL_VSYSCALL_NCS): Likewise.
59680 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
59682         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
59683         * elf/dl-fini.c (_dl_fini): Adjust caller.
59684         * elf/dl-close.c (_dl_close_worker): Likewise.
59685         * sysdeps/generic/ldsodefs.h: Adjust declaration.
59687 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
59689         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
59690         "aux_cache->nlibs < 0".
59692         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
59693         in the reload-count case.
59695 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59697         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59698         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
59699         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
59700         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
59701         * sysdeps/x86_64/multiarch/strcat.S: New file.
59702         * sysdeps/x86_64/multiarch/strncat.S: New file.
59703         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
59704         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
59705         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
59706         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
59707         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
59708         (USE_AS_STRCAT): Define.
59709         Add strcat and strncat support.
59710         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59711         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
59712         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
59713         * string/strncat.c: Update.
59714         (USE_AS_STRNCAT): Define.
59715         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59716         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
59717         and i7.
59718         * sysdeps/x86_64/multiarch/init-arch.h
59719         (bit_Prefer_PMINUB_for_stringop): New.
59720         (index_Prefer_PMINUB_for_stringop): Likewise.
59721         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
59722         bit_Prefer_PMINUB_for_stringop.
59724 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
59726         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
59727         buffer64.
59728         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
59729         of casting of buffer.
59730         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
59731         buffer32 and buffer64.
59732         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
59733         writes instead of casting of buffer.
59734         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
59735         buffer32.
59736         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
59737         casting of buffer.
59739 2011-07-19  Andreas Schwab  <schwab@redhat.com>
59741         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
59743 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
59745         * nscd/nscd.c (termination_handler): Don't do anything for a database
59746         if it has not yet been initialized.
59748 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
59750         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59752 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
59754         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59756 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
59758         * po/nl.po: Update from translation team.
59759         * po/sv.po: Likewise.
59761 2011-07-16  Roland McGrath  <roland@hack.frob.com>
59763         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
59764         now disallowed by GCC.
59766         * configure.in (use-default-link): Default to yes if a test -shared
59767         link meets our qualifications.
59768         * configure: Regenerated.
59770         * config.make.in (output-format): New variable.
59771         * configure.in: Check for ld --print-output-format support.
59772         * configure: Regenerated.
59773         * Makerules ($(common-objpfx)format.lds)
59774         [$(output-format) != unknown]: Just use $(output-format),
59775         instead of the linker-script munging.
59777 2011-07-14  Roland McGrath  <roland@hack.frob.com>
59779         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
59780         of $(common-objpfx)shlib.lds.
59781         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
59783         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
59784         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
59786         * configure.in (-z relro check): Adjust test code to add a large
59787         writable data section after it.
59788         * configure: Regenerated.
59790 2011-07-11  Roland McGrath  <roland@hack.frob.com>
59792         * configure.in (-z relro check): Fix test code to make the variable
59793         truly const.
59794         * configure: Regenerated.
59796 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
59798         * nscd/nscd.h (struct traced_file): Define.
59799         (struct database_dyn): Remove inotify_descr, reset_res, and filename
59800         elements.  Add traced_files.
59801         (inotify_fd): Declare.
59802         (register_traced_file): Declare.
59803         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
59804         (inotify_fd): Export.
59805         (resolv_conf_descr): Remove.
59806         (nscd_init): Move inotify descriptor creation to main.
59807         Don't register files for notification here.
59808         (register_traced_file): New function.
59809         (invalidate_cache): Don't use reset_res to determine whether to call
59810         res_init, go through the list of registered files.
59811         (main_loop_poll): The inotify descriptors are now stored in the
59812         structures for the traced files.
59813         (main_loop_epoll): Likewise
59814         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
59815         to __nss_disable_nscd.
59816         * nscd/cache.c (prune_cache): There is no single inotify descriptor
59817         for a database anymore.  Check the records for all the registered
59818         files instead.
59819         * nss/Makefile (libnss_files-routines): Add files-init.
59820         (libnss_db-routines): Add db-init.
59821         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
59822         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
59823         * nss/nss_db/db-init.c: New file.
59824         * nss/nss_files/files-init.c: New file.
59825         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
59826         __nss_lookup_function.
59827         (__nss_lookup_function): Call nss_load_library.
59828         (nss_load_all_libraries): New function.
59829         (__nss_disable_nscd): Take parameter with callback function for files
59830         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
59831         used for the cached services.
59832         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
59833         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
59834         options for features to all the files in nscd.
59836         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
59838 2011-07-10  Roland McGrath  <roland@hack.frob.com>
59840         * csu/elf-init.c (__libc_csu_init): Comment typo.
59842 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
59844         * po/pl.po: Update from translation team.
59845         * po/ja.po: Likewise.
59846         * po/ru.po: Likewise.
59847         * po/ko.po: Likewise.
59848         * po/fr.po: Likewise.
59850 2011-07-09  Roland McGrath  <roland@hack.frob.com>
59852         * configure.in (.ctors/.dtors header and trailer check):
59853         Use an empirical test on a built program.
59854         * configure: Regenerated.
59856         * configure.in (-z relro check): Use an empirical test on a built DSO.
59857         Detect, but do not require, on ia64.
59858         * configure: Regenerated.
59860         * configure.in (READELF): Find it with AC_CHECK_TOOL.
59861         Update tests that use readelf to use $READELF instead.
59862         * configure: Regenerated.
59864 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
59866         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
59867         if the result is not used.
59869 2011-07-05  Andreas Jaeger  <aj@suse.de>
59871         [BZ#9696]
59872         * stdlib/tst-strtod.c: Add testcase.
59874 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
59876         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
59877         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
59878         The latter has a higher limit.  Take additional parameter to pass to
59879         the new function.
59880         (__pathconf): Pass file to __statfs_link_max.
59881         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
59882         __statfs_link_max.
59883         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
59884         __statfs_link_max.
59886         [BZ #12868]
59887         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
59888         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59889         Handle Lustre.
59890         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
59891         (__statfs_filesize_max): Likewise.
59892         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
59894 2011-07-05  Andreas Jaeger  <aj@suse.de>
59896         * resolv/res_comp.c (dn_skipname): Remove unused variable.
59898 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
59900         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
59901         `status' variable.
59902         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
59903         Likewise.
59905 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
59907         * Makefile (strop-tests): Add strncat.
59908         * string/test-strncat.c: New file.
59910 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
59912         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
59914 2011-06-21  Andreas Jaeger  <aj@suse.de>
59916         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
59917         Copy rule from iconvdata/Makefile.
59919 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
59921         [BZ #12922]
59922         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
59923         but no long options are defined, just return 'W'.
59925 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
59927         [BZ #9696]
59928         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
59930 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
59932         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
59933         netgroups to read.
59934         (innetgr): Likewise.
59936 2011-07-05  Roland McGrath  <roland@hack.frob.com>
59938         * config.make.in (install_root): Default to $(DESTDIR).
59940 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
59942         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
59944 2011-07-02  Roland McGrath  <roland@hack.frob.com>
59946         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
59948         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
59949         containing directory rather than embedding absolute directory names.
59951         * scripts/check-local-headers.sh: Rewritten using awk.
59952         Match by word, not by line.  Print error messages for matches.
59953         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
59955         * Makerules [shlib-lds-flags empty]:
59956         ($(common-objpfx)libc_pic.opts): New target.
59957         ($(common-objpfx)libc_pic.os.clean): New target.
59958         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
59960         * config.make.in (OBJCOPY): New variable.
59961         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
59962         * configure: Regenerated.
59964         * config.make.in (use-default-link): New variable.
59965         * configure.in (use_default_link): Grok --with-default-link to set it.
59966         * configure: Regenerated.
59967         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
59968         (shlib-lds, shlib-lds-flags): Define to empty.
59970         * Makerules (shlib-lds): New variable.
59971         (shlib-lds-flags): New variable.
59972         (build-shlib, build-moduile, build-module-asneeded): Use it.
59973         ($(common-objpfx)libc.so): Use $(shlib-lds).
59974         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
59975         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
59977         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
59978         DT_FLAGS/DT_FLAGS_1 with zero flags.
59980         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
59981         linker script munging.
59983 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
59985         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
59986         as 128-bit value.
59987         * crypt/sha512.c (sha512_process_block): Perform total addition using
59988         128-bit if possible.
59989         (__sha512_finish_ctx): Likewise.
59990         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
59991         as 64-bit value.
59992         * crypt/sha256.c (SWAP64): Define.
59993         (sha256_process_block): Perform total addition using 64-bit if
59994         possible.
59995         (__sha256_finish_ctx): Likewise.
59997 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
59999         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
60000         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60001         * nscd/hstcache.c (cache_addhst): Likewise.
60002         * nscd/grpcache.c (cache_addgr): Likewise.
60003         * nscd/aicache.c (addhstaiX): Likewise
60004         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
60006 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
60008         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
60009         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60010         * nscd/hstcache.c (cache_addhst): Likewise.
60011         * nscd/grpcache.c (cache_addgr): Likewise.
60012         * nscd/aicache.c (addhstaiX): Likewise
60014 2011-07-01  Andreas Schwab  <schwab@redhat.com>
60016         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
60017         domain only when needed.
60019 2011-06-30  Andreas Schwab  <schwab@redhat.com>
60021         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
60022         is always restored.
60024 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
60026         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
60027         are re-adding the entry.
60028         * nscd/servicescache.c (cache_addserv): Likewise.
60030 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
60032         * sysdeps/generic/dl-irel.h: fix protection against multiple
60033         inclusions.
60034         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
60036 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
60038         [BZ #12935]
60039         * malloc/memusage.sh: Fix quoting in message.
60040         * debug/xtrace.sh: Likewise.
60042         * configure.in: Remove support for --experimental-malloc option, make
60043         it the default.
60044         * config.make.in: Likewise.
60045         * malloc/Makefile: Likewise.
60047 2011-06-27  Andreas Schwab  <schwab@redhat.com>
60049         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
60050         two-byte characters.
60052 2011-06-27  Roland McGrath  <roland@hack.frob.com>
60054         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
60055         AC_CACHE_CHECK invocation.
60056         * configure: Regenerated.
60058         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
60060 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
60062         [BZ #12350]
60063         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
60064         bit from old_res_options.
60066         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
60068         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
60069         value type for setfct.
60071 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
60073         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60074         __gettimeofday instead of gettimeofday.
60076 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
60078         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
60080 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
60082         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
60084         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
60085         info.
60087 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60089         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60090         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60091         strcpy-sse2-unaligned strncpy-sse2-unaligned
60092         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
60093         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
60094         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
60095         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
60096         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
60097         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
60098         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
60099         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
60100         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
60101         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
60102         (STRCPY): Support SSE2 and SSSE3 versions.
60104 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
60106         [BZ #12874]
60107         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
60108         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
60109         kernels which artificially limit size of requests.
60111 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60113         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60114         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60115         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
60116         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
60117         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
60118         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
60119         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
60120         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
60121         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
60122         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
60123         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
60124         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
60125         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
60126         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
60127         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
60128         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60129         Enable unaligned load optimization for Intel Core i3, i5 and i7
60130         processors.
60131         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
60132         Define.
60133         (index_Fast_Unaligned_Load): Define.
60134         (HAS_FAST_UNALIGNED_LOAD): Define.
60136 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
60138         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
60140 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60142         [BZ #12907]
60143         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
60144         until it is clear that the information is realy needed.
60145         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
60147 2011-06-22  Andreas Schwab  <schwab@redhat.com>
60149         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
60151 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60153         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60154         /sys/devices/system/cpu/online if it is usable.
60156         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
60157         reading the information from the /proc filesystem to once a second.
60159 2011-06-21  Andreas Jaeger  <aj@suse.de>
60161         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
60162         NULL after inclusion of kernel headers.
60164 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
60166         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
60167         calls to internal_setent.
60169         [BZ #12885]
60170         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
60171         addresses using gethostbyname4_r ignore IPv4 addresses.
60173         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
60174         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
60176         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
60178 2011-06-20  David S. Miller  <davem@davemloft.net>
60180         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
60181         inclusions.
60182         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
60184         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
60185         (elf_irel): Use it.
60186         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
60187         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
60188         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
60189         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
60190         * sysdeps/x86_64/dl-irel.h: Likewise.
60192         * elf/dl-runtime.c: Use elf_ifunc_invoke.
60193         * elf/dl-sym.c: Likewise.
60195 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60197         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
60198         need to dereference resplen2.
60200 2011-06-14  Andreas Schwab  <schwab@redhat.com>
60202         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
60204 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60206         * Makeconfig: Define vardbdir and inst_vardbdir.
60207         * nss/Makefile: Add rules to install db-Makefile.
60209         * nss/nss_db/db-XXX.c: Cleanup.
60211         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
60212         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
60213         GLIBC_PRIVATE.
60214         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
60215         * nss/makedb.c: Implement -g option to specify that value strings
60216         are generated and should not be added to table iterated over for
60217         get*ent calls.
60218         * nss/nss_db/db-initgroups.c: New file.
60220         * nss/getent.c: Add support for initgroups lookups through getgrouplist
60221         interface.
60223         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
60224         (internal_getgrouplist): Adjust to name change.
60225         Update use_initgroups_entry if this is not the first call.
60226         * nss/databases.def: Add initgroups entry.
60228         * nss/makedb.c (compute_tables): Check result of multiple hash table
60229         sizes to minimize maximum chain length.
60231 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
60233         * Versions.def: Add entry for libnss_db.
60234         * shlib-versions: Likewise.
60235         * nss/Makefile: Add rules to build libnss_db.
60236         * nss/Versions: Add libnss_db information.  Organize libnss_files
60237         entries better.
60238         * nss/db-Makefile: Add gshadow support.  Change rules for the new
60239         makedb progra.  Some minor improvements to generate smaller files.
60240         * nss/nss_db/nss_db.h: Move NSS database header data structures to
60241         here from...
60242         * nss/makedb.c: ...here.
60243         Improve database format to be smaller and require less memory at
60244         runtime.
60245         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
60246         db anymore.
60247         * nss/nss_db/db-netgrp.c: Likewise.
60248         * nss/nss_db/db-open.c: Likewise.
60249         * nss/nss_files/flies-XXX.x: Adjust comments.
60250         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
60251         * nss/nss_files/files-grp.c: Likewise.
60252         * nss/nss_files/files-hosts.c: Likewise.
60253         * nss/nss_files/files-network.c: Likewise.
60254         * nss/nss_files/files-proto.c: Likewise.
60255         * nss/nss_files/files-pwd.c: Likewise.
60256         * nss/nss_files/files-rpc.c: Likewise.
60257         * nss/nss_files/files-service.c: Likewise.
60258         * nss/nss_files/files-sgrp.c: Likewise.
60259         * nss/nss_files/files-spwd.c: Likewise.
60260         * nss/nss_db/db-alias.c: Removed.
60261         * nss/nss_db/dummy-db.h: Removed.
60263 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
60265         * nss/makedb.c: Rewritten to not use database library.
60266         * nss/Makefile: Update to build new makedb program.
60268 2011-06-14  Andreas Jaeger  <aj@suse.de>
60270         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
60271         memset declaration.
60273 2011-06-10  Andreas Schwab  <schwab@redhat.com>
60275         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
60276         tmpbuf.
60278 2011-06-10  Roland McGrath  <roland@hack.frob.com>
60280         * Makerules (shlib.lds): Fail if the linker script comes out empty.
60281         * elf/Makefile ($(objpfx)ld.so): Likewise.
60283         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
60284         Don't list ld.so twice in dependencies.
60286         * posix/bug-regex31.c: Include <stdlib.h>.
60288         * nscd/hstcache.c (cache_addhst): Remove unused variable.
60290         * nis/nss_compat/compat-spwd.c
60291         (getspent_next_nss_netgr): Remove unused variable.
60292         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
60294         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
60295         nonmembers" output to use the right array.
60297         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
60299         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
60301         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
60302         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
60303         * catgets/gencat.c (read_input_file): Likewise.
60304         * locale/programs/locarchive.c (enlarge_archive): Likewise.
60306         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
60307         variable definition inside #if's controlling its use.
60309         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
60311         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
60313         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
60315         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
60316         unreachable code.
60318         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
60320         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
60321         * configure: Regenerated.
60323         * Makerules: Revert last change.
60324         * elf/Makefile: Likewise.
60326 2011-06-09  Roland McGrath  <roland@hack.frob.com>
60328         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
60329         * elf/Makefile ($(objpfx)librtld.os): Likewise.
60330         (reloc-link): Likewise.
60332 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
60334         * elf/Makefile: Add rules to build pldd.
60335         * elf/pldd.c: New file.
60336         * elf/pldd-xx.c: New file.
60338 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
60340         * version.h: Update for 2.15 development version.
60342 2011-06-07  David S. Miller  <davem@davemloft.net>
60344         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
60345         ifuncs.
60346         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
60347         elf_machine_lazy_rel): Likewise.
60348         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
60349         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
60350         elf_machine_lazy_rel): Likewise.
60351         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
60352         dl_hwcap via passed in argument.
60353         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
60354         Likewise.
60356 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60358         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
60360 2011-06-06  Roland McGrath  <roland@hack.frob.com>
60362         [BZ #12849]
60363         * manual/fdl-1.1.texi: New file, verbatim from:
60364         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
60365         * manual/lgpl-2.1.texi: New file, verbatim from:
60366         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
60367         * manual/Makefile (licenses): New variable, list those new file names.
60368         (texis): Use it.
60369         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
60371         * manual/fdl.texi: File removed.
60372         * manual/lesser.texi: File removed.
60373         * manual/libc.texinfo (Copying, Documentation License):
60374         Use new @include file names, put @appendix directive before @include.
60376 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
60378         [BZ #12841]
60379         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
60380         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
60381         (mq_open): Add __NTH.
60383 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
60385         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60386         Assume Intel Core i3/i5/i7 processor if AVX is available.
60388 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
60390         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
60391         typo.
60393 2011-05-31  Andreas Schwab  <schwab@redhat.com>
60395         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
60396         memory.  Use alloca_account.  Fix memory leak when retrying.
60398 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
60400         * version.h (RELEASE): Bump for 2.14 release.
60401         * include/features.h (__GLIBC_MINOR__): Bump to 14.
60403         * config.make.in (RANLIB): Remove entry.
60405 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
60407         * po/Makefile (po-sed-cmd): Add ksh to extensions.
60408         (libc.pot): Work around missing support for .ksh extension in xgettext.
60410         [BZ #12684]
60411         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
60412         if both request failed.
60413         (send_dg): In case of server errors clear resplen or *resplen2.
60415         [BZ #12454]
60416         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
60417         when there are multiple maps.
60418         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
60419         (_dl_fini): Remove test here.
60421         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
60423 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
60425         [BZ #12350]
60426         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
60427         bit from old_res_options.
60428         (gaih_inet): Likewise.
60430         [BZ #11099]
60431         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
60432         as signed.
60434         * resolv/res_init.c (res_setoptions): Make the code more compact.
60436         [BZ #11558]
60437         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
60438         set RES_USEVC.
60440         [BZ #11634]
60441         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
60443         * malloc/malloc.h: Mark malloc hook variables as deprecated.
60445         [BZ #11781]
60446         * malloc/malloc.h: Declare malloc hook variables as volatile.
60448         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
60449         in last patch.
60451         [BZ #11799]
60452         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
60453         raise in the comment.
60454         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
60455         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
60456         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
60458 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
60460         [BZ #12811]
60461         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
60462         grow the buffers more if it already has to be sufficient.
60463         (build_wcs_upper_buffer): Likewise.
60464         * posix/regexec.c (check_matching): Likewise.
60465         (clean_state_log_if_needed): Likewise.
60466         (extend_buffers): Don't enlarge buffers beyond size of the input
60467         buffer.
60468         Patches mostly by Emil Wojak <emil@wojak.eu>.
60469         * posix/bug-regex32.c: New file.
60470         * posix/Makefile (tests): Add bug-regex32.
60472         * locale/findlocale.c (_nl_find_locale): Return right away if
60473         _nl_explode_name failed.
60474         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
60476         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
60478         * debug/xtrace.sh: Unify messages.
60479         * malloc/memusage.sh: Likewise.
60481         [BZ #12813]
60482         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
60483         time symbol from vDSO.  Substitute with vsyscall if not available.
60484         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
60485         __vdso_time.
60487         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
60488         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
60489         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
60490         Add sendmmsg and internal_sendmmsg.
60491         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
60492         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
60493         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
60495         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
60496         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
60497         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
60499 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
60501         [BZ #12813]
60502         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
60503         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
60504         available.
60505         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
60506         __vdso_getcpu.
60508         [BZ #12814]
60509         * iconvdata/Makefile (tests): Add bug-iconv9.
60510         * iconvdata/bug-iconv9.c: New file.
60512 2011-05-27  Andreas Schwab  <schwab@redhat.com>
60514         [BZ #12814]
60515         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
60517 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
60519         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60520         (struct user_regs_struct): Change intcs field back to cs.
60522 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
60524         * po/ja.po: Update from translation team.
60526 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
60528         [BZ #12795]
60529         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
60530         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
60532 2011-05-20  Andreas Schwab  <schwab@redhat.com>
60534         * stdlib/longlong.h: Update from GCC.
60536 2011-05-23  Andreas Schwab  <schwab@redhat.com>
60538         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
60539         parameter name.
60540         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
60541         Add parameter name.
60542         (__sysconf): Pass it down.
60544 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
60546         [BZ #12671]
60547         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
60548         some situations.
60549         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
60550         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
60551         add in in __libc_use_alloca calls.  Adjust callers.
60552         (glob): Use malloc in some situations.
60554         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
60555         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
60556         pltexit.
60558 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
60560         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
60561         and CLOCK_BOOTTIME_ALARM.
60563         [BZ #12782]
60564         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
60565         is returned.
60567         * string/_strerror.c (__strerror_r): Print negative errors as signed
60568         numbers.
60570         [BZ #12777]
60571         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
60572         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
60573         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
60575         * configure.in: Fix typo in redirection and correct removal of test
60576         files in two cases.
60578         [BZ #12788]
60579         * locale/setlocale.c (new_composite_name): Fix test to check for
60580         identical name of all categories.
60582         [BZ #12792]
60583         * libio/filedoalloc.c (local_isatty): New function.
60584         (_IO_file_doallocate): Use local_isatty.
60585         * stdio-common/perror.c (perror): In case a new stream is used
60586         forward the stream error.
60587         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
60588         error flag.
60590 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
60592         [BZ #11869]
60593         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
60594         alloca.
60595         * include/alloca.h (extend_alloca_account): Define.
60597         [BZ #11857]
60598         * posix/regex.h: Fix comments with documentation of user-accessible
60599         fields after compilation and describe correct free'ing of pattern
60600         after re_compile_pattern.
60601         Patch by Reuben Thomas <rrt@sc3d.org>.
60603 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
60605         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
60606         and -mno-altivec to prevent the compiler from using Altivec and/or
60607         VSX instructions when the corresponding registers are not available.
60609 2011-05-19  Andreas Schwab  <schwab@redhat.com>
60611         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
60613 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
60615         * libio/freopen.c (freopen): Use __dup2, not dup2.
60616         * libio/freopen64.c (freopen64): Likewise.
60618 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60620         [BZ #12775]
60621         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
60622         * math/Makefile (tests): Add test-powl.
60623         (CFLAGS-test-powl.c): Define.
60624         * math/test-powl.c: New file.
60626 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60628         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
60630 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
60632         [BZ #11837]
60633         * iconvdata/gb18030.c: Update to GB18020-2005.
60635 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
60637         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
60638         RE_SYNTAX_POSIX_AWK): Update to match recent development.
60639         Patch by Aharon Robbins <arnold@skeeve.com>.
60641         [BZ #11892]
60642         * stdlib/putenv.c (putenv): Don't always create copy of the variable
60643         on the stack.
60645         [BZ #11895]
60646         * misc/pselect.c (__pselect): Handle timeout value errors hidden
60647         through underflows.
60649         [BZ #12766]
60650         * misc/error.c (error_at_line): Ensure file_name and old_file_name
60651         point to strings before performing equality test for error_one_per_line
60652         mode.
60654         [BZ #11697]
60655         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
60657         [BZ #11820]
60658         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60659         (struct user_fpregs_struct): Avoid __uint*_t types.
60661         [BZ #6420]
60662         * malloc/mtrace.c (tr_where): Add additional parameter to point to
60663         symbol info.  Use it instead of calling _dl_addr locally.
60664         (lock_and_info): New function.
60665         (tr_freehook): Call lock_and_info and pass symbol info as additional
60666         parameter to tr_where.
60667         (tr_mallochook): Likewise.
60668         (tr_reallochook): Likewise.
60669         (tr_memalignhook): Likewise.
60671         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
60672         used and couldn't be at all thread-safe.
60674 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
60676         * libio/freopen.c (freopen): Don't close old file descriptor
60677         before the new one is opened.  Instead dup the new file descriptor
60678         to the old one after the new stream is created.
60679         * libio/freopen64.c (freopen64): Likewise.
60680         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
60681         * libio/fileops.c (_IO_new_file_close_it): Handle new
60682         _IO_FLAGS2_NOCLOSE flag.
60683         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
60684         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
60685         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
60686         _IO_FLAGS2_NOCLOSE flag.
60687         * include/unistd.h: Add hidden_proto for dup3.
60688         Define __have_dup3.
60689         * io/dup3.c: Define hidden symbol.
60690         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
60692         [BZ #7101]
60693         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
60694         when an incomplete long option is used.
60695         * posix/tst-getopt_long1.c: New file.
60696         * posix/Makefile (tests): Add tst-getopt_long1.
60698         [BZ #10138]
60699         * scripts/config.guess: Update from autoconf-2.68.
60700         * scripts/config.sub: Likewise.
60702         [BZ #10157]
60703         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
60704         tests into ...
60705         (has_cpuclock): ...this.  New function.
60706         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
60707         macro here based on has_cpuclock code.
60709         [BZ #10149]
60710         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60711         First byte (not low byte) is now always NUL.
60712         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
60714         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60715         Use non-cancelable interfaces.
60717         [BZ #9809]
60718         * locale/iso-639.def: Add entry for Sorani.
60720         [BZ #11901]
60721         * include/stdlib.h: Move include protection to the right place.
60722         Define abort_msg_s.  Declare __abort_msg with it.
60723         * stdlib/abort.c (__abort_msg): Adjust type.
60724         * assert/assert.c (__assert_fail_base): New function.  Majority
60725         of code from __assert_fail.  Allocate memory for __abort_msg with
60726         mmap.
60727         (__assert_fail): Now call __assert_fail_base.
60728         * assert/assert-perr.c: Remove bulk of implementation.  Use
60729         __assert_fail_base.
60730         * include/assert.hL Declare __assert_fail_base.
60731         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
60732         mmap.
60733         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
60735 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
60737         [BZ #11952]
60738         [BZ #12453]
60739         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
60740         until all modules are registered in the DTV.
60741         * elf/Makefile: Add rules to build and run tst-tls19.
60742         * elf/tst-tls19.c: New file.
60743         * elf/tst-tls19mod1.c: New file.
60744         * elf/tst-tls19mod2.c: New file.
60745         * elf/tst-tls19mod3.c: New file.
60746         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
60748         [BZ #12083]
60749         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
60750         correctly.
60752         [BZ #12601]
60753         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
60754         two-byte sequence errors.
60755         * iconvdata/Makefile (tests): Add bug-iconv8.
60756         * iconvdata/bug-iconv8.c: New file.
60758         [BZ #12626]
60759         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
60760         buf2 definition.
60762         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
60764         [BZ #12432]
60765         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
60766         (dummy_getcfa): New function.
60767         (init): Get _Unwind_GetCFA address, use dummy if not found.
60768         (backtrace_helper): In recursion check, also check whether CFA changes.
60769         (__backtrace): Completely initialize arg.
60771         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
60772         storing incomplete byte sequence in state object.  Avoid testing for
60773         guaranteed too small input if we know there is enough data available.
60775 2011-05-11  Andreas Schwab  <schwab@redhat.com>
60777         * Makeconfig (+link-pie): Indent.
60778         * Rules (binaries-pie): Define if $(have-fpie) and
60779         $(build-shared).
60780         (binaries-shared): Also filter out $(binaries-pie).
60781         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
60782         * nscd/Makefile (others-pie): Add nscd.
60783         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
60784         ($(objpfx)nscd): Remove command override.
60785         * login/Makefile (others-pie): Add pt_chown.
60786         ($(objpfx)pt_chown): Remove command override.
60787         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
60788         remove command overrides.
60790 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
60792         * libio/tst_putwc.c: Fix error messages.
60794         [BZ #12724]
60795         * libio/fileops.c (_IO_new_file_close_it): Always flush when
60796         currently writing and seek to current position when not.
60797         * libio/Makefile (tests): Add bug-fclose1.
60798         * libio/bug-fclose1.c: New file.
60800 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
60802         [BZ #12511]
60803         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
60804         don't set DF_1_NODELETE here.
60805         (do_lookup_x): When entering new entry test for copy relocation
60806         and if necessary set DF_1_NODELETE flag.
60807         * elf/tst-unique4.cc: New file.
60808         * elf/tst-unique4.h: New file.
60809         * elf/tst-unique4lib.cc: New file.
60810         * elf/Makefile: Add rules to build and run tst-unique4.
60811         Patch by Piotr Bury <pbury@goahead.com>.
60813 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
60815         [BZ #12052]
60816         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
60818         [BZ #12625]
60819         * misc/mntent_r.c (addmntent): Flush the stream after the output
60821         [BZ #12393]
60822         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
60823         (is_trusted_path_normalize): Skip initial colon.  Append slash
60824         to empty buffer.  Duplicate is_trusted_path code but allow
60825         constructed patch to be prefix.
60826         (is_dst): Allow $ORIGIN followed by /.
60827         (_dl_dst_substitute): Correct clearing of check_for_trusted.
60828         Correct testing of result of is_trusted_path_normalize
60829         (decompose_rpath): Fix warning.
60831 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
60833         [BZ #11257]
60834         * grp/initgroups.c (internal_getgrouplist): When we found the service
60835         list through the initgroups entry in nsswitch.conf do not always
60836         continue on a successful lookup.  Don't always use the
60837         __nss_group_database value if it is set.
60838         * nss/nsswitch.conf (initgroups): Change action for successful db
60839         lookup to continue for compatibility.
60841 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
60843         [BZ #11532]
60844         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
60845         and CP774 modules.
60846         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
60847         and CP774 modules.
60848         * iconvdata/tst-tables.sh: Likewise.
60849         * iconvdata/cp770.c: New file.
60850         * iconvdata/cp771.c: New file.
60851         * iconvdata/cp772.c: New file.
60852         * iconvdata/cp773.c: New file.
60853         * iconvdata/cp774.c: New file.
60854         * iconvdata/testdata/CP770: New file.
60855         * iconvdata/testdata/CP770..UTF8: New file.
60856         * iconvdata/testdata/CP771: New file.
60857         * iconvdata/testdata/CP771..UTF8: New file.
60858         * iconvdata/testdata/CP772: New file.
60859         * iconvdata/testdata/CP772..UTF8: New file.
60860         * iconvdata/testdata/CP773: New file.
60861         * iconvdata/testdata/CP773..UTF8: New file.
60862         * iconvdata/testdata/CP774: New file.
60863         * iconvdata/testdata/CP774..UTF8: New file.
60865         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
60866         END CHARMAP line.
60867         * iconvdata/gen-8bit-gap.sh: Likewise.
60868         * iconvdata/gen-8bit.sh: Likewise.
60870         * locale/iso-639.def: Add ary entry.
60872         [BZ #11258]
60873         * locale/C-translit.h.in: Add U20A1 transliteration.
60875         [BZ #12178]
60876         * locale/iso-639.def: Add wae entry.
60877         Patch by Kevin Bortis <bortis@translate-wae.ch>.
60879         [BZ #12545]
60880         * locale/programs/localedef.c (construct_output_path): Use ssize_t
60881         for n.
60883         [BZ #12711]
60884         * locale/C-translit.h.in: Add entry for U20B9.
60885         Patch by pravin.d.s@gmail.com.
60887 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
60889         [BZ #12713]
60890         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
60891         ENAMETOOLONG use generic getcwd.
60892         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
60893         in rtld.  Use *stat64.
60894         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
60895         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
60896         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
60897         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
60898         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
60899         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
60900         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
60901         __fstatat64 macros.
60902         * include/dirent.h: Add libc_hidden_proto for rewinddir.
60903         * dirent/rewinddir.c: Add libc_hidden_def.
60904         * sysdeps/mach/hurd/rewinddir.c: Likewise.
60905         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
60907         * include/dirent.h (__alloc_dir): Add flags parameter.
60908         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
60909         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
60910         __alloc_dir.
60911         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
60912         from fdopendir if O_CLOEXEC is already set.
60914 2011-03-15  Alan Modra  <amodra@gmail.com>
60916         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
60917         l_tls_firstbyte_offset non-zero.  Save padding offset in
60918         l_tls_firstbyte_offset for later use.
60919         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
60920         freeing static tls block.
60922 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
60924         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
60925         where #ifdef was intended.  The intent is to prevent ARG_MAX from
60926         being defined by the kernel headers.
60928 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
60930         [BZ #12734]
60931         * resolv/resolv.h: Define RES_NOTLDQUERY.
60932         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
60933         no-tld-query and set RES_NOTLDQUERY.
60934         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
60935         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
60936         modern BIND to search name as TLD unless forbidden.
60938 2011-05-07  Petr Baudis  <pasky@suse.cz>
60939             Ulrich Drepper  <drepper@gmail.com>
60941         [BZ #12393]
60942         * elf/dl-load.c (fillin_rpath): Move trusted path check...
60943         (is_trusted_path): ...to here.
60944         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
60945         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
60946         using is_trusted_path_normalize() in setuid scripts.
60948 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
60950         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
60951         __BEGIN/__END_DECLS.
60953 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
60955         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
60956         NSS_STATUS_NOTFOUND if no record was found.
60958 2011-05-05  Andreas Schwab  <schwab@redhat.com>
60960         * sunrpc/Makefile (headers): Add rpc/netdb.h.
60961         (headers-not-in-tirpc): Remove rpc/netdb.h
60962         * resolv/netdb.h: Revert last change.
60964 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
60966         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
60967         circular dependency between libgcc.a and libc.a.
60969 2011-05-05  Andreas Schwab  <schwab@redhat.com>
60971         * resolv/netdb.h: Don't include <rpc/netdb.h>.
60972         * nis/Makefile: Don't install rpcsvc/*.
60973         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
60974         instead of <rpc/types.h>.
60975         (MAXHOSTNAMELEN): Define.
60977 2011-05-03  Andreas Schwab  <schwab@redhat.com>
60979         * elf/ldconfig.c (add_dir): Don't crash on empty path.
60981 2011-04-28  Maciej Babinski  <mbabinski@google.com>
60983         [BZ #12714]
60984         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
60985         gethostbyname4_r when IPv6 results are possible.
60987 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
60989         [BZ #12723]
60990         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
60991         _PC_PIPE_BUF handling.
60993 2011-04-30  Bruno Haible  <bruno@clisp.org>
60995         [BZ #12717]
60996         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
60997         * resolv/netdb.h (getnameinfo): Change type of flags parameter
60998         to 'int'.
60999         * inet/getnameinfo.c (getnameinfo): Likewise.
61001 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
61003         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
61004         to groups setting in database lookup.
61005         * nss/nsswitch.conf: Add initgroups entry.
61007 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
61009         [BZ #12685]
61010         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
61011         mode string.
61012         Patch by Eric Blake <eblake@redhat.com>.
61014 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
61016         * sunrpc/Makefile (need-export-routines): Add svc_run.
61017         (routines): Remove svc_run.
61018         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
61019         * sunrpc/clnt_perr.c (clnt_perrno): Export.
61020         * sunrpc/svc_run.c (svc_run): Likewise.
61021         * sunrpc/svc_udp.c (svcudp_create): Likewise.
61023 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
61025         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
61026         problem in reallocation in last patch.
61028 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
61030         * sunrpc/Makefile: Move inclusion of Rules.
61032 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
61034         * nss/nss_files/files-initgroups.c: New file.
61035         * nss/Makefile (libnss_files-routines): Add files-initgroups.
61036         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
61037         _nss_files_initgroups_dyn.
61039 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
61041         * elf/elf.h (R_ARM_IRELATIVE): Define.
61043 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
61045         * po/ru.po: Update from translation team.
61047 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
61049         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
61050         dependencies.
61052 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
61054         [BZ #12653]
61055         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
61056         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
61057         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
61058         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61059         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61061 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
61063         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
61064         differing bytes.
61065         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61066         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61067         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61069 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
61071         [BZ #12420]
61072         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
61073         storing it.
61074         * stdlib/bug-getcontext.c: New file.
61075         * stdlib/Makefile: Add rules to build and run bug-getcontext.
61077 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61079         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
61080         instructions into .machine "z9-109".
61081         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
61082         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
61084 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61086         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
61087         between environment variables and auxiliary vector.
61089 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
61091         * Makefile: Add rules to build linkobj/libc.so.
61092         * include/libc-symbols.h: Define libc_hidden_nolink.
61093         * include/rpc/auth.h: Mark functions which are to be hidden.
61094         * include/rpc/auth_des.h: Likewise.
61095         * include/rpc/auth_unix.h: Likewise.
61096         * include/rpc/clnt.h: Likewise.
61097         * include/rpc/des_crypt.h: Likewise.
61098         * include/rpc/key_prot.h: Likewise.
61099         * include/rpc/pmap_clnt.h: Likewise.
61100         * include/rpc/pmap_prot.h: Likewise.
61101         * include/rpc/pmap_rmt.h: Likewise.
61102         * include/rpc/rpc_msg.h: Likewise.
61103         * include/rpc/svc.h: Likewise.
61104         * include/rpc/svc_auth.h: Likewise.
61105         * include/rpc/xdr.h: Likewise.
61106         * nis/Makefile: Link all DSOs against linkobj/libc.so.
61107         * nss/Makefile: Likewise.
61108         * sunrpc/Makefile: Don't install headers.  Build library with normal
61109         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
61110         * sunrpc/auth_des.c: Hide exported symbols by default, export some
61111         for the compat linking library.  Remove use of INTDEF/INTUSE.
61112         * sunrpc/auth_none.c: Likewise.
61113         * sunrpc/auth_unix.c: Likewise.
61114         * sunrpc/authdes_prot.c: Likewise.
61115         * sunrpc/authuxprot.c: Likewise.
61116         * sunrpc/clnt_gen.c: Likewise.
61117         * sunrpc/clnt_perr.c: Likewise.
61118         * sunrpc/clnt_raw.c: Likewise.
61119         * sunrpc/clnt_simp.c: Likewise.
61120         * sunrpc/clnt_tcp.c: Likewise.
61121         * sunrpc/clnt_udp.c: Likewise.
61122         * sunrpc/clnt_unix.c: Likewise.
61123         * sunrpc/des_crypt.c: Likewise.
61124         * sunrpc/des_soft.c: Likewise.
61125         * sunrpc/get_myaddr.c: Likewise.
61126         * sunrpc/key_call.c: Likewise.
61127         * sunrpc/key_prot.c: Likewise.
61128         * sunrpc/netname.c: Likewise.
61129         * sunrpc/pm_getmaps.c: Likewise.
61130         * sunrpc/pm_getport.c: Likewise.
61131         * sunrpc/pmap_clnt.c: Likewise.
61132         * sunrpc/pmap_prot.c: Likewise.
61133         * sunrpc/pmap_prot2.c: Likewise.
61134         * sunrpc/pmap_rmt.c: Likewise.
61135         * sunrpc/publickey.c: Likewise.
61136         * sunrpc/rpc_cmsg.c: Likewise.
61137         * sunrpc/rpc_common.c: Likewise.
61138         * sunrpc/rpc_dtable.c: Likewise.
61139         * sunrpc/rpc_prot.c: Likewise.
61140         * sunrpc/rpc_thread.c: Likewise.
61141         * sunrpc/rtime.c: Likewise.
61142         * sunrpc/svc.c: Likewise.
61143         * sunrpc/svc_auth.c: Likewise.
61144         * sunrpc/svc_authux.c: Likewise.
61145         * sunrpc/svc_raw.c: Likewise.
61146         * sunrpc/svc_run.c: Likewise.
61147         * sunrpc/svc_simple.c: Likewise.
61148         * sunrpc/svc_tcp.c: Likewise.
61149         * sunrpc/svc_udp.c: Likewise.
61150         * sunrpc/svc_unix.c: Likewise.
61151         * sunrpc/svcauth_des.c: Likewise.
61152         * sunrpc/xcrypt.c: Likewise.
61153         * sunrpc/xdr.c: Likewise.
61154         * sunrpc/xdr_array.c: Likewise.
61155         * sunrpc/xdr_float.c: Likewise.
61156         * sunrpc/xdr_intXX_t.c: Likewise.
61157         * sunrpc/xdr_mem.c: Likewise.
61158         * sunrpc/xdr_rec.c: Likewise.
61159         * sunrpc/xdr_ref.c: Likewise.
61160         * sunrpc/xdr_sizeof.c: Likewise.
61161         * sunrpc/xdr_stdio.c: Likewise.
61163 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
61165         [BZ #12650]
61166         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
61167         * sysdeps/ia64/dl-tls.h: Likewise.
61168         * sysdeps/powerpc/dl-tls.h: Likewise.
61169         * sysdeps/s390/dl-tls.h: Likewise.
61170         * sysdeps/sh/dl-tls.h: Likewise.
61171         * sysdeps/sparc/dl-tls.h: Likewise.
61172         * sysdeps/x86_64/dl-tls.h: Likewise.
61173         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
61175 2011-03-14  Andreas Schwab  <schwab@redhat.com>
61177         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
61178         rpath element also skip the following colon.
61179         (expand_dynamic_string_token): Add is_path parameter and pass
61180         down to DL_DST_REQUIRED and _dl_dst_substitute.
61181         (decompose_rpath): Call expand_dynamic_string_token with
61182         non-zero is_path.  Ignore empty rpaths.
61183         (_dl_map_object_from_fd): Call expand_dynamic_string_token
61184         with zero is_path.
61186 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
61188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
61189         Make cancelable.
61191 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
61193         [BZ #12655]
61194         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
61195         Patch by Filipe David Manana <fdmanana@apache.org>.
61197 2011-04-07  Andreas Schwab  <schwab@redhat.com>
61199         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
61200         Maintain aligned stack.
61201         (CHECK_RSP): Remove unused macro.
61203 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
61205         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
61206         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
61208 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
61210         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
61212         * include/features.h: Mention __USE_XOPEN2K8 in comment.
61214 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
61216         [BZ #12518]
61217         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
61218         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
61219         * sysdeps/x86_64/memmove.c: New file.
61220         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
61221         (memcpy): Renamed to ...
61222         (__new_memcpy): This.
61223         (memcpy): Provide GLIBC_2_14 memcpy.
61224         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
61225         (memcpy): Provide GLIBC_2_2_5 memcpy.
61227 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61229         [BZ #12631]
61230         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
61232 2011-03-30  Andreas Schwab  <schwab@redhat.com>
61234         * misc/syncfs.c: New file.
61235         * misc/Makefile (routines): Add syncfs.
61236         * posix/unistd.h: Declare syncfs.
61237         * sysdeps/unix/syscalls.list: Add syncfs.
61239 2011-04-01  Andreas Schwab  <schwab@redhat.com>
61241         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
61242         open_by_handle_at.
61243         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61244         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61245         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61246         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61247         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61248         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
61249         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61251 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61253         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
61254         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61255         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
61256         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61257         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61258         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61259         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61261         * io/Makefile: Compile fallocate.c, fallocate64.c, and
61262         sync_file_range.c with -fexceptions.
61263         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
61264         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
61265         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
61266         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
61267         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
61268         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
61269         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
61270         sync_file_range as cancellation point
61271         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
61272         now a wrapper around __call_sync_file_range with cancellation handling.
61273         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
61274         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
61275         function name to __call_sync_file_range.
61276         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
61277         Add call_sync_file_range.
61279 2011-04-01  Andreas Schwab  <schwab@redhat.com>
61281         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61282         bits/timex.h.
61284 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61286         * iconv/iconv.h: Fix typo in comment.
61287         * io/fcntl.h: Likewise.
61288         * libio/stdio.h: Likewise.
61289         * posix/spawn.h: Likewise.
61290         * posix/unistd.h: Likewise.
61291         * stdlib/stdlib.h: Likewise.
61292         * time/time.h: Likewise.
61293         * wcsmbs/wchar.h: Likewise.
61295         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
61296         open_by_handle): Add.
61297         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
61298         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
61299         Augment a few comments.
61300         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61301         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61302         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61303         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61304         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61305         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
61306         open_by_handle.
61308         * io/fcntl.h (AT_EMPTY_PATH): Define.
61310 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
61312         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
61313         * sysdeps/unix/sysv/linux/bits/time.h: New file.
61314         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
61315         to...
61316         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
61317         * Versions.def: Add GLIBC_2.14.
61318         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
61319         Export.
61321 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
61323         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
61324         round counter.
61325         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61327 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61329         [BZ #12597]
61330         * string/test-strncmp.c (do_page_test): New function.
61331         (check2): Likewise.
61332         (test_main): Call check2.
61333         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
61335 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
61337         [BZ #12587]
61338         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
61339         Handle cache information in CPU leaf 4.
61340         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61342 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
61344         [BZ #12583]
61345         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
61346         character representation.
61347         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
61349 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
61351         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
61352         END(__isnan) to END(__isnanf) to match function entry point/label
61353         EALIGN(__isnanf,...).
61355 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
61357         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
61359 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
61361         [BZ #12510]
61362         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
61363         copy from the symbol referenced in the relocation to initialize the
61364         used variable.
61365         Patch by Piotr Bury <pbury@goahead.com>.
61366         * elf/Makefile: Add rules to build and tst-unique3.
61367         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
61368         * elf/tst-unique3.cc: New file.
61369         * elf/tst-unique3.h: New file.
61370         * elf/tst-unique3lib.cc: New file.
61371         * elf/tst-unique3lib2.cc: New file.
61373         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
61375 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
61377         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
61378         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
61379         to _start.
61381 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
61383         * elf/dl-load.c (_dl_map_object): If we are looking for the first
61384         to-be-loaded object along a path to loader is ld.so.
61386 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
61387             Ulrich Drepper  <drepper@gmail.com>
61389         * sysdeps/x86_64/memset.S: After aligning destination, code
61390         branches to different locations depending on the value of
61391         misalignment, when multiarch is enabled. Fix this.
61393 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
61395         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
61396         Set _x86_64_preferred_memory_instruction for AMD processsors.
61397         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61398         Set bit_Prefer_SSE_for_memop for AMD processors.
61400 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
61402         * libio/fmemopen.c (fmemopen): Optimize a bit.
61404 2011-03-03  Andreas Schwab  <schwab@redhat.com>
61406         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
61408 2011-03-03  Roland McGrath  <roland@redhat.com>
61410         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
61412 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
61414         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
61415         __bzero_ultra1 instead of __memset_ultra1.
61417 2011-02-23  Andreas Schwab  <schwab@redhat.com>
61418             Ulrich Drepper  <drepper@gmail.com>
61420         [BZ #12509]
61421         * include/link.h (struct link_map): Add l_orig_initfini.
61422         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
61423         returning unsuccessfully.
61424         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
61425         close of a file loaded at startup, restore the original l_initfini
61426         list.
61427         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
61428         list, store the pointer.
61429         * elf/Makefile ($(objpfx)noload-mem): New rule.
61430         (noload-ENV): Define.
61431         (tests): Add $(objpfx)noload-mem.
61432         * elf/noload.c: Include <memcheck.h>.
61433         (main): Call mtrace.  Close all opened handles.
61435 2011-02-17  Andreas Schwab  <schwab@redhat.com>
61437         [BZ #12454]
61438         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
61439         dependencies are missing.
61441 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61443         Fix __if_freereq crash: Unlike the generic version which uses free,
61444         Hurd needs munmap.
61445         * sysdeps/mach/hurd/ifreq.h: New file.
61447 2011-01-27  Petr Baudis  <pasky@suse.cz>
61448             Ulrich Drepper  <drepper@gmail.com>
61450         [BZ 12445]#
61451         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
61452         to extend_alloca().
61453         * stdio-common/bug23.c: New file.
61454         * stdio-common/Makefile (tests): Add bug23.
61456 2010-09-28  Andreas Schwab  <schwab@redhat.com>
61457             Ulrich Drepper  <drepper@gmail.com>
61459         [BZ #12489]
61460         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
61461         before performing relro protection.  At old place add assertion
61462         to make sure nothing changed.
61464 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
61465             Glauber de Oliveira Costa  <glommer@gmail.com>
61467         * elf/elf.h: Add new ARM TLS relocs.
61469 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
61471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
61472         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
61473         cast from r3.
61474         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
61475         'tests' variable.
61476         * sysdeps/wordsize-64/tst-writev.c: New file.
61478 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
61480         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
61481         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
61482         insns in _dl_start to prevent a TOC reference before relocs are
61483         resolved.
61485 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
61487         [BZ #12469]
61488         * Makeconfig: Remove RANLIB definition.
61489         * Makerules: Don't use RANLIB.
61490         * aclocal.m4: Remove ranlib test.
61491         * configure.in: No need to check for ranlib.
61492         * elf/rtld-Rules: Don't use RANLIB.
61494 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61496         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
61497         protection macro.
61498         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
61499         inclusion protection macro.
61501         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
61502         SIGRTMIN and SIGRTMAX and print information in that case only when
61503         SIGRTMIN is defined.
61505 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
61507         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
61508         arginfo fn returning -1.
61510         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
61511         and thousands string is zero terminated.
61513 2011-02-03  Andreas Schwab  <schwab@redhat.com>
61515         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
61516         sysdeps/unix/sysv/linux/bits/socket.h.
61518 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61520         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
61521         (__CPU_COUNT): Remove old macros.
61522         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
61523         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
61524         (__CPU_ALLOC, __CPU_FREE): Add macros.
61525         (__sched_cpualloc, __sched_cpufree): Add declarations.
61527 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
61529         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
61530         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
61531         * nscd/aicache.c (addhstaiX): Return timeout of added value.
61532         (readdhstai): Return value of addhstaiX call.
61533         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
61534         (addgrbyX): Return value returned by cache_addgr.
61535         (readdgrbyname): Return value returned by addgrbyX.
61536         (readdgrbygid): Likewise.
61537         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
61538         (addpwbyX): Return value returned by cache_addpw.
61539         (readdpwbyname): Return value returned by addhstbyX.
61540         (readdpwbyuid): Likewise.
61541         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
61542         (addservbyX): Return value returned by cache_addserv.
61543         (readdservbyname): Return value returned by addservbyX:
61544         (readdservbyport): Likewise.
61545         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
61546         (addhstbyX): Return value returned by cache_addhst.
61547         (readdhstbyname): Return value returned by addhstbyX.
61548         (readdhstbyaddr): Likewise.
61549         (readdhstbynamev6): Likewise.
61550         (readdhstbyaddrv6): Likewise.
61551         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
61552         (readdinitgroups): Return value returned by addinitgroupsX.
61553         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
61554         (prune_cache): Keep track of timeout value of re-added entries.
61555         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
61556         * nscd/nscd.h: Adjust prototypes of readd* functions.
61558 2011-02-04  Roland McGrath  <roland@redhat.com>
61560         * nis/nis_server.c (nis_servstate): Use the right name for 0.
61561         (nis_stats): Likewise.
61562         * nis/nis_modify.c (nis_modify): Likewise.
61563         * nis/nis_remove.c (nis_remove): Likewise.
61564         * nis/nis_add.c (nis_add): Likewise.
61566         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
61568         * posix/fnmatch_loop.c: Add some consts.
61570         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
61572 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
61574         [BZ #12460]
61575         * config.make.in (config-cflags-novzeroupper): Define.
61576         * configure.in: Substitute libc_cv_cc_novzeroupper.
61577         * elf/Makefile (AVX-CFLAGS): Define.
61578         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
61579         (CFLAGS-tst-auditmod4a.c): Likewise.
61580         (CFLAGS-tst-auditmod4b.c): Likewise.
61581         (CFLAGS-tst-auditmod6b.c): Likewise.
61582         (CFLAGS-tst-auditmod6c.c): Likewise.
61583         (CFLAGS-tst-auditmod7b.c): Likewise.
61584         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
61586 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
61588         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
61589         function to the callback.
61590         Patch partly by Jiri Olsa <jolsa@redhat.com>.
61592 2011-02-02  Andreas Schwab  <schwab@redhat.com>
61594         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
61595         of errno.
61597 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
61599         [BZ #11724]
61600         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
61601         of constructors.
61602         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
61603         of destructors.
61604         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
61606         [BZ #11724]
61607         * elf/Makefile: Add rules to build and run new test.
61608         * elf/tst-initorder.c: New file.
61609         * elf/tst-initorder.exp: New file.
61610         * elf/tst-initordera1.c: New file.
61611         * elf/tst-initordera2.c: New file.
61612         * elf/tst-initordera3.c: New file.
61613         * elf/tst-initordera4.c: New file.
61614         * elf/tst-initorderb1.c: New file.
61615         * elf/tst-initorderb2.c: New file.
61616         * elf/tst-order-a1.c: New file.
61617         * elf/tst-order-a2.c: New file.
61618         * elf/tst-order-a3.c: New file.
61619         * elf/tst-order-a4.c: New file.
61620         * elf/tst-order-b1.c: New file.
61621         * elf/tst-order-b2.c: New file.
61622         * elf/tst-order-main.c: New file.
61623         New test case by George Gensure <werkt0@gmail.com>.
61625 2010-10-01  Andreas Schwab  <schwab@redhat.com>
61627         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61628         decoding ACE if AI_CANONIDN.
61630 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
61632         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
61634 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
61636         * version.h (RELEASE): Bump for 2.13 release.
61637         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
61639         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
61641         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
61642         MADV_NOHUGEPAGE.
61643         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
61644         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
61645         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61646         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
61647         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61648         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61650         * posix/getconf.c: Update copyright year.
61651         * catgets/gencat.c: Likewise.
61652         * csu/version.c: Likewise.
61653         * debug/catchsegv.sh: Likewise.
61654         * debug/xtrace.sh: Likewise.
61655         * elf/ldconfig.c: Likewise.
61656         * elf/ldd.bash.in: Likewise.
61657         * elf/sprof.c (print_version): Likewise.
61658         * iconv/iconv_prog.c: Likewise.
61659         * iconv/iconvconfig.c: Likewise.
61660         * locale/programs/locale.c: Likewise.
61661         * locale/programs/localedef.c: Likewise.
61662         * malloc/memusage.sh: Likewise.
61663         * malloc/mtrace.pl: Likewise.
61664         * nscd/nscd.c (print_version): Likewise.
61665         * nss/getent.c: Likewise.
61667         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
61668         PF_CAIF, and PF_ALG.
61669         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61671 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
61673         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
61674         (modules-names): Use them.
61675         (ifunc-test-modules, ifunc-pie-tests): Define.
61676         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
61677         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
61678         (test-extras): Likewise.
61679         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
61680         $(compile-command.c).
61681         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
61682         (all-built-dso): Define.
61683         (check-textrel.out, check-execstack.out): Depend on it.
61685         * configure.in: Don't override --enable-multi-arch.
61687 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
61689         [BZ #6812]
61690         * nscd/hstcache.c (tryagain): Define.
61691         (cache_addhst): Return tryagain not notfound for temporary errors.
61692         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
61693         failed.
61695 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
61697         [BZ #10563]
61698         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
61699         to make the syscall.
61700         * sysdeps/unix/sysv/linux/setgroups.c: New file.
61702         [BZ #12378]
61703         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
61704         and fall back to matching as normal character if the string ends before
61705         the matching ']' is found.  This is what POSIX requires.
61706         * posix/testfnm.c: Adjust test result.
61707         * posix/globtest.sh: Adjust test result.  Add new test.
61708         * posix/tst-fnmatch.input: Likewise.
61709         * posix/tst-fnmatch2.c: Add new test.
61711 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
61713         * elf/Makefile (check-execstack): Revert last change.  Depend on
61714         check-execstack.h.
61715         (check-execstack.h): New target.
61716         (generated): Add check-execstack.h.
61717         * elf/check-execstack.c: Include "check-execstack.h".
61718         (main): Revert last change.
61719         (handle_file): Return zero if GNU_STACK is absent and
61720         DEFAULT_STACK_PERMS doesn't include PF_X.
61722 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
61724         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
61725         in child fails because the descriptor is already closed.
61726         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
61727         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
61728         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
61730         [BZ #12397]
61731         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
61732         syscall.
61734         [BZ #10484]
61735         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
61736         temporary buffer used to handle multi lookups locally.
61737         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
61739 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
61741         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
61742         loader is ld.so.
61744 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
61746         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
61747         alignment for SSE2.
61749 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
61751         [BZ #12394]
61752         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
61753         characters.  When rounding increased number of integer digits recompute
61754         number of groups.
61755         * stdio-common/tst-grouping.c: New file.
61756         * stdio-common/Makefile: Add rules to build and run tst-grouping.
61758 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
61760         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
61761         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
61763         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
61764         void.
61765         * bits/select.h: Likewise.
61767 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
61769         * po/ja.po: Update from translation team.
61771 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
61773         [BZ #11155]
61774         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
61775         implementation just like for lxstat, fxstatat, et al.
61777 2010-12-27  Jim Meyering  <meyering@redhat.com>
61779         [BZ #12348]
61780         * posix/regexec.c (build_trtable): Return failure indication upon
61781         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
61783 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
61785         [BZ #12201]
61786         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
61787         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
61788         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
61789         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
61791         [BZ #12207]
61792         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
61794         [BZ #12204]
61795         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
61796         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
61798 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
61800         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
61801         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
61802         script has SORT_BY_INIT_PRIORITY.
61803         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
61804         NO_CTORS_DTORS_SECTIONS is defined.
61805         * elf/soinit.c: Likewise.
61806         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
61807         NO_CTORS_DTORS_SECTIONS is defined.
61808         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
61809         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
61810         * sysdeps/sh/init-first.c: Likewise.
61811         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
61813 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
61815         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
61816         always use the slow path.
61818 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
61820         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
61821         similar rule which adds the sysdep directories to the header search in
61822         order to pick up the correct platform stackinfo.h.
61823         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
61824         perform test if it is, otherwise return successfully without testing.
61825         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
61826         DEFAULT_STACK_PERMS define in stackinfo.h.
61827         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
61828         defined in stackinfo.h.
61829         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
61830         DEFAULT_STACK_PERMS defined in stackinfo.h.
61831         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
61832         * sysdeps/ia64/stackinfo.h: Likewise.
61833         * sysdeps/s390/stackinfo.h: Likewise.
61834         * sysdeps/sh/stackinfo.h: Likewise.
61835         * sysdeps/sparc/stackinfo.h: Likewise.
61836         * sysdeps/x86_64/stackinfo.h: Likewise.
61837         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
61838         PF_X for powerpc64.  Retain PF_X for powerpc32.
61840 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
61842         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
61843         accurately.
61844         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
61845         GETDENTS_64BIT_ALIGNED.
61847 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
61849         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
61851 2010-12-10  Andreas Schwab  <schwab@redhat.com>
61853         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
61854         _GNU_SOURCE.
61856         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
61857         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
61858         Remove __restrict.
61859         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
61860         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
61862 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
61864         [BZ #11655]
61865         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
61866         are initialized.
61868 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
61870         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
61872 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
61874         * po/it.po: Update from translation team.
61876 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
61878         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
61879         unused codes.
61881 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
61883         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
61885 2010-11-24  Andreas Schwab  <schwab@redhat.com>
61887         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
61888         specially.
61889         (gaih_getanswer_slice): Likewise.
61891 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
61893         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
61895 2010-05-31  Petr Baudis  <pasky@suse.cz>
61897         [BZ #11149]
61898         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
61899         silently even in the chroot mode.
61901 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
61903         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
61904         last patch a bit.  Pretty printing
61906 2010-05-31  Petr Baudis <pasky@suse.cz>
61908         [BZ #10085]
61909         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
61910         initialization of skip_initgroups_dyn.
61912 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
61914         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
61915         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61917 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
61919         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
61921 2010-11-11  Andreas Schwab  <schwab@redhat.com>
61923         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
61924         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
61925         (tst-fnmatch-ENV): Set MALLOC_TRACE.
61926         ($(objpfx)tst-fnmatch-mem): New rule.
61927         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
61928         * posix/tst-fnmatch.c (main): Call mtrace.
61930 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
61932         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61933         Support Intel processor model 6 and model 0x2c.
61935 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
61937         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
61938           signed comparison.
61940 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
61942         [BZ #12205]
61943         * string/test-strncasecmp.c (check_result): New function.
61944         (do_one_test): Use it.
61945         (check1): New function.
61946         (test_main): Use it.
61947         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
61948         Support strcasecmp and strncasecmp.
61950 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
61952         [BZ #12194]
61953         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
61954         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61956 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
61958         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
61959         IFUNC support.
61960         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61961         memset-x86-64.
61962         * sysdeps/x86_64/multiarch/bzero.S: New file.
61963         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
61964         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
61965         * sysdeps/x86_64/multiarch/memset.S: New file.
61966         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
61967         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61968         Set bit_Prefer_SSE_for_memop for Intel processors.
61969         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
61970         Define.
61971         (index_Prefer_SSE_for_memop): Define.
61972         (HAS_PREFER_SSE_FOR_MEMOP): Define.
61974 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
61976         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
61977         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
61979 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
61981         [BZ #12191]
61982         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61983         (__x86_64_raw_data_cache_size_half): Likewise.
61984         (__x86_64_raw_shared_cache_size): Likewise.
61985         (__x86_64_raw_shared_cache_size_half): Likewise.
61987         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61988         (__x86_64_raw_data_cache_size_half): Likewise.
61989         (__x86_64_raw_shared_cache_size): Likewise.
61990         (__x86_64_raw_shared_cache_size_half): Likewise.
61991         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
61992         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
61993         and __x86_64_raw_shared_cache_size_half.  Round
61994         __x86_64_data_cache_size_half, __x86_64_data_cache_size
61995         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
61996         to multiple of 256 bytes.
61998 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
62000         [BZ #12167]
62001         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
62002         of inacessible symlinks.  Verify result of symlink before returning it.
62003         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
62004         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
62006 2010-10-28  Erich Ritz  <erichritz@gmail.com>
62008         * math/math.h (isinf): Fix typo in comment.
62010 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
62012         * po/da.po: Update from translation team.
62014 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
62016         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
62017         is added to the list.
62019 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62020             Ulrich Drepper  <drepper@gmail.com>
62022         * elf/dl-object.c (_dl_new_object): Don't append the new object to
62023         the global list here.  Move code to...
62024         (_dl_add_to_namespace_list): ...here.  New function.
62025         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
62026         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
62027         * elf/dl-load.c (lose): Don't remove the element from the list.
62028         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
62029         (_dl_map_object): Likewise.
62031 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
62033         [BZ #12159]
62034         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
62035         into all bytes of SSE register.
62036         Patch by Richard Li <richardpku@gmail.com>.
62038 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
62040         [BZ #12140]
62041         * malloc/malloc.c (_int_free): Fill correct number of bytes when
62042         perturbing.
62044 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
62046         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
62047         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
62048         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
62049         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
62050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
62051         submachine.
62052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
62054 2010-10-22  Andreas Schwab  <schwab@redhat.com>
62056         * include/dlfcn.h (__RTLD_SECURE): Define.
62057         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
62058         mode & __RTLD_SECURE instead.
62059         (open_path): Rename preloaded parameter to secure.
62060         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
62061         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
62062         * elf/dl-deps.c (openaux): Likewise.
62063         * elf/rtld.c (struct map_args): Remove is_preloaded.
62064         (map_doit): Don't use it.
62065         (dl_main): Likewise.
62066         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
62067         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
62069 2010-09-09  Andreas Schwab  <schwab@redhat.com>
62071         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
62072         (sysd-rules-targets): Remove duplicates.
62073         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
62074         rtld-%.$o dependency.
62076 2010-10-18  Andreas Schwab  <schwab@redhat.com>
62078         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
62079         _dl_map_object do it.
62081 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
62083         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
62084         fast fma builtins, define the macros in the C99 standard.
62085         (FP_FAST_FMAF): Likewise.
62086         (FP_FAST_FMAL): Likewise.
62087         * sysdeps/x86_64/bits/mathdef.h: Likewise.
62089         * bits/mathdef.h: Update copyright year.
62090         * sysdeps/powerpc/bits/mathdef.h: Likewise.
62092 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
62094         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
62095         builtins, define the macros in the C99 standard.
62096         (FP_FAST_FMAF): Likewise.
62097         (FP_FAST_FMAL): Likewise.
62098         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
62099         multiply/add.
62100         (FP_FAST_FMAF): Likewise.
62102 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
62104         [BZ #3268]
62105         * math/libm-test.inc (fma_test): Some new testcases.
62106         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
62107         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
62108         y and infinite z.  Do multiplication by C already in long double.
62109         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
62110         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
62111         y and infinite z.  Do bitwise or of inexact bit into u.d.
62112         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
62113         * sysdeps/i386/fpu/s_fmaf.S: Removed.
62114         * sysdeps/i386/fpu/s_fma.S: Removed.
62115         * sysdeps/i386/fpu/s_fmal.S: Removed.
62117 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
62119         [BZ #3268]
62120         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
62121         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
62122         computation is not scheduled after fetestexcept.  Fix value
62123         of minimum denormal long double.
62125 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
62127         [BZ #3268]
62128         * math/libm-test.inc (fma_test): Add some more tests.
62129         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
62130         correctly.
62132 2010-10-15  Andreas Schwab  <schwab@redhat.com>
62134         * scripts/data/localplt-s390-linux-gnu.data: New file.
62135         * scripts/data/localplt-s390x-linux-gnu.data: New file.
62137 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
62139         [BZ #3268]
62140         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
62141         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
62142         instead of dbl-64.
62143         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
62144         inlines.
62145         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
62146         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
62147         if one of x and y is very large and the other is subnormal.
62148         * sysdeps/s390/fpu/s_fmaf.c: New file.
62149         * sysdeps/s390/fpu/s_fma.c: New file.
62150         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
62151         * sysdeps/powerpc/fpu/s_fma.S: New file.
62152         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
62153         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
62154         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
62156 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
62158         [BZ #3268]
62159         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
62160         fma tests.
62161         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
62162         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
62163         * sysdeps/i386/i686/multiarch/s_fma.c: Include
62164         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
62165         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
62166         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
62167         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
62169 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
62171         [BZ #12078]
62172         * posix/regcomp.c (parse_branch): One more memory leak plugged.
62173         * posix/bug-regex31.input: Add test case.
62175 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
62177         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
62178         * posix/bug-regex31.input: New file.
62180         [BZ #12078]
62181         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
62182         (parse_sub_exp): Fix last change, use postorder.
62184         * posix/bug-regex31.c: New file.
62185         * posix/Makefile: Add rules to build and run bug-regex31.
62187         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
62189         [BZ #12078]
62190         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
62192         [BZ #12108]
62193         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
62194         to have entries in sys_siglist.
62196         [BZ #12093]
62197         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
62198         be NULL.
62200 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
62202         [BZ #3268]
62203         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
62204         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
62205         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
62206         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
62207         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
62208         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
62209         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
62210         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
62211         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
62212         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
62213         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
62214         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
62215         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
62216         * math/ftestexcept.c (fetestexcept): Likewise.
62217         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
62218         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
62219         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
62220         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
62221         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
62222         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
62223         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62225 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
62227         [BZ #12107]
62228         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
62229         newline.
62231 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
62233         * string/bug-strstr1.c: New file.
62234         * string/Makefile: Add rules to build and run bug-strstr1.
62236 2010-10-05  Eric Blake  <eblake@redhat.com>
62238         [BZ #12092]
62239         * string/str-two-way.h (two_way_long_needle): Always clear memory
62240         when skipping input due to the shift table.
62242 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
62244         [BZ #12005]
62245         * malloc/mcheck.c: Handle large requests.
62247         [BZ #12077]
62248         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
62249         for strncmp and strncasecmp.
62250         * string/stratcliff.c: Add tests for strcmp and strncmp.
62251         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
62253 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62255         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
62256         __set_fpscr.
62258 2010-09-30  Andreas Jaeger  <aj@suse.de>
62260         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
62261         (CGROUP_SUPER_MAGIC): Define.
62262         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62263         Handle btrfs and cgroup file systems.
62264         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
62265         Likewise.
62267 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
62269         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
62270         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
62272 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62274         [BZ #12067]
62275         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
62276         trying to locate the ELF header.
62278 2010-09-27  Andreas Schwab  <schwab@redhat.com>
62280         [BZ #11611]
62281         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
62282         Mask out sign-bit copies when constructing f_fsid.
62284 2010-09-24  Petr Baudis <pasky@suse.cz>
62286         * debug/stack_chk_fail_local.c: Add missing licence exception.
62287         * debug/warning-nop.c: Likewise.
62289 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
62291         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
62292         implementing getdents64 using getdents syscall, set d_type if
62293         __ASSUME_GETDENTS32_D_TYPE.
62295 2010-09-16  Andreas Schwab  <schwab@redhat.com>
62297         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
62298         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
62300 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
62302         [BZ #12037]
62303         * posix/unistd.h: Undo change of feature selection for ftruncate from
62304         2010-01-11.
62306 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
62308         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
62309         detection.
62311 2010-09-20  Andreas Schwab  <schwab@redhat.com>
62313         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
62314         fanotify_mark.
62315         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62317 2010-09-14  Andreas Schwab  <schwab@redhat.com>
62319         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
62320         variables after CHECK_SP call.
62321         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
62323 2010-09-13  Andreas Schwab  <schwab@redhat.com>
62324             Ulrich Drepper  <drepper@redhat.com>
62326         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
62327         re-relocationg ld.so.
62328         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
62329         _dl_init_paths call.
62330         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
62331         here anymore.
62333 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
62335         * resolv/res_init.c (__res_vinit): Count the default server we added.
62337 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
62338             Ulrich Drepper  <drepper@redhat.com>
62340         [BZ #11968]
62341         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
62342         (____longjmp_chk): Use %ebx for saving value across system call.
62343         Add unwind info.
62345 2010-09-06  Andreas Schwab  <schwab@redhat.com>
62347         * manual/Makefile: Don't mix pattern rules with normal rules.
62349 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62351         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
62352         operation.
62353         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
62354         * libio/iofopncook.c (_IO_cookie_init): Likewise.
62355         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
62356         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
62357         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62358         Likewise.
62360 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
62362         [BZ #11979]
62363         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
62364         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
62366 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
62368         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
62369         * sysdeps/x86_64/addmul_1.S: Likewise.
62370         * sysdeps/x86_64/lshift.S: Likewise.
62371         * sysdeps/x86_64/mul_1.S: Likewise.
62372         * sysdeps/x86_64/rshift.S: Likewise.
62373         * sysdeps/x86_64/sub_n.S: Likewise.
62374         * sysdeps/x86_64/submul_1.S: Likewise.
62376 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62378         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
62379         Define __sched_param instead of SCHED_* and sched_param when
62380         <bits/sched.h> is included with __need_schedparam defined.
62381         * bits/sched.h [__need_schedparam]
62382         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
62383         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
62384         (__defined_schedparam): Define to 1.
62385         (__sched_param): New structure, identical to sched_param.
62386         (__need_schedparam): Undefine.
62388 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
62390         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
62391         (epoll_create1): Declare.
62393         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
62395 2010-08-31  Andreas Schwab  <schwab@redhat.com>
62397         [BZ #7066]
62398         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
62399         shifting retval into place.
62401 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
62403         * nis/rpcsvc/nis.h: Update copyright notice.
62404         * nis/rpcsvc/nis.x: Likewise.
62405         * nis/rpcsvc/nis_callback.h: Likewise.
62406         * nis/rpcsvc/nis_callback.x: Likewise.
62407         * nis/rpcsvc/nis_object.x: Likewise.
62408         * nis/rpcsvc/nis_tags.h: Likewise.
62409         * nis/rpcsvc/yp.h: Likewise.
62410         * nis/rpcsvc/yp.x: Likewise.
62411         * nis/rpcsvc/ypupd.h: Likewise.
62412         * nis/yp_xdr.c: Likewise.
62413         * nis/ypupdate_xdr.c: Likewise.
62415         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
62416         mainly the body of pmap_getport.  Add parameters to specify timeouts.
62417         (pmap_getport): Use __libc_rpc_getport.
62418         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
62419         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
62420         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
62422 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
62424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
62425         fanotify_mark.
62427 2010-08-27  Roland McGrath  <roland@redhat.com>
62429         * sysdeps/i386/i686/multiarch/Makefile
62430         (CFLAGS-varshift.c): New variable.
62432 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
62434         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
62435         * sysdeps/i386/i686/multiarch/varshift.c: New file.
62437         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
62439         * sysdeps/x86_64/strlen.S: Minimal code improvement.
62441 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
62443         * sysdeps/x86_64/strlen.S: Unroll the loop.
62444         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62445         strlen-sse2 strlen-sse2-bsf.
62446         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
62447         __strlen_no_bsf if bit_Slow_BSF is set.
62448         (__strlen_sse42): Removed.
62449         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
62450         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
62452 2010-08-25  Roland McGrath  <roland@redhat.com>
62454         * sysdeps/x86_64/multiarch/varshift.S: File removed.
62455         * sysdeps/x86_64/multiarch/varshift.c: New file.
62456         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
62457         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
62458         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
62459         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
62461 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
62463         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62464         strlen-sse2 strlen-sse2-bsf.
62465         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
62466         __strlen_sse2_bsf if bit_Slow_BSF is unset.
62467         (__strlen_sse2): Removed.
62468         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
62469         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
62470         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
62471         bit_Slow_BSF for Atom.
62472         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
62473         (index_Slow_BSF): Define.
62474         (HAS_SLOW_BSF): Define.
62476 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
62478         [BZ #10851]
62479         * resolv/res_init.c (__res_vinit): When no server address at all
62480         is given default to loopback.
62482 2010-08-24  Roland McGrath  <roland@redhat.com>
62484         * configure.in: Remove config-name.h generation.
62485         * configure: Regenerated.
62486         * config-name.in: File removed.
62487         * scripts/config-uname.sh: New file.
62488         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
62489         ($(objdir)config-name.h): New target.
62491         * sunrpc/rpc_parse.h: Avoid nested comment.
62493 2010-08-24  Richard Henderson  <rth@redhat.com>
62494             Ulrich Drepper  <drepper@redhat.com>
62495             H.J. Lu  <hongjiu.lu@intel.com>
62497         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
62498         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
62499         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
62500         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
62501         _mm_alignr_epi8 with _mm_loadu_si128.
62502         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
62503         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
62504         (__m128i_shift_right): Removed.
62505         * sysdeps/i386/i686/multiarch/varshift.h: New file.
62506         * sysdeps/i386/i686/multiarch/varshift.S: New file.
62507         * sysdeps/x86_64/multiarch/varshift.h: New file.
62508         * sysdeps/x86_64/multiarch/varshift.S: New file.
62510 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
62512         * configure.in: Move assembler checks to before sysdep dir checking.
62514 2010-08-20  Petr Baudis  <pasky@suse.cz>
62516         * LICENSES: Sync the sunrpc license.
62518 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
62520         * sunrpc/auth_des.c: Update copyright notice once again.
62521         * sunrpc/auth_none.c: Likewise.
62522         * sunrpc/auth_unix.c: Likewise.
62523         * sunrpc/authdes_prot.c: Likewise.
62524         * sunrpc/authuxprot.c: Likewise.
62525         * sunrpc/bindrsvprt.c: Likewise.
62526         * sunrpc/clnt_gen.c: Likewise.
62527         * sunrpc/clnt_perr.c: Likewise.
62528         * sunrpc/clnt_raw.c: Likewise.
62529         * sunrpc/clnt_simp.c: Likewise.
62530         * sunrpc/clnt_tcp.c: Likewise.
62531         * sunrpc/clnt_udp.c: Likewise.
62532         * sunrpc/clnt_unix.c: Likewise.
62533         * sunrpc/des_crypt.c: Likewise.
62534         * sunrpc/des_soft.c: Likewise.
62535         * sunrpc/get_myaddr.c: Likewise.
62536         * sunrpc/getrpcport.c: Likewise.
62537         * sunrpc/key_call.c: Likewise.
62538         * sunrpc/key_prot.c: Likewise.
62539         * sunrpc/openchild.c: Likewise.
62540         * sunrpc/pm_getmaps.c: Likewise.
62541         * sunrpc/pm_getport.c: Likewise.
62542         * sunrpc/pmap_clnt.c: Likewise.
62543         * sunrpc/pmap_prot.c: Likewise.
62544         * sunrpc/pmap_prot2.c: Likewise.
62545         * sunrpc/pmap_rmt.c: Likewise.
62546         * sunrpc/rpc/auth.h: Likewise.
62547         * sunrpc/rpc/auth_unix.h: Likewise.
62548         * sunrpc/rpc/clnt.h: Likewise.
62549         * sunrpc/rpc/des_crypt.h: Likewise.
62550         * sunrpc/rpc/key_prot.h: Likewise.
62551         * sunrpc/rpc/netdb.h: Likewise.
62552         * sunrpc/rpc/pmap_clnt.h: Likewise.
62553         * sunrpc/rpc/pmap_prot.h: Likewise.
62554         * sunrpc/rpc/pmap_rmt.h: Likewise.
62555         * sunrpc/rpc/rpc.h: Likewise.
62556         * sunrpc/rpc/rpc_des.h: Likewise.
62557         * sunrpc/rpc/rpc_msg.h: Likewise.
62558         * sunrpc/rpc/svc.h: Likewise.
62559         * sunrpc/rpc/svc_auth.h: Likewise.
62560         * sunrpc/rpc/types.h: Likewise.
62561         * sunrpc/rpc/xdr.h: Likewise.
62562         * sunrpc/rpc_clntout.c: Likewise.
62563         * sunrpc/rpc_cmsg.c: Likewise.
62564         * sunrpc/rpc_common.c: Likewise.
62565         * sunrpc/rpc_cout.c: Likewise.
62566         * sunrpc/rpc_dtable.c: Likewise.
62567         * sunrpc/rpc_hout.c: Likewise.
62568         * sunrpc/rpc_main.c: Likewise.
62569         * sunrpc/rpc_parse.c: Likewise.
62570         * sunrpc/rpc_parse.h: Likewise.
62571         * sunrpc/rpc_prot.c: Likewise.
62572         * sunrpc/rpc_sample.c: Likewise.
62573         * sunrpc/rpc_scan.c: Likewise.
62574         * sunrpc/rpc_scan.h: Likewise.
62575         * sunrpc/rpc_svcout.c: Likewise.
62576         * sunrpc/rpc_tblout.c: Likewise.
62577         * sunrpc/rpc_util.c: Likewise.
62578         * sunrpc/rpc_util.h: Likewise.
62579         * sunrpc/rpcinfo.c: Likewise.
62580         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
62581         * sunrpc/rpcsvc/key_prot.x: Likewise.
62582         * sunrpc/rpcsvc/klm_prot.x: Likewise.
62583         * sunrpc/rpcsvc/mount.x: Likewise.
62584         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
62585         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
62586         * sunrpc/rpcsvc/rex.x: Likewise.
62587         * sunrpc/rpcsvc/rstat.x: Likewise.
62588         * sunrpc/rpcsvc/rusers.x: Likewise.
62589         * sunrpc/rpcsvc/sm_inter.x: Likewise.
62590         * sunrpc/rpcsvc/spray.x: Likewise.
62591         * sunrpc/rpcsvc/yppasswd.x: Likewise.
62592         * sunrpc/rtime.c: Likewise.
62593         * sunrpc/svc.c: Likewise.
62594         * sunrpc/svc_auth.c: Likewise.
62595         * sunrpc/svc_authux.c: Likewise.
62596         * sunrpc/svc_raw.c: Likewise.
62597         * sunrpc/svc_run.c: Likewise.
62598         * sunrpc/svc_simple.c: Likewise.
62599         * sunrpc/svc_tcp.c: Likewise.
62600         * sunrpc/svc_udp.c: Likewise.
62601         * sunrpc/svc_unix.c: Likewise.
62602         * sunrpc/svcauth_des.c: Likewise.
62603         * sunrpc/xcrypt.c: Likewise.
62604         * sunrpc/xdr.c: Likewise.
62605         * sunrpc/xdr_array.c: Likewise.
62606         * sunrpc/xdr_float.c: Likewise.
62607         * sunrpc/xdr_mem.c: Likewise.
62608         * sunrpc/xdr_rec.c: Likewise.
62609         * sunrpc/xdr_ref.c: Likewise.
62610         * sunrpc/xdr_sizeof.c: Likewise.
62611         * sunrpc/xdr_stdio.c: Likewise.
62613         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
62614         handling.
62616 2010-08-19  Andreas Schwab  <schwab@redhat.com>
62618         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
62620 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
62622         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
62623         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
62624         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
62625         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
62626         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
62627         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
62628         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
62629         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
62630         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
62631         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
62632         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
62633         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
62634         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
62635         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
62637 2010-07-26  Anton Blanchard  <anton@samba.org>
62639         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
62640         * malloc/arena.c (heap_trim): Likewise.
62642 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
62644         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
62645         here.  Not...
62646         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
62647         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
62649 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
62651         * sysdeps/i386/elf/Makefile: New file.
62653 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
62655         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
62656         from fanotify_init.
62657         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
62658         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62660 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
62662         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
62663         of strncasecmp_l.
62664         * sysdeps/multiarch/strcmp.S: Likewise.
62666 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
62668         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62669         strncase_l-nonascii.
62670         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62671         Add strncase_l-ssse3.
62672         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
62673         * sysdeps/x86_64/strcmp.S: Likewise.
62674         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
62675         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
62676         * sysdeps/x86_64/strncase.S: New file.
62677         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
62678         * sysdeps/x86_64/strncase_l.S: New file.
62679         * string/Makefile (strop-tests): Add strncasecmp.
62680         * string/test-strncasecmp.c: New file.
62682         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
62683         warning.
62685         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
62686         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
62688 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
62690         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
62692 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
62694         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
62695         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
62696         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
62698 2010-05-01  Alan Modra  <amodra@gmail.com>
62700         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
62701         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
62702         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
62703         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
62704         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
62705         tidying.  Don't tail-call __sigjmp_save for static lib.
62706         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
62707         save location.
62708         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
62709         (CALL_MCOUNT): Add eh info, and nop after bl.
62710         (TAIL_CALL_SYSCALL_ERROR): New macro.
62711         (PSEUDO_RET): Use it.
62712         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
62713         Correct save location of integer regs and cr.
62714         (_dl_profile_resolve): Correct cr save location.  Delete nops
62715         after bl when SHARED.  Reduce cfi size a little by better
62716         placement of cfi directives.
62717         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
62718         make a stack frame.  Instead use parm save area as a temp.
62719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
62720         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
62721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
62722         Don't make a stack frame for parent, use parm save area.
62723         Increase child stack frame to 112 bytes.  Don't save unused reg,
62724         and adjust reg usage.  Set up cfi on error recovery and
62725         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
62726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62727         (__makecontext): Add dummy nop after jump to exit.
62728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
62729         Use correct parm save area and cr save, reduce stack frame.
62730         Correct cfi for possible PSEUDO_RET frame setup.
62731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
62732         Branch to local label emitted by PSEUDO_RET rather than
62733         __syscall_error.
62735 2010-08-12  Andreas Schwab  <schwab@redhat.com>
62737         [BZ #11904]
62738         * locale/programs/locale.c (print_assignment): New function.
62739         (show_locale_vars): Use it.
62741 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
62743         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
62744         field.
62745         (struct statfs64): Likewise.
62746         (_STATFS_F_FLAGS): Define.
62747         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
62748         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62749         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
62750         (ST_VALID): Define locally.
62751         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
62752         __statvfs_getflags, use the provided value.
62753         * sysdeps/unix/sysv/linux/kernel-features.h: Define
62754         __ASSUME_STATFS_F_FLAGS.
62756         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
62758         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
62759         Add sys/fanotify.h.
62760         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
62761         fanotify_mask for GLIBC_2.13.
62762         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
62763         fanotify_init and fanotify_mark.
62764         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62765         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
62767         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
62768         Add prlimit.
62769         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
62770         prlimit64 for GLIBC_2.13.
62771         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
62772         prlimit64.
62773         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
62774         syscall.
62775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
62776         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62777         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
62778         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
62779         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
62780         add prlimit alias.
62781         * sysdeps/unix/sysv/linux/prlimit.c: New file.
62783         [BZ #11903]
62784         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
62785         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
62787         * nss/Makefile: Add rules to build and run tst-nss-test1.
62788         * shlib-versions: Add entry for libnss_test1.
62789         * nss/nss_test1.c: New file.
62790         * nss/tst-nss-test1.c: New file.
62792         * nss/nsswitch.c (__nss_database_custom): Define new variable.
62793         (__nss_configure_lookup): Set appropriate entry in
62794         __nss_configure_lookup to true.
62795         * nss/nsswitch.h: Define enum with indeces of databases in
62796         databases and __nss_database_custom arrays.  Declare
62797         __nss_database_custom.
62798         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
62799         to avoid using nscd when custom rules are installed.
62800         * nss/getXXbyYY_r.c: Likewise.
62801         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62803         * nss/nss_files/files-parse.c: Whitespace fixes.
62805 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
62807         [BZ #11883]
62808         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
62809         * posix/fnmatch_loop.c: Likewise.
62811 2010-07-17  Andi Kleen  <ak@linux.intel.com>
62813         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
62814         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
62815         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
62816         * Versions.def [GLIBC_2.13]: Add.
62818 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
62820         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62821         Also fail if tpwd after pwuid call is NULL.
62823 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62825         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
62826         when converting to ms.
62828 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62830         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
62831         EOPNOTSUPP errors with ENOTTY.
62832         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
62833         EOPNOTSUPP errors with ENOTTY.
62835 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
62837         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62838         Add strcasecmp_l-ssse3.
62839         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
62840         strcasecmp.
62841         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
62842         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
62843         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
62845 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
62847         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
62849         * string/Makefile (strop-tests): Add strcasecmp.
62850         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62851         strcasecmp_l-nonascii.
62852         (gen-as-const-headers): Add locale-defines.sym.
62853         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
62854         * sysdeps/x86_64/strcasecmp.S: New file.
62855         * sysdeps/x86_64/strcasecmp_l.S: New file.
62856         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
62857         * sysdeps/x86_64/locale-defines.sym: New file.
62858         * string/test-strcasecmp.c: New file.
62860         * string/test-strcasestr.c: Test both ends of the range of characters.
62861         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
62863 2010-07-29  Roland McGrath  <roland@redhat.com>
62865         [BZ #11856]
62866         * manual/locale.texi (Yes-or-No Questions): Fix example code.
62868 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
62870         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
62871         for ld.so.
62873 2010-07-27  Andreas Schwab  <schwab@redhat.com>
62875         * manual/memory.texi (Malloc Tunable Parameters): Document
62876         M_PERTURB.
62878 2010-07-26  Roland McGrath  <roland@redhat.com>
62880         [BZ #11840]
62881         * configure.in (-fgnu89-inline check): Set and substitute
62882         gnu89_inline, not libc_cv_gnu89_inline.
62883         * configure: Regenerated.
62884         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
62886 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
62888         * string/test-strnlen.c: New file.
62889         * string/Makefile (strop-tests): Add strnlen.
62890         * string/tester.c (test_strnlen): Add a few more test cases.
62891         * string/tst-strlen.c: Better error reporting.
62893         * sysdeps/x86_64/strnlen.S: New file.
62895 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
62897         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
62898         lower-latency instructions.
62900 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
62902         * string/test-strcasestr.c: New file.
62903         * string/test-strstr.c: New file.
62904         * string/Makefile (strop-tests): Add strstr and strcasestr.
62905         * string/str-two-way.h: Don't undefine MAX.
62906         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
62908 2010-07-21  Andreas Schwab  <schwab@redhat.com>
62910         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62911         strcasestr-nonascii.
62912         (CFLAGS-strcasestr-nonascii.c): Define.
62913         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
62914         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
62915         Remove unused attribute.
62917 2010-07-20  Roland McGrath  <roland@redhat.com>
62919         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
62920         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
62921         ld.so.cache was broken.  With it, there is no way to disable dsocaps
62922         like LD_HWCAP_MASK can disable hwcaps.
62924 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
62926         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
62928 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
62930         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
62931         call in strcasestr.
62932         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
62933         __strcasestr_sse42_nonascii.
62934         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
62935         strcasestr-nonascii.c.
62936         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
62938 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
62940         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
62941         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
62942         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
62943         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
62945 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
62947         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
62948         fcntl.
62950 2010-07-06  Andreas Schwab  <schwab@redhat.com>
62952         [BZ #11577]
62953         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
62954         dl_signal_cerror.
62956 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
62958         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
62959         _PC_PIPE_BUF using F_GETPIPE_SZ.
62961 2010-07-05  Roland McGrath  <roland@redhat.com>
62963         * manual/arith.texi (Rounding Functions): Fix rint description
62964         implicit in round description.
62966 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
62968         * elf/Makefile: Fix linking for a few tests to make recent linker
62969         happy.
62971 2010-06-30  Andreas Schwab  <schwab@redhat.com>
62973         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62974         $(common-objpfx)libc_nonshared.a.
62976 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
62978         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
62979         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
62980         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62981         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62982         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
62983         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
62984         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62985         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
62987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
62988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
62989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
62991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
62993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
62994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
62995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
62996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
62998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
63000         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
63001         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
63002         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
63003         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
63004         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
63005         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
63006         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
63007         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
63008         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
63009         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
63010         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
63011         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
63012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
63013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
63014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
63015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
63016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
63017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
63018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
63019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
63020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
63021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
63022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
63023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
63024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
63025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
63027 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
63029         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
63030         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
63031         * string/memmove.c (memmove): Renamed to ...
63032         (MEMMOVE): ...this.  Default to memmove.
63033         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
63034         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
63035         (END_CHK): Define.
63036         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63037         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
63038         mempcpy-ssse3-back memmove-ssse3-back.
63039         * sysdeps/x86_64/multiarch/bcopy.S: New file .
63040         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
63041         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
63042         * sysdeps/x86_64/multiarch/memcpy.S: New file.
63043         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
63044         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
63045         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
63046         * sysdeps/x86_64/multiarch/memmove.c: New file.
63047         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
63048         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
63049         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
63050         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
63051         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
63052         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
63053         Define.
63054         (index_Fast_Copy_Backward): Define.
63055         (HAS_ARCH_FEATURE): Define.
63056         (HAS_FAST_REP_STRING): Define.
63057         (HAS_FAST_COPY_BACKWARD): Define.
63059 2010-06-21  Andreas Schwab  <schwab@redhat.com>
63061         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63062         Restore proper fallback handling.
63064 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
63066         [BZ #11701]
63067         * posix/group_member.c (__group_member): Correct checking loop.
63069         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
63070         OOM in getpwuid_r correctly.  Return error number when the caller
63071         should return, otherwise -1.
63072         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
63073         call returning > 0 value.
63074         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
63076 2010-06-07  Andreas Schwab  <schwab@redhat.com>
63078         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
63079         libc_nonshared.a from targets in modules-names.
63081 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
63083         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
63084         requires it.
63086 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
63088         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
63089         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
63090         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
63091         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
63093 2010-06-02  Andreas Schwab  <schwab@redhat.com>
63095         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
63097 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
63099         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
63100         and F_GETPIPE_SZ.
63101         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63102         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63103         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63104         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63105         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63106         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
63108 2010-06-14  Roland McGrath  <roland@redhat.com>
63110         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
63112 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
63114         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
63115         __REDIRECT followed by __THROW.
63116         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
63117         * posix/getopt.h (getopt): Likewise.
63119 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63121         * hurd/lookup-at.c (__file_name_lookup_at): Accept
63122         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
63123         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
63124         in AT_FLAGS.
63125         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
63126         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
63128 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
63130         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
63132 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
63134         [BZ #11640]
63135         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63136         Properly check family and model.
63138 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
63140         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
63142 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
63144         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
63146 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
63148         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
63149         symbol reference.
63151 2010-05-19  Andreas Schwab  <schwab@redhat.com>
63153         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
63154         symbol reference.
63156 2010-05-21  Andreas Schwab  <schwab@redhat.com>
63158         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
63159         and internal_recvmmsg.
63160         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
63161         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
63162         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
63163         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
63165         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
63166         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63167         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63169 2010-05-20  Andreas Schwab  <schwab@redhat.com>
63171         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
63173 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
63175         POWER7 optimizations.
63176         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
63177         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
63179 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
63181         * version.h: Update for 2.13 development version.
63183 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
63185         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
63186         exceptions.  Return 0.
63188 2010-05-07  Roland McGrath  <roland@redhat.com>
63190         * elf/ldconfig.c (main): Add a const.
63192 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
63194         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
63195         (args_options): Add no-idn option.
63196         (ahosts_keys_int): Add idn_flags to ai_flags.
63197         (parse_option): Handle 'i' option to clear idn_flags.
63199         * malloc/malloc.c (_int_free): Possible race in the most recently
63200         added check.  Only act on the data if no current modification
63201         happened.
63203 See ChangeLog.17 for earlier changes.